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
916 ac_precious_vars
='build_alias
929 # Initialize some variables set by options.
931 ac_init_version
=false
932 ac_unrecognized_opts
=
934 # The variables have the same names as the options, with
935 # dashes changed to underlines.
943 program_transform_name
=s
,x
,x
,
951 # Installation directory options.
952 # These are left unexpanded so users can "make install exec_prefix=/foo"
953 # and all the variables that are supposed to be based on exec_prefix
954 # by default will actually change.
955 # Use braces instead of parens because sh, perl, etc. also accept them.
956 # (The list follows the same order as the GNU Coding Standards.)
957 bindir
='${exec_prefix}/bin'
958 sbindir
='${exec_prefix}/sbin'
959 libexecdir
='${exec_prefix}/libexec'
960 datarootdir
='${prefix}/share'
961 datadir
='${datarootdir}'
962 sysconfdir
='${prefix}/etc'
963 sharedstatedir
='${prefix}/com'
964 localstatedir
='${prefix}/var'
965 includedir
='${prefix}/include'
966 oldincludedir
='/usr/include'
967 docdir
='${datarootdir}/doc/${PACKAGE}'
968 infodir
='${datarootdir}/info'
973 libdir
='${exec_prefix}/lib'
974 localedir
='${datarootdir}/locale'
975 mandir
='${datarootdir}/man'
981 # If the previous option needs an argument, assign it.
982 if test -n "$ac_prev"; then
983 eval $ac_prev=\
$ac_option
989 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
993 # Accept the important Cygnus configure options, so we can diagnose typos.
995 case $ac_dashdash$ac_option in
999 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1001 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1002 bindir
=$ac_optarg ;;
1004 -build |
--build |
--buil |
--bui |
--bu)
1005 ac_prev
=build_alias
;;
1006 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1007 build_alias
=$ac_optarg ;;
1009 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1010 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1011 ac_prev
=cache_file
;;
1012 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1013 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1014 cache_file
=$ac_optarg ;;
1016 --config-cache |
-C)
1017 cache_file
=config.cache
;;
1019 -datadir |
--datadir |
--datadi |
--datad)
1021 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1022 datadir
=$ac_optarg ;;
1024 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1025 |
--dataroo |
--dataro |
--datar)
1026 ac_prev
=datarootdir
;;
1027 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1028 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1029 datarootdir
=$ac_optarg ;;
1031 -disable-* |
--disable-*)
1032 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1033 # Reject names that are not valid shell variable names.
1034 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1035 as_fn_error
"invalid feature name: $ac_useropt"
1036 ac_useropt_orig
=$ac_useropt
1037 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038 case $ac_user_opts in
1040 "enable_
$ac_useropt"
1042 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1043 ac_unrecognized_sep
=', ';;
1045 eval enable_
$ac_useropt=no
;;
1047 -docdir |
--docdir |
--docdi |
--doc |
--do)
1049 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1050 docdir
=$ac_optarg ;;
1052 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1054 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1055 dvidir
=$ac_optarg ;;
1057 -enable-* |
--enable-*)
1058 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1059 # Reject names that are not valid shell variable names.
1060 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1061 as_fn_error
"invalid feature name: $ac_useropt"
1062 ac_useropt_orig
=$ac_useropt
1063 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1064 case $ac_user_opts in
1066 "enable_
$ac_useropt"
1068 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1069 ac_unrecognized_sep
=', ';;
1071 eval enable_
$ac_useropt=\
$ac_optarg ;;
1073 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1074 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1075 |
--exec |
--exe |
--ex)
1076 ac_prev
=exec_prefix
;;
1077 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1078 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1079 |
--exec=* |
--exe=* |
--ex=*)
1080 exec_prefix
=$ac_optarg ;;
1082 -gas |
--gas |
--ga |
--g)
1083 # Obsolete; use --with-gas.
1086 -help |
--help |
--hel |
--he |
-h)
1087 ac_init_help
=long
;;
1088 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1089 ac_init_help
=recursive
;;
1090 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1091 ac_init_help
=short
;;
1093 -host |
--host |
--hos |
--ho)
1094 ac_prev
=host_alias
;;
1095 -host=* |
--host=* |
--hos=* |
--ho=*)
1096 host_alias
=$ac_optarg ;;
1098 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1100 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1102 htmldir
=$ac_optarg ;;
1104 -includedir |
--includedir |
--includedi |
--included |
--include \
1105 |
--includ |
--inclu |
--incl |
--inc)
1106 ac_prev
=includedir
;;
1107 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1108 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1109 includedir
=$ac_optarg ;;
1111 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1113 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1114 infodir
=$ac_optarg ;;
1116 -libdir |
--libdir |
--libdi |
--libd)
1118 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1119 libdir
=$ac_optarg ;;
1121 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1122 |
--libexe |
--libex |
--libe)
1123 ac_prev
=libexecdir
;;
1124 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1125 |
--libexe=* |
--libex=* |
--libe=*)
1126 libexecdir
=$ac_optarg ;;
1128 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1129 ac_prev
=localedir
;;
1130 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1131 localedir
=$ac_optarg ;;
1133 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1134 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1135 ac_prev
=localstatedir
;;
1136 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1137 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1138 localstatedir
=$ac_optarg ;;
1140 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1142 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1143 mandir
=$ac_optarg ;;
1145 -nfp |
--nfp |
--nf)
1146 # Obsolete; use --without-fp.
1149 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1150 |
--no-cr |
--no-c |
-n)
1153 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1154 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1157 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1158 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1159 |
--oldin |
--oldi |
--old |
--ol |
--o)
1160 ac_prev
=oldincludedir
;;
1161 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1162 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1163 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1164 oldincludedir
=$ac_optarg ;;
1166 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1168 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1169 prefix
=$ac_optarg ;;
1171 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1172 |
--program-pre |
--program-pr |
--program-p)
1173 ac_prev
=program_prefix
;;
1174 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1175 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1176 program_prefix
=$ac_optarg ;;
1178 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1179 |
--program-suf |
--program-su |
--program-s)
1180 ac_prev
=program_suffix
;;
1181 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1182 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1183 program_suffix
=$ac_optarg ;;
1185 -program-transform-name |
--program-transform-name \
1186 |
--program-transform-nam |
--program-transform-na \
1187 |
--program-transform-n |
--program-transform- \
1188 |
--program-transform |
--program-transfor \
1189 |
--program-transfo |
--program-transf \
1190 |
--program-trans |
--program-tran \
1191 |
--progr-tra |
--program-tr |
--program-t)
1192 ac_prev
=program_transform_name
;;
1193 -program-transform-name=* |
--program-transform-name=* \
1194 |
--program-transform-nam=* |
--program-transform-na=* \
1195 |
--program-transform-n=* |
--program-transform-=* \
1196 |
--program-transform=* |
--program-transfor=* \
1197 |
--program-transfo=* |
--program-transf=* \
1198 |
--program-trans=* |
--program-tran=* \
1199 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1200 program_transform_name
=$ac_optarg ;;
1202 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1204 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1205 pdfdir
=$ac_optarg ;;
1207 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1209 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1212 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1213 |
-silent |
--silent |
--silen |
--sile |
--sil)
1216 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1218 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1220 sbindir
=$ac_optarg ;;
1222 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1223 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1224 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1226 ac_prev
=sharedstatedir
;;
1227 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1228 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1229 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1231 sharedstatedir
=$ac_optarg ;;
1233 -site |
--site |
--sit)
1235 -site=* |
--site=* |
--sit=*)
1238 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1240 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1241 srcdir
=$ac_optarg ;;
1243 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1244 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1245 ac_prev
=sysconfdir
;;
1246 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1247 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1248 sysconfdir
=$ac_optarg ;;
1250 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1251 ac_prev
=target_alias
;;
1252 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1253 target_alias
=$ac_optarg ;;
1255 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1258 -version |
--version |
--versio |
--versi |
--vers |
-V)
1259 ac_init_version
=: ;;
1262 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1263 # Reject names that are not valid shell variable names.
1264 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1265 as_fn_error
"invalid package name: $ac_useropt"
1266 ac_useropt_orig
=$ac_useropt
1267 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1268 case $ac_user_opts in
1272 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1273 ac_unrecognized_sep
=', ';;
1275 eval with_
$ac_useropt=\
$ac_optarg ;;
1277 -without-* |
--without-*)
1278 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1279 # Reject names that are not valid shell variable names.
1280 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1281 as_fn_error
"invalid package name: $ac_useropt"
1282 ac_useropt_orig
=$ac_useropt
1283 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1284 case $ac_user_opts in
1288 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1289 ac_unrecognized_sep
=', ';;
1291 eval with_
$ac_useropt=no
;;
1294 # Obsolete; use --with-x.
1297 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1298 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1299 ac_prev
=x_includes
;;
1300 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1301 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1302 x_includes
=$ac_optarg ;;
1304 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1305 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1306 ac_prev
=x_libraries
;;
1307 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1308 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1309 x_libraries
=$ac_optarg ;;
1311 -*) as_fn_error
"unrecognized option: \`$ac_option'
1312 Try \`$0 --help' for more information."
1316 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1317 # Reject names that are not valid shell variable names.
1318 case $ac_envvar in #(
1319 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1320 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1322 eval $ac_envvar=\
$ac_optarg
1323 export $ac_envvar ;;
1326 # FIXME: should be removed in autoconf 3.0.
1327 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1328 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1329 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1330 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1336 if test -n "$ac_prev"; then
1337 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1338 as_fn_error
"missing argument to $ac_option"
1341 if test -n "$ac_unrecognized_opts"; then
1342 case $enable_option_checking in
1344 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1345 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1349 # Check all directory arguments for consistency.
1350 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1351 datadir sysconfdir sharedstatedir localstatedir includedir \
1352 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1353 libdir localedir mandir
1355 eval ac_val
=\$
$ac_var
1356 # Remove trailing slashes.
1359 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1360 eval $ac_var=\
$ac_val;;
1362 # Be sure to have absolute directory names.
1364 [\\/$
]* | ?
:[\\/]* ) continue;;
1365 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1367 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1370 # There might be people who depend on the old broken behavior: `$host'
1371 # used to hold the argument of --host etc.
1372 # FIXME: To remove some day.
1375 target
=$target_alias
1377 # FIXME: To remove some day.
1378 if test "x$host_alias" != x
; then
1379 if test "x$build_alias" = x
; then
1380 cross_compiling
=maybe
1381 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1382 If a cross compiler is detected then cross compile mode will be used." >&2
1383 elif test "x$build_alias" != "x$host_alias"; then
1389 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1391 test "$silent" = yes && exec 6>/dev
/null
1394 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1395 ac_ls_di
=`ls -di .` &&
1396 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1397 as_fn_error
"working directory cannot be determined"
1398 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1399 as_fn_error
"pwd does not report name of working directory"
1402 # Find the source files, if location was not specified.
1403 if test -z "$srcdir"; then
1404 ac_srcdir_defaulted
=yes
1405 # Try the directory containing this script, then the parent directory.
1406 ac_confdir
=`$as_dirname -- "$as_myself" ||
1407 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1408 X"$as_myself" : 'X\(//\)[^/]' \| \
1409 X"$as_myself" : 'X\(//\)$' \| \
1410 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1411 $as_echo X"$as_myself" |
1412 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1430 if test ! -r "$srcdir/$ac_unique_file"; then
1434 ac_srcdir_defaulted
=no
1436 if test ! -r "$srcdir/$ac_unique_file"; then
1437 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1438 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1440 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1442 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1444 # When building in place, set srcdir=.
1445 if test "$ac_abs_confdir" = "$ac_pwd"; then
1448 # Remove unnecessary trailing slashes from srcdir.
1449 # Double slashes in file names in object file debugging info
1450 # mess up M-x gdb in Emacs.
1452 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1454 for ac_var
in $ac_precious_vars; do
1455 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1456 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1457 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1458 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1462 # Report the --help message.
1464 if test "$ac_init_help" = "long"; then
1465 # Omit some internal or obsolete options to make the list less imposing.
1466 # This message is too long to be a string in the A/UX 3.1 sh.
1468 \`configure' configures this package to adapt to many kinds of systems.
1470 Usage: $0 [OPTION]... [VAR=VALUE]...
1472 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1473 VAR=VALUE. See below for descriptions of some of the useful variables.
1475 Defaults for the options are specified in brackets.
1478 -h, --help display this help and exit
1479 --help=short display options specific to this package
1480 --help=recursive display the short help of all the included packages
1481 -V, --version display version information and exit
1482 -q, --quiet, --silent do not print \`checking...' messages
1483 --cache-file=FILE cache test results in FILE [disabled]
1484 -C, --config-cache alias for \`--cache-file=config.cache'
1485 -n, --no-create do not create output files
1486 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1488 Installation directories:
1489 --prefix=PREFIX install architecture-independent files in PREFIX
1490 [$ac_default_prefix]
1491 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1494 By default, \`make install' will install all the files in
1495 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1496 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1497 for instance \`--prefix=\$HOME'.
1499 For better control, use the options below.
1501 Fine tuning of the installation directories:
1502 --bindir=DIR user executables [EPREFIX/bin]
1503 --sbindir=DIR system admin executables [EPREFIX/sbin]
1504 --libexecdir=DIR program executables [EPREFIX/libexec]
1505 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1506 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1507 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1508 --libdir=DIR object code libraries [EPREFIX/lib]
1509 --includedir=DIR C header files [PREFIX/include]
1510 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1511 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1512 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1513 --infodir=DIR info documentation [DATAROOTDIR/info]
1514 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1515 --mandir=DIR man documentation [DATAROOTDIR/man]
1516 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1517 --htmldir=DIR html documentation [DOCDIR]
1518 --dvidir=DIR dvi documentation [DOCDIR]
1519 --pdfdir=DIR pdf documentation [DOCDIR]
1520 --psdir=DIR ps documentation [DOCDIR]
1526 --program-prefix=PREFIX prepend PREFIX to installed program names
1527 --program-suffix=SUFFIX append SUFFIX to installed program names
1528 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1531 --build=BUILD configure
for building on BUILD
[guessed
]
1532 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1533 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1537 if test -n "$ac_init_help"; then
1542 --disable-option-checking ignore unrecognized
--enable/--with options
1543 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1544 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1545 --disable-dependency-tracking speeds up one-time build
1546 --enable-dependency-tracking do not reject slow dependency extractors
1547 --enable-maintainer-mode enable make rules and dependencies not useful
1548 (and sometimes confusing
) to the casual installer
1549 --enable-targets alternative target configurations
1550 --enable-64-bit-bfd 64-bit support
(on hosts with narrower word sizes
)
1551 --enable-got=<type> GOT handling scheme
(target
, single
, negative
,
1553 --enable-werror treat compile warnings as errors
1554 --enable-build-warnings enable build-time compiler warnings
1555 --disable-largefile omit support
for large files
1556 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1557 --enable-static[=PKGS
] build static libraries
[default
=yes]
1558 --enable-fast-install[=PKGS
]
1559 optimize
for fast installation
[default
=yes]
1560 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1561 --disable-nls do not use Native Language Support
1564 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1565 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1566 --with-lib-path=dir1
:dir2...
set default LIB_PATH
1567 --with-sysroot=DIR Search
for usr
/lib et al within DIR.
1568 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1570 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1572 Some influential environment variables
:
1573 CC C compiler
command
1574 CFLAGS C compiler flags
1575 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1576 nonstandard directory
<lib dir
>
1577 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1578 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1579 you have headers
in a nonstandard directory
<include dir
>
1581 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
1582 the first program found out of: `bison
-y', `byacc', `yacc'.
1583 YFLAGS The list of arguments that will be passed by default to $YACC.
1584 This script will default YFLAGS to the empty string to avoid a
1585 default value of `-d' given by some make applications.
1587 Use these variables to override the choices made by `configure' or to
help
1588 it to
find libraries and programs with nonstandard names
/locations.
1590 Report bugs to the package provider.
1595 if test "$ac_init_help" = "recursive"; then
1596 # If there are subdirs, report their specific --help.
1597 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1598 test -d "$ac_dir" ||
1599 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1604 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1606 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1607 # A ".." for each directory in $ac_dir_suffix.
1608 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1609 case $ac_top_builddir_sub in
1610 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1611 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1614 ac_abs_top_builddir
=$ac_pwd
1615 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1616 # for backward compatibility:
1617 ac_top_builddir
=$ac_top_build_prefix
1620 .
) # We are building in place.
1622 ac_top_srcdir
=$ac_top_builddir_sub
1623 ac_abs_top_srcdir
=$ac_pwd ;;
1624 [\\/]* | ?
:[\\/]* ) # Absolute name.
1625 ac_srcdir
=$srcdir$ac_dir_suffix;
1626 ac_top_srcdir
=$srcdir
1627 ac_abs_top_srcdir
=$srcdir ;;
1629 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1630 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1631 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1633 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1635 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1636 # Check for guested configure.
1637 if test -f "$ac_srcdir/configure.gnu"; then
1639 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1640 elif test -f "$ac_srcdir/configure"; then
1642 $SHELL "$ac_srcdir/configure" --help=recursive
1644 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1646 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1650 test -n "$ac_init_help" && exit $ac_status
1651 if $ac_init_version; then
1654 generated by GNU Autoconf
2.64
1656 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1657 This configure
script is free software
; the Free Software Foundation
1658 gives unlimited permission to copy
, distribute and modify it.
1663 ## ------------------------ ##
1664 ## Autoconf initialization. ##
1665 ## ------------------------ ##
1667 # ac_fn_c_try_compile LINENO
1668 # --------------------------
1669 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1670 ac_fn_c_try_compile
()
1672 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1673 rm -f conftest.
$ac_objext
1674 if { { ac_try
="$ac_compile"
1676 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1677 *) ac_try_echo=$ac_try;;
1679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1680 $as_echo "$ac_try_echo"; } >&5
1681 (eval "$ac_compile") 2>conftest.err
1683 if test -s conftest.err; then
1684 grep -v '^ *+' conftest.err >conftest.er1
1685 cat conftest.er1 >&5
1686 mv -f conftest.er1 conftest.err
1688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1689 test $ac_status = 0; } && {
1690 test -z "$ac_c_werror_flag" ||
1691 test ! -s conftest.err
1692 } && test -s conftest.$ac_objext; then :
1695 $as_echo "$as_me: failed program was:" >&5
1696 sed 's/^/| /' conftest.$ac_ext >&5
1700 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1703 } # ac_fn_c_try_compile
1705 # ac_fn_c_try_link LINENO
1706 # -----------------------
1707 # Try to link conftest.$ac_ext, and return whether this succeeded.
1710 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1711 rm -f conftest.$ac_objext conftest$ac_exeext
1712 if { { ac_try="$ac_link"
1714 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1715 *) ac_try_echo
=$ac_try;;
1717 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1718 $as_echo "$ac_try_echo"; } >&5
1719 (eval "$ac_link") 2>conftest.err
1721 if test -s conftest.err
; then
1722 grep -v '^ *+' conftest.err
>conftest.er1
1723 cat conftest.er1
>&5
1724 mv -f conftest.er1 conftest.err
1726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727 test $ac_status = 0; } && {
1728 test -z "$ac_c_werror_flag" ||
1729 test ! -s conftest.err
1730 } && test -s conftest
$ac_exeext && {
1731 test "$cross_compiling" = yes ||
1732 $as_test_x conftest
$ac_exeext
1736 $as_echo "$as_me: failed program was:" >&5
1737 sed 's/^/| /' conftest.
$ac_ext >&5
1741 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1742 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1743 # interfere with the next link command; also delete a directory that is
1744 # left behind by Apple's compiler. We do this before executing the actions.
1745 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1746 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1749 } # ac_fn_c_try_link
1751 # ac_fn_c_try_cpp LINENO
1752 # ----------------------
1753 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1756 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1757 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1759 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1760 *) ac_try_echo=$ac_try;;
1762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763 $as_echo "$ac_try_echo"; } >&5
1764 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1766 if test -s conftest.err; then
1767 grep -v '^ *+' conftest.err >conftest.er1
1768 cat conftest.er1 >&5
1769 mv -f conftest.er1 conftest.err
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; } >/dev/null && {
1773 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1774 test ! -s conftest.err
1778 $as_echo "$as_me: failed program was:" >&5
1779 sed 's/^/| /' conftest.$ac_ext >&5
1783 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1788 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1789 # -------------------------------------------------------
1790 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1791 # the include files in INCLUDES and setting the cache variable VAR
1793 ac_fn_c_check_header_mongrel ()
1795 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1796 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1798 $as_echo_n "checking for $2... " >&6; }
1799 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1800 $as_echo_n "(cached) " >&6
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1804 $as_echo "$ac_res" >&6; }
1806 # Is the header compilable?
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1808 $as_echo_n "checking $2 usability... " >&6; }
1809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1810 /* end confdefs.h. */
1814 if ac_fn_c_try_compile "$LINENO"; then :
1815 ac_header_compiler=yes
1817 ac_header_compiler=no
1819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1821 $as_echo "$ac_header_compiler" >&6; }
1823 # Is the header present?
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1825 $as_echo_n "checking $2 presence... " >&6; }
1826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1827 /* end confdefs.h. */
1830 if ac_fn_c_try_cpp "$LINENO"; then :
1831 ac_header_preproc=yes
1833 ac_header_preproc=no
1835 rm -f conftest.err conftest.$ac_ext
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1837 $as_echo "$ac_header_preproc" >&6; }
1839 # So? What about this header?
1840 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1843 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1845 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1849 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1851 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1853 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1855 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1857 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1861 $as_echo_n "checking for $2... " >&6; }
1862 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1863 $as_echo_n "(cached) " >&6
1865 eval "$3=\$ac_header_compiler"
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1869 $as_echo "$ac_res" >&6; }
1871 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1873 } # ac_fn_c_check_header_mongrel
1875 # ac_fn_c_try_run LINENO
1876 # ----------------------
1877 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1878 # that executables *can* be run.
1881 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1882 if { { ac_try="$ac_link"
1884 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1885 *) ac_try_echo
=$ac_try;;
1887 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1888 $as_echo "$ac_try_echo"; } >&5
1889 (eval "$ac_link") 2>&5
1891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1892 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1893 { { case "(($ac_try" in
1894 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1895 *) ac_try_echo=$ac_try;;
1897 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1898 $as_echo "$ac_try_echo"; } >&5
1899 (eval "$ac_try") 2>&5
1901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1902 test $ac_status = 0; }; }; then :
1905 $as_echo "$as_me: program exited with status $ac_status" >&5
1906 $as_echo "$as_me: failed program was:" >&5
1907 sed 's/^/| /' conftest.$ac_ext >&5
1909 ac_retval=$ac_status
1911 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1912 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1917 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1918 # -------------------------------------------------------
1919 # Tests whether HEADER exists and can be compiled using the include files in
1920 # INCLUDES, setting the cache variable VAR accordingly.
1921 ac_fn_c_check_header_compile ()
1923 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1925 $as_echo_n "checking for $2... " >&6; }
1926 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1927 $as_echo_n "(cached) " >&6
1929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1930 /* end confdefs.h. */
1934 if ac_fn_c_try_compile "$LINENO"; then :
1939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1943 $as_echo "$ac_res" >&6; }
1944 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1946 } # ac_fn_c_check_header_compile
1948 # ac_fn_c_check_func LINENO FUNC VAR
1949 # ----------------------------------
1950 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1951 ac_fn_c_check_func ()
1953 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1955 $as_echo_n "checking for $2... " >&6; }
1956 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1957 $as_echo_n "(cached) " >&6
1959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1960 /* end confdefs.h. */
1961 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1963 #define $2 innocuous_$2
1965 /* System header to define __stub macros and hopefully few prototypes,
1966 which can conflict with char $2 (); below.
1967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1968 <limits.h> exists even on freestanding compilers. */
1971 # include <limits.h>
1973 # include <assert.h>
1978 /* Override any GCC internal prototype to avoid an error.
1979 Use char because int might match the return type of a GCC
1980 builtin and then its argument prototype would still apply. */
1985 /* The GNU C library defines this for functions which it implements
1986 to always fail with ENOSYS. Some functions are actually named
1987 something starting with __ and the normal name is an alias. */
1988 #if defined __stub_$2 || defined __stub___$2
2000 if ac_fn_c_try_link "$LINENO"; then :
2005 rm -f core conftest.err conftest.$ac_objext \
2006 conftest$ac_exeext conftest.$ac_ext
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2010 $as_echo "$ac_res" >&6; }
2011 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2013 } # ac_fn_c_check_func
2015 # ac_fn_c_check_decl LINENO SYMBOL VAR
2016 # ------------------------------------
2017 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2018 ac_fn_c_check_decl ()
2020 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2022 $as_echo_n "checking whether $2 is declared... " >&6; }
2023 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2024 $as_echo_n "(cached) " >&6
2026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2027 /* end confdefs.h. */
2040 if ac_fn_c_try_compile "$LINENO"; then :
2045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2049 $as_echo "$ac_res" >&6; }
2050 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2052 } # ac_fn_c_check_decl
2054 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2055 # --------------------------------------------
2056 # Tries to find the compile-time value of EXPR in a program that includes
2057 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2059 ac_fn_c_compute_int ()
2061 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2062 if test "$cross_compiling" = yes; then
2063 # Depending upon the size, compute the lo and hi bounds.
2064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2065 /* end confdefs.h. */
2070 static int test_array [1 - 2 * !(($2) >= 0)];
2077 if ac_fn_c_try_compile "$LINENO"; then :
2080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2081 /* end confdefs.h. */
2086 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2093 if ac_fn_c_try_compile "$LINENO"; then :
2094 ac_hi=$ac_mid; break
2096 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2097 if test $ac_lo -le $ac_mid; then
2101 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2107 /* end confdefs.h. */
2112 static int test_array [1 - 2 * !(($2) < 0)];
2119 if ac_fn_c_try_compile "$LINENO"; then :
2122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2123 /* end confdefs.h. */
2128 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2135 if ac_fn_c_try_compile "$LINENO"; then :
2136 ac_lo=$ac_mid; break
2138 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2139 if test $ac_mid -le $ac_hi; then
2143 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2153 # Binary search between lo and hi bounds.
2154 while test "x$ac_lo" != "x$ac_hi"; do
2155 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2157 /* end confdefs.h. */
2162 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2169 if ac_fn_c_try_compile "$LINENO"; then :
2172 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2177 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2182 /* end confdefs.h. */
2184 static long int longval () { return $2; }
2185 static unsigned long int ulongval () { return $2; }
2192 FILE *f = fopen ("conftest.val", "w");
2197 long int i = longval ();
2200 fprintf (f, "%ld", i);
2204 unsigned long int i = ulongval ();
2207 fprintf (f, "%lu", i);
2209 /* Do not output a trailing newline, as this causes \r\n confusion
2210 on some platforms. */
2211 return ferror (f) || fclose (f) != 0;
2217 if ac_fn_c_try_run "$LINENO"; then :
2218 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2222 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2223 conftest.$ac_objext conftest.beam conftest.$ac_ext
2227 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2230 } # ac_fn_c_compute_int
2231 cat >config.log <<_ACEOF
2232 This file contains any messages produced by compilers while
2233 running configure, to aid debugging if configure makes a mistake.
2235 It was created by $as_me, which was
2236 generated by GNU Autoconf 2.64. Invocation command line was
2248 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2249 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2250 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2251 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2252 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2254 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2255 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2257 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2258 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2259 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2260 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2261 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2262 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2263 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2271 test -z "$as_dir" && as_dir=.
2272 $as_echo "PATH: $as_dir"
2288 # Keep a trace of the command line.
2289 # Strip out --no-create and --no-recursion so they do not pile up.
2290 # Strip out --silent because we don't want to record it for future runs.
2291 # Also quote any args containing shell meta-characters.
2292 # Make two passes to allow for proper duplicate-argument suppression.
2296 ac_must_keep_next=false
2302 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2303 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2304 | -silent | --silent | --silen | --sile | --sil)
2307 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2310 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2312 as_fn_append ac_configure_args1 " '$ac_arg'"
2313 if test $ac_must_keep_next = true; then
2314 ac_must_keep_next=false # Got value, back to normal.
2317 *=* | --config-cache | -C | -disable-* | --disable-* \
2318 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2319 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2320 | -with-* | --with-* | -without-* | --without-* | --x)
2321 case "$ac_configure_args0 " in
2322 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2325 -* ) ac_must_keep_next=true ;;
2328 as_fn_append ac_configure_args " '$ac_arg'"
2333 { ac_configure_args0=; unset ac_configure_args0;}
2334 { ac_configure_args1=; unset ac_configure_args1;}
2336 # When interrupted or exit'd, cleanup temporary files, and complete
2337 # config.log. We remove comments because anyway the quotes in there
2338 # would cause problems or look ugly.
2339 # WARNING: Use '\'' to represent an apostrophe within the trap.
2340 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2341 trap 'exit_status=$?
2342 # Save into config.log some information that might help in debugging.
2347 ## ---------------- ##
2348 ## Cache variables. ##
2349 ## ---------------- ##
2352 # The following way of writing the cache mishandles newlines in values,
2354 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2355 eval ac_val=\$$ac_var
2359 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2360 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2363 _ | IFS | as_nl) ;; #(
2364 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2365 *) { eval $ac_var=; unset $ac_var;} ;;
2370 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2371 *${as_nl}ac_space=\ *)
2373 "s/'\''/'\''\\\\'\'''\''/g;
2374 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2377 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2385 ## ----------------- ##
2386 ## Output variables. ##
2387 ## ----------------- ##
2390 for ac_var in $ac_subst_vars
2392 eval ac_val=\$$ac_var
2394 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2396 $as_echo "$ac_var='\''$ac_val'\''"
2400 if test -n "$ac_subst_files"; then
2402 ## ------------------- ##
2403 ## File substitutions. ##
2404 ## ------------------- ##
2407 for ac_var in $ac_subst_files
2409 eval ac_val=\$$ac_var
2411 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2413 $as_echo "$ac_var='\''$ac_val'\''"
2418 if test -s confdefs.h; then
2428 test "$ac_signal" != 0 &&
2429 $as_echo "$as_me: caught signal $ac_signal"
2430 $as_echo "$as_me: exit $exit_status"
2432 rm -f core *.core core.conftest.* &&
2433 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2436 for ac_signal in 1 2 13 15; do
2437 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2441 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2442 rm -f -r conftest* confdefs.h
2444 $as_echo "/* confdefs.h */" > confdefs.h
2446 # Predefined preprocessor variables.
2448 cat >>confdefs.h <<_ACEOF
2449 #define PACKAGE_NAME "$PACKAGE_NAME"
2452 cat >>confdefs.h <<_ACEOF
2453 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2456 cat >>confdefs.h <<_ACEOF
2457 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2460 cat >>confdefs.h <<_ACEOF
2461 #define PACKAGE_STRING "$PACKAGE_STRING"
2464 cat >>confdefs.h <<_ACEOF
2465 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2468 cat >>confdefs.h <<_ACEOF
2469 #define PACKAGE_URL "$PACKAGE_URL"
2473 # Let the site file select an alternate cache file if it wants to.
2474 # Prefer an explicitly selected file to automatically selected ones.
2477 if test -n "$CONFIG_SITE"; then
2478 ac_site_file1=$CONFIG_SITE
2479 elif test "x$prefix" != xNONE; then
2480 ac_site_file1=$prefix/share/config.site
2481 ac_site_file2=$prefix/etc/config.site
2483 ac_site_file1=$ac_default_prefix/share/config.site
2484 ac_site_file2=$ac_default_prefix/etc/config.site
2486 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2488 test "x$ac_site_file" = xNONE && continue
2489 if test -r "$ac_site_file"; then
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2491 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2492 sed 's/^/| /' "$ac_site_file" >&5
2497 if test -r "$cache_file"; then
2498 # Some versions of bash will fail to source /dev/null (special
2499 # files actually), so we avoid doing that.
2500 if test -f "$cache_file"; then
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2502 $as_echo "$as_me: loading cache $cache_file" >&6;}
2504 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2505 *) . "./$cache_file";;
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2510 $as_echo "$as_me: creating cache $cache_file" >&6;}
2514 # Check that the precious variables saved in the cache have kept the same
2516 ac_cache_corrupted=false
2517 for ac_var in $ac_precious_vars; do
2518 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2519 eval ac_new_set=\$ac_env_${ac_var}_set
2520 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2521 eval ac_new_val=\$ac_env_${ac_var}_value
2522 case $ac_old_set,$ac_new_set in
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2525 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2526 ac_cache_corrupted=: ;;
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2529 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2530 ac_cache_corrupted=: ;;
2533 if test "x$ac_old_val" != "x$ac_new_val"; then
2534 # differences in whitespace do not lead to failure.
2535 ac_old_val_w=`echo x
$ac_old_val`
2536 ac_new_val_w=`echo x
$ac_new_val`
2537 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2539 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2540 ac_cache_corrupted=:
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2543 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2544 eval $ac_var=\$ac_old_val
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2547 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2549 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2552 # Pass precious variables to config.status.
2553 if test "$ac_new_set" = set; then
2555 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2556 *) ac_arg=$ac_var=$ac_new_val ;;
2558 case " $ac_configure_args " in
2559 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2560 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2564 if $ac_cache_corrupted; then
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2566 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2568 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2569 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2571 ## -------------------- ##
2572 ## Main body of script. ##
2573 ## -------------------- ##
2576 ac_cpp='$CPP $CPPFLAGS'
2577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2588 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2589 for ac_t in install-sh install.sh shtool; do
2590 if test -f "$ac_dir/$ac_t"; then
2592 ac_install_sh="$ac_aux_dir/$ac_t -c"
2597 if test -z "$ac_aux_dir"; then
2598 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2601 # These three variables are undocumented and unsupported,
2602 # and are intended to be withdrawn in a future Autoconf release.
2603 # They can cause serious problems if a builder's source tree is in a directory
2604 # whose full name contains unusual characters.
2605 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2606 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2607 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2610 # Make sure we can run config.sub.
2611 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2612 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2615 $as_echo_n "checking build system type... " >&6; }
2616 if test "${ac_cv_build+set}" = set; then :
2617 $as_echo_n "(cached) " >&6
2619 ac_build_alias=$build_alias
2620 test "x$ac_build_alias" = x &&
2621 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2622 test "x$ac_build_alias" = x &&
2623 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2624 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2625 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2629 $as_echo "$ac_cv_build" >&6; }
2630 case $ac_cv_build in
2632 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2635 ac_save_IFS=$IFS; IFS='-'
2641 # Remember, the first character of IFS is used to create $*,
2642 # except with old shells:
2645 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2649 $as_echo_n "checking host system type... " >&6; }
2650 if test "${ac_cv_host+set}" = set; then :
2651 $as_echo_n "(cached) " >&6
2653 if test "x$host_alias" = x; then
2654 ac_cv_host=$ac_cv_build
2656 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2657 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2662 $as_echo "$ac_cv_host" >&6; }
2665 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2668 ac_save_IFS=$IFS; IFS='-'
2674 # Remember, the first character of IFS is used to create $*,
2675 # except with old shells:
2678 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2682 $as_echo_n "checking target system type... " >&6; }
2683 if test "${ac_cv_target+set}" = set; then :
2684 $as_echo_n "(cached) " >&6
2686 if test "x$target_alias" = x; then
2687 ac_cv_target=$ac_cv_host
2689 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2690 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2695 $as_echo "$ac_cv_target" >&6; }
2696 case $ac_cv_target in
2698 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2700 target=$ac_cv_target
2701 ac_save_IFS=$IFS; IFS='-'
2707 # Remember, the first character of IFS is used to create $*,
2708 # except with old shells:
2711 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2714 # The aliases save the names the user supplied, while $host etc.
2715 # will get canonicalized.
2716 test -n "$target_alias" &&
2717 test "$program_prefix$program_suffix$program_transform_name" = \
2719 program_prefix=${target_alias}-
2721 ac_cpp='$CPP $CPPFLAGS'
2722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2725 if test -n "$ac_tool_prefix"; then
2726 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2727 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2729 $as_echo_n "checking for $ac_word... " >&6; }
2730 if test "${ac_cv_prog_CC+set}" = set; then :
2731 $as_echo_n "(cached) " >&6
2733 if test -n "$CC"; then
2734 ac_cv_prog_CC="$CC" # Let the user override the test.
2736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2740 test -z "$as_dir" && as_dir=.
2741 for ac_exec_ext in '' $ac_executable_extensions; do
2742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2743 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2754 if test -n "$CC"; then
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2756 $as_echo "$CC" >&6; }
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2759 $as_echo "no" >&6; }
2764 if test -z "$ac_cv_prog_CC"; then
2766 # Extract the first word of "gcc", so it can be a program name with args.
2767 set dummy gcc; ac_word=$2
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2769 $as_echo_n "checking for $ac_word... " >&6; }
2770 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2771 $as_echo_n "(cached) " >&6
2773 if test -n "$ac_ct_CC"; then
2774 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2780 test -z "$as_dir" && as_dir=.
2781 for ac_exec_ext in '' $ac_executable_extensions; do
2782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2783 ac_cv_prog_ac_ct_CC="gcc"
2784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2793 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2794 if test -n "$ac_ct_CC"; then
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2796 $as_echo "$ac_ct_CC" >&6; }
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2799 $as_echo "no" >&6; }
2802 if test "x$ac_ct_CC" = x; then
2805 case $cross_compiling:$ac_tool_warned in
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2808 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2809 ac_tool_warned=yes ;;
2817 if test -z "$CC"; then
2818 if test -n "$ac_tool_prefix"; then
2819 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2820 set dummy ${ac_tool_prefix}cc; ac_word=$2
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2822 $as_echo_n "checking for $ac_word... " >&6; }
2823 if test "${ac_cv_prog_CC+set}" = set; then :
2824 $as_echo_n "(cached) " >&6
2826 if test -n "$CC"; then
2827 ac_cv_prog_CC="$CC" # Let the user override the test.
2829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2833 test -z "$as_dir" && as_dir=.
2834 for ac_exec_ext in '' $ac_executable_extensions; do
2835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2836 ac_cv_prog_CC="${ac_tool_prefix}cc"
2837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2847 if test -n "$CC"; then
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2849 $as_echo "$CC" >&6; }
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2852 $as_echo "no" >&6; }
2858 if test -z "$CC"; then
2859 # Extract the first word of "cc", so it can be a program name with args.
2860 set dummy cc; ac_word=$2
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2862 $as_echo_n "checking for $ac_word... " >&6; }
2863 if test "${ac_cv_prog_CC+set}" = set; then :
2864 $as_echo_n "(cached) " >&6
2866 if test -n "$CC"; then
2867 ac_cv_prog_CC="$CC" # Let the user override the test.
2870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2874 test -z "$as_dir" && as_dir=.
2875 for ac_exec_ext in '' $ac_executable_extensions; do
2876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2877 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2878 ac_prog_rejected=yes
2882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2889 if test $ac_prog_rejected = yes; then
2890 # We found a bogon in the path, so make sure we never use it.
2891 set dummy $ac_cv_prog_CC
2893 if test $# != 0; then
2894 # We chose a different compiler from the bogus one.
2895 # However, it has the same basename, so the bogon will be chosen
2896 # first if we set CC to just the basename; use the full file name.
2898 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2904 if test -n "$CC"; then
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2906 $as_echo "$CC" >&6; }
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2909 $as_echo "no" >&6; }
2914 if test -z "$CC"; then
2915 if test -n "$ac_tool_prefix"; then
2916 for ac_prog in cl.exe
2918 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2919 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2921 $as_echo_n "checking for $ac_word... " >&6; }
2922 if test "${ac_cv_prog_CC+set}" = set; then :
2923 $as_echo_n "(cached) " >&6
2925 if test -n "$CC"; then
2926 ac_cv_prog_CC="$CC" # Let the user override the test.
2928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2932 test -z "$as_dir" && as_dir=.
2933 for ac_exec_ext in '' $ac_executable_extensions; do
2934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2935 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2946 if test -n "$CC"; then
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2948 $as_echo "$CC" >&6; }
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2951 $as_echo "no" >&6; }
2955 test -n "$CC" && break
2958 if test -z "$CC"; then
2960 for ac_prog in cl.exe
2962 # Extract the first word of "$ac_prog", so it can be a program name with args.
2963 set dummy $ac_prog; ac_word=$2
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2965 $as_echo_n "checking for $ac_word... " >&6; }
2966 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2967 $as_echo_n "(cached) " >&6
2969 if test -n "$ac_ct_CC"; then
2970 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2976 test -z "$as_dir" && as_dir=.
2977 for ac_exec_ext in '' $ac_executable_extensions; do
2978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2979 ac_cv_prog_ac_ct_CC="$ac_prog"
2980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2989 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2990 if test -n "$ac_ct_CC"; then
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2992 $as_echo "$ac_ct_CC" >&6; }
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2995 $as_echo "no" >&6; }
2999 test -n "$ac_ct_CC" && break
3002 if test "x$ac_ct_CC" = x; then
3005 case $cross_compiling:$ac_tool_warned in
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3008 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3009 ac_tool_warned=yes ;;
3018 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3019 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3020 as_fn_error "no acceptable C compiler found
in \
$PATH
3021 See \
`config.log' for more details." "$LINENO" 5; }
3023 # Provide some information about the compiler.
3024 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3027 for ac_option in --version -v -V -qversion; do
3028 { { ac_try="$ac_compiler $ac_option >&5"
3030 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3031 *) ac_try_echo
=$ac_try;;
3033 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3034 $as_echo "$ac_try_echo"; } >&5
3035 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3037 if test -s conftest.err
; then
3039 ... rest of stderr output deleted ...
3040 10q' conftest.err
>conftest.er1
3041 cat conftest.er1
>&5
3042 rm -f conftest.er1 conftest.err
3044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3045 test $ac_status = 0; }
3048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3049 /* end confdefs.h. */
3059 ac_clean_files_save
=$ac_clean_files
3060 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3061 # Try to create an executable without -o first, disregard a.out.
3062 # It will help us diagnose broken compilers, and finding out an intuition
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3065 $as_echo_n "checking for C compiler default output file name... " >&6; }
3066 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3068 # The possible output files:
3069 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3072 for ac_file
in $ac_files
3075 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3076 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3081 if { { ac_try
="$ac_link_default"
3083 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3084 *) ac_try_echo=$ac_try;;
3086 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3087 $as_echo "$ac_try_echo"; } >&5
3088 (eval "$ac_link_default") 2>&5
3090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3091 test $ac_status = 0; }; then :
3092 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3093 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3094 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3095 # so that the user can short-circuit this test for compilers unknown to
3097 for ac_file in $ac_files ''
3099 test -f "$ac_file" || continue
3101 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3104 # We found the default executable, but exeext='' is most
3108 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3110 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3112 # We set ac_cv_exeext here because the later test for it is not
3113 # safe: cross compilers may not add the suffix if given an `-o'
3114 # argument, so we may need to know it at that point already.
3115 # Even if this section looks crufty: it has the advantage of
3122 test "$ac_cv_exeext" = no && ac_cv_exeext=
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3128 $as_echo "$ac_file" >&6; }
3129 if test -z "$ac_file"; then :
3130 $as_echo "$as_me: failed program was:" >&5
3131 sed 's
/^
/|
/' conftest.$ac_ext >&5
3133 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3134 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3135 { as_fn_set_status 77
3136 as_fn_error "C compiler cannot create executables
3137 See \`config.log
' for more details." "$LINENO" 5; }; }
3139 ac_exeext=$ac_cv_exeext
3141 # Check that the compiler produces executables we can run. If not, either
3142 # the compiler is broken, or we cross compile.
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3144 $as_echo_n "checking whether the C compiler works... " >&6; }
3145 # If not cross compiling, check that we can run a simple program.
3146 if test "$cross_compiling" != yes; then
3147 if { ac_try='.
/$ac_file'
3148 { { case "(($ac_try" in
3149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3150 *) ac_try_echo=$ac_try;;
3152 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3153 $as_echo "$ac_try_echo"; } >&5
3154 (eval "$ac_try") 2>&5
3156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3157 test $ac_status = 0; }; }; then
3160 if test "$cross_compiling" = maybe; then
3163 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3164 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3165 as_fn_error "cannot run C compiled programs.
3166 If you meant to cross compile, use \`--host'.
3167 See \`config.log' for more details.
" "$LINENO" 5; }
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
3172 $as_echo "yes" >&6; }
3174 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3175 ac_clean_files=$ac_clean_files_save
3176 # Check that the compiler produces executables we can run. If not, either
3177 # the compiler is broken, or we cross compile.
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
3179 $as_echo_n "checking whether we are cross compiling...
" >&6; }
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $cross_compiling" >&5
3181 $as_echo "$cross_compiling" >&6; }
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
3184 $as_echo_n "checking
for suffix of executables...
" >&6; }
3185 if { { ac_try="$ac_link"
3187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3188 *) ac_try_echo=$ac_try;;
3190 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3191 $as_echo "$ac_try_echo"; } >&5
3192 (eval "$ac_link") 2>&5
3194 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3195 test $ac_status = 0; }; then :
3196 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3197 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3198 # work properly (i.e., refer to `conftest.exe'), while it won't with
3200 for ac_file in conftest.exe conftest conftest.*; do
3201 test -f "$ac_file" || continue
3203 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3204 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3210 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3212 as_fn_error "cannot compute suffix of executables: cannot compile and link
3213 See \`config.log' for more details.
" "$LINENO" 5; }
3215 rm -f conftest$ac_cv_exeext
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
3217 $as_echo "$ac_cv_exeext" >&6; }
3219 rm -f conftest.$ac_ext
3220 EXEEXT=$ac_cv_exeext
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of object files
" >&5
3223 $as_echo_n "checking
for suffix of object files...
" >&6; }
3224 if test "${ac_cv_objext+set}" = set; then :
3225 $as_echo_n "(cached
) " >&6
3227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3228 /* end confdefs.h. */
3238 rm -f conftest.o conftest.obj
3239 if { { ac_try="$ac_compile"
3241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3242 *) ac_try_echo=$ac_try;;
3244 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3245 $as_echo "$ac_try_echo"; } >&5
3246 (eval "$ac_compile") 2>&5
3248 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3249 test $ac_status = 0; }; then :
3250 for ac_file in conftest.o conftest.obj conftest.*; do
3251 test -f "$ac_file" || continue;
3253 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3254 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3259 $as_echo "$as_me: failed program was
:" >&5
3260 sed 's/^/| /' conftest.$ac_ext >&5
3262 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3264 as_fn_error "cannot compute suffix of object files: cannot compile
3265 See \`config.log' for more details.
" "$LINENO" 5; }
3267 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_objext" >&5
3270 $as_echo "$ac_cv_objext" >&6; }
3271 OBJEXT=$ac_cv_objext
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler
" >&5
3274 $as_echo_n "checking whether we are using the GNU C compiler...
" >&6; }
3275 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3276 $as_echo_n "(cached
) " >&6
3278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3279 /* end confdefs.h. */
3292 if ac_fn_c_try_compile "$LINENO"; then :
3297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3298 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_compiler_gnu" >&5
3302 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3303 if test $ac_compiler_gnu = yes; then
3308 ac_test_CFLAGS=${CFLAGS+set}
3309 ac_save_CFLAGS=$CFLAGS
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC accepts
-g" >&5
3311 $as_echo_n "checking whether
$CC accepts
-g...
" >&6; }
3312 if test "${ac_cv_prog_cc_g+set}" = set; then :
3313 $as_echo_n "(cached
) " >&6
3315 ac_save_c_werror_flag=$ac_c_werror_flag
3316 ac_c_werror_flag=yes
3319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3320 /* end confdefs.h. */
3330 if ac_fn_c_try_compile "$LINENO"; then :
3334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3335 /* end confdefs.h. */
3345 if ac_fn_c_try_compile "$LINENO"; then :
3348 ac_c_werror_flag=$ac_save_c_werror_flag
3350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3351 /* end confdefs.h. */
3361 if ac_fn_c_try_compile "$LINENO"; then :
3364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3369 ac_c_werror_flag=$ac_save_c_werror_flag
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_g" >&5
3372 $as_echo "$ac_cv_prog_cc_g" >&6; }
3373 if test "$ac_test_CFLAGS" = set; then
3374 CFLAGS=$ac_save_CFLAGS
3375 elif test $ac_cv_prog_cc_g = yes; then
3376 if test "$GCC" = yes; then
3382 if test "$GCC" = yes; then
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $CC option to accept ISO C89
" >&5
3389 $as_echo_n "checking
for $CC option to accept ISO C89...
" >&6; }
3390 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3391 $as_echo_n "(cached
) " >&6
3393 ac_cv_prog_cc_c89=no
3395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3396 /* end confdefs.h. */
3399 #include <sys/types.h>
3400 #include <sys/stat.h>
3401 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3402 struct buf { int x; };
3403 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3404 static char *e (p, i)
3410 static char *f (char * (*g) (char **, int), char **p, ...)
3415 s = g (p, va_arg (v,int));
3420 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3421 function prototypes and stuff, but not '\xHH' hex character constants.
3422 These don't provoke an error unfortunately, instead are silently treated
3423 as 'x'. The following induces an error, until -std is added to get
3424 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3425 array size at least. It's necessary to write '\x00'==0 to get something
3426 that's true only with -std. */
3427 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3429 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3430 inside strings and character constants. */
3432 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3434 int test (int i, double x);
3435 struct s1 {int (*f) (int a);};
3436 struct s2 {int (*f) (double a);};
3437 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3443 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3448 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3449 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3451 CC="$ac_save_CC $ac_arg"
3452 if ac_fn_c_try_compile "$LINENO"; then :
3453 ac_cv_prog_cc_c89=$ac_arg
3455 rm -f core conftest.err conftest.$ac_objext
3456 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3458 rm -f conftest.$ac_ext
3463 case "x
$ac_cv_prog_cc_c89" in
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none needed
" >&5
3466 $as_echo "none needed
" >&6; } ;;
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: unsupported
" >&5
3469 $as_echo "unsupported
" >&6; } ;;
3471 CC="$CC $ac_cv_prog_cc_c89"
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_c89" >&5
3473 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3475 if test "x
$ac_cv_prog_cc_c89" != xno; then :
3480 ac_cpp='$CPP $CPPFLAGS'
3481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for library containing strerror
" >&5
3487 $as_echo_n "checking
for library containing strerror...
" >&6; }
3488 if test "${ac_cv_search_strerror+set}" = set; then :
3489 $as_echo_n "(cached
) " >&6
3491 ac_func_search_save_LIBS=$LIBS
3492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3493 /* end confdefs.h. */
3495 /* Override any GCC internal prototype to avoid an error.
3496 Use char because int might match the return type of a GCC
3497 builtin and then its argument prototype would still apply. */
3510 for ac_lib in '' cposix; do
3511 if test -z "$ac_lib"; then
3512 ac_res="none required
"
3515 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3517 if ac_fn_c_try_link "$LINENO"; then :
3518 ac_cv_search_strerror=$ac_res
3520 rm -f core conftest.err conftest.$ac_objext \
3522 if test "${ac_cv_search_strerror+set}" = set; then :
3526 if test "${ac_cv_search_strerror+set}" = set; then :
3529 ac_cv_search_strerror=no
3532 LIBS=$ac_func_search_save_LIBS
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_search_strerror" >&5
3535 $as_echo "$ac_cv_search_strerror" >&6; }
3536 ac_res=$ac_cv_search_strerror
3537 if test "$ac_res" != no; then :
3538 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
3543 BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
3544 am__api_version='1.11'
3546 # Find a good install program. We prefer a C program (faster),
3547 # so one script is as good as another. But avoid the broken or
3548 # incompatible versions:
3549 # SysV /etc/install, /usr/sbin/install
3550 # SunOS /usr/etc/install
3551 # IRIX /sbin/install
3553 # AmigaOS /C/install, which installs bootblocks on floppy discs
3554 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3555 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3556 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
3557 # OS/2's system install, which has a completely different semantic
3558 # ./install, which can be erroneously created by make from ./install.sh.
3559 # Reject install programs that cannot install multiple files.
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a BSD-compatible
install" >&5
3561 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
3562 if test -z "$INSTALL"; then
3563 if test "${ac_cv_path_install+set}" = set; then :
3564 $as_echo_n "(cached
) " >&6
3566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3570 test -z "$as_dir" && as_dir=.
3571 # Account for people who put trailing slashes in PATH elements.
3572 case $as_dir/ in #((
3573 ./ | .// | /[cC]/* | \
3574 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3575 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3578 # OSF1 and SCO ODT 3.0 have their own names for install.
3579 # Don't use installbsd from OSF since it installs stuff as root
3581 for ac_prog in ginstall scoinst install; do
3582 for ac_exec_ext in '' $ac_executable_extensions; do
3583 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3584 if test $ac_prog = install &&
3585 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3586 # AIX install. It has an incompatible calling convention.
3588 elif test $ac_prog = install &&
3589 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3590 # program-specific install script used by HP pwplus--don't use.
3593 rm -rf conftest.one conftest.two conftest.dir
3594 echo one > conftest.one
3595 echo two > conftest.two
3597 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
3598 test -s conftest.one && test -s conftest.two &&
3599 test -s conftest.dir/conftest.one &&
3600 test -s conftest.dir/conftest.two
3602 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3615 rm -rf conftest.one conftest.two conftest.dir
3618 if test "${ac_cv_path_install+set}" = set; then
3619 INSTALL=$ac_cv_path_install
3621 # As a last resort, use the slow shell script. Don't cache a
3622 # value for INSTALL within a source directory, because that will
3623 # break other packages using the cache if that directory is
3624 # removed, or if the value is a relative name.
3625 INSTALL=$ac_install_sh
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $INSTALL" >&5
3629 $as_echo "$INSTALL" >&6; }
3631 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3632 # It thinks the first close brace ends the variable substitution.
3633 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3635 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3637 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane
" >&5
3640 $as_echo_n "checking whether build environment is sane...
" >&6; }
3643 echo timestamp > conftest.file
3644 # Reject unsafe characters in $srcdir or the absolute working directory
3645 # name. Accept space and tab only in the latter.
3649 *[\\\"\#\$\&\'\`$am_lf]*)
3650 as_fn_error "unsafe absolute working directory name
" "$LINENO" 5;;
3653 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3654 as_fn_error "unsafe srcdir value
: \
`$srcdir'" "$LINENO" 5;;
3657 # Do `set' in a subshell so we don't clobber the current shell
's
3658 # arguments. Must try -L first in case configure is actually a
3659 # symlink; some systems play weird games with the mod time of symlinks
3660 # (eg FreeBSD returns the mod time of the symlink's containing
3663 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3664 if test "$*" = "X"; then
3666 set X
`ls -t "$srcdir/configure" conftest.file`
3669 if test "$*" != "X $srcdir/configure conftest.file" \
3670 && test "$*" != "X conftest.file $srcdir/configure"; then
3672 # If neither matched, then we have a broken ls. This can happen
3673 # if, for instance, CONFIG_SHELL is bash and it inherits a
3674 # broken ls alias from the environment. This has actually
3675 # happened. Such a system could not be considered "sane".
3676 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3677 alias in your environment" "$LINENO" 5
3680 test "$2" = conftest.
file
3686 as_fn_error
"newly created file is older than distributed files!
3687 Check your system clock" "$LINENO" 5
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3690 $as_echo "yes" >&6; }
3691 test "$program_prefix" != NONE
&&
3692 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3693 # Use a double $ so make ignores it.
3694 test "$program_suffix" != NONE
&&
3695 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3696 # Double any \ or $.
3697 # By default was `s,x,x', remove it if useless.
3698 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3699 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3701 # expand $ac_aux_dir to an absolute path
3702 am_aux_dir
=`cd $ac_aux_dir && pwd`
3704 if test x
"${MISSING+set}" != xset
; then
3707 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3709 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3712 # Use eval to expand $SHELL
3713 if eval "$MISSING --run true"; then
3714 am_missing_run
="$MISSING --run "
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3718 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3721 if test x
"${install_sh}" != xset
; then
3724 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3726 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3730 # Installed binaries are usually stripped using `strip' when the user
3731 # run `make install-strip'. However `strip' might not be the right
3732 # tool to use in cross-compilation environments, therefore Automake
3733 # will honor the `STRIP' environment variable to overrule this program.
3734 if test "$cross_compiling" != no
; then
3735 if test -n "$ac_tool_prefix"; then
3736 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3737 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3739 $as_echo_n "checking for $ac_word... " >&6; }
3740 if test "${ac_cv_prog_STRIP+set}" = set; then :
3741 $as_echo_n "(cached) " >&6
3743 if test -n "$STRIP"; then
3744 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3750 test -z "$as_dir" && as_dir
=.
3751 for ac_exec_ext
in '' $ac_executable_extensions; do
3752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3753 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3763 STRIP
=$ac_cv_prog_STRIP
3764 if test -n "$STRIP"; then
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3766 $as_echo "$STRIP" >&6; }
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3769 $as_echo "no" >&6; }
3774 if test -z "$ac_cv_prog_STRIP"; then
3776 # Extract the first word of "strip", so it can be a program name with args.
3777 set dummy strip
; ac_word
=$2
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3779 $as_echo_n "checking for $ac_word... " >&6; }
3780 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3781 $as_echo_n "(cached) " >&6
3783 if test -n "$ac_ct_STRIP"; then
3784 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3790 test -z "$as_dir" && as_dir
=.
3791 for ac_exec_ext
in '' $ac_executable_extensions; do
3792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3793 ac_cv_prog_ac_ct_STRIP
="strip"
3794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3803 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3804 if test -n "$ac_ct_STRIP"; then
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3806 $as_echo "$ac_ct_STRIP" >&6; }
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3809 $as_echo "no" >&6; }
3812 if test "x$ac_ct_STRIP" = x
; then
3815 case $cross_compiling:$ac_tool_warned in
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3818 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3819 ac_tool_warned
=yes ;;
3824 STRIP
="$ac_cv_prog_STRIP"
3828 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3831 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3832 if test -z "$MKDIR_P"; then
3833 if test "${ac_cv_path_mkdir+set}" = set; then :
3834 $as_echo_n "(cached) " >&6
3836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3837 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3840 test -z "$as_dir" && as_dir
=.
3841 for ac_prog
in mkdir gmkdir
; do
3842 for ac_exec_ext
in '' $ac_executable_extensions; do
3843 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3844 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3845 'mkdir (GNU coreutils) '* | \
3846 'mkdir (coreutils) '* | \
3847 'mkdir (fileutils) '4.1*)
3848 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3858 if test "${ac_cv_path_mkdir+set}" = set; then
3859 MKDIR_P
="$ac_cv_path_mkdir -p"
3861 # As a last resort, use the slow shell script. Don't cache a
3862 # value for MKDIR_P within a source directory, because that will
3863 # break other packages using the cache if that directory is
3864 # removed, or if the value is a relative name.
3865 test -d .
/--version && rmdir .
/--version
3866 MKDIR_P
="$ac_install_sh -d"
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3870 $as_echo "$MKDIR_P" >&6; }
3874 [\\/$
]* | ?
:[\\/]*) ;;
3875 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3878 for ac_prog
in gawk mawk nawk
awk
3880 # Extract the first word of "$ac_prog", so it can be a program name with args.
3881 set dummy
$ac_prog; ac_word
=$2
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3883 $as_echo_n "checking for $ac_word... " >&6; }
3884 if test "${ac_cv_prog_AWK+set}" = set; then :
3885 $as_echo_n "(cached) " >&6
3887 if test -n "$AWK"; then
3888 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3894 test -z "$as_dir" && as_dir
=.
3895 for ac_exec_ext
in '' $ac_executable_extensions; do
3896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3897 ac_cv_prog_AWK
="$ac_prog"
3898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3908 if test -n "$AWK"; then
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3910 $as_echo "$AWK" >&6; }
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3913 $as_echo "no" >&6; }
3917 test -n "$AWK" && break
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3921 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3923 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3924 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3925 $as_echo_n "(cached) " >&6
3927 cat >conftest.
make <<\_ACEOF
3930 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3932 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3933 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3935 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3937 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3941 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3943 $as_echo "yes" >&6; }
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3947 $as_echo "no" >&6; }
3948 SET_MAKE
="MAKE=${MAKE-make}"
3951 rm -rf .tst
2>/dev
/null
3952 mkdir .tst
2>/dev
/null
3953 if test -d .tst
; then
3958 rmdir .tst
2>/dev
/null
3960 DEPDIR
="${am__leading_dot}deps"
3962 ac_config_commands
="$ac_config_commands depfiles"
3965 am_make
=${MAKE-make}
3966 cat > confinc
<< 'END'
3968 @
echo this is the am__doit target
3971 # If we don't find an include directive, just comment out the code.
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3973 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3977 # First try GNU make style include.
3978 echo "include confinc" > confmf
3979 # Ignore all kinds of additional output from `make'.
3980 case `$am_make -s -f confmf 2> /dev/null` in #(
3981 *the\ am__doit\ target
*)
3987 # Now try BSD make style include.
3988 if test "$am__include" = "#"; then
3989 echo '.include "confinc"' > confmf
3990 case `$am_make -s -f confmf 2> /dev/null` in #(
3991 *the\ am__doit\ target
*)
3992 am__include
=.include
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4001 $as_echo "$_am_result" >&6; }
4002 rm -f confinc confmf
4004 # Check whether --enable-dependency-tracking was given.
4005 if test "${enable_dependency_tracking+set}" = set; then :
4006 enableval
=$enable_dependency_tracking;
4009 if test "x$enable_dependency_tracking" != xno
; then
4010 am_depcomp
="$ac_aux_dir/depcomp"
4013 if test "x$enable_dependency_tracking" != xno; then
4022 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4023 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4024 # is not polluted with repeated "-I."
4025 am__isrc
=' -I$(srcdir)'
4026 # test to see if srcdir already configured
4027 if test -f $srcdir/config.status
; then
4028 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4032 # test whether we have cygpath
4033 if test -z "$CYGPATH_W"; then
4034 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4035 CYGPATH_W
='cygpath -w'
4042 # Define the identity of the package.
4044 VERSION
=${BFD_VERSION}
4047 cat >>confdefs.h
<<_ACEOF
4048 #define PACKAGE "$PACKAGE"
4052 cat >>confdefs.h
<<_ACEOF
4053 #define VERSION "$VERSION"
4056 # Some tools Automake needs.
4058 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4061 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4064 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4067 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4070 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4072 # We need awk for the "check" target. The system "awk" is bad on
4074 # Always define AMTAR for backward compatibility.
4076 AMTAR
=${AMTAR-"${am_missing_run}tar"}
4078 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
4083 depcc
="$CC" am_compiler_list
=
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4086 $as_echo_n "checking dependency style of $depcc... " >&6; }
4087 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4088 $as_echo_n "(cached) " >&6
4090 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4091 # We make a subdir and do the tests there. Otherwise we can end up
4092 # making bogus files that we don't know about and never remove. For
4093 # instance it was reported that on HP-UX the gcc test will end up
4094 # making a dummy file named `D' -- because `-MD' means `put the output
4097 # Copy depcomp to subdir because otherwise we won't find it if we're
4098 # using a relative directory.
4099 cp "$am_depcomp" conftest.dir
4101 # We will build objects and dependencies in a subdirectory because
4102 # it helps to detect inapplicable dependency modes. For instance
4103 # both Tru64's cc and ICC support -MD to output dependencies as a
4104 # side effect of compilation, but ICC will put the dependencies in
4105 # the current directory while Tru64 will put them in the object
4109 am_cv_CC_dependencies_compiler_type
=none
4110 if test "$am_compiler_list" = ""; then
4111 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4114 case " $depcc " in #(
4115 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4118 for depmode
in $am_compiler_list; do
4119 # Setup a source with many dependencies, because some compilers
4120 # like to wrap large dependency lists on column 80 (with \), and
4121 # we should not choose a depcomp mode which is confused by this.
4123 # We need to recreate these files for each test, as the compiler may
4124 # overwrite some of them when testing with obscure command lines.
4125 # This happens at least with the AIX C compiler.
4127 for i
in 1 2 3 4 5 6; do
4128 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4129 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4130 # Solaris 8's {/usr,}/bin/sh.
4131 touch sub
/conftst
$i.h
4133 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4135 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4136 # mode. It turns out that the SunPro C++ compiler does not properly
4137 # handle `-M -o', and we need to detect this. Also, some Intel
4138 # versions had trouble with output in subdirs
4139 am__obj
=sub
/conftest.
${OBJEXT-o}
4140 am__minus_obj
="-o $am__obj"
4143 # This depmode causes a compiler race in universal mode.
4144 test "$am__universal" = false ||
continue
4147 # after this tag, mechanisms are not by side-effect, so they'll
4148 # only be used when explicitly requested
4149 if test "x$enable_dependency_tracking" = xyes
; then
4155 msvisualcpp | msvcmsys
)
4156 # This compiler won't grok `-c -o', but also, the minuso test has
4157 # not run yet. These depmodes are late enough in the game, and
4158 # so weak that their functioning should not be impacted.
4159 am__obj
=conftest.
${OBJEXT-o}
4164 if depmode
=$depmode \
4165 source=sub
/conftest.c object
=$am__obj \
4166 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4167 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4168 >/dev
/null
2>conftest.err
&&
4169 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4170 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4171 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4172 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4173 # icc doesn't choke on unknown options, it will just issue warnings
4174 # or remarks (even with -Werror). So we grep stderr for any message
4175 # that says an option was ignored or not supported.
4176 # When given -MP, icc 7.0 and 7.1 complain thusly:
4177 # icc: Command line warning: ignoring option '-M'; no argument required
4178 # The diagnosis changed in icc 8.0:
4179 # icc: Command line remark: option '-MP' not supported
4180 if (grep 'ignoring option' conftest.err ||
4181 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4182 am_cv_CC_dependencies_compiler_type
=$depmode
4191 am_cv_CC_dependencies_compiler_type
=none
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4196 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4197 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4200 test "x$enable_dependency_tracking" != xno \
4201 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4203 am__fastdepCC_FALSE
='#'
4205 am__fastdepCC_TRUE
='#'
4206 am__fastdepCC_FALSE
=
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4213 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4214 # Check whether --enable-maintainer-mode was given.
4215 if test "${enable_maintainer_mode+set}" = set; then :
4216 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4218 USE_MAINTAINER_MODE
=no
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4222 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4223 if test $USE_MAINTAINER_MODE = yes; then
4224 MAINTAINER_MODE_TRUE
=
4225 MAINTAINER_MODE_FALSE
='#'
4227 MAINTAINER_MODE_TRUE
='#'
4228 MAINTAINER_MODE_FALSE
=
4231 MAINT
=$MAINTAINER_MODE_TRUE
4236 # Check whether --with-lib-path was given.
4237 if test "${with_lib_path+set}" = set; then :
4238 withval
=$with_lib_path; LIB_PATH
=$withval
4241 # Check whether --enable-targets was given.
4242 if test "${enable_targets+set}" = set; then :
4243 enableval
=$enable_targets; case "${enableval}" in
4244 yes |
"") as_fn_error
"enable-targets option must specify target names or 'all'" "$LINENO" 5
4246 no
) enable_targets
= ;;
4247 *) enable_targets
=$enableval ;;
4250 # Check whether --enable-64-bit-bfd was given.
4251 if test "${enable_64_bit_bfd+set}" = set; then :
4252 enableval
=$enable_64_bit_bfd; case "${enableval}" in
4255 *) as_fn_error
"bad value ${enableval} for 64-bit-bfd option" "$LINENO" 5 ;;
4262 # Check whether --with-sysroot was given.
4263 if test "${with_sysroot+set}" = set; then :
4264 withval
=$with_sysroot;
4265 case ${with_sysroot} in
4266 yes) TARGET_SYSTEM_ROOT
='${exec_prefix}/${target_alias}/sys-root' ;;
4267 *) TARGET_SYSTEM_ROOT
=$with_sysroot ;;
4270 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
4273 if test "x$prefix" = xNONE
; then
4274 test_prefix
=/usr
/local
4278 if test "x$exec_prefix" = xNONE
; then
4279 test_exec_prefix
=$test_prefix
4281 test_exec_prefix
=$exec_prefix
4283 case ${TARGET_SYSTEM_ROOT} in
4284 "${test_prefix}"|
"${test_prefix}/"*|\
4285 "${test_exec_prefix}"|
"${test_exec_prefix}/"*|\
4286 '${prefix}'|
'${prefix}/'*|\
4287 '${exec_prefix}'|
'${exec_prefix}/'*)
4288 t
="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
4289 TARGET_SYSTEM_ROOT_DEFINE
="$t"
4297 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"\"'
4305 # Check whether --enable-got was given.
4306 if test "${enable_got+set}" = set; then :
4307 enableval
=$enable_got; case "${enableval}" in
4308 target | single | negative | multigot
) got_handling
=$enableval ;;
4309 *) as_fn_error
"bad value ${enableval} for --enable-got option" "$LINENO" 5 ;;
4316 case "${got_handling}" in
4319 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_TARGET_DEFAULT" >>confdefs.h
4323 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_SINGLE" >>confdefs.h
4327 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_NEGATIVE" >>confdefs.h
4331 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_MULTIGOT" >>confdefs.h
4333 *) as_fn_error
"bad value ${got_handling} for --enable-got option" "$LINENO" 5 ;;
4337 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4339 # Check whether --enable-werror was given.
4340 if test "${enable_werror+set}" = set; then :
4341 enableval
=$enable_werror; case "${enableval}" in
4342 yes | y
) ERROR_ON_WARNING
="yes" ;;
4343 no | n
) ERROR_ON_WARNING
="no" ;;
4344 *) as_fn_error
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
4349 # Enable -Wno-format by default when using gcc on mingw
4352 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4353 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
4359 # Enable -Werror by default when using gcc
4360 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4361 ERROR_ON_WARNING
=yes
4365 if test "${ERROR_ON_WARNING}" = yes ; then
4366 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
4367 NO_WERROR
="-Wno-error"
4370 if test "${GCC}" = yes ; then
4371 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
4374 # Check whether --enable-build-warnings was given.
4375 if test "${enable_build_warnings+set}" = set; then :
4376 enableval
=$enable_build_warnings; case "${enableval}" in
4377 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
4378 no
) if test "${GCC}" = yes ; then
4381 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4382 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
4383 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4384 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
4385 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4390 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
4391 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
4398 ac_config_headers
="$ac_config_headers config.h:config.in"
4401 if test -z "$target" ; then
4402 as_fn_error
"Unrecognized target system type; please check config.sub." "$LINENO" 5
4404 if test -z "$host" ; then
4405 as_fn_error
"Unrecognized host system type; please check config.sub." "$LINENO" 5
4408 # host-specific stuff:
4411 ac_cpp
='$CPP $CPPFLAGS'
4412 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4413 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4414 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4415 if test -n "$ac_tool_prefix"; then
4416 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4417 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4419 $as_echo_n "checking for $ac_word... " >&6; }
4420 if test "${ac_cv_prog_CC+set}" = set; then :
4421 $as_echo_n "(cached) " >&6
4423 if test -n "$CC"; then
4424 ac_cv_prog_CC
="$CC" # Let the user override the test.
4426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4430 test -z "$as_dir" && as_dir
=.
4431 for ac_exec_ext
in '' $ac_executable_extensions; do
4432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4433 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4444 if test -n "$CC"; then
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4446 $as_echo "$CC" >&6; }
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4449 $as_echo "no" >&6; }
4454 if test -z "$ac_cv_prog_CC"; then
4456 # Extract the first word of "gcc", so it can be a program name with args.
4457 set dummy gcc
; ac_word
=$2
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4459 $as_echo_n "checking for $ac_word... " >&6; }
4460 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4461 $as_echo_n "(cached) " >&6
4463 if test -n "$ac_ct_CC"; then
4464 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4470 test -z "$as_dir" && as_dir
=.
4471 for ac_exec_ext
in '' $ac_executable_extensions; do
4472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4473 ac_cv_prog_ac_ct_CC
="gcc"
4474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4483 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4484 if test -n "$ac_ct_CC"; then
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4486 $as_echo "$ac_ct_CC" >&6; }
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4489 $as_echo "no" >&6; }
4492 if test "x$ac_ct_CC" = x
; then
4495 case $cross_compiling:$ac_tool_warned in
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4498 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4499 ac_tool_warned
=yes ;;
4507 if test -z "$CC"; then
4508 if test -n "$ac_tool_prefix"; then
4509 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4510 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4512 $as_echo_n "checking for $ac_word... " >&6; }
4513 if test "${ac_cv_prog_CC+set}" = set; then :
4514 $as_echo_n "(cached) " >&6
4516 if test -n "$CC"; then
4517 ac_cv_prog_CC
="$CC" # Let the user override the test.
4519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4523 test -z "$as_dir" && as_dir
=.
4524 for ac_exec_ext
in '' $ac_executable_extensions; do
4525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4526 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4537 if test -n "$CC"; then
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4539 $as_echo "$CC" >&6; }
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4542 $as_echo "no" >&6; }
4548 if test -z "$CC"; then
4549 # Extract the first word of "cc", so it can be a program name with args.
4550 set dummy cc
; ac_word
=$2
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4552 $as_echo_n "checking for $ac_word... " >&6; }
4553 if test "${ac_cv_prog_CC+set}" = set; then :
4554 $as_echo_n "(cached) " >&6
4556 if test -n "$CC"; then
4557 ac_cv_prog_CC
="$CC" # Let the user override the test.
4560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4564 test -z "$as_dir" && as_dir
=.
4565 for ac_exec_ext
in '' $ac_executable_extensions; do
4566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4567 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4568 ac_prog_rejected
=yes
4572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4579 if test $ac_prog_rejected = yes; then
4580 # We found a bogon in the path, so make sure we never use it.
4581 set dummy
$ac_cv_prog_CC
4583 if test $# != 0; then
4584 # We chose a different compiler from the bogus one.
4585 # However, it has the same basename, so the bogon will be chosen
4586 # first if we set CC to just the basename; use the full file name.
4588 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4594 if test -n "$CC"; then
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4596 $as_echo "$CC" >&6; }
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4599 $as_echo "no" >&6; }
4604 if test -z "$CC"; then
4605 if test -n "$ac_tool_prefix"; then
4606 for ac_prog
in cl.exe
4608 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4609 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4611 $as_echo_n "checking for $ac_word... " >&6; }
4612 if test "${ac_cv_prog_CC+set}" = set; then :
4613 $as_echo_n "(cached) " >&6
4615 if test -n "$CC"; then
4616 ac_cv_prog_CC
="$CC" # Let the user override the test.
4618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4622 test -z "$as_dir" && as_dir
=.
4623 for ac_exec_ext
in '' $ac_executable_extensions; do
4624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4625 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4636 if test -n "$CC"; then
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4638 $as_echo "$CC" >&6; }
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4641 $as_echo "no" >&6; }
4645 test -n "$CC" && break
4648 if test -z "$CC"; then
4650 for ac_prog
in cl.exe
4652 # Extract the first word of "$ac_prog", so it can be a program name with args.
4653 set dummy
$ac_prog; ac_word
=$2
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4655 $as_echo_n "checking for $ac_word... " >&6; }
4656 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4657 $as_echo_n "(cached) " >&6
4659 if test -n "$ac_ct_CC"; then
4660 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4666 test -z "$as_dir" && as_dir
=.
4667 for ac_exec_ext
in '' $ac_executable_extensions; do
4668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4669 ac_cv_prog_ac_ct_CC
="$ac_prog"
4670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4679 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4680 if test -n "$ac_ct_CC"; then
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4682 $as_echo "$ac_ct_CC" >&6; }
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4685 $as_echo "no" >&6; }
4689 test -n "$ac_ct_CC" && break
4692 if test "x$ac_ct_CC" = x
; then
4695 case $cross_compiling:$ac_tool_warned in
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4699 ac_tool_warned
=yes ;;
4708 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4709 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4710 as_fn_error
"no acceptable C compiler found in \$PATH
4711 See \`config.log' for more details." "$LINENO" 5; }
4713 # Provide some information about the compiler.
4714 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4717 for ac_option
in --version -v -V -qversion; do
4718 { { ac_try
="$ac_compiler $ac_option >&5"
4720 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4721 *) ac_try_echo=$ac_try;;
4723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4724 $as_echo "$ac_try_echo"; } >&5
4725 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4727 if test -s conftest.err; then
4729 ... rest of stderr output deleted ...
4730 10q' conftest.err >conftest.er1
4731 cat conftest.er1 >&5
4732 rm -f conftest.er1 conftest.err
4734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4735 test $ac_status = 0; }
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4739 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4740 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4741 $as_echo_n "(cached) " >&6
4743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4744 /* end confdefs.h. */
4757 if ac_fn_c_try_compile "$LINENO"; then :
4762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4763 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4767 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4768 if test $ac_compiler_gnu = yes; then
4773 ac_test_CFLAGS=${CFLAGS+set}
4774 ac_save_CFLAGS=$CFLAGS
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4776 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4777 if test "${ac_cv_prog_cc_g+set}" = set; then :
4778 $as_echo_n "(cached) " >&6
4780 ac_save_c_werror_flag=$ac_c_werror_flag
4781 ac_c_werror_flag=yes
4784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4785 /* end confdefs.h. */
4795 if ac_fn_c_try_compile "$LINENO"; then :
4799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4800 /* end confdefs.h. */
4810 if ac_fn_c_try_compile "$LINENO"; then :
4813 ac_c_werror_flag=$ac_save_c_werror_flag
4815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4816 /* end confdefs.h. */
4826 if ac_fn_c_try_compile "$LINENO"; then :
4829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4834 ac_c_werror_flag=$ac_save_c_werror_flag
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4837 $as_echo "$ac_cv_prog_cc_g" >&6; }
4838 if test "$ac_test_CFLAGS" = set; then
4839 CFLAGS=$ac_save_CFLAGS
4840 elif test $ac_cv_prog_cc_g = yes; then
4841 if test "$GCC" = yes; then
4847 if test "$GCC" = yes; then
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4854 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4855 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4856 $as_echo_n "(cached) " >&6
4858 ac_cv_prog_cc_c89=no
4860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4861 /* end confdefs.h. */
4864 #include <sys/types.h>
4865 #include <sys/stat.h>
4866 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4867 struct buf { int x; };
4868 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4869 static char *e (p, i)
4875 static char *f (char * (*g) (char **, int), char **p, ...)
4880 s = g (p, va_arg (v,int));
4885 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4886 function prototypes and stuff, but not '\xHH' hex character constants.
4887 These don't provoke an error unfortunately, instead are silently treated
4888 as 'x'. The following induces an error, until -std is added to get
4889 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4890 array size at least. It's necessary to write '\x00'==0 to get something
4891 that's true only with -std. */
4892 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4894 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4895 inside strings and character constants. */
4897 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4899 int test (int i, double x);
4900 struct s1 {int (*f) (int a);};
4901 struct s2 {int (*f) (double a);};
4902 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4908 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4913 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4914 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4916 CC="$ac_save_CC $ac_arg"
4917 if ac_fn_c_try_compile "$LINENO"; then :
4918 ac_cv_prog_cc_c89=$ac_arg
4920 rm -f core conftest.err conftest.$ac_objext
4921 test "x$ac_cv_prog_cc_c89" != "xno" && break
4923 rm -f conftest.$ac_ext
4928 case "x$ac_cv_prog_cc_c89" in
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4931 $as_echo "none needed" >&6; } ;;
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4934 $as_echo "unsupported" >&6; } ;;
4936 CC="$CC $ac_cv_prog_cc_c89"
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4938 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4940 if test "x$ac_cv_prog_cc_c89" != xno; then :
4945 ac_cpp='$CPP $CPPFLAGS'
4946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4951 ac_cpp='$CPP $CPPFLAGS'
4952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4956 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4957 # On Suns, sometimes $CPP names a directory.
4958 if test -n "$CPP" && test -d "$CPP"; then
4961 if test -z "$CPP"; then
4962 if test "${ac_cv_prog_CPP+set}" = set; then :
4963 $as_echo_n "(cached) " >&6
4965 # Double quotes because CPP needs to be expanded
4966 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4969 for ac_c_preproc_warn_flag in '' yes
4971 # Use a header file that comes with gcc, so configuring glibc
4972 # with a fresh cross-compiler works.
4973 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4974 # <limits.h> exists even on freestanding compilers.
4975 # On the NeXT, cc -E runs the code through the compiler's parser,
4976 # not just through cpp. "Syntax error" is here to catch this case.
4977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4978 /* end confdefs.h. */
4980 # include <limits.h>
4982 # include <assert.h>
4986 if ac_fn_c_try_cpp "$LINENO"; then :
4989 # Broken: fails on valid input.
4992 rm -f conftest.err conftest.$ac_ext
4994 # OK, works on sane cases. Now check whether nonexistent headers
4995 # can be detected and how.
4996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4997 /* end confdefs.h. */
4998 #include <ac_nonexistent.h>
5000 if ac_fn_c_try_cpp "$LINENO"; then :
5001 # Broken: success on invalid input.
5004 # Passes both tests.
5008 rm -f conftest.err conftest.$ac_ext
5011 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5012 rm -f conftest.err conftest.
$ac_ext
5013 if $ac_preproc_ok; then :
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5026 $as_echo "$CPP" >&6; }
5028 for ac_c_preproc_warn_flag
in '' yes
5030 # Use a header file that comes with gcc, so configuring glibc
5031 # with a fresh cross-compiler works.
5032 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5033 # <limits.h> exists even on freestanding compilers.
5034 # On the NeXT, cc -E runs the code through the compiler's parser,
5035 # not just through cpp. "Syntax error" is here to catch this case.
5036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5037 /* end confdefs.h. */
5039 # include <limits.h>
5041 # include <assert.h>
5045 if ac_fn_c_try_cpp
"$LINENO"; then :
5048 # Broken: fails on valid input.
5051 rm -f conftest.err conftest.
$ac_ext
5053 # OK, works on sane cases. Now check whether nonexistent headers
5054 # can be detected and how.
5055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5056 /* end confdefs.h. */
5057 #include <ac_nonexistent.h>
5059 if ac_fn_c_try_cpp
"$LINENO"; then :
5060 # Broken: success on invalid input.
5063 # Passes both tests.
5067 rm -f conftest.err conftest.
$ac_ext
5070 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5071 rm -f conftest.err conftest.
$ac_ext
5072 if $ac_preproc_ok; then :
5075 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5077 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5078 See \`config.log' for more details." "$LINENO" 5; }
5082 ac_cpp
='$CPP $CPPFLAGS'
5083 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5084 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5085 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5089 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5090 if test "${ac_cv_path_GREP+set}" = set; then :
5091 $as_echo_n "(cached) " >&6
5093 if test -z "$GREP"; then
5094 ac_path_GREP_found
=false
5095 # Loop through the user's path and test for each of PROGNAME-LIST
5096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5097 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5100 test -z "$as_dir" && as_dir
=.
5101 for ac_prog
in grep ggrep
; do
5102 for ac_exec_ext
in '' $ac_executable_extensions; do
5103 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5104 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5105 # Check for GNU ac_path_GREP and select it if it is found.
5106 # Check for GNU $ac_path_GREP
5107 case `"$ac_path_GREP" --version 2>&1` in
5109 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5112 $as_echo_n 0123456789 >"conftest.in"
5115 cat "conftest.in" "conftest.in" >"conftest.tmp"
5116 mv "conftest.tmp" "conftest.in"
5117 cp "conftest.in" "conftest.nl"
5118 $as_echo 'GREP' >> "conftest.nl"
5119 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5120 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5121 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5122 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5123 # Best one so far, save it but keep looking for a better one
5124 ac_cv_path_GREP
="$ac_path_GREP"
5125 ac_path_GREP_max
=$ac_count
5127 # 10*(2^10) chars as input seems more than enough
5128 test $ac_count -gt 10 && break
5130 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5133 $ac_path_GREP_found && break 3
5138 if test -z "$ac_cv_path_GREP"; then
5139 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5142 ac_cv_path_GREP
=$GREP
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5147 $as_echo "$ac_cv_path_GREP" >&6; }
5148 GREP
="$ac_cv_path_GREP"
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5152 $as_echo_n "checking for egrep... " >&6; }
5153 if test "${ac_cv_path_EGREP+set}" = set; then :
5154 $as_echo_n "(cached) " >&6
5156 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5157 then ac_cv_path_EGREP
="$GREP -E"
5159 if test -z "$EGREP"; then
5160 ac_path_EGREP_found
=false
5161 # Loop through the user's path and test for each of PROGNAME-LIST
5162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5163 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5166 test -z "$as_dir" && as_dir
=.
5167 for ac_prog
in egrep; do
5168 for ac_exec_ext
in '' $ac_executable_extensions; do
5169 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5170 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5171 # Check for GNU ac_path_EGREP and select it if it is found.
5172 # Check for GNU $ac_path_EGREP
5173 case `"$ac_path_EGREP" --version 2>&1` in
5175 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5178 $as_echo_n 0123456789 >"conftest.in"
5181 cat "conftest.in" "conftest.in" >"conftest.tmp"
5182 mv "conftest.tmp" "conftest.in"
5183 cp "conftest.in" "conftest.nl"
5184 $as_echo 'EGREP' >> "conftest.nl"
5185 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5186 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5187 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5188 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5189 # Best one so far, save it but keep looking for a better one
5190 ac_cv_path_EGREP
="$ac_path_EGREP"
5191 ac_path_EGREP_max
=$ac_count
5193 # 10*(2^10) chars as input seems more than enough
5194 test $ac_count -gt 10 && break
5196 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5199 $ac_path_EGREP_found && break 3
5204 if test -z "$ac_cv_path_EGREP"; then
5205 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5208 ac_cv_path_EGREP
=$EGREP
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5214 $as_echo "$ac_cv_path_EGREP" >&6; }
5215 EGREP
="$ac_cv_path_EGREP"
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5219 $as_echo_n "checking for ANSI C header files... " >&6; }
5220 if test "${ac_cv_header_stdc+set}" = set; then :
5221 $as_echo_n "(cached) " >&6
5223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5224 /* end confdefs.h. */
5238 if ac_fn_c_try_compile
"$LINENO"; then :
5239 ac_cv_header_stdc
=yes
5241 ac_cv_header_stdc
=no
5243 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5245 if test $ac_cv_header_stdc = yes; then
5246 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5248 /* end confdefs.h. */
5252 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5253 $EGREP "memchr" >/dev
/null
2>&1; then :
5256 ac_cv_header_stdc
=no
5262 if test $ac_cv_header_stdc = yes; then
5263 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5265 /* end confdefs.h. */
5269 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5270 $EGREP "free" >/dev
/null
2>&1; then :
5273 ac_cv_header_stdc
=no
5279 if test $ac_cv_header_stdc = yes; then
5280 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5281 if test "$cross_compiling" = yes; then :
5284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5285 /* end confdefs.h. */
5288 #if ((' ' & 0x0FF) == 0x020)
5289 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5290 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5292 # define ISLOWER(c) \
5293 (('a' <= (c) && (c) <= 'i') \
5294 || ('j' <= (c) && (c) <= 'r') \
5295 || ('s' <= (c) && (c) <= 'z'))
5296 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5299 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5304 for (i = 0; i < 256; i++)
5305 if (XOR (islower (i), ISLOWER (i))
5306 || toupper (i) != TOUPPER (i))
5311 if ac_fn_c_try_run
"$LINENO"; then :
5314 ac_cv_header_stdc
=no
5316 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5317 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5323 $as_echo "$ac_cv_header_stdc" >&6; }
5324 if test $ac_cv_header_stdc = yes; then
5326 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5330 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5331 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5332 inttypes.h stdint.h unistd.h
5334 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5335 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5337 eval as_val
=\$
$as_ac_Header
5338 if test "x$as_val" = x
""yes; then :
5339 cat >>confdefs.h
<<_ACEOF
5340 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5349 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5350 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
5357 if test "$MINIX" = yes; then
5359 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5362 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5365 $as_echo "#define _MINIX 1" >>confdefs.h
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5371 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5372 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
5373 $as_echo_n "(cached) " >&6
5375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5376 /* end confdefs.h. */
5378 # define __EXTENSIONS__ 1
5379 $ac_includes_default
5388 if ac_fn_c_try_compile
"$LINENO"; then :
5389 ac_cv_safe_to_define___extensions__
=yes
5391 ac_cv_safe_to_define___extensions__
=no
5393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5396 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5397 test $ac_cv_safe_to_define___extensions__ = yes &&
5398 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5400 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5402 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5404 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5406 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5411 # Check whether --enable-largefile was given.
5412 if test "${enable_largefile+set}" = set; then :
5413 enableval
=$enable_largefile;
5416 if test "$enable_largefile" != no
; then
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5419 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5420 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
5421 $as_echo_n "(cached) " >&6
5423 ac_cv_sys_largefile_CC
=no
5424 if test "$GCC" != yes; then
5427 # IRIX 6.2 and later do not support large files by default,
5428 # so use the C compiler's -n32 option if that helps.
5429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5430 /* end confdefs.h. */
5431 #include <sys/types.h>
5432 /* Check that off_t can represent 2**63 - 1 correctly.
5433 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5434 since some C++ compilers masquerading as C compilers
5435 incorrectly reject 9223372036854775807. */
5436 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5437 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5438 && LARGE_OFF_T % 2147483647 == 1)
5448 if ac_fn_c_try_compile
"$LINENO"; then :
5451 rm -f core conftest.err conftest.
$ac_objext
5453 if ac_fn_c_try_compile
"$LINENO"; then :
5454 ac_cv_sys_largefile_CC
=' -n32'; break
5456 rm -f core conftest.err conftest.
$ac_objext
5460 rm -f conftest.
$ac_ext
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5464 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5465 if test "$ac_cv_sys_largefile_CC" != no
; then
5466 CC
=$CC$ac_cv_sys_largefile_CC
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5470 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5471 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
5472 $as_echo_n "(cached) " >&6
5475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5476 /* end confdefs.h. */
5477 #include <sys/types.h>
5478 /* Check that off_t can represent 2**63 - 1 correctly.
5479 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5480 since some C++ compilers masquerading as C compilers
5481 incorrectly reject 9223372036854775807. */
5482 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5483 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5484 && LARGE_OFF_T % 2147483647 == 1)
5494 if ac_fn_c_try_compile
"$LINENO"; then :
5495 ac_cv_sys_file_offset_bits
=no
; break
5497 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5499 /* end confdefs.h. */
5500 #define _FILE_OFFSET_BITS 64
5501 #include <sys/types.h>
5502 /* Check that off_t can represent 2**63 - 1 correctly.
5503 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5504 since some C++ compilers masquerading as C compilers
5505 incorrectly reject 9223372036854775807. */
5506 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5507 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5508 && LARGE_OFF_T % 2147483647 == 1)
5518 if ac_fn_c_try_compile
"$LINENO"; then :
5519 ac_cv_sys_file_offset_bits
=64; break
5521 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5522 ac_cv_sys_file_offset_bits
=unknown
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5527 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5528 case $ac_cv_sys_file_offset_bits in #(
5531 cat >>confdefs.h
<<_ACEOF
5532 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5537 if test $ac_cv_sys_file_offset_bits = unknown
; then
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5539 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5540 if test "${ac_cv_sys_large_files+set}" = set; then :
5541 $as_echo_n "(cached) " >&6
5544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5545 /* end confdefs.h. */
5546 #include <sys/types.h>
5547 /* Check that off_t can represent 2**63 - 1 correctly.
5548 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5549 since some C++ compilers masquerading as C compilers
5550 incorrectly reject 9223372036854775807. */
5551 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5552 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5553 && LARGE_OFF_T % 2147483647 == 1)
5563 if ac_fn_c_try_compile
"$LINENO"; then :
5564 ac_cv_sys_large_files
=no
; break
5566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5568 /* end confdefs.h. */
5569 #define _LARGE_FILES 1
5570 #include <sys/types.h>
5571 /* Check that off_t can represent 2**63 - 1 correctly.
5572 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5573 since some C++ compilers masquerading as C compilers
5574 incorrectly reject 9223372036854775807. */
5575 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5576 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5577 && LARGE_OFF_T % 2147483647 == 1)
5587 if ac_fn_c_try_compile
"$LINENO"; then :
5588 ac_cv_sys_large_files
=1; break
5590 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5591 ac_cv_sys_large_files
=unknown
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5596 $as_echo "$ac_cv_sys_large_files" >&6; }
5597 case $ac_cv_sys_large_files in #(
5600 cat >>confdefs.h
<<_ACEOF
5601 #define _LARGE_FILES $ac_cv_sys_large_files
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5614 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5619 macro_version
='2.2.6'
5620 macro_revision
='1.3012'
5634 ltmain
="$ac_aux_dir/ltmain.sh"
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5637 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5638 if test "${ac_cv_path_SED+set}" = set; then :
5639 $as_echo_n "(cached) " >&6
5641 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
5642 for ac_i
in 1 2 3 4 5 6 7; do
5643 ac_script
="$ac_script$as_nl$ac_script"
5645 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
5646 { ac_script
=; unset ac_script
;}
5647 if test -z "$SED"; then
5648 ac_path_SED_found
=false
5649 # Loop through the user's path and test for each of PROGNAME-LIST
5650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5654 test -z "$as_dir" && as_dir
=.
5655 for ac_prog
in sed gsed
; do
5656 for ac_exec_ext
in '' $ac_executable_extensions; do
5657 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5658 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5659 # Check for GNU ac_path_SED and select it if it is found.
5660 # Check for GNU $ac_path_SED
5661 case `"$ac_path_SED" --version 2>&1` in
5663 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5666 $as_echo_n 0123456789 >"conftest.in"
5669 cat "conftest.in" "conftest.in" >"conftest.tmp"
5670 mv "conftest.tmp" "conftest.in"
5671 cp "conftest.in" "conftest.nl"
5672 $as_echo '' >> "conftest.nl"
5673 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5674 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5675 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5676 if test $ac_count -gt ${ac_path_SED_max-0}; then
5677 # Best one so far, save it but keep looking for a better one
5678 ac_cv_path_SED
="$ac_path_SED"
5679 ac_path_SED_max
=$ac_count
5681 # 10*(2^10) chars as input seems more than enough
5682 test $ac_count -gt 10 && break
5684 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5687 $ac_path_SED_found && break 3
5692 if test -z "$ac_cv_path_SED"; then
5693 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5701 $as_echo "$ac_cv_path_SED" >&6; }
5702 SED
="$ac_cv_path_SED"
5705 test -z "$SED" && SED
=sed
5706 Xsed
="$SED -e 1s/^X//"
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5719 $as_echo_n "checking for fgrep... " >&6; }
5720 if test "${ac_cv_path_FGREP+set}" = set; then :
5721 $as_echo_n "(cached) " >&6
5723 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5724 then ac_cv_path_FGREP
="$GREP -F"
5726 if test -z "$FGREP"; then
5727 ac_path_FGREP_found
=false
5728 # Loop through the user's path and test for each of PROGNAME-LIST
5729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5730 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5733 test -z "$as_dir" && as_dir
=.
5734 for ac_prog
in fgrep
; do
5735 for ac_exec_ext
in '' $ac_executable_extensions; do
5736 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5737 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5738 # Check for GNU ac_path_FGREP and select it if it is found.
5739 # Check for GNU $ac_path_FGREP
5740 case `"$ac_path_FGREP" --version 2>&1` in
5742 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5745 $as_echo_n 0123456789 >"conftest.in"
5748 cat "conftest.in" "conftest.in" >"conftest.tmp"
5749 mv "conftest.tmp" "conftest.in"
5750 cp "conftest.in" "conftest.nl"
5751 $as_echo 'FGREP' >> "conftest.nl"
5752 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5753 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5754 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5755 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5756 # Best one so far, save it but keep looking for a better one
5757 ac_cv_path_FGREP
="$ac_path_FGREP"
5758 ac_path_FGREP_max
=$ac_count
5760 # 10*(2^10) chars as input seems more than enough
5761 test $ac_count -gt 10 && break
5763 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5766 $ac_path_FGREP_found && break 3
5771 if test -z "$ac_cv_path_FGREP"; then
5772 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5775 ac_cv_path_FGREP
=$FGREP
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5781 $as_echo "$ac_cv_path_FGREP" >&6; }
5782 FGREP
="$ac_cv_path_FGREP"
5785 test -z "$GREP" && GREP
=grep
5805 # Check whether --with-gnu-ld was given.
5806 if test "${with_gnu_ld+set}" = set; then :
5807 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5813 if test "$GCC" = yes; then
5814 # Check if gcc -print-prog-name=ld gives a path.
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5816 $as_echo_n "checking for ld used by $CC... " >&6; }
5819 # gcc leaves a trailing carriage return which upsets mingw
5820 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5822 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5825 # Accept absolute paths.
5827 re_direlt
='/[^/][^/]*/\.\./'
5828 # Canonicalize the pathname of ld
5829 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5830 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5831 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5833 test -z "$LD" && LD
="$ac_prog"
5836 # If it fails, then pretend we aren't using GCC.
5840 # If it is relative, then search for the first ld in PATH.
5844 elif test "$with_gnu_ld" = yes; then
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5846 $as_echo_n "checking for GNU ld... " >&6; }
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5849 $as_echo_n "checking for non-GNU ld... " >&6; }
5851 if test "${lt_cv_path_LD+set}" = set; then :
5852 $as_echo_n "(cached) " >&6
5854 if test -z "$LD"; then
5855 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5856 for ac_dir
in $PATH; do
5858 test -z "$ac_dir" && ac_dir
=.
5859 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5860 lt_cv_path_LD
="$ac_dir/$ac_prog"
5861 # Check to see if the program is GNU ld. I'd rather use --version,
5862 # but apparently some variants of GNU ld only accept -v.
5863 # Break only if it was the GNU/non-GNU ld that we prefer.
5864 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5865 *GNU
* |
*'with BFD'*)
5866 test "$with_gnu_ld" != no
&& break
5869 test "$with_gnu_ld" != yes && break
5876 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5881 if test -n "$LD"; then
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5883 $as_echo "$LD" >&6; }
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5886 $as_echo "no" >&6; }
5888 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5890 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5891 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5892 $as_echo_n "(cached) " >&6
5894 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5895 case `$LD -v 2>&1 </dev/null` in
5896 *GNU
* |
*'with BFD'*)
5897 lt_cv_prog_gnu_ld
=yes
5900 lt_cv_prog_gnu_ld
=no
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5905 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5906 with_gnu_ld
=$lt_cv_prog_gnu_ld
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5917 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5918 if test "${lt_cv_path_NM+set}" = set; then :
5919 $as_echo_n "(cached) " >&6
5921 if test -n "$NM"; then
5922 # Let the user override the test.
5925 lt_nm_to_check
="${ac_tool_prefix}nm"
5926 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5927 lt_nm_to_check
="$lt_nm_to_check nm"
5929 for lt_tmp_nm
in $lt_nm_to_check; do
5930 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5931 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5933 test -z "$ac_dir" && ac_dir
=.
5934 tmp_nm
="$ac_dir/$lt_tmp_nm"
5935 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5936 # Check to see if the nm accepts a BSD-compat flag.
5937 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5938 # nm: unknown option "B" ignored
5939 # Tru64's nm complains that /dev/null is an invalid object file
5940 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5941 */dev
/null
* |
*'Invalid file or object type'*)
5942 lt_cv_path_NM
="$tmp_nm -B"
5946 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5948 lt_cv_path_NM
="$tmp_nm -p"
5952 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5953 continue # so that we can try to find one that supports BSD flags
5962 : ${lt_cv_path_NM=no}
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5966 $as_echo "$lt_cv_path_NM" >&6; }
5967 if test "$lt_cv_path_NM" != "no"; then
5970 # Didn't find any BSD compatible name lister, look for dumpbin.
5971 if test -n "$ac_tool_prefix"; then
5972 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5974 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5975 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5977 $as_echo_n "checking for $ac_word... " >&6; }
5978 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5979 $as_echo_n "(cached) " >&6
5981 if test -n "$DUMPBIN"; then
5982 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5988 test -z "$as_dir" && as_dir
=.
5989 for ac_exec_ext
in '' $ac_executable_extensions; do
5990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5991 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6001 DUMPBIN
=$ac_cv_prog_DUMPBIN
6002 if test -n "$DUMPBIN"; then
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6004 $as_echo "$DUMPBIN" >&6; }
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6007 $as_echo "no" >&6; }
6011 test -n "$DUMPBIN" && break
6014 if test -z "$DUMPBIN"; then
6015 ac_ct_DUMPBIN
=$DUMPBIN
6016 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
6018 # Extract the first word of "$ac_prog", so it can be a program name with args.
6019 set dummy
$ac_prog; ac_word
=$2
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6021 $as_echo_n "checking for $ac_word... " >&6; }
6022 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6023 $as_echo_n "(cached) " >&6
6025 if test -n "$ac_ct_DUMPBIN"; then
6026 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6032 test -z "$as_dir" && as_dir
=.
6033 for ac_exec_ext
in '' $ac_executable_extensions; do
6034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6035 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6045 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6046 if test -n "$ac_ct_DUMPBIN"; then
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6048 $as_echo "$ac_ct_DUMPBIN" >&6; }
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6051 $as_echo "no" >&6; }
6055 test -n "$ac_ct_DUMPBIN" && break
6058 if test "x$ac_ct_DUMPBIN" = x
; then
6061 case $cross_compiling:$ac_tool_warned in
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6065 ac_tool_warned
=yes ;;
6067 DUMPBIN
=$ac_ct_DUMPBIN
6072 if test "$DUMPBIN" != ":"; then
6076 test -z "$NM" && NM
=nm
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6084 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6085 if test "${lt_cv_nm_interface+set}" = set; then :
6086 $as_echo_n "(cached) " >&6
6088 lt_cv_nm_interface
="BSD nm"
6089 echo "int some_variable = 0;" > conftest.
$ac_ext
6090 (eval echo "\"\$as_me:6090: $ac_compile\"" >&5)
6091 (eval "$ac_compile" 2>conftest.err
)
6092 cat conftest.err
>&5
6093 (eval echo "\"\$as_me:6093: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6094 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6095 cat conftest.err
>&5
6096 (eval echo "\"\$as_me:6096: output\"" >&5)
6097 cat conftest.out
>&5
6098 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6099 lt_cv_nm_interface
="MS dumpbin"
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6104 $as_echo "$lt_cv_nm_interface" >&6; }
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6107 $as_echo_n "checking whether ln -s works... " >&6; }
6109 if test "$LN_S" = "ln -s"; then
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6111 $as_echo "yes" >&6; }
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6114 $as_echo "no, using $LN_S" >&6; }
6117 # find the maximum length of command line arguments
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6119 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6120 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6121 $as_echo_n "(cached) " >&6
6128 # On DJGPP, this test can blow up pretty badly due to problems in libc
6129 # (any single argument exceeding 2000 bytes causes a buffer overrun
6130 # during glob expansion). Even if it were fixed, the result of this
6131 # check would be larger than it should be.
6132 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6136 # Under GNU Hurd, this test is not required because there is
6137 # no limit to the length of command line arguments.
6138 # Libtool will interpret -1 as no limit whatsoever
6139 lt_cv_sys_max_cmd_len
=-1;
6142 cygwin
* | mingw
* | cegcc
*)
6143 # On Win9x/ME, this test blows up -- it succeeds, but takes
6144 # about 5 minutes as the teststring grows exponentially.
6145 # Worse, since 9x/ME are not pre-emptively multitasking,
6146 # you end up with a "frozen" computer, even though with patience
6147 # the test eventually succeeds (with a max line length of 256k).
6148 # Instead, let's just punt: use the minimum linelength reported by
6149 # all of the supported platforms: 8192 (on NT/2K/XP).
6150 lt_cv_sys_max_cmd_len
=8192;
6154 # On AmigaOS with pdksh, this test takes hours, literally.
6155 # So we just punt and use a minimum line length of 8192.
6156 lt_cv_sys_max_cmd_len
=8192;
6159 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6160 # This has been around since 386BSD, at least. Likely further.
6161 if test -x /sbin
/sysctl
; then
6162 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6163 elif test -x /usr
/sbin
/sysctl
; then
6164 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6166 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6168 # And add a safety zone
6169 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6170 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6174 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6175 lt_cv_sys_max_cmd_len
=196608
6179 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6180 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6181 # nice to cause kernel panics so lets avoid the loop below.
6182 # First set a reasonable default.
6183 lt_cv_sys_max_cmd_len
=16384
6185 if test -x /sbin
/sysconfig
; then
6186 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6187 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6192 lt_cv_sys_max_cmd_len
=102400
6194 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6195 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6196 if test -n "$kargmax"; then
6197 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6199 lt_cv_sys_max_cmd_len
=32768
6203 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6204 if test -n "$lt_cv_sys_max_cmd_len"; then
6205 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6206 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6208 # Make teststring a little bigger before we do anything with it.
6209 # a 1K string should be a reasonable start.
6210 for i
in 1 2 3 4 5 6 7 8 ; do
6211 teststring
=$teststring$teststring
6213 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6214 # If test is not a shell built-in, we'll probably end up computing a
6215 # maximum length that is only half of the actual maximum length, but
6217 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6218 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
6219 test $i != 17 # 1/2 MB should be enough
6222 teststring
=$teststring$teststring
6224 # Only check the string length outside the loop.
6225 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6227 # Add a significant safety factor because C++ compilers can tack on
6228 # massive amounts of additional arguments before passing them to the
6229 # linker. It appears as though 1/2 is a usable value.
6230 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6237 if test -n $lt_cv_sys_max_cmd_len ; then
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6239 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6242 $as_echo "none" >&6; }
6244 max_cmd_len
=$lt_cv_sys_max_cmd_len
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6256 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6257 # Try some XSI features
6260 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6262 && eval 'test $(( 1 + 1 )) -eq 2 \
6263 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6266 $as_echo "$xsi_shell" >&6; }
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6270 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6272 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6274 && lt_shell_append=yes
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6276 $as_echo "$lt_shell_append" >&6; }
6279 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6289 # test EBCDIC or ASCII
6290 case `echo X|tr X '\101'` in
6291 A) # ASCII based system
6292 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6293 lt_SP2NL='tr \040 \012'
6294 lt_NL2SP='tr \015\012 \040\040'
6296 *) # EBCDIC based system
6297 lt_SP2NL='tr \100 \n'
6298 lt_NL2SP='tr \r\n \100\100'
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6311 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6312 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6313 $as_echo_n "(cached
) " >&6
6315 lt_cv_ld_reload_flag='-r'
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6318 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6319 reload_flag=$lt_cv_ld_reload_flag
6320 case $reload_flag in
6322 *) reload_flag=" $reload_flag" ;;
6324 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6327 if test "$GCC" = yes; then
6328 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6330 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6343 if test -n "$ac_tool_prefix"; then
6344 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6345 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6347 $as_echo_n "checking
for $ac_word...
" >&6; }
6348 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6349 $as_echo_n "(cached
) " >&6
6351 if test -n "$OBJDUMP"; then
6352 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6358 test -z "$as_dir" && as_dir=.
6359 for ac_exec_ext in '' $ac_executable_extensions; do
6360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6361 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6362 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6371 OBJDUMP=$ac_cv_prog_OBJDUMP
6372 if test -n "$OBJDUMP"; then
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6374 $as_echo "$OBJDUMP" >&6; }
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6377 $as_echo "no
" >&6; }
6382 if test -z "$ac_cv_prog_OBJDUMP"; then
6383 ac_ct_OBJDUMP=$OBJDUMP
6384 # Extract the first word of "objdump
", so it can be a program name with args.
6385 set dummy objdump; ac_word=$2
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6387 $as_echo_n "checking
for $ac_word...
" >&6; }
6388 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6389 $as_echo_n "(cached
) " >&6
6391 if test -n "$ac_ct_OBJDUMP"; then
6392 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6398 test -z "$as_dir" && as_dir=.
6399 for ac_exec_ext in '' $ac_executable_extensions; do
6400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6401 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6402 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6411 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6412 if test -n "$ac_ct_OBJDUMP"; then
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6414 $as_echo "$ac_ct_OBJDUMP" >&6; }
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6417 $as_echo "no
" >&6; }
6420 if test "x
$ac_ct_OBJDUMP" = x; then
6423 case $cross_compiling:$ac_tool_warned in
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6426 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6427 ac_tool_warned=yes ;;
6429 OBJDUMP=$ac_ct_OBJDUMP
6432 OBJDUMP="$ac_cv_prog_OBJDUMP"
6435 test -z "$OBJDUMP" && OBJDUMP=objdump
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6446 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6447 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6448 $as_echo_n "(cached
) " >&6
6450 lt_cv_file_magic_cmd='$MAGIC_CMD'
6451 lt_cv_file_magic_test_file=
6452 lt_cv_deplibs_check_method='unknown'
6453 # Need to set the preceding variable on all platforms that support
6454 # interlibrary dependencies.
6455 # 'none' -- dependencies not supported.
6456 # `unknown' -- same as none, but documents that we really don't know.
6457 # 'pass_all' -- all dependencies passed with no checks.
6458 # 'test_compile' -- check by making test program.
6459 # 'file_magic [[regex]]' -- check by looking for files in library path
6460 # which responds to the $file_magic_cmd with a given extended regex.
6461 # If you have `file' or equivalent on your system and you're not sure
6462 # whether `pass_all' will *always* work, you probably want this one.
6466 lt_cv_deplibs_check_method=pass_all
6470 lt_cv_deplibs_check_method=pass_all
6474 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6475 lt_cv_file_magic_cmd='/usr/bin/file -L'
6476 lt_cv_file_magic_test_file=/shlib/libc.so
6480 # func_win32_libid is a shell function defined in ltmain.sh
6481 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6482 lt_cv_file_magic_cmd='func_win32_libid'
6486 # Base MSYS/MinGW do not provide the 'file' command needed by
6487 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6488 # unless we find 'file', for example because we are cross-compiling.
6489 if ( file / ) >/dev/null 2>&1; then
6490 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6491 lt_cv_file_magic_cmd='func_win32_libid'
6493 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6494 lt_cv_file_magic_cmd='$OBJDUMP -f'
6499 # use the weaker test based on 'objdump'. See mingw*.
6500 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6501 lt_cv_file_magic_cmd='$OBJDUMP -f'
6504 darwin* | rhapsody*)
6505 lt_cv_deplibs_check_method=pass_all
6508 freebsd* | dragonfly*)
6509 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6512 # Not sure whether the presence of OpenBSD here was a mistake.
6513 # Let's accept both of them until this is cleared up.
6514 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6515 lt_cv_file_magic_cmd=/usr/bin/file
6516 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6520 lt_cv_deplibs_check_method=pass_all
6525 lt_cv_deplibs_check_method=pass_all
6528 hpux10.20* | hpux11*)
6529 lt_cv_file_magic_cmd=/usr/bin/file
6532 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6533 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6536 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]'
6537 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6540 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6541 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6547 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6548 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6551 irix5* | irix6* | nonstopux*)
6553 *-32|*"-32 ") libmagic=32-bit;;
6554 *-n32|*"-n32 ") libmagic=N32;;
6555 *-64|*"-64 ") libmagic=64-bit;;
6556 *) libmagic=never-match;;
6558 lt_cv_deplibs_check_method=pass_all
6561 # This must be Linux ELF.
6562 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6563 lt_cv_deplibs_check_method=pass_all
6567 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6568 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6570 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6575 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6576 lt_cv_file_magic_cmd=/usr/bin/file
6577 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6581 lt_cv_deplibs_check_method=pass_all
6585 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6586 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6588 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6592 osf3* | osf4* | osf5*)
6593 lt_cv_deplibs_check_method=pass_all
6597 lt_cv_deplibs_check_method=pass_all
6601 lt_cv_deplibs_check_method=pass_all
6604 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6605 lt_cv_deplibs_check_method=pass_all
6609 case $host_vendor in
6611 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]'
6612 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6615 lt_cv_deplibs_check_method=pass_all
6618 lt_cv_file_magic_cmd='/bin/file'
6619 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6622 lt_cv_file_magic_cmd='/bin/file'
6623 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6624 lt_cv_file_magic_test_file=/lib/libc.so
6627 lt_cv_deplibs_check_method=pass_all
6630 lt_cv_deplibs_check_method=pass_all
6636 lt_cv_deplibs_check_method=pass_all
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6642 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6643 file_magic_cmd=$lt_cv_file_magic_cmd
6644 deplibs_check_method=$lt_cv_deplibs_check_method
6645 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6658 if test -n "$ac_tool_prefix"; then
6659 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6660 set dummy ${ac_tool_prefix}ar; ac_word=$2
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6662 $as_echo_n "checking
for $ac_word...
" >&6; }
6663 if test "${ac_cv_prog_AR+set}" = set; then :
6664 $as_echo_n "(cached
) " >&6
6666 if test -n "$AR"; then
6667 ac_cv_prog_AR="$AR" # Let the user override the test.
6669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6673 test -z "$as_dir" && as_dir=.
6674 for ac_exec_ext in '' $ac_executable_extensions; do
6675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6676 ac_cv_prog_AR="${ac_tool_prefix}ar"
6677 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6687 if test -n "$AR"; then
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6689 $as_echo "$AR" >&6; }
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6692 $as_echo "no
" >&6; }
6697 if test -z "$ac_cv_prog_AR"; then
6699 # Extract the first word of "ar", so it can be a program name with args.
6700 set dummy ar; ac_word=$2
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6702 $as_echo_n "checking
for $ac_word...
" >&6; }
6703 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6704 $as_echo_n "(cached
) " >&6
6706 if test -n "$ac_ct_AR"; then
6707 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6713 test -z "$as_dir" && as_dir=.
6714 for ac_exec_ext in '' $ac_executable_extensions; do
6715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6716 ac_cv_prog_ac_ct_AR="ar"
6717 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6726 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6727 if test -n "$ac_ct_AR"; then
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6729 $as_echo "$ac_ct_AR" >&6; }
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6732 $as_echo "no
" >&6; }
6735 if test "x
$ac_ct_AR" = x; then
6738 case $cross_compiling:$ac_tool_warned in
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6741 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6742 ac_tool_warned=yes ;;
6750 test -z "$AR" && AR=ar
6751 test -z "$AR_FLAGS" && AR_FLAGS=cru
6763 if test -n "$ac_tool_prefix"; then
6764 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6765 set dummy ${ac_tool_prefix}strip; ac_word=$2
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6767 $as_echo_n "checking
for $ac_word...
" >&6; }
6768 if test "${ac_cv_prog_STRIP+set}" = set; then :
6769 $as_echo_n "(cached
) " >&6
6771 if test -n "$STRIP"; then
6772 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6778 test -z "$as_dir" && as_dir=.
6779 for ac_exec_ext in '' $ac_executable_extensions; do
6780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6781 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6782 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6791 STRIP=$ac_cv_prog_STRIP
6792 if test -n "$STRIP"; then
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6794 $as_echo "$STRIP" >&6; }
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6797 $as_echo "no
" >&6; }
6802 if test -z "$ac_cv_prog_STRIP"; then
6804 # Extract the first word of "strip
", so it can be a program name with args.
6805 set dummy strip; ac_word=$2
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6807 $as_echo_n "checking
for $ac_word...
" >&6; }
6808 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6809 $as_echo_n "(cached
) " >&6
6811 if test -n "$ac_ct_STRIP"; then
6812 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6818 test -z "$as_dir" && as_dir=.
6819 for ac_exec_ext in '' $ac_executable_extensions; do
6820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6821 ac_cv_prog_ac_ct_STRIP="strip
"
6822 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6831 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6832 if test -n "$ac_ct_STRIP"; then
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6834 $as_echo "$ac_ct_STRIP" >&6; }
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6837 $as_echo "no
" >&6; }
6840 if test "x
$ac_ct_STRIP" = x; then
6843 case $cross_compiling:$ac_tool_warned in
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6846 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6847 ac_tool_warned=yes ;;
6852 STRIP="$ac_cv_prog_STRIP"
6855 test -z "$STRIP" && STRIP=:
6862 if test -n "$ac_tool_prefix"; then
6863 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6864 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6866 $as_echo_n "checking
for $ac_word...
" >&6; }
6867 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6868 $as_echo_n "(cached
) " >&6
6870 if test -n "$RANLIB"; then
6871 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6877 test -z "$as_dir" && as_dir=.
6878 for ac_exec_ext in '' $ac_executable_extensions; do
6879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6880 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6881 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6890 RANLIB=$ac_cv_prog_RANLIB
6891 if test -n "$RANLIB"; then
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6893 $as_echo "$RANLIB" >&6; }
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6896 $as_echo "no
" >&6; }
6901 if test -z "$ac_cv_prog_RANLIB"; then
6902 ac_ct_RANLIB=$RANLIB
6903 # Extract the first word of "ranlib
", so it can be a program name with args.
6904 set dummy ranlib; ac_word=$2
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6906 $as_echo_n "checking
for $ac_word...
" >&6; }
6907 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6908 $as_echo_n "(cached
) " >&6
6910 if test -n "$ac_ct_RANLIB"; then
6911 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6917 test -z "$as_dir" && as_dir=.
6918 for ac_exec_ext in '' $ac_executable_extensions; do
6919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6920 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6921 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6930 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6931 if test -n "$ac_ct_RANLIB"; then
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6933 $as_echo "$ac_ct_RANLIB" >&6; }
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6936 $as_echo "no
" >&6; }
6939 if test "x
$ac_ct_RANLIB" = x; then
6942 case $cross_compiling:$ac_tool_warned in
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6945 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6946 ac_tool_warned=yes ;;
6948 RANLIB=$ac_ct_RANLIB
6951 RANLIB="$ac_cv_prog_RANLIB"
6954 test -z "$RANLIB" && RANLIB=:
6961 # Determine commands to create old-style static archives.
6962 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6963 old_postinstall_cmds='chmod 644 $oldlib'
6964 old_postuninstall_cmds=
6966 if test -n "$RANLIB"; then
6969 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6972 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6975 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7011 # If no C compiler was specified, use CC.
7014 # If no C compiler flags were specified, use CFLAGS.
7015 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7017 # Allow CC to be a program name with arguments.
7021 # Check for command to grab the raw symbol name followed by C symbol from nm.
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7023 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7024 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7025 $as_echo_n "(cached
) " >&6
7028 # These are sane defaults that work on at least a few old systems.
7029 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7031 # Character class describing NM global symbol codes.
7032 symcode='[BCDEGRST]'
7034 # Regexp to match symbols that can be accessed directly from C.
7035 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7037 # Define system-specific variables.
7042 cygwin* | mingw* | pw32* | cegcc*)
7043 symcode='[ABCDGISTW]'
7046 if test "$host_cpu" = ia64; then
7047 symcode='[ABCDEGRST]'
7051 symcode='[BCDEGRST]'
7054 symcode='[BCDEGQRST]'
7065 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7073 # If we're using GNU nm, then use its standard symbol codes.
7074 case `$NM -V 2>&1` in
7075 *GNU* | *'with BFD'*)
7076 symcode='[ABCDGIRSTW]' ;;
7079 # Transform an extracted symbol line into a proper C declaration.
7080 # Some systems (esp. on ia64) link data and code symbols differently,
7081 # so use this general approach.
7082 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7084 # Transform an extracted symbol line into symbol name and symbol address
7085 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7086 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'"
7088 # Handle CRLF in mingw tool chain
7092 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7096 # Try without a prefix underscore, then with it.
7097 for ac_symprfx in "" "_
"; do
7099 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7100 symxfrm="\\1 $ac_symprfx\\2 \\2"
7102 # Write the raw and C identifiers.
7103 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7104 # Fake it for dumpbin and say T for any non-static function
7105 # and D for any global variable.
7106 # Also find C++ and __fastcall symbols from MSVC++,
7107 # which start with @ or ?.
7108 lt_cv_sys_global_symbol_pipe="$AWK '"\
7109 " {last_section=section; section=\$ 3};"\
7110 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7111 " \$ 0!~/External *\|/{next};"\
7112 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7113 " {if(hide[section]) next};"\
7114 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7115 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7116 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7117 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7118 " ' prfx
=^
$ac_symprfx"
7120 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7123 # Check to see that the pipe works correctly.
7127 cat > conftest.$ac_ext <<_LT_EOF
7132 void nm_test_func(void);
7133 void nm_test_func(void){}
7137 int main(){nm_test_var='a';nm_test_func();return(0);}
7140 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7141 (eval $ac_compile) 2>&5
7143 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7144 test $ac_status = 0; }; then
7145 # Now try to grab the symbols.
7147 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\""; } >&5
7148 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7150 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7151 test $ac_status = 0; } && test -s "$nlist"; then
7152 # Try sorting and uniquifying the output.
7153 if sort "$nlist" | uniq > "$nlist"T; then
7154 mv -f "$nlist"T "$nlist"
7159 # Make sure that we snagged all the symbols we need.
7160 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7161 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7162 cat <<_LT_EOF > conftest.$ac_ext
7168 # Now generate the symbol file.
7169 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7171 cat <<_LT_EOF >> conftest.$ac_ext
7173 /* The mapping between symbol names and symbols. */
7178 lt__PROGRAM__LTX_preloaded_symbols[] =
7180 { "@PROGRAM@
", (void *) 0 },
7182 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7183 cat <<\_LT_EOF >> conftest.$ac_ext
7187 /* This works around a problem in FreeBSD linker */
7188 #ifdef FREEBSD_WORKAROUND
7189 static const void *lt_preloaded_setup() {
7190 return lt__PROGRAM__LTX_preloaded_symbols;
7198 # Now try linking the two files.
7199 mv conftest.$ac_objext conftstm.$ac_objext
7200 lt_save_LIBS="$LIBS"
7201 lt_save_CFLAGS="$CFLAGS"
7202 LIBS="conftstm.
$ac_objext"
7203 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7204 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7205 (eval $ac_link) 2>&5
7207 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7208 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7211 LIBS="$lt_save_LIBS"
7212 CFLAGS="$lt_save_CFLAGS"
7214 echo "cannot
find nm_test_func
in $nlist" >&5
7217 echo "cannot
find nm_test_var
in $nlist" >&5
7220 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7223 echo "$progname: failed program was
:" >&5
7224 cat conftest.$ac_ext >&5
7226 rm -rf conftest* conftst*
7228 # Do not use the global_symbol_pipe unless it works.
7229 if test "$pipe_works" = yes; then
7232 lt_cv_sys_global_symbol_pipe=
7238 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7239 lt_cv_sys_global_symbol_to_cdecl=
7241 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7243 $as_echo "failed
" >&6; }
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7246 $as_echo "ok
" >&6; }
7270 # Check whether --enable-libtool-lock was given.
7271 if test "${enable_libtool_lock+set}" = set; then :
7272 enableval=$enable_libtool_lock;
7275 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7277 # Some flags need to be propagated to the compiler or linker for good
7281 # Find out which ABI we are using.
7282 echo 'int i;' > conftest.$ac_ext
7283 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7284 (eval $ac_compile) 2>&5
7286 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7287 test $ac_status = 0; }; then
7288 case `/usr/bin/file conftest.$ac_objext` in
7300 # Find out which ABI we are using.
7301 echo '#line 7301 "configure
"' > conftest.$ac_ext
7302 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7303 (eval $ac_compile) 2>&5
7305 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7306 test $ac_status = 0; }; then
7307 if test "$lt_cv_prog_gnu_ld" = yes; then
7308 case `/usr/bin/file conftest.$ac_objext` in
7310 LD="${LD-ld} -melf32bsmip"
7313 LD="${LD-ld} -melf32bmipn32"
7316 LD="${LD-ld} -melf64bmip"
7320 case `/usr/bin/file conftest.$ac_objext` in
7336 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7337 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7338 # Find out which ABI we are using.
7339 echo 'int i;' > conftest.$ac_ext
7340 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7341 (eval $ac_compile) 2>&5
7343 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7344 test $ac_status = 0; }; then
7345 case `/usr/bin/file conftest.o` in
7348 x86_64-*kfreebsd*-gnu)
7349 LD="${LD-ld} -m elf_i386_fbsd
"
7352 LD="${LD-ld} -m elf_i386
"
7354 ppc64-*linux*|powerpc64-*linux*)
7355 LD="${LD-ld} -m elf32ppclinux
"
7358 LD="${LD-ld} -m elf_s390
"
7361 LD="${LD-ld} -m elf32_sparc
"
7367 x86_64-*kfreebsd*-gnu)
7368 LD="${LD-ld} -m elf_x86_64_fbsd
"
7371 LD="${LD-ld} -m elf_x86_64
"
7373 ppc*-*linux*|powerpc*-*linux*)
7374 LD="${LD-ld} -m elf64ppc
"
7376 s390*-*linux*|s390*-*tpf*)
7377 LD="${LD-ld} -m elf64_s390
"
7380 LD="${LD-ld} -m elf64_sparc
"
7390 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7391 SAVE_CFLAGS="$CFLAGS"
7392 CFLAGS="$CFLAGS -belf"
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7394 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7395 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7396 $as_echo_n "(cached
) " >&6
7399 ac_cpp='$CPP $CPPFLAGS'
7400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7405 /* end confdefs.h. */
7415 if ac_fn_c_try_link "$LINENO"; then :
7416 lt_cv_cc_needs_belf=yes
7418 lt_cv_cc_needs_belf=no
7420 rm -f core conftest.err conftest.$ac_objext \
7421 conftest$ac_exeext conftest.$ac_ext
7423 ac_cpp='$CPP $CPPFLAGS'
7424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7430 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7431 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7432 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7433 CFLAGS="$SAVE_CFLAGS"
7437 # Find out which ABI we are using.
7438 echo 'int i;' > conftest.$ac_ext
7439 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7440 (eval $ac_compile) 2>&5
7442 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7443 test $ac_status = 0; }; then
7444 case `/usr/bin/file conftest.o` in
7446 case $lt_cv_prog_gnu_ld in
7447 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7449 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7461 need_locks="$enable_libtool_lock"
7465 rhapsody* | darwin*)
7466 if test -n "$ac_tool_prefix"; then
7467 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7468 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7470 $as_echo_n "checking
for $ac_word...
" >&6; }
7471 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7472 $as_echo_n "(cached
) " >&6
7474 if test -n "$DSYMUTIL"; then
7475 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7481 test -z "$as_dir" && as_dir=.
7482 for ac_exec_ext in '' $ac_executable_extensions; do
7483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7484 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7485 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7494 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7495 if test -n "$DSYMUTIL"; then
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7497 $as_echo "$DSYMUTIL" >&6; }
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7500 $as_echo "no
" >&6; }
7505 if test -z "$ac_cv_prog_DSYMUTIL"; then
7506 ac_ct_DSYMUTIL=$DSYMUTIL
7507 # Extract the first word of "dsymutil
", so it can be a program name with args.
7508 set dummy dsymutil; ac_word=$2
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7510 $as_echo_n "checking
for $ac_word...
" >&6; }
7511 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7512 $as_echo_n "(cached
) " >&6
7514 if test -n "$ac_ct_DSYMUTIL"; then
7515 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7521 test -z "$as_dir" && as_dir=.
7522 for ac_exec_ext in '' $ac_executable_extensions; do
7523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7524 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7525 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7534 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7535 if test -n "$ac_ct_DSYMUTIL"; then
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7537 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7540 $as_echo "no
" >&6; }
7543 if test "x
$ac_ct_DSYMUTIL" = x; then
7546 case $cross_compiling:$ac_tool_warned in
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7549 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7550 ac_tool_warned=yes ;;
7552 DSYMUTIL=$ac_ct_DSYMUTIL
7555 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7558 if test -n "$ac_tool_prefix"; then
7559 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7560 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7562 $as_echo_n "checking
for $ac_word...
" >&6; }
7563 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7564 $as_echo_n "(cached
) " >&6
7566 if test -n "$NMEDIT"; then
7567 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7573 test -z "$as_dir" && as_dir=.
7574 for ac_exec_ext in '' $ac_executable_extensions; do
7575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7576 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7577 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7586 NMEDIT=$ac_cv_prog_NMEDIT
7587 if test -n "$NMEDIT"; then
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7589 $as_echo "$NMEDIT" >&6; }
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7592 $as_echo "no
" >&6; }
7597 if test -z "$ac_cv_prog_NMEDIT"; then
7598 ac_ct_NMEDIT=$NMEDIT
7599 # Extract the first word of "nmedit
", so it can be a program name with args.
7600 set dummy nmedit; ac_word=$2
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7602 $as_echo_n "checking
for $ac_word...
" >&6; }
7603 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7604 $as_echo_n "(cached
) " >&6
7606 if test -n "$ac_ct_NMEDIT"; then
7607 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7613 test -z "$as_dir" && as_dir=.
7614 for ac_exec_ext in '' $ac_executable_extensions; do
7615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7616 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7617 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7626 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7627 if test -n "$ac_ct_NMEDIT"; then
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7629 $as_echo "$ac_ct_NMEDIT" >&6; }
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7632 $as_echo "no
" >&6; }
7635 if test "x
$ac_ct_NMEDIT" = x; then
7638 case $cross_compiling:$ac_tool_warned in
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7641 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7642 ac_tool_warned=yes ;;
7644 NMEDIT=$ac_ct_NMEDIT
7647 NMEDIT="$ac_cv_prog_NMEDIT"
7650 if test -n "$ac_tool_prefix"; then
7651 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7652 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7654 $as_echo_n "checking
for $ac_word...
" >&6; }
7655 if test "${ac_cv_prog_LIPO+set}" = set; then :
7656 $as_echo_n "(cached
) " >&6
7658 if test -n "$LIPO"; then
7659 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7665 test -z "$as_dir" && as_dir=.
7666 for ac_exec_ext in '' $ac_executable_extensions; do
7667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7668 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7669 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7678 LIPO=$ac_cv_prog_LIPO
7679 if test -n "$LIPO"; then
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7681 $as_echo "$LIPO" >&6; }
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7684 $as_echo "no
" >&6; }
7689 if test -z "$ac_cv_prog_LIPO"; then
7691 # Extract the first word of "lipo
", so it can be a program name with args.
7692 set dummy lipo; ac_word=$2
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7694 $as_echo_n "checking
for $ac_word...
" >&6; }
7695 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7696 $as_echo_n "(cached
) " >&6
7698 if test -n "$ac_ct_LIPO"; then
7699 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7705 test -z "$as_dir" && as_dir=.
7706 for ac_exec_ext in '' $ac_executable_extensions; do
7707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7708 ac_cv_prog_ac_ct_LIPO="lipo
"
7709 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7718 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7719 if test -n "$ac_ct_LIPO"; then
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7721 $as_echo "$ac_ct_LIPO" >&6; }
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7724 $as_echo "no
" >&6; }
7727 if test "x
$ac_ct_LIPO" = x; then
7730 case $cross_compiling:$ac_tool_warned in
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7733 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7734 ac_tool_warned=yes ;;
7739 LIPO="$ac_cv_prog_LIPO"
7742 if test -n "$ac_tool_prefix"; then
7743 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7744 set dummy ${ac_tool_prefix}otool; ac_word=$2
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7746 $as_echo_n "checking
for $ac_word...
" >&6; }
7747 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7748 $as_echo_n "(cached
) " >&6
7750 if test -n "$OTOOL"; then
7751 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7757 test -z "$as_dir" && as_dir=.
7758 for ac_exec_ext in '' $ac_executable_extensions; do
7759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7760 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7761 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7770 OTOOL=$ac_cv_prog_OTOOL
7771 if test -n "$OTOOL"; then
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7773 $as_echo "$OTOOL" >&6; }
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7776 $as_echo "no
" >&6; }
7781 if test -z "$ac_cv_prog_OTOOL"; then
7783 # Extract the first word of "otool
", so it can be a program name with args.
7784 set dummy otool; ac_word=$2
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7786 $as_echo_n "checking
for $ac_word...
" >&6; }
7787 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7788 $as_echo_n "(cached
) " >&6
7790 if test -n "$ac_ct_OTOOL"; then
7791 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7797 test -z "$as_dir" && as_dir=.
7798 for ac_exec_ext in '' $ac_executable_extensions; do
7799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7800 ac_cv_prog_ac_ct_OTOOL="otool
"
7801 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7810 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7811 if test -n "$ac_ct_OTOOL"; then
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7813 $as_echo "$ac_ct_OTOOL" >&6; }
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7816 $as_echo "no
" >&6; }
7819 if test "x
$ac_ct_OTOOL" = x; then
7822 case $cross_compiling:$ac_tool_warned in
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7825 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7826 ac_tool_warned=yes ;;
7831 OTOOL="$ac_cv_prog_OTOOL"
7834 if test -n "$ac_tool_prefix"; then
7835 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7836 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7838 $as_echo_n "checking
for $ac_word...
" >&6; }
7839 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7840 $as_echo_n "(cached
) " >&6
7842 if test -n "$OTOOL64"; then
7843 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7849 test -z "$as_dir" && as_dir=.
7850 for ac_exec_ext in '' $ac_executable_extensions; do
7851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7852 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7853 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7862 OTOOL64=$ac_cv_prog_OTOOL64
7863 if test -n "$OTOOL64"; then
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7865 $as_echo "$OTOOL64" >&6; }
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7868 $as_echo "no
" >&6; }
7873 if test -z "$ac_cv_prog_OTOOL64"; then
7874 ac_ct_OTOOL64=$OTOOL64
7875 # Extract the first word of "otool64
", so it can be a program name with args.
7876 set dummy otool64; ac_word=$2
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7878 $as_echo_n "checking
for $ac_word...
" >&6; }
7879 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7880 $as_echo_n "(cached
) " >&6
7882 if test -n "$ac_ct_OTOOL64"; then
7883 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7889 test -z "$as_dir" && as_dir=.
7890 for ac_exec_ext in '' $ac_executable_extensions; do
7891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7892 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7893 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7902 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7903 if test -n "$ac_ct_OTOOL64"; then
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7905 $as_echo "$ac_ct_OTOOL64" >&6; }
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7908 $as_echo "no
" >&6; }
7911 if test "x
$ac_ct_OTOOL64" = x; then
7914 case $cross_compiling:$ac_tool_warned in
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7917 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7918 ac_tool_warned=yes ;;
7920 OTOOL64=$ac_ct_OTOOL64
7923 OTOOL64="$ac_cv_prog_OTOOL64"
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7953 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7954 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7955 $as_echo_n "(cached
) " >&6
7957 lt_cv_apple_cc_single_mod=no
7958 if test -z "${LT_MULTI_MODULE}"; then
7959 # By default we will add the -single_module flag. You can override
7960 # by either setting the environment variable LT_MULTI_MODULE
7961 # non-empty at configure time, or by adding -multi_module to the
7963 rm -rf libconftest.dylib*
7964 echo "int foo
(void
){return 1;}" > conftest.c
7965 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7966 -dynamiclib -Wl,-single_module conftest.c
" >&5
7967 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7968 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7970 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7971 lt_cv_apple_cc_single_mod=yes
7973 cat conftest.err >&5
7975 rm -rf libconftest.dylib*
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7980 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7982 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7983 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7984 $as_echo_n "(cached
) " >&6
7986 lt_cv_ld_exported_symbols_list=no
7987 save_LDFLAGS=$LDFLAGS
7988 echo "_main
" > conftest.sym
7989 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7991 /* end confdefs.h. */
8001 if ac_fn_c_try_link "$LINENO"; then :
8002 lt_cv_ld_exported_symbols_list=yes
8004 lt_cv_ld_exported_symbols_list=no
8006 rm -f core conftest.err conftest.$ac_objext \
8007 conftest$ac_exeext conftest.$ac_ext
8008 LDFLAGS="$save_LDFLAGS"
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8012 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8014 rhapsody* | darwin1.[012])
8015 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8017 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8018 darwin*) # darwin 5.x on
8019 # if running on 10.5 or later, the deployment target defaults
8020 # to the OS version, if on x86, and 10.4, the deployment
8021 # target defaults to 10.4. Don't you love it?
8022 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8023 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8024 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8026 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8028 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8032 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8033 _lt_dar_single_mod='$single_module'
8035 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8036 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8038 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8040 if test "$DSYMUTIL" != ":"; then
8041 _lt_dsymutil='~$DSYMUTIL $lib || :'
8048 for ac_header in dlfcn.h
8050 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8052 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
8053 cat >>confdefs.h <<_ACEOF
8054 #define HAVE_DLFCN_H 1
8073 # Check whether --enable-shared was given.
8074 if test "${enable_shared+set}" = set; then :
8075 enableval=$enable_shared; p=${PACKAGE-default}
8077 yes) enable_shared=yes ;;
8078 no) enable_shared=no ;;
8081 # Look at the argument we got. We use all the common list separators.
8082 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8083 for pkg in $enableval; do
8085 if test "X
$pkg" = "X
$p"; then
8104 # Check whether --enable-static was given.
8105 if test "${enable_static+set}" = set; then :
8106 enableval=$enable_static; p=${PACKAGE-default}
8108 yes) enable_static=yes ;;
8109 no) enable_static=no ;;
8112 # Look at the argument we got. We use all the common list separators.
8113 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8114 for pkg in $enableval; do
8116 if test "X
$pkg" = "X
$p"; then
8136 # Check whether --with-pic was given.
8137 if test "${with_pic+set}" = set; then :
8138 withval=$with_pic; pic_mode="$withval"
8144 test -z "$pic_mode" && pic_mode=default
8152 # Check whether --enable-fast-install was given.
8153 if test "${enable_fast_install+set}" = set; then :
8154 enableval=$enable_fast_install; p=${PACKAGE-default}
8156 yes) enable_fast_install=yes ;;
8157 no) enable_fast_install=no ;;
8159 enable_fast_install=no
8160 # Look at the argument we got. We use all the common list separators.
8161 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8162 for pkg in $enableval; do
8164 if test "X
$pkg" = "X
$p"; then
8165 enable_fast_install=yes
8172 enable_fast_install=yes
8185 # This can be used to rebuild libtool when needed
8186 LIBTOOL_DEPS="$ltmain"
8188 # Always use our own libtool.
8189 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8215 test -z "$LN_S" && LN_S="ln -s"
8230 if test -n "${ZSH_VERSION+set}" ; then
8231 setopt NO_GLOB_SUBST
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8235 $as_echo_n "checking
for objdir...
" >&6; }
8236 if test "${lt_cv_objdir+set}" = set; then :
8237 $as_echo_n "(cached
) " >&6
8239 rm -f .libs 2>/dev/null
8240 mkdir .libs 2>/dev/null
8241 if test -d .libs; then
8244 # MS-DOS does not allow filenames that begin with a dot.
8247 rmdir .libs 2>/dev/null
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8250 $as_echo "$lt_cv_objdir" >&6; }
8251 objdir=$lt_cv_objdir
8257 cat >>confdefs.h <<_ACEOF
8258 #define LT_OBJDIR "$lt_cv_objdir/"
8279 # AIX sometimes has problems with the GCC collect2 program. For some
8280 # reason, if we set the COLLECT_NAMES environment variable, the problems
8281 # vanish in a puff of smoke.
8282 if test "X
${COLLECT_NAMES+set}" != Xset; then
8284 export COLLECT_NAMES
8289 # Sed substitution that helps us do robust quoting. It backslashifies
8290 # metacharacters that are still active within double-quoted strings.
8291 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8293 # Same as above, but do not quote variable references.
8294 double_quote_subst='s/\(["`\\]\
)/\\\
1/g
'
8296 # Sed substitution to delay expansion of an escaped shell variable in a
8297 # double_quote_subst'ed string.
8298 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
8300 # Sed substitution to delay expansion of an escaped single quote.
8301 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
8303 # Sed substitution to avoid accidental globbing in evaled expressions
8304 no_glob_subst
='s/\*/\\\*/g'
8308 can_build_shared
=yes
8310 # All known linkers require a `.a' archive for static linking (except MSVC,
8311 # which needs '.lib').
8314 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8317 old_CFLAGS
="$CFLAGS"
8319 # Set sane defaults for various variables
8320 test -z "$CC" && CC
=cc
8321 test -z "$LTCC" && LTCC
=$CC
8322 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8323 test -z "$LD" && LD
=ld
8324 test -z "$ac_objext" && ac_objext
=o
8326 for cc_temp
in $compiler""; do
8328 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8329 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8334 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8337 # Only perform the check for file, if the check method requires it
8338 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8339 case $deplibs_check_method in
8341 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8343 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8344 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8345 $as_echo_n "(cached) " >&6
8349 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8352 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8353 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8354 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8355 for ac_dir
in $ac_dummy; do
8357 test -z "$ac_dir" && ac_dir
=.
8358 if test -f $ac_dir/${ac_tool_prefix}file; then
8359 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8360 if test -n "$file_magic_test_file"; then
8361 case $deplibs_check_method in
8363 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8364 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8365 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8366 $EGREP "$file_magic_regex" > /dev
/null
; then
8371 *** Warning: the command libtool uses to detect shared libraries,
8372 *** $file_magic_cmd, produces output that libtool cannot recognize.
8373 *** The result is that libtool may fail to recognize shared libraries
8374 *** as such. This will affect the creation of libtool libraries that
8375 *** depend on shared libraries, but programs linked with such libtool
8376 *** libraries will work regardless of this problem. Nevertheless, you
8377 *** may want to report the problem to your system manager and/or to
8378 *** bug-libtool@gnu.org
8388 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8393 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8394 if test -n "$MAGIC_CMD"; then
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8396 $as_echo "$MAGIC_CMD" >&6; }
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8399 $as_echo "no" >&6; }
8406 if test -z "$lt_cv_path_MAGIC_CMD"; then
8407 if test -n "$ac_tool_prefix"; then
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8409 $as_echo_n "checking for file... " >&6; }
8410 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8411 $as_echo_n "(cached) " >&6
8415 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8418 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8419 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8420 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8421 for ac_dir
in $ac_dummy; do
8423 test -z "$ac_dir" && ac_dir
=.
8424 if test -f $ac_dir/file; then
8425 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8426 if test -n "$file_magic_test_file"; then
8427 case $deplibs_check_method in
8429 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8430 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8431 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8432 $EGREP "$file_magic_regex" > /dev
/null
; then
8437 *** Warning: the command libtool uses to detect shared libraries,
8438 *** $file_magic_cmd, produces output that libtool cannot recognize.
8439 *** The result is that libtool may fail to recognize shared libraries
8440 *** as such. This will affect the creation of libtool libraries that
8441 *** depend on shared libraries, but programs linked with such libtool
8442 *** libraries will work regardless of this problem. Nevertheless, you
8443 *** may want to report the problem to your system manager and/or to
8444 *** bug-libtool@gnu.org
8454 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8459 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8460 if test -n "$MAGIC_CMD"; then
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8462 $as_echo "$MAGIC_CMD" >&6; }
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8465 $as_echo "no" >&6; }
8478 # Use C for the default configuration in the libtool script
8482 ac_cpp
='$CPP $CPPFLAGS'
8483 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8484 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8485 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8488 # Source file extension for C test sources.
8491 # Object file extension for compiled C test sources.
8495 # Code to be used in simple compile tests
8496 lt_simple_compile_test_code
="int some_variable = 0;"
8498 # Code to be used in simple link tests
8499 lt_simple_link_test_code
='int main(){return(0);}'
8507 # If no C compiler was specified, use CC.
8510 # If no C compiler flags were specified, use CFLAGS.
8511 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8513 # Allow CC to be a program name with arguments.
8516 # Save the default compiler, since it gets overwritten when the other
8517 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8518 compiler_DEFAULT
=$CC
8520 # save warnings/boilerplate of simple test code
8521 ac_outfile
=conftest.
$ac_objext
8522 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8523 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8524 _lt_compiler_boilerplate
=`cat conftest.err`
8527 ac_outfile
=conftest.
$ac_objext
8528 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8529 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8530 _lt_linker_boilerplate
=`cat conftest.err`
8535 ## There is no encapsulation within the following macros, do not change
8536 ## the running order or otherwise move them around unless you know exactly
8537 ## what you are doing...
8538 if test -n "$compiler"; then
8540 lt_prog_compiler_no_builtin_flag
=
8542 if test "$GCC" = yes; then
8543 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8546 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8547 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8548 $as_echo_n "(cached) " >&6
8550 lt_cv_prog_compiler_rtti_exceptions
=no
8551 ac_outfile
=conftest.
$ac_objext
8552 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8553 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8554 # Insert the option either (1) after the last *FLAGS variable, or
8555 # (2) before a word containing "conftest.", or (3) at the end.
8556 # Note that $ac_compile itself does not contain backslashes and begins
8557 # with a dollar sign (not a hyphen), so the echo should work correctly.
8558 # The option is referenced via a variable to avoid confusing sed.
8559 lt_compile
=`echo "$ac_compile" | $SED \
8560 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8561 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8562 -e 's:$: $lt_compiler_flag:'`
8563 (eval echo "\"\$as_me:8563: $lt_compile\"" >&5)
8564 (eval "$lt_compile" 2>conftest.err
)
8566 cat conftest.err
>&5
8567 echo "$as_me:8567: \$? = $ac_status" >&5
8568 if (exit $ac_status) && test -s "$ac_outfile"; then
8569 # The compiler can only warn and ignore the option if not recognized
8570 # So say no if there are warnings other than the usual output.
8571 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8572 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8573 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8574 lt_cv_prog_compiler_rtti_exceptions
=yes
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8581 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8583 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8584 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8596 lt_prog_compiler_wl
=
8597 lt_prog_compiler_pic
=
8598 lt_prog_compiler_static
=
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8601 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8603 if test "$GCC" = yes; then
8604 lt_prog_compiler_wl
='-Wl,'
8605 lt_prog_compiler_static
='-static'
8609 # All AIX code is PIC.
8610 if test "$host_cpu" = ia64
; then
8611 # AIX 5 now supports IA64 processor
8612 lt_prog_compiler_static
='-Bstatic'
8619 # see comment about AmigaOS4 .so support
8620 lt_prog_compiler_pic
='-fPIC'
8623 # FIXME: we need at least 68020 code to build shared libraries, but
8624 # adding the `-m68020' flag to GCC prevents building anything better,
8626 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8631 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8632 # PIC is the default for these OSes.
8635 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8636 # This hack is so that the source file can tell whether it is being
8637 # built for inclusion in a dll (and should export symbols for example).
8638 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8639 # (--disable-auto-import) libraries
8640 lt_prog_compiler_pic
='-DDLL_EXPORT'
8643 darwin
* | rhapsody
*)
8644 # PIC is the default on this platform
8645 # Common symbols not allowed in MH_DYLIB files
8646 lt_prog_compiler_pic
='-fno-common'
8650 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8651 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8652 # sets the default TLS model and affects inlining.
8658 lt_prog_compiler_pic
='-fPIC'
8664 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8665 # Instead, we relocate shared libraries at runtime.
8669 # Just because we use GCC doesn't mean we suddenly get shared libraries
8670 # on systems that don't support them.
8671 lt_prog_compiler_can_build_shared
=no
8676 # QNX uses GNU C++, but need to define -shared option too, otherwise
8678 lt_prog_compiler_pic
='-fPIC -shared'
8682 if test -d /usr
/nec
; then
8683 lt_prog_compiler_pic
=-Kconform_pic
8688 lt_prog_compiler_pic
='-fPIC'
8692 # PORTME Check for flag to pass linker flags through the system compiler.
8695 lt_prog_compiler_wl
='-Wl,'
8696 if test "$host_cpu" = ia64
; then
8697 # AIX 5 now supports IA64 processor
8698 lt_prog_compiler_static
='-Bstatic'
8700 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8704 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8705 # This hack is so that the source file can tell whether it is being
8706 # built for inclusion in a dll (and should export symbols for example).
8707 lt_prog_compiler_pic
='-DDLL_EXPORT'
8710 hpux9
* | hpux10
* | hpux11
*)
8711 lt_prog_compiler_wl
='-Wl,'
8712 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8719 lt_prog_compiler_pic
='+Z'
8722 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8723 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8726 irix5
* | irix6
* | nonstopux
*)
8727 lt_prog_compiler_wl
='-Wl,'
8728 # PIC (with -KPIC) is the default.
8729 lt_prog_compiler_static
='-non_shared'
8732 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8733 case $cc_basename in
8734 # old Intel for x86_64 which still supported -KPIC.
8736 lt_prog_compiler_wl
='-Wl,'
8737 lt_prog_compiler_pic
='-KPIC'
8738 lt_prog_compiler_static
='-static'
8740 # icc used to be incompatible with GCC.
8741 # ICC 10 doesn't accept -KPIC any more.
8743 lt_prog_compiler_wl
='-Wl,'
8744 lt_prog_compiler_pic
='-fPIC'
8745 lt_prog_compiler_static
='-static'
8747 # Lahey Fortran 8.1.
8749 lt_prog_compiler_wl
='-Wl,'
8750 lt_prog_compiler_pic
='--shared'
8751 lt_prog_compiler_static
='--static'
8753 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8754 # Portland Group compilers (*not* the Pentium gcc compiler,
8755 # which looks to be a dead project)
8756 lt_prog_compiler_wl
='-Wl,'
8757 lt_prog_compiler_pic
='-fpic'
8758 lt_prog_compiler_static
='-Bstatic'
8761 lt_prog_compiler_wl
='-Wl,'
8762 # All Alpha code is PIC.
8763 lt_prog_compiler_static
='-non_shared'
8766 # IBM XL C 8.0/Fortran 10.1 on PPC
8767 lt_prog_compiler_wl
='-Wl,'
8768 lt_prog_compiler_pic
='-qpic'
8769 lt_prog_compiler_static
='-qstaticlink'
8772 case `$CC -V 2>&1 | sed 5q` in
8775 lt_prog_compiler_pic
='-KPIC'
8776 lt_prog_compiler_static
='-Bstatic'
8777 lt_prog_compiler_wl
='-Wl,'
8780 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8781 lt_prog_compiler_pic
='-KPIC'
8782 lt_prog_compiler_static
='-Bstatic'
8783 lt_prog_compiler_wl
=''
8791 lt_prog_compiler_pic
='-KPIC'
8792 lt_prog_compiler_static
='-Bstatic'
8796 # QNX uses GNU C++, but need to define -shared option too, otherwise
8798 lt_prog_compiler_pic
='-fPIC -shared'
8801 osf3
* | osf4
* | osf5
*)
8802 lt_prog_compiler_wl
='-Wl,'
8803 # All OSF/1 code is PIC.
8804 lt_prog_compiler_static
='-non_shared'
8808 lt_prog_compiler_static
='-non_shared'
8812 lt_prog_compiler_pic
='-KPIC'
8813 lt_prog_compiler_static
='-Bstatic'
8814 case $cc_basename in
8816 lt_prog_compiler_wl
='-Qoption ld ';;
8818 lt_prog_compiler_wl
='-Wl,';;
8823 lt_prog_compiler_wl
='-Qoption ld '
8824 lt_prog_compiler_pic
='-PIC'
8825 lt_prog_compiler_static
='-Bstatic'
8828 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8829 lt_prog_compiler_wl
='-Wl,'
8830 lt_prog_compiler_pic
='-KPIC'
8831 lt_prog_compiler_static
='-Bstatic'
8835 if test -d /usr
/nec
;then
8836 lt_prog_compiler_pic
='-Kconform_pic'
8837 lt_prog_compiler_static
='-Bstatic'
8841 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8842 lt_prog_compiler_wl
='-Wl,'
8843 lt_prog_compiler_pic
='-KPIC'
8844 lt_prog_compiler_static
='-Bstatic'
8848 lt_prog_compiler_wl
='-Wl,'
8849 lt_prog_compiler_can_build_shared
=no
8853 lt_prog_compiler_pic
='-pic'
8854 lt_prog_compiler_static
='-Bstatic'
8858 lt_prog_compiler_can_build_shared
=no
8864 # For platforms which do not support PIC, -DPIC is meaningless:
8866 lt_prog_compiler_pic
=
8869 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8873 $as_echo "$lt_prog_compiler_pic" >&6; }
8881 # Check to make sure the PIC flag actually works.
8883 if test -n "$lt_prog_compiler_pic"; then
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8885 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8886 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8887 $as_echo_n "(cached) " >&6
8889 lt_cv_prog_compiler_pic_works
=no
8890 ac_outfile
=conftest.
$ac_objext
8891 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8892 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8893 # Insert the option either (1) after the last *FLAGS variable, or
8894 # (2) before a word containing "conftest.", or (3) at the end.
8895 # Note that $ac_compile itself does not contain backslashes and begins
8896 # with a dollar sign (not a hyphen), so the echo should work correctly.
8897 # The option is referenced via a variable to avoid confusing sed.
8898 lt_compile
=`echo "$ac_compile" | $SED \
8899 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8900 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8901 -e 's:$: $lt_compiler_flag:'`
8902 (eval echo "\"\$as_me:8902: $lt_compile\"" >&5)
8903 (eval "$lt_compile" 2>conftest.err
)
8905 cat conftest.err
>&5
8906 echo "$as_me:8906: \$? = $ac_status" >&5
8907 if (exit $ac_status) && test -s "$ac_outfile"; then
8908 # The compiler can only warn and ignore the option if not recognized
8909 # So say no if there are warnings other than the usual output.
8910 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8911 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8912 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8913 lt_cv_prog_compiler_pic_works
=yes
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8920 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8922 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8923 case $lt_prog_compiler_pic in
8925 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8928 lt_prog_compiler_pic
=
8929 lt_prog_compiler_can_build_shared
=no
8940 # Check to make sure the static flag actually works.
8942 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8944 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8945 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8946 $as_echo_n "(cached) " >&6
8948 lt_cv_prog_compiler_static_works
=no
8949 save_LDFLAGS
="$LDFLAGS"
8950 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8951 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8952 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8953 # The linker can only warn and ignore the option if not recognized
8954 # So say no if there are warnings
8955 if test -s conftest.err
; then
8956 # Append any errors to the config.log.
8957 cat conftest.err
1>&5
8958 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8959 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8960 if diff conftest.exp conftest.er2
>/dev
/null
; then
8961 lt_cv_prog_compiler_static_works
=yes
8964 lt_cv_prog_compiler_static_works
=yes
8968 LDFLAGS
="$save_LDFLAGS"
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8972 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8974 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8977 lt_prog_compiler_static
=
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8987 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8988 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8989 $as_echo_n "(cached) " >&6
8991 lt_cv_prog_compiler_c_o
=no
8992 $RM -r conftest
2>/dev
/null
8996 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8998 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8999 # Insert the option either (1) after the last *FLAGS variable, or
9000 # (2) before a word containing "conftest.", or (3) at the end.
9001 # Note that $ac_compile itself does not contain backslashes and begins
9002 # with a dollar sign (not a hyphen), so the echo should work correctly.
9003 lt_compile
=`echo "$ac_compile" | $SED \
9004 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9005 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9006 -e 's:$: $lt_compiler_flag:'`
9007 (eval echo "\"\$as_me:9007: $lt_compile\"" >&5)
9008 (eval "$lt_compile" 2>out
/conftest.err
)
9010 cat out
/conftest.err
>&5
9011 echo "$as_me:9011: \$? = $ac_status" >&5
9012 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9014 # The compiler can only warn and ignore the option if not recognized
9015 # So say no if there are warnings
9016 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9017 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9018 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9019 lt_cv_prog_compiler_c_o
=yes
9024 # SGI C++ compiler will create directory out/ii_files/ for
9025 # template instantiation
9026 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9027 $RM out
/* && rmdir out
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9034 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9042 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9043 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9044 $as_echo_n "(cached) " >&6
9046 lt_cv_prog_compiler_c_o
=no
9047 $RM -r conftest
2>/dev
/null
9051 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9053 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9054 # Insert the option either (1) after the last *FLAGS variable, or
9055 # (2) before a word containing "conftest.", or (3) at the end.
9056 # Note that $ac_compile itself does not contain backslashes and begins
9057 # with a dollar sign (not a hyphen), so the echo should work correctly.
9058 lt_compile
=`echo "$ac_compile" | $SED \
9059 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9060 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9061 -e 's:$: $lt_compiler_flag:'`
9062 (eval echo "\"\$as_me:9062: $lt_compile\"" >&5)
9063 (eval "$lt_compile" 2>out
/conftest.err
)
9065 cat out
/conftest.err
>&5
9066 echo "$as_me:9066: \$? = $ac_status" >&5
9067 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9069 # The compiler can only warn and ignore the option if not recognized
9070 # So say no if there are warnings
9071 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9072 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9073 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9074 lt_cv_prog_compiler_c_o
=yes
9079 # SGI C++ compiler will create directory out/ii_files/ for
9080 # template instantiation
9081 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9082 $RM out
/* && rmdir out
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9089 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9094 hard_links
="nottested"
9095 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9096 # do not overwrite the value of need_locks provided by the user
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9098 $as_echo_n "checking if we can lock with hard links... " >&6; }
9101 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9103 ln conftest.a conftest.b
2>&5 || hard_links
=no
9104 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9106 $as_echo "$hard_links" >&6; }
9107 if test "$hard_links" = no
; then
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9109 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9122 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9125 allow_undefined_flag
=
9126 always_export_symbols
=no
9128 archive_expsym_cmds
=
9129 compiler_needs_object
=no
9130 enable_shared_with_static_runtimes
=no
9131 export_dynamic_flag_spec
=
9132 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9133 hardcode_automatic
=no
9135 hardcode_direct_absolute
=no
9136 hardcode_libdir_flag_spec
=
9137 hardcode_libdir_flag_spec_ld
=
9138 hardcode_libdir_separator
=
9140 hardcode_shlibpath_var
=unsupported
9142 link_all_deplibs
=unknown
9145 old_archive_from_new_cmds
=
9146 old_archive_from_expsyms_cmds
=
9147 thread_safe_flag_spec
=
9148 whole_archive_flag_spec
=
9149 # include_expsyms should be a list of space-separated symbols to be *always*
9150 # included in the symbol list
9152 # exclude_expsyms can be an extended regexp of symbols to exclude
9153 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9154 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9155 # as well as any symbol that contains `d'.
9156 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9157 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9158 # platforms (ab)use it in PIC code, but their linkers get confused if
9159 # the symbol is explicitly referenced. Since portable code cannot
9160 # rely on this symbol name, it's probably fine to never include it in
9161 # preloaded symbol tables.
9162 # Exclude shared library initialization/finalization symbols.
9163 extract_expsyms_cmds
=
9166 cygwin
* | mingw
* | pw32
* | cegcc
*)
9167 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9168 # When not using gcc, we currently assume that we are using
9169 # Microsoft Visual C++.
9170 if test "$GCC" != yes; then
9175 # we just hope/assume this is gcc and not c89 (= MSVC++)
9184 if test "$with_gnu_ld" = yes; then
9185 # If archive_cmds runs LD, not CC, wlarc should be empty
9188 # Set some defaults for GNU ld with shared library support. These
9189 # are reset later if shared libraries are not supported. Putting them
9190 # here allows them to be overridden if necessary.
9191 runpath_var
=LD_RUN_PATH
9192 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9193 export_dynamic_flag_spec
='${wl}--export-dynamic'
9194 # ancient GNU ld didn't support --whole-archive et. al.
9195 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9196 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9198 whole_archive_flag_spec
=
9200 supports_anon_versioning
=no
9201 case `$LD -v 2>&1` in
9202 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9203 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9204 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9205 *\
2.11.
*) ;; # other 2.11 versions
9206 *) supports_anon_versioning
=yes ;;
9209 # See if GNU ld supports shared libraries.
9212 # On AIX/PPC, the GNU linker is very broken
9213 if test "$host_cpu" != ia64
; then
9217 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9218 *** to be unable to reliably create shared libraries on AIX.
9219 *** Therefore, libtool is disabling shared libraries support. If you
9220 *** really care for shared libraries, you may want to modify your PATH
9221 *** so that a non-GNU linker is found, and then restart.
9230 # see comment about AmigaOS4 .so support
9231 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9232 archive_expsym_cmds
=''
9235 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)'
9236 hardcode_libdir_flag_spec
='-L$libdir'
9237 hardcode_minus_L
=yes
9243 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9244 allow_undefined_flag
=unsupported
9245 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9246 # support --undefined. This deserves some investigation. FIXME
9247 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9253 cygwin
* | mingw
* | pw32
* | cegcc
*)
9254 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9255 # as there is no search path for DLLs.
9256 hardcode_libdir_flag_spec
='-L$libdir'
9257 allow_undefined_flag
=unsupported
9258 always_export_symbols
=no
9259 enable_shared_with_static_runtimes
=yes
9260 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9262 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9263 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9264 # If the export-symbols file already is a .def file (1st line
9265 # is EXPORTS), use it as is; otherwise, prepend...
9266 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9267 cp $export_symbols $output_objdir/$soname.def;
9269 echo EXPORTS > $output_objdir/$soname.def;
9270 cat $export_symbols >> $output_objdir/$soname.def;
9272 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9280 hardcode_shlibpath_var
=no
9281 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9282 export_dynamic_flag_spec
='${wl}-E'
9283 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9284 # Instead, shared libraries are loaded at an image base (0x10000000 by
9285 # default) and relocated if they conflict, which is a slow very memory
9286 # consuming and fragmenting process. To avoid this, we pick a random,
9287 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9288 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9289 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9290 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'
9293 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9295 if test "$host_os" = linux-dietlibc
; then
9296 case $cc_basename in
9297 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9300 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9301 && test "$tmp_diet" = no
9304 tmp_sharedflag
='-shared'
9305 case $cc_basename,$host_cpu in
9306 pgcc
*) # Portland Group C compiler
9307 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'
9308 tmp_addflag
=' $pic_flag'
9310 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9311 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'
9312 tmp_addflag
=' $pic_flag -Mnomain' ;;
9313 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9314 tmp_addflag
=' -i_dynamic' ;;
9315 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9316 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9317 ifc
* | ifort
*) # Intel Fortran compiler
9318 tmp_addflag
=' -nofor_main' ;;
9319 lf95
*) # Lahey Fortran 8.1
9320 whole_archive_flag_spec
=
9321 tmp_sharedflag
='--shared' ;;
9322 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9323 tmp_sharedflag
='-qmkshrobj'
9326 case `$CC -V 2>&1 | sed 5q` in
9327 *Sun\ C
*) # Sun C 5.9
9328 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'
9329 compiler_needs_object
=yes
9330 tmp_sharedflag
='-G' ;;
9331 *Sun\ F
*) # Sun Fortran 8.3
9332 tmp_sharedflag
='-G' ;;
9334 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9336 if test "x$supports_anon_versioning" = xyes
; then
9337 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9338 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9339 echo "local: *; };" >> $output_objdir/$libname.ver~
9340 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9343 case $cc_basename in
9345 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9346 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9347 hardcode_libdir_flag_spec
=
9348 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9349 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9350 if test "x$supports_anon_versioning" = xyes
; then
9351 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9352 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9353 echo "local: *; };" >> $output_objdir/$libname.ver~
9354 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9364 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9365 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9368 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9369 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9374 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9378 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9379 *** create shared libraries on Solaris systems. Therefore, libtool
9380 *** is disabling shared libraries support. We urge you to upgrade GNU
9381 *** binutils to release 2.9.1 or newer. Another option is to modify
9382 *** your PATH or compiler configuration so that the native linker is
9383 *** used, and then restart.
9386 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9387 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9388 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9394 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9395 case `$LD -v 2>&1` in
9396 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9400 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9401 *** reliably create shared libraries on SCO systems. Therefore, libtool
9402 *** is disabling shared libraries support. We urge you to upgrade GNU
9403 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9404 *** your PATH or compiler configuration so that the native linker is
9405 *** used, and then restart.
9410 # For security reasons, it is highly recommended that you always
9411 # use absolute paths for naming shared libraries, and exclude the
9412 # DT_RUNPATH tag from executables and libraries. But doing so
9413 # requires that you compile everything twice, which is a pain.
9414 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9415 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9416 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9417 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9426 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9429 hardcode_shlibpath_var
=no
9433 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9434 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9435 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9442 if test "$ld_shlibs" = no
; then
9444 hardcode_libdir_flag_spec
=
9445 export_dynamic_flag_spec
=
9446 whole_archive_flag_spec
=
9449 # PORTME fill in a description of your system's linker (not GNU ld)
9452 allow_undefined_flag
=unsupported
9453 always_export_symbols
=yes
9454 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'
9455 # Note: this linker hardcodes the directories in LIBPATH if there
9456 # are no directories specified by -L.
9457 hardcode_minus_L
=yes
9458 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9459 # Neither direct hardcoding nor static linking is supported with a
9461 hardcode_direct
=unsupported
9466 if test "$host_cpu" = ia64
; then
9467 # On IA64, the linker does run time linking by default, so we don't
9468 # have to do anything special.
9469 aix_use_runtimelinking
=no
9470 exp_sym_flag
='-Bexport'
9473 # If we're using GNU nm, then we don't want the "-C" option.
9474 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9475 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9476 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'
9478 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'
9480 aix_use_runtimelinking
=no
9482 # Test if we are trying to use run time linking or normal
9483 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9484 # need to do runtime linking.
9485 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9486 for ld_flag
in $LDFLAGS; do
9487 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9488 aix_use_runtimelinking
=yes
9495 exp_sym_flag
='-bexport'
9496 no_entry_flag
='-bnoentry'
9499 # When large executables or shared objects are built, AIX ld can
9500 # have problems creating the table of contents. If linking a library
9501 # or program results in "error TOC overflow" add -mminimal-toc to
9502 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9503 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9507 hardcode_direct_absolute
=yes
9508 hardcode_libdir_separator
=':'
9509 link_all_deplibs
=yes
9510 file_list_spec
='${wl}-f,'
9512 if test "$GCC" = yes; then
9513 case $host_os in aix4.
[012]|aix4.
[012].
*)
9514 # We only want to do this on AIX 4.2 and lower, the check
9515 # below for broken collect2 doesn't work under 4.3+
9516 collect2name
=`${CC} -print-prog-name=collect2`
9517 if test -f "$collect2name" &&
9518 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9520 # We have reworked collect2
9523 # We have old collect2
9524 hardcode_direct
=unsupported
9525 # It fails to find uninstalled libraries when the uninstalled
9526 # path is not listed in the libpath. Setting hardcode_minus_L
9527 # to unsupported forces relinking
9528 hardcode_minus_L
=yes
9529 hardcode_libdir_flag_spec
='-L$libdir'
9530 hardcode_libdir_separator
=
9534 shared_flag
='-shared'
9535 if test "$aix_use_runtimelinking" = yes; then
9536 shared_flag
="$shared_flag "'${wl}-G'
9540 if test "$host_cpu" = ia64
; then
9541 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9542 # chokes on -Wl,-G. The following line is correct:
9545 if test "$aix_use_runtimelinking" = yes; then
9546 shared_flag
='${wl}-G'
9548 shared_flag
='${wl}-bM:SRE'
9553 export_dynamic_flag_spec
='${wl}-bexpall'
9554 # It seems that -bexpall does not export symbols beginning with
9555 # underscore (_), so it is better to generate a list of symbols to export.
9556 always_export_symbols
=yes
9557 if test "$aix_use_runtimelinking" = yes; then
9558 # Warning - without using the other runtime loading flags (-brtl),
9559 # -berok will link without error, but may produce a broken library.
9560 allow_undefined_flag
='-berok'
9561 # Determine the default libpath from the value encoded in an
9563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9564 /* end confdefs.h. */
9574 if ac_fn_c_try_link
"$LINENO"; then :
9576 lt_aix_libpath_sed
='
9577 /Import File Strings/,/^$/ {
9583 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9584 # Check for a 64-bit object if we didn't find anything.
9585 if test -z "$aix_libpath"; then
9586 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9589 rm -f core conftest.err conftest.
$ac_objext \
9590 conftest
$ac_exeext conftest.
$ac_ext
9591 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9593 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9594 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"
9596 if test "$host_cpu" = ia64
; then
9597 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9598 allow_undefined_flag
="-z nodefs"
9599 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"
9601 # Determine the default libpath from the value encoded in an
9603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9604 /* end confdefs.h. */
9614 if ac_fn_c_try_link
"$LINENO"; then :
9616 lt_aix_libpath_sed
='
9617 /Import File Strings/,/^$/ {
9623 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9624 # Check for a 64-bit object if we didn't find anything.
9625 if test -z "$aix_libpath"; then
9626 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9629 rm -f core conftest.err conftest.
$ac_objext \
9630 conftest
$ac_exeext conftest.
$ac_ext
9631 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9633 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9634 # Warning - without using the other run time loading flags,
9635 # -berok will link without error, but may produce a broken library.
9636 no_undefined_flag
=' ${wl}-bernotok'
9637 allow_undefined_flag
=' ${wl}-berok'
9638 # Exported symbols can be pulled into shared objects from archives
9639 whole_archive_flag_spec
='$convenience'
9640 archive_cmds_need_lc
=yes
9641 # This is similar to how AIX traditionally builds its shared libraries.
9642 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'
9650 # see comment about AmigaOS4 .so support
9651 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9652 archive_expsym_cmds
=''
9655 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)'
9656 hardcode_libdir_flag_spec
='-L$libdir'
9657 hardcode_minus_L
=yes
9663 export_dynamic_flag_spec
=-rdynamic
9666 cygwin
* | mingw
* | pw32
* | cegcc
*)
9667 # When not using gcc, we currently assume that we are using
9668 # Microsoft Visual C++.
9669 # hardcode_libdir_flag_spec is actually meaningless, as there is
9670 # no search path for DLLs.
9671 hardcode_libdir_flag_spec
=' '
9672 allow_undefined_flag
=unsupported
9673 # Tell ltmain to make .lib files, not .a files.
9675 # Tell ltmain to make .dll files, not .so files.
9677 # FIXME: Setting linknames here is a bad hack.
9678 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9679 # The linker will automatically build a .lib file if we build a DLL.
9680 old_archive_from_new_cmds
='true'
9681 # FIXME: Should let the user specify the lib program.
9682 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9683 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9684 enable_shared_with_static_runtimes
=yes
9687 darwin
* | rhapsody
*)
9690 archive_cmds_need_lc
=no
9692 hardcode_automatic
=yes
9693 hardcode_shlibpath_var
=unsupported
9694 whole_archive_flag_spec
=''
9695 link_all_deplibs
=yes
9696 allow_undefined_flag
="$_lt_dar_allow_undefined"
9697 case $cc_basename in
9698 ifort
*) _lt_dar_can_shared
=yes ;;
9699 *) _lt_dar_can_shared
=$GCC ;;
9701 if test "$_lt_dar_can_shared" = "yes"; then
9702 output_verbose_link_cmd
=echo
9703 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9704 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9705 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}"
9706 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}"
9715 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9716 hardcode_libdir_flag_spec
='-L$libdir'
9717 hardcode_shlibpath_var
=no
9724 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9725 # support. Future versions do this automatically, but an explicit c++rt0.o
9726 # does not break anything, and helps significantly (at the cost of a little
9729 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9730 hardcode_libdir_flag_spec
='-R$libdir'
9732 hardcode_shlibpath_var
=no
9735 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9737 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9739 hardcode_minus_L
=yes
9740 hardcode_shlibpath_var
=no
9743 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9744 freebsd
* | dragonfly
*)
9745 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9746 hardcode_libdir_flag_spec
='-R$libdir'
9748 hardcode_shlibpath_var
=no
9752 if test "$GCC" = yes; then
9753 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'
9755 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'
9757 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9758 hardcode_libdir_separator
=:
9761 # hardcode_minus_L: Not really in the search PATH,
9762 # but as the default location of the library.
9763 hardcode_minus_L
=yes
9764 export_dynamic_flag_spec
='${wl}-E'
9768 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9769 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9771 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9773 if test "$with_gnu_ld" = no
; then
9774 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9775 hardcode_libdir_flag_spec_ld
='+b $libdir'
9776 hardcode_libdir_separator
=:
9778 hardcode_direct_absolute
=yes
9779 export_dynamic_flag_spec
='${wl}-E'
9780 # hardcode_minus_L: Not really in the search PATH,
9781 # but as the default location of the library.
9782 hardcode_minus_L
=yes
9787 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9790 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9793 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9796 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9802 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9805 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9808 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9812 if test "$with_gnu_ld" = no
; then
9813 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9814 hardcode_libdir_separator
=:
9819 hardcode_shlibpath_var
=no
9823 hardcode_direct_absolute
=yes
9824 export_dynamic_flag_spec
='${wl}-E'
9826 # hardcode_minus_L: Not really in the search PATH,
9827 # but as the default location of the library.
9828 hardcode_minus_L
=yes
9834 irix5
* | irix6
* | nonstopux
*)
9835 if test "$GCC" = yes; then
9836 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'
9837 # Try to use the -exported_symbol ld option, if it does not
9838 # work, assume that -exports_file does not work either and
9839 # implicitly export all symbols.
9840 save_LDFLAGS
="$LDFLAGS"
9841 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9843 /* end confdefs.h. */
9846 if ac_fn_c_try_link
"$LINENO"; then :
9847 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'
9850 rm -f core conftest.err conftest.
$ac_objext \
9851 conftest
$ac_exeext conftest.
$ac_ext
9852 LDFLAGS
="$save_LDFLAGS"
9854 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'
9855 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'
9857 archive_cmds_need_lc
='no'
9858 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9859 hardcode_libdir_separator
=:
9861 link_all_deplibs
=yes
9865 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9866 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9868 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9870 hardcode_libdir_flag_spec
='-R$libdir'
9872 hardcode_shlibpath_var
=no
9876 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9878 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9879 hardcode_libdir_separator
=:
9880 hardcode_shlibpath_var
=no
9887 if test -f /usr
/libexec
/ld.so
; then
9889 hardcode_shlibpath_var
=no
9890 hardcode_direct_absolute
=yes
9891 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9892 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9893 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9894 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9895 export_dynamic_flag_spec
='${wl}-E'
9898 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9899 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9900 hardcode_libdir_flag_spec
='-R$libdir'
9903 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9904 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9914 hardcode_libdir_flag_spec
='-L$libdir'
9915 hardcode_minus_L
=yes
9916 allow_undefined_flag
=unsupported
9917 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'
9918 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9922 if test "$GCC" = yes; then
9923 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9924 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'
9926 allow_undefined_flag
=' -expect_unresolved \*'
9927 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'
9929 archive_cmds_need_lc
='no'
9930 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9931 hardcode_libdir_separator
=:
9934 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9935 if test "$GCC" = yes; then
9936 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9937 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'
9938 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9940 allow_undefined_flag
=' -expect_unresolved \*'
9941 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'
9942 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~
9943 $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'
9945 # Both c and cxx compiler support -rpath directly
9946 hardcode_libdir_flag_spec
='-rpath $libdir'
9948 archive_cmds_need_lc
='no'
9949 hardcode_libdir_separator
=:
9953 no_undefined_flag
=' -z defs'
9954 if test "$GCC" = yes; then
9956 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9957 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9958 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9960 case `$CC -V 2>&1` in
9963 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9964 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9965 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9969 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9970 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9971 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9975 hardcode_libdir_flag_spec
='-R$libdir'
9976 hardcode_shlibpath_var
=no
9978 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9980 # The compiler driver will combine and reorder linker options,
9981 # but understands `-z linker_flag'. GCC discards it without `$wl',
9982 # but is careful enough not to reorder.
9983 # Supported since Solaris 2.6 (maybe 2.5.1?)
9984 if test "$GCC" = yes; then
9985 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9987 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9991 link_all_deplibs
=yes
9995 if test "x$host_vendor" = xsequent
; then
9996 # Use $CC to link under sequent, because it throws in some extra .o
9997 # files that make .init and .fini sections work.
9998 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10000 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10002 hardcode_libdir_flag_spec
='-L$libdir'
10003 hardcode_direct
=yes
10004 hardcode_minus_L
=yes
10005 hardcode_shlibpath_var
=no
10009 case $host_vendor in
10011 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10012 hardcode_direct
=yes # is this really true???
10015 ## LD is ld it makes a PLAMLIB
10016 ## CC just makes a GrossModule.
10017 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10018 reload_cmds
='$CC -r -o $output$reload_objs'
10022 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10023 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10026 runpath_var
='LD_RUN_PATH'
10027 hardcode_shlibpath_var
=no
10031 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10032 hardcode_shlibpath_var
=no
10033 export_dynamic_flag_spec
='-Bexport'
10037 if test -d /usr
/nec
; then
10038 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10039 hardcode_shlibpath_var
=no
10040 runpath_var
=LD_RUN_PATH
10041 hardcode_runpath_var
=yes
10046 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10047 no_undefined_flag
='${wl}-z,text'
10048 archive_cmds_need_lc
=no
10049 hardcode_shlibpath_var
=no
10050 runpath_var
='LD_RUN_PATH'
10052 if test "$GCC" = yes; then
10053 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10054 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10056 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10057 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10061 sysv5
* | sco3.2v5
* | sco5v6
*)
10062 # Note: We can NOT use -z defs as we might desire, because we do not
10063 # link with -lc, and that would cause any symbols used from libc to
10064 # always be unresolved, which means just about no library would
10065 # ever link correctly. If we're not using GNU ld we use -z text
10066 # though, which does catch some bad symbols but isn't as heavy-handed
10068 no_undefined_flag
='${wl}-z,text'
10069 allow_undefined_flag
='${wl}-z,nodefs'
10070 archive_cmds_need_lc
=no
10071 hardcode_shlibpath_var
=no
10072 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10073 hardcode_libdir_separator
=':'
10074 link_all_deplibs
=yes
10075 export_dynamic_flag_spec
='${wl}-Bexport'
10076 runpath_var
='LD_RUN_PATH'
10078 if test "$GCC" = yes; then
10079 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10080 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10082 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10083 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10088 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10089 hardcode_libdir_flag_spec
='-L$libdir'
10090 hardcode_shlibpath_var
=no
10098 if test x
$host_vendor = xsni
; then
10100 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10101 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10108 $as_echo "$ld_shlibs" >&6; }
10109 test "$ld_shlibs" = no
&& can_build_shared
=no
10111 with_gnu_ld
=$with_gnu_ld
10128 # Do we need to explicitly link libc?
10130 case "x$archive_cmds_need_lc" in
10132 # Assume -lc should be added
10133 archive_cmds_need_lc
=yes
10135 if test "$enable_shared" = yes && test "$GCC" = yes; then
10136 case $archive_cmds in
10138 # FIXME: we may have to deal with multi-command sequences.
10141 # Test whether the compiler implicitly links with -lc since on some
10142 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10143 # to ld, don't add -lc before -lgcc.
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10145 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10146 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10147 $as_echo_n "(cached) " >&6
10150 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10152 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10153 (eval $ac_compile) 2>&5
10155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10156 test $ac_status = 0; } 2>conftest.err
; then
10159 libobjs
=conftest.
$ac_objext
10161 wl
=$lt_prog_compiler_wl
10162 pic_flag
=$lt_prog_compiler_pic
10168 lt_save_allow_undefined_flag
=$allow_undefined_flag
10169 allow_undefined_flag
=
10170 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10171 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10174 test $ac_status = 0; }
10176 lt_cv_archive_cmds_need_lc
=no
10178 lt_cv_archive_cmds_need_lc
=yes
10180 allow_undefined_flag
=$lt_save_allow_undefined_flag
10182 cat conftest.err
1>&5
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10188 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10189 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10353 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10355 if test "$GCC" = yes; then
10357 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10358 *) lt_awk_arg
="/^libraries:/" ;;
10360 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10361 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
10362 # if the path contains ";" then we assume it to be the separator
10363 # otherwise default to the standard path separator (i.e. ":") - it is
10364 # assumed that no part of a normal pathname contains ";" but that should
10365 # okay in the real world where ";" in dirpaths is itself problematic.
10366 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10368 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10370 # Ok, now we have the path, separated by spaces, we can step through it
10371 # and add multilib dir if necessary.
10372 lt_tmp_lt_search_path_spec
=
10373 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10374 for lt_sys_path
in $lt_search_path_spec; do
10375 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10376 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10378 test -d "$lt_sys_path" && \
10379 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10382 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10383 BEGIN {RS=" "; FS="/|\n";} {
10386 for (lt_i = NF; lt_i > 0; lt_i--) {
10387 if ($lt_i != "" && $lt_i != ".") {
10388 if ($lt_i == "..") {
10391 if (lt_count == 0) {
10392 lt_foo="/" $lt_i lt_foo;
10399 if (lt_foo != "") { lt_freq[lt_foo]++; }
10400 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10402 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
10404 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10406 library_names_spec
=
10407 libname_spec
='lib$name'
10411 postuninstall_cmds
=
10415 shlibpath_overrides_runpath
=unknown
10417 dynamic_linker
="$host_os ld.so"
10418 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10419 need_lib_prefix
=unknown
10420 hardcode_into_libs
=no
10422 # when you set need_version to no, make sure it does not cause -set_version
10423 # flags to be left without arguments
10424 need_version
=unknown
10429 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10430 shlibpath_var
=LIBPATH
10432 # AIX 3 has no versioning support, so we append a major version to the name.
10433 soname_spec
='${libname}${release}${shared_ext}$major'
10440 hardcode_into_libs
=yes
10441 if test "$host_cpu" = ia64
; then
10442 # AIX 5 supports IA64
10443 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10444 shlibpath_var
=LD_LIBRARY_PATH
10446 # With GCC up to 2.95.x, collect2 would create an import file
10447 # for dependence libraries. The import file would start with
10448 # the line `#! .'. This would cause the generated library to
10449 # depend on `.', always an invalid library. This was fixed in
10450 # development snapshots of GCC prior to 3.0.
10452 aix4 | aix4.
[01] | aix4.
[01].
*)
10453 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10455 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10458 can_build_shared
=no
10462 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10463 # soname into executable. Probably we can add versioning support to
10464 # collect2, so additional links can be useful in future.
10465 if test "$aix_use_runtimelinking" = yes; then
10466 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10467 # instead of lib<name>.a to let people know that these are not
10468 # typical AIX shared libraries.
10469 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10471 # We preserve .a as extension for shared libraries through AIX4.2
10472 # and later when we are not doing run time linking.
10473 library_names_spec
='${libname}${release}.a $libname.a'
10474 soname_spec
='${libname}${release}${shared_ext}$major'
10476 shlibpath_var
=LIBPATH
10483 # Since July 2007 AmigaOS4 officially supports .so libraries.
10484 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10485 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10488 library_names_spec
='$libname.ixlibrary $libname.a'
10489 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10490 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'
10496 library_names_spec
='${libname}${shared_ext}'
10497 dynamic_linker
="$host_os ld.so"
10498 shlibpath_var
=LIBRARY_PATH
10504 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10505 soname_spec
='${libname}${release}${shared_ext}$major'
10506 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10507 shlibpath_var
=LD_LIBRARY_PATH
10508 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10509 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10510 # the default ld.so.conf also contains /usr/contrib/lib and
10511 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10512 # libtool to hard-code these into programs
10515 cygwin
* | mingw
* | pw32
* | cegcc
*)
10516 version_type
=windows
10521 case $GCC,$host_os in
10522 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10523 library_names_spec
='$libname.dll.a'
10524 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10525 postinstall_cmds
='base_file=`basename \${file}`~
10526 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10527 dldir=$destdir/`dirname \$dlpath`~
10528 test -d \$dldir || mkdir -p \$dldir~
10529 $install_prog $dir/$dlname \$dldir/$dlname~
10530 chmod a+x \$dldir/$dlname~
10531 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10532 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10534 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10535 dlpath=$dir/\$dldll~
10537 shlibpath_overrides_runpath
=yes
10541 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10542 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10543 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10546 # MinGW DLLs use traditional 'lib' prefix
10547 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10548 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10549 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10550 # It is most probably a Windows format PATH printed by
10551 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10552 # path with ; separators, and with drive letters. We can handle the
10553 # drive letters (cygwin fileutils understands them), so leave them,
10554 # especially as we might pass files found there to a mingw objdump,
10555 # which wouldn't understand a cygwinified path. Ahh.
10556 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10558 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10562 # pw32 DLLs use 'pw' prefix rather than 'lib'
10563 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10569 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10572 dynamic_linker
='Win32 ld.exe'
10573 # FIXME: first we should search . and the directory the executable is in
10577 darwin
* | rhapsody
*)
10578 dynamic_linker
="$host_os dyld"
10579 version_type
=darwin
10582 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10583 soname_spec
='${libname}${release}${major}$shared_ext'
10584 shlibpath_overrides_runpath
=yes
10585 shlibpath_var
=DYLD_LIBRARY_PATH
10586 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10588 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10589 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10597 soname_spec
='${libname}${release}${shared_ext}$major'
10598 shlibpath_var
=LD_LIBRARY_PATH
10605 freebsd
* | dragonfly
*)
10606 # DragonFly does not have aout. When/if they implement a new
10607 # versioning mechanism, adjust this.
10608 if test -x /usr
/bin
/objformat
; then
10609 objformat
=`/usr/bin/objformat`
10612 freebsd
[123]*) objformat
=aout
;;
10613 *) objformat
=elf
;;
10616 version_type
=freebsd-
$objformat
10617 case $version_type in
10619 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10624 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10628 shlibpath_var
=LD_LIBRARY_PATH
10631 shlibpath_overrides_runpath
=yes
10633 freebsd3.
[01]* | freebsdelf3.
[01]*)
10634 shlibpath_overrides_runpath
=yes
10635 hardcode_into_libs
=yes
10637 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10638 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10639 shlibpath_overrides_runpath
=no
10640 hardcode_into_libs
=yes
10642 *) # from 4.6 on, and DragonFly
10643 shlibpath_overrides_runpath
=yes
10644 hardcode_into_libs
=yes
10653 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10654 soname_spec
='${libname}${release}${shared_ext}$major'
10655 shlibpath_var
=LD_LIBRARY_PATH
10656 hardcode_into_libs
=yes
10659 hpux9
* | hpux10
* | hpux11
*)
10660 # Give a soname corresponding to the major version so that dld.sl refuses to
10661 # link against other versions.
10668 hardcode_into_libs
=yes
10669 dynamic_linker
="$host_os dld.so"
10670 shlibpath_var
=LD_LIBRARY_PATH
10671 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10672 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10673 soname_spec
='${libname}${release}${shared_ext}$major'
10674 if test "X$HPUX_IA64_MODE" = X32
; then
10675 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10677 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10679 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10683 hardcode_into_libs
=yes
10684 dynamic_linker
="$host_os dld.sl"
10685 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10686 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10687 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10688 soname_spec
='${libname}${release}${shared_ext}$major'
10689 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10690 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10694 dynamic_linker
="$host_os dld.sl"
10695 shlibpath_var
=SHLIB_PATH
10696 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10697 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10698 soname_spec
='${libname}${release}${shared_ext}$major'
10701 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10702 postinstall_cmds
='chmod 555 $lib'
10709 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10710 soname_spec
='${libname}${release}${shared_ext}$major'
10711 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10712 shlibpath_var
=LD_LIBRARY_PATH
10713 shlibpath_overrides_runpath
=no
10714 hardcode_into_libs
=yes
10717 irix5
* | irix6
* | nonstopux
*)
10719 nonstopux
*) version_type
=nonstopux
;;
10721 if test "$lt_cv_prog_gnu_ld" = yes; then
10729 soname_spec
='${libname}${release}${shared_ext}$major'
10730 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10732 irix5
* | nonstopux
*)
10733 libsuff
= shlibsuff
=
10736 case $LD in # libtool.m4 will add one of these switches to LD
10737 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10738 libsuff
= shlibsuff
= libmagic
=32-bit;;
10739 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10740 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10741 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10742 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10743 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10747 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10748 shlibpath_overrides_runpath
=no
10749 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10750 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10751 hardcode_into_libs
=yes
10754 # No shared lib support for Linux oldld, aout, or coff.
10755 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10759 # This must be Linux ELF.
10760 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10764 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10765 soname_spec
='${libname}${release}${shared_ext}$major'
10766 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10767 shlibpath_var
=LD_LIBRARY_PATH
10768 shlibpath_overrides_runpath
=no
10770 # Some binutils ld are patched to set DT_RUNPATH
10771 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10772 $as_echo_n "(cached) " >&6
10774 lt_cv_shlibpath_overrides_runpath
=no
10775 save_LDFLAGS
=$LDFLAGS
10776 save_libdir
=$libdir
10777 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10778 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10780 /* end confdefs.h. */
10790 if ac_fn_c_try_link
"$LINENO"; then :
10791 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10792 lt_cv_shlibpath_overrides_runpath
=yes
10795 rm -f core conftest.err conftest.
$ac_objext \
10796 conftest
$ac_exeext conftest.
$ac_ext
10797 LDFLAGS
=$save_LDFLAGS
10798 libdir
=$save_libdir
10802 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10804 # This implies no fast_install, which is unacceptable.
10805 # Some rework will be needed to allow for fast_install
10806 # before this can be enabled.
10807 hardcode_into_libs
=yes
10809 # Append ld.so.conf contents to the search path
10810 if test -f /etc
/ld.so.conf
; then
10811 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' ' '`
10812 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10815 # We used to test for /lib/ld.so.1 and disable shared libraries on
10816 # powerpc, because MkLinux only supported shared libraries with the
10817 # GNU dynamic linker. Since this was broken with cross compilers,
10818 # most powerpc-linux boxes support dynamic linking these days and
10819 # people can always --disable-shared, the test was removed, and we
10820 # assume the GNU/Linux dynamic linker is in use.
10821 dynamic_linker
='GNU/Linux ld.so'
10828 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10829 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10830 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10831 dynamic_linker
='NetBSD (a.out) ld.so'
10833 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10834 soname_spec
='${libname}${release}${shared_ext}$major'
10835 dynamic_linker
='NetBSD ld.elf_so'
10837 shlibpath_var
=LD_LIBRARY_PATH
10838 shlibpath_overrides_runpath
=yes
10839 hardcode_into_libs
=yes
10844 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10845 shlibpath_var
=LD_LIBRARY_PATH
10846 shlibpath_overrides_runpath
=yes
10853 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10854 soname_spec
='${libname}${release}${shared_ext}$major'
10855 shlibpath_var
=LD_LIBRARY_PATH
10856 shlibpath_overrides_runpath
=no
10857 hardcode_into_libs
=yes
10858 dynamic_linker
='ldqnx.so'
10863 sys_lib_dlsearch_path_spec
="/usr/lib"
10865 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10867 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10868 *) need_version
=no
;;
10870 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10871 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10872 shlibpath_var
=LD_LIBRARY_PATH
10873 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10875 openbsd2.
[89] | openbsd2.
[89].
*)
10876 shlibpath_overrides_runpath
=no
10879 shlibpath_overrides_runpath
=yes
10883 shlibpath_overrides_runpath
=yes
10888 libname_spec
='$name'
10891 library_names_spec
='$libname${shared_ext} $libname.a'
10892 dynamic_linker
='OS/2 ld.exe'
10893 shlibpath_var
=LIBPATH
10896 osf3
* | osf4
* | osf5
*)
10900 soname_spec
='${libname}${release}${shared_ext}$major'
10901 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10902 shlibpath_var
=LD_LIBRARY_PATH
10903 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10904 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10915 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10916 soname_spec
='${libname}${release}${shared_ext}$major'
10917 shlibpath_var
=LD_LIBRARY_PATH
10918 shlibpath_overrides_runpath
=yes
10919 hardcode_into_libs
=yes
10920 # ldd complains unless libraries are executable
10921 postinstall_cmds
='chmod +x $lib'
10926 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10927 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10928 shlibpath_var
=LD_LIBRARY_PATH
10929 shlibpath_overrides_runpath
=yes
10930 if test "$with_gnu_ld" = yes; then
10938 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10939 soname_spec
='${libname}${release}${shared_ext}$major'
10940 shlibpath_var
=LD_LIBRARY_PATH
10941 case $host_vendor in
10943 shlibpath_overrides_runpath
=no
10945 runpath_var
=LD_RUN_PATH
10953 shlibpath_overrides_runpath
=no
10954 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10960 if test -d /usr
/nec
;then
10962 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10963 soname_spec
='$libname${shared_ext}.$major'
10964 shlibpath_var
=LD_LIBRARY_PATH
10968 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10969 version_type
=freebsd-elf
10972 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10973 soname_spec
='${libname}${release}${shared_ext}$major'
10974 shlibpath_var
=LD_LIBRARY_PATH
10975 shlibpath_overrides_runpath
=yes
10976 hardcode_into_libs
=yes
10977 if test "$with_gnu_ld" = yes; then
10978 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10980 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10983 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10987 sys_lib_dlsearch_path_spec
='/usr/lib'
10991 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10995 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10996 shlibpath_var
=LD_LIBRARY_PATH
10997 shlibpath_overrides_runpath
=no
10998 hardcode_into_libs
=yes
11003 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11004 soname_spec
='${libname}${release}${shared_ext}$major'
11005 shlibpath_var
=LD_LIBRARY_PATH
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11013 $as_echo "$dynamic_linker" >&6; }
11014 test "$dynamic_linker" = no
&& can_build_shared
=no
11016 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11017 if test "$GCC" = yes; then
11018 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11021 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11022 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11024 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11025 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11115 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11117 if test -n "$hardcode_libdir_flag_spec" ||
11118 test -n "$runpath_var" ||
11119 test "X$hardcode_automatic" = "Xyes" ; then
11121 # We can hardcode non-existent directories.
11122 if test "$hardcode_direct" != no
&&
11123 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11124 # have to relink, otherwise we might link with an installed library
11125 # when we should be linking with a yet-to-be-installed one
11126 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11127 test "$hardcode_minus_L" != no
; then
11128 # Linking always hardcodes the temporary library directory.
11129 hardcode_action
=relink
11131 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11132 hardcode_action
=immediate
11135 # We cannot hardcode anything, or else we can only hardcode existing
11137 hardcode_action
=unsupported
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11140 $as_echo "$hardcode_action" >&6; }
11142 if test "$hardcode_action" = relink ||
11143 test "$inherit_rpath" = yes; then
11144 # Fast installation is not supported
11145 enable_fast_install
=no
11146 elif test "$shlibpath_overrides_runpath" = yes ||
11147 test "$enable_shared" = no
; then
11148 # Fast installation is not necessary
11149 enable_fast_install
=needless
11157 if test "x$enable_dlopen" != xyes
; then
11158 enable_dlopen
=unknown
11159 enable_dlopen_self
=unknown
11160 enable_dlopen_self_static
=unknown
11167 lt_cv_dlopen
="load_add_on"
11169 lt_cv_dlopen_self
=yes
11172 mingw
* | pw32
* | cegcc
*)
11173 lt_cv_dlopen
="LoadLibrary"
11178 lt_cv_dlopen
="dlopen"
11183 # if libdl is installed we need to link against it
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11185 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11186 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11187 $as_echo_n "(cached) " >&6
11189 ac_check_lib_save_LIBS
=$LIBS
11191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11192 /* end confdefs.h. */
11194 /* Override any GCC internal prototype to avoid an error.
11195 Use char because int might match the return type of a GCC
11196 builtin and then its argument prototype would still apply. */
11209 if ac_fn_c_try_link
"$LINENO"; then :
11210 ac_cv_lib_dl_dlopen
=yes
11212 ac_cv_lib_dl_dlopen
=no
11214 rm -f core conftest.err conftest.
$ac_objext \
11215 conftest
$ac_exeext conftest.
$ac_ext
11216 LIBS
=$ac_check_lib_save_LIBS
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11219 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11220 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11221 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11224 lt_cv_dlopen
="dyld"
11226 lt_cv_dlopen_self
=yes
11233 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11234 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11235 lt_cv_dlopen
="shl_load"
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11238 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11239 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11240 $as_echo_n "(cached) " >&6
11242 ac_check_lib_save_LIBS
=$LIBS
11244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11245 /* end confdefs.h. */
11247 /* Override any GCC internal prototype to avoid an error.
11248 Use char because int might match the return type of a GCC
11249 builtin and then its argument prototype would still apply. */
11257 return shl_load ();
11262 if ac_fn_c_try_link
"$LINENO"; then :
11263 ac_cv_lib_dld_shl_load
=yes
11265 ac_cv_lib_dld_shl_load
=no
11267 rm -f core conftest.err conftest.
$ac_objext \
11268 conftest
$ac_exeext conftest.
$ac_ext
11269 LIBS
=$ac_check_lib_save_LIBS
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11272 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11273 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11274 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11276 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11277 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11278 lt_cv_dlopen
="dlopen"
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11281 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11282 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11283 $as_echo_n "(cached) " >&6
11285 ac_check_lib_save_LIBS
=$LIBS
11287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11288 /* end confdefs.h. */
11290 /* Override any GCC internal prototype to avoid an error.
11291 Use char because int might match the return type of a GCC
11292 builtin and then its argument prototype would still apply. */
11305 if ac_fn_c_try_link
"$LINENO"; then :
11306 ac_cv_lib_dl_dlopen
=yes
11308 ac_cv_lib_dl_dlopen
=no
11310 rm -f core conftest.err conftest.
$ac_objext \
11311 conftest
$ac_exeext conftest.
$ac_ext
11312 LIBS
=$ac_check_lib_save_LIBS
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11315 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11316 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11317 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11320 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11321 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11322 $as_echo_n "(cached) " >&6
11324 ac_check_lib_save_LIBS
=$LIBS
11325 LIBS
="-lsvld $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_svld_dlopen
=yes
11347 ac_cv_lib_svld_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_svld_dlopen" >&5
11354 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11355 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11356 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11359 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11360 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11361 $as_echo_n "(cached) " >&6
11363 ac_check_lib_save_LIBS
=$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. */
11378 return dld_link ();
11383 if ac_fn_c_try_link
"$LINENO"; then :
11384 ac_cv_lib_dld_dld_link
=yes
11386 ac_cv_lib_dld_dld_link
=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_dld_dld_link" >&5
11393 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11394 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11395 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11416 if test "x$lt_cv_dlopen" != xno
; then
11422 case $lt_cv_dlopen in
11424 save_CPPFLAGS
="$CPPFLAGS"
11425 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11427 save_LDFLAGS
="$LDFLAGS"
11428 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11431 LIBS
="$lt_cv_dlopen_libs $LIBS"
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11434 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11435 if test "${lt_cv_dlopen_self+set}" = set; then :
11436 $as_echo_n "(cached) " >&6
11438 if test "$cross_compiling" = yes; then :
11439 lt_cv_dlopen_self
=cross
11441 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11442 lt_status
=$lt_dlunknown
11443 cat > conftest.
$ac_ext <<_LT_EOF
11444 #line 11444 "configure"
11445 #include "confdefs.h"
11454 # define LT_DLGLOBAL RTLD_GLOBAL
11457 # define LT_DLGLOBAL DL_GLOBAL
11459 # define LT_DLGLOBAL 0
11463 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11464 find out it does not work in some platform. */
11465 #ifndef LT_DLLAZY_OR_NOW
11467 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11470 # define LT_DLLAZY_OR_NOW DL_LAZY
11473 # define LT_DLLAZY_OR_NOW RTLD_NOW
11476 # define LT_DLLAZY_OR_NOW DL_NOW
11478 # define LT_DLLAZY_OR_NOW 0
11485 void fnord() { int i=42;}
11488 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11489 int status = $lt_dlunknown;
11493 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11494 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11495 /* dlclose (self); */
11503 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11504 (eval $ac_link) 2>&5
11506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11507 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11508 (.
/conftest
; exit; ) >&5 2>/dev
/null
11510 case x
$lt_status in
11511 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11512 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11513 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11516 # compilation failed
11517 lt_cv_dlopen_self
=no
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11525 $as_echo "$lt_cv_dlopen_self" >&6; }
11527 if test "x$lt_cv_dlopen_self" = xyes
; then
11528 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11530 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11531 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11532 $as_echo_n "(cached) " >&6
11534 if test "$cross_compiling" = yes; then :
11535 lt_cv_dlopen_self_static
=cross
11537 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11538 lt_status
=$lt_dlunknown
11539 cat > conftest.
$ac_ext <<_LT_EOF
11540 #line 11540 "configure"
11541 #include "confdefs.h"
11550 # define LT_DLGLOBAL RTLD_GLOBAL
11553 # define LT_DLGLOBAL DL_GLOBAL
11555 # define LT_DLGLOBAL 0
11559 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11560 find out it does not work in some platform. */
11561 #ifndef LT_DLLAZY_OR_NOW
11563 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11566 # define LT_DLLAZY_OR_NOW DL_LAZY
11569 # define LT_DLLAZY_OR_NOW RTLD_NOW
11572 # define LT_DLLAZY_OR_NOW DL_NOW
11574 # define LT_DLLAZY_OR_NOW 0
11581 void fnord() { int i=42;}
11584 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11585 int status = $lt_dlunknown;
11589 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11590 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11591 /* dlclose (self); */
11599 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11600 (eval $ac_link) 2>&5
11602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11603 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11604 (.
/conftest
; exit; ) >&5 2>/dev
/null
11606 case x
$lt_status in
11607 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11608 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11609 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11612 # compilation failed
11613 lt_cv_dlopen_self_static
=no
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11621 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11624 CPPFLAGS
="$save_CPPFLAGS"
11625 LDFLAGS
="$save_LDFLAGS"
11630 case $lt_cv_dlopen_self in
11631 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11632 *) enable_dlopen_self
=unknown
;;
11635 case $lt_cv_dlopen_self_static in
11636 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11637 *) enable_dlopen_self_static
=unknown
;;
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11660 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11661 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11662 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11663 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11665 $as_echo "yes" >&6; }
11667 # FIXME - insert some real tests, host_os isn't really good enough
11670 if test -n "$STRIP" ; then
11671 striplib
="$STRIP -x"
11672 old_striplib
="$STRIP -S"
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11674 $as_echo "yes" >&6; }
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11677 $as_echo "no" >&6; }
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11682 $as_echo "no" >&6; }
11698 # Report which library types will actually be built
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11700 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11702 $as_echo "$can_build_shared" >&6; }
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11705 $as_echo_n "checking whether to build shared libraries... " >&6; }
11706 test "$can_build_shared" = "no" && enable_shared
=no
11708 # On AIX, shared libraries and static libraries use the same namespace, and
11709 # are all built from PIC.
11712 test "$enable_shared" = yes && enable_static
=no
11713 if test -n "$RANLIB"; then
11714 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11715 postinstall_cmds
='$RANLIB $lib'
11720 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11721 test "$enable_shared" = yes && enable_static
=no
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11726 $as_echo "$enable_shared" >&6; }
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11729 $as_echo_n "checking whether to build static libraries... " >&6; }
11730 # Make sure either enable_shared or enable_static is yes.
11731 test "$enable_shared" = yes || enable_static
=yes
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11733 $as_echo "$enable_static" >&6; }
11740 ac_cpp
='$CPP $CPPFLAGS'
11741 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11742 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11743 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11759 ac_config_commands
="$ac_config_commands libtool"
11764 # Only expand once:
11768 ALL_LINGUAS
="fr sv tr es da vi zh_CN zh_TW ga fi id"
11769 # If we haven't got the data from the intl directory,
11770 # assume NLS is disabled.
11779 if test -f ..
/intl
/config.intl
; then
11780 . ..
/intl
/config.intl
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11783 $as_echo_n "checking whether NLS is requested... " >&6; }
11784 if test x
"$USE_NLS" != xyes
; then
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11786 $as_echo "no" >&6; }
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11789 $as_echo "yes" >&6; }
11791 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
11795 $as_echo_n "checking for catalogs to be installed... " >&6; }
11796 # Look for .po and .gmo files in the source directory.
11799 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
11800 # If there aren't any .gmo files the shell will give us the
11801 # literal string "../path/to/srcdir/po/*.gmo" which has to be
11803 case "$cat" in *\
**)
11806 # The quadruple backslash is collapsed to a double backslash
11807 # by the backticks, then collapsed again by the double quotes,
11808 # leaving us with one backslash in the sed expression (right
11809 # before the dot that mustn't act as a wildcard).
11810 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
11811 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
11812 # The user is allowed to set LINGUAS to a list of languages to
11813 # install catalogs for. If it's empty that means "all of them."
11814 if test "x$LINGUAS" = x
; then
11815 CATALOGS
="$CATALOGS $cat"
11816 XLINGUAS
="$XLINGUAS $lang"
11818 case "$LINGUAS" in *$lang*)
11819 CATALOGS
="$CATALOGS $cat"
11820 XLINGUAS
="$XLINGUAS $lang"
11825 LINGUAS
="$XLINGUAS"
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
11827 $as_echo "$LINGUAS" >&6; }
11841 if test -n "$ac_aux_dir"; then
11842 case "$ac_aux_dir" in
11843 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
11844 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
11847 if test -z "$MKINSTALLDIRS"; then
11848 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11854 $as_echo_n "checking whether NLS is requested... " >&6; }
11855 # Check whether --enable-nls was given.
11856 if test "${enable_nls+set}" = set; then :
11857 enableval
=$enable_nls; USE_NLS
=$enableval
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11863 $as_echo "$USE_NLS" >&6; }
11870 # Prepare PATH_SEPARATOR.
11871 # The user is always right.
11872 if test "${PATH_SEPARATOR+set}" != set; then
11873 echo "#! /bin/sh" >conf$$.sh
11874 echo "exit 0" >>conf$$.sh
11876 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11884 # Find out how to test for executable files. Don't use a zero-byte file,
11885 # as systems may use methods other than mode bits to determine executability.
11886 cat >conf$$.
file <<_ASEOF
11890 chmod +x conf$$.
file
11891 if test -x conf$$.
file >/dev
/null
2>&1; then
11892 ac_executable_p
="test -x"
11894 ac_executable_p
="test -f"
11898 # Extract the first word of "msgfmt", so it can be a program name with args.
11899 set dummy msgfmt
; ac_word
=$2
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11901 $as_echo_n "checking for $ac_word... " >&6; }
11902 if test "${ac_cv_path_MSGFMT+set}" = set; then :
11903 $as_echo_n "(cached) " >&6
11907 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
11910 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11911 for ac_dir
in $PATH; do
11913 test -z "$ac_dir" && ac_dir
=.
11914 for ac_exec_ext
in '' $ac_executable_extensions; do
11915 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11916 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
11917 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11918 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
11925 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
11929 MSGFMT
="$ac_cv_path_MSGFMT"
11930 if test "$MSGFMT" != ":"; then
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11932 $as_echo "$MSGFMT" >&6; }
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11935 $as_echo "no" >&6; }
11938 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11939 set dummy gmsgfmt
; ac_word
=$2
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11941 $as_echo_n "checking for $ac_word... " >&6; }
11942 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
11943 $as_echo_n "(cached) " >&6
11947 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
11950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11951 for as_dir
in $PATH
11954 test -z "$as_dir" && as_dir
=.
11955 for ac_exec_ext
in '' $ac_executable_extensions; do
11956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11957 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
11958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11965 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
11969 GMSGFMT
=$ac_cv_path_GMSGFMT
11970 if test -n "$GMSGFMT"; then
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11972 $as_echo "$GMSGFMT" >&6; }
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11975 $as_echo "no" >&6; }
11981 # Prepare PATH_SEPARATOR.
11982 # The user is always right.
11983 if test "${PATH_SEPARATOR+set}" != set; then
11984 echo "#! /bin/sh" >conf$$.sh
11985 echo "exit 0" >>conf$$.sh
11987 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11995 # Find out how to test for executable files. Don't use a zero-byte file,
11996 # as systems may use methods other than mode bits to determine executability.
11997 cat >conf$$.
file <<_ASEOF
12001 chmod +x conf$$.
file
12002 if test -x conf$$.
file >/dev
/null
2>&1; then
12003 ac_executable_p
="test -x"
12005 ac_executable_p
="test -f"
12009 # Extract the first word of "xgettext", so it can be a program name with args.
12010 set dummy xgettext
; ac_word
=$2
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12012 $as_echo_n "checking for $ac_word... " >&6; }
12013 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
12014 $as_echo_n "(cached) " >&6
12016 case "$XGETTEXT" in
12018 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
12021 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
12022 for ac_dir
in $PATH; do
12024 test -z "$ac_dir" && ac_dir
=.
12025 for ac_exec_ext
in '' $ac_executable_extensions; do
12026 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12027 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
12028 (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
12029 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
12036 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
12040 XGETTEXT
="$ac_cv_path_XGETTEXT"
12041 if test "$XGETTEXT" != ":"; then
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12043 $as_echo "$XGETTEXT" >&6; }
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12046 $as_echo "no" >&6; }
12052 # Prepare PATH_SEPARATOR.
12053 # The user is always right.
12054 if test "${PATH_SEPARATOR+set}" != set; then
12055 echo "#! /bin/sh" >conf$$.sh
12056 echo "exit 0" >>conf$$.sh
12058 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12066 # Find out how to test for executable files. Don't use a zero-byte file,
12067 # as systems may use methods other than mode bits to determine executability.
12068 cat >conf$$.
file <<_ASEOF
12072 chmod +x conf$$.
file
12073 if test -x conf$$.
file >/dev
/null
2>&1; then
12074 ac_executable_p
="test -x"
12076 ac_executable_p
="test -f"
12080 # Extract the first word of "msgmerge", so it can be a program name with args.
12081 set dummy msgmerge
; ac_word
=$2
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12083 $as_echo_n "checking for $ac_word... " >&6; }
12084 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
12085 $as_echo_n "(cached) " >&6
12087 case "$MSGMERGE" in
12089 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
12092 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
12093 for ac_dir
in $PATH; do
12095 test -z "$ac_dir" && ac_dir
=.
12096 for ac_exec_ext
in '' $ac_executable_extensions; do
12097 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12098 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
12099 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
12106 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
12110 MSGMERGE
="$ac_cv_path_MSGMERGE"
12111 if test "$MSGMERGE" != ":"; then
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12113 $as_echo "$MSGMERGE" >&6; }
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12116 $as_echo "no" >&6; }
12120 if test "$GMSGFMT" != ":"; then
12121 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
12122 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
12125 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
12127 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
12132 if test "$XGETTEXT" != ":"; then
12133 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
12134 (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
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
12138 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
12144 ac_config_commands
="$ac_config_commands default-1"
12150 for ac_prog
in 'bison -y' byacc
12152 # Extract the first word of "$ac_prog", so it can be a program name with args.
12153 set dummy
$ac_prog; ac_word
=$2
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12155 $as_echo_n "checking for $ac_word... " >&6; }
12156 if test "${ac_cv_prog_YACC+set}" = set; then :
12157 $as_echo_n "(cached) " >&6
12159 if test -n "$YACC"; then
12160 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
12162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12163 for as_dir
in $PATH
12166 test -z "$as_dir" && as_dir
=.
12167 for ac_exec_ext
in '' $ac_executable_extensions; do
12168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12169 ac_cv_prog_YACC
="$ac_prog"
12170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12179 YACC
=$ac_cv_prog_YACC
12180 if test -n "$YACC"; then
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
12182 $as_echo "$YACC" >&6; }
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12185 $as_echo "no" >&6; }
12189 test -n "$YACC" && break
12191 test -n "$YACC" || YACC
="yacc"
12193 for ac_prog
in flex
lex
12195 # Extract the first word of "$ac_prog", so it can be a program name with args.
12196 set dummy
$ac_prog; ac_word
=$2
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12198 $as_echo_n "checking for $ac_word... " >&6; }
12199 if test "${ac_cv_prog_LEX+set}" = set; then :
12200 $as_echo_n "(cached) " >&6
12202 if test -n "$LEX"; then
12203 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
12205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12206 for as_dir
in $PATH
12209 test -z "$as_dir" && as_dir
=.
12210 for ac_exec_ext
in '' $ac_executable_extensions; do
12211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12212 ac_cv_prog_LEX
="$ac_prog"
12213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12222 LEX
=$ac_cv_prog_LEX
12223 if test -n "$LEX"; then
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
12225 $as_echo "$LEX" >&6; }
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12228 $as_echo "no" >&6; }
12232 test -n "$LEX" && break
12234 test -n "$LEX" || LEX
=":"
12236 if test "x$LEX" != "x:"; then
12237 cat >conftest.l
<<_ACEOF
12243 e { yyless (input () != 0); }
12244 f { unput (yytext[0]); }
12245 . { BEGIN INITIAL; }
12247 #ifdef YYTEXT_POINTER
12248 extern char *yytext;
12253 return ! yylex () + ! yywrap ();
12256 { { ac_try
="$LEX conftest.l"
12257 case "(($ac_try" in
12258 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12259 *) ac_try_echo=$ac_try;;
12261 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12262 $as_echo "$ac_try_echo"; } >&5
12263 (eval "$LEX conftest.l") 2>&5
12265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12266 test $ac_status = 0; }
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
12268 $as_echo_n "checking lex output file root... " >&6; }
12269 if test "${ac_cv_prog_lex_root+set}" = set; then :
12270 $as_echo_n "(cached) " >&6
12273 if test -f lex.yy.c; then
12274 ac_cv_prog_lex_root=lex.yy
12275 elif test -f lexyy.c; then
12276 ac_cv_prog_lex_root=lexyy
12278 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
12282 $as_echo "$ac_cv_prog_lex_root" >&6; }
12283 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
12285 if test -z "${LEXLIB+set}"; then
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
12287 $as_echo_n "checking lex library... " >&6; }
12288 if test "${ac_cv_lib_lex+set}" = set; then :
12289 $as_echo_n "(cached) " >&6
12293 ac_cv_lib_lex='none needed'
12294 for ac_lib in '' -lfl -ll; do
12295 LIBS="$ac_lib $ac_save_LIBS"
12296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12297 /* end confdefs.h. */
12298 `cat $LEX_OUTPUT_ROOT.c
`
12300 if ac_fn_c_try_link "$LINENO"; then :
12301 ac_cv_lib_lex=$ac_lib
12303 rm -f core conftest.err conftest.$ac_objext \
12304 conftest$ac_exeext conftest.$ac_ext
12305 test "$ac_cv_lib_lex" != 'none needed' && break
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
12311 $as_echo "$ac_cv_lib_lex" >&6; }
12312 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
12317 $as_echo_n "checking whether yytext is a pointer... " >&6; }
12318 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
12319 $as_echo_n "(cached) " >&6
12321 # POSIX says lex can declare yytext either as a pointer or an array; the
12322 # default is implementation-dependent. Figure out which it is, since
12323 # not all implementations provide the %pointer and %array declarations.
12324 ac_cv_prog_lex_yytext_pointer=no
12326 LIBS="$LEXLIB $ac_save_LIBS"
12327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12328 /* end confdefs.h. */
12329 #define YYTEXT_POINTER 1
12330 `cat $LEX_OUTPUT_ROOT.c
`
12332 if ac_fn_c_try_link "$LINENO"; then :
12333 ac_cv_prog_lex_yytext_pointer=yes
12335 rm -f core conftest.err conftest.$ac_objext \
12336 conftest$ac_exeext conftest.$ac_ext
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
12341 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
12342 if test $ac_cv_prog_lex_yytext_pointer = yes; then
12344 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
12347 rm -f conftest.l $LEX_OUTPUT_ROOT.c
12350 if test "$LEX" = :; then
12351 LEX=${am_missing_run}flex
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
12356 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
12357 # Check whether --enable-maintainer-mode was given.
12358 if test "${enable_maintainer_mode+set}" = set; then :
12359 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
12361 USE_MAINTAINER_MODE=no
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
12365 $as_echo "$USE_MAINTAINER_MODE" >&6; }
12366 if test $USE_MAINTAINER_MODE = yes; then
12367 MAINTAINER_MODE_TRUE=
12368 MAINTAINER_MODE_FALSE='#'
12370 MAINTAINER_MODE_TRUE='#'
12371 MAINTAINER_MODE_FALSE=
12374 MAINT=$MAINTAINER_MODE_TRUE
12378 GENINSRC_NEVER_TRUE=
12379 GENINSRC_NEVER_FALSE='#'
12381 GENINSRC_NEVER_TRUE='#'
12382 GENINSRC_NEVER_FALSE=
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
12386 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
12387 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
12388 $as_echo_n "(cached) " >&6
12392 gcc_cv_prog_cmp_skip='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
12393 if cmp t1 t2 2 2 > /dev/null 2>&1; then
12394 if cmp t1 t2 1 1 > /dev/null 2>&1; then
12397 gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
12400 if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
12401 if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
12404 gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
12411 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
12412 do_compare="$gcc_cv_prog_cmp_skip"
12416 . ${srcdir}/configure.host
12423 for ac_header in string.h strings.h stdlib.h unistd.h elf-hints.h limits.h sys/param.h
12425 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
12426 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12427 eval as_val=\$$as_ac_Header
12428 if test "x$as_val" = x""yes; then :
12429 cat >>confdefs.h <<_ACEOF
12430 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12437 for ac_func in glob mkstemp realpath sbrk waitpid
12439 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
12440 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12441 eval as_val=\$$as_ac_var
12442 if test "x$as_val" = x""yes; then :
12443 cat >>confdefs.h <<_ACEOF
12444 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12450 ac_header_dirent=no
12451 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
12452 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
12454 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
12455 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
12456 $as_echo_n "(cached) " >&6
12458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12459 /* end confdefs.h. */
12460 #include <sys/types.h>
12472 if ac_fn_c_try_compile "$LINENO"; then :
12473 eval "$as_ac_Header=yes"
12475 eval "$as_ac_Header=no"
12477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12479 eval ac_res=\$$as_ac_Header
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12481 $as_echo "$ac_res" >&6; }
12482 eval as_val=\$$as_ac_Header
12483 if test "x$as_val" = x""yes; then :
12484 cat >>confdefs.h <<_ACEOF
12485 #define `$as_echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
12488 ac_header_dirent=$ac_hdr; break
12492 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
12493 if test $ac_header_dirent = dirent.h; then
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
12495 $as_echo_n "checking for library containing opendir... " >&6; }
12496 if test "${ac_cv_search_opendir+set}" = set; then :
12497 $as_echo_n "(cached) " >&6
12499 ac_func_search_save_LIBS=$LIBS
12500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12501 /* end confdefs.h. */
12503 /* Override any GCC internal prototype to avoid an error.
12504 Use char because int might match the return type of a GCC
12505 builtin and then its argument prototype would still apply. */
12518 for ac_lib in '' dir; do
12519 if test -z "$ac_lib"; then
12520 ac_res="none required"
12523 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12525 if ac_fn_c_try_link "$LINENO"; then :
12526 ac_cv_search_opendir=$ac_res
12528 rm -f core conftest.err conftest.$ac_objext \
12530 if test "${ac_cv_search_opendir+set}" = set; then :
12534 if test "${ac_cv_search_opendir+set}" = set; then :
12537 ac_cv_search_opendir=no
12539 rm conftest.$ac_ext
12540 LIBS=$ac_func_search_save_LIBS
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
12543 $as_echo "$ac_cv_search_opendir" >&6; }
12544 ac_res=$ac_cv_search_opendir
12545 if test "$ac_res" != no; then :
12546 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
12552 $as_echo_n "checking for library containing opendir... " >&6; }
12553 if test "${ac_cv_search_opendir+set}" = set; then :
12554 $as_echo_n "(cached) " >&6
12556 ac_func_search_save_LIBS=$LIBS
12557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12558 /* end confdefs.h. */
12560 /* Override any GCC internal prototype to avoid an error.
12561 Use char because int might match the return type of a GCC
12562 builtin and then its argument prototype would still apply. */
12575 for ac_lib in '' x; do
12576 if test -z "$ac_lib"; then
12577 ac_res="none required"
12580 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12582 if ac_fn_c_try_link "$LINENO"; then :
12583 ac_cv_search_opendir=$ac_res
12585 rm -f core conftest.err conftest.$ac_objext \
12587 if test "${ac_cv_search_opendir+set}" = set; then :
12591 if test "${ac_cv_search_opendir+set}" = set; then :
12594 ac_cv_search_opendir=no
12596 rm conftest.$ac_ext
12597 LIBS=$ac_func_search_save_LIBS
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
12600 $as_echo "$ac_cv_search_opendir" >&6; }
12601 ac_res=$ac_cv_search_opendir
12602 if test "$ac_res" != no; then :
12603 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
12611 $as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
12612 if test "${ld_cv_decl_getopt_unistd_h+set}" = set; then :
12613 $as_echo_n "(cached) " >&6
12615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12616 /* end confdefs.h. */
12617 #include <unistd.h>
12621 extern int getopt (int, char *const*, const char *);
12626 if ac_fn_c_try_compile "$LINENO"; then :
12627 ld_cv_decl_getopt_unistd_h=yes
12629 ld_cv_decl_getopt_unistd_h=no
12631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_cv_decl_getopt_unistd_h" >&5
12635 $as_echo "$ld_cv_decl_getopt_unistd_h" >&6; }
12636 if test $ld_cv_decl_getopt_unistd_h = yes; then
12638 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
12644 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
12646 $as_echo "#define USE_BINARY_FOPEN 1" >>confdefs.h
12650 ac_fn_c_check_decl "$LINENO" "strstr" "ac_cv_have_decl_strstr" "$ac_includes_default"
12651 if test "x$ac_cv_have_decl_strstr" = x""yes; then :
12657 cat >>confdefs.h <<_ACEOF
12658 #define HAVE_DECL_STRSTR $ac_have_decl
12660 ac_fn_c_check_decl "$LINENO" "free" "ac_cv_have_decl_free" "$ac_includes_default"
12661 if test "x$ac_cv_have_decl_free" = x""yes; then :
12667 cat >>confdefs.h <<_ACEOF
12668 #define HAVE_DECL_FREE $ac_have_decl
12670 ac_fn_c_check_decl "$LINENO" "sbrk" "ac_cv_have_decl_sbrk" "$ac_includes_default"
12671 if test "x$ac_cv_have_decl_sbrk" = x""yes; then :
12677 cat >>confdefs.h <<_ACEOF
12678 #define HAVE_DECL_SBRK $ac_have_decl
12680 ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
12681 if test "x$ac_cv_have_decl_getenv" = x""yes; then :
12687 cat >>confdefs.h <<_ACEOF
12688 #define HAVE_DECL_GETENV $ac_have_decl
12690 ac_fn_c_check_decl "$LINENO" "environ" "ac_cv_have_decl_environ" "$ac_includes_default"
12691 if test "x$ac_cv_have_decl_environ" = x""yes; then :
12697 cat >>confdefs.h <<_ACEOF
12698 #define HAVE_DECL_ENVIRON $ac_have_decl
12702 # Link in zlib if we can. This is needed only for the bootstrap tests
12703 # right now, since those tests use libbfd, which depends on zlib.
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
12705 $as_echo_n "checking for library containing zlibVersion... " >&6; }
12706 if test "${ac_cv_search_zlibVersion+set}" = set; then :
12707 $as_echo_n "(cached) " >&6
12709 ac_func_search_save_LIBS=$LIBS
12710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12711 /* end confdefs.h. */
12713 /* Override any GCC internal prototype to avoid an error.
12714 Use char because int might match the return type of a GCC
12715 builtin and then its argument prototype would still apply. */
12719 char zlibVersion ();
12723 return zlibVersion ();
12728 for ac_lib in '' z; do
12729 if test -z "$ac_lib"; then
12730 ac_res="none required"
12733 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12735 if ac_fn_c_try_link "$LINENO"; then :
12736 ac_cv_search_zlibVersion=$ac_res
12738 rm -f core conftest.err conftest.$ac_objext \
12740 if test "${ac_cv_search_zlibVersion+set}" = set; then :
12744 if test "${ac_cv_search_zlibVersion+set}" = set; then :
12747 ac_cv_search_zlibVersion=no
12749 rm conftest.$ac_ext
12750 LIBS=$ac_func_search_save_LIBS
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_zlibVersion" >&5
12753 $as_echo "$ac_cv_search_zlibVersion" >&6; }
12754 ac_res=$ac_cv_search_zlibVersion
12755 if test "$ac_res" != no; then :
12756 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12757 for ac_header in zlib.h
12759 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12760 if test "x$ac_cv_header_zlib_h" = x""yes; then :
12761 cat >>confdefs.h <<_ACEOF
12762 #define HAVE_ZLIB_H 1
12772 # When converting linker scripts into strings for use in emulation
12773 # files, use astring.sed if the compiler supports ANSI string
12774 # concatenation, or ostring.sed otherwise. This is to support the
12775 # broken Microsoft MSVC compiler, which limits the length of string
12776 # constants, while still supporting pre-ANSI compilers which do not
12777 # support string concatenation.
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ANSI C string concatenation works" >&5
12779 $as_echo_n "checking whether ANSI C string concatenation works... " >&6; }
12780 if test "${ld_cv_string_concatenation+set}" = set; then :
12781 $as_echo_n "(cached) " >&6
12783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12784 /* end confdefs.h. */
12794 if ac_fn_c_try_compile "$LINENO"; then :
12795 ld_cv_string_concatenation=yes
12797 ld_cv_string_concatenation=no
12799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_cv_string_concatenation" >&5
12803 $as_echo "$ld_cv_string_concatenation" >&6; }
12804 if test "$ld_cv_string_concatenation" = "yes"; then
12805 STRINGIFY=astring.sed
12807 STRINGIFY=ostring.sed
12811 # target-specific stuff:
12821 for targ_alias in `echo $target_alias $enable_targets |
sed 's/,/ /g'`
12823 if test "$targ_alias" = "all"; then
12826 # Canonicalize the secondary target names.
12827 result=`$ac_config_sub $targ_alias 2>/dev
/null
`
12828 if test -n "$result"; then
12834 . ${srcdir}/configure.tgt
12836 if test "$targ" = "$target"; then
12840 if test x${want64} = xfalse; then
12841 . ${srcdir}/../bfd/config.bfd
12844 if test x${want64} = xtrue; then
12845 targ_extra_emuls="$targ_extra_emuls $targ64_extra_emuls"
12846 targ_extra_libpath="$targ_extra_libpath $targ64_extra_libpath"
12849 for i in $targ_emul $targ_extra_emuls $targ_extra_libpath; do
12850 case " $all_emuls " in
12853 all_emuls="$all_emuls e${i}.o"
12854 eval result=\$tdir_$i
12855 test -z "$result" && result=$targ_alias
12856 echo tdir_$i=$result >> tdirs
12861 for i in $targ_emul $targ_extra_libpath; do
12862 case " $all_libpath " in
12865 if test -z "$all_libpath"; then
12868 all_libpath="$all_libpath ${i}"
12874 for i in $targ_extra_ofiles; do
12875 case " $all_emul_extras " in
12878 all_emul_extras="$all_emul_extras ${i}"
12890 if test x${all_targets} = xtrue; then
12891 if test x${want64} = xfalse; then
12892 # The cast to long int works around a bug in the HP C Compiler
12893 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12894 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
12895 # This bug is HP SR number 8606223364.
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
12897 $as_echo_n "checking size of long... " >&6; }
12898 if test "${ac_cv_sizeof_long+set}" = set; then :
12899 $as_echo_n "(cached) " >&6
12901 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
12904 if test "$ac_cv_type_long" = yes; then
12905 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12906 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
12907 { as_fn_set_status 77
12908 as_fn_error "cannot compute sizeof (long)
12909 See \`config.log
' for more details." "$LINENO" 5; }; }
12911 ac_cv_sizeof_long=0
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
12917 $as_echo "$ac_cv_sizeof_long" >&6; }
12921 cat >>confdefs.h <<_ACEOF
12922 #define SIZEOF_LONG $ac_cv_sizeof_long
12926 if test "x${ac_cv_sizeof_long}" = "x8"; then
12930 if test x${want64} = xtrue; then
12931 EMULATION_OFILES='$
(ALL_EMULATIONS
) $
(ALL_64_EMULATIONS
)'
12933 EMULATION_OFILES='$
(ALL_EMULATIONS
)'
12935 EMUL_EXTRA_OFILES='$
(ALL_EMUL_EXTRA_OFILES
)'
12937 EMULATION_OFILES=$all_emuls
12938 EMUL_EXTRA_OFILES=$all_emul_extras
12944 EMULATION_LIBPATH=$all_libpath
12947 if test x${enable_static} = xno; then
12948 TESTBFDLIB="--rpath ../bfd/.libs ../bfd/.libs/libbfd.so"
12950 TESTBFDLIB="../bfd/.libs/libbfd.a"
12954 target_vendor=${target_vendor=$host_vendor}
12955 case "$target_vendor" in
12956 hp) EXTRA_SHLIB_EXTENSION=".sl" ;;
12957 *) EXTRA_SHLIB_EXTENSION= ;;
12960 case "$target_os" in
12961 lynxos) EXTRA_SHLIB_EXTENSION=".a" ;;
12964 if test x${EXTRA_SHLIB_EXTENSION} != x ; then
12966 cat >>confdefs.h <<_ACEOF
12967 #define EXTRA_SHLIB_EXTENSION "$EXTRA_SHLIB_EXTENSION"
12977 ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
12979 cat >confcache <<\_ACEOF
12980 # This file is a shell script that caches the results of configure
12981 # tests run on this system so they can be shared between configure
12982 # scripts and configure runs, see configure's option
--config-cache.
12983 # It is not useful on other systems. If it contains results you don't
12984 # want to keep, you may remove or edit it.
12986 # config.status only pays attention to the cache file if you give it
12987 # the --recheck option to rerun configure.
12989 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12990 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12991 # following values.
12995 # The following way of writing the cache mishandles newlines in values,
12996 # but we know of no workaround that is simple, portable, and efficient.
12997 # So, we kill variables containing newlines.
12998 # Ultrix sh set writes to stderr and can't be redirected directly,
12999 # and sets the high bit in the cache file unless we assign to the vars.
13001 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13002 eval ac_val
=\$
$ac_var
13006 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13007 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13010 _ | IFS | as_nl
) ;; #(
13011 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13012 *) { eval $ac_var=; unset $ac_var;} ;;
13018 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13019 *${as_nl}ac_space
=\
*)
13020 # `set' does not quote correctly, so add quotes: double-quote
13021 # substitution turns \\\\ into \\, and sed turns \\ into \.
13024 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13027 # `set' quotes correctly as required by POSIX, so do not add quotes.
13028 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13037 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13039 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13041 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13042 if test -w "$cache_file"; then
13043 test "x$cache_file" != "x/dev/null" &&
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13045 $as_echo "$as_me: updating cache $cache_file" >&6;}
13046 cat confcache
>$cache_file
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13049 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13054 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13055 # Let make expand exec_prefix.
13056 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13058 DEFS
=-DHAVE_CONFIG_H
13062 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13063 # 1. Remove the extension, and $U if already installed.
13064 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13065 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13066 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13067 # will be set to the directory where LIBOBJS objects are built.
13068 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13069 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
13071 LIBOBJS
=$ac_libobjs
13073 LTLIBOBJS
=$ac_ltlibobjs
13076 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13077 as_fn_error
"conditional \"AMDEP\" was never defined.
13078 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13080 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13081 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
13082 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13084 if test -n "$EXEEXT"; then
13086 am__EXEEXT_FALSE
='#'
13088 am__EXEEXT_TRUE
='#'
13092 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13093 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
13094 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13096 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13097 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
13098 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13100 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
13101 as_fn_error
"conditional \"GENINSRC_NEVER\" was never defined.
13102 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13105 : ${CONFIG_STATUS=./config.status}
13107 ac_clean_files_save
=$ac_clean_files
13108 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13110 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13112 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13114 # Generated by $as_me.
13115 # Run this file to recreate the current configuration.
13116 # Compiler output produced by configure, useful for debugging
13117 # configure, is in config.log if it exists.
13120 ac_cs_recheck=false
13123 SHELL=\${CONFIG_SHELL-$SHELL}
13126 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
13127 ## -------------------- ##
13128 ## M4sh Initialization. ##
13129 ## -------------------- ##
13131 # Be more Bourne compatible
13132 DUALCASE
=1; export DUALCASE
# for MKS sh
13133 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13136 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13137 # is contrary to our usage. Disable this feature.
13138 alias -g '${1+"$@"}'='"$@"'
13139 setopt NO_GLOB_SUBST
13141 case `(set -o) 2>/dev/null` in #(
13153 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13154 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13155 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13156 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13157 # Prefer a ksh shell builtin over an external printf program on Solaris,
13158 # but without wasting forks for bash or zsh.
13159 if test -z "$BASH_VERSION$ZSH_VERSION" \
13160 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13161 as_echo='print
-r --'
13162 as_echo_n='print
-rn --'
13163 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13164 as_echo='printf %s
\n'
13165 as_echo_n='printf %s
'
13167 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13168 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13169 as_echo_n='/usr
/ucb
/echo -n'
13171 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13172 as_echo_n_body='eval
13176 expr "X$arg" : "X\\(.*\\)$as_nl";
13177 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13179 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13181 export as_echo_n_body
13182 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13184 export as_echo_body
13185 as_echo='sh
-c $as_echo_body as_echo
'
13188 # The user is always right.
13189 if test "${PATH_SEPARATOR+set}" != set; then
13191 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13192 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13199 # We need space, tab and new line, in precisely that order. Quoting is
13200 # there to prevent editors from complaining about space-tab.
13201 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13202 # splitting by setting IFS to empty value.)
13205 # Find who we are. Look in the path if we contain no directory separator.
13207 *[\\/]* ) as_myself=$0 ;;
13208 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13209 for as_dir in $PATH
13212 test -z "$as_dir" && as_dir=.
13213 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13219 # We did not find ourselves, most probably we were run as `sh COMMAND'
13220 # in which case we are not to be found in the path.
13221 if test "x$as_myself" = x
; then
13224 if test ! -f "$as_myself"; then
13225 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13229 # Unset variables that we do not need and which cause bugs (e.g. in
13230 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13231 # suppresses any "Segmentation fault" message there. '((' could
13232 # trigger a bug in pdksh 5.2.14.
13233 for as_var
in BASH_ENV ENV MAIL MAILPATH
13234 do eval test x\
${$as_var+set} = xset \
13235 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13248 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13251 # as_fn_error ERROR [LINENO LOG_FD]
13252 # ---------------------------------
13253 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13254 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13255 # script with status $?, using 1 if that was 0.
13258 as_status
=$?
; test $as_status -eq 0 && as_status
=1
13260 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13261 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
13263 $as_echo "$as_me: error: $1" >&2
13264 as_fn_exit
$as_status
13268 # as_fn_set_status STATUS
13269 # -----------------------
13270 # Set $? to STATUS, without forking.
13271 as_fn_set_status
()
13274 } # as_fn_set_status
13276 # as_fn_exit STATUS
13277 # -----------------
13278 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13282 as_fn_set_status
$1
13288 # Portably unset VAR.
13291 { eval $1=; unset $1;}
13293 as_unset
=as_fn_unset
13294 # as_fn_append VAR VALUE
13295 # ----------------------
13296 # Append the text in VALUE to the end of the definition contained in VAR. Take
13297 # advantage of any shell optimizations that allow amortized linear growth over
13298 # repeated appends, instead of the typical quadratic growth present in naive
13300 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13301 eval 'as_fn_append ()
13312 # as_fn_arith ARG...
13313 # ------------------
13314 # Perform arithmetic evaluation on the ARGs, and store the result in the
13315 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13316 # must be portable across $(()) and expr.
13317 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13318 eval 'as_fn_arith ()
13325 as_val
=`expr "$@" || test $? -eq 1`
13330 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13331 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13337 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13338 as_basename
=basename
13343 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13349 as_me
=`$as_basename -- "$0" ||
13350 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13351 X"$0" : 'X\(//\)$' \| \
13352 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13354 sed '/^.*\/\([^/][^/]*\)\/*$/{
13368 # Avoid depending upon Character Ranges.
13369 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13370 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13371 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13372 as_cr_digits
='0123456789'
13373 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13375 ECHO_C
= ECHO_N
= ECHO_T
=
13376 case `echo -n x` in #(((((
13378 case `echo 'xy\c'` in
13379 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13381 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13388 rm -f conf$$ conf$$.exe conf$$.
file
13389 if test -d conf$$.dir
; then
13390 rm -f conf$$.dir
/conf$$.
file
13393 mkdir conf$$.dir
2>/dev
/null
13395 if (echo >conf$$.
file) 2>/dev
/null
; then
13396 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13398 # ... but there are two gotchas:
13399 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13400 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13401 # In both cases, we have to default to `cp -p'.
13402 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13404 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13412 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13413 rmdir conf$$.dir
2>/dev
/null
13418 # Create "$as_dir" as a directory, including parents if necessary.
13423 -*) as_dir
=.
/$as_dir;;
13425 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13429 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13430 *) as_qdir
=$as_dir;;
13432 as_dirs
="'$as_qdir' $as_dirs"
13433 as_dir
=`$as_dirname -- "$as_dir" ||
13434 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13435 X"$as_dir" : 'X\(//\)[^/]' \| \
13436 X"$as_dir" : 'X\(//\)$' \| \
13437 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13438 $as_echo X"$as_dir" |
13439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13443 /^X\(\/\/\)[^/].*/{
13456 test -d "$as_dir" && break
13458 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13459 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
13463 if mkdir
-p .
2>/dev
/null
; then
13464 as_mkdir_p
='mkdir -p "$as_dir"'
13466 test -d .
/-p && rmdir .
/-p
13470 if test -x / >/dev
/null
2>&1; then
13471 as_test_x
='test -x'
13473 if ls -dL / >/dev
/null
2>&1; then
13480 if test -d "$1"; then
13486 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13487 ???[sx]*):;;*)false;;esac;fi
13491 as_executable_p
=$as_test_x
13493 # Sed expression to map a string onto a valid CPP name.
13494 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13496 # Sed expression to map a string onto a valid variable name.
13497 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13501 ## ----------------------------------- ##
13502 ## Main body of $CONFIG_STATUS script. ##
13503 ## ----------------------------------- ##
13505 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13508 # Save the log message, to keep $0 and so on meaningful, and to
13509 # report actual input values of CONFIG_FILES etc. instead of their
13510 # values after options handling.
13512 This file was extended by $as_me, which was
13513 generated by GNU Autoconf 2.64. Invocation command line was
13515 CONFIG_FILES = $CONFIG_FILES
13516 CONFIG_HEADERS = $CONFIG_HEADERS
13517 CONFIG_LINKS = $CONFIG_LINKS
13518 CONFIG_COMMANDS = $CONFIG_COMMANDS
13521 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13526 case $ac_config_files in *"
13527 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13530 case $ac_config_headers in *"
13531 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13535 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13536 # Files that config.status was made for.
13537 config_files="$ac_config_files"
13538 config_headers="$ac_config_headers"
13539 config_commands="$ac_config_commands"
13543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13545 \`$as_me' instantiates files and other configuration actions
13546 from templates according to the current configuration. Unless the files
13547 and actions are specified as TAGs, all are instantiated by default.
13549 Usage: $0 [OPTION]... [TAG]...
13551 -h, --help print this help, then exit
13552 -V, --version print version number and configuration settings, then exit
13553 -q, --quiet, --silent
13554 do not print progress messages
13555 -d, --debug don't remove temporary files
13556 --recheck update $as_me by reconfiguring in the same conditions
13557 --file=FILE[:TEMPLATE]
13558 instantiate the configuration file FILE
13559 --header=FILE[:TEMPLATE]
13560 instantiate the configuration header FILE
13562 Configuration files:
13565 Configuration headers:
13568 Configuration commands:
13571 Report bugs to the package provider."
13574 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13577 configured by $0, generated by GNU Autoconf 2.64,
13578 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13580 Copyright (C) 2009 Free Software Foundation, Inc.
13581 This config.status script is free software; the Free Software Foundation
13582 gives unlimited permission to copy, distribute and modify it."
13589 test -n "\$AWK" || AWK=awk
13592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13593 # The default lists apply if the user does not specify any file.
13599 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13600 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13611 # Handling of the options.
13612 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13614 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13615 $as_echo "$ac_cs_version"; exit ;;
13616 --debug |
--debu |
--deb |
--de |
--d |
-d )
13618 --file |
--fil |
--fi |
--f )
13621 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13623 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13624 ac_need_defaults
=false
;;
13625 --header |
--heade |
--head |
--hea )
13628 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13630 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13631 ac_need_defaults
=false
;;
13633 # Conflict between --help and --header
13634 as_fn_error
"ambiguous option: \`$1'
13635 Try \`$0 --help' for more information.";;
13636 --help |
--hel |
-h )
13637 $as_echo "$ac_cs_usage"; exit ;;
13638 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13639 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13642 # This is an error.
13643 -*) as_fn_error
"unrecognized option: \`$1'
13644 Try \`$0 --help' for more information." ;;
13646 *) as_fn_append ac_config_targets
" $1"
13647 ac_need_defaults
=false
;;
13653 ac_configure_extra_args
=
13655 if $ac_cs_silent; then
13657 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13661 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13662 if \$ac_cs_recheck; then
13663 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13665 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13666 CONFIG_SHELL='$SHELL'
13667 export CONFIG_SHELL
13672 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13676 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13677 ## Running $as_me. ##
13683 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13687 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13690 # The HP-UX ksh and POSIX shell print the target directory to stdout
13691 # if CDPATH is set.
13692 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13694 sed_quote_subst='$sed_quote_subst'
13695 double_quote_subst='$double_quote_subst'
13696 delay_variable_subst='$delay_variable_subst'
13697 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13698 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13699 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13700 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13701 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13702 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13703 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13704 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13705 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13706 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13707 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13708 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13709 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13710 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13711 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13712 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13713 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13714 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13715 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13716 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13717 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13718 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13719 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13720 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13721 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13722 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13723 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13724 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13725 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13726 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13727 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13728 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13729 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13730 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13731 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13732 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13733 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13734 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13735 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13736 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13737 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13738 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13739 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13740 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13741 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"`'
13742 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"`'
13743 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13744 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13745 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13746 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13747 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13748 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13749 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13750 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13751 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13752 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13753 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13754 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13755 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13756 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13757 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13758 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13759 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13760 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13761 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13762 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13763 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13764 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13765 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13766 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13767 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13768 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13769 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13770 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13771 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13772 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13773 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13774 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13775 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13776 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13777 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13778 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13779 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13780 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13781 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13782 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13783 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13784 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13785 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13786 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13787 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13788 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13789 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13790 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13791 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13792 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13793 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13794 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13795 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13796 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13797 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13798 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13799 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13800 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13801 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13802 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13803 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13804 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13805 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13806 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13807 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13808 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13809 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13810 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13811 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13812 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13813 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13814 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13817 LTCFLAGS='$LTCFLAGS'
13818 compiler='$compiler_DEFAULT'
13820 # Quote evaled strings.
13832 deplibs_check_method \
13841 lt_cv_sys_global_symbol_pipe \
13842 lt_cv_sys_global_symbol_to_cdecl \
13843 lt_cv_sys_global_symbol_to_c_name_address \
13844 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13847 lt_prog_compiler_no_builtin_flag \
13848 lt_prog_compiler_wl \
13849 lt_prog_compiler_pic \
13850 lt_prog_compiler_static \
13851 lt_cv_prog_compiler_c_o \
13859 export_dynamic_flag_spec \
13860 whole_archive_flag_spec \
13861 compiler_needs_object \
13863 allow_undefined_flag \
13864 no_undefined_flag \
13865 hardcode_libdir_flag_spec \
13866 hardcode_libdir_flag_spec_ld \
13867 hardcode_libdir_separator \
13872 variables_saved_for_relink \
13874 library_names_spec \
13879 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13880 *[\\\\\\\`\\"\\\$]*)
13881 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13884 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13889 # Double-quote double-evaled strings.
13890 for var in reload_cmds \
13891 old_postinstall_cmds \
13892 old_postuninstall_cmds \
13894 extract_expsyms_cmds \
13895 old_archive_from_new_cmds \
13896 old_archive_from_expsyms_cmds \
13898 archive_expsym_cmds \
13900 module_expsym_cmds \
13901 export_symbols_cmds \
13904 postuninstall_cmds \
13906 sys_lib_search_path_spec \
13907 sys_lib_dlsearch_path_spec; do
13908 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13909 *[\\\\\\\`\\"\\\$]*)
13910 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13913 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13918 # Fix-up fallback echo if it was mangled by the above quoting rules.
13920 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13924 ac_aux_dir='$ac_aux_dir'
13925 xsi_shell='$xsi_shell'
13926 lt_shell_append='$lt_shell_append'
13928 # See if we are running on zsh, and set the options which allow our
13929 # commands through without removal of \ escapes INIT.
13930 if test -n "\${ZSH_VERSION+set}" ; then
13931 setopt NO_GLOB_SUBST
13937 TIMESTAMP='$TIMESTAMP'
13943 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
13944 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
13946 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
13947 # Capture the value of LINGUAS because we need it to compute CATALOGS.
13948 LINGUAS="${LINGUAS-%UNSET%}"
13953 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13955 # Handling of arguments.
13956 for ac_config_target
in $ac_config_targets
13958 case $ac_config_target in
13959 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13960 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
13961 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13962 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
13963 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13964 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
13966 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13971 # If the user did not use the arguments to specify the items to instantiate,
13972 # then the envvar interface is used. Set only those that are not.
13973 # We use the long form for the default assignment because of an extremely
13974 # bizarre bug on SunOS 4.1.3.
13975 if $ac_need_defaults; then
13976 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13977 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13978 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13981 # Have a temporary directory for convenience. Make it in the build tree
13982 # simply because there is no reason against having it here, and in addition,
13983 # creating and moving files from /tmp can sometimes cause problems.
13984 # Hook for its removal unless debugging.
13985 # Note that there is a small window in which the directory will not be cleaned:
13986 # after its creation but before its name has been assigned to `$tmp'.
13990 trap 'exit_status=$?
13991 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13993 trap 'as_fn_exit 1' 1 2 13 15
13995 # Create a (secure) tmp directory for tmp files.
13998 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13999 test -n "$tmp" && test -d "$tmp"
14002 tmp
=.
/conf$$
-$RANDOM
14003 (umask 077 && mkdir
"$tmp")
14004 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
14006 # Set up the scripts for CONFIG_FILES section.
14007 # No need to generate them if there are no CONFIG_FILES.
14008 # This happens for instance with `./config.status config.h'.
14009 if test -n "$CONFIG_FILES"; then
14011 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
14012 ac_cs_awk_getline
=:
14013 ac_cs_awk_pipe_init
=
14014 ac_cs_awk_read_file
='
14015 while ((getline aline < (F[key])) > 0)
14018 ac_cs_awk_pipe_fini
=
14020 ac_cs_awk_getline
=false
14021 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
14022 ac_cs_awk_read_file
='
14024 print "cat " F[key] " &&"
14025 '$ac_cs_awk_pipe_init
14026 # The final `:' finishes the AND list.
14027 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
14029 ac_cr
=`echo X | tr X '\015'`
14030 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14031 # But we know of no other shell where ac_cr would be empty at this
14032 # point, so we can use a bashism as a fallback.
14033 if test "x$ac_cr" = x
; then
14034 eval ac_cr
=\$
\'\\r
\'
14036 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14037 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14040 ac_cs_awk_cr
=$ac_cr
14043 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14046 # Create commands to substitute file output variables.
14048 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
14049 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
14050 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
14053 } >conf$
$files.sh
&&
14054 . .
/conf$
$files.sh ||
14055 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
14056 rm -f conf$
$files.sh
14059 echo "cat >conf$$subs.awk <<_ACEOF" &&
14060 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14062 } >conf$$subs.sh ||
14063 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14064 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14066 for ac_last_try in false false false false false :; do
14067 . ./conf$$subs.sh ||
14068 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14070 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14071 if test $ac_delim_n = $ac_delim_num; then
14073 elif $ac_last_try; then
14074 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14076 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14079 rm -f conf$$subs.sh
14081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14082 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14086 s/^/S["/; s
/!.
*/"]=/
14096 s/\(.\{148\}\).*/\1/
14098 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14103 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14110 s/\(.\{148\}\).*/\1/
14112 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14116 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14121 ' <conf$$subs.awk | sed '
14126 ' >>$CONFIG_STATUS || ac_write_fail=1
14127 rm -f conf$$subs.awk
14128 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14130 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14131 for (key in S) S_is_set[key] = 1
14133 \$ac_cs_awk_pipe_init
14137 nfields = split(line, field, "@
")
14139 len = length(field[1])
14140 for (i = 2; i < nfields; i++) {
14142 keylen = length(key)
14143 if (S_is_set[key]) {
14145 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14146 len += length(value) + length(field[++i])
14151 if (nfields == 3 && !substed) {
14153 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
14154 \$ac_cs_awk_read_file
14160 \$ac_cs_awk_pipe_fini
14163 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14164 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14165 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14168 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14169 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
14172 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14173 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14174 # trailing colons and then remove the whole line if VPATH becomes empty
14175 # (actually we leave an empty line to preserve line numbers).
14176 if test "x
$srcdir" = x.; then
14177 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14178 s/:*\$(srcdir):*/:/
14179 s/:*\${srcdir}:*/:/
14181 s/^\([^=]*=[ ]*\):*/\1/
14187 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14188 fi # test -n "$CONFIG_FILES"
14190 # Set up the scripts for CONFIG_HEADERS section.
14191 # No need to generate them if there are no CONFIG_HEADERS.
14192 # This happens for instance with `./config.status Makefile'.
14193 if test -n "$CONFIG_HEADERS"; then
14194 cat >"$tmp/defines.
awk" <<\_ACAWK ||
14198 # Transform confdefs.h into an awk script `defines.awk', embedded as
14199 # here-document in config.status, that substitutes the proper values into
14200 # config.h.in to produce config.h.
14202 # Create a delimiter string that does not exist in confdefs.h, to ease
14203 # handling of long lines.
14205 for ac_last_try in false false :; do
14206 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
14207 if test -z "$ac_t"; then
14209 elif $ac_last_try; then
14210 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
14212 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14216 # For the awk script, D is an array of macro values keyed by name,
14217 # likewise P contains macro parameters if any. Preserve backslash
14218 # newline sequences.
14220 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14222 s/.\{148\}/&'"$ac_delim"'/g
14225 s/^[ ]*#[ ]*define[ ][ ]*/ /
14232 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14234 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14238 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14239 D["\
1"]=" \
3\\\\\\n
"\\/p
14241 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14246 s/.\{148\}/&'"$ac_delim"'/g
14251 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14254 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14256 ' <confdefs.h | sed '
14257 s/'"$ac_delim"'/"\\\
14258 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14260 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14261 for (key in D) D_is_set[key] = 1
14264 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14266 split(line, arg, " ")
14267 if (arg[1] == "#") {
14271 defundef
= substr
(arg
[1], 2)
14274 split(mac1
, mac2
, "(") #)
14276 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14277 if (D_is_set
[macro
]) {
14278 # Preserve the white space surrounding the "#".
14279 print prefix
"define", macro P
[macro
] D
[macro
]
14282 # Replace #undef with comments. This is necessary, for example,
14283 # in the case of _POSIX_SOURCE, which is predefined and required
14284 # on some systems where configure will not decide to define it.
14285 if (defundef
== "undef") {
14286 print
"/*", prefix defundef
, macro
, "*/"
14294 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14295 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
14296 fi # test -n "$CONFIG_HEADERS"
14299 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14304 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14306 case $ac_mode$ac_tag in
14308 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14309 :[FH
]-) ac_tag
=-:-;;
14310 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14327 -) ac_f
="$tmp/stdin";;
14328 *) # Look for the file first in the build tree, then in the source tree
14329 # (if the path is not absolute). The absolute path cannot be DOS-style,
14330 # because $ac_f cannot contain `:'.
14334 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14336 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
14338 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14339 as_fn_append ac_file_inputs
" '$ac_f'"
14342 # Let's still pretend it is `configure' which instantiates (i.e., don't
14343 # use $as_me), people would be surprised to read:
14344 # /* config.h. Generated by config.status. */
14345 configure_input
='Generated from '`
14346 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14348 if test x
"$ac_file" != x-
; then
14349 configure_input
="$ac_file. $configure_input"
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14351 $as_echo "$as_me: creating $ac_file" >&6;}
14353 # Neutralize special characters interpreted by sed in replacement strings.
14354 case $configure_input in #(
14355 *\
&* |
*\|
* |
*\\* )
14356 ac_sed_conf_input
=`$as_echo "$configure_input" |
14357 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14358 *) ac_sed_conf_input
=$configure_input;;
14362 *:-:* |
*:-) cat >"$tmp/stdin" \
14363 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
14368 ac_dir
=`$as_dirname -- "$ac_file" ||
14369 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14370 X"$ac_file" : 'X\(//\)[^/]' \| \
14371 X"$ac_file" : 'X\(//\)$' \| \
14372 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14373 $as_echo X"$ac_file" |
14374 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14378 /^X\(\/\/\)[^/].*/{
14391 as_dir
="$ac_dir"; as_fn_mkdir_p
14395 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14397 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14398 # A ".." for each directory in $ac_dir_suffix.
14399 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14400 case $ac_top_builddir_sub in
14401 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14402 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14405 ac_abs_top_builddir
=$ac_pwd
14406 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14407 # for backward compatibility:
14408 ac_top_builddir
=$ac_top_build_prefix
14411 .
) # We are building in place.
14413 ac_top_srcdir
=$ac_top_builddir_sub
14414 ac_abs_top_srcdir
=$ac_pwd ;;
14415 [\\/]* | ?
:[\\/]* ) # Absolute name.
14416 ac_srcdir
=$srcdir$ac_dir_suffix;
14417 ac_top_srcdir
=$srcdir
14418 ac_abs_top_srcdir
=$srcdir ;;
14419 *) # Relative name.
14420 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14421 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14422 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14424 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14434 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14435 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14437 ac_MKDIR_P
=$MKDIR_P
14439 [\\/$
]* | ?
:[\\/]* ) ;;
14440 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14444 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14445 # If the template does not know about datarootdir, expand it.
14446 # FIXME: This hack should be removed a few years after 2.60.
14447 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14458 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14459 *datarootdir
*) ac_datarootdir_seen
=yes;;
14460 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14462 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14464 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14465 ac_datarootdir_hack='
14466 s&@datadir@&$datadir&g
14467 s&@docdir@&$docdir&g
14468 s&@infodir@&$infodir&g
14469 s&@localedir@&$localedir&g
14470 s&@mandir@&$mandir&g
14471 s&\\\${datarootdir}&$datarootdir&g' ;;
14475 # Neutralize VPATH when `$srcdir' = `.'.
14476 # Shell code in configure.ac might set extrasub.
14477 # FIXME: do we really want to maintain this feature?
14478 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14479 ac_sed_extra="$ac_vpsub
14482 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14484 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14485 s|@configure_input@|
$ac_sed_conf_input|
;t t
14486 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14487 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14488 s
&@srcdir@
&$ac_srcdir&;t t
14489 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14490 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14491 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14492 s
&@builddir@
&$ac_builddir&;t t
14493 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14494 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14495 s
&@INSTALL@
&$ac_INSTALL&;t t
14496 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14497 $ac_datarootdir_hack
14499 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
14500 if $ac_cs_awk_getline; then
14501 $AWK -f "$tmp/subs.
awk"
14503 $AWK -f "$tmp/subs.
awk" | $SHELL
14505 || as_fn_error "could not create
$ac_file" "$LINENO" 5
14507 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14508 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14509 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14511 which seems to be undefined. Please make sure it is defined." >&5
14512 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14513 which seems to be undefined. Please make sure it is defined." >&2;}
14517 -) cat "$tmp/out" && rm -f "$tmp/out";;
14518 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14520 || as_fn_error "could not create $ac_file" "$LINENO" 5
14526 if test x"$ac_file" != x-; then
14528 $as_echo "/* $configure_input */" \
14529 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14530 } >"$tmp/config.h" \
14531 || as_fn_error "could not create $ac_file" "$LINENO" 5
14532 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14534 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14537 mv "$tmp/config.h" "$ac_file" \
14538 || as_fn_error "could not create $ac_file" "$LINENO" 5
14541 $as_echo "/* $configure_input */" \
14542 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14543 || as_fn_error "could not create -" "$LINENO" 5
14545 # Compute "$ac_file"'s index
in $config_headers.
14548 for _am_header
in $config_headers :; do
14549 case $_am_header in
14550 $_am_arg |
$_am_arg:* )
14553 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14556 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14557 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14558 X"$_am_arg" : 'X\(//\)[^/]' \| \
14559 X"$_am_arg" : 'X\(//\)$' \| \
14560 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14561 $as_echo X"$_am_arg" |
14562 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14566 /^X\(\/\/\)[^/].*/{
14578 s/.*/./; q'`/stamp-h
$_am_stamp_count
14581 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14582 $as_echo "$as_me: executing $ac_file commands" >&6;}
14587 case $ac_file$ac_mode in
14588 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14589 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14590 # are listed without --file. Let's play safe and only enable the eval
14591 # if we detect the quoting.
14592 case $CONFIG_FILES in
14593 *\'*) eval set x
"$CONFIG_FILES" ;;
14594 *) set x
$CONFIG_FILES ;;
14599 # Strip MF so we end up with the name of the file.
14600 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14601 # Check whether this is an Automake generated Makefile or not.
14602 # We used to match only the files named `Makefile.in', but
14603 # some people rename them; so instead we look at the file content.
14604 # Grep'ing the first line is not enough: some people post-process
14605 # each Makefile.in and add a new line on top of each file to say so.
14606 # Grep'ing the whole file is not good either: AIX grep has a line
14607 # limit of 2048, but all sed's we know have understand at least 4000.
14608 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14609 dirpart
=`$as_dirname -- "$mf" ||
14610 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14611 X"$mf" : 'X\(//\)[^/]' \| \
14612 X"$mf" : 'X\(//\)$' \| \
14613 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14615 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14619 /^X\(\/\/\)[^/].*/{
14635 # Extract the definition of DEPDIR, am__include, and am__quote
14636 # from the Makefile without running `make'.
14637 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14638 test -z "$DEPDIR" && continue
14639 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14640 test -z "am__include" && continue
14641 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14642 # When using ansi2knr, U may be empty or an underscore; expand it
14643 U
=`sed -n 's/^U = //p' < "$mf"`
14644 # Find all dependency output files, they are included files with
14645 # $(DEPDIR) in their names. We invoke sed twice because it is the
14646 # simplest approach to changing $(DEPDIR) to its actual value in the
14648 for file in `sed -n "
14649 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14650 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14651 # Make sure the directory exists.
14652 test -f "$dirpart/$file" && continue
14653 fdir
=`$as_dirname -- "$file" ||
14654 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14655 X"$file" : 'X\(//\)[^/]' \| \
14656 X"$file" : 'X\(//\)$' \| \
14657 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14658 $as_echo X"$file" |
14659 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14663 /^X\(\/\/\)[^/].*/{
14676 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
14677 # echo "creating $dirpart/$file"
14678 echo '# dummy' > "$dirpart/$file"
14685 # See if we are running on zsh, and set the options which allow our
14686 # commands through without removal of \ escapes.
14687 if test -n "${ZSH_VERSION+set}" ; then
14688 setopt NO_GLOB_SUBST
14691 cfgfile
="${ofile}T"
14692 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14695 cat <<_LT_EOF >> "$cfgfile"
14698 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14699 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14700 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14701 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14703 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14704 # 2006, 2007, 2008 Free Software Foundation, Inc.
14705 # Written by Gordon Matzigkeit, 1996
14707 # This file is part of GNU Libtool.
14709 # GNU Libtool is free software; you can redistribute it and/or
14710 # modify it under the terms of the GNU General Public License as
14711 # published by the Free Software Foundation; either version 2 of
14712 # the License, or (at your option) any later version.
14714 # As a special exception to the GNU General Public License,
14715 # if you distribute this file as part of a program or library that
14716 # is built using GNU Libtool, you may include this file under the
14717 # same distribution terms that you use for the rest of that program.
14719 # GNU Libtool is distributed in the hope that it will be useful,
14720 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14721 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14722 # GNU General Public License for more details.
14724 # You should have received a copy of the GNU General Public License
14725 # along with GNU Libtool; see the file COPYING. If not, a copy
14726 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14727 # obtained by writing to the Free Software Foundation, Inc.,
14728 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14731 # The names of the tagged configurations supported by this script.
14734 # ### BEGIN LIBTOOL CONFIG
14736 # Which release of libtool.m4 was used?
14737 macro_version=$macro_version
14738 macro_revision=$macro_revision
14740 # Whether or not to build shared libraries.
14741 build_libtool_libs=$enable_shared
14743 # Whether or not to build static libraries.
14744 build_old_libs=$enable_static
14746 # What type of objects to build.
14749 # Whether or not to optimize for fast installation.
14750 fast_install=$enable_fast_install
14753 host_alias=$host_alias
14757 # The build system.
14758 build_alias=$build_alias
14762 # A sed program that does not truncate output.
14765 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14766 Xsed="\$SED -e 1s/^X//"
14768 # A grep program that handles long lines.
14774 # A literal string matcher.
14777 # A BSD- or MS-compatible name lister.
14780 # Whether we need soft or hard links.
14783 # What is the maximum length of a command?
14784 max_cmd_len=$max_cmd_len
14786 # Object file suffix (normally "o").
14789 # Executable file suffix (normally "").
14792 # whether the shell understands "unset".
14795 # turn spaces into newlines.
14798 # turn newlines into spaces.
14801 # How to create reloadable object files.
14802 reload_flag=$lt_reload_flag
14803 reload_cmds=$lt_reload_cmds
14805 # An object symbol dumper.
14806 OBJDUMP=$lt_OBJDUMP
14808 # Method to check whether dependent libraries are shared objects.
14809 deplibs_check_method=$lt_deplibs_check_method
14811 # Command to use when deplibs_check_method == "file_magic".
14812 file_magic_cmd=$lt_file_magic_cmd
14816 AR_FLAGS=$lt_AR_FLAGS
14818 # A symbol stripping program.
14821 # Commands used to install an old-style archive.
14823 old_postinstall_cmds=$lt_old_postinstall_cmds
14824 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14829 # LTCC compiler flags.
14830 LTCFLAGS=$lt_CFLAGS
14832 # Take the output of nm and produce a listing of raw symbols and C names.
14833 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14835 # Transform the output of nm in a proper C declaration.
14836 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14838 # Transform the output of nm in a C name address pair.
14839 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14841 # Transform the output of nm in a C name address pair when lib prefix is needed.
14842 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14844 # The name of the directory that contains temporary libtool files.
14847 # Shell to use when invoking shell scripts.
14850 # An echo program that does not interpret backslashes.
14853 # Used to examine libraries when file_magic_cmd begins with "file".
14854 MAGIC_CMD=$MAGIC_CMD
14856 # Must we lock files when doing compilation?
14857 need_locks=$lt_need_locks
14859 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14860 DSYMUTIL=$lt_DSYMUTIL
14862 # Tool to change global to local symbols on Mac OS X.
14865 # Tool to manipulate fat objects and archives on Mac OS X.
14868 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14871 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14872 OTOOL64=$lt_OTOOL64
14874 # Old archive suffix (normally "a").
14877 # Shared library suffix (normally ".so").
14878 shrext_cmds=$lt_shrext_cmds
14880 # The commands to extract the exported symbol list from a shared archive.
14881 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14883 # Variables whose values should be saved in libtool wrapper scripts and
14884 # restored at link time.
14885 variables_saved_for_relink=$lt_variables_saved_for_relink
14887 # Do we need the "lib" prefix for modules?
14888 need_lib_prefix=$need_lib_prefix
14890 # Do we need a version for libraries?
14891 need_version=$need_version
14893 # Library versioning type.
14894 version_type=$version_type
14896 # Shared library runtime path variable.
14897 runpath_var=$runpath_var
14899 # Shared library path variable.
14900 shlibpath_var=$shlibpath_var
14902 # Is shlibpath searched before the hard-coded library search path?
14903 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14905 # Format of library name prefix.
14906 libname_spec=$lt_libname_spec
14908 # List of archive names. First name is the real one, the rest are links.
14909 # The last name is the one that the linker finds with -lNAME
14910 library_names_spec=$lt_library_names_spec
14912 # The coded name of the library, if different from the real name.
14913 soname_spec=$lt_soname_spec
14915 # Command to use after installation of a shared archive.
14916 postinstall_cmds=$lt_postinstall_cmds
14918 # Command to use after uninstallation of a shared archive.
14919 postuninstall_cmds=$lt_postuninstall_cmds
14921 # Commands used to finish a libtool library installation in a directory.
14922 finish_cmds=$lt_finish_cmds
14924 # As "finish_cmds", except a single script fragment to be evaled but
14926 finish_eval=$lt_finish_eval
14928 # Whether we should hardcode library paths into libraries.
14929 hardcode_into_libs=$hardcode_into_libs
14931 # Compile-time system search path for libraries.
14932 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14934 # Run-time system search path for libraries.
14935 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14937 # Whether dlopen is supported.
14938 dlopen_support=$enable_dlopen
14940 # Whether dlopen of programs is supported.
14941 dlopen_self=$enable_dlopen_self
14943 # Whether dlopen of statically linked programs is supported.
14944 dlopen_self_static=$enable_dlopen_self_static
14946 # Commands to strip libraries.
14947 old_striplib=$lt_old_striplib
14948 striplib=$lt_striplib
14951 # The linker used to build libraries.
14954 # Commands used to build an old-style archive.
14955 old_archive_cmds=$lt_old_archive_cmds
14957 # A language specific compiler.
14960 # Is the compiler the GNU compiler?
14963 # Compiler flag to turn off builtin functions.
14964 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14966 # How to pass a linker flag through the compiler.
14967 wl=$lt_lt_prog_compiler_wl
14969 # Additional compiler flags for building library objects.
14970 pic_flag=$lt_lt_prog_compiler_pic
14972 # Compiler flag to prevent dynamic linking.
14973 link_static_flag=$lt_lt_prog_compiler_static
14975 # Does compiler simultaneously support -c and -o options?
14976 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14978 # Whether or not to add -lc for building shared libraries.
14979 build_libtool_need_lc=$archive_cmds_need_lc
14981 # Whether or not to disallow shared libs when runtime libs are static.
14982 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14984 # Compiler flag to allow reflexive dlopens.
14985 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14987 # Compiler flag to generate shared objects directly from archives.
14988 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14990 # Whether the compiler copes with passing no objects directly.
14991 compiler_needs_object=$lt_compiler_needs_object
14993 # Create an old-style archive from a shared archive.
14994 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14996 # Create a temporary old-style archive to link instead of a shared archive.
14997 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14999 # Commands used to build a shared archive.
15000 archive_cmds=$lt_archive_cmds
15001 archive_expsym_cmds=$lt_archive_expsym_cmds
15003 # Commands used to build a loadable module if different from building
15004 # a shared archive.
15005 module_cmds=$lt_module_cmds
15006 module_expsym_cmds=$lt_module_expsym_cmds
15008 # Whether we are building with GNU ld or not.
15009 with_gnu_ld=$lt_with_gnu_ld
15011 # Flag that allows shared libraries with undefined symbols to be built.
15012 allow_undefined_flag=$lt_allow_undefined_flag
15014 # Flag that enforces no undefined symbols.
15015 no_undefined_flag=$lt_no_undefined_flag
15017 # Flag to hardcode \$libdir into a binary during linking.
15018 # This must work even if \$libdir does not exist
15019 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15021 # If ld is used when linking, flag to hardcode \$libdir into a binary
15022 # during linking. This must work even if \$libdir does not exist.
15023 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15025 # Whether we need a single "-rpath" flag with a separated argument.
15026 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15028 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15029 # DIR into the resulting binary.
15030 hardcode_direct=$hardcode_direct
15032 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15033 # DIR into the resulting binary and the resulting library dependency is
15034 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15035 # library is relocated.
15036 hardcode_direct_absolute=$hardcode_direct_absolute
15038 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15039 # into the resulting binary.
15040 hardcode_minus_L=$hardcode_minus_L
15042 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15043 # into the resulting binary.
15044 hardcode_shlibpath_var=$hardcode_shlibpath_var
15046 # Set to "yes" if building a shared library automatically hardcodes DIR
15047 # into the library and all subsequent libraries and executables linked
15049 hardcode_automatic=$hardcode_automatic
15051 # Set to yes if linker adds runtime paths of dependent libraries
15052 # to runtime path list.
15053 inherit_rpath=$inherit_rpath
15055 # Whether libtool must link a program against all its dependency libraries.
15056 link_all_deplibs=$link_all_deplibs
15058 # Fix the shell variable \$srcfile for the compiler.
15059 fix_srcfile_path=$lt_fix_srcfile_path
15061 # Set to "yes" if exported symbols are required.
15062 always_export_symbols=$always_export_symbols
15064 # The commands to list exported symbols.
15065 export_symbols_cmds=$lt_export_symbols_cmds
15067 # Symbols that should not be listed in the preloaded symbols.
15068 exclude_expsyms=$lt_exclude_expsyms
15070 # Symbols that must always be exported.
15071 include_expsyms=$lt_include_expsyms
15073 # Commands necessary for linking programs (against libraries) with templates.
15074 prelink_cmds=$lt_prelink_cmds
15076 # Specify filename containing input files.
15077 file_list_spec=$lt_file_list_spec
15079 # How to hardcode a shared library path into an executable.
15080 hardcode_action=$hardcode_action
15082 # ### END LIBTOOL CONFIG
15088 cat <<\_LT_EOF
>> "$cfgfile"
15089 # AIX sometimes has problems with the GCC collect2 program. For some
15090 # reason, if we set the COLLECT_NAMES environment variable, the problems
15091 # vanish in a puff of smoke.
15092 if test "X${COLLECT_NAMES+set}" != Xset
; then
15094 export COLLECT_NAMES
15101 ltmain
="$ac_aux_dir/ltmain.sh"
15104 # We use sed instead of cat because bash on DJGPP gets confused if
15105 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15106 # text mode, it properly converts lines to CR/LF. This bash problem
15107 # is reportedly fixed, but why not run on old versions too?
15108 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15109 ||
(rm -f "$cfgfile"; exit 1)
15113 cat << \_LT_EOF
>> "$cfgfile"
15115 # func_dirname file append nondir_replacement
15116 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15117 # otherwise set result to NONDIR_REPLACEMENT.
15121 */*) func_dirname_result
="${1%/*}${2}" ;;
15122 * ) func_dirname_result
="${3}" ;;
15126 # func_basename file
15129 func_basename_result
="${1##*/}"
15132 # func_dirname_and_basename file append nondir_replacement
15133 # perform func_basename and func_dirname in a single function
15135 # dirname: Compute the dirname of FILE. If nonempty,
15136 # add APPEND to the result, otherwise set result
15137 # to NONDIR_REPLACEMENT.
15138 # value returned in "$func_dirname_result"
15139 # basename: Compute filename of FILE.
15140 # value retuned in "$func_basename_result"
15141 # Implementation must be kept synchronized with func_dirname
15142 # and func_basename. For efficiency, we do not delegate to
15143 # those functions but instead duplicate the functionality here.
15144 func_dirname_and_basename
()
15147 */*) func_dirname_result
="${1%/*}${2}" ;;
15148 * ) func_dirname_result
="${3}" ;;
15150 func_basename_result
="${1##*/}"
15153 # func_stripname prefix suffix name
15154 # strip PREFIX and SUFFIX off of NAME.
15155 # PREFIX and SUFFIX must not contain globbing or regex special
15156 # characters, hashes, percent signs, but SUFFIX may contain a leading
15157 # dot (in which case that matches only a dot).
15160 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15161 # positional parameters, so assign one to ordinary parameter first.
15162 func_stripname_result
=${3}
15163 func_stripname_result
=${func_stripname_result#"${1}"}
15164 func_stripname_result
=${func_stripname_result%"${2}"}
15170 func_opt_split_opt
=${1%%=*}
15171 func_opt_split_arg
=${1#*=}
15178 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15179 *) func_lo2o_result
=${1} ;;
15183 # func_xform libobj-or-source
15186 func_xform_result
=${1%.*}.lo
15189 # func_arith arithmetic-term...
15192 func_arith_result
=$
(( $
* ))
15196 # STRING may not start with a hyphen.
15199 func_len_result
=${#1}
15204 *) # Bourne compatible functions.
15205 cat << \_LT_EOF
>> "$cfgfile"
15207 # func_dirname file append nondir_replacement
15208 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15209 # otherwise set result to NONDIR_REPLACEMENT.
15212 # Extract subdirectory from the argument.
15213 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15214 if test "X$func_dirname_result" = "X${1}"; then
15215 func_dirname_result
="${3}"
15217 func_dirname_result
="$func_dirname_result${2}"
15221 # func_basename file
15224 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
15228 # func_stripname prefix suffix name
15229 # strip PREFIX and SUFFIX off of NAME.
15230 # PREFIX and SUFFIX must not contain globbing or regex special
15231 # characters, hashes, percent signs, but SUFFIX may contain a leading
15232 # dot (in which case that matches only a dot).
15233 # func_strip_suffix prefix name
15237 .
*) func_stripname_result
=`$ECHO "X${3}" \
15238 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15239 *) func_stripname_result
=`$ECHO "X${3}" \
15240 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15245 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15246 my_sed_long_arg
='1s/^-[^=]*=//'
15251 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15252 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15258 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15261 # func_xform libobj-or-source
15264 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15267 # func_arith arithmetic-term...
15270 func_arith_result
=`expr "$@"`
15274 # STRING may not start with a hyphen.
15277 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15283 case $lt_shell_append in
15285 cat << \_LT_EOF
>> "$cfgfile"
15287 # func_append var value
15288 # Append VALUE to the end of shell variable VAR.
15296 cat << \_LT_EOF
>> "$cfgfile"
15298 # func_append var value
15299 # Append VALUE to the end of shell variable VAR.
15310 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15311 ||
(rm -f "$cfgfile"; exit 1)
15313 mv -f "$cfgfile" "$ofile" ||
15314 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15319 for ac_file
in $CONFIG_FILES; do
15320 # Support "outfile[:infile[:infile...]]"
15322 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
15324 # PO directories have a Makefile.in generated from Makefile.in.in.
15325 case "$ac_file" in */Makefile.
in)
15326 # Adjust a relative srcdir.
15327 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
15328 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
15329 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
15330 # In autoconf-2.13 it is called $ac_given_srcdir.
15331 # In autoconf-2.50 it is called $srcdir.
15332 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
15333 case "$ac_given_srcdir" in
15334 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
15335 /*) top_srcdir
="$ac_given_srcdir" ;;
15336 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
15338 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
15339 rm -f "$ac_dir/POTFILES"
15340 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
15341 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
15342 POMAKEFILEDEPS
="POTFILES.in"
15343 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
15344 # on $ac_dir but don't depend on user-specified configuration
15346 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
15347 # The LINGUAS file contains the set of available languages.
15348 if test -n "$OBSOLETE_ALL_LINGUAS"; then
15349 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
15351 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
15352 # Hide the ALL_LINGUAS assigment from automake.
15353 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
15354 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
15356 # The set of available languages was given in configure.in.
15357 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
15359 case "$ac_given_srcdir" in
15361 *) srcdirpre
='$(srcdir)/' ;;
15367 for lang
in $ALL_LINGUAS; do
15368 POFILES
="$POFILES $srcdirpre$lang.po"
15369 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
15370 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
15371 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
15373 # CATALOGS depends on both $ac_dir and the user's LINGUAS
15374 # environment variable.
15376 if test -n "$ALL_LINGUAS"; then
15377 for presentlang
in $ALL_LINGUAS; do
15379 if test "%UNSET%" != "$LINGUAS"; then
15380 desiredlanguages
="$LINGUAS"
15382 desiredlanguages
="$ALL_LINGUAS"
15384 for desiredlang
in $desiredlanguages; do
15385 # Use the presentlang catalog if desiredlang is
15386 # a. equal to presentlang, or
15387 # b. a variant of presentlang (because in this case,
15388 # presentlang can be used as a fallback for messages
15389 # which are not translated in the desiredlang catalog).
15390 case "$desiredlang" in
15391 "$presentlang"*) useit
=yes;;
15394 if test $useit = yes; then
15395 INST_LINGUAS
="$INST_LINGUAS $presentlang"
15400 if test -n "$INST_LINGUAS"; then
15401 for lang
in $INST_LINGUAS; do
15402 CATALOGS
="$CATALOGS $lang.gmo"
15405 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
15406 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"
15407 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
15408 if test -f "$f"; then
15410 *.orig |
*.bak |
*~
) ;;
15411 *) cat "$f" >> "$ac_dir/Makefile" ;;
15426 ac_clean_files
=$ac_clean_files_save
15428 test $ac_write_fail = 0 ||
15429 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
15432 # configure is writing to config.log, and then calls config.status.
15433 # config.status does its own redirection, appending to config.log.
15434 # Unfortunately, on DOS this fails, as config.log is still kept open
15435 # by configure, so config.status won't be able to write to it; its
15436 # output is simply discarded. So we exec the FD to /dev/null,
15437 # effectively closing config.log, so it can be properly (re)opened and
15438 # appended to by config.status. When coming back to configure, we
15439 # need to make the FD available again.
15440 if test "$no_create" != yes; then
15442 ac_config_status_args
=
15443 test "$silent" = yes &&
15444 ac_config_status_args
="$ac_config_status_args --quiet"
15446 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15448 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15449 # would make configure fail if this is the last instruction.
15450 $ac_cs_success || as_fn_exit $?
15452 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15454 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}