2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for LTO plugin for ld 0.1.
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.
696 PACKAGE_NAME='LTO plugin for ld'
697 PACKAGE_TARNAME='lto-plugin'
698 PACKAGE_VERSION='0.1'
699 PACKAGE_STRING='LTO plugin for ld 0.1'
703 # Factoring default headers for most tests.
704 ac_includes_default="\
706 #ifdef HAVE_SYS_TYPES_H
707 # include <sys/types.h>
709 #ifdef HAVE_SYS_STAT_H
710 # include <sys/stat.h>
716 # ifdef HAVE_STDLIB_H
721 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
726 #ifdef HAVE_STRINGS_H
727 # include <strings.h>
729 #ifdef HAVE_INTTYPES_H
730 # include <inttypes.h>
739 ac_subst_vars='am__EXEEXT_FALSE
787 MAINTAINER_MODE_FALSE
797 INSTALL_STRIP_PROGRAM
847 program_transform_name
860 enable_option_checking
862 enable_maintainer_mode
863 enable_dependency_tracking
872 ac_precious_vars='build_alias
885 # Initialize some variables set by options.
887 ac_init_version=false
888 ac_unrecognized_opts=
890 # The variables have the same names as the options, with
891 # dashes changed to underlines.
899 program_transform_name=s,x,x,
907 # Installation directory options.
908 # These are left unexpanded so users can "make install exec_prefix=/foo"
909 # and all the variables that are supposed to be based on exec_prefix
910 # by default will actually change.
911 # Use braces instead of parens because sh, perl, etc. also accept them.
912 # (The list follows the same order as the GNU Coding Standards.)
913 bindir='${exec_prefix}/bin'
914 sbindir='${exec_prefix}/sbin'
915 libexecdir='${exec_prefix}/libexec'
916 datarootdir='${prefix}/share'
917 datadir='${datarootdir}'
918 sysconfdir='${prefix}/etc'
919 sharedstatedir='${prefix}/com'
920 localstatedir='${prefix}/var'
921 includedir='${prefix}/include'
922 oldincludedir='/usr/include'
923 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
924 infodir='${datarootdir}/info'
929 libdir='${exec_prefix}/lib'
930 localedir='${datarootdir}/locale'
931 mandir='${datarootdir}/man'
937 # If the previous option needs an argument, assign it.
938 if test -n "$ac_prev"; then
939 eval $ac_prev=\$ac_option
945 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
949 # Accept the important Cygnus configure options, so we can diagnose typos.
951 case $ac_dashdash$ac_option in
955 -bindir | --bindir | --bindi | --bind | --bin | --bi)
957 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
960 -build | --build | --buil | --bui | --bu)
961 ac_prev=build_alias ;;
962 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
963 build_alias=$ac_optarg ;;
965 -cache-file | --cache-file | --cache-fil | --cache-fi \
966 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
967 ac_prev=cache_file ;;
968 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
969 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
970 cache_file=$ac_optarg ;;
973 cache_file=config.cache ;;
975 -datadir | --datadir | --datadi | --datad)
977 -datadir=* | --datadir=* | --datadi=* | --datad=*)
978 datadir=$ac_optarg ;;
980 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
981 | --dataroo | --dataro | --datar)
982 ac_prev=datarootdir ;;
983 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
984 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
985 datarootdir=$ac_optarg ;;
987 -disable-* | --disable-*)
988 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
989 # Reject names that are not valid shell variable names.
990 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
991 as_fn_error "invalid feature name: $ac_useropt"
992 ac_useropt_orig=$ac_useropt
993 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
994 case $ac_user_opts in
998 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
999 ac_unrecognized_sep=', ';;
1001 eval enable_$ac_useropt=no ;;
1003 -docdir | --docdir | --docdi | --doc | --do)
1005 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1006 docdir=$ac_optarg ;;
1008 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1010 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1011 dvidir=$ac_optarg ;;
1013 -enable-* | --enable-*)
1014 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1015 # Reject names that are not valid shell variable names.
1016 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1017 as_fn_error "invalid feature name: $ac_useropt"
1018 ac_useropt_orig=$ac_useropt
1019 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1020 case $ac_user_opts in
1022 "enable_$ac_useropt"
1024 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1025 ac_unrecognized_sep=', ';;
1027 eval enable_$ac_useropt=\$ac_optarg ;;
1029 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1030 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1031 | --exec | --exe | --ex)
1032 ac_prev=exec_prefix ;;
1033 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1034 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1035 | --exec=* | --exe=* | --ex=*)
1036 exec_prefix=$ac_optarg ;;
1038 -gas | --gas | --ga | --g)
1039 # Obsolete; use --with-gas.
1042 -help | --help | --hel | --he | -h)
1043 ac_init_help=long ;;
1044 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1045 ac_init_help=recursive ;;
1046 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1047 ac_init_help=short ;;
1049 -host | --host | --hos | --ho)
1050 ac_prev=host_alias ;;
1051 -host=* | --host=* | --hos=* | --ho=*)
1052 host_alias=$ac_optarg ;;
1054 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1056 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1058 htmldir=$ac_optarg ;;
1060 -includedir | --includedir | --includedi | --included | --include \
1061 | --includ | --inclu | --incl | --inc)
1062 ac_prev=includedir ;;
1063 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1064 | --includ=* | --inclu=* | --incl=* | --inc=*)
1065 includedir=$ac_optarg ;;
1067 -infodir | --infodir | --infodi | --infod | --info | --inf)
1069 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1070 infodir=$ac_optarg ;;
1072 -libdir | --libdir | --libdi | --libd)
1074 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1075 libdir=$ac_optarg ;;
1077 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1078 | --libexe | --libex | --libe)
1079 ac_prev=libexecdir ;;
1080 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1081 | --libexe=* | --libex=* | --libe=*)
1082 libexecdir=$ac_optarg ;;
1084 -localedir | --localedir | --localedi | --localed | --locale)
1085 ac_prev=localedir ;;
1086 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1087 localedir=$ac_optarg ;;
1089 -localstatedir | --localstatedir | --localstatedi | --localstated \
1090 | --localstate | --localstat | --localsta | --localst | --locals)
1091 ac_prev=localstatedir ;;
1092 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1093 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1094 localstatedir=$ac_optarg ;;
1096 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1098 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1099 mandir=$ac_optarg ;;
1101 -nfp | --nfp | --nf)
1102 # Obsolete; use --without-fp.
1105 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1106 | --no-cr | --no-c | -n)
1109 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1110 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1113 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1114 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1115 | --oldin | --oldi | --old | --ol | --o)
1116 ac_prev=oldincludedir ;;
1117 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1118 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1119 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1120 oldincludedir=$ac_optarg ;;
1122 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1124 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1125 prefix=$ac_optarg ;;
1127 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1128 | --program-pre | --program-pr | --program-p)
1129 ac_prev=program_prefix ;;
1130 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1131 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1132 program_prefix=$ac_optarg ;;
1134 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1135 | --program-suf | --program-su | --program-s)
1136 ac_prev=program_suffix ;;
1137 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1138 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1139 program_suffix=$ac_optarg ;;
1141 -program-transform-name | --program-transform-name \
1142 | --program-transform-nam | --program-transform-na \
1143 | --program-transform-n | --program-transform- \
1144 | --program-transform | --program-transfor \
1145 | --program-transfo | --program-transf \
1146 | --program-trans | --program-tran \
1147 | --progr-tra | --program-tr | --program-t)
1148 ac_prev=program_transform_name ;;
1149 -program-transform-name=* | --program-transform-name=* \
1150 | --program-transform-nam=* | --program-transform-na=* \
1151 | --program-transform-n=* | --program-transform-=* \
1152 | --program-transform=* | --program-transfor=* \
1153 | --program-transfo=* | --program-transf=* \
1154 | --program-trans=* | --program-tran=* \
1155 | --progr-tra=* | --program-tr=* | --program-t=*)
1156 program_transform_name=$ac_optarg ;;
1158 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1160 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1161 pdfdir=$ac_optarg ;;
1163 -psdir | --psdir | --psdi | --psd | --ps)
1165 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1168 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1169 | -silent | --silent | --silen | --sile | --sil)
1172 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1174 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1176 sbindir=$ac_optarg ;;
1178 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1179 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1180 | --sharedst | --shareds | --shared | --share | --shar \
1182 ac_prev=sharedstatedir ;;
1183 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1184 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1185 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1187 sharedstatedir=$ac_optarg ;;
1189 -site | --site | --sit)
1191 -site=* | --site=* | --sit=*)
1194 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1196 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1197 srcdir=$ac_optarg ;;
1199 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1200 | --syscon | --sysco | --sysc | --sys | --sy)
1201 ac_prev=sysconfdir ;;
1202 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1203 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1204 sysconfdir=$ac_optarg ;;
1206 -target | --target | --targe | --targ | --tar | --ta | --t)
1207 ac_prev=target_alias ;;
1208 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1209 target_alias=$ac_optarg ;;
1211 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1214 -version | --version | --versio | --versi | --vers | -V)
1215 ac_init_version=: ;;
1218 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1219 # Reject names that are not valid shell variable names.
1220 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1221 as_fn_error "invalid package name: $ac_useropt"
1222 ac_useropt_orig=$ac_useropt
1223 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1224 case $ac_user_opts in
1228 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1229 ac_unrecognized_sep=', ';;
1231 eval with_$ac_useropt=\$ac_optarg ;;
1233 -without-* | --without-*)
1234 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1235 # Reject names that are not valid shell variable names.
1236 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1237 as_fn_error "invalid package name: $ac_useropt"
1238 ac_useropt_orig=$ac_useropt
1239 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1240 case $ac_user_opts in
1244 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1245 ac_unrecognized_sep=', ';;
1247 eval with_$ac_useropt=no ;;
1250 # Obsolete; use --with-x.
1253 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1254 | --x-incl | --x-inc | --x-in | --x-i)
1255 ac_prev=x_includes ;;
1256 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1257 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1258 x_includes=$ac_optarg ;;
1260 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1261 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1262 ac_prev=x_libraries ;;
1263 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1264 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1265 x_libraries=$ac_optarg ;;
1267 -*) as_fn_error "unrecognized option: \`$ac_option'
1268 Try \`$0 --help' for more information."
1272 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1273 # Reject names that are not valid shell variable names.
1274 case $ac_envvar in #(
1275 '' | [0-9]* | *[!_$as_cr_alnum]* )
1276 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1278 eval $ac_envvar=\$ac_optarg
1279 export $ac_envvar ;;
1282 # FIXME: should be removed in autoconf 3.0.
1283 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1284 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1285 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1286 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1292 if test -n "$ac_prev"; then
1293 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1294 as_fn_error "missing argument to $ac_option"
1297 if test -n "$ac_unrecognized_opts"; then
1298 case $enable_option_checking in
1300 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1301 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1305 # Check all directory arguments for consistency.
1306 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1307 datadir sysconfdir sharedstatedir localstatedir includedir \
1308 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1309 libdir localedir mandir
1311 eval ac_val=\$$ac_var
1312 # Remove trailing slashes.
1315 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1316 eval $ac_var=\$ac_val;;
1318 # Be sure to have absolute directory names.
1320 [\\/$]* | ?:[\\/]* ) continue;;
1321 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1323 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1326 # There might be people who depend on the old broken behavior: `$host'
1327 # used to hold the argument of --host etc.
1328 # FIXME: To remove some day.
1331 target=$target_alias
1333 # FIXME: To remove some day.
1334 if test "x$host_alias" != x; then
1335 if test "x$build_alias" = x; then
1336 cross_compiling=maybe
1337 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1338 If a cross compiler is detected then cross compile mode will be used." >&2
1339 elif test "x$build_alias" != "x$host_alias"; then
1345 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1347 test "$silent" = yes && exec 6>/dev/null
1350 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1351 ac_ls_di=`ls -di .` &&
1352 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1353 as_fn_error "working directory cannot be determined"
1354 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1355 as_fn_error "pwd does not report name of working directory"
1358 # Find the source files, if location was not specified.
1359 if test -z "$srcdir"; then
1360 ac_srcdir_defaulted=yes
1361 # Try the directory containing this script, then the parent directory.
1362 ac_confdir=`$as_dirname -- "$as_myself" ||
1363 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1364 X"$as_myself" : 'X\(//\)[^/]' \| \
1365 X"$as_myself" : 'X\(//\)$' \| \
1366 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1367 $as_echo X"$as_myself" |
1368 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1386 if test ! -r "$srcdir/$ac_unique_file"; then
1390 ac_srcdir_defaulted=no
1392 if test ! -r "$srcdir/$ac_unique_file"; then
1393 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1394 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1396 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1398 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1400 # When building in place, set srcdir=.
1401 if test "$ac_abs_confdir" = "$ac_pwd"; then
1404 # Remove unnecessary trailing slashes from srcdir.
1405 # Double slashes in file names in object file debugging info
1406 # mess up M-x gdb in Emacs.
1408 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1410 for ac_var in $ac_precious_vars; do
1411 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1412 eval ac_env_${ac_var}_value=\$${ac_var}
1413 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1414 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1418 # Report the --help message.
1420 if test "$ac_init_help" = "long"; then
1421 # Omit some internal or obsolete options to make the list less imposing.
1422 # This message is too long to be a string in the A/UX 3.1 sh.
1424 \`configure' configures LTO plugin for ld 0.1 to adapt to many kinds of systems.
1426 Usage: $0 [OPTION]... [VAR=VALUE]...
1428 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1429 VAR=VALUE. See below for descriptions of some of the useful variables.
1431 Defaults for the options are specified in brackets.
1434 -h, --help display this help and exit
1435 --help=short display options specific to this package
1436 --help=recursive display the short help of all the included packages
1437 -V, --version display version information and exit
1438 -q, --quiet, --silent do not print \`checking...' messages
1439 --cache-file=FILE cache test results in FILE [disabled]
1440 -C, --config-cache alias for \`--cache-file=config.cache'
1441 -n, --no-create do not create output files
1442 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1444 Installation directories:
1445 --prefix=PREFIX install architecture-independent files in PREFIX
1446 [$ac_default_prefix]
1447 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1450 By default, \`make install' will install all the files in
1451 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1452 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1453 for instance \`--prefix=\$HOME'.
1455 For better control, use the options below.
1457 Fine tuning of the installation directories:
1458 --bindir=DIR user executables [EPREFIX/bin]
1459 --sbindir=DIR system admin executables [EPREFIX/sbin]
1460 --libexecdir=DIR program executables [EPREFIX/libexec]
1461 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1462 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1463 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1464 --libdir=DIR object code libraries [EPREFIX/lib]
1465 --includedir=DIR C header files [PREFIX/include]
1466 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1467 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1468 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1469 --infodir=DIR info documentation [DATAROOTDIR/info]
1470 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1471 --mandir=DIR man documentation [DATAROOTDIR/man]
1472 --docdir=DIR documentation root [DATAROOTDIR/doc/lto-plugin]
1473 --htmldir=DIR html documentation [DOCDIR]
1474 --dvidir=DIR dvi documentation [DOCDIR]
1475 --pdfdir=DIR pdf documentation [DOCDIR]
1476 --psdir=DIR ps documentation [DOCDIR]
1482 --program-prefix=PREFIX prepend PREFIX to installed program names
1483 --program-suffix=SUFFIX append SUFFIX to installed program names
1484 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1487 --build=BUILD configure for building on BUILD [guessed]
1488 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1492 if test -n "$ac_init_help"; then
1493 case $ac_init_help in
1494 short | recursive ) echo "Configuration of LTO plugin for ld 0.1:";;
1499 --disable-option-checking ignore unrecognized --enable/--with options
1500 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1501 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1502 --enable-maintainer-mode enable make rules and dependencies not useful
1503 (and sometimes confusing) to the casual installer
1504 --disable-dependency-tracking speeds up one-time build
1505 --enable-dependency-tracking do not reject slow dependency extractors
1506 --enable-shared[=PKGS] build shared libraries [default=yes]
1507 --enable-static[=PKGS] build static libraries [default=yes]
1508 --enable-fast-install[=PKGS]
1509 optimize for fast installation [default=yes]
1510 --disable-libtool-lock avoid locking (might break parallel builds)
1511 --disable-largefile omit support for large files
1514 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1515 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1516 --with-build-libsubdir=DIR Directory where to find libraries for build system
1517 --with-pic try to use only PIC/non-PIC objects [default=use
1519 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1521 Some influential environment variables:
1522 CC C compiler command
1523 CFLAGS C compiler flags
1524 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1525 nonstandard directory <lib dir>
1526 LIBS libraries to pass to the linker, e.g. -l<library>
1527 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1528 you have headers in a nonstandard directory <include dir>
1529 LIBELFLIBS How to link libelf
1530 LIBELFINC How to find libelf include files
1533 Use these variables to override the choices made by `configure' or to help
1534 it to find libraries and programs with nonstandard names/locations.
1536 Report bugs to the package provider.
1541 if test "$ac_init_help" = "recursive"; then
1542 # If there are subdirs, report their specific --help.
1543 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1544 test -d "$ac_dir" ||
1545 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1550 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1552 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1553 # A ".." for each directory in $ac_dir_suffix.
1554 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1555 case $ac_top_builddir_sub in
1556 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1557 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1560 ac_abs_top_builddir=$ac_pwd
1561 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1562 # for backward compatibility:
1563 ac_top_builddir=$ac_top_build_prefix
1566 .) # We are building in place.
1568 ac_top_srcdir=$ac_top_builddir_sub
1569 ac_abs_top_srcdir=$ac_pwd ;;
1570 [\\/]* | ?:[\\/]* ) # Absolute name.
1571 ac_srcdir=$srcdir$ac_dir_suffix;
1572 ac_top_srcdir=$srcdir
1573 ac_abs_top_srcdir=$srcdir ;;
1575 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1576 ac_top_srcdir=$ac_top_build_prefix$srcdir
1577 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1579 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1581 cd "$ac_dir" || { ac_status=$?; continue; }
1582 # Check for guested configure.
1583 if test -f "$ac_srcdir/configure.gnu"; then
1585 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1586 elif test -f "$ac_srcdir/configure"; then
1588 $SHELL "$ac_srcdir/configure" --help=recursive
1590 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1592 cd "$ac_pwd" || { ac_status=$?; break; }
1596 test -n "$ac_init_help" && exit $ac_status
1597 if $ac_init_version; then
1599 LTO plugin for ld configure 0.1
1600 generated by GNU Autoconf 2.64
1602 Copyright (C) 2009 Free Software Foundation, Inc.
1603 This configure script is free software; the Free Software Foundation
1604 gives unlimited permission to copy, distribute and modify it.
1609 ## ------------------------ ##
1610 ## Autoconf initialization. ##
1611 ## ------------------------ ##
1613 # ac_fn_c_try_compile LINENO
1614 # --------------------------
1615 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1616 ac_fn_c_try_compile ()
1618 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1619 rm -f conftest.$ac_objext
1620 if { { ac_try="$ac_compile"
1622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1623 *) ac_try_echo=$ac_try;;
1625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1626 $as_echo "$ac_try_echo"; } >&5
1627 (eval "$ac_compile") 2>conftest.err
1629 if test -s conftest.err; then
1630 grep -v '^ *+' conftest.err >conftest.er1
1631 cat conftest.er1 >&5
1632 mv -f conftest.er1 conftest.err
1634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1635 test $ac_status = 0; } && {
1636 test -z "$ac_c_werror_flag" ||
1637 test ! -s conftest.err
1638 } && test -s conftest.$ac_objext; then :
1641 $as_echo "$as_me: failed program was:" >&5
1642 sed 's/^/| /' conftest.$ac_ext >&5
1646 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1649 } # ac_fn_c_try_compile
1651 # ac_fn_c_try_link LINENO
1652 # -----------------------
1653 # Try to link conftest.$ac_ext, and return whether this succeeded.
1656 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1657 rm -f conftest.$ac_objext conftest$ac_exeext
1658 if { { ac_try="$ac_link"
1660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1661 *) ac_try_echo=$ac_try;;
1663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1664 $as_echo "$ac_try_echo"; } >&5
1665 (eval "$ac_link") 2>conftest.err
1667 if test -s conftest.err; then
1668 grep -v '^ *+' conftest.err >conftest.er1
1669 cat conftest.er1 >&5
1670 mv -f conftest.er1 conftest.err
1672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1673 test $ac_status = 0; } && {
1674 test -z "$ac_c_werror_flag" ||
1675 test ! -s conftest.err
1676 } && test -s conftest$ac_exeext && {
1677 test "$cross_compiling" = yes ||
1678 $as_test_x conftest$ac_exeext
1682 $as_echo "$as_me: failed program was:" >&5
1683 sed 's/^/| /' conftest.$ac_ext >&5
1687 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1688 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1689 # interfere with the next link command; also delete a directory that is
1690 # left behind by Apple's compiler. We do this before executing the actions.
1691 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1692 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1695 } # ac_fn_c_try_link
1697 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1698 # -------------------------------------------------------
1699 # Tests whether HEADER exists and can be compiled using the include files in
1700 # INCLUDES, setting the cache variable VAR accordingly.
1701 ac_fn_c_check_header_compile ()
1703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1705 $as_echo_n "checking for $2... " >&6; }
1706 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1707 $as_echo_n "(cached) " >&6
1709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1710 /* end confdefs.h. */
1714 if ac_fn_c_try_compile "$LINENO"; then :
1719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1723 $as_echo "$ac_res" >&6; }
1724 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1726 } # ac_fn_c_check_header_compile
1728 # ac_fn_c_try_cpp LINENO
1729 # ----------------------
1730 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1733 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1734 if { { ac_try="$ac_cpp conftest.$ac_ext"
1736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1737 *) ac_try_echo=$ac_try;;
1739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1740 $as_echo "$ac_try_echo"; } >&5
1741 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1743 if test -s conftest.err; then
1744 grep -v '^ *+' conftest.err >conftest.er1
1745 cat conftest.er1 >&5
1746 mv -f conftest.er1 conftest.err
1748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1749 test $ac_status = 0; } >/dev/null && {
1750 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1751 test ! -s conftest.err
1755 $as_echo "$as_me: failed program was:" >&5
1756 sed 's/^/| /' conftest.$ac_ext >&5
1760 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1765 # ac_fn_c_try_run LINENO
1766 # ----------------------
1767 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1768 # that executables *can* be run.
1771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1772 if { { ac_try="$ac_link"
1774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1775 *) ac_try_echo=$ac_try;;
1777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1778 $as_echo "$ac_try_echo"; } >&5
1779 (eval "$ac_link") 2>&5
1781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1782 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1783 { { case "(($ac_try" in
1784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1785 *) ac_try_echo=$ac_try;;
1787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1788 $as_echo "$ac_try_echo"; } >&5
1789 (eval "$ac_try") 2>&5
1791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1792 test $ac_status = 0; }; }; then :
1795 $as_echo "$as_me: program exited with status $ac_status" >&5
1796 $as_echo "$as_me: failed program was:" >&5
1797 sed 's/^/| /' conftest.$ac_ext >&5
1799 ac_retval=$ac_status
1801 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1802 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1807 # ac_fn_c_check_func LINENO FUNC VAR
1808 # ----------------------------------
1809 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1810 ac_fn_c_check_func ()
1812 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1814 $as_echo_n "checking for $2... " >&6; }
1815 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1816 $as_echo_n "(cached) " >&6
1818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1819 /* end confdefs.h. */
1820 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1822 #define $2 innocuous_$2
1824 /* System header to define __stub macros and hopefully few prototypes,
1825 which can conflict with char $2 (); below.
1826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1827 <limits.h> exists even on freestanding compilers. */
1830 # include <limits.h>
1832 # include <assert.h>
1837 /* Override any GCC internal prototype to avoid an error.
1838 Use char because int might match the return type of a GCC
1839 builtin and then its argument prototype would still apply. */
1844 /* The GNU C library defines this for functions which it implements
1845 to always fail with ENOSYS. Some functions are actually named
1846 something starting with __ and the normal name is an alias. */
1847 #if defined __stub_$2 || defined __stub___$2
1859 if ac_fn_c_try_link "$LINENO"; then :
1864 rm -f core conftest.err conftest.$ac_objext \
1865 conftest$ac_exeext conftest.$ac_ext
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1869 $as_echo "$ac_res" >&6; }
1870 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1872 } # ac_fn_c_check_func
1874 # ac_fn_c_find_uintX_t LINENO BITS VAR
1875 # ------------------------------------
1876 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1878 ac_fn_c_find_uintX_t ()
1880 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1882 $as_echo_n "checking for uint$2_t... " >&6; }
1883 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1884 $as_echo_n "(cached) " >&6
1887 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1888 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1890 /* end confdefs.h. */
1891 $ac_includes_default
1895 static int test_array [1 - 2 * !(($ac_type) -1 >> ($2 - 1) == 1)];
1902 if ac_fn_c_try_compile "$LINENO"; then :
1907 eval "$3=\$ac_type" ;;
1910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1912 if test "x$as_val" = x""no; then :
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1921 $as_echo "$ac_res" >&6; }
1922 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1924 } # ac_fn_c_find_uintX_t
1925 cat >config.log <<_ACEOF
1926 This file contains any messages produced by compilers while
1927 running configure, to aid debugging if configure makes a mistake.
1929 It was created by LTO plugin for ld $as_me 0.1, which was
1930 generated by GNU Autoconf 2.64. Invocation command line was
1942 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1943 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1944 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1945 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1946 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1948 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1949 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1951 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1952 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1953 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1954 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1955 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1956 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1957 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1965 test -z "$as_dir" && as_dir=.
1966 $as_echo "PATH: $as_dir"
1982 # Keep a trace of the command line.
1983 # Strip out --no-create and --no-recursion so they do not pile up.
1984 # Strip out --silent because we don't want to record it for future runs.
1985 # Also quote any args containing shell meta-characters.
1986 # Make two passes to allow for proper duplicate-argument suppression.
1990 ac_must_keep_next=false
1996 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1997 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1998 | -silent | --silent | --silen | --sile | --sil)
2001 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2004 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2006 as_fn_append ac_configure_args1 " '$ac_arg'"
2007 if test $ac_must_keep_next = true; then
2008 ac_must_keep_next=false # Got value, back to normal.
2011 *=* | --config-cache | -C | -disable-* | --disable-* \
2012 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2013 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2014 | -with-* | --with-* | -without-* | --without-* | --x)
2015 case "$ac_configure_args0 " in
2016 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2019 -* ) ac_must_keep_next=true ;;
2022 as_fn_append ac_configure_args " '$ac_arg'"
2027 { ac_configure_args0=; unset ac_configure_args0;}
2028 { ac_configure_args1=; unset ac_configure_args1;}
2030 # When interrupted or exit'd, cleanup temporary files, and complete
2031 # config.log. We remove comments because anyway the quotes in there
2032 # would cause problems or look ugly.
2033 # WARNING: Use '\'' to represent an apostrophe within the trap.
2034 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2035 trap 'exit_status=$?
2036 # Save into config.log some information that might help in debugging.
2041 ## ---------------- ##
2042 ## Cache variables. ##
2043 ## ---------------- ##
2046 # The following way of writing the cache mishandles newlines in values,
2048 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2049 eval ac_val=\$$ac_var
2053 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2054 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2057 _ | IFS | as_nl) ;; #(
2058 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2059 *) { eval $ac_var=; unset $ac_var;} ;;
2064 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2065 *${as_nl}ac_space=\ *)
2067 "s/'\''/'\''\\\\'\'''\''/g;
2068 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2071 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2079 ## ----------------- ##
2080 ## Output variables. ##
2081 ## ----------------- ##
2084 for ac_var in $ac_subst_vars
2086 eval ac_val=\$$ac_var
2088 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2090 $as_echo "$ac_var='\''$ac_val'\''"
2094 if test -n "$ac_subst_files"; then
2096 ## ------------------- ##
2097 ## File substitutions. ##
2098 ## ------------------- ##
2101 for ac_var in $ac_subst_files
2103 eval ac_val=\$$ac_var
2105 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2107 $as_echo "$ac_var='\''$ac_val'\''"
2112 if test -s confdefs.h; then
2122 test "$ac_signal" != 0 &&
2123 $as_echo "$as_me: caught signal $ac_signal"
2124 $as_echo "$as_me: exit $exit_status"
2126 rm -f core *.core core.conftest.* &&
2127 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2130 for ac_signal in 1 2 13 15; do
2131 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2135 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2136 rm -f -r conftest* confdefs.h
2138 $as_echo "/* confdefs.h */" > confdefs.h
2140 # Predefined preprocessor variables.
2142 cat >>confdefs.h <<_ACEOF
2143 #define PACKAGE_NAME "$PACKAGE_NAME"
2146 cat >>confdefs.h <<_ACEOF
2147 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2150 cat >>confdefs.h <<_ACEOF
2151 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2154 cat >>confdefs.h <<_ACEOF
2155 #define PACKAGE_STRING "$PACKAGE_STRING"
2158 cat >>confdefs.h <<_ACEOF
2159 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2162 cat >>confdefs.h <<_ACEOF
2163 #define PACKAGE_URL "$PACKAGE_URL"
2167 # Let the site file select an alternate cache file if it wants to.
2168 # Prefer an explicitly selected file to automatically selected ones.
2171 if test -n "$CONFIG_SITE"; then
2172 ac_site_file1=$CONFIG_SITE
2173 elif test "x$prefix" != xNONE; then
2174 ac_site_file1=$prefix/share/config.site
2175 ac_site_file2=$prefix/etc/config.site
2177 ac_site_file1=$ac_default_prefix/share/config.site
2178 ac_site_file2=$ac_default_prefix/etc/config.site
2180 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2182 test "x$ac_site_file" = xNONE && continue
2183 if test -r "$ac_site_file"; then
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2185 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2186 sed 's/^/| /' "$ac_site_file" >&5
2191 if test -r "$cache_file"; then
2192 # Some versions of bash will fail to source /dev/null (special
2193 # files actually), so we avoid doing that.
2194 if test -f "$cache_file"; then
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2196 $as_echo "$as_me: loading cache $cache_file" >&6;}
2198 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2199 *) . "./$cache_file";;
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2204 $as_echo "$as_me: creating cache $cache_file" >&6;}
2208 # Check that the precious variables saved in the cache have kept the same
2210 ac_cache_corrupted=false
2211 for ac_var in $ac_precious_vars; do
2212 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2213 eval ac_new_set=\$ac_env_${ac_var}_set
2214 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2215 eval ac_new_val=\$ac_env_${ac_var}_value
2216 case $ac_old_set,$ac_new_set in
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2219 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2220 ac_cache_corrupted=: ;;
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2223 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2224 ac_cache_corrupted=: ;;
2227 if test "x$ac_old_val" != "x$ac_new_val"; then
2228 # differences in whitespace do not lead to failure.
2229 ac_old_val_w=`echo x $ac_old_val`
2230 ac_new_val_w=`echo x $ac_new_val`
2231 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2233 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2234 ac_cache_corrupted=:
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2237 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2238 eval $ac_var=\$ac_old_val
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2241 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2243 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2246 # Pass precious variables to config.status.
2247 if test "$ac_new_set" = set; then
2249 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2250 *) ac_arg=$ac_var=$ac_new_val ;;
2252 case " $ac_configure_args " in
2253 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2254 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2258 if $ac_cache_corrupted; then
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2260 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2262 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2263 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2265 ## -------------------- ##
2266 ## Main body of script. ##
2267 ## -------------------- ##
2270 ac_cpp='$CPP $CPPFLAGS'
2271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2280 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2281 for ac_t in install-sh install.sh shtool; do
2282 if test -f "$ac_dir/$ac_t"; then
2284 ac_install_sh="$ac_aux_dir/$ac_t -c"
2289 if test -z "$ac_aux_dir"; then
2290 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2293 # These three variables are undocumented and unsupported,
2294 # and are intended to be withdrawn in a future Autoconf release.
2295 # They can cause serious problems if a builder's source tree is in a directory
2296 # whose full name contains unusual characters.
2297 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2298 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2299 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2302 # Make sure we can run config.sub.
2303 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2304 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2307 $as_echo_n "checking build system type... " >&6; }
2308 if test "${ac_cv_build+set}" = set; then :
2309 $as_echo_n "(cached) " >&6
2311 ac_build_alias=$build_alias
2312 test "x$ac_build_alias" = x &&
2313 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2314 test "x$ac_build_alias" = x &&
2315 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2316 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2317 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2321 $as_echo "$ac_cv_build" >&6; }
2322 case $ac_cv_build in
2324 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2327 ac_save_IFS=$IFS; IFS='-'
2333 # Remember, the first character of IFS is used to create $*,
2334 # except with old shells:
2337 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2340 case ${build_alias} in
2341 "") build_noncanonical=${build} ;;
2342 *) build_noncanonical=${build_alias} ;;
2345 case ${host_alias} in
2346 "") host_noncanonical=${build_noncanonical} ;;
2347 *) host_noncanonical=${host_alias} ;;
2350 case ${target_alias} in
2351 "") target_noncanonical=${host_noncanonical} ;;
2352 *) target_noncanonical=${target_alias} ;;
2356 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2357 # have matching libraries, they should use host libraries: Makefile.tpl
2358 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2359 # However, they still use the build modules, because the corresponding
2360 # host modules (e.g. bison) are only built for the host when bootstrap
2362 # - build_subdir is where we find build modules, and never changes.
2363 # - build_libsubdir is where we find build libraries, and can be overridden.
2365 # Prefix 'build-' so this never conflicts with target_subdir.
2366 build_subdir="build-${build_noncanonical}"
2368 # Check whether --with-build-libsubdir was given.
2369 if test "${with_build_libsubdir+set}" = set; then :
2370 withval=$with_build_libsubdir; build_libsubdir="$withval"
2372 build_libsubdir="$build_subdir"
2375 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2376 if ( test $srcdir = . && test -d gcc ) \
2377 || test -d $srcdir/../host-${host_noncanonical}; then
2378 host_subdir="host-${host_noncanonical}"
2383 target_subdir=${target_noncanonical}
2385 am__api_version='1.11'
2387 # Find a good install program. We prefer a C program (faster),
2388 # so one script is as good as another. But avoid the broken or
2389 # incompatible versions:
2390 # SysV /etc/install, /usr/sbin/install
2391 # SunOS /usr/etc/install
2392 # IRIX /sbin/install
2394 # AmigaOS /C/install, which installs bootblocks on floppy discs
2395 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2396 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2397 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2398 # OS/2's system install, which has a completely different semantic
2399 # ./install, which can be erroneously created by make from ./install.sh.
2400 # Reject install programs that cannot install multiple files.
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2402 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2403 if test -z "$INSTALL"; then
2404 if test "${ac_cv_path_install+set}" = set; then :
2405 $as_echo_n "(cached) " >&6
2407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2411 test -z "$as_dir" && as_dir=.
2412 # Account for people who put trailing slashes in PATH elements.
2413 case $as_dir/ in #((
2414 ./ | .// | /[cC]/* | \
2415 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2416 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2419 # OSF1 and SCO ODT 3.0 have their own names for install.
2420 # Don't use installbsd from OSF since it installs stuff as root
2422 for ac_prog in ginstall scoinst install; do
2423 for ac_exec_ext in '' $ac_executable_extensions; do
2424 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2425 if test $ac_prog = install &&
2426 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2427 # AIX install. It has an incompatible calling convention.
2429 elif test $ac_prog = install &&
2430 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2431 # program-specific install script used by HP pwplus--don't use.
2434 rm -rf conftest.one conftest.two conftest.dir
2435 echo one > conftest.one
2436 echo two > conftest.two
2438 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2439 test -s conftest.one && test -s conftest.two &&
2440 test -s conftest.dir/conftest.one &&
2441 test -s conftest.dir/conftest.two
2443 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2456 rm -rf conftest.one conftest.two conftest.dir
2459 if test "${ac_cv_path_install+set}" = set; then
2460 INSTALL=$ac_cv_path_install
2462 # As a last resort, use the slow shell script. Don't cache a
2463 # value for INSTALL within a source directory, because that will
2464 # break other packages using the cache if that directory is
2465 # removed, or if the value is a relative name.
2466 INSTALL=$ac_install_sh
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2470 $as_echo "$INSTALL" >&6; }
2472 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2473 # It thinks the first close brace ends the variable substitution.
2474 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2476 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2478 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2481 $as_echo_n "checking whether build environment is sane... " >&6; }
2484 echo timestamp > conftest.file
2485 # Reject unsafe characters in $srcdir or the absolute working directory
2486 # name. Accept space and tab only in the latter.
2490 *[\\\"\#\$\&\'\`$am_lf]*)
2491 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2494 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2495 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2498 # Do `set' in a subshell so we don't clobber the current shell's
2499 # arguments. Must try -L first in case configure is actually a
2500 # symlink; some systems play weird games with the mod time of symlinks
2501 # (eg FreeBSD returns the mod time of the symlink's containing
2504 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2505 if test "$*" = "X"; then
2507 set X `ls -t "$srcdir/configure" conftest.file`
2510 if test "$*" != "X $srcdir/configure conftest.file" \
2511 && test "$*" != "X conftest.file $srcdir/configure"; then
2513 # If neither matched, then we have a broken ls. This can happen
2514 # if, for instance, CONFIG_SHELL is bash and it inherits a
2515 # broken ls alias from the environment. This has actually
2516 # happened. Such a system could not be considered "sane".
2517 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2518 alias in your environment" "$LINENO" 5
2521 test "$2" = conftest.file
2527 as_fn_error "newly created file is older than distributed files!
2528 Check your system clock" "$LINENO" 5
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2531 $as_echo "yes" >&6; }
2532 test "$program_prefix" != NONE &&
2533 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2534 # Use a double $ so make ignores it.
2535 test "$program_suffix" != NONE &&
2536 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2537 # Double any \ or $.
2538 # By default was `s,x,x', remove it if useless.
2539 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2540 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2542 # expand $ac_aux_dir to an absolute path
2543 am_aux_dir=`cd $ac_aux_dir && pwd`
2545 if test x"${MISSING+set}" != xset; then
2548 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2550 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2553 # Use eval to expand $SHELL
2554 if eval "$MISSING --run true"; then
2555 am_missing_run="$MISSING --run "
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2559 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2562 if test x"${install_sh}" != xset; then
2565 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2567 install_sh="\${SHELL} $am_aux_dir/install-sh"
2571 # Installed binaries are usually stripped using `strip' when the user
2572 # run `make install-strip'. However `strip' might not be the right
2573 # tool to use in cross-compilation environments, therefore Automake
2574 # will honor the `STRIP' environment variable to overrule this program.
2575 if test "$cross_compiling" != no; then
2576 if test -n "$ac_tool_prefix"; then
2577 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2578 set dummy ${ac_tool_prefix}strip; ac_word=$2
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2580 $as_echo_n "checking for $ac_word... " >&6; }
2581 if test "${ac_cv_prog_STRIP+set}" = set; then :
2582 $as_echo_n "(cached) " >&6
2584 if test -n "$STRIP"; then
2585 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2591 test -z "$as_dir" && as_dir=.
2592 for ac_exec_ext in '' $ac_executable_extensions; do
2593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2594 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2604 STRIP=$ac_cv_prog_STRIP
2605 if test -n "$STRIP"; then
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2607 $as_echo "$STRIP" >&6; }
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2610 $as_echo "no" >&6; }
2615 if test -z "$ac_cv_prog_STRIP"; then
2617 # Extract the first word of "strip", so it can be a program name with args.
2618 set dummy strip; ac_word=$2
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2620 $as_echo_n "checking for $ac_word... " >&6; }
2621 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2622 $as_echo_n "(cached) " >&6
2624 if test -n "$ac_ct_STRIP"; then
2625 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2631 test -z "$as_dir" && as_dir=.
2632 for ac_exec_ext in '' $ac_executable_extensions; do
2633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2634 ac_cv_prog_ac_ct_STRIP="strip"
2635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2644 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2645 if test -n "$ac_ct_STRIP"; then
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2647 $as_echo "$ac_ct_STRIP" >&6; }
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2650 $as_echo "no" >&6; }
2653 if test "x$ac_ct_STRIP" = x; then
2656 case $cross_compiling:$ac_tool_warned in
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2659 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2660 ac_tool_warned=yes ;;
2665 STRIP="$ac_cv_prog_STRIP"
2669 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2672 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2673 if test -z "$MKDIR_P"; then
2674 if test "${ac_cv_path_mkdir+set}" = set; then :
2675 $as_echo_n "(cached) " >&6
2677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2678 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2681 test -z "$as_dir" && as_dir=.
2682 for ac_prog in mkdir gmkdir; do
2683 for ac_exec_ext in '' $ac_executable_extensions; do
2684 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2685 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2686 'mkdir (GNU coreutils) '* | \
2687 'mkdir (coreutils) '* | \
2688 'mkdir (fileutils) '4.1*)
2689 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2699 if test "${ac_cv_path_mkdir+set}" = set; then
2700 MKDIR_P="$ac_cv_path_mkdir -p"
2702 # As a last resort, use the slow shell script. Don't cache a
2703 # value for MKDIR_P within a source directory, because that will
2704 # break other packages using the cache if that directory is
2705 # removed, or if the value is a relative name.
2706 test -d ./--version && rmdir ./--version
2707 MKDIR_P="$ac_install_sh -d"
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2711 $as_echo "$MKDIR_P" >&6; }
2715 [\\/$]* | ?:[\\/]*) ;;
2716 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2719 for ac_prog in gawk mawk nawk awk
2721 # Extract the first word of "$ac_prog", so it can be a program name with args.
2722 set dummy $ac_prog; ac_word=$2
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2724 $as_echo_n "checking for $ac_word... " >&6; }
2725 if test "${ac_cv_prog_AWK+set}" = set; then :
2726 $as_echo_n "(cached) " >&6
2728 if test -n "$AWK"; then
2729 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2735 test -z "$as_dir" && as_dir=.
2736 for ac_exec_ext in '' $ac_executable_extensions; do
2737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2738 ac_cv_prog_AWK="$ac_prog"
2739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2749 if test -n "$AWK"; then
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2751 $as_echo "$AWK" >&6; }
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2754 $as_echo "no" >&6; }
2758 test -n "$AWK" && break
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2762 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2764 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2765 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2766 $as_echo_n "(cached) " >&6
2768 cat >conftest.make <<\_ACEOF
2771 @echo '@@@%%%=$(MAKE)=@@@%%%'
2773 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2774 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2776 eval ac_cv_prog_make_${ac_make}_set=yes;;
2778 eval ac_cv_prog_make_${ac_make}_set=no;;
2782 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2784 $as_echo "yes" >&6; }
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2788 $as_echo "no" >&6; }
2789 SET_MAKE="MAKE=${MAKE-make}"
2792 rm -rf .tst 2>/dev/null
2793 mkdir .tst 2>/dev/null
2794 if test -d .tst; then
2799 rmdir .tst 2>/dev/null
2801 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2802 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2803 # is not polluted with repeated "-I."
2804 am__isrc=' -I$(srcdir)'
2805 # test to see if srcdir already configured
2806 if test -f $srcdir/config.status; then
2807 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2811 # test whether we have cygpath
2812 if test -z "$CYGPATH_W"; then
2813 if (cygpath --version) >/dev/null 2>/dev/null; then
2814 CYGPATH_W='cygpath -w'
2821 # Define the identity of the package.
2822 PACKAGE='lto-plugin'
2826 cat >>confdefs.h <<_ACEOF
2827 #define PACKAGE "$PACKAGE"
2831 cat >>confdefs.h <<_ACEOF
2832 #define VERSION "$VERSION"
2835 # Some tools Automake needs.
2837 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2840 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2843 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2846 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2849 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2851 # We need awk for the "check" target. The system "awk" is bad on
2853 # Always define AMTAR for backward compatibility.
2855 AMTAR=${AMTAR-"${am_missing_run}tar"}
2857 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2865 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2866 # Check whether --enable-maintainer-mode was given.
2867 if test "${enable_maintainer_mode+set}" = set; then :
2868 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2870 USE_MAINTAINER_MODE=no
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2874 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2875 if test $USE_MAINTAINER_MODE = yes; then
2876 MAINTAINER_MODE_TRUE=
2877 MAINTAINER_MODE_FALSE='#'
2879 MAINTAINER_MODE_TRUE='#'
2880 MAINTAINER_MODE_FALSE=
2883 MAINT=$MAINTAINER_MODE_TRUE
2887 ac_cpp='$CPP $CPPFLAGS'
2888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2891 if test -n "$ac_tool_prefix"; then
2892 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2893 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2895 $as_echo_n "checking for $ac_word... " >&6; }
2896 if test "${ac_cv_prog_CC+set}" = set; then :
2897 $as_echo_n "(cached) " >&6
2899 if test -n "$CC"; then
2900 ac_cv_prog_CC="$CC" # Let the user override the test.
2902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2906 test -z "$as_dir" && as_dir=.
2907 for ac_exec_ext in '' $ac_executable_extensions; do
2908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2909 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2920 if test -n "$CC"; then
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2922 $as_echo "$CC" >&6; }
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2925 $as_echo "no" >&6; }
2930 if test -z "$ac_cv_prog_CC"; then
2932 # Extract the first word of "gcc", so it can be a program name with args.
2933 set dummy gcc; ac_word=$2
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2935 $as_echo_n "checking for $ac_word... " >&6; }
2936 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2937 $as_echo_n "(cached) " >&6
2939 if test -n "$ac_ct_CC"; then
2940 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2946 test -z "$as_dir" && as_dir=.
2947 for ac_exec_ext in '' $ac_executable_extensions; do
2948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2949 ac_cv_prog_ac_ct_CC="gcc"
2950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2959 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2960 if test -n "$ac_ct_CC"; then
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2962 $as_echo "$ac_ct_CC" >&6; }
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2965 $as_echo "no" >&6; }
2968 if test "x$ac_ct_CC" = x; then
2971 case $cross_compiling:$ac_tool_warned in
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2974 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2975 ac_tool_warned=yes ;;
2983 if test -z "$CC"; then
2984 if test -n "$ac_tool_prefix"; then
2985 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2986 set dummy ${ac_tool_prefix}cc; ac_word=$2
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2988 $as_echo_n "checking for $ac_word... " >&6; }
2989 if test "${ac_cv_prog_CC+set}" = set; then :
2990 $as_echo_n "(cached) " >&6
2992 if test -n "$CC"; then
2993 ac_cv_prog_CC="$CC" # Let the user override the test.
2995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2999 test -z "$as_dir" && as_dir=.
3000 for ac_exec_ext in '' $ac_executable_extensions; do
3001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3002 ac_cv_prog_CC="${ac_tool_prefix}cc"
3003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3013 if test -n "$CC"; then
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3015 $as_echo "$CC" >&6; }
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3018 $as_echo "no" >&6; }
3024 if test -z "$CC"; then
3025 # Extract the first word of "cc", so it can be a program name with args.
3026 set dummy cc; ac_word=$2
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3028 $as_echo_n "checking for $ac_word... " >&6; }
3029 if test "${ac_cv_prog_CC+set}" = set; then :
3030 $as_echo_n "(cached) " >&6
3032 if test -n "$CC"; then
3033 ac_cv_prog_CC="$CC" # Let the user override the test.
3036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3040 test -z "$as_dir" && as_dir=.
3041 for ac_exec_ext in '' $ac_executable_extensions; do
3042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3043 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3044 ac_prog_rejected=yes
3048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3055 if test $ac_prog_rejected = yes; then
3056 # We found a bogon in the path, so make sure we never use it.
3057 set dummy $ac_cv_prog_CC
3059 if test $# != 0; then
3060 # We chose a different compiler from the bogus one.
3061 # However, it has the same basename, so the bogon will be chosen
3062 # first if we set CC to just the basename; use the full file name.
3064 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3070 if test -n "$CC"; then
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3072 $as_echo "$CC" >&6; }
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3075 $as_echo "no" >&6; }
3080 if test -z "$CC"; then
3081 if test -n "$ac_tool_prefix"; then
3082 for ac_prog in cl.exe
3084 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3085 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3087 $as_echo_n "checking for $ac_word... " >&6; }
3088 if test "${ac_cv_prog_CC+set}" = set; then :
3089 $as_echo_n "(cached) " >&6
3091 if test -n "$CC"; then
3092 ac_cv_prog_CC="$CC" # Let the user override the test.
3094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3098 test -z "$as_dir" && as_dir=.
3099 for ac_exec_ext in '' $ac_executable_extensions; do
3100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3101 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3112 if test -n "$CC"; then
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3114 $as_echo "$CC" >&6; }
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3117 $as_echo "no" >&6; }
3121 test -n "$CC" && break
3124 if test -z "$CC"; then
3126 for ac_prog in cl.exe
3128 # Extract the first word of "$ac_prog", so it can be a program name with args.
3129 set dummy $ac_prog; ac_word=$2
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3131 $as_echo_n "checking for $ac_word... " >&6; }
3132 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3133 $as_echo_n "(cached) " >&6
3135 if test -n "$ac_ct_CC"; then
3136 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3142 test -z "$as_dir" && as_dir=.
3143 for ac_exec_ext in '' $ac_executable_extensions; do
3144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3145 ac_cv_prog_ac_ct_CC="$ac_prog"
3146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3155 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3156 if test -n "$ac_ct_CC"; then
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3158 $as_echo "$ac_ct_CC" >&6; }
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3161 $as_echo "no" >&6; }
3165 test -n "$ac_ct_CC" && break
3168 if test "x$ac_ct_CC" = x; then
3171 case $cross_compiling:$ac_tool_warned in
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3174 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3175 ac_tool_warned=yes ;;
3184 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3185 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3186 as_fn_error "no acceptable C compiler found in \$PATH
3187 See \`config.log' for more details." "$LINENO" 5; }
3189 # Provide some information about the compiler.
3190 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3193 for ac_option in --version -v -V -qversion; do
3194 { { ac_try="$ac_compiler $ac_option >&5"
3196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3197 *) ac_try_echo=$ac_try;;
3199 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3200 $as_echo "$ac_try_echo"; } >&5
3201 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3203 if test -s conftest.err; then
3205 ... rest of stderr output deleted ...
3206 10q' conftest.err >conftest.er1
3207 cat conftest.er1 >&5
3208 rm -f conftest.er1 conftest.err
3210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3211 test $ac_status = 0; }
3214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3215 /* end confdefs.h. */
3225 ac_clean_files_save=$ac_clean_files
3226 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3227 # Try to create an executable without -o first, disregard a.out.
3228 # It will help us diagnose broken compilers, and finding out an intuition
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3231 $as_echo_n "checking for C compiler default output file name... " >&6; }
3232 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3234 # The possible output files:
3235 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3238 for ac_file in $ac_files
3241 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3242 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3247 if { { ac_try="$ac_link_default"
3249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3250 *) ac_try_echo=$ac_try;;
3252 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3253 $as_echo "$ac_try_echo"; } >&5
3254 (eval "$ac_link_default") 2>&5
3256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3257 test $ac_status = 0; }; then :
3258 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3259 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3260 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3261 # so that the user can short-circuit this test for compilers unknown to
3263 for ac_file in $ac_files ''
3265 test -f "$ac_file" || continue
3267 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3270 # We found the default executable, but exeext='' is most
3274 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3276 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3278 # We set ac_cv_exeext here because the later test for it is not
3279 # safe: cross compilers may not add the suffix if given an `-o'
3280 # argument, so we may need to know it at that point already.
3281 # Even if this section looks crufty: it has the advantage of
3288 test "$ac_cv_exeext" = no && ac_cv_exeext=
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3294 $as_echo "$ac_file" >&6; }
3295 if test -z "$ac_file"; then :
3296 $as_echo "$as_me: failed program was:" >&5
3297 sed 's/^/| /' conftest.$ac_ext >&5
3299 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3300 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3301 { as_fn_set_status 77
3302 as_fn_error "C compiler cannot create executables
3303 See \`config.log' for more details." "$LINENO" 5; }; }
3305 ac_exeext=$ac_cv_exeext
3307 # Check that the compiler produces executables we can run. If not, either
3308 # the compiler is broken, or we cross compile.
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3310 $as_echo_n "checking whether the C compiler works... " >&6; }
3311 # If not cross compiling, check that we can run a simple program.
3312 if test "$cross_compiling" != yes; then
3313 if { ac_try='./$ac_file'
3314 { { case "(($ac_try" in
3315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3316 *) ac_try_echo=$ac_try;;
3318 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3319 $as_echo "$ac_try_echo"; } >&5
3320 (eval "$ac_try") 2>&5
3322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3323 test $ac_status = 0; }; }; then
3326 if test "$cross_compiling" = maybe; then
3329 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3330 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3331 as_fn_error "cannot run C compiled programs.
3332 If you meant to cross compile, use \`--host'.
3333 See \`config.log' for more details." "$LINENO" 5; }
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3338 $as_echo "yes" >&6; }
3340 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3341 ac_clean_files=$ac_clean_files_save
3342 # Check that the compiler produces executables we can run. If not, either
3343 # the compiler is broken, or we cross compile.
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3345 $as_echo_n "checking whether we are cross compiling... " >&6; }
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3347 $as_echo "$cross_compiling" >&6; }
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3350 $as_echo_n "checking for suffix of executables... " >&6; }
3351 if { { ac_try="$ac_link"
3353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3354 *) ac_try_echo=$ac_try;;
3356 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3357 $as_echo "$ac_try_echo"; } >&5
3358 (eval "$ac_link") 2>&5
3360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3361 test $ac_status = 0; }; then :
3362 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3363 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3364 # work properly (i.e., refer to `conftest.exe'), while it won't with
3366 for ac_file in conftest.exe conftest conftest.*; do
3367 test -f "$ac_file" || continue
3369 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3370 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3376 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3377 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3378 as_fn_error "cannot compute suffix of executables: cannot compile and link
3379 See \`config.log' for more details." "$LINENO" 5; }
3381 rm -f conftest$ac_cv_exeext
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3383 $as_echo "$ac_cv_exeext" >&6; }
3385 rm -f conftest.$ac_ext
3386 EXEEXT=$ac_cv_exeext
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3389 $as_echo_n "checking for suffix of object files... " >&6; }
3390 if test "${ac_cv_objext+set}" = set; then :
3391 $as_echo_n "(cached) " >&6
3393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3394 /* end confdefs.h. */
3404 rm -f conftest.o conftest.obj
3405 if { { ac_try="$ac_compile"
3407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3408 *) ac_try_echo=$ac_try;;
3410 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3411 $as_echo "$ac_try_echo"; } >&5
3412 (eval "$ac_compile") 2>&5
3414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3415 test $ac_status = 0; }; then :
3416 for ac_file in conftest.o conftest.obj conftest.*; do
3417 test -f "$ac_file" || continue;
3419 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3420 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3425 $as_echo "$as_me: failed program was:" >&5
3426 sed 's/^/| /' conftest.$ac_ext >&5
3428 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3430 as_fn_error "cannot compute suffix of object files: cannot compile
3431 See \`config.log' for more details." "$LINENO" 5; }
3433 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3436 $as_echo "$ac_cv_objext" >&6; }
3437 OBJEXT=$ac_cv_objext
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3440 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3441 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3442 $as_echo_n "(cached) " >&6
3444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3445 /* end confdefs.h. */
3458 if ac_fn_c_try_compile "$LINENO"; then :
3463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3464 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3468 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3469 if test $ac_compiler_gnu = yes; then
3474 ac_test_CFLAGS=${CFLAGS+set}
3475 ac_save_CFLAGS=$CFLAGS
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3477 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3478 if test "${ac_cv_prog_cc_g+set}" = set; then :
3479 $as_echo_n "(cached) " >&6
3481 ac_save_c_werror_flag=$ac_c_werror_flag
3482 ac_c_werror_flag=yes
3485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3486 /* end confdefs.h. */
3496 if ac_fn_c_try_compile "$LINENO"; then :
3500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3501 /* end confdefs.h. */
3511 if ac_fn_c_try_compile "$LINENO"; then :
3514 ac_c_werror_flag=$ac_save_c_werror_flag
3516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3517 /* end confdefs.h. */
3527 if ac_fn_c_try_compile "$LINENO"; then :
3530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3535 ac_c_werror_flag=$ac_save_c_werror_flag
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3538 $as_echo "$ac_cv_prog_cc_g" >&6; }
3539 if test "$ac_test_CFLAGS" = set; then
3540 CFLAGS=$ac_save_CFLAGS
3541 elif test $ac_cv_prog_cc_g = yes; then
3542 if test "$GCC" = yes; then
3548 if test "$GCC" = yes; then
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3555 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3556 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3557 $as_echo_n "(cached) " >&6
3559 ac_cv_prog_cc_c89=no
3561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3562 /* end confdefs.h. */
3565 #include <sys/types.h>
3566 #include <sys/stat.h>
3567 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3568 struct buf { int x; };
3569 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3570 static char *e (p, i)
3576 static char *f (char * (*g) (char **, int), char **p, ...)
3581 s = g (p, va_arg (v,int));
3586 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3587 function prototypes and stuff, but not '\xHH' hex character constants.
3588 These don't provoke an error unfortunately, instead are silently treated
3589 as 'x'. The following induces an error, until -std is added to get
3590 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3591 array size at least. It's necessary to write '\x00'==0 to get something
3592 that's true only with -std. */
3593 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3595 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3596 inside strings and character constants. */
3598 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3600 int test (int i, double x);
3601 struct s1 {int (*f) (int a);};
3602 struct s2 {int (*f) (double a);};
3603 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3609 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3614 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3615 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3617 CC="$ac_save_CC $ac_arg"
3618 if ac_fn_c_try_compile "$LINENO"; then :
3619 ac_cv_prog_cc_c89=$ac_arg
3621 rm -f core conftest.err conftest.$ac_objext
3622 test "x$ac_cv_prog_cc_c89" != "xno" && break
3624 rm -f conftest.$ac_ext
3629 case "x$ac_cv_prog_cc_c89" in
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3632 $as_echo "none needed" >&6; } ;;
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3635 $as_echo "unsupported" >&6; } ;;
3637 CC="$CC $ac_cv_prog_cc_c89"
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3639 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3641 if test "x$ac_cv_prog_cc_c89" != xno; then :
3646 ac_cpp='$CPP $CPPFLAGS'
3647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3650 DEPDIR="${am__leading_dot}deps"
3652 ac_config_commands="$ac_config_commands depfiles"
3655 am_make=${MAKE-make}
3656 cat > confinc << 'END'
3658 @echo this is the am__doit target
3661 # If we don't find an include directive, just comment out the code.
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3663 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3667 # First try GNU make style include.
3668 echo "include confinc" > confmf
3669 # Ignore all kinds of additional output from `make'.
3670 case `$am_make -s -f confmf 2> /dev/null` in #(
3671 *the\ am__doit\ target*)
3677 # Now try BSD make style include.
3678 if test "$am__include" = "#"; then
3679 echo '.include "confinc"' > confmf
3680 case `$am_make -s -f confmf 2> /dev/null` in #(
3681 *the\ am__doit\ target*)
3682 am__include=.include
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3691 $as_echo "$_am_result" >&6; }
3692 rm -f confinc confmf
3694 # Check whether --enable-dependency-tracking was given.
3695 if test "${enable_dependency_tracking+set}" = set; then :
3696 enableval=$enable_dependency_tracking;
3699 if test "x$enable_dependency_tracking" != xno; then
3700 am_depcomp="$ac_aux_dir/depcomp"
3703 if test "x$enable_dependency_tracking" != xno; then
3713 depcc="$CC" am_compiler_list=
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3716 $as_echo_n "checking dependency style of $depcc... " >&6; }
3717 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3718 $as_echo_n "(cached) " >&6
3720 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3721 # We make a subdir and do the tests there. Otherwise we can end up
3722 # making bogus files that we don't know about and never remove. For
3723 # instance it was reported that on HP-UX the gcc test will end up
3724 # making a dummy file named `D' -- because `-MD' means `put the output
3727 # Copy depcomp to subdir because otherwise we won't find it if we're
3728 # using a relative directory.
3729 cp "$am_depcomp" conftest.dir
3731 # We will build objects and dependencies in a subdirectory because
3732 # it helps to detect inapplicable dependency modes. For instance
3733 # both Tru64's cc and ICC support -MD to output dependencies as a
3734 # side effect of compilation, but ICC will put the dependencies in
3735 # the current directory while Tru64 will put them in the object
3739 am_cv_CC_dependencies_compiler_type=none
3740 if test "$am_compiler_list" = ""; then
3741 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3744 case " $depcc " in #(
3745 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3748 for depmode in $am_compiler_list; do
3749 # Setup a source with many dependencies, because some compilers
3750 # like to wrap large dependency lists on column 80 (with \), and
3751 # we should not choose a depcomp mode which is confused by this.
3753 # We need to recreate these files for each test, as the compiler may
3754 # overwrite some of them when testing with obscure command lines.
3755 # This happens at least with the AIX C compiler.
3757 for i in 1 2 3 4 5 6; do
3758 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3759 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3760 # Solaris 8's {/usr,}/bin/sh.
3761 touch sub/conftst$i.h
3763 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3765 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3766 # mode. It turns out that the SunPro C++ compiler does not properly
3767 # handle `-M -o', and we need to detect this. Also, some Intel
3768 # versions had trouble with output in subdirs
3769 am__obj=sub/conftest.${OBJEXT-o}
3770 am__minus_obj="-o $am__obj"
3773 # This depmode causes a compiler race in universal mode.
3774 test "$am__universal" = false || continue
3777 # after this tag, mechanisms are not by side-effect, so they'll
3778 # only be used when explicitly requested
3779 if test "x$enable_dependency_tracking" = xyes; then
3785 msvisualcpp | msvcmsys)
3786 # This compiler won't grok `-c -o', but also, the minuso test has
3787 # not run yet. These depmodes are late enough in the game, and
3788 # so weak that their functioning should not be impacted.
3789 am__obj=conftest.${OBJEXT-o}
3794 if depmode=$depmode \
3795 source=sub/conftest.c object=$am__obj \
3796 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3797 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3798 >/dev/null 2>conftest.err &&
3799 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3800 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3801 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3802 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3803 # icc doesn't choke on unknown options, it will just issue warnings
3804 # or remarks (even with -Werror). So we grep stderr for any message
3805 # that says an option was ignored or not supported.
3806 # When given -MP, icc 7.0 and 7.1 complain thusly:
3807 # icc: Command line warning: ignoring option '-M'; no argument required
3808 # The diagnosis changed in icc 8.0:
3809 # icc: Command line remark: option '-MP' not supported
3810 if (grep 'ignoring option' conftest.err ||
3811 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3812 am_cv_CC_dependencies_compiler_type=$depmode
3821 am_cv_CC_dependencies_compiler_type=none
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3826 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3827 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3830 test "x$enable_dependency_tracking" != xno \
3831 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3833 am__fastdepCC_FALSE='#'
3835 am__fastdepCC_TRUE='#'
3836 am__fastdepCC_FALSE=
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3845 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3850 macro_version='2.2.6'
3851 macro_revision='1.3012'
3865 ltmain="$ac_aux_dir/ltmain.sh"
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3868 $as_echo_n "checking host system type... " >&6; }
3869 if test "${ac_cv_host+set}" = set; then :
3870 $as_echo_n "(cached) " >&6
3872 if test "x$host_alias" = x; then
3873 ac_cv_host=$ac_cv_build
3875 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3876 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3881 $as_echo "$ac_cv_host" >&6; }
3884 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3887 ac_save_IFS=$IFS; IFS='-'
3893 # Remember, the first character of IFS is used to create $*,
3894 # except with old shells:
3897 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3901 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3902 if test "${ac_cv_path_SED+set}" = set; then :
3903 $as_echo_n "(cached) " >&6
3905 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3906 for ac_i in 1 2 3 4 5 6 7; do
3907 ac_script="$ac_script$as_nl$ac_script"
3909 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3910 { ac_script=; unset ac_script;}
3911 if test -z "$SED"; then
3912 ac_path_SED_found=false
3913 # Loop through the user's path and test for each of PROGNAME-LIST
3914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3918 test -z "$as_dir" && as_dir=.
3919 for ac_prog in sed gsed; do
3920 for ac_exec_ext in '' $ac_executable_extensions; do
3921 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3922 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3923 # Check for GNU ac_path_SED and select it if it is found.
3924 # Check for GNU $ac_path_SED
3925 case `"$ac_path_SED" --version 2>&1` in
3927 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3930 $as_echo_n 0123456789 >"conftest.in"
3933 cat "conftest.in" "conftest.in" >"conftest.tmp"
3934 mv "conftest.tmp" "conftest.in"
3935 cp "conftest.in" "conftest.nl"
3936 $as_echo '' >> "conftest.nl"
3937 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3938 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3939 as_fn_arith $ac_count + 1 && ac_count=$as_val
3940 if test $ac_count -gt ${ac_path_SED_max-0}; then
3941 # Best one so far, save it but keep looking for a better one
3942 ac_cv_path_SED="$ac_path_SED"
3943 ac_path_SED_max=$ac_count
3945 # 10*(2^10) chars as input seems more than enough
3946 test $ac_count -gt 10 && break
3948 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3951 $ac_path_SED_found && break 3
3956 if test -z "$ac_cv_path_SED"; then
3957 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3965 $as_echo "$ac_cv_path_SED" >&6; }
3966 SED="$ac_cv_path_SED"
3969 test -z "$SED" && SED=sed
3970 Xsed="$SED -e 1s/^X//"
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3983 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3984 if test "${ac_cv_path_GREP+set}" = set; then :
3985 $as_echo_n "(cached) " >&6
3987 if test -z "$GREP"; then
3988 ac_path_GREP_found=false
3989 # Loop through the user's path and test for each of PROGNAME-LIST
3990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3991 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3994 test -z "$as_dir" && as_dir=.
3995 for ac_prog in grep ggrep; do
3996 for ac_exec_ext in '' $ac_executable_extensions; do
3997 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3998 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3999 # Check for GNU ac_path_GREP and select it if it is found.
4000 # Check for GNU $ac_path_GREP
4001 case `"$ac_path_GREP" --version 2>&1` in
4003 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4006 $as_echo_n 0123456789 >"conftest.in"
4009 cat "conftest.in" "conftest.in" >"conftest.tmp"
4010 mv "conftest.tmp" "conftest.in"
4011 cp "conftest.in" "conftest.nl"
4012 $as_echo 'GREP' >> "conftest.nl"
4013 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4014 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4015 as_fn_arith $ac_count + 1 && ac_count=$as_val
4016 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4017 # Best one so far, save it but keep looking for a better one
4018 ac_cv_path_GREP="$ac_path_GREP"
4019 ac_path_GREP_max=$ac_count
4021 # 10*(2^10) chars as input seems more than enough
4022 test $ac_count -gt 10 && break
4024 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4027 $ac_path_GREP_found && break 3
4032 if test -z "$ac_cv_path_GREP"; then
4033 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4036 ac_cv_path_GREP=$GREP
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4041 $as_echo "$ac_cv_path_GREP" >&6; }
4042 GREP="$ac_cv_path_GREP"
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4046 $as_echo_n "checking for egrep... " >&6; }
4047 if test "${ac_cv_path_EGREP+set}" = set; then :
4048 $as_echo_n "(cached) " >&6
4050 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4051 then ac_cv_path_EGREP="$GREP -E"
4053 if test -z "$EGREP"; then
4054 ac_path_EGREP_found=false
4055 # Loop through the user's path and test for each of PROGNAME-LIST
4056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4057 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4060 test -z "$as_dir" && as_dir=.
4061 for ac_prog in egrep; do
4062 for ac_exec_ext in '' $ac_executable_extensions; do
4063 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4064 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4065 # Check for GNU ac_path_EGREP and select it if it is found.
4066 # Check for GNU $ac_path_EGREP
4067 case `"$ac_path_EGREP" --version 2>&1` in
4069 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4072 $as_echo_n 0123456789 >"conftest.in"
4075 cat "conftest.in" "conftest.in" >"conftest.tmp"
4076 mv "conftest.tmp" "conftest.in"
4077 cp "conftest.in" "conftest.nl"
4078 $as_echo 'EGREP' >> "conftest.nl"
4079 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4080 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4081 as_fn_arith $ac_count + 1 && ac_count=$as_val
4082 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4083 # Best one so far, save it but keep looking for a better one
4084 ac_cv_path_EGREP="$ac_path_EGREP"
4085 ac_path_EGREP_max=$ac_count
4087 # 10*(2^10) chars as input seems more than enough
4088 test $ac_count -gt 10 && break
4090 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4093 $ac_path_EGREP_found && break 3
4098 if test -z "$ac_cv_path_EGREP"; then
4099 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4102 ac_cv_path_EGREP=$EGREP
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4108 $as_echo "$ac_cv_path_EGREP" >&6; }
4109 EGREP="$ac_cv_path_EGREP"
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4113 $as_echo_n "checking for fgrep... " >&6; }
4114 if test "${ac_cv_path_FGREP+set}" = set; then :
4115 $as_echo_n "(cached) " >&6
4117 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4118 then ac_cv_path_FGREP="$GREP -F"
4120 if test -z "$FGREP"; then
4121 ac_path_FGREP_found=false
4122 # Loop through the user's path and test for each of PROGNAME-LIST
4123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4124 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4127 test -z "$as_dir" && as_dir=.
4128 for ac_prog in fgrep; do
4129 for ac_exec_ext in '' $ac_executable_extensions; do
4130 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4131 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4132 # Check for GNU ac_path_FGREP and select it if it is found.
4133 # Check for GNU $ac_path_FGREP
4134 case `"$ac_path_FGREP" --version 2>&1` in
4136 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4139 $as_echo_n 0123456789 >"conftest.in"
4142 cat "conftest.in" "conftest.in" >"conftest.tmp"
4143 mv "conftest.tmp" "conftest.in"
4144 cp "conftest.in" "conftest.nl"
4145 $as_echo 'FGREP' >> "conftest.nl"
4146 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4147 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4148 as_fn_arith $ac_count + 1 && ac_count=$as_val
4149 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4150 # Best one so far, save it but keep looking for a better one
4151 ac_cv_path_FGREP="$ac_path_FGREP"
4152 ac_path_FGREP_max=$ac_count
4154 # 10*(2^10) chars as input seems more than enough
4155 test $ac_count -gt 10 && break
4157 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4160 $ac_path_FGREP_found && break 3
4165 if test -z "$ac_cv_path_FGREP"; then
4166 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4169 ac_cv_path_FGREP=$FGREP
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4175 $as_echo "$ac_cv_path_FGREP" >&6; }
4176 FGREP="$ac_cv_path_FGREP"
4179 test -z "$GREP" && GREP=grep
4199 # Check whether --with-gnu-ld was given.
4200 if test "${with_gnu_ld+set}" = set; then :
4201 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4207 if test "$GCC" = yes; then
4208 # Check if gcc -print-prog-name=ld gives a path.
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4210 $as_echo_n "checking for ld used by $CC... " >&6; }
4213 # gcc leaves a trailing carriage return which upsets mingw
4214 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4216 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4219 # Accept absolute paths.
4221 re_direlt='/[^/][^/]*/\.\./'
4222 # Canonicalize the pathname of ld
4223 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4224 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4225 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4227 test -z "$LD" && LD="$ac_prog"
4230 # If it fails, then pretend we aren't using GCC.
4234 # If it is relative, then search for the first ld in PATH.
4238 elif test "$with_gnu_ld" = yes; then
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4240 $as_echo_n "checking for GNU ld... " >&6; }
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4243 $as_echo_n "checking for non-GNU ld... " >&6; }
4245 if test "${lt_cv_path_LD+set}" = set; then :
4246 $as_echo_n "(cached) " >&6
4248 if test -z "$LD"; then
4249 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4250 for ac_dir in $PATH; do
4252 test -z "$ac_dir" && ac_dir=.
4253 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4254 lt_cv_path_LD="$ac_dir/$ac_prog"
4255 # Check to see if the program is GNU ld. I'd rather use --version,
4256 # but apparently some variants of GNU ld only accept -v.
4257 # Break only if it was the GNU/non-GNU ld that we prefer.
4258 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4259 *GNU* | *'with BFD'*)
4260 test "$with_gnu_ld" != no && break
4263 test "$with_gnu_ld" != yes && break
4270 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4275 if test -n "$LD"; then
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4277 $as_echo "$LD" >&6; }
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4280 $as_echo "no" >&6; }
4282 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4284 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4285 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4286 $as_echo_n "(cached) " >&6
4288 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4289 case `$LD -v 2>&1 </dev/null` in
4290 *GNU* | *'with BFD'*)
4291 lt_cv_prog_gnu_ld=yes
4294 lt_cv_prog_gnu_ld=no
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4299 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4300 with_gnu_ld=$lt_cv_prog_gnu_ld
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4311 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4312 if test "${lt_cv_path_NM+set}" = set; then :
4313 $as_echo_n "(cached) " >&6
4315 if test -n "$NM"; then
4316 # Let the user override the test.
4319 lt_nm_to_check="${ac_tool_prefix}nm"
4320 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4321 lt_nm_to_check="$lt_nm_to_check nm"
4323 for lt_tmp_nm in $lt_nm_to_check; do
4324 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4325 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4327 test -z "$ac_dir" && ac_dir=.
4328 tmp_nm="$ac_dir/$lt_tmp_nm"
4329 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4330 # Check to see if the nm accepts a BSD-compat flag.
4331 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4332 # nm: unknown option "B" ignored
4333 # Tru64's nm complains that /dev/null is an invalid object file
4334 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4335 */dev/null* | *'Invalid file or object type'*)
4336 lt_cv_path_NM="$tmp_nm -B"
4340 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4342 lt_cv_path_NM="$tmp_nm -p"
4346 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4347 continue # so that we can try to find one that supports BSD flags
4356 : ${lt_cv_path_NM=no}
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4360 $as_echo "$lt_cv_path_NM" >&6; }
4361 if test "$lt_cv_path_NM" != "no"; then
4364 # Didn't find any BSD compatible name lister, look for dumpbin.
4365 if test -n "$ac_tool_prefix"; then
4366 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4368 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4369 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4371 $as_echo_n "checking for $ac_word... " >&6; }
4372 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4373 $as_echo_n "(cached) " >&6
4375 if test -n "$DUMPBIN"; then
4376 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4382 test -z "$as_dir" && as_dir=.
4383 for ac_exec_ext in '' $ac_executable_extensions; do
4384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4385 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4395 DUMPBIN=$ac_cv_prog_DUMPBIN
4396 if test -n "$DUMPBIN"; then
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4398 $as_echo "$DUMPBIN" >&6; }
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4401 $as_echo "no" >&6; }
4405 test -n "$DUMPBIN" && break
4408 if test -z "$DUMPBIN"; then
4409 ac_ct_DUMPBIN=$DUMPBIN
4410 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4412 # Extract the first word of "$ac_prog", so it can be a program name with args.
4413 set dummy $ac_prog; ac_word=$2
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4415 $as_echo_n "checking for $ac_word... " >&6; }
4416 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4417 $as_echo_n "(cached) " >&6
4419 if test -n "$ac_ct_DUMPBIN"; then
4420 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4426 test -z "$as_dir" && as_dir=.
4427 for ac_exec_ext in '' $ac_executable_extensions; do
4428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4429 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4439 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4440 if test -n "$ac_ct_DUMPBIN"; then
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4442 $as_echo "$ac_ct_DUMPBIN" >&6; }
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4445 $as_echo "no" >&6; }
4449 test -n "$ac_ct_DUMPBIN" && break
4452 if test "x$ac_ct_DUMPBIN" = x; then
4455 case $cross_compiling:$ac_tool_warned in
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4459 ac_tool_warned=yes ;;
4461 DUMPBIN=$ac_ct_DUMPBIN
4466 if test "$DUMPBIN" != ":"; then
4470 test -z "$NM" && NM=nm
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4478 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4479 if test "${lt_cv_nm_interface+set}" = set; then :
4480 $as_echo_n "(cached) " >&6
4482 lt_cv_nm_interface="BSD nm"
4483 echo "int some_variable = 0;" > conftest.$ac_ext
4484 (eval echo "\"\$as_me:4484: $ac_compile\"" >&5)
4485 (eval "$ac_compile" 2>conftest.err)
4486 cat conftest.err >&5
4487 (eval echo "\"\$as_me:4487: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4488 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4489 cat conftest.err >&5
4490 (eval echo "\"\$as_me:4490: output\"" >&5)
4491 cat conftest.out >&5
4492 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4493 lt_cv_nm_interface="MS dumpbin"
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4498 $as_echo "$lt_cv_nm_interface" >&6; }
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4501 $as_echo_n "checking whether ln -s works... " >&6; }
4503 if test "$LN_S" = "ln -s"; then
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4505 $as_echo "yes" >&6; }
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4508 $as_echo "no, using $LN_S" >&6; }
4511 # find the maximum length of command line arguments
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4513 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4514 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4515 $as_echo_n "(cached) " >&6
4522 # On DJGPP, this test can blow up pretty badly due to problems in libc
4523 # (any single argument exceeding 2000 bytes causes a buffer overrun
4524 # during glob expansion). Even if it were fixed, the result of this
4525 # check would be larger than it should be.
4526 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4530 # Under GNU Hurd, this test is not required because there is
4531 # no limit to the length of command line arguments.
4532 # Libtool will interpret -1 as no limit whatsoever
4533 lt_cv_sys_max_cmd_len=-1;
4536 cygwin* | mingw* | cegcc*)
4537 # On Win9x/ME, this test blows up -- it succeeds, but takes
4538 # about 5 minutes as the teststring grows exponentially.
4539 # Worse, since 9x/ME are not pre-emptively multitasking,
4540 # you end up with a "frozen" computer, even though with patience
4541 # the test eventually succeeds (with a max line length of 256k).
4542 # Instead, let's just punt: use the minimum linelength reported by
4543 # all of the supported platforms: 8192 (on NT/2K/XP).
4544 lt_cv_sys_max_cmd_len=8192;
4548 # On AmigaOS with pdksh, this test takes hours, literally.
4549 # So we just punt and use a minimum line length of 8192.
4550 lt_cv_sys_max_cmd_len=8192;
4553 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4554 # This has been around since 386BSD, at least. Likely further.
4555 if test -x /sbin/sysctl; then
4556 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4557 elif test -x /usr/sbin/sysctl; then
4558 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4560 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4562 # And add a safety zone
4563 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4564 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4568 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4569 lt_cv_sys_max_cmd_len=196608
4573 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4574 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4575 # nice to cause kernel panics so lets avoid the loop below.
4576 # First set a reasonable default.
4577 lt_cv_sys_max_cmd_len=16384
4579 if test -x /sbin/sysconfig; then
4580 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4581 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4586 lt_cv_sys_max_cmd_len=102400
4588 sysv5* | sco5v6* | sysv4.2uw2*)
4589 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4590 if test -n "$kargmax"; then
4591 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4593 lt_cv_sys_max_cmd_len=32768
4597 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4598 if test -n "$lt_cv_sys_max_cmd_len"; then
4599 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4600 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4602 # Make teststring a little bigger before we do anything with it.
4603 # a 1K string should be a reasonable start.
4604 for i in 1 2 3 4 5 6 7 8 ; do
4605 teststring=$teststring$teststring
4607 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4608 # If test is not a shell built-in, we'll probably end up computing a
4609 # maximum length that is only half of the actual maximum length, but
4611 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4612 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4613 test $i != 17 # 1/2 MB should be enough
4616 teststring=$teststring$teststring
4618 # Only check the string length outside the loop.
4619 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4621 # Add a significant safety factor because C++ compilers can tack on
4622 # massive amounts of additional arguments before passing them to the
4623 # linker. It appears as though 1/2 is a usable value.
4624 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4631 if test -n $lt_cv_sys_max_cmd_len ; then
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4633 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4636 $as_echo "none" >&6; }
4638 max_cmd_len=$lt_cv_sys_max_cmd_len
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4650 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4651 # Try some XSI features
4654 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4656 && eval 'test $(( 1 + 1 )) -eq 2 \
4657 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4660 $as_echo "$xsi_shell" >&6; }
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4664 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4666 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4668 && lt_shell_append=yes
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4670 $as_echo "$lt_shell_append" >&6; }
4673 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4683 # test EBCDIC or ASCII
4684 case `echo X|tr X '\101'` in
4685 A) # ASCII based system
4686 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4687 lt_SP2NL='tr \040 \012'
4688 lt_NL2SP='tr \015\012 \040\040'
4690 *) # EBCDIC based system
4691 lt_SP2NL='tr \100 \n'
4692 lt_NL2SP='tr \r\n \100\100'
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4705 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4706 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4707 $as_echo_n "(cached) " >&6
4709 lt_cv_ld_reload_flag='-r'
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4712 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4713 reload_flag=$lt_cv_ld_reload_flag
4714 case $reload_flag in
4716 *) reload_flag=" $reload_flag" ;;
4718 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4721 if test "$GCC" = yes; then
4722 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4724 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4737 if test -n "$ac_tool_prefix"; then
4738 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4739 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4741 $as_echo_n "checking for $ac_word... " >&6; }
4742 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4743 $as_echo_n "(cached) " >&6
4745 if test -n "$OBJDUMP"; then
4746 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4752 test -z "$as_dir" && as_dir=.
4753 for ac_exec_ext in '' $ac_executable_extensions; do
4754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4755 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4765 OBJDUMP=$ac_cv_prog_OBJDUMP
4766 if test -n "$OBJDUMP"; then
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4768 $as_echo "$OBJDUMP" >&6; }
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4771 $as_echo "no" >&6; }
4776 if test -z "$ac_cv_prog_OBJDUMP"; then
4777 ac_ct_OBJDUMP=$OBJDUMP
4778 # Extract the first word of "objdump", so it can be a program name with args.
4779 set dummy objdump; ac_word=$2
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4781 $as_echo_n "checking for $ac_word... " >&6; }
4782 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4783 $as_echo_n "(cached) " >&6
4785 if test -n "$ac_ct_OBJDUMP"; then
4786 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4792 test -z "$as_dir" && as_dir=.
4793 for ac_exec_ext in '' $ac_executable_extensions; do
4794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4795 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4805 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4806 if test -n "$ac_ct_OBJDUMP"; then
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4808 $as_echo "$ac_ct_OBJDUMP" >&6; }
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4811 $as_echo "no" >&6; }
4814 if test "x$ac_ct_OBJDUMP" = x; then
4817 case $cross_compiling:$ac_tool_warned in
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4820 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4821 ac_tool_warned=yes ;;
4823 OBJDUMP=$ac_ct_OBJDUMP
4826 OBJDUMP="$ac_cv_prog_OBJDUMP"
4829 test -z "$OBJDUMP" && OBJDUMP=objdump
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4840 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4841 if test "${lt_cv_deplibs_check_method+set}" = set; then :
4842 $as_echo_n "(cached) " >&6
4844 lt_cv_file_magic_cmd='$MAGIC_CMD'
4845 lt_cv_file_magic_test_file=
4846 lt_cv_deplibs_check_method='unknown'
4847 # Need to set the preceding variable on all platforms that support
4848 # interlibrary dependencies.
4849 # 'none' -- dependencies not supported.
4850 # `unknown' -- same as none, but documents that we really don't know.
4851 # 'pass_all' -- all dependencies passed with no checks.
4852 # 'test_compile' -- check by making test program.
4853 # 'file_magic [[regex]]' -- check by looking for files in library path
4854 # which responds to the $file_magic_cmd with a given extended regex.
4855 # If you have `file' or equivalent on your system and you're not sure
4856 # whether `pass_all' will *always* work, you probably want this one.
4860 lt_cv_deplibs_check_method=pass_all
4864 lt_cv_deplibs_check_method=pass_all
4868 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4869 lt_cv_file_magic_cmd='/usr/bin/file -L'
4870 lt_cv_file_magic_test_file=/shlib/libc.so
4874 # func_win32_libid is a shell function defined in ltmain.sh
4875 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4876 lt_cv_file_magic_cmd='func_win32_libid'
4880 # Base MSYS/MinGW do not provide the 'file' command needed by
4881 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4882 # unless we find 'file', for example because we are cross-compiling.
4883 if ( file / ) >/dev/null 2>&1; then
4884 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4885 lt_cv_file_magic_cmd='func_win32_libid'
4887 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4888 lt_cv_file_magic_cmd='$OBJDUMP -f'
4893 # use the weaker test based on 'objdump'. See mingw*.
4894 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4895 lt_cv_file_magic_cmd='$OBJDUMP -f'
4898 darwin* | rhapsody*)
4899 lt_cv_deplibs_check_method=pass_all
4902 freebsd* | dragonfly*)
4903 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4906 # Not sure whether the presence of OpenBSD here was a mistake.
4907 # Let's accept both of them until this is cleared up.
4908 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4909 lt_cv_file_magic_cmd=/usr/bin/file
4910 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4914 lt_cv_deplibs_check_method=pass_all
4919 lt_cv_deplibs_check_method=pass_all
4922 hpux10.20* | hpux11*)
4923 lt_cv_file_magic_cmd=/usr/bin/file
4926 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4927 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4930 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]'
4931 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4934 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4935 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4941 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4942 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4945 irix5* | irix6* | nonstopux*)
4947 *-32|*"-32 ") libmagic=32-bit;;
4948 *-n32|*"-n32 ") libmagic=N32;;
4949 *-64|*"-64 ") libmagic=64-bit;;
4950 *) libmagic=never-match;;
4952 lt_cv_deplibs_check_method=pass_all
4955 # This must be Linux ELF.
4956 linux* | k*bsd*-gnu | kopensolaris*-gnu)
4957 lt_cv_deplibs_check_method=pass_all
4961 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4962 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4964 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4969 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4970 lt_cv_file_magic_cmd=/usr/bin/file
4971 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4975 lt_cv_deplibs_check_method=pass_all
4979 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4980 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4982 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4986 osf3* | osf4* | osf5*)
4987 lt_cv_deplibs_check_method=pass_all
4991 lt_cv_deplibs_check_method=pass_all
4995 lt_cv_deplibs_check_method=pass_all
4998 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4999 lt_cv_deplibs_check_method=pass_all
5003 case $host_vendor in
5005 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]'
5006 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5009 lt_cv_deplibs_check_method=pass_all
5012 lt_cv_file_magic_cmd='/bin/file'
5013 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5016 lt_cv_file_magic_cmd='/bin/file'
5017 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5018 lt_cv_file_magic_test_file=/lib/libc.so
5021 lt_cv_deplibs_check_method=pass_all
5024 lt_cv_deplibs_check_method=pass_all
5030 lt_cv_deplibs_check_method=pass_all
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5036 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5037 file_magic_cmd=$lt_cv_file_magic_cmd
5038 deplibs_check_method=$lt_cv_deplibs_check_method
5039 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5052 if test -n "$ac_tool_prefix"; then
5053 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5054 set dummy ${ac_tool_prefix}ar; ac_word=$2
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5056 $as_echo_n "checking for $ac_word... " >&6; }
5057 if test "${ac_cv_prog_AR+set}" = set; then :
5058 $as_echo_n "(cached) " >&6
5060 if test -n "$AR"; then
5061 ac_cv_prog_AR="$AR" # Let the user override the test.
5063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5067 test -z "$as_dir" && as_dir=.
5068 for ac_exec_ext in '' $ac_executable_extensions; do
5069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5070 ac_cv_prog_AR="${ac_tool_prefix}ar"
5071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5081 if test -n "$AR"; then
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5083 $as_echo "$AR" >&6; }
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5086 $as_echo "no" >&6; }
5091 if test -z "$ac_cv_prog_AR"; then
5093 # Extract the first word of "ar", so it can be a program name with args.
5094 set dummy ar; ac_word=$2
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5096 $as_echo_n "checking for $ac_word... " >&6; }
5097 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5098 $as_echo_n "(cached) " >&6
5100 if test -n "$ac_ct_AR"; then
5101 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5107 test -z "$as_dir" && as_dir=.
5108 for ac_exec_ext in '' $ac_executable_extensions; do
5109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5110 ac_cv_prog_ac_ct_AR="ar"
5111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5120 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5121 if test -n "$ac_ct_AR"; then
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5123 $as_echo "$ac_ct_AR" >&6; }
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5126 $as_echo "no" >&6; }
5129 if test "x$ac_ct_AR" = x; then
5132 case $cross_compiling:$ac_tool_warned in
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5135 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5136 ac_tool_warned=yes ;;
5144 test -z "$AR" && AR=ar
5145 test -z "$AR_FLAGS" && AR_FLAGS=cru
5157 if test -n "$ac_tool_prefix"; then
5158 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5159 set dummy ${ac_tool_prefix}strip; ac_word=$2
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5161 $as_echo_n "checking for $ac_word... " >&6; }
5162 if test "${ac_cv_prog_STRIP+set}" = set; then :
5163 $as_echo_n "(cached) " >&6
5165 if test -n "$STRIP"; then
5166 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5172 test -z "$as_dir" && as_dir=.
5173 for ac_exec_ext in '' $ac_executable_extensions; do
5174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5175 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5185 STRIP=$ac_cv_prog_STRIP
5186 if test -n "$STRIP"; then
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5188 $as_echo "$STRIP" >&6; }
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5191 $as_echo "no" >&6; }
5196 if test -z "$ac_cv_prog_STRIP"; then
5198 # Extract the first word of "strip", so it can be a program name with args.
5199 set dummy strip; ac_word=$2
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5201 $as_echo_n "checking for $ac_word... " >&6; }
5202 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5203 $as_echo_n "(cached) " >&6
5205 if test -n "$ac_ct_STRIP"; then
5206 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5212 test -z "$as_dir" && as_dir=.
5213 for ac_exec_ext in '' $ac_executable_extensions; do
5214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5215 ac_cv_prog_ac_ct_STRIP="strip"
5216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5225 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5226 if test -n "$ac_ct_STRIP"; then
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5228 $as_echo "$ac_ct_STRIP" >&6; }
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5231 $as_echo "no" >&6; }
5234 if test "x$ac_ct_STRIP" = x; then
5237 case $cross_compiling:$ac_tool_warned in
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5240 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5241 ac_tool_warned=yes ;;
5246 STRIP="$ac_cv_prog_STRIP"
5249 test -z "$STRIP" && STRIP=:
5256 if test -n "$ac_tool_prefix"; then
5257 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5258 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5260 $as_echo_n "checking for $ac_word... " >&6; }
5261 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5262 $as_echo_n "(cached) " >&6
5264 if test -n "$RANLIB"; then
5265 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5271 test -z "$as_dir" && as_dir=.
5272 for ac_exec_ext in '' $ac_executable_extensions; do
5273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5274 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5284 RANLIB=$ac_cv_prog_RANLIB
5285 if test -n "$RANLIB"; then
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5287 $as_echo "$RANLIB" >&6; }
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5290 $as_echo "no" >&6; }
5295 if test -z "$ac_cv_prog_RANLIB"; then
5296 ac_ct_RANLIB=$RANLIB
5297 # Extract the first word of "ranlib", so it can be a program name with args.
5298 set dummy ranlib; ac_word=$2
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5300 $as_echo_n "checking for $ac_word... " >&6; }
5301 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5302 $as_echo_n "(cached) " >&6
5304 if test -n "$ac_ct_RANLIB"; then
5305 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5311 test -z "$as_dir" && as_dir=.
5312 for ac_exec_ext in '' $ac_executable_extensions; do
5313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5314 ac_cv_prog_ac_ct_RANLIB="ranlib"
5315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5324 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5325 if test -n "$ac_ct_RANLIB"; then
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5327 $as_echo "$ac_ct_RANLIB" >&6; }
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5330 $as_echo "no" >&6; }
5333 if test "x$ac_ct_RANLIB" = x; then
5336 case $cross_compiling:$ac_tool_warned in
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5339 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5340 ac_tool_warned=yes ;;
5342 RANLIB=$ac_ct_RANLIB
5345 RANLIB="$ac_cv_prog_RANLIB"
5348 test -z "$RANLIB" && RANLIB=:
5355 # Determine commands to create old-style static archives.
5356 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5357 old_postinstall_cmds='chmod 644 $oldlib'
5358 old_postuninstall_cmds=
5360 if test -n "$RANLIB"; then
5363 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5366 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5369 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5405 # If no C compiler was specified, use CC.
5408 # If no C compiler flags were specified, use CFLAGS.
5409 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5411 # Allow CC to be a program name with arguments.
5415 # Check for command to grab the raw symbol name followed by C symbol from nm.
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5417 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5418 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5419 $as_echo_n "(cached) " >&6
5422 # These are sane defaults that work on at least a few old systems.
5423 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5425 # Character class describing NM global symbol codes.
5426 symcode='[BCDEGRST]'
5428 # Regexp to match symbols that can be accessed directly from C.
5429 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5431 # Define system-specific variables.
5436 cygwin* | mingw* | pw32* | cegcc*)
5437 symcode='[ABCDGISTW]'
5440 if test "$host_cpu" = ia64; then
5441 symcode='[ABCDEGRST]'
5445 symcode='[BCDEGRST]'
5448 symcode='[BCDEGQRST]'
5459 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5467 # If we're using GNU nm, then use its standard symbol codes.
5468 case `$NM -V 2>&1` in
5469 *GNU* | *'with BFD'*)
5470 symcode='[ABCDGIRSTW]' ;;
5473 # Transform an extracted symbol line into a proper C declaration.
5474 # Some systems (esp. on ia64) link data and code symbols differently,
5475 # so use this general approach.
5476 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5478 # Transform an extracted symbol line into symbol name and symbol address
5479 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5480 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'"
5482 # Handle CRLF in mingw tool chain
5486 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5490 # Try without a prefix underscore, then with it.
5491 for ac_symprfx in "" "_"; do
5493 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5494 symxfrm="\\1 $ac_symprfx\\2 \\2"
5496 # Write the raw and C identifiers.
5497 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5498 # Fake it for dumpbin and say T for any non-static function
5499 # and D for any global variable.
5500 # Also find C++ and __fastcall symbols from MSVC++,
5501 # which start with @ or ?.
5502 lt_cv_sys_global_symbol_pipe="$AWK '"\
5503 " {last_section=section; section=\$ 3};"\
5504 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5505 " \$ 0!~/External *\|/{next};"\
5506 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5507 " {if(hide[section]) next};"\
5508 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5509 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5510 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5511 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5512 " ' prfx=^$ac_symprfx"
5514 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5517 # Check to see that the pipe works correctly.
5521 cat > conftest.$ac_ext <<_LT_EOF
5526 void nm_test_func(void);
5527 void nm_test_func(void){}
5531 int main(){nm_test_var='a';nm_test_func();return(0);}
5534 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5535 (eval $ac_compile) 2>&5
5537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5538 test $ac_status = 0; }; then
5539 # Now try to grab the symbols.
5541 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5542 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5545 test $ac_status = 0; } && test -s "$nlist"; then
5546 # Try sorting and uniquifying the output.
5547 if sort "$nlist" | uniq > "$nlist"T; then
5548 mv -f "$nlist"T "$nlist"
5553 # Make sure that we snagged all the symbols we need.
5554 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5555 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5556 cat <<_LT_EOF > conftest.$ac_ext
5562 # Now generate the symbol file.
5563 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5565 cat <<_LT_EOF >> conftest.$ac_ext
5567 /* The mapping between symbol names and symbols. */
5572 lt__PROGRAM__LTX_preloaded_symbols[] =
5574 { "@PROGRAM@", (void *) 0 },
5576 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5577 cat <<\_LT_EOF >> conftest.$ac_ext
5581 /* This works around a problem in FreeBSD linker */
5582 #ifdef FREEBSD_WORKAROUND
5583 static const void *lt_preloaded_setup() {
5584 return lt__PROGRAM__LTX_preloaded_symbols;
5592 # Now try linking the two files.
5593 mv conftest.$ac_objext conftstm.$ac_objext
5594 lt_save_LIBS="$LIBS"
5595 lt_save_CFLAGS="$CFLAGS"
5596 LIBS="conftstm.$ac_objext"
5597 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5598 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5599 (eval $ac_link) 2>&5
5601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5602 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5605 LIBS="$lt_save_LIBS"
5606 CFLAGS="$lt_save_CFLAGS"
5608 echo "cannot find nm_test_func in $nlist" >&5
5611 echo "cannot find nm_test_var in $nlist" >&5
5614 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5617 echo "$progname: failed program was:" >&5
5618 cat conftest.$ac_ext >&5
5620 rm -rf conftest* conftst*
5622 # Do not use the global_symbol_pipe unless it works.
5623 if test "$pipe_works" = yes; then
5626 lt_cv_sys_global_symbol_pipe=
5632 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5633 lt_cv_sys_global_symbol_to_cdecl=
5635 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5637 $as_echo "failed" >&6; }
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5640 $as_echo "ok" >&6; }
5665 # Check whether --enable-libtool-lock was given.
5666 if test "${enable_libtool_lock+set}" = set; then :
5667 enableval=$enable_libtool_lock;
5670 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5672 # Some flags need to be propagated to the compiler or linker for good
5676 # Find out which ABI we are using.
5677 echo 'int i;' > conftest.$ac_ext
5678 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5679 (eval $ac_compile) 2>&5
5681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5682 test $ac_status = 0; }; then
5683 case `/usr/bin/file conftest.$ac_objext` in
5695 # Find out which ABI we are using.
5696 echo '#line 5696 "configure"' > conftest.$ac_ext
5697 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5698 (eval $ac_compile) 2>&5
5700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5701 test $ac_status = 0; }; then
5702 if test "$lt_cv_prog_gnu_ld" = yes; then
5703 case `/usr/bin/file conftest.$ac_objext` in
5705 LD="${LD-ld} -melf32bsmip"
5708 LD="${LD-ld} -melf32bmipn32"
5711 LD="${LD-ld} -melf64bmip"
5715 case `/usr/bin/file conftest.$ac_objext` in
5731 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5732 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5733 # Find out which ABI we are using.
5734 echo 'int i;' > conftest.$ac_ext
5735 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5736 (eval $ac_compile) 2>&5
5738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5739 test $ac_status = 0; }; then
5740 case `/usr/bin/file conftest.o` in
5743 x86_64-*kfreebsd*-gnu)
5744 LD="${LD-ld} -m elf_i386_fbsd"
5747 LD="${LD-ld} -m elf_i386"
5749 ppc64-*linux*|powerpc64-*linux*)
5750 LD="${LD-ld} -m elf32ppclinux"
5753 LD="${LD-ld} -m elf_s390"
5756 LD="${LD-ld} -m elf32_sparc"
5762 x86_64-*kfreebsd*-gnu)
5763 LD="${LD-ld} -m elf_x86_64_fbsd"
5766 LD="${LD-ld} -m elf_x86_64"
5768 ppc*-*linux*|powerpc*-*linux*)
5769 LD="${LD-ld} -m elf64ppc"
5771 s390*-*linux*|s390*-*tpf*)
5772 LD="${LD-ld} -m elf64_s390"
5775 LD="${LD-ld} -m elf64_sparc"
5785 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5786 SAVE_CFLAGS="$CFLAGS"
5787 CFLAGS="$CFLAGS -belf"
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5789 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5790 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5791 $as_echo_n "(cached) " >&6
5794 ac_cpp='$CPP $CPPFLAGS'
5795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5800 /* end confdefs.h. */
5810 if ac_fn_c_try_link "$LINENO"; then :
5811 lt_cv_cc_needs_belf=yes
5813 lt_cv_cc_needs_belf=no
5815 rm -f core conftest.err conftest.$ac_objext \
5816 conftest$ac_exeext conftest.$ac_ext
5818 ac_cpp='$CPP $CPPFLAGS'
5819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5825 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5826 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5827 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5828 CFLAGS="$SAVE_CFLAGS"
5832 # Find out which ABI we are using.
5833 echo 'int i;' > conftest.$ac_ext
5834 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5835 (eval $ac_compile) 2>&5
5837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5838 test $ac_status = 0; }; then
5839 case `/usr/bin/file conftest.o` in
5841 case $lt_cv_prog_gnu_ld in
5842 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5844 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5856 need_locks="$enable_libtool_lock"
5860 rhapsody* | darwin*)
5861 if test -n "$ac_tool_prefix"; then
5862 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5863 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5865 $as_echo_n "checking for $ac_word... " >&6; }
5866 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
5867 $as_echo_n "(cached) " >&6
5869 if test -n "$DSYMUTIL"; then
5870 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5876 test -z "$as_dir" && as_dir=.
5877 for ac_exec_ext in '' $ac_executable_extensions; do
5878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5879 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5889 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5890 if test -n "$DSYMUTIL"; then
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
5892 $as_echo "$DSYMUTIL" >&6; }
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5895 $as_echo "no" >&6; }
5900 if test -z "$ac_cv_prog_DSYMUTIL"; then
5901 ac_ct_DSYMUTIL=$DSYMUTIL
5902 # Extract the first word of "dsymutil", so it can be a program name with args.
5903 set dummy dsymutil; ac_word=$2
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5905 $as_echo_n "checking for $ac_word... " >&6; }
5906 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
5907 $as_echo_n "(cached) " >&6
5909 if test -n "$ac_ct_DSYMUTIL"; then
5910 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5916 test -z "$as_dir" && as_dir=.
5917 for ac_exec_ext in '' $ac_executable_extensions; do
5918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5919 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5929 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5930 if test -n "$ac_ct_DSYMUTIL"; then
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
5932 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5935 $as_echo "no" >&6; }
5938 if test "x$ac_ct_DSYMUTIL" = x; then
5941 case $cross_compiling:$ac_tool_warned in
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5944 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5945 ac_tool_warned=yes ;;
5947 DSYMUTIL=$ac_ct_DSYMUTIL
5950 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5953 if test -n "$ac_tool_prefix"; then
5954 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5955 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5957 $as_echo_n "checking for $ac_word... " >&6; }
5958 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
5959 $as_echo_n "(cached) " >&6
5961 if test -n "$NMEDIT"; then
5962 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5968 test -z "$as_dir" && as_dir=.
5969 for ac_exec_ext in '' $ac_executable_extensions; do
5970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5971 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
5972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5981 NMEDIT=$ac_cv_prog_NMEDIT
5982 if test -n "$NMEDIT"; then
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
5984 $as_echo "$NMEDIT" >&6; }
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5987 $as_echo "no" >&6; }
5992 if test -z "$ac_cv_prog_NMEDIT"; then
5993 ac_ct_NMEDIT=$NMEDIT
5994 # Extract the first word of "nmedit", so it can be a program name with args.
5995 set dummy nmedit; ac_word=$2
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5997 $as_echo_n "checking for $ac_word... " >&6; }
5998 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
5999 $as_echo_n "(cached) " >&6
6001 if test -n "$ac_ct_NMEDIT"; then
6002 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6008 test -z "$as_dir" && as_dir=.
6009 for ac_exec_ext in '' $ac_executable_extensions; do
6010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6011 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6021 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6022 if test -n "$ac_ct_NMEDIT"; then
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6024 $as_echo "$ac_ct_NMEDIT" >&6; }
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6027 $as_echo "no" >&6; }
6030 if test "x$ac_ct_NMEDIT" = x; then
6033 case $cross_compiling:$ac_tool_warned in
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6036 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6037 ac_tool_warned=yes ;;
6039 NMEDIT=$ac_ct_NMEDIT
6042 NMEDIT="$ac_cv_prog_NMEDIT"
6045 if test -n "$ac_tool_prefix"; then
6046 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6047 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6049 $as_echo_n "checking for $ac_word... " >&6; }
6050 if test "${ac_cv_prog_LIPO+set}" = set; then :
6051 $as_echo_n "(cached) " >&6
6053 if test -n "$LIPO"; then
6054 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6060 test -z "$as_dir" && as_dir=.
6061 for ac_exec_ext in '' $ac_executable_extensions; do
6062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6063 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6073 LIPO=$ac_cv_prog_LIPO
6074 if test -n "$LIPO"; then
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6076 $as_echo "$LIPO" >&6; }
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6079 $as_echo "no" >&6; }
6084 if test -z "$ac_cv_prog_LIPO"; then
6086 # Extract the first word of "lipo", so it can be a program name with args.
6087 set dummy lipo; ac_word=$2
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6089 $as_echo_n "checking for $ac_word... " >&6; }
6090 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6091 $as_echo_n "(cached) " >&6
6093 if test -n "$ac_ct_LIPO"; then
6094 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6100 test -z "$as_dir" && as_dir=.
6101 for ac_exec_ext in '' $ac_executable_extensions; do
6102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6103 ac_cv_prog_ac_ct_LIPO="lipo"
6104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6113 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6114 if test -n "$ac_ct_LIPO"; then
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6116 $as_echo "$ac_ct_LIPO" >&6; }
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6119 $as_echo "no" >&6; }
6122 if test "x$ac_ct_LIPO" = x; then
6125 case $cross_compiling:$ac_tool_warned in
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6128 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6129 ac_tool_warned=yes ;;
6134 LIPO="$ac_cv_prog_LIPO"
6137 if test -n "$ac_tool_prefix"; then
6138 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6139 set dummy ${ac_tool_prefix}otool; ac_word=$2
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6141 $as_echo_n "checking for $ac_word... " >&6; }
6142 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6143 $as_echo_n "(cached) " >&6
6145 if test -n "$OTOOL"; then
6146 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6152 test -z "$as_dir" && as_dir=.
6153 for ac_exec_ext in '' $ac_executable_extensions; do
6154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6155 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6165 OTOOL=$ac_cv_prog_OTOOL
6166 if test -n "$OTOOL"; then
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6168 $as_echo "$OTOOL" >&6; }
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6171 $as_echo "no" >&6; }
6176 if test -z "$ac_cv_prog_OTOOL"; then
6178 # Extract the first word of "otool", so it can be a program name with args.
6179 set dummy otool; ac_word=$2
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6181 $as_echo_n "checking for $ac_word... " >&6; }
6182 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6183 $as_echo_n "(cached) " >&6
6185 if test -n "$ac_ct_OTOOL"; then
6186 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6192 test -z "$as_dir" && as_dir=.
6193 for ac_exec_ext in '' $ac_executable_extensions; do
6194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6195 ac_cv_prog_ac_ct_OTOOL="otool"
6196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6205 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6206 if test -n "$ac_ct_OTOOL"; then
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6208 $as_echo "$ac_ct_OTOOL" >&6; }
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6211 $as_echo "no" >&6; }
6214 if test "x$ac_ct_OTOOL" = x; then
6217 case $cross_compiling:$ac_tool_warned in
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6220 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6221 ac_tool_warned=yes ;;
6226 OTOOL="$ac_cv_prog_OTOOL"
6229 if test -n "$ac_tool_prefix"; then
6230 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6231 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6233 $as_echo_n "checking for $ac_word... " >&6; }
6234 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6235 $as_echo_n "(cached) " >&6
6237 if test -n "$OTOOL64"; then
6238 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6244 test -z "$as_dir" && as_dir=.
6245 for ac_exec_ext in '' $ac_executable_extensions; do
6246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6247 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6257 OTOOL64=$ac_cv_prog_OTOOL64
6258 if test -n "$OTOOL64"; then
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6260 $as_echo "$OTOOL64" >&6; }
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6263 $as_echo "no" >&6; }
6268 if test -z "$ac_cv_prog_OTOOL64"; then
6269 ac_ct_OTOOL64=$OTOOL64
6270 # Extract the first word of "otool64", so it can be a program name with args.
6271 set dummy otool64; ac_word=$2
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6273 $as_echo_n "checking for $ac_word... " >&6; }
6274 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6275 $as_echo_n "(cached) " >&6
6277 if test -n "$ac_ct_OTOOL64"; then
6278 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6284 test -z "$as_dir" && as_dir=.
6285 for ac_exec_ext in '' $ac_executable_extensions; do
6286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6287 ac_cv_prog_ac_ct_OTOOL64="otool64"
6288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6297 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6298 if test -n "$ac_ct_OTOOL64"; then
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6300 $as_echo "$ac_ct_OTOOL64" >&6; }
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6303 $as_echo "no" >&6; }
6306 if test "x$ac_ct_OTOOL64" = x; then
6309 case $cross_compiling:$ac_tool_warned in
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6313 ac_tool_warned=yes ;;
6315 OTOOL64=$ac_ct_OTOOL64
6318 OTOOL64="$ac_cv_prog_OTOOL64"
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6348 $as_echo_n "checking for -single_module linker flag... " >&6; }
6349 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6350 $as_echo_n "(cached) " >&6
6352 lt_cv_apple_cc_single_mod=no
6353 if test -z "${LT_MULTI_MODULE}"; then
6354 # By default we will add the -single_module flag. You can override
6355 # by either setting the environment variable LT_MULTI_MODULE
6356 # non-empty at configure time, or by adding -multi_module to the
6358 rm -rf libconftest.dylib*
6359 echo "int foo(void){return 1;}" > conftest.c
6360 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6361 -dynamiclib -Wl,-single_module conftest.c" >&5
6362 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6363 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6365 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6366 lt_cv_apple_cc_single_mod=yes
6368 cat conftest.err >&5
6370 rm -rf libconftest.dylib*
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6375 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6377 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6378 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6379 $as_echo_n "(cached) " >&6
6381 lt_cv_ld_exported_symbols_list=no
6382 save_LDFLAGS=$LDFLAGS
6383 echo "_main" > conftest.sym
6384 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6386 /* end confdefs.h. */
6396 if ac_fn_c_try_link "$LINENO"; then :
6397 lt_cv_ld_exported_symbols_list=yes
6399 lt_cv_ld_exported_symbols_list=no
6401 rm -f core conftest.err conftest.$ac_objext \
6402 conftest$ac_exeext conftest.$ac_ext
6403 LDFLAGS="$save_LDFLAGS"
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6407 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6409 rhapsody* | darwin1.[012])
6410 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6412 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6413 darwin*) # darwin 5.x on
6414 # if running on 10.5 or later, the deployment target defaults
6415 # to the OS version, if on x86, and 10.4, the deployment
6416 # target defaults to 10.4. Don't you love it?
6417 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6418 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6419 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6421 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6423 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6427 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6428 _lt_dar_single_mod='$single_module'
6430 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6431 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6433 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6435 if test "$DSYMUTIL" != ":"; then
6436 _lt_dsymutil='~$DSYMUTIL $lib || :'
6444 ac_cpp='$CPP $CPPFLAGS'
6445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6449 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6450 # On Suns, sometimes $CPP names a directory.
6451 if test -n "$CPP" && test -d "$CPP"; then
6454 if test -z "$CPP"; then
6455 if test "${ac_cv_prog_CPP+set}" = set; then :
6456 $as_echo_n "(cached) " >&6
6458 # Double quotes because CPP needs to be expanded
6459 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6462 for ac_c_preproc_warn_flag in '' yes
6464 # Use a header file that comes with gcc, so configuring glibc
6465 # with a fresh cross-compiler works.
6466 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6467 # <limits.h> exists even on freestanding compilers.
6468 # On the NeXT, cc -E runs the code through the compiler's parser,
6469 # not just through cpp. "Syntax error" is here to catch this case.
6470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6471 /* end confdefs.h. */
6473 # include <limits.h>
6475 # include <assert.h>
6479 if ac_fn_c_try_cpp "$LINENO"; then :
6482 # Broken: fails on valid input.
6485 rm -f conftest.err conftest.$ac_ext
6487 # OK, works on sane cases. Now check whether nonexistent headers
6488 # can be detected and how.
6489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6490 /* end confdefs.h. */
6491 #include <ac_nonexistent.h>
6493 if ac_fn_c_try_cpp "$LINENO"; then :
6494 # Broken: success on invalid input.
6497 # Passes both tests.
6501 rm -f conftest.err conftest.$ac_ext
6504 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6505 rm -f conftest.err conftest.$ac_ext
6506 if $ac_preproc_ok; then :
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6519 $as_echo "$CPP" >&6; }
6521 for ac_c_preproc_warn_flag in '' yes
6523 # Use a header file that comes with gcc, so configuring glibc
6524 # with a fresh cross-compiler works.
6525 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6526 # <limits.h> exists even on freestanding compilers.
6527 # On the NeXT, cc -E runs the code through the compiler's parser,
6528 # not just through cpp. "Syntax error" is here to catch this case.
6529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6530 /* end confdefs.h. */
6532 # include <limits.h>
6534 # include <assert.h>
6538 if ac_fn_c_try_cpp "$LINENO"; then :
6541 # Broken: fails on valid input.
6544 rm -f conftest.err conftest.$ac_ext
6546 # OK, works on sane cases. Now check whether nonexistent headers
6547 # can be detected and how.
6548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6549 /* end confdefs.h. */
6550 #include <ac_nonexistent.h>
6552 if ac_fn_c_try_cpp "$LINENO"; then :
6553 # Broken: success on invalid input.
6556 # Passes both tests.
6560 rm -f conftest.err conftest.$ac_ext
6563 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6564 rm -f conftest.err conftest.$ac_ext
6565 if $ac_preproc_ok; then :
6568 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6569 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6570 as_fn_error "C preprocessor \"$CPP\" fails sanity check
6571 See \`config.log' for more details." "$LINENO" 5; }
6575 ac_cpp='$CPP $CPPFLAGS'
6576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6582 $as_echo_n "checking for ANSI C header files... " >&6; }
6583 if test "${ac_cv_header_stdc+set}" = set; then :
6584 $as_echo_n "(cached) " >&6
6586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6587 /* end confdefs.h. */
6601 if ac_fn_c_try_compile "$LINENO"; then :
6602 ac_cv_header_stdc=yes
6604 ac_cv_header_stdc=no
6606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6608 if test $ac_cv_header_stdc = yes; then
6609 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6611 /* end confdefs.h. */
6615 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6616 $EGREP "memchr" >/dev/null 2>&1; then :
6619 ac_cv_header_stdc=no
6625 if test $ac_cv_header_stdc = yes; then
6626 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6628 /* end confdefs.h. */
6632 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6633 $EGREP "free" >/dev/null 2>&1; then :
6636 ac_cv_header_stdc=no
6642 if test $ac_cv_header_stdc = yes; then
6643 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6644 if test "$cross_compiling" = yes; then :
6647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6648 /* end confdefs.h. */
6651 #if ((' ' & 0x0FF) == 0x020)
6652 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6653 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6655 # define ISLOWER(c) \
6656 (('a' <= (c) && (c) <= 'i') \
6657 || ('j' <= (c) && (c) <= 'r') \
6658 || ('s' <= (c) && (c) <= 'z'))
6659 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6662 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6667 for (i = 0; i < 256; i++)
6668 if (XOR (islower (i), ISLOWER (i))
6669 || toupper (i) != TOUPPER (i))
6674 if ac_fn_c_try_run "$LINENO"; then :
6677 ac_cv_header_stdc=no
6679 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6680 conftest.$ac_objext conftest.beam conftest.$ac_ext
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6686 $as_echo "$ac_cv_header_stdc" >&6; }
6687 if test $ac_cv_header_stdc = yes; then
6689 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6693 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6694 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6695 inttypes.h stdint.h unistd.h
6697 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6698 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6700 eval as_val=\$$as_ac_Header
6701 if test "x$as_val" = x""yes; then :
6702 cat >>confdefs.h <<_ACEOF
6703 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6711 for ac_header in dlfcn.h
6713 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6715 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
6716 cat >>confdefs.h <<_ACEOF
6717 #define HAVE_DLFCN_H 1
6736 # Check whether --enable-shared was given.
6737 if test "${enable_shared+set}" = set; then :
6738 enableval=$enable_shared; p=${PACKAGE-default}
6740 yes) enable_shared=yes ;;
6741 no) enable_shared=no ;;
6744 # Look at the argument we got. We use all the common list separators.
6745 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6746 for pkg in $enableval; do
6748 if test "X$pkg" = "X$p"; then
6767 # Check whether --enable-static was given.
6768 if test "${enable_static+set}" = set; then :
6769 enableval=$enable_static; p=${PACKAGE-default}
6771 yes) enable_static=yes ;;
6772 no) enable_static=no ;;
6775 # Look at the argument we got. We use all the common list separators.
6776 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6777 for pkg in $enableval; do
6779 if test "X$pkg" = "X$p"; then
6799 # Check whether --with-pic was given.
6800 if test "${with_pic+set}" = set; then :
6801 withval=$with_pic; pic_mode="$withval"
6807 test -z "$pic_mode" && pic_mode=default
6815 # Check whether --enable-fast-install was given.
6816 if test "${enable_fast_install+set}" = set; then :
6817 enableval=$enable_fast_install; p=${PACKAGE-default}
6819 yes) enable_fast_install=yes ;;
6820 no) enable_fast_install=no ;;
6822 enable_fast_install=no
6823 # Look at the argument we got. We use all the common list separators.
6824 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6825 for pkg in $enableval; do
6827 if test "X$pkg" = "X$p"; then
6828 enable_fast_install=yes
6835 enable_fast_install=yes
6848 # This can be used to rebuild libtool when needed
6849 LIBTOOL_DEPS="$ltmain"
6851 # Always use our own libtool.
6852 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6878 test -z "$LN_S" && LN_S="ln -s"
6893 if test -n "${ZSH_VERSION+set}" ; then
6894 setopt NO_GLOB_SUBST
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6898 $as_echo_n "checking for objdir... " >&6; }
6899 if test "${lt_cv_objdir+set}" = set; then :
6900 $as_echo_n "(cached) " >&6
6902 rm -f .libs 2>/dev/null
6903 mkdir .libs 2>/dev/null
6904 if test -d .libs; then
6907 # MS-DOS does not allow filenames that begin with a dot.
6910 rmdir .libs 2>/dev/null
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6913 $as_echo "$lt_cv_objdir" >&6; }
6914 objdir=$lt_cv_objdir
6920 cat >>confdefs.h <<_ACEOF
6921 #define LT_OBJDIR "$lt_cv_objdir/"
6942 # AIX sometimes has problems with the GCC collect2 program. For some
6943 # reason, if we set the COLLECT_NAMES environment variable, the problems
6944 # vanish in a puff of smoke.
6945 if test "X${COLLECT_NAMES+set}" != Xset; then
6947 export COLLECT_NAMES
6952 # Sed substitution that helps us do robust quoting. It backslashifies
6953 # metacharacters that are still active within double-quoted strings.
6954 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6956 # Same as above, but do not quote variable references.
6957 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6959 # Sed substitution to delay expansion of an escaped shell variable in a
6960 # double_quote_subst'ed string.
6961 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6963 # Sed substitution to delay expansion of an escaped single quote.
6964 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6966 # Sed substitution to avoid accidental globbing in evaled expressions
6967 no_glob_subst='s/\*/\\\*/g'
6971 can_build_shared=yes
6973 # All known linkers require a `.a' archive for static linking (except MSVC,
6974 # which needs '.lib').
6977 with_gnu_ld="$lt_cv_prog_gnu_ld"
6980 old_CFLAGS="$CFLAGS"
6982 # Set sane defaults for various variables
6983 test -z "$CC" && CC=cc
6984 test -z "$LTCC" && LTCC=$CC
6985 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6986 test -z "$LD" && LD=ld
6987 test -z "$ac_objext" && ac_objext=o
6989 for cc_temp in $compiler""; do
6991 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6992 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6997 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7000 # Only perform the check for file, if the check method requires it
7001 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7002 case $deplibs_check_method in
7004 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7006 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7007 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7008 $as_echo_n "(cached) " >&6
7012 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7015 lt_save_MAGIC_CMD="$MAGIC_CMD"
7016 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7017 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7018 for ac_dir in $ac_dummy; do
7020 test -z "$ac_dir" && ac_dir=.
7021 if test -f $ac_dir/${ac_tool_prefix}file; then
7022 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7023 if test -n "$file_magic_test_file"; then
7024 case $deplibs_check_method in
7026 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7027 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7028 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7029 $EGREP "$file_magic_regex" > /dev/null; then
7034 *** Warning: the command libtool uses to detect shared libraries,
7035 *** $file_magic_cmd, produces output that libtool cannot recognize.
7036 *** The result is that libtool may fail to recognize shared libraries
7037 *** as such. This will affect the creation of libtool libraries that
7038 *** depend on shared libraries, but programs linked with such libtool
7039 *** libraries will work regardless of this problem. Nevertheless, you
7040 *** may want to report the problem to your system manager and/or to
7041 *** bug-libtool@gnu.org
7051 MAGIC_CMD="$lt_save_MAGIC_CMD"
7056 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7057 if test -n "$MAGIC_CMD"; then
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7059 $as_echo "$MAGIC_CMD" >&6; }
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7062 $as_echo "no" >&6; }
7069 if test -z "$lt_cv_path_MAGIC_CMD"; then
7070 if test -n "$ac_tool_prefix"; then
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7072 $as_echo_n "checking for file... " >&6; }
7073 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7074 $as_echo_n "(cached) " >&6
7078 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7081 lt_save_MAGIC_CMD="$MAGIC_CMD"
7082 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7083 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7084 for ac_dir in $ac_dummy; do
7086 test -z "$ac_dir" && ac_dir=.
7087 if test -f $ac_dir/file; then
7088 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7089 if test -n "$file_magic_test_file"; then
7090 case $deplibs_check_method in
7092 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7093 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7094 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7095 $EGREP "$file_magic_regex" > /dev/null; then
7100 *** Warning: the command libtool uses to detect shared libraries,
7101 *** $file_magic_cmd, produces output that libtool cannot recognize.
7102 *** The result is that libtool may fail to recognize shared libraries
7103 *** as such. This will affect the creation of libtool libraries that
7104 *** depend on shared libraries, but programs linked with such libtool
7105 *** libraries will work regardless of this problem. Nevertheless, you
7106 *** may want to report the problem to your system manager and/or to
7107 *** bug-libtool@gnu.org
7117 MAGIC_CMD="$lt_save_MAGIC_CMD"
7122 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7123 if test -n "$MAGIC_CMD"; then
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7125 $as_echo "$MAGIC_CMD" >&6; }
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7128 $as_echo "no" >&6; }
7141 # Use C for the default configuration in the libtool script
7145 ac_cpp='$CPP $CPPFLAGS'
7146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7151 # Source file extension for C test sources.
7154 # Object file extension for compiled C test sources.
7158 # Code to be used in simple compile tests
7159 lt_simple_compile_test_code="int some_variable = 0;"
7161 # Code to be used in simple link tests
7162 lt_simple_link_test_code='int main(){return(0);}'
7170 # If no C compiler was specified, use CC.
7173 # If no C compiler flags were specified, use CFLAGS.
7174 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7176 # Allow CC to be a program name with arguments.
7179 # Save the default compiler, since it gets overwritten when the other
7180 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7181 compiler_DEFAULT=$CC
7183 # save warnings/boilerplate of simple test code
7184 ac_outfile=conftest.$ac_objext
7185 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7186 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7187 _lt_compiler_boilerplate=`cat conftest.err`
7190 ac_outfile=conftest.$ac_objext
7191 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7192 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7193 _lt_linker_boilerplate=`cat conftest.err`
7198 ## There is no encapsulation within the following macros, do not change
7199 ## the running order or otherwise move them around unless you know exactly
7200 ## what you are doing...
7201 if test -n "$compiler"; then
7203 lt_prog_compiler_no_builtin_flag=
7205 if test "$GCC" = yes; then
7206 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7209 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7210 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7211 $as_echo_n "(cached) " >&6
7213 lt_cv_prog_compiler_rtti_exceptions=no
7214 ac_outfile=conftest.$ac_objext
7215 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7216 lt_compiler_flag="-fno-rtti -fno-exceptions"
7217 # Insert the option either (1) after the last *FLAGS variable, or
7218 # (2) before a word containing "conftest.", or (3) at the end.
7219 # Note that $ac_compile itself does not contain backslashes and begins
7220 # with a dollar sign (not a hyphen), so the echo should work correctly.
7221 # The option is referenced via a variable to avoid confusing sed.
7222 lt_compile=`echo "$ac_compile" | $SED \
7223 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7224 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7225 -e 's:$: $lt_compiler_flag:'`
7226 (eval echo "\"\$as_me:7226: $lt_compile\"" >&5)
7227 (eval "$lt_compile" 2>conftest.err)
7229 cat conftest.err >&5
7230 echo "$as_me:7230: \$? = $ac_status" >&5
7231 if (exit $ac_status) && test -s "$ac_outfile"; then
7232 # The compiler can only warn and ignore the option if not recognized
7233 # So say no if there are warnings other than the usual output.
7234 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7235 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7236 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7237 lt_cv_prog_compiler_rtti_exceptions=yes
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7244 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7246 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7247 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7259 lt_prog_compiler_wl=
7260 lt_prog_compiler_pic=
7261 lt_prog_compiler_static=
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7264 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7266 if test "$GCC" = yes; then
7267 lt_prog_compiler_wl='-Wl,'
7268 lt_prog_compiler_static='-static'
7272 # All AIX code is PIC.
7273 if test "$host_cpu" = ia64; then
7274 # AIX 5 now supports IA64 processor
7275 lt_prog_compiler_static='-Bstatic'
7282 # see comment about AmigaOS4 .so support
7283 lt_prog_compiler_pic='-fPIC'
7286 # FIXME: we need at least 68020 code to build shared libraries, but
7287 # adding the `-m68020' flag to GCC prevents building anything better,
7289 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7294 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7295 # PIC is the default for these OSes.
7298 mingw* | cygwin* | pw32* | os2* | cegcc*)
7299 # This hack is so that the source file can tell whether it is being
7300 # built for inclusion in a dll (and should export symbols for example).
7301 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7302 # (--disable-auto-import) libraries
7303 lt_prog_compiler_pic='-DDLL_EXPORT'
7306 darwin* | rhapsody*)
7307 # PIC is the default on this platform
7308 # Common symbols not allowed in MH_DYLIB files
7309 lt_prog_compiler_pic='-fno-common'
7313 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7314 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7315 # sets the default TLS model and affects inlining.
7321 lt_prog_compiler_pic='-fPIC'
7327 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7328 # Instead, we relocate shared libraries at runtime.
7332 # Just because we use GCC doesn't mean we suddenly get shared libraries
7333 # on systems that don't support them.
7334 lt_prog_compiler_can_build_shared=no
7339 # QNX uses GNU C++, but need to define -shared option too, otherwise
7341 lt_prog_compiler_pic='-fPIC -shared'
7345 if test -d /usr/nec; then
7346 lt_prog_compiler_pic=-Kconform_pic
7351 lt_prog_compiler_pic='-fPIC'
7355 # PORTME Check for flag to pass linker flags through the system compiler.
7358 lt_prog_compiler_wl='-Wl,'
7359 if test "$host_cpu" = ia64; then
7360 # AIX 5 now supports IA64 processor
7361 lt_prog_compiler_static='-Bstatic'
7363 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7367 mingw* | cygwin* | pw32* | os2* | cegcc*)
7368 # This hack is so that the source file can tell whether it is being
7369 # built for inclusion in a dll (and should export symbols for example).
7370 lt_prog_compiler_pic='-DDLL_EXPORT'
7373 hpux9* | hpux10* | hpux11*)
7374 lt_prog_compiler_wl='-Wl,'
7375 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7382 lt_prog_compiler_pic='+Z'
7385 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7386 lt_prog_compiler_static='${wl}-a ${wl}archive'
7389 irix5* | irix6* | nonstopux*)
7390 lt_prog_compiler_wl='-Wl,'
7391 # PIC (with -KPIC) is the default.
7392 lt_prog_compiler_static='-non_shared'
7395 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7396 case $cc_basename in
7397 # old Intel for x86_64 which still supported -KPIC.
7399 lt_prog_compiler_wl='-Wl,'
7400 lt_prog_compiler_pic='-KPIC'
7401 lt_prog_compiler_static='-static'
7403 # icc used to be incompatible with GCC.
7404 # ICC 10 doesn't accept -KPIC any more.
7406 lt_prog_compiler_wl='-Wl,'
7407 lt_prog_compiler_pic='-fPIC'
7408 lt_prog_compiler_static='-static'
7410 # Lahey Fortran 8.1.
7412 lt_prog_compiler_wl='-Wl,'
7413 lt_prog_compiler_pic='--shared'
7414 lt_prog_compiler_static='--static'
7416 pgcc* | pgf77* | pgf90* | pgf95*)
7417 # Portland Group compilers (*not* the Pentium gcc compiler,
7418 # which looks to be a dead project)
7419 lt_prog_compiler_wl='-Wl,'
7420 lt_prog_compiler_pic='-fpic'
7421 lt_prog_compiler_static='-Bstatic'
7424 lt_prog_compiler_wl='-Wl,'
7425 # All Alpha code is PIC.
7426 lt_prog_compiler_static='-non_shared'
7429 # IBM XL C 8.0/Fortran 10.1 on PPC
7430 lt_prog_compiler_wl='-Wl,'
7431 lt_prog_compiler_pic='-qpic'
7432 lt_prog_compiler_static='-qstaticlink'
7435 case `$CC -V 2>&1 | sed 5q` in
7438 lt_prog_compiler_pic='-KPIC'
7439 lt_prog_compiler_static='-Bstatic'
7440 lt_prog_compiler_wl='-Wl,'
7443 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7444 lt_prog_compiler_pic='-KPIC'
7445 lt_prog_compiler_static='-Bstatic'
7446 lt_prog_compiler_wl=''
7454 lt_prog_compiler_pic='-KPIC'
7455 lt_prog_compiler_static='-Bstatic'
7459 # QNX uses GNU C++, but need to define -shared option too, otherwise
7461 lt_prog_compiler_pic='-fPIC -shared'
7464 osf3* | osf4* | osf5*)
7465 lt_prog_compiler_wl='-Wl,'
7466 # All OSF/1 code is PIC.
7467 lt_prog_compiler_static='-non_shared'
7471 lt_prog_compiler_static='-non_shared'
7475 lt_prog_compiler_pic='-KPIC'
7476 lt_prog_compiler_static='-Bstatic'
7477 case $cc_basename in
7479 lt_prog_compiler_wl='-Qoption ld ';;
7481 lt_prog_compiler_wl='-Wl,';;
7486 lt_prog_compiler_wl='-Qoption ld '
7487 lt_prog_compiler_pic='-PIC'
7488 lt_prog_compiler_static='-Bstatic'
7491 sysv4 | sysv4.2uw2* | sysv4.3*)
7492 lt_prog_compiler_wl='-Wl,'
7493 lt_prog_compiler_pic='-KPIC'
7494 lt_prog_compiler_static='-Bstatic'
7498 if test -d /usr/nec ;then
7499 lt_prog_compiler_pic='-Kconform_pic'
7500 lt_prog_compiler_static='-Bstatic'
7504 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7505 lt_prog_compiler_wl='-Wl,'
7506 lt_prog_compiler_pic='-KPIC'
7507 lt_prog_compiler_static='-Bstatic'
7511 lt_prog_compiler_wl='-Wl,'
7512 lt_prog_compiler_can_build_shared=no
7516 lt_prog_compiler_pic='-pic'
7517 lt_prog_compiler_static='-Bstatic'
7521 lt_prog_compiler_can_build_shared=no
7527 # For platforms which do not support PIC, -DPIC is meaningless:
7529 lt_prog_compiler_pic=
7532 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7536 $as_echo "$lt_prog_compiler_pic" >&6; }
7544 # Check to make sure the PIC flag actually works.
7546 if test -n "$lt_prog_compiler_pic"; then
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7548 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7549 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7550 $as_echo_n "(cached) " >&6
7552 lt_cv_prog_compiler_pic_works=no
7553 ac_outfile=conftest.$ac_objext
7554 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7555 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7556 # Insert the option either (1) after the last *FLAGS variable, or
7557 # (2) before a word containing "conftest.", or (3) at the end.
7558 # Note that $ac_compile itself does not contain backslashes and begins
7559 # with a dollar sign (not a hyphen), so the echo should work correctly.
7560 # The option is referenced via a variable to avoid confusing sed.
7561 lt_compile=`echo "$ac_compile" | $SED \
7562 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7563 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7564 -e 's:$: $lt_compiler_flag:'`
7565 (eval echo "\"\$as_me:7565: $lt_compile\"" >&5)
7566 (eval "$lt_compile" 2>conftest.err)
7568 cat conftest.err >&5
7569 echo "$as_me:7569: \$? = $ac_status" >&5
7570 if (exit $ac_status) && test -s "$ac_outfile"; then
7571 # The compiler can only warn and ignore the option if not recognized
7572 # So say no if there are warnings other than the usual output.
7573 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7574 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7575 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7576 lt_cv_prog_compiler_pic_works=yes
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7583 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7585 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7586 case $lt_prog_compiler_pic in
7588 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7591 lt_prog_compiler_pic=
7592 lt_prog_compiler_can_build_shared=no
7603 # Check to make sure the static flag actually works.
7605 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7607 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7608 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7609 $as_echo_n "(cached) " >&6
7611 lt_cv_prog_compiler_static_works=no
7612 save_LDFLAGS="$LDFLAGS"
7613 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7614 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7615 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7616 # The linker can only warn and ignore the option if not recognized
7617 # So say no if there are warnings
7618 if test -s conftest.err; then
7619 # Append any errors to the config.log.
7620 cat conftest.err 1>&5
7621 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7622 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7623 if diff conftest.exp conftest.er2 >/dev/null; then
7624 lt_cv_prog_compiler_static_works=yes
7627 lt_cv_prog_compiler_static_works=yes
7631 LDFLAGS="$save_LDFLAGS"
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7635 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7637 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7640 lt_prog_compiler_static=
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7650 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7651 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7652 $as_echo_n "(cached) " >&6
7654 lt_cv_prog_compiler_c_o=no
7655 $RM -r conftest 2>/dev/null
7659 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7661 lt_compiler_flag="-o out/conftest2.$ac_objext"
7662 # Insert the option either (1) after the last *FLAGS variable, or
7663 # (2) before a word containing "conftest.", or (3) at the end.
7664 # Note that $ac_compile itself does not contain backslashes and begins
7665 # with a dollar sign (not a hyphen), so the echo should work correctly.
7666 lt_compile=`echo "$ac_compile" | $SED \
7667 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7668 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7669 -e 's:$: $lt_compiler_flag:'`
7670 (eval echo "\"\$as_me:7670: $lt_compile\"" >&5)
7671 (eval "$lt_compile" 2>out/conftest.err)
7673 cat out/conftest.err >&5
7674 echo "$as_me:7674: \$? = $ac_status" >&5
7675 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7677 # The compiler can only warn and ignore the option if not recognized
7678 # So say no if there are warnings
7679 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7680 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7681 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7682 lt_cv_prog_compiler_c_o=yes
7687 # SGI C++ compiler will create directory out/ii_files/ for
7688 # template instantiation
7689 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7690 $RM out/* && rmdir out
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7697 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7705 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7706 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7707 $as_echo_n "(cached) " >&6
7709 lt_cv_prog_compiler_c_o=no
7710 $RM -r conftest 2>/dev/null
7714 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7716 lt_compiler_flag="-o out/conftest2.$ac_objext"
7717 # Insert the option either (1) after the last *FLAGS variable, or
7718 # (2) before a word containing "conftest.", or (3) at the end.
7719 # Note that $ac_compile itself does not contain backslashes and begins
7720 # with a dollar sign (not a hyphen), so the echo should work correctly.
7721 lt_compile=`echo "$ac_compile" | $SED \
7722 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7723 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7724 -e 's:$: $lt_compiler_flag:'`
7725 (eval echo "\"\$as_me:7725: $lt_compile\"" >&5)
7726 (eval "$lt_compile" 2>out/conftest.err)
7728 cat out/conftest.err >&5
7729 echo "$as_me:7729: \$? = $ac_status" >&5
7730 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7732 # The compiler can only warn and ignore the option if not recognized
7733 # So say no if there are warnings
7734 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7735 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7736 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7737 lt_cv_prog_compiler_c_o=yes
7742 # SGI C++ compiler will create directory out/ii_files/ for
7743 # template instantiation
7744 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7745 $RM out/* && rmdir out
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7752 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7757 hard_links="nottested"
7758 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7759 # do not overwrite the value of need_locks provided by the user
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7761 $as_echo_n "checking if we can lock with hard links... " >&6; }
7764 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7766 ln conftest.a conftest.b 2>&5 || hard_links=no
7767 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7769 $as_echo "$hard_links" >&6; }
7770 if test "$hard_links" = no; then
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7772 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7785 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7788 allow_undefined_flag=
7789 always_export_symbols=no
7791 archive_expsym_cmds=
7792 compiler_needs_object=no
7793 enable_shared_with_static_runtimes=no
7794 export_dynamic_flag_spec=
7795 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7796 hardcode_automatic=no
7798 hardcode_direct_absolute=no
7799 hardcode_libdir_flag_spec=
7800 hardcode_libdir_flag_spec_ld=
7801 hardcode_libdir_separator=
7803 hardcode_shlibpath_var=unsupported
7805 link_all_deplibs=unknown
7808 old_archive_from_new_cmds=
7809 old_archive_from_expsyms_cmds=
7810 thread_safe_flag_spec=
7811 whole_archive_flag_spec=
7812 # include_expsyms should be a list of space-separated symbols to be *always*
7813 # included in the symbol list
7815 # exclude_expsyms can be an extended regexp of symbols to exclude
7816 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7817 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7818 # as well as any symbol that contains `d'.
7819 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7820 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7821 # platforms (ab)use it in PIC code, but their linkers get confused if
7822 # the symbol is explicitly referenced. Since portable code cannot
7823 # rely on this symbol name, it's probably fine to never include it in
7824 # preloaded symbol tables.
7825 # Exclude shared library initialization/finalization symbols.
7826 extract_expsyms_cmds=
7829 cygwin* | mingw* | pw32* | cegcc*)
7830 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7831 # When not using gcc, we currently assume that we are using
7832 # Microsoft Visual C++.
7833 if test "$GCC" != yes; then
7838 # we just hope/assume this is gcc and not c89 (= MSVC++)
7847 if test "$with_gnu_ld" = yes; then
7848 # If archive_cmds runs LD, not CC, wlarc should be empty
7851 # Set some defaults for GNU ld with shared library support. These
7852 # are reset later if shared libraries are not supported. Putting them
7853 # here allows them to be overridden if necessary.
7854 runpath_var=LD_RUN_PATH
7855 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7856 export_dynamic_flag_spec='${wl}--export-dynamic'
7857 # ancient GNU ld didn't support --whole-archive et. al.
7858 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7859 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7861 whole_archive_flag_spec=
7863 supports_anon_versioning=no
7864 case `$LD -v 2>&1` in
7865 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7866 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7867 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7868 *\ 2.11.*) ;; # other 2.11 versions
7869 *) supports_anon_versioning=yes ;;
7872 # See if GNU ld supports shared libraries.
7875 # On AIX/PPC, the GNU linker is very broken
7876 if test "$host_cpu" != ia64; then
7880 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7881 *** to be unable to reliably create shared libraries on AIX.
7882 *** Therefore, libtool is disabling shared libraries support. If you
7883 *** really care for shared libraries, you may want to modify your PATH
7884 *** so that a non-GNU linker is found, and then restart.
7893 # see comment about AmigaOS4 .so support
7894 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7895 archive_expsym_cmds=''
7898 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)'
7899 hardcode_libdir_flag_spec='-L$libdir'
7900 hardcode_minus_L=yes
7906 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7907 allow_undefined_flag=unsupported
7908 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7909 # support --undefined. This deserves some investigation. FIXME
7910 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7916 cygwin* | mingw* | pw32* | cegcc*)
7917 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7918 # as there is no search path for DLLs.
7919 hardcode_libdir_flag_spec='-L$libdir'
7920 allow_undefined_flag=unsupported
7921 always_export_symbols=no
7922 enable_shared_with_static_runtimes=yes
7923 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7925 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7926 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7927 # If the export-symbols file already is a .def file (1st line
7928 # is EXPORTS), use it as is; otherwise, prepend...
7929 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7930 cp $export_symbols $output_objdir/$soname.def;
7932 echo EXPORTS > $output_objdir/$soname.def;
7933 cat $export_symbols >> $output_objdir/$soname.def;
7935 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7943 hardcode_shlibpath_var=no
7944 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7945 export_dynamic_flag_spec='${wl}-E'
7946 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7947 # Instead, shared libraries are loaded at an image base (0x10000000 by
7948 # default) and relocated if they conflict, which is a slow very memory
7949 # consuming and fragmenting process. To avoid this, we pick a random,
7950 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7951 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7952 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7953 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'
7956 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
7958 if test "$host_os" = linux-dietlibc; then
7959 case $cc_basename in
7960 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
7963 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7964 && test "$tmp_diet" = no
7967 tmp_sharedflag='-shared'
7968 case $cc_basename,$host_cpu in
7969 pgcc*) # Portland Group C compiler
7970 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'
7971 tmp_addflag=' $pic_flag'
7973 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7974 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'
7975 tmp_addflag=' $pic_flag -Mnomain' ;;
7976 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7977 tmp_addflag=' -i_dynamic' ;;
7978 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7979 tmp_addflag=' -i_dynamic -nofor_main' ;;
7980 ifc* | ifort*) # Intel Fortran compiler
7981 tmp_addflag=' -nofor_main' ;;
7982 lf95*) # Lahey Fortran 8.1
7983 whole_archive_flag_spec=
7984 tmp_sharedflag='--shared' ;;
7985 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
7986 tmp_sharedflag='-qmkshrobj'
7989 case `$CC -V 2>&1 | sed 5q` in
7990 *Sun\ C*) # Sun C 5.9
7991 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'
7992 compiler_needs_object=yes
7993 tmp_sharedflag='-G' ;;
7994 *Sun\ F*) # Sun Fortran 8.3
7995 tmp_sharedflag='-G' ;;
7997 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7999 if test "x$supports_anon_versioning" = xyes; then
8000 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8001 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8002 echo "local: *; };" >> $output_objdir/$libname.ver~
8003 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8006 case $cc_basename in
8008 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8009 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8010 hardcode_libdir_flag_spec=
8011 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8012 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8013 if test "x$supports_anon_versioning" = xyes; then
8014 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8015 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8016 echo "local: *; };" >> $output_objdir/$libname.ver~
8017 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8027 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8028 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8031 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8032 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8037 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8041 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8042 *** create shared libraries on Solaris systems. Therefore, libtool
8043 *** is disabling shared libraries support. We urge you to upgrade GNU
8044 *** binutils to release 2.9.1 or newer. Another option is to modify
8045 *** your PATH or compiler configuration so that the native linker is
8046 *** used, and then restart.
8049 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8050 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8051 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8057 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8058 case `$LD -v 2>&1` in
8059 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8063 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8064 *** reliably create shared libraries on SCO systems. Therefore, libtool
8065 *** is disabling shared libraries support. We urge you to upgrade GNU
8066 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8067 *** your PATH or compiler configuration so that the native linker is
8068 *** used, and then restart.
8073 # For security reasons, it is highly recommended that you always
8074 # use absolute paths for naming shared libraries, and exclude the
8075 # DT_RUNPATH tag from executables and libraries. But doing so
8076 # requires that you compile everything twice, which is a pain.
8077 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8078 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8079 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8080 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8089 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8092 hardcode_shlibpath_var=no
8096 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8097 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8098 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8105 if test "$ld_shlibs" = no; then
8107 hardcode_libdir_flag_spec=
8108 export_dynamic_flag_spec=
8109 whole_archive_flag_spec=
8112 # PORTME fill in a description of your system's linker (not GNU ld)
8115 allow_undefined_flag=unsupported
8116 always_export_symbols=yes
8117 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'
8118 # Note: this linker hardcodes the directories in LIBPATH if there
8119 # are no directories specified by -L.
8120 hardcode_minus_L=yes
8121 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8122 # Neither direct hardcoding nor static linking is supported with a
8124 hardcode_direct=unsupported
8129 if test "$host_cpu" = ia64; then
8130 # On IA64, the linker does run time linking by default, so we don't
8131 # have to do anything special.
8132 aix_use_runtimelinking=no
8133 exp_sym_flag='-Bexport'
8136 # If we're using GNU nm, then we don't want the "-C" option.
8137 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8138 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8139 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'
8141 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'
8143 aix_use_runtimelinking=no
8145 # Test if we are trying to use run time linking or normal
8146 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8147 # need to do runtime linking.
8148 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8149 for ld_flag in $LDFLAGS; do
8150 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8151 aix_use_runtimelinking=yes
8158 exp_sym_flag='-bexport'
8159 no_entry_flag='-bnoentry'
8162 # When large executables or shared objects are built, AIX ld can
8163 # have problems creating the table of contents. If linking a library
8164 # or program results in "error TOC overflow" add -mminimal-toc to
8165 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8166 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8170 hardcode_direct_absolute=yes
8171 hardcode_libdir_separator=':'
8172 link_all_deplibs=yes
8173 file_list_spec='${wl}-f,'
8175 if test "$GCC" = yes; then
8176 case $host_os in aix4.[012]|aix4.[012].*)
8177 # We only want to do this on AIX 4.2 and lower, the check
8178 # below for broken collect2 doesn't work under 4.3+
8179 collect2name=`${CC} -print-prog-name=collect2`
8180 if test -f "$collect2name" &&
8181 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8183 # We have reworked collect2
8186 # We have old collect2
8187 hardcode_direct=unsupported
8188 # It fails to find uninstalled libraries when the uninstalled
8189 # path is not listed in the libpath. Setting hardcode_minus_L
8190 # to unsupported forces relinking
8191 hardcode_minus_L=yes
8192 hardcode_libdir_flag_spec='-L$libdir'
8193 hardcode_libdir_separator=
8197 shared_flag='-shared'
8198 if test "$aix_use_runtimelinking" = yes; then
8199 shared_flag="$shared_flag "'${wl}-G'
8203 if test "$host_cpu" = ia64; then
8204 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8205 # chokes on -Wl,-G. The following line is correct:
8208 if test "$aix_use_runtimelinking" = yes; then
8209 shared_flag='${wl}-G'
8211 shared_flag='${wl}-bM:SRE'
8216 export_dynamic_flag_spec='${wl}-bexpall'
8217 # It seems that -bexpall does not export symbols beginning with
8218 # underscore (_), so it is better to generate a list of symbols to export.
8219 always_export_symbols=yes
8220 if test "$aix_use_runtimelinking" = yes; then
8221 # Warning - without using the other runtime loading flags (-brtl),
8222 # -berok will link without error, but may produce a broken library.
8223 allow_undefined_flag='-berok'
8224 # Determine the default libpath from the value encoded in an
8226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8227 /* end confdefs.h. */
8237 if ac_fn_c_try_link "$LINENO"; then :
8239 lt_aix_libpath_sed='
8240 /Import File Strings/,/^$/ {
8246 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8247 # Check for a 64-bit object if we didn't find anything.
8248 if test -z "$aix_libpath"; then
8249 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8252 rm -f core conftest.err conftest.$ac_objext \
8253 conftest$ac_exeext conftest.$ac_ext
8254 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8256 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8257 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"
8259 if test "$host_cpu" = ia64; then
8260 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8261 allow_undefined_flag="-z nodefs"
8262 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"
8264 # Determine the default libpath from the value encoded in an
8266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8267 /* end confdefs.h. */
8277 if ac_fn_c_try_link "$LINENO"; then :
8279 lt_aix_libpath_sed='
8280 /Import File Strings/,/^$/ {
8286 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8287 # Check for a 64-bit object if we didn't find anything.
8288 if test -z "$aix_libpath"; then
8289 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8292 rm -f core conftest.err conftest.$ac_objext \
8293 conftest$ac_exeext conftest.$ac_ext
8294 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8296 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8297 # Warning - without using the other run time loading flags,
8298 # -berok will link without error, but may produce a broken library.
8299 no_undefined_flag=' ${wl}-bernotok'
8300 allow_undefined_flag=' ${wl}-berok'
8301 # Exported symbols can be pulled into shared objects from archives
8302 whole_archive_flag_spec='$convenience'
8303 archive_cmds_need_lc=yes
8304 # This is similar to how AIX traditionally builds its shared libraries.
8305 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'
8313 # see comment about AmigaOS4 .so support
8314 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8315 archive_expsym_cmds=''
8318 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)'
8319 hardcode_libdir_flag_spec='-L$libdir'
8320 hardcode_minus_L=yes
8326 export_dynamic_flag_spec=-rdynamic
8329 cygwin* | mingw* | pw32* | cegcc*)
8330 # When not using gcc, we currently assume that we are using
8331 # Microsoft Visual C++.
8332 # hardcode_libdir_flag_spec is actually meaningless, as there is
8333 # no search path for DLLs.
8334 hardcode_libdir_flag_spec=' '
8335 allow_undefined_flag=unsupported
8336 # Tell ltmain to make .lib files, not .a files.
8338 # Tell ltmain to make .dll files, not .so files.
8340 # FIXME: Setting linknames here is a bad hack.
8341 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8342 # The linker will automatically build a .lib file if we build a DLL.
8343 old_archive_from_new_cmds='true'
8344 # FIXME: Should let the user specify the lib program.
8345 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8346 fix_srcfile_path='`cygpath -w "$srcfile"`'
8347 enable_shared_with_static_runtimes=yes
8350 darwin* | rhapsody*)
8353 archive_cmds_need_lc=no
8355 hardcode_automatic=yes
8356 hardcode_shlibpath_var=unsupported
8357 whole_archive_flag_spec=''
8358 link_all_deplibs=yes
8359 allow_undefined_flag="$_lt_dar_allow_undefined"
8360 case $cc_basename in
8361 ifort*) _lt_dar_can_shared=yes ;;
8362 *) _lt_dar_can_shared=$GCC ;;
8364 if test "$_lt_dar_can_shared" = "yes"; then
8365 output_verbose_link_cmd=echo
8366 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8367 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8368 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}"
8369 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}"
8378 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8379 hardcode_libdir_flag_spec='-L$libdir'
8380 hardcode_shlibpath_var=no
8387 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8388 # support. Future versions do this automatically, but an explicit c++rt0.o
8389 # does not break anything, and helps significantly (at the cost of a little
8392 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8393 hardcode_libdir_flag_spec='-R$libdir'
8395 hardcode_shlibpath_var=no
8398 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8400 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8402 hardcode_minus_L=yes
8403 hardcode_shlibpath_var=no
8406 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8407 freebsd* | dragonfly*)
8408 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8409 hardcode_libdir_flag_spec='-R$libdir'
8411 hardcode_shlibpath_var=no
8415 if test "$GCC" = yes; then
8416 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'
8418 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'
8420 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8421 hardcode_libdir_separator=:
8424 # hardcode_minus_L: Not really in the search PATH,
8425 # but as the default location of the library.
8426 hardcode_minus_L=yes
8427 export_dynamic_flag_spec='${wl}-E'
8431 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8432 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8434 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8436 if test "$with_gnu_ld" = no; then
8437 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8438 hardcode_libdir_flag_spec_ld='+b $libdir'
8439 hardcode_libdir_separator=:
8441 hardcode_direct_absolute=yes
8442 export_dynamic_flag_spec='${wl}-E'
8443 # hardcode_minus_L: Not really in the search PATH,
8444 # but as the default location of the library.
8445 hardcode_minus_L=yes
8450 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8453 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8456 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8459 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8465 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8468 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8471 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8475 if test "$with_gnu_ld" = no; then
8476 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8477 hardcode_libdir_separator=:
8482 hardcode_shlibpath_var=no
8486 hardcode_direct_absolute=yes
8487 export_dynamic_flag_spec='${wl}-E'
8489 # hardcode_minus_L: Not really in the search PATH,
8490 # but as the default location of the library.
8491 hardcode_minus_L=yes
8497 irix5* | irix6* | nonstopux*)
8498 if test "$GCC" = yes; then
8499 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'
8500 # Try to use the -exported_symbol ld option, if it does not
8501 # work, assume that -exports_file does not work either and
8502 # implicitly export all symbols.
8503 save_LDFLAGS="$LDFLAGS"
8504 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8506 /* end confdefs.h. */
8509 if ac_fn_c_try_link "$LINENO"; then :
8510 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'
8513 rm -f core conftest.err conftest.$ac_objext \
8514 conftest$ac_exeext conftest.$ac_ext
8515 LDFLAGS="$save_LDFLAGS"
8517 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'
8518 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'
8520 archive_cmds_need_lc='no'
8521 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8522 hardcode_libdir_separator=:
8524 link_all_deplibs=yes
8528 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8529 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8531 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8533 hardcode_libdir_flag_spec='-R$libdir'
8535 hardcode_shlibpath_var=no
8539 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8541 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8542 hardcode_libdir_separator=:
8543 hardcode_shlibpath_var=no
8550 if test -f /usr/libexec/ld.so; then
8552 hardcode_shlibpath_var=no
8553 hardcode_direct_absolute=yes
8554 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8555 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8556 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8557 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8558 export_dynamic_flag_spec='${wl}-E'
8561 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8562 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8563 hardcode_libdir_flag_spec='-R$libdir'
8566 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8567 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8577 hardcode_libdir_flag_spec='-L$libdir'
8578 hardcode_minus_L=yes
8579 allow_undefined_flag=unsupported
8580 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'
8581 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8585 if test "$GCC" = yes; then
8586 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8587 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'
8589 allow_undefined_flag=' -expect_unresolved \*'
8590 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'
8592 archive_cmds_need_lc='no'
8593 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8594 hardcode_libdir_separator=:
8597 osf4* | osf5*) # as osf3* with the addition of -msym flag
8598 if test "$GCC" = yes; then
8599 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8600 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'
8601 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8603 allow_undefined_flag=' -expect_unresolved \*'
8604 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'
8605 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~
8606 $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'
8608 # Both c and cxx compiler support -rpath directly
8609 hardcode_libdir_flag_spec='-rpath $libdir'
8611 archive_cmds_need_lc='no'
8612 hardcode_libdir_separator=:
8616 no_undefined_flag=' -z defs'
8617 if test "$GCC" = yes; then
8619 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8620 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8621 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8623 case `$CC -V 2>&1` in
8626 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8627 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8628 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8632 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8633 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8634 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8638 hardcode_libdir_flag_spec='-R$libdir'
8639 hardcode_shlibpath_var=no
8641 solaris2.[0-5] | solaris2.[0-5].*) ;;
8643 # The compiler driver will combine and reorder linker options,
8644 # but understands `-z linker_flag'. GCC discards it without `$wl',
8645 # but is careful enough not to reorder.
8646 # Supported since Solaris 2.6 (maybe 2.5.1?)
8647 if test "$GCC" = yes; then
8648 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8650 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8654 link_all_deplibs=yes
8658 if test "x$host_vendor" = xsequent; then
8659 # Use $CC to link under sequent, because it throws in some extra .o
8660 # files that make .init and .fini sections work.
8661 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8663 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8665 hardcode_libdir_flag_spec='-L$libdir'
8667 hardcode_minus_L=yes
8668 hardcode_shlibpath_var=no
8672 case $host_vendor in
8674 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8675 hardcode_direct=yes # is this really true???
8678 ## LD is ld it makes a PLAMLIB
8679 ## CC just makes a GrossModule.
8680 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8681 reload_cmds='$CC -r -o $output$reload_objs'
8685 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8686 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8689 runpath_var='LD_RUN_PATH'
8690 hardcode_shlibpath_var=no
8694 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8695 hardcode_shlibpath_var=no
8696 export_dynamic_flag_spec='-Bexport'
8700 if test -d /usr/nec; then
8701 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8702 hardcode_shlibpath_var=no
8703 runpath_var=LD_RUN_PATH
8704 hardcode_runpath_var=yes
8709 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8710 no_undefined_flag='${wl}-z,text'
8711 archive_cmds_need_lc=no
8712 hardcode_shlibpath_var=no
8713 runpath_var='LD_RUN_PATH'
8715 if test "$GCC" = yes; then
8716 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8717 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8719 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8720 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8724 sysv5* | sco3.2v5* | sco5v6*)
8725 # Note: We can NOT use -z defs as we might desire, because we do not
8726 # link with -lc, and that would cause any symbols used from libc to
8727 # always be unresolved, which means just about no library would
8728 # ever link correctly. If we're not using GNU ld we use -z text
8729 # though, which does catch some bad symbols but isn't as heavy-handed
8731 no_undefined_flag='${wl}-z,text'
8732 allow_undefined_flag='${wl}-z,nodefs'
8733 archive_cmds_need_lc=no
8734 hardcode_shlibpath_var=no
8735 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8736 hardcode_libdir_separator=':'
8737 link_all_deplibs=yes
8738 export_dynamic_flag_spec='${wl}-Bexport'
8739 runpath_var='LD_RUN_PATH'
8741 if test "$GCC" = yes; then
8742 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8743 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8745 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8746 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8751 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8752 hardcode_libdir_flag_spec='-L$libdir'
8753 hardcode_shlibpath_var=no
8761 if test x$host_vendor = xsni; then
8763 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8764 export_dynamic_flag_spec='${wl}-Blargedynsym'
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8771 $as_echo "$ld_shlibs" >&6; }
8772 test "$ld_shlibs" = no && can_build_shared=no
8774 with_gnu_ld=$with_gnu_ld
8791 # Do we need to explicitly link libc?
8793 case "x$archive_cmds_need_lc" in
8795 # Assume -lc should be added
8796 archive_cmds_need_lc=yes
8798 if test "$enable_shared" = yes && test "$GCC" = yes; then
8799 case $archive_cmds in
8801 # FIXME: we may have to deal with multi-command sequences.
8804 # Test whether the compiler implicitly links with -lc since on some
8805 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8806 # to ld, don't add -lc before -lgcc.
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8808 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8809 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
8810 $as_echo_n "(cached) " >&6
8813 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8815 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8816 (eval $ac_compile) 2>&5
8818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8819 test $ac_status = 0; } 2>conftest.err; then
8822 libobjs=conftest.$ac_objext
8824 wl=$lt_prog_compiler_wl
8825 pic_flag=$lt_prog_compiler_pic
8831 lt_save_allow_undefined_flag=$allow_undefined_flag
8832 allow_undefined_flag=
8833 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8834 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8837 test $ac_status = 0; }
8839 lt_cv_archive_cmds_need_lc=no
8841 lt_cv_archive_cmds_need_lc=yes
8843 allow_undefined_flag=$lt_save_allow_undefined_flag
8845 cat conftest.err 1>&5
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
8851 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
8852 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9016 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9018 if test "$GCC" = yes; then
9020 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9021 *) lt_awk_arg="/^libraries:/" ;;
9023 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9024 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9025 # if the path contains ";" then we assume it to be the separator
9026 # otherwise default to the standard path separator (i.e. ":") - it is
9027 # assumed that no part of a normal pathname contains ";" but that should
9028 # okay in the real world where ";" in dirpaths is itself problematic.
9029 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9031 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9033 # Ok, now we have the path, separated by spaces, we can step through it
9034 # and add multilib dir if necessary.
9035 lt_tmp_lt_search_path_spec=
9036 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9037 for lt_sys_path in $lt_search_path_spec; do
9038 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9039 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9041 test -d "$lt_sys_path" && \
9042 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9045 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9046 BEGIN {RS=" "; FS="/|\n";} {
9049 for (lt_i = NF; lt_i > 0; lt_i--) {
9050 if ($lt_i != "" && $lt_i != ".") {
9051 if ($lt_i == "..") {
9054 if (lt_count == 0) {
9055 lt_foo="/" $lt_i lt_foo;
9062 if (lt_foo != "") { lt_freq[lt_foo]++; }
9063 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9065 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9067 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9070 libname_spec='lib$name'
9078 shlibpath_overrides_runpath=unknown
9080 dynamic_linker="$host_os ld.so"
9081 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9082 need_lib_prefix=unknown
9083 hardcode_into_libs=no
9085 # when you set need_version to no, make sure it does not cause -set_version
9086 # flags to be left without arguments
9087 need_version=unknown
9092 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9093 shlibpath_var=LIBPATH
9095 # AIX 3 has no versioning support, so we append a major version to the name.
9096 soname_spec='${libname}${release}${shared_ext}$major'
9103 hardcode_into_libs=yes
9104 if test "$host_cpu" = ia64; then
9105 # AIX 5 supports IA64
9106 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9107 shlibpath_var=LD_LIBRARY_PATH
9109 # With GCC up to 2.95.x, collect2 would create an import file
9110 # for dependence libraries. The import file would start with
9111 # the line `#! .'. This would cause the generated library to
9112 # depend on `.', always an invalid library. This was fixed in
9113 # development snapshots of GCC prior to 3.0.
9115 aix4 | aix4.[01] | aix4.[01].*)
9116 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9118 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9125 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9126 # soname into executable. Probably we can add versioning support to
9127 # collect2, so additional links can be useful in future.
9128 if test "$aix_use_runtimelinking" = yes; then
9129 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9130 # instead of lib<name>.a to let people know that these are not
9131 # typical AIX shared libraries.
9132 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9134 # We preserve .a as extension for shared libraries through AIX4.2
9135 # and later when we are not doing run time linking.
9136 library_names_spec='${libname}${release}.a $libname.a'
9137 soname_spec='${libname}${release}${shared_ext}$major'
9139 shlibpath_var=LIBPATH
9146 # Since July 2007 AmigaOS4 officially supports .so libraries.
9147 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9148 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9151 library_names_spec='$libname.ixlibrary $libname.a'
9152 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9153 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'
9159 library_names_spec='${libname}${shared_ext}'
9160 dynamic_linker="$host_os ld.so"
9161 shlibpath_var=LIBRARY_PATH
9167 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9168 soname_spec='${libname}${release}${shared_ext}$major'
9169 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9170 shlibpath_var=LD_LIBRARY_PATH
9171 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9172 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9173 # the default ld.so.conf also contains /usr/contrib/lib and
9174 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9175 # libtool to hard-code these into programs
9178 cygwin* | mingw* | pw32* | cegcc*)
9179 version_type=windows
9184 case $GCC,$host_os in
9185 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9186 library_names_spec='$libname.dll.a'
9187 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9188 postinstall_cmds='base_file=`basename \${file}`~
9189 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9190 dldir=$destdir/`dirname \$dlpath`~
9191 test -d \$dldir || mkdir -p \$dldir~
9192 $install_prog $dir/$dlname \$dldir/$dlname~
9193 chmod a+x \$dldir/$dlname~
9194 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9195 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9197 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9198 dlpath=$dir/\$dldll~
9200 shlibpath_overrides_runpath=yes
9204 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9205 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9206 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9209 # MinGW DLLs use traditional 'lib' prefix
9210 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9211 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9212 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9213 # It is most probably a Windows format PATH printed by
9214 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9215 # path with ; separators, and with drive letters. We can handle the
9216 # drive letters (cygwin fileutils understands them), so leave them,
9217 # especially as we might pass files found there to a mingw objdump,
9218 # which wouldn't understand a cygwinified path. Ahh.
9219 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9221 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9225 # pw32 DLLs use 'pw' prefix rather than 'lib'
9226 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9232 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9235 dynamic_linker='Win32 ld.exe'
9236 # FIXME: first we should search . and the directory the executable is in
9240 darwin* | rhapsody*)
9241 dynamic_linker="$host_os dyld"
9245 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9246 soname_spec='${libname}${release}${major}$shared_ext'
9247 shlibpath_overrides_runpath=yes
9248 shlibpath_var=DYLD_LIBRARY_PATH
9249 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9251 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9252 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9259 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9260 soname_spec='${libname}${release}${shared_ext}$major'
9261 shlibpath_var=LD_LIBRARY_PATH
9268 freebsd* | dragonfly*)
9269 # DragonFly does not have aout. When/if they implement a new
9270 # versioning mechanism, adjust this.
9271 if test -x /usr/bin/objformat; then
9272 objformat=`/usr/bin/objformat`
9275 freebsd[123]*) objformat=aout ;;
9279 version_type=freebsd-$objformat
9280 case $version_type in
9282 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9287 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9291 shlibpath_var=LD_LIBRARY_PATH
9294 shlibpath_overrides_runpath=yes
9296 freebsd3.[01]* | freebsdelf3.[01]*)
9297 shlibpath_overrides_runpath=yes
9298 hardcode_into_libs=yes
9300 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9301 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9302 shlibpath_overrides_runpath=no
9303 hardcode_into_libs=yes
9305 *) # from 4.6 on, and DragonFly
9306 shlibpath_overrides_runpath=yes
9307 hardcode_into_libs=yes
9316 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9317 soname_spec='${libname}${release}${shared_ext}$major'
9318 shlibpath_var=LD_LIBRARY_PATH
9319 hardcode_into_libs=yes
9322 hpux9* | hpux10* | hpux11*)
9323 # Give a soname corresponding to the major version so that dld.sl refuses to
9324 # link against other versions.
9331 hardcode_into_libs=yes
9332 dynamic_linker="$host_os dld.so"
9333 shlibpath_var=LD_LIBRARY_PATH
9334 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9335 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9336 soname_spec='${libname}${release}${shared_ext}$major'
9337 if test "X$HPUX_IA64_MODE" = X32; then
9338 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9340 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9342 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9346 hardcode_into_libs=yes
9347 dynamic_linker="$host_os dld.sl"
9348 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9349 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9350 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9351 soname_spec='${libname}${release}${shared_ext}$major'
9352 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9353 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9357 dynamic_linker="$host_os dld.sl"
9358 shlibpath_var=SHLIB_PATH
9359 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9360 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9361 soname_spec='${libname}${release}${shared_ext}$major'
9364 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9365 postinstall_cmds='chmod 555 $lib'
9372 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9373 soname_spec='${libname}${release}${shared_ext}$major'
9374 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9375 shlibpath_var=LD_LIBRARY_PATH
9376 shlibpath_overrides_runpath=no
9377 hardcode_into_libs=yes
9380 irix5* | irix6* | nonstopux*)
9382 nonstopux*) version_type=nonstopux ;;
9384 if test "$lt_cv_prog_gnu_ld" = yes; then
9392 soname_spec='${libname}${release}${shared_ext}$major'
9393 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9395 irix5* | nonstopux*)
9399 case $LD in # libtool.m4 will add one of these switches to LD
9400 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9401 libsuff= shlibsuff= libmagic=32-bit;;
9402 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9403 libsuff=32 shlibsuff=N32 libmagic=N32;;
9404 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9405 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9406 *) libsuff= shlibsuff= libmagic=never-match;;
9410 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9411 shlibpath_overrides_runpath=no
9412 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9413 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9414 hardcode_into_libs=yes
9417 # No shared lib support for Linux oldld, aout, or coff.
9418 linux*oldld* | linux*aout* | linux*coff*)
9422 # This must be Linux ELF.
9423 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9427 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9428 soname_spec='${libname}${release}${shared_ext}$major'
9429 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9430 shlibpath_var=LD_LIBRARY_PATH
9431 shlibpath_overrides_runpath=no
9433 # Some binutils ld are patched to set DT_RUNPATH
9434 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
9435 $as_echo_n "(cached) " >&6
9437 lt_cv_shlibpath_overrides_runpath=no
9438 save_LDFLAGS=$LDFLAGS
9440 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9441 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9443 /* end confdefs.h. */
9453 if ac_fn_c_try_link "$LINENO"; then :
9454 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9455 lt_cv_shlibpath_overrides_runpath=yes
9458 rm -f core conftest.err conftest.$ac_objext \
9459 conftest$ac_exeext conftest.$ac_ext
9460 LDFLAGS=$save_LDFLAGS
9465 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
9467 # This implies no fast_install, which is unacceptable.
9468 # Some rework will be needed to allow for fast_install
9469 # before this can be enabled.
9470 hardcode_into_libs=yes
9472 # Append ld.so.conf contents to the search path
9473 if test -f /etc/ld.so.conf; then
9474 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' ' '`
9475 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9478 # We used to test for /lib/ld.so.1 and disable shared libraries on
9479 # powerpc, because MkLinux only supported shared libraries with the
9480 # GNU dynamic linker. Since this was broken with cross compilers,
9481 # most powerpc-linux boxes support dynamic linking these days and
9482 # people can always --disable-shared, the test was removed, and we
9483 # assume the GNU/Linux dynamic linker is in use.
9484 dynamic_linker='GNU/Linux ld.so'
9491 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9492 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9493 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9494 dynamic_linker='NetBSD (a.out) ld.so'
9496 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9497 soname_spec='${libname}${release}${shared_ext}$major'
9498 dynamic_linker='NetBSD ld.elf_so'
9500 shlibpath_var=LD_LIBRARY_PATH
9501 shlibpath_overrides_runpath=yes
9502 hardcode_into_libs=yes
9507 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9508 shlibpath_var=LD_LIBRARY_PATH
9509 shlibpath_overrides_runpath=yes
9516 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9517 soname_spec='${libname}${release}${shared_ext}$major'
9518 shlibpath_var=LD_LIBRARY_PATH
9519 shlibpath_overrides_runpath=no
9520 hardcode_into_libs=yes
9521 dynamic_linker='ldqnx.so'
9526 sys_lib_dlsearch_path_spec="/usr/lib"
9528 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9530 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9531 *) need_version=no ;;
9533 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9534 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9535 shlibpath_var=LD_LIBRARY_PATH
9536 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9538 openbsd2.[89] | openbsd2.[89].*)
9539 shlibpath_overrides_runpath=no
9542 shlibpath_overrides_runpath=yes
9546 shlibpath_overrides_runpath=yes
9551 libname_spec='$name'
9554 library_names_spec='$libname${shared_ext} $libname.a'
9555 dynamic_linker='OS/2 ld.exe'
9556 shlibpath_var=LIBPATH
9559 osf3* | osf4* | osf5*)
9563 soname_spec='${libname}${release}${shared_ext}$major'
9564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9565 shlibpath_var=LD_LIBRARY_PATH
9566 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9567 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9579 soname_spec='${libname}${release}${shared_ext}$major'
9580 shlibpath_var=LD_LIBRARY_PATH
9581 shlibpath_overrides_runpath=yes
9582 hardcode_into_libs=yes
9583 # ldd complains unless libraries are executable
9584 postinstall_cmds='chmod +x $lib'
9589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9590 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9591 shlibpath_var=LD_LIBRARY_PATH
9592 shlibpath_overrides_runpath=yes
9593 if test "$with_gnu_ld" = yes; then
9601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9602 soname_spec='${libname}${release}${shared_ext}$major'
9603 shlibpath_var=LD_LIBRARY_PATH
9604 case $host_vendor in
9606 shlibpath_overrides_runpath=no
9608 runpath_var=LD_RUN_PATH
9616 shlibpath_overrides_runpath=no
9617 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9623 if test -d /usr/nec ;then
9625 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9626 soname_spec='$libname${shared_ext}.$major'
9627 shlibpath_var=LD_LIBRARY_PATH
9631 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9632 version_type=freebsd-elf
9635 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9636 soname_spec='${libname}${release}${shared_ext}$major'
9637 shlibpath_var=LD_LIBRARY_PATH
9638 shlibpath_overrides_runpath=yes
9639 hardcode_into_libs=yes
9640 if test "$with_gnu_ld" = yes; then
9641 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9643 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9646 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9650 sys_lib_dlsearch_path_spec='/usr/lib'
9654 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9658 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9659 shlibpath_var=LD_LIBRARY_PATH
9660 shlibpath_overrides_runpath=no
9661 hardcode_into_libs=yes
9666 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9667 soname_spec='${libname}${release}${shared_ext}$major'
9668 shlibpath_var=LD_LIBRARY_PATH
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9676 $as_echo "$dynamic_linker" >&6; }
9677 test "$dynamic_linker" = no && can_build_shared=no
9679 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9680 if test "$GCC" = yes; then
9681 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9684 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9685 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9687 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9688 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9778 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9780 if test -n "$hardcode_libdir_flag_spec" ||
9781 test -n "$runpath_var" ||
9782 test "X$hardcode_automatic" = "Xyes" ; then
9784 # We can hardcode non-existent directories.
9785 if test "$hardcode_direct" != no &&
9786 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9787 # have to relink, otherwise we might link with an installed library
9788 # when we should be linking with a yet-to-be-installed one
9789 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9790 test "$hardcode_minus_L" != no; then
9791 # Linking always hardcodes the temporary library directory.
9792 hardcode_action=relink
9794 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9795 hardcode_action=immediate
9798 # We cannot hardcode anything, or else we can only hardcode existing
9800 hardcode_action=unsupported
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9803 $as_echo "$hardcode_action" >&6; }
9805 if test "$hardcode_action" = relink ||
9806 test "$inherit_rpath" = yes; then
9807 # Fast installation is not supported
9808 enable_fast_install=no
9809 elif test "$shlibpath_overrides_runpath" = yes ||
9810 test "$enable_shared" = no; then
9811 # Fast installation is not necessary
9812 enable_fast_install=needless
9820 if test "x$enable_dlopen" != xyes; then
9821 enable_dlopen=unknown
9822 enable_dlopen_self=unknown
9823 enable_dlopen_self_static=unknown
9830 lt_cv_dlopen="load_add_on"
9832 lt_cv_dlopen_self=yes
9835 mingw* | pw32* | cegcc*)
9836 lt_cv_dlopen="LoadLibrary"
9841 lt_cv_dlopen="dlopen"
9846 # if libdl is installed we need to link against it
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9848 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9849 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9850 $as_echo_n "(cached) " >&6
9852 ac_check_lib_save_LIBS=$LIBS
9854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9855 /* end confdefs.h. */
9857 /* Override any GCC internal prototype to avoid an error.
9858 Use char because int might match the return type of a GCC
9859 builtin and then its argument prototype would still apply. */
9872 if ac_fn_c_try_link "$LINENO"; then :
9873 ac_cv_lib_dl_dlopen=yes
9875 ac_cv_lib_dl_dlopen=no
9877 rm -f core conftest.err conftest.$ac_objext \
9878 conftest$ac_exeext conftest.$ac_ext
9879 LIBS=$ac_check_lib_save_LIBS
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9882 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9883 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
9884 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9889 lt_cv_dlopen_self=yes
9896 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
9897 if test "x$ac_cv_func_shl_load" = x""yes; then :
9898 lt_cv_dlopen="shl_load"
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
9901 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9902 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
9903 $as_echo_n "(cached) " >&6
9905 ac_check_lib_save_LIBS=$LIBS
9907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9908 /* end confdefs.h. */
9910 /* Override any GCC internal prototype to avoid an error.
9911 Use char because int might match the return type of a GCC
9912 builtin and then its argument prototype would still apply. */
9925 if ac_fn_c_try_link "$LINENO"; then :
9926 ac_cv_lib_dld_shl_load=yes
9928 ac_cv_lib_dld_shl_load=no
9930 rm -f core conftest.err conftest.$ac_objext \
9931 conftest$ac_exeext conftest.$ac_ext
9932 LIBS=$ac_check_lib_save_LIBS
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
9935 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9936 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
9937 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
9939 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
9940 if test "x$ac_cv_func_dlopen" = x""yes; then :
9941 lt_cv_dlopen="dlopen"
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9944 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9945 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9946 $as_echo_n "(cached) " >&6
9948 ac_check_lib_save_LIBS=$LIBS
9950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9951 /* end confdefs.h. */
9953 /* Override any GCC internal prototype to avoid an error.
9954 Use char because int might match the return type of a GCC
9955 builtin and then its argument prototype would still apply. */
9968 if ac_fn_c_try_link "$LINENO"; then :
9969 ac_cv_lib_dl_dlopen=yes
9971 ac_cv_lib_dl_dlopen=no
9973 rm -f core conftest.err conftest.$ac_objext \
9974 conftest$ac_exeext conftest.$ac_ext
9975 LIBS=$ac_check_lib_save_LIBS
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9978 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9979 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
9980 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
9983 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
9984 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
9985 $as_echo_n "(cached) " >&6
9987 ac_check_lib_save_LIBS=$LIBS
9989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9990 /* end confdefs.h. */
9992 /* Override any GCC internal prototype to avoid an error.
9993 Use char because int might match the return type of a GCC
9994 builtin and then its argument prototype would still apply. */
10007 if ac_fn_c_try_link "$LINENO"; then :
10008 ac_cv_lib_svld_dlopen=yes
10010 ac_cv_lib_svld_dlopen=no
10012 rm -f core conftest.err conftest.$ac_objext \
10013 conftest$ac_exeext conftest.$ac_ext
10014 LIBS=$ac_check_lib_save_LIBS
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10017 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10018 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10019 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10022 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10023 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10024 $as_echo_n "(cached) " >&6
10026 ac_check_lib_save_LIBS=$LIBS
10028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10029 /* end confdefs.h. */
10031 /* Override any GCC internal prototype to avoid an error.
10032 Use char because int might match the return type of a GCC
10033 builtin and then its argument prototype would still apply. */
10041 return dld_link ();
10046 if ac_fn_c_try_link "$LINENO"; then :
10047 ac_cv_lib_dld_dld_link=yes
10049 ac_cv_lib_dld_dld_link=no
10051 rm -f core conftest.err conftest.$ac_objext \
10052 conftest$ac_exeext conftest.$ac_ext
10053 LIBS=$ac_check_lib_save_LIBS
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10056 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10057 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10058 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10079 if test "x$lt_cv_dlopen" != xno; then
10085 case $lt_cv_dlopen in
10087 save_CPPFLAGS="$CPPFLAGS"
10088 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10090 save_LDFLAGS="$LDFLAGS"
10091 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10094 LIBS="$lt_cv_dlopen_libs $LIBS"
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10097 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10098 if test "${lt_cv_dlopen_self+set}" = set; then :
10099 $as_echo_n "(cached) " >&6
10101 if test "$cross_compiling" = yes; then :
10102 lt_cv_dlopen_self=cross
10104 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10105 lt_status=$lt_dlunknown
10106 cat > conftest.$ac_ext <<_LT_EOF
10107 #line 10107 "configure"
10108 #include "confdefs.h"
10117 # define LT_DLGLOBAL RTLD_GLOBAL
10120 # define LT_DLGLOBAL DL_GLOBAL
10122 # define LT_DLGLOBAL 0
10126 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10127 find out it does not work in some platform. */
10128 #ifndef LT_DLLAZY_OR_NOW
10130 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10133 # define LT_DLLAZY_OR_NOW DL_LAZY
10136 # define LT_DLLAZY_OR_NOW RTLD_NOW
10139 # define LT_DLLAZY_OR_NOW DL_NOW
10141 # define LT_DLLAZY_OR_NOW 0
10148 void fnord() { int i=42;}
10151 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10152 int status = $lt_dlunknown;
10156 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10157 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10158 /* dlclose (self); */
10166 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10167 (eval $ac_link) 2>&5
10169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10170 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10171 (./conftest; exit; ) >&5 2>/dev/null
10173 case x$lt_status in
10174 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10175 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10176 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10179 # compilation failed
10180 lt_cv_dlopen_self=no
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10188 $as_echo "$lt_cv_dlopen_self" >&6; }
10190 if test "x$lt_cv_dlopen_self" = xyes; then
10191 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10193 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10194 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10195 $as_echo_n "(cached) " >&6
10197 if test "$cross_compiling" = yes; then :
10198 lt_cv_dlopen_self_static=cross
10200 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10201 lt_status=$lt_dlunknown
10202 cat > conftest.$ac_ext <<_LT_EOF
10203 #line 10203 "configure"
10204 #include "confdefs.h"
10213 # define LT_DLGLOBAL RTLD_GLOBAL
10216 # define LT_DLGLOBAL DL_GLOBAL
10218 # define LT_DLGLOBAL 0
10222 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10223 find out it does not work in some platform. */
10224 #ifndef LT_DLLAZY_OR_NOW
10226 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10229 # define LT_DLLAZY_OR_NOW DL_LAZY
10232 # define LT_DLLAZY_OR_NOW RTLD_NOW
10235 # define LT_DLLAZY_OR_NOW DL_NOW
10237 # define LT_DLLAZY_OR_NOW 0
10244 void fnord() { int i=42;}
10247 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10248 int status = $lt_dlunknown;
10252 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10253 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10254 /* dlclose (self); */
10262 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10263 (eval $ac_link) 2>&5
10265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10266 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10267 (./conftest; exit; ) >&5 2>/dev/null
10269 case x$lt_status in
10270 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10271 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10272 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10275 # compilation failed
10276 lt_cv_dlopen_self_static=no
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10284 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10287 CPPFLAGS="$save_CPPFLAGS"
10288 LDFLAGS="$save_LDFLAGS"
10293 case $lt_cv_dlopen_self in
10294 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10295 *) enable_dlopen_self=unknown ;;
10298 case $lt_cv_dlopen_self_static in
10299 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10300 *) enable_dlopen_self_static=unknown ;;
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10323 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10324 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10325 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10326 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10328 $as_echo "yes" >&6; }
10330 # FIXME - insert some real tests, host_os isn't really good enough
10333 if test -n "$STRIP" ; then
10334 striplib="$STRIP -x"
10335 old_striplib="$STRIP -S"
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10337 $as_echo "yes" >&6; }
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10340 $as_echo "no" >&6; }
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10345 $as_echo "no" >&6; }
10361 # Report which library types will actually be built
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10363 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10365 $as_echo "$can_build_shared" >&6; }
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10368 $as_echo_n "checking whether to build shared libraries... " >&6; }
10369 test "$can_build_shared" = "no" && enable_shared=no
10371 # On AIX, shared libraries and static libraries use the same namespace, and
10372 # are all built from PIC.
10375 test "$enable_shared" = yes && enable_static=no
10376 if test -n "$RANLIB"; then
10377 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10378 postinstall_cmds='$RANLIB $lib'
10383 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10384 test "$enable_shared" = yes && enable_static=no
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10389 $as_echo "$enable_shared" >&6; }
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10392 $as_echo_n "checking whether to build static libraries... " >&6; }
10393 # Make sure either enable_shared or enable_static is yes.
10394 test "$enable_shared" = yes || enable_static=yes
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10396 $as_echo "$enable_static" >&6; }
10403 ac_cpp='$CPP $CPPFLAGS'
10404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10422 ac_config_commands="$ac_config_commands libtool"
10427 # Only expand once:
10431 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
10432 case $ac_cv_c_uint64_t in #(
10436 $as_echo "#define _UINT64_T 1" >>confdefs.h
10439 cat >>confdefs.h <<_ACEOF
10440 #define uint64_t $ac_cv_c_uint64_t
10445 ac_config_files="$ac_config_files Makefile"
10447 cat >confcache <<\_ACEOF
10448 # This file is a shell script that caches the results of configure
10449 # tests run on this system so they can be shared between configure
10450 # scripts and configure runs, see configure's option --config-cache.
10451 # It is not useful on other systems. If it contains results you don't
10452 # want to keep, you may remove or edit it.
10454 # config.status only pays attention to the cache file if you give it
10455 # the --recheck option to rerun configure.
10457 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10458 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10459 # following values.
10463 # The following way of writing the cache mishandles newlines in values,
10464 # but we know of no workaround that is simple, portable, and efficient.
10465 # So, we kill variables containing newlines.
10466 # Ultrix sh set writes to stderr and can't be redirected directly,
10467 # and sets the high bit in the cache file unless we assign to the vars.
10469 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10470 eval ac_val=\$$ac_var
10474 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
10475 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
10478 _ | IFS | as_nl) ;; #(
10479 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
10480 *) { eval $ac_var=; unset $ac_var;} ;;
10486 case $as_nl`(ac_space=' '; set) 2>&1` in #(
10487 *${as_nl}ac_space=\ *)
10488 # `set' does not quote correctly, so add quotes: double-quote
10489 # substitution turns \\\\ into \\, and sed turns \\ into \.
10492 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10495 # `set' quotes correctly as required by POSIX, so do not add quotes.
10496 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10505 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10507 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10509 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
10510 if test -w "$cache_file"; then
10511 test "x$cache_file" != "x/dev/null" &&
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
10513 $as_echo "$as_me: updating cache $cache_file" >&6;}
10514 cat confcache >$cache_file
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
10517 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10522 test "x$prefix" = xNONE && prefix=$ac_default_prefix
10523 # Let make expand exec_prefix.
10524 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
10526 # Transform confdefs.h into DEFS.
10527 # Protect against shell expansion while executing Makefile rules.
10528 # Protect against Makefile macro expansion.
10530 # If the first sed substitution is executed (which looks for macros that
10531 # take arguments), then branch to the quote section. Otherwise,
10532 # look for a macro that doesn't take arguments.
10542 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
10544 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
10548 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
10561 DEFS=`sed -n "$ac_script" confdefs.h`
10566 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
10567 # 1. Remove the extension, and $U if already installed.
10568 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
10569 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
10570 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
10571 # will be set to the directory where LIBOBJS objects are built.
10572 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10573 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
10575 LIBOBJS=$ac_libobjs
10577 LTLIBOBJS=$ac_ltlibobjs
10580 if test -n "$EXEEXT"; then
10582 am__EXEEXT_FALSE='#'
10584 am__EXEEXT_TRUE='#'
10588 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
10589 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
10590 Usually this means the macro was only invoked conditionally." "$LINENO" 5
10592 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
10593 as_fn_error "conditional \"AMDEP\" was never defined.
10594 Usually this means the macro was only invoked conditionally." "$LINENO" 5
10596 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10597 as_fn_error "conditional \"am__fastdepCC\" was never defined.
10598 Usually this means the macro was only invoked conditionally." "$LINENO" 5
10601 : ${CONFIG_STATUS=./config.status}
10603 ac_clean_files_save=$ac_clean_files
10604 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
10606 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
10608 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
10610 # Generated by $as_me.
10611 # Run this file to recreate the current configuration.
10612 # Compiler output produced by configure, useful for debugging
10613 # configure, is in config.log if it exists.
10616 ac_cs_recheck=false
10619 SHELL=\${CONFIG_SHELL-$SHELL}
10622 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
10623 ## -------------------- ##
10624 ## M4sh Initialization. ##
10625 ## -------------------- ##
10627 # Be more Bourne compatible
10628 DUALCASE=1; export DUALCASE # for MKS sh
10629 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
10632 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
10633 # is contrary to our usage. Disable this feature.
10634 alias -g '${1+"$@"}'='"$@"'
10635 setopt NO_GLOB_SUBST
10637 case `(set -o) 2>/dev/null` in #(
10649 # Printing a long string crashes Solaris 7 /usr/bin/printf.
10650 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
10651 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
10652 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
10653 # Prefer a ksh shell builtin over an external printf program on Solaris,
10654 # but without wasting forks for bash or zsh.
10655 if test -z "$BASH_VERSION$ZSH_VERSION" \
10656 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
10657 as_echo='print -r --'
10658 as_echo_n='print -rn --'
10659 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
10660 as_echo='printf %s\n'
10661 as_echo_n='printf %s'
10663 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
10664 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
10665 as_echo_n='/usr/ucb/echo -n'
10667 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
10668 as_echo_n_body='eval
10672 expr "X$arg" : "X\\(.*\\)$as_nl";
10673 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
10675 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
10677 export as_echo_n_body
10678 as_echo_n='sh -c $as_echo_n_body as_echo'
10680 export as_echo_body
10681 as_echo='sh -c $as_echo_body as_echo'
10684 # The user is always right.
10685 if test "${PATH_SEPARATOR+set}" != set; then
10687 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
10688 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
10695 # We need space, tab and new line, in precisely that order. Quoting is
10696 # there to prevent editors from complaining about space-tab.
10697 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
10698 # splitting by setting IFS to empty value.)
10701 # Find who we are. Look in the path if we contain no directory separator.
10703 *[\\/]* ) as_myself=$0 ;;
10704 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10705 for as_dir in $PATH
10708 test -z "$as_dir" && as_dir=.
10709 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10715 # We did not find ourselves, most probably we were run as `sh COMMAND'
10716 # in which case we are not to be found in the path.
10717 if test "x$as_myself" = x; then
10720 if test ! -f "$as_myself"; then
10721 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10725 # Unset variables that we do not need and which cause bugs (e.g. in
10726 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
10727 # suppresses any "Segmentation fault" message there. '((' could
10728 # trigger a bug in pdksh 5.2.14.
10729 for as_var in BASH_ENV ENV MAIL MAILPATH
10730 do eval test x\${$as_var+set} = xset \
10731 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
10744 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10747 # as_fn_error ERROR [LINENO LOG_FD]
10748 # ---------------------------------
10749 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
10750 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
10751 # script with status $?, using 1 if that was 0.
10754 as_status=$?; test $as_status -eq 0 && as_status=1
10756 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
10757 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
10759 $as_echo "$as_me: error: $1" >&2
10760 as_fn_exit $as_status
10764 # as_fn_set_status STATUS
10765 # -----------------------
10766 # Set $? to STATUS, without forking.
10767 as_fn_set_status ()
10770 } # as_fn_set_status
10772 # as_fn_exit STATUS
10773 # -----------------
10774 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
10778 as_fn_set_status $1
10784 # Portably unset VAR.
10787 { eval $1=; unset $1;}
10789 as_unset=as_fn_unset
10790 # as_fn_append VAR VALUE
10791 # ----------------------
10792 # Append the text in VALUE to the end of the definition contained in VAR. Take
10793 # advantage of any shell optimizations that allow amortized linear growth over
10794 # repeated appends, instead of the typical quadratic growth present in naive
10796 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
10797 eval 'as_fn_append ()
10808 # as_fn_arith ARG...
10809 # ------------------
10810 # Perform arithmetic evaluation on the ARGs, and store the result in the
10811 # global $as_val. Take advantage of shells that can avoid forks. The arguments
10812 # must be portable across $(()) and expr.
10813 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
10814 eval 'as_fn_arith ()
10821 as_val=`expr "$@" || test $? -eq 1`
10826 if expr a : '\(a\)' >/dev/null 2>&1 &&
10827 test "X`expr 00001 : '.*\(...\)'`" = X001; then
10833 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10834 as_basename=basename
10839 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
10845 as_me=`$as_basename -- "$0" ||
10846 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10847 X"$0" : 'X\(//\)$' \| \
10848 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10850 sed '/^.*\/\([^/][^/]*\)\/*$/{
10864 # Avoid depending upon Character Ranges.
10865 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10866 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10867 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10868 as_cr_digits='0123456789'
10869 as_cr_alnum=$as_cr_Letters$as_cr_digits
10871 ECHO_C= ECHO_N= ECHO_T=
10872 case `echo -n x` in #(((((
10874 case `echo 'xy\c'` in
10875 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
10877 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
10884 rm -f conf$$ conf$$.exe conf$$.file
10885 if test -d conf$$.dir; then
10886 rm -f conf$$.dir/conf$$.file
10889 mkdir conf$$.dir 2>/dev/null
10891 if (echo >conf$$.file) 2>/dev/null; then
10892 if ln -s conf$$.file conf$$ 2>/dev/null; then
10894 # ... but there are two gotchas:
10895 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10896 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10897 # In both cases, we have to default to `cp -p'.
10898 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
10900 elif ln conf$$.file conf$$ 2>/dev/null; then
10908 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
10909 rmdir conf$$.dir 2>/dev/null
10914 # Create "$as_dir" as a directory, including parents if necessary.
10919 -*) as_dir=./$as_dir;;
10921 test -d "$as_dir" || eval $as_mkdir_p || {
10925 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
10926 *) as_qdir=$as_dir;;
10928 as_dirs="'$as_qdir' $as_dirs"
10929 as_dir=`$as_dirname -- "$as_dir" ||
10930 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10931 X"$as_dir" : 'X\(//\)[^/]' \| \
10932 X"$as_dir" : 'X\(//\)$' \| \
10933 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10934 $as_echo X"$as_dir" |
10935 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10939 /^X\(\/\/\)[^/].*/{
10952 test -d "$as_dir" && break
10954 test -z "$as_dirs" || eval "mkdir $as_dirs"
10955 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
10959 if mkdir -p . 2>/dev/null; then
10960 as_mkdir_p='mkdir -p "$as_dir"'
10962 test -d ./-p && rmdir ./-p
10966 if test -x / >/dev/null 2>&1; then
10967 as_test_x='test -x'
10969 if ls -dL / >/dev/null 2>&1; then
10976 if test -d "$1"; then
10982 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
10983 ???[sx]*):;;*)false;;esac;fi
10987 as_executable_p=$as_test_x
10989 # Sed expression to map a string onto a valid CPP name.
10990 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10992 # Sed expression to map a string onto a valid variable name.
10993 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10997 ## ----------------------------------- ##
10998 ## Main body of $CONFIG_STATUS script. ##
10999 ## ----------------------------------- ##
11001 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
11003 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11004 # Save the log message, to keep $0 and so on meaningful, and to
11005 # report actual input values of CONFIG_FILES etc. instead of their
11006 # values after options handling.
11008 This file was extended by LTO plugin for ld $as_me 0.1, which was
11009 generated by GNU Autoconf 2.64. Invocation command line was
11011 CONFIG_FILES = $CONFIG_FILES
11012 CONFIG_HEADERS = $CONFIG_HEADERS
11013 CONFIG_LINKS = $CONFIG_LINKS
11014 CONFIG_COMMANDS = $CONFIG_COMMANDS
11017 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11022 case $ac_config_files in *"
11023 "*) set x $ac_config_files; shift; ac_config_files=$*;;
11028 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11029 # Files that config.status was made for.
11030 config_files="$ac_config_files"
11031 config_commands="$ac_config_commands"
11035 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11037 \`$as_me' instantiates files and other configuration actions
11038 from templates according to the current configuration. Unless the files
11039 and actions are specified as TAGs, all are instantiated by default.
11041 Usage: $0 [OPTION]... [TAG]...
11043 -h, --help print this help, then exit
11044 -V, --version print version number and configuration settings, then exit
11045 -q, --quiet, --silent
11046 do not print progress messages
11047 -d, --debug don't remove temporary files
11048 --recheck update $as_me by reconfiguring in the same conditions
11049 --file=FILE[:TEMPLATE]
11050 instantiate the configuration file FILE
11052 Configuration files:
11055 Configuration commands:
11058 Report bugs to the package provider."
11061 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11063 LTO plugin for ld config.status 0.1
11064 configured by $0, generated by GNU Autoconf 2.64,
11065 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
11067 Copyright (C) 2009 Free Software Foundation, Inc.
11068 This config.status script is free software; the Free Software Foundation
11069 gives unlimited permission to copy, distribute and modify it."
11076 test -n "\$AWK" || AWK=awk
11079 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11080 # The default lists apply if the user does not specify any file.
11086 ac_option=`expr "X$1" : 'X\([^=]*\)='`
11087 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
11098 # Handling of the options.
11099 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11101 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
11102 $as_echo "$ac_cs_version"; exit ;;
11103 --debug | --debu | --deb | --de | --d | -d )
11105 --file | --fil | --fi | --f )
11108 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11110 as_fn_append CONFIG_FILES " '$ac_optarg'"
11111 ac_need_defaults=false;;
11112 --he | --h | --help | --hel | -h )
11113 $as_echo "$ac_cs_usage"; exit ;;
11114 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11115 | -silent | --silent | --silen | --sile | --sil | --si | --s)
11118 # This is an error.
11119 -*) as_fn_error "unrecognized option: \`$1'
11120 Try \`$0 --help' for more information." ;;
11122 *) as_fn_append ac_config_targets " $1"
11123 ac_need_defaults=false ;;
11129 ac_configure_extra_args=
11131 if $ac_cs_silent; then
11133 ac_configure_extra_args="$ac_configure_extra_args --silent"
11137 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11138 if \$ac_cs_recheck; then
11139 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11141 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11142 CONFIG_SHELL='$SHELL'
11143 export CONFIG_SHELL
11148 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11152 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11153 ## Running $as_me. ##
11159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11163 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11166 # The HP-UX ksh and POSIX shell print the target directory to stdout
11167 # if CDPATH is set.
11168 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11170 sed_quote_subst='$sed_quote_subst'
11171 double_quote_subst='$double_quote_subst'
11172 delay_variable_subst='$delay_variable_subst'
11173 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
11174 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
11175 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
11176 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
11177 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
11178 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
11179 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
11180 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
11181 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
11182 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
11183 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
11184 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
11185 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
11186 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
11187 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
11188 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
11189 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
11190 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
11191 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
11192 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
11193 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
11194 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
11195 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
11196 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
11197 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
11198 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
11199 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
11200 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11201 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
11202 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
11203 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
11204 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
11205 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11206 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
11207 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
11208 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11209 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11210 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11211 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
11212 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11213 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
11214 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
11215 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
11216 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
11217 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"`'
11218 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"`'
11219 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
11220 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
11221 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
11222 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
11223 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
11224 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
11225 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
11226 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
11227 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
11228 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
11229 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
11230 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
11231 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
11232 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
11233 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
11234 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
11235 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11236 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11237 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
11238 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
11239 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11240 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11241 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
11242 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11243 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11244 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11245 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11246 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11247 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11248 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
11249 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11250 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11251 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11252 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
11253 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
11254 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
11255 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
11256 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
11257 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11258 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
11259 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
11260 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
11261 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
11262 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
11263 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11264 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11265 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11266 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11267 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
11268 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
11269 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
11270 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
11271 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
11272 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11273 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11274 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
11275 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11276 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
11277 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11278 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11279 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11280 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11281 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
11282 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
11283 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11284 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11285 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
11286 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
11287 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
11288 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
11289 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
11290 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
11293 LTCFLAGS='$LTCFLAGS'
11294 compiler='$compiler_DEFAULT'
11296 # Quote evaled strings.
11308 deplibs_check_method \
11317 lt_cv_sys_global_symbol_pipe \
11318 lt_cv_sys_global_symbol_to_cdecl \
11319 lt_cv_sys_global_symbol_to_c_name_address \
11320 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
11323 lt_prog_compiler_no_builtin_flag \
11324 lt_prog_compiler_wl \
11325 lt_prog_compiler_pic \
11326 lt_prog_compiler_static \
11327 lt_cv_prog_compiler_c_o \
11335 export_dynamic_flag_spec \
11336 whole_archive_flag_spec \
11337 compiler_needs_object \
11339 allow_undefined_flag \
11340 no_undefined_flag \
11341 hardcode_libdir_flag_spec \
11342 hardcode_libdir_flag_spec_ld \
11343 hardcode_libdir_separator \
11348 variables_saved_for_relink \
11350 library_names_spec \
11355 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11356 *[\\\\\\\`\\"\\\$]*)
11357 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
11360 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11365 # Double-quote double-evaled strings.
11366 for var in reload_cmds \
11367 old_postinstall_cmds \
11368 old_postuninstall_cmds \
11370 extract_expsyms_cmds \
11371 old_archive_from_new_cmds \
11372 old_archive_from_expsyms_cmds \
11374 archive_expsym_cmds \
11376 module_expsym_cmds \
11377 export_symbols_cmds \
11380 postuninstall_cmds \
11382 sys_lib_search_path_spec \
11383 sys_lib_dlsearch_path_spec; do
11384 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11385 *[\\\\\\\`\\"\\\$]*)
11386 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
11389 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11394 # Fix-up fallback echo if it was mangled by the above quoting rules.
11396 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
11400 ac_aux_dir='$ac_aux_dir'
11401 xsi_shell='$xsi_shell'
11402 lt_shell_append='$lt_shell_append'
11404 # See if we are running on zsh, and set the options which allow our
11405 # commands through without removal of \ escapes INIT.
11406 if test -n "\${ZSH_VERSION+set}" ; then
11407 setopt NO_GLOB_SUBST
11413 TIMESTAMP='$TIMESTAMP'
11422 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11424 # Handling of arguments.
11425 for ac_config_target in $ac_config_targets
11427 case $ac_config_target in
11428 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
11429 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
11430 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
11432 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
11437 # If the user did not use the arguments to specify the items to instantiate,
11438 # then the envvar interface is used. Set only those that are not.
11439 # We use the long form for the default assignment because of an extremely
11440 # bizarre bug on SunOS 4.1.3.
11441 if $ac_need_defaults; then
11442 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11443 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
11446 # Have a temporary directory for convenience. Make it in the build tree
11447 # simply because there is no reason against having it here, and in addition,
11448 # creating and moving files from /tmp can sometimes cause problems.
11449 # Hook for its removal unless debugging.
11450 # Note that there is a small window in which the directory will not be cleaned:
11451 # after its creation but before its name has been assigned to `$tmp'.
11455 trap 'exit_status=$?
11456 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11458 trap 'as_fn_exit 1' 1 2 13 15
11460 # Create a (secure) tmp directory for tmp files.
11463 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11464 test -n "$tmp" && test -d "$tmp"
11467 tmp=./conf$$-$RANDOM
11468 (umask 077 && mkdir "$tmp")
11469 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
11471 # Set up the scripts for CONFIG_FILES section.
11472 # No need to generate them if there are no CONFIG_FILES.
11473 # This happens for instance with `./config.status config.h'.
11474 if test -n "$CONFIG_FILES"; then
11477 ac_cr=`echo X | tr X '\015'`
11478 # On cygwin, bash can eat \r inside `` if the user requested igncr.
11479 # But we know of no other shell where ac_cr would be empty at this
11480 # point, so we can use a bashism as a fallback.
11481 if test "x$ac_cr" = x; then
11482 eval ac_cr=\$\'\\r\'
11484 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
11485 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
11488 ac_cs_awk_cr=$ac_cr
11491 echo 'BEGIN {' >"$tmp/subs1.awk" &&
11496 echo "cat >conf$$subs.awk <<_ACEOF" &&
11497 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
11499 } >conf$$subs.sh ||
11500 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
11501 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
11503 for ac_last_try in false false false false false :; do
11504 . ./conf$$subs.sh ||
11505 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
11507 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
11508 if test $ac_delim_n = $ac_delim_num; then
11510 elif $ac_last_try; then
11511 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
11513 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
11516 rm -f conf$$subs.sh
11518 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11519 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
11523 s/^/S["/; s/!.*/"]=/
11533 s/\(.\{148\}\).*/\1/
11535 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
11540 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
11547 s/\(.\{148\}\).*/\1/
11549 s/["\\]/\\&/g; s/^/"/; s/$/"/
11553 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
11558 ' <conf$$subs.awk | sed '
11563 ' >>$CONFIG_STATUS || ac_write_fail=1
11564 rm -f conf$$subs.awk
11565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11567 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
11568 for (key in S) S_is_set[key] = 1
11574 nfields = split(line, field, "@")
11576 len = length(field[1])
11577 for (i = 2; i < nfields; i++) {
11579 keylen = length(key)
11580 if (S_is_set[key]) {
11582 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
11583 len += length(value) + length(field[++i])
11594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11595 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
11596 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
11599 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
11600 || as_fn_error "could not setup config files machinery" "$LINENO" 5
11603 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11604 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11605 # trailing colons and then remove the whole line if VPATH becomes empty
11606 # (actually we leave an empty line to preserve line numbers).
11607 if test "x$srcdir" = x.; then
11608 ac_vpsub='/^[ ]*VPATH[ ]*=/{
11609 s/:*\$(srcdir):*/:/
11610 s/:*\${srcdir}:*/:/
11612 s/^\([^=]*=[ ]*\):*/\1/
11618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11619 fi # test -n "$CONFIG_FILES"
11622 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
11627 :[FHLC]) ac_mode=$ac_tag; continue;;
11629 case $ac_mode$ac_tag in
11631 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
11632 :[FH]-) ac_tag=-:-;;
11633 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
11650 -) ac_f="$tmp/stdin";;
11651 *) # Look for the file first in the build tree, then in the source tree
11652 # (if the path is not absolute). The absolute path cannot be DOS-style,
11653 # because $ac_f cannot contain `:'.
11657 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
11659 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
11661 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
11662 as_fn_append ac_file_inputs " '$ac_f'"
11665 # Let's still pretend it is `configure' which instantiates (i.e., don't
11666 # use $as_me), people would be surprised to read:
11667 # /* config.h. Generated by config.status. */
11668 configure_input='Generated from '`
11669 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
11671 if test x"$ac_file" != x-; then
11672 configure_input="$ac_file. $configure_input"
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
11674 $as_echo "$as_me: creating $ac_file" >&6;}
11676 # Neutralize special characters interpreted by sed in replacement strings.
11677 case $configure_input in #(
11678 *\&* | *\|* | *\\* )
11679 ac_sed_conf_input=`$as_echo "$configure_input" |
11680 sed 's/[\\\\&|]/\\\\&/g'`;; #(
11681 *) ac_sed_conf_input=$configure_input;;
11685 *:-:* | *:-) cat >"$tmp/stdin" \
11686 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
11691 ac_dir=`$as_dirname -- "$ac_file" ||
11692 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11693 X"$ac_file" : 'X\(//\)[^/]' \| \
11694 X"$ac_file" : 'X\(//\)$' \| \
11695 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11696 $as_echo X"$ac_file" |
11697 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11701 /^X\(\/\/\)[^/].*/{
11714 as_dir="$ac_dir"; as_fn_mkdir_p
11718 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
11720 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
11721 # A ".." for each directory in $ac_dir_suffix.
11722 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
11723 case $ac_top_builddir_sub in
11724 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
11725 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
11728 ac_abs_top_builddir=$ac_pwd
11729 ac_abs_builddir=$ac_pwd$ac_dir_suffix
11730 # for backward compatibility:
11731 ac_top_builddir=$ac_top_build_prefix
11734 .) # We are building in place.
11736 ac_top_srcdir=$ac_top_builddir_sub
11737 ac_abs_top_srcdir=$ac_pwd ;;
11738 [\\/]* | ?:[\\/]* ) # Absolute name.
11739 ac_srcdir=$srcdir$ac_dir_suffix;
11740 ac_top_srcdir=$srcdir
11741 ac_abs_top_srcdir=$srcdir ;;
11742 *) # Relative name.
11743 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
11744 ac_top_srcdir=$ac_top_build_prefix$srcdir
11745 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
11747 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
11757 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
11758 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
11760 ac_MKDIR_P=$MKDIR_P
11762 [\\/$]* | ?:[\\/]* ) ;;
11763 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
11767 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11768 # If the template does not know about datarootdir, expand it.
11769 # FIXME: This hack should be removed a few years after 2.60.
11770 ac_datarootdir_hack=; ac_datarootdir_seen=
11781 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
11782 *datarootdir*) ac_datarootdir_seen=yes;;
11783 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
11785 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
11787 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11788 ac_datarootdir_hack='
11789 s&@datadir@&$datadir&g
11790 s&@docdir@&$docdir&g
11791 s&@infodir@&$infodir&g
11792 s&@localedir@&$localedir&g
11793 s&@mandir@&$mandir&g
11794 s&\\\${datarootdir}&$datarootdir&g' ;;
11798 # Neutralize VPATH when `$srcdir' = `.'.
11799 # Shell code in configure.ac might set extrasub.
11800 # FIXME: do we really want to maintain this feature?
11801 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11802 ac_sed_extra="$ac_vpsub
11805 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11807 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11808 s|@configure_input@|$ac_sed_conf_input|;t t
11809 s&@top_builddir@&$ac_top_builddir_sub&;t t
11810 s&@top_build_prefix@&$ac_top_build_prefix&;t t
11811 s&@srcdir@&$ac_srcdir&;t t
11812 s&@abs_srcdir@&$ac_abs_srcdir&;t t
11813 s&@top_srcdir@&$ac_top_srcdir&;t t
11814 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
11815 s&@builddir@&$ac_builddir&;t t
11816 s&@abs_builddir@&$ac_abs_builddir&;t t
11817 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
11818 s&@INSTALL@&$ac_INSTALL&;t t
11819 s&@MKDIR_P@&$ac_MKDIR_P&;t t
11820 $ac_datarootdir_hack
11822 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
11823 || as_fn_error "could not create $ac_file" "$LINENO" 5
11825 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11826 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
11827 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11829 which seems to be undefined. Please make sure it is defined." >&5
11830 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11831 which seems to be undefined. Please make sure it is defined." >&2;}
11835 -) cat "$tmp/out" && rm -f "$tmp/out";;
11836 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
11838 || as_fn_error "could not create $ac_file" "$LINENO" 5
11842 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
11843 $as_echo "$as_me: executing $ac_file commands" >&6;}
11848 case $ac_file$ac_mode in
11849 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
11850 # Autoconf 2.62 quotes --file arguments for eval, but not when files
11851 # are listed without --file. Let's play safe and only enable the eval
11852 # if we detect the quoting.
11853 case $CONFIG_FILES in
11854 *\'*) eval set x "$CONFIG_FILES" ;;
11855 *) set x $CONFIG_FILES ;;
11860 # Strip MF so we end up with the name of the file.
11861 mf=`echo "$mf" | sed -e 's/:.*$//'`
11862 # Check whether this is an Automake generated Makefile or not.
11863 # We used to match only the files named `Makefile.in', but
11864 # some people rename them; so instead we look at the file content.
11865 # Grep'ing the first line is not enough: some people post-process
11866 # each Makefile.in and add a new line on top of each file to say so.
11867 # Grep'ing the whole file is not good either: AIX grep has a line
11868 # limit of 2048, but all sed's we know have understand at least 4000.
11869 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
11870 dirpart=`$as_dirname -- "$mf" ||
11871 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11872 X"$mf" : 'X\(//\)[^/]' \| \
11873 X"$mf" : 'X\(//\)$' \| \
11874 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
11876 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11880 /^X\(\/\/\)[^/].*/{
11896 # Extract the definition of DEPDIR, am__include, and am__quote
11897 # from the Makefile without running `make'.
11898 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
11899 test -z "$DEPDIR" && continue
11900 am__include=`sed -n 's/^am__include = //p' < "$mf"`
11901 test -z "am__include" && continue
11902 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
11903 # When using ansi2knr, U may be empty or an underscore; expand it
11904 U=`sed -n 's/^U = //p' < "$mf"`
11905 # Find all dependency output files, they are included files with
11906 # $(DEPDIR) in their names. We invoke sed twice because it is the
11907 # simplest approach to changing $(DEPDIR) to its actual value in the
11909 for file in `sed -n "
11910 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
11911 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
11912 # Make sure the directory exists.
11913 test -f "$dirpart/$file" && continue
11914 fdir=`$as_dirname -- "$file" ||
11915 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11916 X"$file" : 'X\(//\)[^/]' \| \
11917 X"$file" : 'X\(//\)$' \| \
11918 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
11919 $as_echo X"$file" |
11920 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11924 /^X\(\/\/\)[^/].*/{
11937 as_dir=$dirpart/$fdir; as_fn_mkdir_p
11938 # echo "creating $dirpart/$file"
11939 echo '# dummy' > "$dirpart/$file"
11946 # See if we are running on zsh, and set the options which allow our
11947 # commands through without removal of \ escapes.
11948 if test -n "${ZSH_VERSION+set}" ; then
11949 setopt NO_GLOB_SUBST
11952 cfgfile="${ofile}T"
11953 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
11956 cat <<_LT_EOF >> "$cfgfile"
11959 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
11960 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
11961 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11962 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
11964 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
11965 # 2006, 2007, 2008 Free Software Foundation, Inc.
11966 # Written by Gordon Matzigkeit, 1996
11968 # This file is part of GNU Libtool.
11970 # GNU Libtool is free software; you can redistribute it and/or
11971 # modify it under the terms of the GNU General Public License as
11972 # published by the Free Software Foundation; either version 2 of
11973 # the License, or (at your option) any later version.
11975 # As a special exception to the GNU General Public License,
11976 # if you distribute this file as part of a program or library that
11977 # is built using GNU Libtool, you may include this file under the
11978 # same distribution terms that you use for the rest of that program.
11980 # GNU Libtool is distributed in the hope that it will be useful,
11981 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11982 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11983 # GNU General Public License for more details.
11985 # You should have received a copy of the GNU General Public License
11986 # along with GNU Libtool; see the file COPYING. If not, a copy
11987 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
11988 # obtained by writing to the Free Software Foundation, Inc.,
11989 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
11992 # The names of the tagged configurations supported by this script.
11995 # ### BEGIN LIBTOOL CONFIG
11997 # Which release of libtool.m4 was used?
11998 macro_version=$macro_version
11999 macro_revision=$macro_revision
12001 # Whether or not to build shared libraries.
12002 build_libtool_libs=$enable_shared
12004 # Whether or not to build static libraries.
12005 build_old_libs=$enable_static
12007 # What type of objects to build.
12010 # Whether or not to optimize for fast installation.
12011 fast_install=$enable_fast_install
12014 host_alias=$host_alias
12018 # The build system.
12019 build_alias=$build_alias
12023 # A sed program that does not truncate output.
12026 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
12027 Xsed="\$SED -e 1s/^X//"
12029 # A grep program that handles long lines.
12035 # A literal string matcher.
12038 # A BSD- or MS-compatible name lister.
12041 # Whether we need soft or hard links.
12044 # What is the maximum length of a command?
12045 max_cmd_len=$max_cmd_len
12047 # Object file suffix (normally "o").
12050 # Executable file suffix (normally "").
12053 # whether the shell understands "unset".
12056 # turn spaces into newlines.
12059 # turn newlines into spaces.
12062 # How to create reloadable object files.
12063 reload_flag=$lt_reload_flag
12064 reload_cmds=$lt_reload_cmds
12066 # An object symbol dumper.
12067 OBJDUMP=$lt_OBJDUMP
12069 # Method to check whether dependent libraries are shared objects.
12070 deplibs_check_method=$lt_deplibs_check_method
12072 # Command to use when deplibs_check_method == "file_magic".
12073 file_magic_cmd=$lt_file_magic_cmd
12077 AR_FLAGS=$lt_AR_FLAGS
12079 # A symbol stripping program.
12082 # Commands used to install an old-style archive.
12084 old_postinstall_cmds=$lt_old_postinstall_cmds
12085 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12090 # LTCC compiler flags.
12091 LTCFLAGS=$lt_CFLAGS
12093 # Take the output of nm and produce a listing of raw symbols and C names.
12094 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12096 # Transform the output of nm in a proper C declaration.
12097 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12099 # Transform the output of nm in a C name address pair.
12100 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12102 # Transform the output of nm in a C name address pair when lib prefix is needed.
12103 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
12105 # The name of the directory that contains temporary libtool files.
12108 # Shell to use when invoking shell scripts.
12111 # An echo program that does not interpret backslashes.
12114 # Used to examine libraries when file_magic_cmd begins with "file".
12115 MAGIC_CMD=$MAGIC_CMD
12117 # Must we lock files when doing compilation?
12118 need_locks=$lt_need_locks
12120 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
12121 DSYMUTIL=$lt_DSYMUTIL
12123 # Tool to change global to local symbols on Mac OS X.
12126 # Tool to manipulate fat objects and archives on Mac OS X.
12129 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
12132 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
12133 OTOOL64=$lt_OTOOL64
12135 # Old archive suffix (normally "a").
12138 # Shared library suffix (normally ".so").
12139 shrext_cmds=$lt_shrext_cmds
12141 # The commands to extract the exported symbol list from a shared archive.
12142 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12144 # Variables whose values should be saved in libtool wrapper scripts and
12145 # restored at link time.
12146 variables_saved_for_relink=$lt_variables_saved_for_relink
12148 # Do we need the "lib" prefix for modules?
12149 need_lib_prefix=$need_lib_prefix
12151 # Do we need a version for libraries?
12152 need_version=$need_version
12154 # Library versioning type.
12155 version_type=$version_type
12157 # Shared library runtime path variable.
12158 runpath_var=$runpath_var
12160 # Shared library path variable.
12161 shlibpath_var=$shlibpath_var
12163 # Is shlibpath searched before the hard-coded library search path?
12164 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12166 # Format of library name prefix.
12167 libname_spec=$lt_libname_spec
12169 # List of archive names. First name is the real one, the rest are links.
12170 # The last name is the one that the linker finds with -lNAME
12171 library_names_spec=$lt_library_names_spec
12173 # The coded name of the library, if different from the real name.
12174 soname_spec=$lt_soname_spec
12176 # Command to use after installation of a shared archive.
12177 postinstall_cmds=$lt_postinstall_cmds
12179 # Command to use after uninstallation of a shared archive.
12180 postuninstall_cmds=$lt_postuninstall_cmds
12182 # Commands used to finish a libtool library installation in a directory.
12183 finish_cmds=$lt_finish_cmds
12185 # As "finish_cmds", except a single script fragment to be evaled but
12187 finish_eval=$lt_finish_eval
12189 # Whether we should hardcode library paths into libraries.
12190 hardcode_into_libs=$hardcode_into_libs
12192 # Compile-time system search path for libraries.
12193 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12195 # Run-time system search path for libraries.
12196 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12198 # Whether dlopen is supported.
12199 dlopen_support=$enable_dlopen
12201 # Whether dlopen of programs is supported.
12202 dlopen_self=$enable_dlopen_self
12204 # Whether dlopen of statically linked programs is supported.
12205 dlopen_self_static=$enable_dlopen_self_static
12207 # Commands to strip libraries.
12208 old_striplib=$lt_old_striplib
12209 striplib=$lt_striplib
12212 # The linker used to build libraries.
12215 # Commands used to build an old-style archive.
12216 old_archive_cmds=$lt_old_archive_cmds
12218 # A language specific compiler.
12221 # Is the compiler the GNU compiler?
12224 # Compiler flag to turn off builtin functions.
12225 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12227 # How to pass a linker flag through the compiler.
12228 wl=$lt_lt_prog_compiler_wl
12230 # Additional compiler flags for building library objects.
12231 pic_flag=$lt_lt_prog_compiler_pic
12233 # Compiler flag to prevent dynamic linking.
12234 link_static_flag=$lt_lt_prog_compiler_static
12236 # Does compiler simultaneously support -c and -o options?
12237 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12239 # Whether or not to add -lc for building shared libraries.
12240 build_libtool_need_lc=$archive_cmds_need_lc
12242 # Whether or not to disallow shared libs when runtime libs are static.
12243 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12245 # Compiler flag to allow reflexive dlopens.
12246 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12248 # Compiler flag to generate shared objects directly from archives.
12249 whole_archive_flag_spec=$lt_whole_archive_flag_spec
12251 # Whether the compiler copes with passing no objects directly.
12252 compiler_needs_object=$lt_compiler_needs_object
12254 # Create an old-style archive from a shared archive.
12255 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12257 # Create a temporary old-style archive to link instead of a shared archive.
12258 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12260 # Commands used to build a shared archive.
12261 archive_cmds=$lt_archive_cmds
12262 archive_expsym_cmds=$lt_archive_expsym_cmds
12264 # Commands used to build a loadable module if different from building
12265 # a shared archive.
12266 module_cmds=$lt_module_cmds
12267 module_expsym_cmds=$lt_module_expsym_cmds
12269 # Whether we are building with GNU ld or not.
12270 with_gnu_ld=$lt_with_gnu_ld
12272 # Flag that allows shared libraries with undefined symbols to be built.
12273 allow_undefined_flag=$lt_allow_undefined_flag
12275 # Flag that enforces no undefined symbols.
12276 no_undefined_flag=$lt_no_undefined_flag
12278 # Flag to hardcode \$libdir into a binary during linking.
12279 # This must work even if \$libdir does not exist
12280 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12282 # If ld is used when linking, flag to hardcode \$libdir into a binary
12283 # during linking. This must work even if \$libdir does not exist.
12284 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
12286 # Whether we need a single "-rpath" flag with a separated argument.
12287 hardcode_libdir_separator=$lt_hardcode_libdir_separator
12289 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
12290 # DIR into the resulting binary.
12291 hardcode_direct=$hardcode_direct
12293 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
12294 # DIR into the resulting binary and the resulting library dependency is
12295 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
12296 # library is relocated.
12297 hardcode_direct_absolute=$hardcode_direct_absolute
12299 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
12300 # into the resulting binary.
12301 hardcode_minus_L=$hardcode_minus_L
12303 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
12304 # into the resulting binary.
12305 hardcode_shlibpath_var=$hardcode_shlibpath_var
12307 # Set to "yes" if building a shared library automatically hardcodes DIR
12308 # into the library and all subsequent libraries and executables linked
12310 hardcode_automatic=$hardcode_automatic
12312 # Set to yes if linker adds runtime paths of dependent libraries
12313 # to runtime path list.
12314 inherit_rpath=$inherit_rpath
12316 # Whether libtool must link a program against all its dependency libraries.
12317 link_all_deplibs=$link_all_deplibs
12319 # Fix the shell variable \$srcfile for the compiler.
12320 fix_srcfile_path=$lt_fix_srcfile_path
12322 # Set to "yes" if exported symbols are required.
12323 always_export_symbols=$always_export_symbols
12325 # The commands to list exported symbols.
12326 export_symbols_cmds=$lt_export_symbols_cmds
12328 # Symbols that should not be listed in the preloaded symbols.
12329 exclude_expsyms=$lt_exclude_expsyms
12331 # Symbols that must always be exported.
12332 include_expsyms=$lt_include_expsyms
12334 # Commands necessary for linking programs (against libraries) with templates.
12335 prelink_cmds=$lt_prelink_cmds
12337 # Specify filename containing input files.
12338 file_list_spec=$lt_file_list_spec
12340 # How to hardcode a shared library path into an executable.
12341 hardcode_action=$hardcode_action
12343 # ### END LIBTOOL CONFIG
12349 cat <<\_LT_EOF >> "$cfgfile"
12350 # AIX sometimes has problems with the GCC collect2 program. For some
12351 # reason, if we set the COLLECT_NAMES environment variable, the problems
12352 # vanish in a puff of smoke.
12353 if test "X${COLLECT_NAMES+set}" != Xset; then
12355 export COLLECT_NAMES
12362 ltmain="$ac_aux_dir/ltmain.sh"
12365 # We use sed instead of cat because bash on DJGPP gets confused if
12366 # if finds mixed CR/LF and LF-only lines. Since sed operates in
12367 # text mode, it properly converts lines to CR/LF. This bash problem
12368 # is reportedly fixed, but why not run on old versions too?
12369 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
12370 || (rm -f "$cfgfile"; exit 1)
12374 cat << \_LT_EOF >> "$cfgfile"
12376 # func_dirname file append nondir_replacement
12377 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
12378 # otherwise set result to NONDIR_REPLACEMENT.
12382 */*) func_dirname_result="${1%/*}${2}" ;;
12383 * ) func_dirname_result="${3}" ;;
12387 # func_basename file
12390 func_basename_result="${1##*/}"
12393 # func_dirname_and_basename file append nondir_replacement
12394 # perform func_basename and func_dirname in a single function
12396 # dirname: Compute the dirname of FILE. If nonempty,
12397 # add APPEND to the result, otherwise set result
12398 # to NONDIR_REPLACEMENT.
12399 # value returned in "$func_dirname_result"
12400 # basename: Compute filename of FILE.
12401 # value retuned in "$func_basename_result"
12402 # Implementation must be kept synchronized with func_dirname
12403 # and func_basename. For efficiency, we do not delegate to
12404 # those functions but instead duplicate the functionality here.
12405 func_dirname_and_basename ()
12408 */*) func_dirname_result="${1%/*}${2}" ;;
12409 * ) func_dirname_result="${3}" ;;
12411 func_basename_result="${1##*/}"
12414 # func_stripname prefix suffix name
12415 # strip PREFIX and SUFFIX off of NAME.
12416 # PREFIX and SUFFIX must not contain globbing or regex special
12417 # characters, hashes, percent signs, but SUFFIX may contain a leading
12418 # dot (in which case that matches only a dot).
12421 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
12422 # positional parameters, so assign one to ordinary parameter first.
12423 func_stripname_result=${3}
12424 func_stripname_result=${func_stripname_result#"${1}"}
12425 func_stripname_result=${func_stripname_result%"${2}"}
12431 func_opt_split_opt=${1%%=*}
12432 func_opt_split_arg=${1#*=}
12439 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
12440 *) func_lo2o_result=${1} ;;
12444 # func_xform libobj-or-source
12447 func_xform_result=${1%.*}.lo
12450 # func_arith arithmetic-term...
12453 func_arith_result=$(( $* ))
12457 # STRING may not start with a hyphen.
12460 func_len_result=${#1}
12465 *) # Bourne compatible functions.
12466 cat << \_LT_EOF >> "$cfgfile"
12468 # func_dirname file append nondir_replacement
12469 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
12470 # otherwise set result to NONDIR_REPLACEMENT.
12473 # Extract subdirectory from the argument.
12474 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
12475 if test "X$func_dirname_result" = "X${1}"; then
12476 func_dirname_result="${3}"
12478 func_dirname_result="$func_dirname_result${2}"
12482 # func_basename file
12485 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
12489 # func_stripname prefix suffix name
12490 # strip PREFIX and SUFFIX off of NAME.
12491 # PREFIX and SUFFIX must not contain globbing or regex special
12492 # characters, hashes, percent signs, but SUFFIX may contain a leading
12493 # dot (in which case that matches only a dot).
12494 # func_strip_suffix prefix name
12498 .*) func_stripname_result=`$ECHO "X${3}" \
12499 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
12500 *) func_stripname_result=`$ECHO "X${3}" \
12501 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
12506 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
12507 my_sed_long_arg='1s/^-[^=]*=//'
12512 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
12513 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
12519 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
12522 # func_xform libobj-or-source
12525 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
12528 # func_arith arithmetic-term...
12531 func_arith_result=`expr "$@"`
12535 # STRING may not start with a hyphen.
12538 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
12544 case $lt_shell_append in
12546 cat << \_LT_EOF >> "$cfgfile"
12548 # func_append var value
12549 # Append VALUE to the end of shell variable VAR.
12557 cat << \_LT_EOF >> "$cfgfile"
12559 # func_append var value
12560 # Append VALUE to the end of shell variable VAR.
12571 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
12572 || (rm -f "$cfgfile"; exit 1)
12574 mv -f "$cfgfile" "$ofile" ||
12575 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12586 ac_clean_files=$ac_clean_files_save
12588 test $ac_write_fail = 0 ||
12589 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
12592 # configure is writing to config.log, and then calls config.status.
12593 # config.status does its own redirection, appending to config.log.
12594 # Unfortunately, on DOS this fails, as config.log is still kept open
12595 # by configure, so config.status won't be able to write to it; its
12596 # output is simply discarded. So we exec the FD to /dev/null,
12597 # effectively closing config.log, so it can be properly (re)opened and
12598 # appended to by config.status. When coming back to configure, we
12599 # need to make the FD available again.
12600 if test "$no_create" != yes; then
12602 ac_config_status_args=
12603 test "$silent" = yes &&
12604 ac_config_status_args="$ac_config_status_args --quiet"
12606 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
12608 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12609 # would make configure fail if this is the last instruction.
12610 $ac_cs_success || as_fn_exit $?
12612 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
12614 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
12617 # Check whether --enable-largefile was given.
12618 if test "${enable_largefile+set}" = set; then :
12619 enableval=$enable_largefile;
12622 if test "$enable_largefile" != no; then
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
12625 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
12626 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
12627 $as_echo_n "(cached) " >&6
12629 ac_cv_sys_largefile_CC=no
12630 if test "$GCC" != yes; then
12633 # IRIX 6.2 and later do not support large files by default,
12634 # so use the C compiler's -n32 option if that helps.
12635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12636 /* end confdefs.h. */
12637 #include <sys/types.h>
12638 /* Check that off_t can represent 2**63 - 1 correctly.
12639 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12640 since some C++ compilers masquerading as C compilers
12641 incorrectly reject 9223372036854775807. */
12642 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12643 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12644 && LARGE_OFF_T % 2147483647 == 1)
12654 if ac_fn_c_try_compile "$LINENO"; then :
12657 rm -f core conftest.err conftest.$ac_objext
12659 if ac_fn_c_try_compile "$LINENO"; then :
12660 ac_cv_sys_largefile_CC=' -n32'; break
12662 rm -f core conftest.err conftest.$ac_objext
12666 rm -f conftest.$ac_ext
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
12670 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
12671 if test "$ac_cv_sys_largefile_CC" != no; then
12672 CC=$CC$ac_cv_sys_largefile_CC
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
12676 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
12677 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
12678 $as_echo_n "(cached) " >&6
12681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12682 /* end confdefs.h. */
12683 #include <sys/types.h>
12684 /* Check that off_t can represent 2**63 - 1 correctly.
12685 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12686 since some C++ compilers masquerading as C compilers
12687 incorrectly reject 9223372036854775807. */
12688 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12689 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12690 && LARGE_OFF_T % 2147483647 == 1)
12700 if ac_fn_c_try_compile "$LINENO"; then :
12701 ac_cv_sys_file_offset_bits=no; break
12703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12705 /* end confdefs.h. */
12706 #define _FILE_OFFSET_BITS 64
12707 #include <sys/types.h>
12708 /* Check that off_t can represent 2**63 - 1 correctly.
12709 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12710 since some C++ compilers masquerading as C compilers
12711 incorrectly reject 9223372036854775807. */
12712 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12713 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12714 && LARGE_OFF_T % 2147483647 == 1)
12724 if ac_fn_c_try_compile "$LINENO"; then :
12725 ac_cv_sys_file_offset_bits=64; break
12727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12728 ac_cv_sys_file_offset_bits=unknown
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
12733 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
12734 case $ac_cv_sys_file_offset_bits in #(
12737 cat >>confdefs.h <<_ACEOF
12738 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
12743 if test $ac_cv_sys_file_offset_bits = unknown; then
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
12745 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
12746 if test "${ac_cv_sys_large_files+set}" = set; then :
12747 $as_echo_n "(cached) " >&6
12750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12751 /* end confdefs.h. */
12752 #include <sys/types.h>
12753 /* Check that off_t can represent 2**63 - 1 correctly.
12754 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12755 since some C++ compilers masquerading as C compilers
12756 incorrectly reject 9223372036854775807. */
12757 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12758 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12759 && LARGE_OFF_T % 2147483647 == 1)
12769 if ac_fn_c_try_compile "$LINENO"; then :
12770 ac_cv_sys_large_files=no; break
12772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12774 /* end confdefs.h. */
12775 #define _LARGE_FILES 1
12776 #include <sys/types.h>
12777 /* Check that off_t can represent 2**63 - 1 correctly.
12778 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12779 since some C++ compilers masquerading as C compilers
12780 incorrectly reject 9223372036854775807. */
12781 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12782 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12783 && LARGE_OFF_T % 2147483647 == 1)
12793 if ac_fn_c_try_compile "$LINENO"; then :
12794 ac_cv_sys_large_files=1; break
12796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12797 ac_cv_sys_large_files=unknown
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
12802 $as_echo "$ac_cv_sys_large_files" >&6; }
12803 case $ac_cv_sys_large_files in #(
12806 cat >>confdefs.h <<_ACEOF
12807 #define _LARGE_FILES $ac_cv_sys_large_files