2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for nlfaultinjection g249f564.
5 # Report bugs to <nlfaultinjection-users@google.com>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1
179 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183 PATH=/empty FPATH=/empty; export PATH FPATH
184 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: nlfaultinjection-users@google.com about your system,
251 $0: including any error possibly output before this
252 $0: message. Then install a modern shell, or manually run
253 $0: the script under such a shell if you do have one."
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
270 # Portably unset VAR.
273 { eval $1=; unset $1;}
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297 # Create "$as_dir" as a directory, including parents if necessary.
302 -*) as_dir=./$as_dir;;
304 test -d "$as_dir" || eval $as_mkdir_p || {
308 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311 as_dirs="'$as_qdir' $as_dirs"
312 as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 test -d "$as_dir" && break
337 test -z "$as_dirs" || eval "mkdir $as_dirs"
338 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349 eval 'as_fn_append ()
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
373 as_val=`expr "$@" || test $? -eq 1`
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
385 as_status=$1; test $as_status -eq 0 && as_status=1
387 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit $as_status
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001; then
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
440 as_lineno_1=$LINENO as_lineno_1a=$LINENO
441 as_lineno_2=$LINENO as_lineno_2a=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460 chmod +x "$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
467 # Exit status is that of the last command.
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
474 case `echo 'xy\c'` in
475 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
489 mkdir conf$$.dir 2>/dev/null
491 if (echo >conf$$.file) 2>/dev/null; then
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500 elif ln conf$$.file conf$$ 2>/dev/null; then
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
511 if mkdir -p . 2>/dev/null; then
512 as_mkdir_p='mkdir -p "$as_dir"'
514 test -d ./-p && rmdir ./-p
518 if test -x / >/dev/null 2>&1; then
521 if ls -dL / >/dev/null 2>&1; then
528 if test -d "$1"; then
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
539 as_executable_p=$as_test_x
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547 SHELL=${CONFIG_SHELL-/bin/sh}
550 test -n "$DJDIR" || exec 7<&0 </dev/null
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561 ac_default_prefix=/usr/local
563 ac_config_libobj_dir=.
570 # Identity of this package.
571 PACKAGE_NAME='nlfaultinjection'
572 PACKAGE_TARNAME='nlfaultinjection'
573 PACKAGE_VERSION='g249f564'
574 PACKAGE_STRING='nlfaultinjection g249f564'
575 PACKAGE_BUGREPORT='nlfaultinjection-users@google.com'
576 PACKAGE_URL='https://github.com/nestlabs/nlfaultinjection/'
578 ac_unique_file="include/nlfaultinjection.hpp"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
616 enable_option_checking=no
617 ac_subst_vars='am__EXEEXT_FALSE
621 NLUNIT_TEST_FOREIGN_SUBDIR_DEPENDENCY
622 NLASSERT_FOREIGN_SUBDIR_DEPENDENCY
624 NLFAULTINJECTION_WITH_NLUNIT_TEST_INTERNAL_FALSE
625 NLFAULTINJECTION_WITH_NLUNIT_TEST_INTERNAL_TRUE
630 NLFAULTINJECTION_WITH_NLASSERT_INTERNAL_FALSE
631 NLFAULTINJECTION_WITH_NLASSERT_INTERNAL_TRUE
637 NLFAULTINJECTION_BUILD_DOCS_FALSE
638 NLFAULTINJECTION_BUILD_DOCS_TRUE
642 NLFAULTINJECTION_BUILD_TESTS_FALSE
643 NLFAULTINJECTION_BUILD_TESTS_TRUE
646 NLFAULTINJECTION_BUILD_OPTIMIZED_FALSE
647 NLFAULTINJECTION_BUILD_OPTIMIZED_TRUE
648 NLFAULTINJECTION_BUILD_COVERAGE_REPORTS_FALSE
649 NLFAULTINJECTION_BUILD_COVERAGE_REPORTS_TRUE
652 NLFAULTINJECTION_BUILD_COVERAGE_FALSE
653 NLFAULTINJECTION_BUILD_COVERAGE_TRUE
654 NLFAULTINJECTION_BUILD_DEBUG_FALSE
655 NLFAULTINJECTION_BUILD_DEBUG_TRUE
705 MAINTAINER_MODE_FALSE
719 INSTALL_STRIP_PROGRAM
734 nl_filtered_target_os
735 nl_filtered_target_vendor
736 nl_filtered_target_cpu
739 nl_filtered_host_vendor
743 nl_filtered_build_vendor
744 nl_filtered_build_cpu
758 LIBNLFAULTINJECTION_VERSION_INFO
759 LIBNLFAULTINJECTION_VERSION_REVISION
760 LIBNLFAULTINJECTION_VERSION_AGE
761 LIBNLFAULTINJECTION_VERSION_CURRENT
762 abs_top_nlbuild_autotools_dir
763 nlbuild_autotools_stem
791 program_transform_name
804 enable_option_checking
806 enable_maintainer_mode
807 enable_dependency_tracking
818 enable_coverage_reports
823 with_nlassert_includes
826 with_nlunit_test_includes
827 with_nlunit_test_libs
829 ac_precious_vars='build_alias
850 ac_subdirs_all='third_party/nlassert/repo
851 third_party/nlunit-test/repo'
853 # Initialize some variables set by options.
855 ac_init_version=false
856 ac_unrecognized_opts=
858 # The variables have the same names as the options, with
859 # dashes changed to underlines.
867 program_transform_name=s,x,x,
875 # Installation directory options.
876 # These are left unexpanded so users can "make install exec_prefix=/foo"
877 # and all the variables that are supposed to be based on exec_prefix
878 # by default will actually change.
879 # Use braces instead of parens because sh, perl, etc. also accept them.
880 # (The list follows the same order as the GNU Coding Standards.)
881 bindir='${exec_prefix}/bin'
882 sbindir='${exec_prefix}/sbin'
883 libexecdir='${exec_prefix}/libexec'
884 datarootdir='${prefix}/share'
885 datadir='${datarootdir}'
886 sysconfdir='${prefix}/etc'
887 sharedstatedir='${prefix}/com'
888 localstatedir='${prefix}/var'
889 includedir='${prefix}/include'
890 oldincludedir='/usr/include'
891 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
892 infodir='${datarootdir}/info'
897 libdir='${exec_prefix}/lib'
898 localedir='${datarootdir}/locale'
899 mandir='${datarootdir}/man'
905 # If the previous option needs an argument, assign it.
906 if test -n "$ac_prev"; then
907 eval $ac_prev=\$ac_option
913 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
918 # Accept the important Cygnus configure options, so we can diagnose typos.
920 case $ac_dashdash$ac_option in
924 -bindir | --bindir | --bindi | --bind | --bin | --bi)
926 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
929 -build | --build | --buil | --bui | --bu)
930 ac_prev=build_alias ;;
931 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
932 build_alias=$ac_optarg ;;
934 -cache-file | --cache-file | --cache-fil | --cache-fi \
935 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
936 ac_prev=cache_file ;;
937 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
938 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
939 cache_file=$ac_optarg ;;
942 cache_file=config.cache ;;
944 -datadir | --datadir | --datadi | --datad)
946 -datadir=* | --datadir=* | --datadi=* | --datad=*)
947 datadir=$ac_optarg ;;
949 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
950 | --dataroo | --dataro | --datar)
951 ac_prev=datarootdir ;;
952 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
953 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
954 datarootdir=$ac_optarg ;;
956 -disable-* | --disable-*)
957 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
958 # Reject names that are not valid shell variable names.
959 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
960 as_fn_error $? "invalid feature name: $ac_useropt"
961 ac_useropt_orig=$ac_useropt
962 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
963 case $ac_user_opts in
967 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
968 ac_unrecognized_sep=', ';;
970 eval enable_$ac_useropt=no ;;
972 -docdir | --docdir | --docdi | --doc | --do)
974 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
977 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
979 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
982 -enable-* | --enable-*)
983 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
984 # Reject names that are not valid shell variable names.
985 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
986 as_fn_error $? "invalid feature name: $ac_useropt"
987 ac_useropt_orig=$ac_useropt
988 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
989 case $ac_user_opts in
993 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
994 ac_unrecognized_sep=', ';;
996 eval enable_$ac_useropt=\$ac_optarg ;;
998 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
999 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1000 | --exec | --exe | --ex)
1001 ac_prev=exec_prefix ;;
1002 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1003 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1004 | --exec=* | --exe=* | --ex=*)
1005 exec_prefix=$ac_optarg ;;
1007 -gas | --gas | --ga | --g)
1008 # Obsolete; use --with-gas.
1011 -help | --help | --hel | --he | -h)
1012 ac_init_help=long ;;
1013 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1014 ac_init_help=recursive ;;
1015 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1016 ac_init_help=short ;;
1018 -host | --host | --hos | --ho)
1019 ac_prev=host_alias ;;
1020 -host=* | --host=* | --hos=* | --ho=*)
1021 host_alias=$ac_optarg ;;
1023 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1025 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1027 htmldir=$ac_optarg ;;
1029 -includedir | --includedir | --includedi | --included | --include \
1030 | --includ | --inclu | --incl | --inc)
1031 ac_prev=includedir ;;
1032 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1033 | --includ=* | --inclu=* | --incl=* | --inc=*)
1034 includedir=$ac_optarg ;;
1036 -infodir | --infodir | --infodi | --infod | --info | --inf)
1038 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1039 infodir=$ac_optarg ;;
1041 -libdir | --libdir | --libdi | --libd)
1043 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1044 libdir=$ac_optarg ;;
1046 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1047 | --libexe | --libex | --libe)
1048 ac_prev=libexecdir ;;
1049 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1050 | --libexe=* | --libex=* | --libe=*)
1051 libexecdir=$ac_optarg ;;
1053 -localedir | --localedir | --localedi | --localed | --locale)
1054 ac_prev=localedir ;;
1055 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1056 localedir=$ac_optarg ;;
1058 -localstatedir | --localstatedir | --localstatedi | --localstated \
1059 | --localstate | --localstat | --localsta | --localst | --locals)
1060 ac_prev=localstatedir ;;
1061 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1062 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1063 localstatedir=$ac_optarg ;;
1065 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1067 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1068 mandir=$ac_optarg ;;
1070 -nfp | --nfp | --nf)
1071 # Obsolete; use --without-fp.
1074 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1075 | --no-cr | --no-c | -n)
1078 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1079 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1082 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1083 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1084 | --oldin | --oldi | --old | --ol | --o)
1085 ac_prev=oldincludedir ;;
1086 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1087 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1088 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1089 oldincludedir=$ac_optarg ;;
1091 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1093 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1094 prefix=$ac_optarg ;;
1096 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1097 | --program-pre | --program-pr | --program-p)
1098 ac_prev=program_prefix ;;
1099 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1100 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1101 program_prefix=$ac_optarg ;;
1103 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1104 | --program-suf | --program-su | --program-s)
1105 ac_prev=program_suffix ;;
1106 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1107 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1108 program_suffix=$ac_optarg ;;
1110 -program-transform-name | --program-transform-name \
1111 | --program-transform-nam | --program-transform-na \
1112 | --program-transform-n | --program-transform- \
1113 | --program-transform | --program-transfor \
1114 | --program-transfo | --program-transf \
1115 | --program-trans | --program-tran \
1116 | --progr-tra | --program-tr | --program-t)
1117 ac_prev=program_transform_name ;;
1118 -program-transform-name=* | --program-transform-name=* \
1119 | --program-transform-nam=* | --program-transform-na=* \
1120 | --program-transform-n=* | --program-transform-=* \
1121 | --program-transform=* | --program-transfor=* \
1122 | --program-transfo=* | --program-transf=* \
1123 | --program-trans=* | --program-tran=* \
1124 | --progr-tra=* | --program-tr=* | --program-t=*)
1125 program_transform_name=$ac_optarg ;;
1127 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1129 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1130 pdfdir=$ac_optarg ;;
1132 -psdir | --psdir | --psdi | --psd | --ps)
1134 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1137 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1138 | -silent | --silent | --silen | --sile | --sil)
1141 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1143 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1145 sbindir=$ac_optarg ;;
1147 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1148 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1149 | --sharedst | --shareds | --shared | --share | --shar \
1151 ac_prev=sharedstatedir ;;
1152 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1153 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1154 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1156 sharedstatedir=$ac_optarg ;;
1158 -site | --site | --sit)
1160 -site=* | --site=* | --sit=*)
1163 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1165 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1166 srcdir=$ac_optarg ;;
1168 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1169 | --syscon | --sysco | --sysc | --sys | --sy)
1170 ac_prev=sysconfdir ;;
1171 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1172 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1173 sysconfdir=$ac_optarg ;;
1175 -target | --target | --targe | --targ | --tar | --ta | --t)
1176 ac_prev=target_alias ;;
1177 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1178 target_alias=$ac_optarg ;;
1180 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1183 -version | --version | --versio | --versi | --vers | -V)
1184 ac_init_version=: ;;
1187 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1188 # Reject names that are not valid shell variable names.
1189 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1190 as_fn_error $? "invalid package name: $ac_useropt"
1191 ac_useropt_orig=$ac_useropt
1192 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1193 case $ac_user_opts in
1197 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1198 ac_unrecognized_sep=', ';;
1200 eval with_$ac_useropt=\$ac_optarg ;;
1202 -without-* | --without-*)
1203 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1204 # Reject names that are not valid shell variable names.
1205 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1206 as_fn_error $? "invalid package name: $ac_useropt"
1207 ac_useropt_orig=$ac_useropt
1208 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1209 case $ac_user_opts in
1213 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1214 ac_unrecognized_sep=', ';;
1216 eval with_$ac_useropt=no ;;
1219 # Obsolete; use --with-x.
1222 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1223 | --x-incl | --x-inc | --x-in | --x-i)
1224 ac_prev=x_includes ;;
1225 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1226 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1227 x_includes=$ac_optarg ;;
1229 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1230 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1231 ac_prev=x_libraries ;;
1232 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1233 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1234 x_libraries=$ac_optarg ;;
1236 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1237 Try \`$0 --help' for more information"
1241 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1242 # Reject names that are not valid shell variable names.
1243 case $ac_envvar in #(
1244 '' | [0-9]* | *[!_$as_cr_alnum]* )
1245 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1247 eval $ac_envvar=\$ac_optarg
1248 export $ac_envvar ;;
1251 # FIXME: should be removed in autoconf 3.0.
1252 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1253 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1254 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1255 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1261 if test -n "$ac_prev"; then
1262 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1263 as_fn_error $? "missing argument to $ac_option"
1266 if test -n "$ac_unrecognized_opts"; then
1267 case $enable_option_checking in
1269 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1270 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1274 # Check all directory arguments for consistency.
1275 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1276 datadir sysconfdir sharedstatedir localstatedir includedir \
1277 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1278 libdir localedir mandir
1280 eval ac_val=\$$ac_var
1281 # Remove trailing slashes.
1284 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1285 eval $ac_var=\$ac_val;;
1287 # Be sure to have absolute directory names.
1289 [\\/$]* | ?:[\\/]* ) continue;;
1290 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1292 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1295 # There might be people who depend on the old broken behavior: `$host'
1296 # used to hold the argument of --host etc.
1297 # FIXME: To remove some day.
1300 target=$target_alias
1302 # FIXME: To remove some day.
1303 if test "x$host_alias" != x; then
1304 if test "x$build_alias" = x; then
1305 cross_compiling=maybe
1306 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1307 If a cross compiler is detected then cross compile mode will be used" >&2
1308 elif test "x$build_alias" != "x$host_alias"; then
1314 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1316 test "$silent" = yes && exec 6>/dev/null
1319 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1320 ac_ls_di=`ls -di .` &&
1321 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1322 as_fn_error $? "working directory cannot be determined"
1323 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1324 as_fn_error $? "pwd does not report name of working directory"
1327 # Find the source files, if location was not specified.
1328 if test -z "$srcdir"; then
1329 ac_srcdir_defaulted=yes
1330 # Try the directory containing this script, then the parent directory.
1331 ac_confdir=`$as_dirname -- "$as_myself" ||
1332 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1333 X"$as_myself" : 'X\(//\)[^/]' \| \
1334 X"$as_myself" : 'X\(//\)$' \| \
1335 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1336 $as_echo X"$as_myself" |
1337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1355 if test ! -r "$srcdir/$ac_unique_file"; then
1359 ac_srcdir_defaulted=no
1361 if test ! -r "$srcdir/$ac_unique_file"; then
1362 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1363 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1365 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1367 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1369 # When building in place, set srcdir=.
1370 if test "$ac_abs_confdir" = "$ac_pwd"; then
1373 # Remove unnecessary trailing slashes from srcdir.
1374 # Double slashes in file names in object file debugging info
1375 # mess up M-x gdb in Emacs.
1377 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1379 for ac_var in $ac_precious_vars; do
1380 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1381 eval ac_env_${ac_var}_value=\$${ac_var}
1382 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1383 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1387 # Report the --help message.
1389 if test "$ac_init_help" = "long"; then
1390 # Omit some internal or obsolete options to make the list less imposing.
1391 # This message is too long to be a string in the A/UX 3.1 sh.
1393 \`configure' configures nlfaultinjection g249f564 to adapt to many kinds of systems.
1395 Usage: $0 [OPTION]... [VAR=VALUE]...
1397 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1398 VAR=VALUE. See below for descriptions of some of the useful variables.
1400 Defaults for the options are specified in brackets.
1403 -h, --help display this help and exit
1404 --help=short display options specific to this package
1405 --help=recursive display the short help of all the included packages
1406 -V, --version display version information and exit
1407 -q, --quiet, --silent do not print \`checking ...' messages
1408 --cache-file=FILE cache test results in FILE [disabled]
1409 -C, --config-cache alias for \`--cache-file=config.cache'
1410 -n, --no-create do not create output files
1411 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1413 Installation directories:
1414 --prefix=PREFIX install architecture-independent files in PREFIX
1415 [$ac_default_prefix]
1416 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1419 By default, \`make install' will install all the files in
1420 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1421 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1422 for instance \`--prefix=\$HOME'.
1424 For better control, use the options below.
1426 Fine tuning of the installation directories:
1427 --bindir=DIR user executables [EPREFIX/bin]
1428 --sbindir=DIR system admin executables [EPREFIX/sbin]
1429 --libexecdir=DIR program executables [EPREFIX/libexec]
1430 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1431 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1432 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1433 --libdir=DIR object code libraries [EPREFIX/lib]
1434 --includedir=DIR C header files [PREFIX/include]
1435 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1436 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1437 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1438 --infodir=DIR info documentation [DATAROOTDIR/info]
1439 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1440 --mandir=DIR man documentation [DATAROOTDIR/man]
1441 --docdir=DIR documentation root
1442 [DATAROOTDIR/doc/nlfaultinjection]
1443 --htmldir=DIR html documentation [DOCDIR]
1444 --dvidir=DIR dvi documentation [DOCDIR]
1445 --pdfdir=DIR pdf documentation [DOCDIR]
1446 --psdir=DIR ps documentation [DOCDIR]
1452 --program-prefix=PREFIX prepend PREFIX to installed program names
1453 --program-suffix=SUFFIX append SUFFIX to installed program names
1454 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1457 --build=BUILD configure for building on BUILD [guessed]
1458 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1459 --target=TARGET configure for building compilers for TARGET [HOST]
1463 if test -n "$ac_init_help"; then
1464 case $ac_init_help in
1465 short | recursive ) echo "Configuration of nlfaultinjection g249f564:";;
1470 --disable-option-checking ignore unrecognized --enable/--with options
1471 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1472 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1473 --enable-silent-rules less verbose build output (undo: "make V=1")
1474 --disable-silent-rules verbose build output (undo: "make V=0")
1475 --enable-maintainer-mode
1476 enable make rules and dependencies not useful (and
1477 sometimes confusing) to the casual installer
1478 --enable-dependency-tracking
1479 do not reject slow dependency extractors
1480 --disable-dependency-tracking
1481 speeds up one-time build
1482 --enable-shared[=PKGS] build shared libraries [default=yes]
1483 --enable-static[=PKGS] build static libraries [default=yes]
1484 --enable-fast-install[=PKGS]
1485 optimize for fast installation [default=yes]
1486 --disable-libtool-lock avoid locking (might break parallel builds)
1487 --enable-debug Enable the generation of debug instances
1489 --enable-coverage Enable the generation of code-coverage instances
1491 --enable-coverage-reports
1492 Enable the generation of code coverage reports
1493 (requires lcov) [default=auto].
1494 --enable-optimization Enable the generation of code-optimized instances
1496 --enable-tests Enable building of tests [default=yes].
1497 --disable-docs Enable building documentation (requires Doxygen)
1501 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1502 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1503 --with-target-style=TARGET
1504 Specify the target style from one of: auto, embedded
1505 or unix [default=auto].
1506 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1508 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1509 --with-sysroot=DIR Search for dependent libraries within DIR
1510 (or the compiler's sysroot if not specified).
1511 --with-nlassert=DIR Specify location of the required Nlassert headers
1512 and libraries [default=internal].
1513 --with-nlassert-includes=DIR
1514 Specify location of required Nlassert headers
1516 --with-nlassert-libs=DIR
1517 Specify location of required Nlassert libraries
1519 --with-nlunit_test=DIR Specify location of the required Nlunit-test headers
1520 and libraries [default=internal].
1521 --with-nlunit_test-includes=DIR
1522 Specify location of required Nlunit-test headers
1524 --with-nlunit_test-libs=DIR
1525 Specify location of required Nlunit-test libraries
1528 Some influential environment variables:
1529 CC C compiler command
1530 CFLAGS C compiler flags
1531 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1532 nonstandard directory <lib dir>
1533 LIBS libraries to pass to the linker, e.g. -l<library>
1534 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1535 you have headers in a nonstandard directory <include dir>
1537 CXX C++ compiler command
1538 CXXFLAGS C++ compiler flags
1539 CXXCPP C++ preprocessor
1540 DOXYGEN Doxygen executable
1541 DOT GraphViz 'dot' executable, which may be used, when present, to
1542 generate Doxygen class graphs
1544 Nlassert C preprocessor flags
1546 Nlassert linker flags
1548 Nlassert linker libraries
1549 NLUNIT_TEST_CPPFLAGS
1550 Nlunit-test C preprocessor flags
1552 Nlunit-test linker flags
1554 Nlunit-test linker libraries
1556 Use these variables to override the choices made by `configure' or to help
1557 it to find libraries and programs with nonstandard names/locations.
1559 Report bugs to <nlfaultinjection-users@google.com>.
1560 nlfaultinjection home page: <https://github.com/nestlabs/nlfaultinjection/>.
1565 if test "$ac_init_help" = "recursive"; then
1566 # If there are subdirs, report their specific --help.
1567 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1568 test -d "$ac_dir" ||
1569 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1574 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1576 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1577 # A ".." for each directory in $ac_dir_suffix.
1578 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1579 case $ac_top_builddir_sub in
1580 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1581 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1584 ac_abs_top_builddir=$ac_pwd
1585 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1586 # for backward compatibility:
1587 ac_top_builddir=$ac_top_build_prefix
1590 .) # We are building in place.
1592 ac_top_srcdir=$ac_top_builddir_sub
1593 ac_abs_top_srcdir=$ac_pwd ;;
1594 [\\/]* | ?:[\\/]* ) # Absolute name.
1595 ac_srcdir=$srcdir$ac_dir_suffix;
1596 ac_top_srcdir=$srcdir
1597 ac_abs_top_srcdir=$srcdir ;;
1599 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1600 ac_top_srcdir=$ac_top_build_prefix$srcdir
1601 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1603 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1605 cd "$ac_dir" || { ac_status=$?; continue; }
1606 # Check for guested configure.
1607 if test -f "$ac_srcdir/configure.gnu"; then
1609 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1610 elif test -f "$ac_srcdir/configure"; then
1612 $SHELL "$ac_srcdir/configure" --help=recursive
1614 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1616 cd "$ac_pwd" || { ac_status=$?; break; }
1620 test -n "$ac_init_help" && exit $ac_status
1621 if $ac_init_version; then
1623 nlfaultinjection configure g249f564
1624 generated by GNU Autoconf 2.68
1626 Copyright (C) 2010 Free Software Foundation, Inc.
1627 This configure script is free software; the Free Software Foundation
1628 gives unlimited permission to copy, distribute and modify it.
1633 ## ------------------------ ##
1634 ## Autoconf initialization. ##
1635 ## ------------------------ ##
1637 # ac_fn_c_try_compile LINENO
1638 # --------------------------
1639 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1640 ac_fn_c_try_compile ()
1642 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1643 rm -f conftest.$ac_objext
1644 if { { ac_try="$ac_compile"
1646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1647 *) ac_try_echo=$ac_try;;
1649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1650 $as_echo "$ac_try_echo"; } >&5
1651 (eval "$ac_compile") 2>conftest.err
1653 if test -s conftest.err; then
1654 grep -v '^ *+' conftest.err >conftest.er1
1655 cat conftest.er1 >&5
1656 mv -f conftest.er1 conftest.err
1658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1659 test $ac_status = 0; } && {
1660 test -z "$ac_c_werror_flag" ||
1661 test ! -s conftest.err
1662 } && test -s conftest.$ac_objext; then :
1665 $as_echo "$as_me: failed program was:" >&5
1666 sed 's/^/| /' conftest.$ac_ext >&5
1670 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1671 as_fn_set_status $ac_retval
1673 } # ac_fn_c_try_compile
1675 # ac_fn_c_try_cpp LINENO
1676 # ----------------------
1677 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1680 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1681 if { { ac_try="$ac_cpp conftest.$ac_ext"
1683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1684 *) ac_try_echo=$ac_try;;
1686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1687 $as_echo "$ac_try_echo"; } >&5
1688 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1690 if test -s conftest.err; then
1691 grep -v '^ *+' conftest.err >conftest.er1
1692 cat conftest.er1 >&5
1693 mv -f conftest.er1 conftest.err
1695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1696 test $ac_status = 0; } > conftest.i && {
1697 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1698 test ! -s conftest.err
1702 $as_echo "$as_me: failed program was:" >&5
1703 sed 's/^/| /' conftest.$ac_ext >&5
1707 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1708 as_fn_set_status $ac_retval
1712 # ac_fn_cxx_try_compile LINENO
1713 # ----------------------------
1714 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1715 ac_fn_cxx_try_compile ()
1717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1718 rm -f conftest.$ac_objext
1719 if { { ac_try="$ac_compile"
1721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722 *) ac_try_echo=$ac_try;;
1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726 (eval "$ac_compile") 2>conftest.err
1728 if test -s conftest.err; then
1729 grep -v '^ *+' conftest.err >conftest.er1
1730 cat conftest.er1 >&5
1731 mv -f conftest.er1 conftest.err
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 test $ac_status = 0; } && {
1735 test -z "$ac_cxx_werror_flag" ||
1736 test ! -s conftest.err
1737 } && test -s conftest.$ac_objext; then :
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.$ac_ext >&5
1745 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1746 as_fn_set_status $ac_retval
1748 } # ac_fn_cxx_try_compile
1750 # ac_fn_cxx_try_cpp LINENO
1751 # ------------------------
1752 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1753 ac_fn_cxx_try_cpp ()
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 if { { ac_try="$ac_cpp conftest.$ac_ext"
1758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759 *) ac_try_echo=$ac_try;;
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1765 if test -s conftest.err; then
1766 grep -v '^ *+' conftest.err >conftest.er1
1767 cat conftest.er1 >&5
1768 mv -f conftest.er1 conftest.err
1770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771 test $ac_status = 0; } > conftest.i && {
1772 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1773 test ! -s conftest.err
1777 $as_echo "$as_me: failed program was:" >&5
1778 sed 's/^/| /' conftest.$ac_ext >&5
1782 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1783 as_fn_set_status $ac_retval
1785 } # ac_fn_cxx_try_cpp
1787 # ac_fn_c_try_link LINENO
1788 # -----------------------
1789 # Try to link conftest.$ac_ext, and return whether this succeeded.
1792 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793 rm -f conftest.$ac_objext conftest$ac_exeext
1794 if { { ac_try="$ac_link"
1796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1797 *) ac_try_echo=$ac_try;;
1799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1800 $as_echo "$ac_try_echo"; } >&5
1801 (eval "$ac_link") 2>conftest.err
1803 if test -s conftest.err; then
1804 grep -v '^ *+' conftest.err >conftest.er1
1805 cat conftest.er1 >&5
1806 mv -f conftest.er1 conftest.err
1808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809 test $ac_status = 0; } && {
1810 test -z "$ac_c_werror_flag" ||
1811 test ! -s conftest.err
1812 } && test -s conftest$ac_exeext && {
1813 test "$cross_compiling" = yes ||
1814 $as_test_x conftest$ac_exeext
1818 $as_echo "$as_me: failed program was:" >&5
1819 sed 's/^/| /' conftest.$ac_ext >&5
1823 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1824 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1825 # interfere with the next link command; also delete a directory that is
1826 # left behind by Apple's compiler. We do this before executing the actions.
1827 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1828 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1829 as_fn_set_status $ac_retval
1831 } # ac_fn_c_try_link
1833 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1834 # -------------------------------------------------------
1835 # Tests whether HEADER exists and can be compiled using the include files in
1836 # INCLUDES, setting the cache variable VAR accordingly.
1837 ac_fn_c_check_header_compile ()
1839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1841 $as_echo_n "checking for $2... " >&6; }
1842 if eval \${$3+:} false; then :
1843 $as_echo_n "(cached) " >&6
1845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1846 /* end confdefs.h. */
1850 if ac_fn_c_try_compile "$LINENO"; then :
1855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1859 $as_echo "$ac_res" >&6; }
1860 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1862 } # ac_fn_c_check_header_compile
1864 # ac_fn_c_try_run LINENO
1865 # ----------------------
1866 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1867 # that executables *can* be run.
1870 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1871 if { { ac_try="$ac_link"
1873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1874 *) ac_try_echo=$ac_try;;
1876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1877 $as_echo "$ac_try_echo"; } >&5
1878 (eval "$ac_link") 2>&5
1880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1881 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1882 { { case "(($ac_try" in
1883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1884 *) ac_try_echo=$ac_try;;
1886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1887 $as_echo "$ac_try_echo"; } >&5
1888 (eval "$ac_try") 2>&5
1890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1891 test $ac_status = 0; }; }; then :
1894 $as_echo "$as_me: program exited with status $ac_status" >&5
1895 $as_echo "$as_me: failed program was:" >&5
1896 sed 's/^/| /' conftest.$ac_ext >&5
1898 ac_retval=$ac_status
1900 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1901 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1902 as_fn_set_status $ac_retval
1906 # ac_fn_c_check_func LINENO FUNC VAR
1907 # ----------------------------------
1908 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1909 ac_fn_c_check_func ()
1911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1913 $as_echo_n "checking for $2... " >&6; }
1914 if eval \${$3+:} false; then :
1915 $as_echo_n "(cached) " >&6
1917 if test x$ac_no_link = xyes; then
1918 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
1920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1921 /* end confdefs.h. */
1922 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1924 #define $2 innocuous_$2
1926 /* System header to define __stub macros and hopefully few prototypes,
1927 which can conflict with char $2 (); below.
1928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1929 <limits.h> exists even on freestanding compilers. */
1932 # include <limits.h>
1934 # include <assert.h>
1939 /* Override any GCC internal prototype to avoid an error.
1940 Use char because int might match the return type of a GCC
1941 builtin and then its argument prototype would still apply. */
1946 /* The GNU C library defines this for functions which it implements
1947 to always fail with ENOSYS. Some functions are actually named
1948 something starting with __ and the normal name is an alias. */
1949 #if defined __stub_$2 || defined __stub___$2
1961 if ac_fn_c_try_link "$LINENO"; then :
1966 rm -f core conftest.err conftest.$ac_objext \
1967 conftest$ac_exeext conftest.$ac_ext
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1971 $as_echo "$ac_res" >&6; }
1972 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1974 } # ac_fn_c_check_func
1976 # ac_fn_cxx_try_link LINENO
1977 # -------------------------
1978 # Try to link conftest.$ac_ext, and return whether this succeeded.
1979 ac_fn_cxx_try_link ()
1981 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982 rm -f conftest.$ac_objext conftest$ac_exeext
1983 if { { ac_try="$ac_link"
1985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1986 *) ac_try_echo=$ac_try;;
1988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1989 $as_echo "$ac_try_echo"; } >&5
1990 (eval "$ac_link") 2>conftest.err
1992 if test -s conftest.err; then
1993 grep -v '^ *+' conftest.err >conftest.er1
1994 cat conftest.er1 >&5
1995 mv -f conftest.er1 conftest.err
1997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1998 test $ac_status = 0; } && {
1999 test -z "$ac_cxx_werror_flag" ||
2000 test ! -s conftest.err
2001 } && test -s conftest$ac_exeext && {
2002 test "$cross_compiling" = yes ||
2003 $as_test_x conftest$ac_exeext
2007 $as_echo "$as_me: failed program was:" >&5
2008 sed 's/^/| /' conftest.$ac_ext >&5
2012 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2013 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2014 # interfere with the next link command; also delete a directory that is
2015 # left behind by Apple's compiler. We do this before executing the actions.
2016 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2017 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2018 as_fn_set_status $ac_retval
2020 } # ac_fn_cxx_try_link
2022 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2023 # -------------------------------------------------------
2024 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2025 # the include files in INCLUDES and setting the cache variable VAR
2027 ac_fn_c_check_header_mongrel ()
2029 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2030 if eval \${$3+:} false; then :
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2032 $as_echo_n "checking for $2... " >&6; }
2033 if eval \${$3+:} false; then :
2034 $as_echo_n "(cached) " >&6
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2038 $as_echo "$ac_res" >&6; }
2040 # Is the header compilable?
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2042 $as_echo_n "checking $2 usability... " >&6; }
2043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2044 /* end confdefs.h. */
2048 if ac_fn_c_try_compile "$LINENO"; then :
2049 ac_header_compiler=yes
2051 ac_header_compiler=no
2053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2055 $as_echo "$ac_header_compiler" >&6; }
2057 # Is the header present?
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2059 $as_echo_n "checking $2 presence... " >&6; }
2060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2061 /* end confdefs.h. */
2064 if ac_fn_c_try_cpp "$LINENO"; then :
2065 ac_header_preproc=yes
2067 ac_header_preproc=no
2069 rm -f conftest.err conftest.i conftest.$ac_ext
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2071 $as_echo "$ac_header_preproc" >&6; }
2073 # So? What about this header?
2074 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2077 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2079 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2083 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2085 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2087 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2089 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2091 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2092 ( $as_echo "## ------------------------------------------------ ##
2093 ## Report this to nlfaultinjection-users@google.com ##
2094 ## ------------------------------------------------ ##"
2095 ) | sed "s/^/$as_me: WARNING: /" >&2
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2099 $as_echo_n "checking for $2... " >&6; }
2100 if eval \${$3+:} false; then :
2101 $as_echo_n "(cached) " >&6
2103 eval "$3=\$ac_header_compiler"
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2107 $as_echo "$ac_res" >&6; }
2109 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2111 } # ac_fn_c_check_header_mongrel
2113 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2114 # -------------------------------------------
2115 # Tests whether TYPE exists after having included INCLUDES, setting cache
2116 # variable VAR accordingly.
2117 ac_fn_c_check_type ()
2119 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2121 $as_echo_n "checking for $2... " >&6; }
2122 if eval \${$3+:} false; then :
2123 $as_echo_n "(cached) " >&6
2126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2127 /* end confdefs.h. */
2138 if ac_fn_c_try_compile "$LINENO"; then :
2139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2140 /* end confdefs.h. */
2151 if ac_fn_c_try_compile "$LINENO"; then :
2156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2162 $as_echo "$ac_res" >&6; }
2163 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2165 } # ac_fn_c_check_type
2167 # ac_fn_c_find_intX_t LINENO BITS VAR
2168 # -----------------------------------
2169 # Finds a signed integer type with width BITS, setting cache variable VAR
2171 ac_fn_c_find_intX_t ()
2173 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
2175 $as_echo_n "checking for int$2_t... " >&6; }
2176 if eval \${$3+:} false; then :
2177 $as_echo_n "(cached) " >&6
2180 # Order is important - never check a type that is potentially smaller
2181 # than half of the expected target width.
2182 for ac_type in int$2_t 'int' 'long int' \
2183 'long long int' 'short int' 'signed char'; do
2184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2185 /* end confdefs.h. */
2186 $ac_includes_default
2187 enum { N = $2 / 2 - 1 };
2191 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
2198 if ac_fn_c_try_compile "$LINENO"; then :
2199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2200 /* end confdefs.h. */
2201 $ac_includes_default
2202 enum { N = $2 / 2 - 1 };
2206 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
2207 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
2214 if ac_fn_c_try_compile "$LINENO"; then :
2221 eval "$3=\$ac_type" ;;
2224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2227 if eval test \"x\$"$3"\" = x"no"; then :
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2236 $as_echo "$ac_res" >&6; }
2237 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2239 } # ac_fn_c_find_intX_t
2241 # ac_fn_c_find_uintX_t LINENO BITS VAR
2242 # ------------------------------------
2243 # Finds an unsigned integer type with width BITS, setting cache variable VAR
2245 ac_fn_c_find_uintX_t ()
2247 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2249 $as_echo_n "checking for uint$2_t... " >&6; }
2250 if eval \${$3+:} false; then :
2251 $as_echo_n "(cached) " >&6
2254 # Order is important - never check a type that is potentially smaller
2255 # than half of the expected target width.
2256 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2257 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2259 /* end confdefs.h. */
2260 $ac_includes_default
2264 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2271 if ac_fn_c_try_compile "$LINENO"; then :
2276 eval "$3=\$ac_type" ;;
2279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2280 if eval test \"x\$"$3"\" = x"no"; then :
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2289 $as_echo "$ac_res" >&6; }
2290 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2292 } # ac_fn_c_find_uintX_t
2293 cat >config.log <<_ACEOF
2294 This file contains any messages produced by compilers while
2295 running configure, to aid debugging if configure makes a mistake.
2297 It was created by nlfaultinjection $as_me g249f564, which was
2298 generated by GNU Autoconf 2.68. Invocation command line was
2310 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2311 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2312 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2313 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2314 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2316 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2317 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2319 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2320 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2321 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2322 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2323 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2324 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2325 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2333 test -z "$as_dir" && as_dir=.
2334 $as_echo "PATH: $as_dir"
2350 # Keep a trace of the command line.
2351 # Strip out --no-create and --no-recursion so they do not pile up.
2352 # Strip out --silent because we don't want to record it for future runs.
2353 # Also quote any args containing shell meta-characters.
2354 # Make two passes to allow for proper duplicate-argument suppression.
2358 ac_must_keep_next=false
2364 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2365 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2366 | -silent | --silent | --silen | --sile | --sil)
2369 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2372 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2374 as_fn_append ac_configure_args1 " '$ac_arg'"
2375 if test $ac_must_keep_next = true; then
2376 ac_must_keep_next=false # Got value, back to normal.
2379 *=* | --config-cache | -C | -disable-* | --disable-* \
2380 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2381 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2382 | -with-* | --with-* | -without-* | --without-* | --x)
2383 case "$ac_configure_args0 " in
2384 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2387 -* ) ac_must_keep_next=true ;;
2390 as_fn_append ac_configure_args " '$ac_arg'"
2395 { ac_configure_args0=; unset ac_configure_args0;}
2396 { ac_configure_args1=; unset ac_configure_args1;}
2398 # When interrupted or exit'd, cleanup temporary files, and complete
2399 # config.log. We remove comments because anyway the quotes in there
2400 # would cause problems or look ugly.
2401 # WARNING: Use '\'' to represent an apostrophe within the trap.
2402 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2403 trap 'exit_status=$?
2404 # Save into config.log some information that might help in debugging.
2408 $as_echo "## ---------------- ##
2409 ## Cache variables. ##
2410 ## ---------------- ##"
2412 # The following way of writing the cache mishandles newlines in values,
2414 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2415 eval ac_val=\$$ac_var
2419 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2420 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2423 _ | IFS | as_nl) ;; #(
2424 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2425 *) { eval $ac_var=; unset $ac_var;} ;;
2430 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2431 *${as_nl}ac_space=\ *)
2433 "s/'\''/'\''\\\\'\'''\''/g;
2434 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2437 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2444 $as_echo "## ----------------- ##
2445 ## Output variables. ##
2446 ## ----------------- ##"
2448 for ac_var in $ac_subst_vars
2450 eval ac_val=\$$ac_var
2452 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2454 $as_echo "$ac_var='\''$ac_val'\''"
2458 if test -n "$ac_subst_files"; then
2459 $as_echo "## ------------------- ##
2460 ## File substitutions. ##
2461 ## ------------------- ##"
2463 for ac_var in $ac_subst_files
2465 eval ac_val=\$$ac_var
2467 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2469 $as_echo "$ac_var='\''$ac_val'\''"
2474 if test -s confdefs.h; then
2475 $as_echo "## ----------- ##
2482 test "$ac_signal" != 0 &&
2483 $as_echo "$as_me: caught signal $ac_signal"
2484 $as_echo "$as_me: exit $exit_status"
2486 rm -f core *.core core.conftest.* &&
2487 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2490 for ac_signal in 1 2 13 15; do
2491 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2495 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2496 rm -f -r conftest* confdefs.h
2498 $as_echo "/* confdefs.h */" > confdefs.h
2500 # Predefined preprocessor variables.
2502 cat >>confdefs.h <<_ACEOF
2503 #define PACKAGE_NAME "$PACKAGE_NAME"
2506 cat >>confdefs.h <<_ACEOF
2507 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2510 cat >>confdefs.h <<_ACEOF
2511 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2514 cat >>confdefs.h <<_ACEOF
2515 #define PACKAGE_STRING "$PACKAGE_STRING"
2518 cat >>confdefs.h <<_ACEOF
2519 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2522 cat >>confdefs.h <<_ACEOF
2523 #define PACKAGE_URL "$PACKAGE_URL"
2527 # Let the site file select an alternate cache file if it wants to.
2528 # Prefer an explicitly selected file to automatically selected ones.
2531 if test -n "$CONFIG_SITE"; then
2532 # We do not want a PATH search for config.site.
2533 case $CONFIG_SITE in #((
2534 -*) ac_site_file1=./$CONFIG_SITE;;
2535 */*) ac_site_file1=$CONFIG_SITE;;
2536 *) ac_site_file1=./$CONFIG_SITE;;
2538 elif test "x$prefix" != xNONE; then
2539 ac_site_file1=$prefix/share/config.site
2540 ac_site_file2=$prefix/etc/config.site
2542 ac_site_file1=$ac_default_prefix/share/config.site
2543 ac_site_file2=$ac_default_prefix/etc/config.site
2545 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2547 test "x$ac_site_file" = xNONE && continue
2548 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2550 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2551 sed 's/^/| /' "$ac_site_file" >&5
2553 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2555 as_fn_error $? "failed to load site script $ac_site_file
2556 See \`config.log' for more details" "$LINENO" 5; }
2560 if test -r "$cache_file"; then
2561 # Some versions of bash will fail to source /dev/null (special files
2562 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2563 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2565 $as_echo "$as_me: loading cache $cache_file" >&6;}
2567 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2568 *) . "./$cache_file";;
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2573 $as_echo "$as_me: creating cache $cache_file" >&6;}
2577 # Check that the precious variables saved in the cache have kept the same
2579 ac_cache_corrupted=false
2580 for ac_var in $ac_precious_vars; do
2581 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2582 eval ac_new_set=\$ac_env_${ac_var}_set
2583 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2584 eval ac_new_val=\$ac_env_${ac_var}_value
2585 case $ac_old_set,$ac_new_set in
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2588 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2589 ac_cache_corrupted=: ;;
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2592 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2593 ac_cache_corrupted=: ;;
2596 if test "x$ac_old_val" != "x$ac_new_val"; then
2597 # differences in whitespace do not lead to failure.
2598 ac_old_val_w=`echo x $ac_old_val`
2599 ac_new_val_w=`echo x $ac_new_val`
2600 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2602 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2603 ac_cache_corrupted=:
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2606 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2607 eval $ac_var=\$ac_old_val
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2610 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2612 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2615 # Pass precious variables to config.status.
2616 if test "$ac_new_set" = set; then
2618 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2619 *) ac_arg=$ac_var=$ac_new_val ;;
2621 case " $ac_configure_args " in
2622 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2623 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2627 if $ac_cache_corrupted; then
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2629 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2631 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2632 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2634 ## -------------------- ##
2635 ## Main body of script. ##
2636 ## -------------------- ##
2639 ac_cpp='$CPP $CPPFLAGS'
2640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2646 # Tell the rest of the build system the absolute path where the
2647 # nlbuild-autotools repository is rooted at.
2649 nlbuild_autotools_stem=third_party/nlbuild-autotools/repo
2651 abs_top_nlbuild_autotools_dir=\${abs_top_srcdir}/\${nlbuild_autotools_stem}
2655 # nlfaultinjection interface current, revision, and age versions.
2657 # NOTE: At present, NLFAULTINJECTION makes NO ABI compatibility
2658 # commitments. Consequently, these simply serve as documentation
2659 # for how the interfaces have evolved.
2661 # Maintainters: Please manage these fields as follows:
2663 # Interfaces removed: CURRENT++, AGE = 0, REVISION = 0
2664 # Interfaces added: CURRENT++, AGE++, REVISION = 0
2665 # No interfaces changed: REVISION++
2668 LIBNLFAULTINJECTION_VERSION_CURRENT=2
2670 LIBNLFAULTINJECTION_VERSION_AGE=1
2672 LIBNLFAULTINJECTION_VERSION_REVISION=0
2674 LIBNLFAULTINJECTION_VERSION_INFO=${LIBNLFAULTINJECTION_VERSION_CURRENT}:${LIBNLFAULTINJECTION_VERSION_REVISION}:${LIBNLFAULTINJECTION_VERSION_AGE}
2678 # Check the sanity of the source directory by checking for the
2679 # presence of a key watch file
2684 # Tell autoconf where to find auxilliary build tools (e.g. config.guess,
2685 # install-sh, missing, etc.)
2688 for ac_dir in third_party/nlbuild-autotools/repo/third_party/autoconf "$srcdir"/third_party/nlbuild-autotools/repo/third_party/autoconf; do
2689 if test -f "$ac_dir/install-sh"; then
2691 ac_install_sh="$ac_aux_dir/install-sh -c"
2693 elif test -f "$ac_dir/install.sh"; then
2695 ac_install_sh="$ac_aux_dir/install.sh -c"
2697 elif test -f "$ac_dir/shtool"; then
2699 ac_install_sh="$ac_aux_dir/shtool install -c"
2703 if test -z "$ac_aux_dir"; then
2704 as_fn_error $? "cannot find install-sh, install.sh, or shtool in third_party/nlbuild-autotools/repo/third_party/autoconf \"$srcdir\"/third_party/nlbuild-autotools/repo/third_party/autoconf" "$LINENO" 5
2707 # These three variables are undocumented and unsupported,
2708 # and are intended to be withdrawn in a future Autoconf release.
2709 # They can cause serious problems if a builder's source tree is in a directory
2710 # whose full name contains unusual characters.
2711 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2712 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2713 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2718 # Tell autoconf where to find auxilliary M4 macros
2723 # Tell autoconf what file the package is using to aggregate C preprocessor
2726 ac_config_headers="$ac_config_headers include/nlfaultinjection-config.h"
2730 # Figure out what the canonical build, host and target tuples are.
2732 # Make sure we can run config.sub.
2733 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2734 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2737 $as_echo_n "checking build system type... " >&6; }
2738 if ${ac_cv_build+:} false; then :
2739 $as_echo_n "(cached) " >&6
2741 ac_build_alias=$build_alias
2742 test "x$ac_build_alias" = x &&
2743 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2744 test "x$ac_build_alias" = x &&
2745 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2746 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2747 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2751 $as_echo "$ac_cv_build" >&6; }
2752 case $ac_cv_build in
2754 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2757 ac_save_IFS=$IFS; IFS='-'
2763 # Remember, the first character of IFS is used to create $*,
2764 # except with old shells:
2767 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2771 $as_echo_n "checking host system type... " >&6; }
2772 if ${ac_cv_host+:} false; then :
2773 $as_echo_n "(cached) " >&6
2775 if test "x$host_alias" = x; then
2776 ac_cv_host=$ac_cv_build
2778 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2779 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2784 $as_echo "$ac_cv_host" >&6; }
2787 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2790 ac_save_IFS=$IFS; IFS='-'
2796 # Remember, the first character of IFS is used to create $*,
2797 # except with old shells:
2800 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2804 $as_echo_n "checking target system type... " >&6; }
2805 if ${ac_cv_target+:} false; then :
2806 $as_echo_n "(cached) " >&6
2808 if test "x$target_alias" = x; then
2809 ac_cv_target=$ac_cv_host
2811 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2812 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2817 $as_echo "$ac_cv_target" >&6; }
2818 case $ac_cv_target in
2820 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2822 target=$ac_cv_target
2823 ac_save_IFS=$IFS; IFS='-'
2829 # Remember, the first character of IFS is used to create $*,
2830 # except with old shells:
2833 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2836 # The aliases save the names the user supplied, while $host etc.
2837 # will get canonicalized.
2838 test -n "$target_alias" &&
2839 test "$program_prefix$program_suffix$program_transform_name" = \
2841 program_prefix=${target_alias}-
2844 # Mac OS X / Darwin ends up putting some versioning cruft on the end of its
2845 # tuple that we don't care about in this script. Create "clean" variables
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking filtered build system type" >&5
2853 $as_echo_n "checking filtered build system type... " >&6; }
2854 if ${nl_cv_filtered_build+:} false; then :
2855 $as_echo_n "(cached) " >&6
2857 nl_cv_filtered_build=`echo ${build} | sed -e 's/[[:digit:].]*$//g'`
2858 nl_filtered_build=${nl_cv_filtered_build}
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_filtered_build" >&5
2861 $as_echo "$nl_cv_filtered_build" >&6; }
2864 case ${nl_cv_filtered_build} in
2867 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2871 nl_filtered_build=$nl_cv_filtered_build
2874 nl_save_IFS=$IFS; IFS='-'
2875 set x $nl_cv_filtered_build
2878 nl_filtered_build_cpu=$1
2880 nl_filtered_build_vendor=$2
2884 # Remember, the first character of IFS is used to create $*,
2885 # except with old shells:
2886 nl_filtered_build_os=$*
2889 case nl_filtered_$build_os in
2891 *\ *) nl_filtered_build_os=`echo "$build_os" | sed 's/ /-/g'`;;
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking filtered host system type" >&5
2903 $as_echo_n "checking filtered host system type... " >&6; }
2904 if ${nl_cv_filtered_host+:} false; then :
2905 $as_echo_n "(cached) " >&6
2907 nl_cv_filtered_host=`echo ${host} | sed -e 's/[[:digit:].]*$//g'`
2908 nl_filtered_host=${nl_cv_filtered_host}
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_filtered_host" >&5
2911 $as_echo "$nl_cv_filtered_host" >&6; }
2914 case ${nl_cv_filtered_host} in
2917 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2921 nl_filtered_host=$nl_cv_filtered_host
2924 nl_save_IFS=$IFS; IFS='-'
2925 set x $nl_cv_filtered_host
2928 nl_filtered_host_cpu=$1
2930 nl_filtered_host_vendor=$2
2934 # Remember, the first character of IFS is used to create $*,
2935 # except with old shells:
2936 nl_filtered_host_os=$*
2939 case nl_filtered_$host_os in
2941 *\ *) nl_filtered_host_os=`echo "$host_os" | sed 's/ /-/g'`;;
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking filtered target system type" >&5
2953 $as_echo_n "checking filtered target system type... " >&6; }
2954 if ${nl_cv_filtered_target+:} false; then :
2955 $as_echo_n "(cached) " >&6
2957 nl_cv_filtered_target=`echo ${target} | sed -e 's/[[:digit:].]*$//g'`
2958 nl_filtered_target=${nl_cv_filtered_target}
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_filtered_target" >&5
2961 $as_echo "$nl_cv_filtered_target" >&6; }
2964 case ${nl_cv_filtered_target} in
2967 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2971 nl_filtered_target=$nl_cv_filtered_target
2974 nl_save_IFS=$IFS; IFS='-'
2975 set x $nl_cv_filtered_target
2978 nl_filtered_target_cpu=$1
2980 nl_filtered_target_vendor=$2
2984 # Remember, the first character of IFS is used to create $*,
2985 # except with old shells:
2986 nl_filtered_target_os=$*
2989 case nl_filtered_$target_os in
2991 *\ *) nl_filtered_target_os=`echo "$target_os" | sed 's/ /-/g'`;;
3001 # Configure automake with the desired options, indicating that this is not
3002 # a native GNU package, that we want "silent" build rules, and that we want
3003 # objects built in the same subdirectory as their source rather than collapsed
3004 # together at the top-level directory.
3006 # Disable silent build rules by either passing --disable-silent-rules to
3007 # configure or passing V=1 to make
3009 am__api_version='1.14'
3011 # Find a good install program. We prefer a C program (faster),
3012 # so one script is as good as another. But avoid the broken or
3013 # incompatible versions:
3014 # SysV /etc/install, /usr/sbin/install
3015 # SunOS /usr/etc/install
3016 # IRIX /sbin/install
3018 # AmigaOS /C/install, which installs bootblocks on floppy discs
3019 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3020 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3021 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3022 # OS/2's system install, which has a completely different semantic
3023 # ./install, which can be erroneously created by make from ./install.sh.
3024 # Reject install programs that cannot install multiple files.
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3026 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3027 if test -z "$INSTALL"; then
3028 if ${ac_cv_path_install+:} false; then :
3029 $as_echo_n "(cached) " >&6
3031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3035 test -z "$as_dir" && as_dir=.
3036 # Account for people who put trailing slashes in PATH elements.
3037 case $as_dir/ in #((
3038 ./ | .// | /[cC]/* | \
3039 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3040 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3043 # OSF1 and SCO ODT 3.0 have their own names for install.
3044 # Don't use installbsd from OSF since it installs stuff as root
3046 for ac_prog in ginstall scoinst install; do
3047 for ac_exec_ext in '' $ac_executable_extensions; do
3048 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3049 if test $ac_prog = install &&
3050 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3051 # AIX install. It has an incompatible calling convention.
3053 elif test $ac_prog = install &&
3054 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3055 # program-specific install script used by HP pwplus--don't use.
3058 rm -rf conftest.one conftest.two conftest.dir
3059 echo one > conftest.one
3060 echo two > conftest.two
3062 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3063 test -s conftest.one && test -s conftest.two &&
3064 test -s conftest.dir/conftest.one &&
3065 test -s conftest.dir/conftest.two
3067 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3080 rm -rf conftest.one conftest.two conftest.dir
3083 if test "${ac_cv_path_install+set}" = set; then
3084 INSTALL=$ac_cv_path_install
3086 # As a last resort, use the slow shell script. Don't cache a
3087 # value for INSTALL within a source directory, because that will
3088 # break other packages using the cache if that directory is
3089 # removed, or if the value is a relative name.
3090 INSTALL=$ac_install_sh
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3094 $as_echo "$INSTALL" >&6; }
3096 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3097 # It thinks the first close brace ends the variable substitution.
3098 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3100 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3102 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3105 $as_echo_n "checking whether build environment is sane... " >&6; }
3106 # Reject unsafe characters in $srcdir or the absolute working directory
3107 # name. Accept space and tab only in the latter.
3111 *[\\\"\#\$\&\'\`$am_lf]*)
3112 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3115 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3116 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3119 # Do 'set' in a subshell so we don't clobber the current shell's
3120 # arguments. Must try -L first in case configure is actually a
3121 # symlink; some systems play weird games with the mod time of symlinks
3122 # (eg FreeBSD returns the mod time of the symlink's containing
3126 for am_try in 1 2; do
3127 echo "timestamp, slept: $am_has_slept" > conftest.file
3128 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3129 if test "$*" = "X"; then
3131 set X `ls -t "$srcdir/configure" conftest.file`
3133 if test "$*" != "X $srcdir/configure conftest.file" \
3134 && test "$*" != "X conftest.file $srcdir/configure"; then
3136 # If neither matched, then we have a broken ls. This can happen
3137 # if, for instance, CONFIG_SHELL is bash and it inherits a
3138 # broken ls alias from the environment. This has actually
3139 # happened. Such a system could not be considered "sane".
3140 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3141 alias in your environment" "$LINENO" 5
3143 if test "$2" = conftest.file || test $am_try -eq 2; then
3150 test "$2" = conftest.file
3156 as_fn_error $? "newly created file is older than distributed files!
3157 Check your system clock" "$LINENO" 5
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3160 $as_echo "yes" >&6; }
3161 # If we didn't sleep, we still need to ensure time stamps of config.status and
3162 # generated files are strictly newer.
3164 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3171 test "$program_prefix" != NONE &&
3172 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3173 # Use a double $ so make ignores it.
3174 test "$program_suffix" != NONE &&
3175 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3176 # Double any \ or $.
3177 # By default was `s,x,x', remove it if useless.
3178 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3179 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3181 # expand $ac_aux_dir to an absolute path
3182 am_aux_dir=`cd $ac_aux_dir && pwd`
3184 if test x"${MISSING+set}" != xset; then
3187 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3189 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3192 # Use eval to expand $SHELL
3193 if eval "$MISSING --is-lightweight"; then
3194 am_missing_run="$MISSING "
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3198 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3201 if test x"${install_sh}" != xset; then
3204 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3206 install_sh="\${SHELL} $am_aux_dir/install-sh"
3210 # Installed binaries are usually stripped using 'strip' when the user
3211 # run "make install-strip". However 'strip' might not be the right
3212 # tool to use in cross-compilation environments, therefore Automake
3213 # will honor the 'STRIP' environment variable to overrule this program.
3214 if test "$cross_compiling" != no; then
3215 if test -n "$ac_tool_prefix"; then
3216 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3217 set dummy ${ac_tool_prefix}strip; ac_word=$2
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3219 $as_echo_n "checking for $ac_word... " >&6; }
3220 if ${ac_cv_prog_STRIP+:} false; then :
3221 $as_echo_n "(cached) " >&6
3223 if test -n "$STRIP"; then
3224 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3230 test -z "$as_dir" && as_dir=.
3231 for ac_exec_ext in '' $ac_executable_extensions; do
3232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3233 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3243 STRIP=$ac_cv_prog_STRIP
3244 if test -n "$STRIP"; then
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3246 $as_echo "$STRIP" >&6; }
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3249 $as_echo "no" >&6; }
3254 if test -z "$ac_cv_prog_STRIP"; then
3256 # Extract the first word of "strip", so it can be a program name with args.
3257 set dummy strip; ac_word=$2
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3259 $as_echo_n "checking for $ac_word... " >&6; }
3260 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3261 $as_echo_n "(cached) " >&6
3263 if test -n "$ac_ct_STRIP"; then
3264 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3270 test -z "$as_dir" && as_dir=.
3271 for ac_exec_ext in '' $ac_executable_extensions; do
3272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3273 ac_cv_prog_ac_ct_STRIP="strip"
3274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3283 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3284 if test -n "$ac_ct_STRIP"; then
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3286 $as_echo "$ac_ct_STRIP" >&6; }
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3289 $as_echo "no" >&6; }
3292 if test "x$ac_ct_STRIP" = x; then
3295 case $cross_compiling:$ac_tool_warned in
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3299 ac_tool_warned=yes ;;
3304 STRIP="$ac_cv_prog_STRIP"
3308 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3311 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3312 if test -z "$MKDIR_P"; then
3313 if ${ac_cv_path_mkdir+:} false; then :
3314 $as_echo_n "(cached) " >&6
3316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3317 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3320 test -z "$as_dir" && as_dir=.
3321 for ac_prog in mkdir gmkdir; do
3322 for ac_exec_ext in '' $ac_executable_extensions; do
3323 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3324 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3325 'mkdir (GNU coreutils) '* | \
3326 'mkdir (coreutils) '* | \
3327 'mkdir (fileutils) '4.1*)
3328 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3338 test -d ./--version && rmdir ./--version
3339 if test "${ac_cv_path_mkdir+set}" = set; then
3340 MKDIR_P="$ac_cv_path_mkdir -p"
3342 # As a last resort, use the slow shell script. Don't cache a
3343 # value for MKDIR_P within a source directory, because that will
3344 # break other packages using the cache if that directory is
3345 # removed, or if the value is a relative name.
3346 MKDIR_P="$ac_install_sh -d"
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3350 $as_echo "$MKDIR_P" >&6; }
3352 for ac_prog in gawk mawk nawk awk
3354 # Extract the first word of "$ac_prog", so it can be a program name with args.
3355 set dummy $ac_prog; ac_word=$2
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3357 $as_echo_n "checking for $ac_word... " >&6; }
3358 if ${ac_cv_prog_AWK+:} false; then :
3359 $as_echo_n "(cached) " >&6
3361 if test -n "$AWK"; then
3362 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3368 test -z "$as_dir" && as_dir=.
3369 for ac_exec_ext in '' $ac_executable_extensions; do
3370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3371 ac_cv_prog_AWK="$ac_prog"
3372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3382 if test -n "$AWK"; then
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3384 $as_echo "$AWK" >&6; }
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3387 $as_echo "no" >&6; }
3391 test -n "$AWK" && break
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3395 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3397 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3398 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3399 $as_echo_n "(cached) " >&6
3401 cat >conftest.make <<\_ACEOF
3404 @echo '@@@%%%=$(MAKE)=@@@%%%'
3406 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3407 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3409 eval ac_cv_prog_make_${ac_make}_set=yes;;
3411 eval ac_cv_prog_make_${ac_make}_set=no;;
3415 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3417 $as_echo "yes" >&6; }
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3421 $as_echo "no" >&6; }
3422 SET_MAKE="MAKE=${MAKE-make}"
3425 rm -rf .tst 2>/dev/null
3426 mkdir .tst 2>/dev/null
3427 if test -d .tst; then
3432 rmdir .tst 2>/dev/null
3434 # Check whether --enable-silent-rules was given.
3435 if test "${enable_silent_rules+set}" = set; then :
3436 enableval=$enable_silent_rules;
3439 case $enable_silent_rules in # (((
3440 yes) AM_DEFAULT_VERBOSITY=0;;
3441 no) AM_DEFAULT_VERBOSITY=1;;
3442 *) AM_DEFAULT_VERBOSITY=1;;
3444 am_make=${MAKE-make}
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3446 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3447 if ${am_cv_make_support_nested_variables+:} false; then :
3448 $as_echo_n "(cached) " >&6
3450 if $as_echo 'TRUE=$(BAR$(V))
3456 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3457 am_cv_make_support_nested_variables=yes
3459 am_cv_make_support_nested_variables=no
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3463 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3464 if test $am_cv_make_support_nested_variables = yes; then
3466 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3468 AM_V=$AM_DEFAULT_VERBOSITY
3469 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3473 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3474 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3475 # is not polluted with repeated "-I."
3476 am__isrc=' -I$(srcdir)'
3477 # test to see if srcdir already configured
3478 if test -f $srcdir/config.status; then
3479 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3483 # test whether we have cygpath
3484 if test -z "$CYGPATH_W"; then
3485 if (cygpath --version) >/dev/null 2>/dev/null; then
3486 CYGPATH_W='cygpath -w'
3493 # Define the identity of the package.
3494 PACKAGE='nlfaultinjection'
3498 cat >>confdefs.h <<_ACEOF
3499 #define PACKAGE "$PACKAGE"
3503 cat >>confdefs.h <<_ACEOF
3504 #define VERSION "$VERSION"
3507 # Some tools Automake needs.
3509 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3512 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3515 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3518 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3521 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3523 # For better backward compatibility. To be removed once Automake 1.9.x
3524 # dies out for good. For more background, see:
3525 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3526 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3527 mkdir_p='$(MKDIR_P)'
3529 # We need awk for the "check" target. The system "awk" is bad on
3531 # Always define AMTAR for backward compatibility. Yes, it's still used
3532 # in the wild :-( We should find a proper way to deprecate it ...
3536 # We'll loop over all known methods to create a tar archive until one works.
3537 _am_tools='gnutar pax cpio none'
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
3542 $as_echo_n "checking how to create a pax tar archive... " >&6; }
3544 # Go ahead even if we have the value already cached. We do so because we
3545 # need to set the values for the 'am__tar' and 'am__untar' variables.
3546 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
3548 for _am_tool in $_am_tools; do
3551 for _am_tar in tar gnutar gtar; do
3552 { echo "$as_me:$LINENO: $_am_tar --version" >&5
3553 ($_am_tar --version) >&5 2>&5
3555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3556 (exit $ac_status); } && break
3558 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
3559 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
3560 am__untar="$_am_tar -xf -"
3563 # Must skip GNU tar: if it does not support --format= it doesn't create
3564 # ustar tarball either.
3565 (tar --version) >/dev/null 2>&1 && continue
3566 am__tar='tar chf - "$$tardir"'
3567 am__tar_='tar chf - "$tardir"'
3568 am__untar='tar xf -'
3571 am__tar='pax -L -x pax -w "$$tardir"'
3572 am__tar_='pax -L -x pax -w "$tardir"'
3576 am__tar='find "$$tardir" -print | cpio -o -H pax -L'
3577 am__tar_='find "$tardir" -print | cpio -o -H pax -L'
3578 am__untar='cpio -i -H pax -d'
3587 # If the value was cached, stop now. We just wanted to have am__tar
3588 # and am__untar set.
3589 test -n "${am_cv_prog_tar_pax}" && break
3591 # tar/untar a dummy directory, and stop if the command works.
3594 echo GrepMe > conftest.dir/file
3595 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3596 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3599 (exit $ac_status); }
3601 if test -s conftest.tar; then
3602 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3603 ($am__untar <conftest.tar) >&5 2>&5
3605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606 (exit $ac_status); }
3607 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3608 (cat conftest.dir/file) >&5 2>&5
3610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3611 (exit $ac_status); }
3612 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3617 if ${am_cv_prog_tar_pax+:} false; then :
3618 $as_echo_n "(cached) " >&6
3620 am_cv_prog_tar_pax=$_am_tool
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
3624 $as_echo "$am_cv_prog_tar_pax" >&6; }
3631 # POSIX will say in a future version that running "rm -f" with no argument
3632 # is OK; and we want to be able to make that assumption in our Makefile
3633 # recipes. So use an aggressive probe to check that the usage we want is
3634 # actually supported "in the wild" to an acceptable degree.
3635 # See automake bug#10828.
3636 # To make any issue more visible, cause the running configure to be aborted
3637 # by default if the 'rm' program in use doesn't match our expectations; the
3638 # user can still override this though.
3639 if rm -f && rm -fr && rm -rf; then : OK; else
3643 Your 'rm' program seems unable to run without file operands specified
3644 on the command line, even when the '-f' option is present. This is contrary
3645 to the behaviour of most rm programs out there, and not conforming with
3646 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3648 Please tell bug-automake@gnu.org about your system, including the value
3649 of your $PATH and any error possibly output before this message. This
3650 can help us improve future automake versions.
3653 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3654 echo 'Configuration will proceed anyway, since you have set the' >&2
3655 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3659 Aborting the configuration process, to ensure you take notice of the issue.
3661 You can download and install GNU coreutils to get an 'rm' implementation
3662 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3664 If you want to complete the configuration process using your problematic
3665 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3666 to "yes", and re-run configure.
3669 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3674 # Silent build rules requires at least automake-1.11. Employ
3675 # techniques for not breaking earlier versions of automake.
3677 # Check whether --enable-silent-rules was given.
3678 if test "${enable_silent_rules+set}" = set; then :
3679 enableval=$enable_silent_rules;
3682 case $enable_silent_rules in # (((
3683 yes) AM_DEFAULT_VERBOSITY=0;;
3684 no) AM_DEFAULT_VERBOSITY=1;;
3685 *) AM_DEFAULT_VERBOSITY=0;;
3687 am_make=${MAKE-make}
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3689 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3690 if ${am_cv_make_support_nested_variables+:} false; then :
3691 $as_echo_n "(cached) " >&6
3693 if $as_echo 'TRUE=$(BAR$(V))
3699 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3700 am_cv_make_support_nested_variables=yes
3702 am_cv_make_support_nested_variables=no
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3706 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3707 if test $am_cv_make_support_nested_variables = yes; then
3709 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3711 AM_V=$AM_DEFAULT_VERBOSITY
3712 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3716 # Check whether --enable-silent-rules was given.
3717 if test "${enable_silent_rules+set}" = set; then :
3718 enableval=$enable_silent_rules;
3721 case $enable_silent_rules in # (((
3722 yes) AM_DEFAULT_VERBOSITY=0;;
3723 no) AM_DEFAULT_VERBOSITY=1;;
3724 *) AM_DEFAULT_VERBOSITY=0;;
3726 am_make=${MAKE-make}
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3728 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3729 if ${am_cv_make_support_nested_variables+:} false; then :
3730 $as_echo_n "(cached) " >&6
3732 if $as_echo 'TRUE=$(BAR$(V))
3738 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3739 am_cv_make_support_nested_variables=yes
3741 am_cv_make_support_nested_variables=no
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3745 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3746 if test $am_cv_make_support_nested_variables = yes; then
3748 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3750 AM_V=$AM_DEFAULT_VERBOSITY
3751 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3757 # Enable maintainer mode to prevent the package from constantly trying
3758 # to rebuild configure, Makefile.in, etc. Rebuilding such files rarely,
3759 # if ever, needs to be done "in the field".
3761 # Use the included 'bootstrap' script instead when necessary.
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3765 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3766 # Check whether --enable-maintainer-mode was given.
3767 if test "${enable_maintainer_mode+set}" = set; then :
3768 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3770 USE_MAINTAINER_MODE=no
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3774 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3775 if test $USE_MAINTAINER_MODE = yes; then
3776 MAINTAINER_MODE_TRUE=
3777 MAINTAINER_MODE_FALSE='#'
3779 MAINTAINER_MODE_TRUE='#'
3780 MAINTAINER_MODE_FALSE=
3783 MAINT=$MAINTAINER_MODE_TRUE
3788 # Checks for build host programs
3791 # If we are cross-compiling and we are on an embedded target that
3792 # doesn't support independent, standalone executables, then all
3793 # compiler tests that attempt to create an executable will fail. In
3794 # such circumstances, set AC_NO_EXECUTABLES (see http://sourceware.org/
3795 # ml/newlib/2006/msg00353.html).
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable executable checking" >&5
3798 $as_echo_n "checking whether to disable executable checking... " >&6; }
3799 if test "$cross_compiling" = yes; then
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3802 $as_echo "yes" >&6; }
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3805 $as_echo "no" >&6; }
3808 # Passing -Werror to GCC-based or -compatible compilers breaks some
3809 # autoconf tests (see
3810 # http://lists.gnu.org/archive/html/autoconf-patches/2008-09/msg00014.html).
3812 # If -Werror has been passed transform it into -Wno-error. We'll
3813 # transform it back later with NL_RESTORE_WERROR.
3817 if echo "${CPPFLAGS}" | grep -q '\-Werror'; then
3818 CPPFLAGS="`echo ${CPPFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3819 nl_had_CPPFLAGS_werror=yes
3821 nl_had_CPPFLAGS_werror=no
3825 if echo "${CFLAGS}" | grep -q '\-Werror'; then
3826 CFLAGS="`echo ${CFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3827 nl_had_CFLAGS_werror=yes
3829 nl_had_CFLAGS_werror=no
3833 if echo "${CXXFLAGS}" | grep -q '\-Werror'; then
3834 CXXFLAGS="`echo ${CXXFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3835 nl_had_CXXFLAGS_werror=yes
3837 nl_had_CXXFLAGS_werror=no
3841 if echo "${OBJCFLAGS}" | grep -q '\-Werror'; then
3842 OBJCFLAGS="`echo ${OBJCFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3843 nl_had_OBJCFLAGS_werror=yes
3845 nl_had_OBJCFLAGS_werror=no
3849 if echo "${OBJCXXFLAGS}" | grep -q '\-Werror'; then
3850 OBJCXXFLAGS="`echo ${OBJCXXFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3851 nl_had_OBJCXXFLAGS_werror=yes
3853 nl_had_OBJCXXFLAGS_werror=no
3858 # Check for compilers.
3860 # These should be checked BEFORE we check for and, implicitly,
3861 # initialize libtool such that libtool knows what languages it has to
3864 DEPDIR="${am__leading_dot}deps"
3866 ac_config_commands="$ac_config_commands depfiles"
3869 am_make=${MAKE-make}
3870 cat > confinc << 'END'
3872 @echo this is the am__doit target
3875 # If we don't find an include directive, just comment out the code.
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3877 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3881 # First try GNU make style include.
3882 echo "include confinc" > confmf
3883 # Ignore all kinds of additional output from 'make'.
3884 case `$am_make -s -f confmf 2> /dev/null` in #(
3885 *the\ am__doit\ target*)
3891 # Now try BSD make style include.
3892 if test "$am__include" = "#"; then
3893 echo '.include "confinc"' > confmf
3894 case `$am_make -s -f confmf 2> /dev/null` in #(
3895 *the\ am__doit\ target*)
3896 am__include=.include
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3905 $as_echo "$_am_result" >&6; }
3906 rm -f confinc confmf
3908 # Check whether --enable-dependency-tracking was given.
3909 if test "${enable_dependency_tracking+set}" = set; then :
3910 enableval=$enable_dependency_tracking;
3913 if test "x$enable_dependency_tracking" != xno; then
3914 am_depcomp="$ac_aux_dir/depcomp"
3918 if test "x$enable_dependency_tracking" != xno; then
3928 ac_cpp='$CPP $CPPFLAGS'
3929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3932 if test -n "$ac_tool_prefix"; then
3933 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3934 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3936 $as_echo_n "checking for $ac_word... " >&6; }
3937 if ${ac_cv_prog_CC+:} false; then :
3938 $as_echo_n "(cached) " >&6
3940 if test -n "$CC"; then
3941 ac_cv_prog_CC="$CC" # Let the user override the test.
3943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3947 test -z "$as_dir" && as_dir=.
3948 for ac_exec_ext in '' $ac_executable_extensions; do
3949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3950 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3961 if test -n "$CC"; then
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3963 $as_echo "$CC" >&6; }
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3966 $as_echo "no" >&6; }
3971 if test -z "$ac_cv_prog_CC"; then
3973 # Extract the first word of "gcc", so it can be a program name with args.
3974 set dummy gcc; ac_word=$2
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3976 $as_echo_n "checking for $ac_word... " >&6; }
3977 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3978 $as_echo_n "(cached) " >&6
3980 if test -n "$ac_ct_CC"; then
3981 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3987 test -z "$as_dir" && as_dir=.
3988 for ac_exec_ext in '' $ac_executable_extensions; do
3989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3990 ac_cv_prog_ac_ct_CC="gcc"
3991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4000 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4001 if test -n "$ac_ct_CC"; then
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4003 $as_echo "$ac_ct_CC" >&6; }
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4006 $as_echo "no" >&6; }
4009 if test "x$ac_ct_CC" = x; then
4012 case $cross_compiling:$ac_tool_warned in
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4015 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4016 ac_tool_warned=yes ;;
4024 if test -z "$CC"; then
4025 if test -n "$ac_tool_prefix"; then
4026 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4027 set dummy ${ac_tool_prefix}cc; ac_word=$2
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4029 $as_echo_n "checking for $ac_word... " >&6; }
4030 if ${ac_cv_prog_CC+:} false; then :
4031 $as_echo_n "(cached) " >&6
4033 if test -n "$CC"; then
4034 ac_cv_prog_CC="$CC" # Let the user override the test.
4036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4040 test -z "$as_dir" && as_dir=.
4041 for ac_exec_ext in '' $ac_executable_extensions; do
4042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4043 ac_cv_prog_CC="${ac_tool_prefix}cc"
4044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4054 if test -n "$CC"; then
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4056 $as_echo "$CC" >&6; }
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4059 $as_echo "no" >&6; }
4065 if test -z "$CC"; then
4066 # Extract the first word of "cc", so it can be a program name with args.
4067 set dummy cc; ac_word=$2
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4069 $as_echo_n "checking for $ac_word... " >&6; }
4070 if ${ac_cv_prog_CC+:} false; then :
4071 $as_echo_n "(cached) " >&6
4073 if test -n "$CC"; then
4074 ac_cv_prog_CC="$CC" # Let the user override the test.
4077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4081 test -z "$as_dir" && as_dir=.
4082 for ac_exec_ext in '' $ac_executable_extensions; do
4083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4084 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4085 ac_prog_rejected=yes
4089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4096 if test $ac_prog_rejected = yes; then
4097 # We found a bogon in the path, so make sure we never use it.
4098 set dummy $ac_cv_prog_CC
4100 if test $# != 0; then
4101 # We chose a different compiler from the bogus one.
4102 # However, it has the same basename, so the bogon will be chosen
4103 # first if we set CC to just the basename; use the full file name.
4105 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4111 if test -n "$CC"; then
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4113 $as_echo "$CC" >&6; }
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4116 $as_echo "no" >&6; }
4121 if test -z "$CC"; then
4122 if test -n "$ac_tool_prefix"; then
4123 for ac_prog in cl.exe
4125 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4126 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4128 $as_echo_n "checking for $ac_word... " >&6; }
4129 if ${ac_cv_prog_CC+:} false; then :
4130 $as_echo_n "(cached) " >&6
4132 if test -n "$CC"; then
4133 ac_cv_prog_CC="$CC" # Let the user override the test.
4135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4139 test -z "$as_dir" && as_dir=.
4140 for ac_exec_ext in '' $ac_executable_extensions; do
4141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4142 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4153 if test -n "$CC"; then
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4155 $as_echo "$CC" >&6; }
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4158 $as_echo "no" >&6; }
4162 test -n "$CC" && break
4165 if test -z "$CC"; then
4167 for ac_prog in cl.exe
4169 # Extract the first word of "$ac_prog", so it can be a program name with args.
4170 set dummy $ac_prog; ac_word=$2
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4172 $as_echo_n "checking for $ac_word... " >&6; }
4173 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4174 $as_echo_n "(cached) " >&6
4176 if test -n "$ac_ct_CC"; then
4177 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4183 test -z "$as_dir" && as_dir=.
4184 for ac_exec_ext in '' $ac_executable_extensions; do
4185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4186 ac_cv_prog_ac_ct_CC="$ac_prog"
4187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4196 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4197 if test -n "$ac_ct_CC"; then
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4199 $as_echo "$ac_ct_CC" >&6; }
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4202 $as_echo "no" >&6; }
4206 test -n "$ac_ct_CC" && break
4209 if test "x$ac_ct_CC" = x; then
4212 case $cross_compiling:$ac_tool_warned in
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4216 ac_tool_warned=yes ;;
4225 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4227 as_fn_error $? "no acceptable C compiler found in \$PATH
4228 See \`config.log' for more details" "$LINENO" 5; }
4230 # Provide some information about the compiler.
4231 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4234 for ac_option in --version -v -V -qversion; do
4235 { { ac_try="$ac_compiler $ac_option >&5"
4237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4238 *) ac_try_echo=$ac_try;;
4240 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4241 $as_echo "$ac_try_echo"; } >&5
4242 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4244 if test -s conftest.err; then
4246 ... rest of stderr output deleted ...
4247 10q' conftest.err >conftest.er1
4248 cat conftest.er1 >&5
4250 rm -f conftest.er1 conftest.err
4251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4252 test $ac_status = 0; }
4255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4256 /* end confdefs.h. */
4266 if { { ac_try="$ac_link"
4268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4269 *) ac_try_echo=$ac_try;;
4271 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4272 $as_echo "$ac_try_echo"; } >&5
4273 (eval "$ac_link") 2>&5
4275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4276 test $ac_status = 0; }; then
4278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4279 /* end confdefs.h. */
4289 ac_clean_files_save=$ac_clean_files
4290 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4291 # Try to create an executable without -o first, disregard a.out.
4292 # It will help us diagnose broken compilers, and finding out an intuition
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4295 $as_echo_n "checking whether the C compiler works... " >&6; }
4296 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4298 # The possible output files:
4299 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4302 for ac_file in $ac_files
4305 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4306 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4311 if { { ac_try="$ac_link_default"
4313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4314 *) ac_try_echo=$ac_try;;
4316 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4317 $as_echo "$ac_try_echo"; } >&5
4318 (eval "$ac_link_default") 2>&5
4320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4321 test $ac_status = 0; }; then :
4322 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4323 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4324 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4325 # so that the user can short-circuit this test for compilers unknown to
4327 for ac_file in $ac_files ''
4329 test -f "$ac_file" || continue
4331 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4334 # We found the default executable, but exeext='' is most
4338 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4340 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4342 # We set ac_cv_exeext here because the later test for it is not
4343 # safe: cross compilers may not add the suffix if given an `-o'
4344 # argument, so we may need to know it at that point already.
4345 # Even if this section looks crufty: it has the advantage of
4352 test "$ac_cv_exeext" = no && ac_cv_exeext=
4357 if test -z "$ac_file"; then :
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4359 $as_echo "no" >&6; }
4360 $as_echo "$as_me: failed program was:" >&5
4361 sed 's/^/| /' conftest.$ac_ext >&5
4363 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4365 as_fn_error 77 "C compiler cannot create executables
4366 See \`config.log' for more details" "$LINENO" 5; }
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4369 $as_echo "yes" >&6; }
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4372 $as_echo_n "checking for C compiler default output file name... " >&6; }
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4374 $as_echo "$ac_file" >&6; }
4375 ac_exeext=$ac_cv_exeext
4377 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4378 ac_clean_files=$ac_clean_files_save
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4380 $as_echo_n "checking for suffix of executables... " >&6; }
4381 if { { ac_try="$ac_link"
4383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4384 *) ac_try_echo=$ac_try;;
4386 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4387 $as_echo "$ac_try_echo"; } >&5
4388 (eval "$ac_link") 2>&5
4390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4391 test $ac_status = 0; }; then :
4392 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4393 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4394 # work properly (i.e., refer to `conftest.exe'), while it won't with
4396 for ac_file in conftest.exe conftest conftest.*; do
4397 test -f "$ac_file" || continue
4399 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4400 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4406 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4407 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4408 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4409 See \`config.log' for more details" "$LINENO" 5; }
4411 rm -f conftest conftest$ac_cv_exeext
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4413 $as_echo "$ac_cv_exeext" >&6; }
4415 rm -f conftest.$ac_ext
4416 EXEEXT=$ac_cv_exeext
4418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4419 /* end confdefs.h. */
4424 FILE *f = fopen ("conftest.out", "w");
4425 return ferror (f) || fclose (f) != 0;
4431 ac_clean_files="$ac_clean_files conftest.out"
4432 # Check that the compiler produces executables we can run. If not, either
4433 # the compiler is broken, or we cross compile.
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4435 $as_echo_n "checking whether we are cross compiling... " >&6; }
4436 if test "$cross_compiling" != yes; then
4437 { { ac_try="$ac_link"
4439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4440 *) ac_try_echo=$ac_try;;
4442 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4443 $as_echo "$ac_try_echo"; } >&5
4444 (eval "$ac_link") 2>&5
4446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4447 test $ac_status = 0; }
4448 if { ac_try='./conftest$ac_cv_exeext'
4449 { { case "(($ac_try" in
4450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4451 *) ac_try_echo=$ac_try;;
4453 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4454 $as_echo "$ac_try_echo"; } >&5
4455 (eval "$ac_try") 2>&5
4457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4458 test $ac_status = 0; }; }; then
4461 if test "$cross_compiling" = maybe; then
4464 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4466 as_fn_error $? "cannot run C compiled programs.
4467 If you meant to cross compile, use \`--host'.
4468 See \`config.log' for more details" "$LINENO" 5; }
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4473 $as_echo "$cross_compiling" >&6; }
4475 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4476 ac_clean_files=$ac_clean_files_save
4479 rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.o conftest.obj conftest.dSYM
4481 # Setting cross_compile will disable run tests; it will
4482 # also disable AC_CHECK_FILE but that's generally
4483 # correct if we can't link.
4486 # Check that the compiler produces executables we can run. If not, either
4487 # the compiler is broken, or we cross compile.
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4489 $as_echo_n "checking whether we are cross compiling... " >&6; }
4490 if test "$cross_compiling" != yes; then
4491 { { ac_try="$ac_link"
4493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4494 *) ac_try_echo=$ac_try;;
4496 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4497 $as_echo "$ac_try_echo"; } >&5
4498 (eval "$ac_link") 2>&5
4500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4501 test $ac_status = 0; }
4502 if { ac_try='./conftest$ac_cv_exeext'
4503 { { case "(($ac_try" in
4504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4505 *) ac_try_echo=$ac_try;;
4507 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4508 $as_echo "$ac_try_echo"; } >&5
4509 (eval "$ac_try") 2>&5
4511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4512 test $ac_status = 0; }; }; then
4515 if test "$cross_compiling" = maybe; then
4518 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4519 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4520 as_fn_error $? "cannot run C compiled programs.
4521 If you meant to cross compile, use \`--host'.
4522 See \`config.log' for more details" "$LINENO" 5; }
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4527 $as_echo "$cross_compiling" >&6; }
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4531 $as_echo_n "checking for suffix of object files... " >&6; }
4532 if ${ac_cv_objext+:} false; then :
4533 $as_echo_n "(cached) " >&6
4535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4536 /* end confdefs.h. */
4546 rm -f conftest.o conftest.obj
4547 if { { ac_try="$ac_compile"
4549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4550 *) ac_try_echo=$ac_try;;
4552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4553 $as_echo "$ac_try_echo"; } >&5
4554 (eval "$ac_compile") 2>&5
4556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4557 test $ac_status = 0; }; then :
4558 for ac_file in conftest.o conftest.obj conftest.*; do
4559 test -f "$ac_file" || continue;
4561 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4562 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4567 $as_echo "$as_me: failed program was:" >&5
4568 sed 's/^/| /' conftest.$ac_ext >&5
4570 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4571 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4572 as_fn_error $? "cannot compute suffix of object files: cannot compile
4573 See \`config.log' for more details" "$LINENO" 5; }
4575 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4578 $as_echo "$ac_cv_objext" >&6; }
4579 OBJEXT=$ac_cv_objext
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4582 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4583 if ${ac_cv_c_compiler_gnu+:} false; then :
4584 $as_echo_n "(cached) " >&6
4586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4587 /* end confdefs.h. */
4600 if ac_fn_c_try_compile "$LINENO"; then :
4605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4606 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4610 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4611 if test $ac_compiler_gnu = yes; then
4616 ac_test_CFLAGS=${CFLAGS+set}
4617 ac_save_CFLAGS=$CFLAGS
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4619 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4620 if ${ac_cv_prog_cc_g+:} false; then :
4621 $as_echo_n "(cached) " >&6
4623 ac_save_c_werror_flag=$ac_c_werror_flag
4624 ac_c_werror_flag=yes
4627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4628 /* end confdefs.h. */
4638 if ac_fn_c_try_compile "$LINENO"; then :
4642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4643 /* end confdefs.h. */
4653 if ac_fn_c_try_compile "$LINENO"; then :
4656 ac_c_werror_flag=$ac_save_c_werror_flag
4658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4659 /* end confdefs.h. */
4669 if ac_fn_c_try_compile "$LINENO"; then :
4672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4677 ac_c_werror_flag=$ac_save_c_werror_flag
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4680 $as_echo "$ac_cv_prog_cc_g" >&6; }
4681 if test "$ac_test_CFLAGS" = set; then
4682 CFLAGS=$ac_save_CFLAGS
4683 elif test $ac_cv_prog_cc_g = yes; then
4684 if test "$GCC" = yes; then
4690 if test "$GCC" = yes; then
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4697 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4698 if ${ac_cv_prog_cc_c89+:} false; then :
4699 $as_echo_n "(cached) " >&6
4701 ac_cv_prog_cc_c89=no
4703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4704 /* end confdefs.h. */
4707 #include <sys/types.h>
4708 #include <sys/stat.h>
4709 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4710 struct buf { int x; };
4711 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4712 static char *e (p, i)
4718 static char *f (char * (*g) (char **, int), char **p, ...)
4723 s = g (p, va_arg (v,int));
4728 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4729 function prototypes and stuff, but not '\xHH' hex character constants.
4730 These don't provoke an error unfortunately, instead are silently treated
4731 as 'x'. The following induces an error, until -std is added to get
4732 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4733 array size at least. It's necessary to write '\x00'==0 to get something
4734 that's true only with -std. */
4735 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4737 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4738 inside strings and character constants. */
4740 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4742 int test (int i, double x);
4743 struct s1 {int (*f) (int a);};
4744 struct s2 {int (*f) (double a);};
4745 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4751 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4756 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4757 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4759 CC="$ac_save_CC $ac_arg"
4760 if ac_fn_c_try_compile "$LINENO"; then :
4761 ac_cv_prog_cc_c89=$ac_arg
4763 rm -f core conftest.err conftest.$ac_objext
4764 test "x$ac_cv_prog_cc_c89" != "xno" && break
4766 rm -f conftest.$ac_ext
4771 case "x$ac_cv_prog_cc_c89" in
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4774 $as_echo "none needed" >&6; } ;;
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4777 $as_echo "unsupported" >&6; } ;;
4779 CC="$CC $ac_cv_prog_cc_c89"
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4781 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4783 if test "x$ac_cv_prog_cc_c89" != xno; then :
4788 ac_cpp='$CPP $CPPFLAGS'
4789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4794 ac_cpp='$CPP $CPPFLAGS'
4795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4799 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4800 if ${am_cv_prog_cc_c_o+:} false; then :
4801 $as_echo_n "(cached) " >&6
4803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4804 /* end confdefs.h. */
4814 # Make sure it works both with $CC and with simple cc.
4815 # Following AC_PROG_CC_C_O, we do the test twice because some
4816 # compilers refuse to overwrite an existing .o file with -o,
4817 # though they will create one.
4818 am_cv_prog_cc_c_o=yes
4820 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4821 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4824 (exit $ac_status); } \
4825 && test -f conftest2.$ac_objext; then
4828 am_cv_prog_cc_c_o=no
4832 rm -f core conftest*
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4836 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4837 if test "$am_cv_prog_cc_c_o" != yes; then
4838 # Losing compiler, so override with the script.
4839 # FIXME: It is wrong to rewrite CC.
4840 # But if we don't then we get into trouble of one sort or another.
4841 # A longer-term fix would be to have automake use am__CC in this case,
4842 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4843 CC="$am_aux_dir/compile $CC"
4846 ac_cpp='$CPP $CPPFLAGS'
4847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4852 depcc="$CC" am_compiler_list=
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4855 $as_echo_n "checking dependency style of $depcc... " >&6; }
4856 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4857 $as_echo_n "(cached) " >&6
4859 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4860 # We make a subdir and do the tests there. Otherwise we can end up
4861 # making bogus files that we don't know about and never remove. For
4862 # instance it was reported that on HP-UX the gcc test will end up
4863 # making a dummy file named 'D' -- because '-MD' means "put the output
4867 # Copy depcomp to subdir because otherwise we won't find it if we're
4868 # using a relative directory.
4869 cp "$am_depcomp" conftest.dir
4871 # We will build objects and dependencies in a subdirectory because
4872 # it helps to detect inapplicable dependency modes. For instance
4873 # both Tru64's cc and ICC support -MD to output dependencies as a
4874 # side effect of compilation, but ICC will put the dependencies in
4875 # the current directory while Tru64 will put them in the object
4879 am_cv_CC_dependencies_compiler_type=none
4880 if test "$am_compiler_list" = ""; then
4881 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4884 case " $depcc " in #(
4885 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4888 for depmode in $am_compiler_list; do
4889 # Setup a source with many dependencies, because some compilers
4890 # like to wrap large dependency lists on column 80 (with \), and
4891 # we should not choose a depcomp mode which is confused by this.
4893 # We need to recreate these files for each test, as the compiler may
4894 # overwrite some of them when testing with obscure command lines.
4895 # This happens at least with the AIX C compiler.
4897 for i in 1 2 3 4 5 6; do
4898 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4899 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4900 # Solaris 10 /bin/sh.
4901 echo '/* dummy */' > sub/conftst$i.h
4903 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4905 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4906 # mode. It turns out that the SunPro C++ compiler does not properly
4907 # handle '-M -o', and we need to detect this. Also, some Intel
4908 # versions had trouble with output in subdirs.
4909 am__obj=sub/conftest.${OBJEXT-o}
4910 am__minus_obj="-o $am__obj"
4913 # This depmode causes a compiler race in universal mode.
4914 test "$am__universal" = false || continue
4917 # After this tag, mechanisms are not by side-effect, so they'll
4918 # only be used when explicitly requested.
4919 if test "x$enable_dependency_tracking" = xyes; then
4925 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4926 # This compiler won't grok '-c -o', but also, the minuso test has
4927 # not run yet. These depmodes are late enough in the game, and
4928 # so weak that their functioning should not be impacted.
4929 am__obj=conftest.${OBJEXT-o}
4934 if depmode=$depmode \
4935 source=sub/conftest.c object=$am__obj \
4936 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4937 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4938 >/dev/null 2>conftest.err &&
4939 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4940 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4941 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4942 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4943 # icc doesn't choke on unknown options, it will just issue warnings
4944 # or remarks (even with -Werror). So we grep stderr for any message
4945 # that says an option was ignored or not supported.
4946 # When given -MP, icc 7.0 and 7.1 complain thusly:
4947 # icc: Command line warning: ignoring option '-M'; no argument required
4948 # The diagnosis changed in icc 8.0:
4949 # icc: Command line remark: option '-MP' not supported
4950 if (grep 'ignoring option' conftest.err ||
4951 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4952 am_cv_CC_dependencies_compiler_type=$depmode
4961 am_cv_CC_dependencies_compiler_type=none
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4966 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4967 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4970 test "x$enable_dependency_tracking" != xno \
4971 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4973 am__fastdepCC_FALSE='#'
4975 am__fastdepCC_TRUE='#'
4976 am__fastdepCC_FALSE=
4981 ac_cpp='$CPP $CPPFLAGS'
4982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4986 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4987 # On Suns, sometimes $CPP names a directory.
4988 if test -n "$CPP" && test -d "$CPP"; then
4991 if test -z "$CPP"; then
4992 if ${ac_cv_prog_CPP+:} false; then :
4993 $as_echo_n "(cached) " >&6
4995 # Double quotes because CPP needs to be expanded
4996 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4999 for ac_c_preproc_warn_flag in '' yes
5001 # Use a header file that comes with gcc, so configuring glibc
5002 # with a fresh cross-compiler works.
5003 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5004 # <limits.h> exists even on freestanding compilers.
5005 # On the NeXT, cc -E runs the code through the compiler's parser,
5006 # not just through cpp. "Syntax error" is here to catch this case.
5007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5008 /* end confdefs.h. */
5010 # include <limits.h>
5012 # include <assert.h>
5016 if ac_fn_c_try_cpp "$LINENO"; then :
5019 # Broken: fails on valid input.
5022 rm -f conftest.err conftest.i conftest.$ac_ext
5024 # OK, works on sane cases. Now check whether nonexistent headers
5025 # can be detected and how.
5026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5027 /* end confdefs.h. */
5028 #include <ac_nonexistent.h>
5030 if ac_fn_c_try_cpp "$LINENO"; then :
5031 # Broken: success on invalid input.
5034 # Passes both tests.
5038 rm -f conftest.err conftest.i conftest.$ac_ext
5041 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5042 rm -f conftest.i conftest.err conftest.$ac_ext
5043 if $ac_preproc_ok; then :
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5056 $as_echo "$CPP" >&6; }
5058 for ac_c_preproc_warn_flag in '' yes
5060 # Use a header file that comes with gcc, so configuring glibc
5061 # with a fresh cross-compiler works.
5062 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5063 # <limits.h> exists even on freestanding compilers.
5064 # On the NeXT, cc -E runs the code through the compiler's parser,
5065 # not just through cpp. "Syntax error" is here to catch this case.
5066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5067 /* end confdefs.h. */
5069 # include <limits.h>
5071 # include <assert.h>
5075 if ac_fn_c_try_cpp "$LINENO"; then :
5078 # Broken: fails on valid input.
5081 rm -f conftest.err conftest.i conftest.$ac_ext
5083 # OK, works on sane cases. Now check whether nonexistent headers
5084 # can be detected and how.
5085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5086 /* end confdefs.h. */
5087 #include <ac_nonexistent.h>
5089 if ac_fn_c_try_cpp "$LINENO"; then :
5090 # Broken: success on invalid input.
5093 # Passes both tests.
5097 rm -f conftest.err conftest.i conftest.$ac_ext
5100 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5101 rm -f conftest.i conftest.err conftest.$ac_ext
5102 if $ac_preproc_ok; then :
5105 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5107 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5108 See \`config.log' for more details" "$LINENO" 5; }
5112 ac_cpp='$CPP $CPPFLAGS'
5113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5117 ac_c_preproc_warn_flag=yes
5120 ac_cpp='$CPP $CPPFLAGS'
5121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5124 if test -n "$ac_tool_prefix"; then
5125 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5126 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5128 $as_echo_n "checking for $ac_word... " >&6; }
5129 if ${ac_cv_prog_CC+:} false; then :
5130 $as_echo_n "(cached) " >&6
5132 if test -n "$CC"; then
5133 ac_cv_prog_CC="$CC" # Let the user override the test.
5135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5139 test -z "$as_dir" && as_dir=.
5140 for ac_exec_ext in '' $ac_executable_extensions; do
5141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5142 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5153 if test -n "$CC"; then
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5155 $as_echo "$CC" >&6; }
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5158 $as_echo "no" >&6; }
5163 if test -z "$ac_cv_prog_CC"; then
5165 # Extract the first word of "gcc", so it can be a program name with args.
5166 set dummy gcc; ac_word=$2
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5168 $as_echo_n "checking for $ac_word... " >&6; }
5169 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5170 $as_echo_n "(cached) " >&6
5172 if test -n "$ac_ct_CC"; then
5173 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5179 test -z "$as_dir" && as_dir=.
5180 for ac_exec_ext in '' $ac_executable_extensions; do
5181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5182 ac_cv_prog_ac_ct_CC="gcc"
5183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5192 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5193 if test -n "$ac_ct_CC"; then
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5195 $as_echo "$ac_ct_CC" >&6; }
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5198 $as_echo "no" >&6; }
5201 if test "x$ac_ct_CC" = x; then
5204 case $cross_compiling:$ac_tool_warned in
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5208 ac_tool_warned=yes ;;
5216 if test -z "$CC"; then
5217 if test -n "$ac_tool_prefix"; then
5218 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5219 set dummy ${ac_tool_prefix}cc; ac_word=$2
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5221 $as_echo_n "checking for $ac_word... " >&6; }
5222 if ${ac_cv_prog_CC+:} false; then :
5223 $as_echo_n "(cached) " >&6
5225 if test -n "$CC"; then
5226 ac_cv_prog_CC="$CC" # Let the user override the test.
5228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5232 test -z "$as_dir" && as_dir=.
5233 for ac_exec_ext in '' $ac_executable_extensions; do
5234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5235 ac_cv_prog_CC="${ac_tool_prefix}cc"
5236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5246 if test -n "$CC"; then
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5248 $as_echo "$CC" >&6; }
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5251 $as_echo "no" >&6; }
5257 if test -z "$CC"; then
5258 # Extract the first word of "cc", so it can be a program name with args.
5259 set dummy cc; ac_word=$2
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5261 $as_echo_n "checking for $ac_word... " >&6; }
5262 if ${ac_cv_prog_CC+:} false; then :
5263 $as_echo_n "(cached) " >&6
5265 if test -n "$CC"; then
5266 ac_cv_prog_CC="$CC" # Let the user override the test.
5269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5273 test -z "$as_dir" && as_dir=.
5274 for ac_exec_ext in '' $ac_executable_extensions; do
5275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5276 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5277 ac_prog_rejected=yes
5281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5288 if test $ac_prog_rejected = yes; then
5289 # We found a bogon in the path, so make sure we never use it.
5290 set dummy $ac_cv_prog_CC
5292 if test $# != 0; then
5293 # We chose a different compiler from the bogus one.
5294 # However, it has the same basename, so the bogon will be chosen
5295 # first if we set CC to just the basename; use the full file name.
5297 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5303 if test -n "$CC"; then
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5305 $as_echo "$CC" >&6; }
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5308 $as_echo "no" >&6; }
5313 if test -z "$CC"; then
5314 if test -n "$ac_tool_prefix"; then
5315 for ac_prog in cl.exe
5317 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5318 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5320 $as_echo_n "checking for $ac_word... " >&6; }
5321 if ${ac_cv_prog_CC+:} false; then :
5322 $as_echo_n "(cached) " >&6
5324 if test -n "$CC"; then
5325 ac_cv_prog_CC="$CC" # Let the user override the test.
5327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5331 test -z "$as_dir" && as_dir=.
5332 for ac_exec_ext in '' $ac_executable_extensions; do
5333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5334 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5345 if test -n "$CC"; then
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5347 $as_echo "$CC" >&6; }
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5350 $as_echo "no" >&6; }
5354 test -n "$CC" && break
5357 if test -z "$CC"; then
5359 for ac_prog in cl.exe
5361 # Extract the first word of "$ac_prog", so it can be a program name with args.
5362 set dummy $ac_prog; ac_word=$2
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5364 $as_echo_n "checking for $ac_word... " >&6; }
5365 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5366 $as_echo_n "(cached) " >&6
5368 if test -n "$ac_ct_CC"; then
5369 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5375 test -z "$as_dir" && as_dir=.
5376 for ac_exec_ext in '' $ac_executable_extensions; do
5377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5378 ac_cv_prog_ac_ct_CC="$ac_prog"
5379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5388 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5389 if test -n "$ac_ct_CC"; then
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5391 $as_echo "$ac_ct_CC" >&6; }
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5394 $as_echo "no" >&6; }
5398 test -n "$ac_ct_CC" && break
5401 if test "x$ac_ct_CC" = x; then
5404 case $cross_compiling:$ac_tool_warned in
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5408 ac_tool_warned=yes ;;
5417 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5418 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5419 as_fn_error $? "no acceptable C compiler found in \$PATH
5420 See \`config.log' for more details" "$LINENO" 5; }
5422 # Provide some information about the compiler.
5423 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5426 for ac_option in --version -v -V -qversion; do
5427 { { ac_try="$ac_compiler $ac_option >&5"
5429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5430 *) ac_try_echo=$ac_try;;
5432 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5433 $as_echo "$ac_try_echo"; } >&5
5434 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5436 if test -s conftest.err; then
5438 ... rest of stderr output deleted ...
5439 10q' conftest.err >conftest.er1
5440 cat conftest.er1 >&5
5442 rm -f conftest.er1 conftest.err
5443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5444 test $ac_status = 0; }
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5448 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5449 if ${ac_cv_c_compiler_gnu+:} false; then :
5450 $as_echo_n "(cached) " >&6
5452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5453 /* end confdefs.h. */
5466 if ac_fn_c_try_compile "$LINENO"; then :
5471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5472 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5476 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5477 if test $ac_compiler_gnu = yes; then
5482 ac_test_CFLAGS=${CFLAGS+set}
5483 ac_save_CFLAGS=$CFLAGS
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5485 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5486 if ${ac_cv_prog_cc_g+:} false; then :
5487 $as_echo_n "(cached) " >&6
5489 ac_save_c_werror_flag=$ac_c_werror_flag
5490 ac_c_werror_flag=yes
5493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5494 /* end confdefs.h. */
5504 if ac_fn_c_try_compile "$LINENO"; then :
5508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5509 /* end confdefs.h. */
5519 if ac_fn_c_try_compile "$LINENO"; then :
5522 ac_c_werror_flag=$ac_save_c_werror_flag
5524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5525 /* end confdefs.h. */
5535 if ac_fn_c_try_compile "$LINENO"; then :
5538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5543 ac_c_werror_flag=$ac_save_c_werror_flag
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5546 $as_echo "$ac_cv_prog_cc_g" >&6; }
5547 if test "$ac_test_CFLAGS" = set; then
5548 CFLAGS=$ac_save_CFLAGS
5549 elif test $ac_cv_prog_cc_g = yes; then
5550 if test "$GCC" = yes; then
5556 if test "$GCC" = yes; then
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5563 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5564 if ${ac_cv_prog_cc_c89+:} false; then :
5565 $as_echo_n "(cached) " >&6
5567 ac_cv_prog_cc_c89=no
5569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5570 /* end confdefs.h. */
5573 #include <sys/types.h>
5574 #include <sys/stat.h>
5575 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5576 struct buf { int x; };
5577 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5578 static char *e (p, i)
5584 static char *f (char * (*g) (char **, int), char **p, ...)
5589 s = g (p, va_arg (v,int));
5594 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5595 function prototypes and stuff, but not '\xHH' hex character constants.
5596 These don't provoke an error unfortunately, instead are silently treated
5597 as 'x'. The following induces an error, until -std is added to get
5598 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5599 array size at least. It's necessary to write '\x00'==0 to get something
5600 that's true only with -std. */
5601 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5603 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5604 inside strings and character constants. */
5606 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5608 int test (int i, double x);
5609 struct s1 {int (*f) (int a);};
5610 struct s2 {int (*f) (double a);};
5611 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5617 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5622 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5623 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5625 CC="$ac_save_CC $ac_arg"
5626 if ac_fn_c_try_compile "$LINENO"; then :
5627 ac_cv_prog_cc_c89=$ac_arg
5629 rm -f core conftest.err conftest.$ac_objext
5630 test "x$ac_cv_prog_cc_c89" != "xno" && break
5632 rm -f conftest.$ac_ext
5637 case "x$ac_cv_prog_cc_c89" in
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5640 $as_echo "none needed" >&6; } ;;
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5643 $as_echo "unsupported" >&6; } ;;
5645 CC="$CC $ac_cv_prog_cc_c89"
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5647 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5649 if test "x$ac_cv_prog_cc_c89" != xno; then :
5654 ac_cpp='$CPP $CPPFLAGS'
5655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5660 ac_cpp='$CPP $CPPFLAGS'
5661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5665 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5666 if ${am_cv_prog_cc_c_o+:} false; then :
5667 $as_echo_n "(cached) " >&6
5669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5670 /* end confdefs.h. */
5680 # Make sure it works both with $CC and with simple cc.
5681 # Following AC_PROG_CC_C_O, we do the test twice because some
5682 # compilers refuse to overwrite an existing .o file with -o,
5683 # though they will create one.
5684 am_cv_prog_cc_c_o=yes
5686 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5687 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5690 (exit $ac_status); } \
5691 && test -f conftest2.$ac_objext; then
5694 am_cv_prog_cc_c_o=no
5698 rm -f core conftest*
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5702 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5703 if test "$am_cv_prog_cc_c_o" != yes; then
5704 # Losing compiler, so override with the script.
5705 # FIXME: It is wrong to rewrite CC.
5706 # But if we don't then we get into trouble of one sort or another.
5707 # A longer-term fix would be to have automake use am__CC in this case,
5708 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5709 CC="$am_aux_dir/compile $CC"
5712 ac_cpp='$CPP $CPPFLAGS'
5713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5718 depcc="$CC" am_compiler_list=
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5721 $as_echo_n "checking dependency style of $depcc... " >&6; }
5722 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5723 $as_echo_n "(cached) " >&6
5725 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5726 # We make a subdir and do the tests there. Otherwise we can end up
5727 # making bogus files that we don't know about and never remove. For
5728 # instance it was reported that on HP-UX the gcc test will end up
5729 # making a dummy file named 'D' -- because '-MD' means "put the output
5733 # Copy depcomp to subdir because otherwise we won't find it if we're
5734 # using a relative directory.
5735 cp "$am_depcomp" conftest.dir
5737 # We will build objects and dependencies in a subdirectory because
5738 # it helps to detect inapplicable dependency modes. For instance
5739 # both Tru64's cc and ICC support -MD to output dependencies as a
5740 # side effect of compilation, but ICC will put the dependencies in
5741 # the current directory while Tru64 will put them in the object
5745 am_cv_CC_dependencies_compiler_type=none
5746 if test "$am_compiler_list" = ""; then
5747 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5750 case " $depcc " in #(
5751 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5754 for depmode in $am_compiler_list; do
5755 # Setup a source with many dependencies, because some compilers
5756 # like to wrap large dependency lists on column 80 (with \), and
5757 # we should not choose a depcomp mode which is confused by this.
5759 # We need to recreate these files for each test, as the compiler may
5760 # overwrite some of them when testing with obscure command lines.
5761 # This happens at least with the AIX C compiler.
5763 for i in 1 2 3 4 5 6; do
5764 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5765 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5766 # Solaris 10 /bin/sh.
5767 echo '/* dummy */' > sub/conftst$i.h
5769 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5771 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5772 # mode. It turns out that the SunPro C++ compiler does not properly
5773 # handle '-M -o', and we need to detect this. Also, some Intel
5774 # versions had trouble with output in subdirs.
5775 am__obj=sub/conftest.${OBJEXT-o}
5776 am__minus_obj="-o $am__obj"
5779 # This depmode causes a compiler race in universal mode.
5780 test "$am__universal" = false || continue
5783 # After this tag, mechanisms are not by side-effect, so they'll
5784 # only be used when explicitly requested.
5785 if test "x$enable_dependency_tracking" = xyes; then
5791 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5792 # This compiler won't grok '-c -o', but also, the minuso test has
5793 # not run yet. These depmodes are late enough in the game, and
5794 # so weak that their functioning should not be impacted.
5795 am__obj=conftest.${OBJEXT-o}
5800 if depmode=$depmode \
5801 source=sub/conftest.c object=$am__obj \
5802 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5803 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5804 >/dev/null 2>conftest.err &&
5805 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5806 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5807 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5808 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5809 # icc doesn't choke on unknown options, it will just issue warnings
5810 # or remarks (even with -Werror). So we grep stderr for any message
5811 # that says an option was ignored or not supported.
5812 # When given -MP, icc 7.0 and 7.1 complain thusly:
5813 # icc: Command line warning: ignoring option '-M'; no argument required
5814 # The diagnosis changed in icc 8.0:
5815 # icc: Command line remark: option '-MP' not supported
5816 if (grep 'ignoring option' conftest.err ||
5817 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5818 am_cv_CC_dependencies_compiler_type=$depmode
5827 am_cv_CC_dependencies_compiler_type=none
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5832 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5833 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5836 test "x$enable_dependency_tracking" != xno \
5837 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5839 am__fastdepCC_FALSE='#'
5841 am__fastdepCC_TRUE='#'
5842 am__fastdepCC_FALSE=
5846 if test "x$CC" != xcc; then
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5848 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5851 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5853 set dummy $CC; ac_cc=`$as_echo "$2" |
5854 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5855 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
5856 $as_echo_n "(cached) " >&6
5858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5859 /* end confdefs.h. */
5869 # Make sure it works both with $CC and with simple cc.
5870 # We do the test twice because some compilers refuse to overwrite an
5871 # existing .o file with -o, though they will create one.
5872 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5874 if { { case "(($ac_try" in
5875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5876 *) ac_try_echo=$ac_try;;
5878 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5879 $as_echo "$ac_try_echo"; } >&5
5880 (eval "$ac_try") 2>&5
5882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5883 test $ac_status = 0; } &&
5884 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5886 *) ac_try_echo=$ac_try;;
5888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5889 $as_echo "$ac_try_echo"; } >&5
5890 (eval "$ac_try") 2>&5
5892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5893 test $ac_status = 0; };
5895 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5896 if test "x$CC" != xcc; then
5897 # Test first that cc exists at all.
5898 if { ac_try='cc -c conftest.$ac_ext >&5'
5899 { { case "(($ac_try" in
5900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5901 *) ac_try_echo=$ac_try;;
5903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5904 $as_echo "$ac_try_echo"; } >&5
5905 (eval "$ac_try") 2>&5
5907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5908 test $ac_status = 0; }; }; then
5909 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5911 if { { case "(($ac_try" in
5912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5913 *) ac_try_echo=$ac_try;;
5915 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5916 $as_echo "$ac_try_echo"; } >&5
5917 (eval "$ac_try") 2>&5
5919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5920 test $ac_status = 0; } &&
5921 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5923 *) ac_try_echo=$ac_try;;
5925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5926 $as_echo "$ac_try_echo"; } >&5
5927 (eval "$ac_try") 2>&5
5929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5930 test $ac_status = 0; };
5935 # cc exists but doesn't like -o.
5936 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5941 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5943 rm -f core conftest*
5946 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5948 $as_echo "yes" >&6; }
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5951 $as_echo "no" >&6; }
5953 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5959 ac_cpp='$CXXCPP $CPPFLAGS'
5960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5963 if test -z "$CXX"; then
5964 if test -n "$CCC"; then
5967 if test -n "$ac_tool_prefix"; then
5968 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5970 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5971 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5973 $as_echo_n "checking for $ac_word... " >&6; }
5974 if ${ac_cv_prog_CXX+:} false; then :
5975 $as_echo_n "(cached) " >&6
5977 if test -n "$CXX"; then
5978 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5984 test -z "$as_dir" && as_dir=.
5985 for ac_exec_ext in '' $ac_executable_extensions; do
5986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5987 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5998 if test -n "$CXX"; then
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
6000 $as_echo "$CXX" >&6; }
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6003 $as_echo "no" >&6; }
6007 test -n "$CXX" && break
6010 if test -z "$CXX"; then
6012 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6014 # Extract the first word of "$ac_prog", so it can be a program name with args.
6015 set dummy $ac_prog; ac_word=$2
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6017 $as_echo_n "checking for $ac_word... " >&6; }
6018 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
6019 $as_echo_n "(cached) " >&6
6021 if test -n "$ac_ct_CXX"; then
6022 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6028 test -z "$as_dir" && as_dir=.
6029 for ac_exec_ext in '' $ac_executable_extensions; do
6030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6031 ac_cv_prog_ac_ct_CXX="$ac_prog"
6032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6041 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6042 if test -n "$ac_ct_CXX"; then
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
6044 $as_echo "$ac_ct_CXX" >&6; }
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6047 $as_echo "no" >&6; }
6051 test -n "$ac_ct_CXX" && break
6054 if test "x$ac_ct_CXX" = x; then
6057 case $cross_compiling:$ac_tool_warned in
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6061 ac_tool_warned=yes ;;
6069 # Provide some information about the compiler.
6070 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6073 for ac_option in --version -v -V -qversion; do
6074 { { ac_try="$ac_compiler $ac_option >&5"
6076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6077 *) ac_try_echo=$ac_try;;
6079 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6080 $as_echo "$ac_try_echo"; } >&5
6081 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6083 if test -s conftest.err; then
6085 ... rest of stderr output deleted ...
6086 10q' conftest.err >conftest.er1
6087 cat conftest.er1 >&5
6089 rm -f conftest.er1 conftest.err
6090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6091 test $ac_status = 0; }
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
6095 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
6096 if ${ac_cv_cxx_compiler_gnu+:} false; then :
6097 $as_echo_n "(cached) " >&6
6099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6100 /* end confdefs.h. */
6113 if ac_fn_cxx_try_compile "$LINENO"; then :
6118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6119 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6123 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
6124 if test $ac_compiler_gnu = yes; then
6129 ac_test_CXXFLAGS=${CXXFLAGS+set}
6130 ac_save_CXXFLAGS=$CXXFLAGS
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6132 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
6133 if ${ac_cv_prog_cxx_g+:} false; then :
6134 $as_echo_n "(cached) " >&6
6136 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6137 ac_cxx_werror_flag=yes
6140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6141 /* end confdefs.h. */
6151 if ac_fn_cxx_try_compile "$LINENO"; then :
6152 ac_cv_prog_cxx_g=yes
6155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6156 /* end confdefs.h. */
6166 if ac_fn_cxx_try_compile "$LINENO"; then :
6169 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6172 /* end confdefs.h. */
6182 if ac_fn_cxx_try_compile "$LINENO"; then :
6183 ac_cv_prog_cxx_g=yes
6185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6190 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6193 $as_echo "$ac_cv_prog_cxx_g" >&6; }
6194 if test "$ac_test_CXXFLAGS" = set; then
6195 CXXFLAGS=$ac_save_CXXFLAGS
6196 elif test $ac_cv_prog_cxx_g = yes; then
6197 if test "$GXX" = yes; then
6203 if test "$GXX" = yes; then
6210 ac_cpp='$CPP $CPPFLAGS'
6211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6215 depcc="$CXX" am_compiler_list=
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6218 $as_echo_n "checking dependency style of $depcc... " >&6; }
6219 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
6220 $as_echo_n "(cached) " >&6
6222 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6223 # We make a subdir and do the tests there. Otherwise we can end up
6224 # making bogus files that we don't know about and never remove. For
6225 # instance it was reported that on HP-UX the gcc test will end up
6226 # making a dummy file named 'D' -- because '-MD' means "put the output
6230 # Copy depcomp to subdir because otherwise we won't find it if we're
6231 # using a relative directory.
6232 cp "$am_depcomp" conftest.dir
6234 # We will build objects and dependencies in a subdirectory because
6235 # it helps to detect inapplicable dependency modes. For instance
6236 # both Tru64's cc and ICC support -MD to output dependencies as a
6237 # side effect of compilation, but ICC will put the dependencies in
6238 # the current directory while Tru64 will put them in the object
6242 am_cv_CXX_dependencies_compiler_type=none
6243 if test "$am_compiler_list" = ""; then
6244 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6247 case " $depcc " in #(
6248 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6251 for depmode in $am_compiler_list; do
6252 # Setup a source with many dependencies, because some compilers
6253 # like to wrap large dependency lists on column 80 (with \), and
6254 # we should not choose a depcomp mode which is confused by this.
6256 # We need to recreate these files for each test, as the compiler may
6257 # overwrite some of them when testing with obscure command lines.
6258 # This happens at least with the AIX C compiler.
6260 for i in 1 2 3 4 5 6; do
6261 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6262 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6263 # Solaris 10 /bin/sh.
6264 echo '/* dummy */' > sub/conftst$i.h
6266 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6268 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6269 # mode. It turns out that the SunPro C++ compiler does not properly
6270 # handle '-M -o', and we need to detect this. Also, some Intel
6271 # versions had trouble with output in subdirs.
6272 am__obj=sub/conftest.${OBJEXT-o}
6273 am__minus_obj="-o $am__obj"
6276 # This depmode causes a compiler race in universal mode.
6277 test "$am__universal" = false || continue
6280 # After this tag, mechanisms are not by side-effect, so they'll
6281 # only be used when explicitly requested.
6282 if test "x$enable_dependency_tracking" = xyes; then
6288 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6289 # This compiler won't grok '-c -o', but also, the minuso test has
6290 # not run yet. These depmodes are late enough in the game, and
6291 # so weak that their functioning should not be impacted.
6292 am__obj=conftest.${OBJEXT-o}
6297 if depmode=$depmode \
6298 source=sub/conftest.c object=$am__obj \
6299 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6300 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6301 >/dev/null 2>conftest.err &&
6302 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6303 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6304 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6305 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6306 # icc doesn't choke on unknown options, it will just issue warnings
6307 # or remarks (even with -Werror). So we grep stderr for any message
6308 # that says an option was ignored or not supported.
6309 # When given -MP, icc 7.0 and 7.1 complain thusly:
6310 # icc: Command line warning: ignoring option '-M'; no argument required
6311 # The diagnosis changed in icc 8.0:
6312 # icc: Command line remark: option '-MP' not supported
6313 if (grep 'ignoring option' conftest.err ||
6314 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6315 am_cv_CXX_dependencies_compiler_type=$depmode
6324 am_cv_CXX_dependencies_compiler_type=none
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6329 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6330 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6333 test "x$enable_dependency_tracking" != xno \
6334 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6335 am__fastdepCXX_TRUE=
6336 am__fastdepCXX_FALSE='#'
6338 am__fastdepCXX_TRUE='#'
6339 am__fastdepCXX_FALSE=
6344 ac_cpp='$CXXCPP $CPPFLAGS'
6345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6349 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6350 if test -z "$CXXCPP"; then
6351 if ${ac_cv_prog_CXXCPP+:} false; then :
6352 $as_echo_n "(cached) " >&6
6354 # Double quotes because CXXCPP needs to be expanded
6355 for CXXCPP in "$CXX -E" "/lib/cpp"
6358 for ac_cxx_preproc_warn_flag in '' yes
6360 # Use a header file that comes with gcc, so configuring glibc
6361 # with a fresh cross-compiler works.
6362 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6363 # <limits.h> exists even on freestanding compilers.
6364 # On the NeXT, cc -E runs the code through the compiler's parser,
6365 # not just through cpp. "Syntax error" is here to catch this case.
6366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6367 /* end confdefs.h. */
6369 # include <limits.h>
6371 # include <assert.h>
6375 if ac_fn_cxx_try_cpp "$LINENO"; then :
6378 # Broken: fails on valid input.
6381 rm -f conftest.err conftest.i conftest.$ac_ext
6383 # OK, works on sane cases. Now check whether nonexistent headers
6384 # can be detected and how.
6385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6386 /* end confdefs.h. */
6387 #include <ac_nonexistent.h>
6389 if ac_fn_cxx_try_cpp "$LINENO"; then :
6390 # Broken: success on invalid input.
6393 # Passes both tests.
6397 rm -f conftest.err conftest.i conftest.$ac_ext
6400 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6401 rm -f conftest.i conftest.err conftest.$ac_ext
6402 if $ac_preproc_ok; then :
6407 ac_cv_prog_CXXCPP=$CXXCPP
6410 CXXCPP=$ac_cv_prog_CXXCPP
6412 ac_cv_prog_CXXCPP=$CXXCPP
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
6415 $as_echo "$CXXCPP" >&6; }
6417 for ac_cxx_preproc_warn_flag in '' yes
6419 # Use a header file that comes with gcc, so configuring glibc
6420 # with a fresh cross-compiler works.
6421 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6422 # <limits.h> exists even on freestanding compilers.
6423 # On the NeXT, cc -E runs the code through the compiler's parser,
6424 # not just through cpp. "Syntax error" is here to catch this case.
6425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6426 /* end confdefs.h. */
6428 # include <limits.h>
6430 # include <assert.h>
6434 if ac_fn_cxx_try_cpp "$LINENO"; then :
6437 # Broken: fails on valid input.
6440 rm -f conftest.err conftest.i conftest.$ac_ext
6442 # OK, works on sane cases. Now check whether nonexistent headers
6443 # can be detected and how.
6444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6445 /* end confdefs.h. */
6446 #include <ac_nonexistent.h>
6448 if ac_fn_cxx_try_cpp "$LINENO"; then :
6449 # Broken: success on invalid input.
6452 # Passes both tests.
6456 rm -f conftest.err conftest.i conftest.$ac_ext
6459 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6460 rm -f conftest.i conftest.err conftest.$ac_ext
6461 if $ac_preproc_ok; then :
6464 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6466 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
6467 See \`config.log' for more details" "$LINENO" 5; }
6471 ac_cpp='$CPP $CPPFLAGS'
6472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6478 ac_cpp='$CXXCPP $CPPFLAGS'
6479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6482 if test -z "$CXX"; then
6483 if test -n "$CCC"; then
6486 if test -n "$ac_tool_prefix"; then
6487 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6489 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6490 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6492 $as_echo_n "checking for $ac_word... " >&6; }
6493 if ${ac_cv_prog_CXX+:} false; then :
6494 $as_echo_n "(cached) " >&6
6496 if test -n "$CXX"; then
6497 ac_cv_prog_CXX="$CXX" # Let the user override the test.
6499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6503 test -z "$as_dir" && as_dir=.
6504 for ac_exec_ext in '' $ac_executable_extensions; do
6505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6506 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6517 if test -n "$CXX"; then
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
6519 $as_echo "$CXX" >&6; }
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6522 $as_echo "no" >&6; }
6526 test -n "$CXX" && break
6529 if test -z "$CXX"; then
6531 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6533 # Extract the first word of "$ac_prog", so it can be a program name with args.
6534 set dummy $ac_prog; ac_word=$2
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6536 $as_echo_n "checking for $ac_word... " >&6; }
6537 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
6538 $as_echo_n "(cached) " >&6
6540 if test -n "$ac_ct_CXX"; then
6541 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6547 test -z "$as_dir" && as_dir=.
6548 for ac_exec_ext in '' $ac_executable_extensions; do
6549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6550 ac_cv_prog_ac_ct_CXX="$ac_prog"
6551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6560 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6561 if test -n "$ac_ct_CXX"; then
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
6563 $as_echo "$ac_ct_CXX" >&6; }
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6566 $as_echo "no" >&6; }
6570 test -n "$ac_ct_CXX" && break
6573 if test "x$ac_ct_CXX" = x; then
6576 case $cross_compiling:$ac_tool_warned in
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6579 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6580 ac_tool_warned=yes ;;
6588 # Provide some information about the compiler.
6589 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6592 for ac_option in --version -v -V -qversion; do
6593 { { ac_try="$ac_compiler $ac_option >&5"
6595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6596 *) ac_try_echo=$ac_try;;
6598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6599 $as_echo "$ac_try_echo"; } >&5
6600 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6602 if test -s conftest.err; then
6604 ... rest of stderr output deleted ...
6605 10q' conftest.err >conftest.er1
6606 cat conftest.er1 >&5
6608 rm -f conftest.er1 conftest.err
6609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6610 test $ac_status = 0; }
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
6614 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
6615 if ${ac_cv_cxx_compiler_gnu+:} false; then :
6616 $as_echo_n "(cached) " >&6
6618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6619 /* end confdefs.h. */
6632 if ac_fn_cxx_try_compile "$LINENO"; then :
6637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6638 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6642 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
6643 if test $ac_compiler_gnu = yes; then
6648 ac_test_CXXFLAGS=${CXXFLAGS+set}
6649 ac_save_CXXFLAGS=$CXXFLAGS
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6651 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
6652 if ${ac_cv_prog_cxx_g+:} false; then :
6653 $as_echo_n "(cached) " >&6
6655 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6656 ac_cxx_werror_flag=yes
6659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6660 /* end confdefs.h. */
6670 if ac_fn_cxx_try_compile "$LINENO"; then :
6671 ac_cv_prog_cxx_g=yes
6674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6675 /* end confdefs.h. */
6685 if ac_fn_cxx_try_compile "$LINENO"; then :
6688 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6691 /* end confdefs.h. */
6701 if ac_fn_cxx_try_compile "$LINENO"; then :
6702 ac_cv_prog_cxx_g=yes
6704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6709 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6712 $as_echo "$ac_cv_prog_cxx_g" >&6; }
6713 if test "$ac_test_CXXFLAGS" = set; then
6714 CXXFLAGS=$ac_save_CXXFLAGS
6715 elif test $ac_cv_prog_cxx_g = yes; then
6716 if test "$GXX" = yes; then
6722 if test "$GXX" = yes; then
6729 ac_cpp='$CPP $CPPFLAGS'
6730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6734 depcc="$CXX" am_compiler_list=
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6737 $as_echo_n "checking dependency style of $depcc... " >&6; }
6738 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
6739 $as_echo_n "(cached) " >&6
6741 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6742 # We make a subdir and do the tests there. Otherwise we can end up
6743 # making bogus files that we don't know about and never remove. For
6744 # instance it was reported that on HP-UX the gcc test will end up
6745 # making a dummy file named 'D' -- because '-MD' means "put the output
6749 # Copy depcomp to subdir because otherwise we won't find it if we're
6750 # using a relative directory.
6751 cp "$am_depcomp" conftest.dir
6753 # We will build objects and dependencies in a subdirectory because
6754 # it helps to detect inapplicable dependency modes. For instance
6755 # both Tru64's cc and ICC support -MD to output dependencies as a
6756 # side effect of compilation, but ICC will put the dependencies in
6757 # the current directory while Tru64 will put them in the object
6761 am_cv_CXX_dependencies_compiler_type=none
6762 if test "$am_compiler_list" = ""; then
6763 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6766 case " $depcc " in #(
6767 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6770 for depmode in $am_compiler_list; do
6771 # Setup a source with many dependencies, because some compilers
6772 # like to wrap large dependency lists on column 80 (with \), and
6773 # we should not choose a depcomp mode which is confused by this.
6775 # We need to recreate these files for each test, as the compiler may
6776 # overwrite some of them when testing with obscure command lines.
6777 # This happens at least with the AIX C compiler.
6779 for i in 1 2 3 4 5 6; do
6780 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6781 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6782 # Solaris 10 /bin/sh.
6783 echo '/* dummy */' > sub/conftst$i.h
6785 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6787 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6788 # mode. It turns out that the SunPro C++ compiler does not properly
6789 # handle '-M -o', and we need to detect this. Also, some Intel
6790 # versions had trouble with output in subdirs.
6791 am__obj=sub/conftest.${OBJEXT-o}
6792 am__minus_obj="-o $am__obj"
6795 # This depmode causes a compiler race in universal mode.
6796 test "$am__universal" = false || continue
6799 # After this tag, mechanisms are not by side-effect, so they'll
6800 # only be used when explicitly requested.
6801 if test "x$enable_dependency_tracking" = xyes; then
6807 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6808 # This compiler won't grok '-c -o', but also, the minuso test has
6809 # not run yet. These depmodes are late enough in the game, and
6810 # so weak that their functioning should not be impacted.
6811 am__obj=conftest.${OBJEXT-o}
6816 if depmode=$depmode \
6817 source=sub/conftest.c object=$am__obj \
6818 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6819 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6820 >/dev/null 2>conftest.err &&
6821 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6822 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6823 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6824 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6825 # icc doesn't choke on unknown options, it will just issue warnings
6826 # or remarks (even with -Werror). So we grep stderr for any message
6827 # that says an option was ignored or not supported.
6828 # When given -MP, icc 7.0 and 7.1 complain thusly:
6829 # icc: Command line warning: ignoring option '-M'; no argument required
6830 # The diagnosis changed in icc 8.0:
6831 # icc: Command line remark: option '-MP' not supported
6832 if (grep 'ignoring option' conftest.err ||
6833 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6834 am_cv_CXX_dependencies_compiler_type=$depmode
6843 am_cv_CXX_dependencies_compiler_type=none
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6848 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6849 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6852 test "x$enable_dependency_tracking" != xno \
6853 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6854 am__fastdepCXX_TRUE=
6855 am__fastdepCXX_FALSE='#'
6857 am__fastdepCXX_TRUE='#'
6858 am__fastdepCXX_FALSE=
6863 ac_cpp='$CXXCPP $CPPFLAGS'
6864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX understands -c and -o together" >&5
6868 $as_echo_n "checking whether $CXX understands -c and -o together... " >&6; }
6869 if ${ac_cv_prog_cxx_c_o+:} false; then :
6870 $as_echo_n "(cached) " >&6
6872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6873 /* end confdefs.h. */
6883 # We test twice because some compilers refuse to overwrite an existing
6884 # `.o' file with `-o', although they will create one.
6885 ac_try='$CXX $CXXFLAGS -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
6887 if { { case "(($ac_try" in
6888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6889 *) ac_try_echo=$ac_try;;
6891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6892 $as_echo "$ac_try_echo"; } >&5
6893 (eval "$ac_try") 2>&5
6895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6896 test $ac_status = 0; } &&
6897 test -f conftest2.$ac_objext &&
6898 { { case "(($ac_try" in
6899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6900 *) ac_try_echo=$ac_try;;
6902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6903 $as_echo "$ac_try_echo"; } >&5
6904 (eval "$ac_try") 2>&5
6906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6907 test $ac_status = 0; }; then
6908 ac_cv_prog_cxx_c_o=yes
6910 ac_cv_prog_cxx_c_o=no
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_c_o" >&5
6915 $as_echo "$ac_cv_prog_cxx_c_o" >&6; }
6916 if test $ac_cv_prog_cxx_c_o = no; then
6918 $as_echo "#define CXX_NO_MINUS_C_MINUS_O 1" >>confdefs.h
6922 ac_cpp='$CPP $CPPFLAGS'
6923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6928 # Check for other compiler toolchain tools.
6930 if test -n "$ac_tool_prefix"; then
6931 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6932 set dummy ${ac_tool_prefix}ar; ac_word=$2
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6934 $as_echo_n "checking for $ac_word... " >&6; }
6935 if ${ac_cv_prog_AR+:} false; then :
6936 $as_echo_n "(cached) " >&6
6938 if test -n "$AR"; then
6939 ac_cv_prog_AR="$AR" # Let the user override the test.
6941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6945 test -z "$as_dir" && as_dir=.
6946 for ac_exec_ext in '' $ac_executable_extensions; do
6947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6948 ac_cv_prog_AR="${ac_tool_prefix}ar"
6949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6959 if test -n "$AR"; then
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6961 $as_echo "$AR" >&6; }
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6964 $as_echo "no" >&6; }
6969 if test -z "$ac_cv_prog_AR"; then
6971 # Extract the first word of "ar", so it can be a program name with args.
6972 set dummy ar; ac_word=$2
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6974 $as_echo_n "checking for $ac_word... " >&6; }
6975 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6976 $as_echo_n "(cached) " >&6
6978 if test -n "$ac_ct_AR"; then
6979 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6985 test -z "$as_dir" && as_dir=.
6986 for ac_exec_ext in '' $ac_executable_extensions; do
6987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6988 ac_cv_prog_ac_ct_AR="ar"
6989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6998 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6999 if test -n "$ac_ct_AR"; then
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7001 $as_echo "$ac_ct_AR" >&6; }
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7004 $as_echo "no" >&6; }
7007 if test "x$ac_ct_AR" = x; then
7010 case $cross_compiling:$ac_tool_warned in
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7013 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7014 ac_tool_warned=yes ;;
7022 if test -n "$ac_tool_prefix"; then
7023 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7024 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7026 $as_echo_n "checking for $ac_word... " >&6; }
7027 if ${ac_cv_prog_RANLIB+:} false; then :
7028 $as_echo_n "(cached) " >&6
7030 if test -n "$RANLIB"; then
7031 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7037 test -z "$as_dir" && as_dir=.
7038 for ac_exec_ext in '' $ac_executable_extensions; do
7039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7040 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7050 RANLIB=$ac_cv_prog_RANLIB
7051 if test -n "$RANLIB"; then
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7053 $as_echo "$RANLIB" >&6; }
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7056 $as_echo "no" >&6; }
7061 if test -z "$ac_cv_prog_RANLIB"; then
7062 ac_ct_RANLIB=$RANLIB
7063 # Extract the first word of "ranlib", so it can be a program name with args.
7064 set dummy ranlib; ac_word=$2
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7066 $as_echo_n "checking for $ac_word... " >&6; }
7067 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7068 $as_echo_n "(cached) " >&6
7070 if test -n "$ac_ct_RANLIB"; then
7071 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7077 test -z "$as_dir" && as_dir=.
7078 for ac_exec_ext in '' $ac_executable_extensions; do
7079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7080 ac_cv_prog_ac_ct_RANLIB="ranlib"
7081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7090 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7091 if test -n "$ac_ct_RANLIB"; then
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7093 $as_echo "$ac_ct_RANLIB" >&6; }
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7096 $as_echo "no" >&6; }
7099 if test "x$ac_ct_RANLIB" = x; then
7102 case $cross_compiling:$ac_tool_warned in
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7105 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7106 ac_tool_warned=yes ;;
7108 RANLIB=$ac_ct_RANLIB
7111 RANLIB="$ac_cv_prog_RANLIB"
7114 if test -n "$ac_tool_prefix"; then
7115 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
7116 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7118 $as_echo_n "checking for $ac_word... " >&6; }
7119 if ${ac_cv_prog_OBJCOPY+:} false; then :
7120 $as_echo_n "(cached) " >&6
7122 if test -n "$OBJCOPY"; then
7123 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
7125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7129 test -z "$as_dir" && as_dir=.
7130 for ac_exec_ext in '' $ac_executable_extensions; do
7131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7132 ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
7133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7142 OBJCOPY=$ac_cv_prog_OBJCOPY
7143 if test -n "$OBJCOPY"; then
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
7145 $as_echo "$OBJCOPY" >&6; }
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7148 $as_echo "no" >&6; }
7153 if test -z "$ac_cv_prog_OBJCOPY"; then
7154 ac_ct_OBJCOPY=$OBJCOPY
7155 # Extract the first word of "objcopy", so it can be a program name with args.
7156 set dummy objcopy; ac_word=$2
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7158 $as_echo_n "checking for $ac_word... " >&6; }
7159 if ${ac_cv_prog_ac_ct_OBJCOPY+:} false; then :
7160 $as_echo_n "(cached) " >&6
7162 if test -n "$ac_ct_OBJCOPY"; then
7163 ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
7165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7169 test -z "$as_dir" && as_dir=.
7170 for ac_exec_ext in '' $ac_executable_extensions; do
7171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7172 ac_cv_prog_ac_ct_OBJCOPY="objcopy"
7173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7182 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
7183 if test -n "$ac_ct_OBJCOPY"; then
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
7185 $as_echo "$ac_ct_OBJCOPY" >&6; }
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7188 $as_echo "no" >&6; }
7191 if test "x$ac_ct_OBJCOPY" = x; then
7194 case $cross_compiling:$ac_tool_warned in
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7197 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7198 ac_tool_warned=yes ;;
7200 OBJCOPY=$ac_ct_OBJCOPY
7203 OBJCOPY="$ac_cv_prog_OBJCOPY"
7206 if test -n "$ac_tool_prefix"; then
7207 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7208 set dummy ${ac_tool_prefix}strip; ac_word=$2
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7210 $as_echo_n "checking for $ac_word... " >&6; }
7211 if ${ac_cv_prog_STRIP+:} false; then :
7212 $as_echo_n "(cached) " >&6
7214 if test -n "$STRIP"; then
7215 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7221 test -z "$as_dir" && as_dir=.
7222 for ac_exec_ext in '' $ac_executable_extensions; do
7223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7224 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7234 STRIP=$ac_cv_prog_STRIP
7235 if test -n "$STRIP"; then
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7237 $as_echo "$STRIP" >&6; }
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7240 $as_echo "no" >&6; }
7245 if test -z "$ac_cv_prog_STRIP"; then
7247 # Extract the first word of "strip", so it can be a program name with args.
7248 set dummy strip; ac_word=$2
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7250 $as_echo_n "checking for $ac_word... " >&6; }
7251 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7252 $as_echo_n "(cached) " >&6
7254 if test -n "$ac_ct_STRIP"; then
7255 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7261 test -z "$as_dir" && as_dir=.
7262 for ac_exec_ext in '' $ac_executable_extensions; do
7263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7264 ac_cv_prog_ac_ct_STRIP="strip"
7265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7274 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7275 if test -n "$ac_ct_STRIP"; then
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7277 $as_echo "$ac_ct_STRIP" >&6; }
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7280 $as_echo "no" >&6; }
7283 if test "x$ac_ct_STRIP" = x; then
7286 case $cross_compiling:$ac_tool_warned in
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7290 ac_tool_warned=yes ;;
7295 STRIP="$ac_cv_prog_STRIP"
7299 # Check for other host tools.
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7303 $as_echo_n "checking whether ln -s works... " >&6; }
7305 if test "$LN_S" = "ln -s"; then
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7307 $as_echo "yes" >&6; }
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7310 $as_echo "no, using $LN_S" >&6; }
7315 # Checks for specific compiler characteristics
7319 # Common compiler flags we would like to have.
7320 # Note that in gcc, -Wconversion implies -Wsign-conversion (but only for C)
7323 PROSPECTIVE_CFLAGS="-Wall -Wextra -Wshadow -Werror -std=c99 -pedantic-errors -Wconversion -Wsign-conversion"
7324 PROSPECTIVE_CXXFLAGS="-Wall -Wextra -Wshadow -Werror -Wconversion -Wsign-conversion"
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target style" >&5
7328 $as_echo_n "checking for target style... " >&6; }
7330 # The user may have attempted to explicitly specify the target
7331 # style. Sanity check it or default to 'auto'.
7334 # Check whether --with-target-style was given.
7335 if test "${with_target_style+set}" = set; then :
7336 withval=$with_target_style;
7337 case "${with_target_style}" in
7343 as_fn_error $? "Invalid value ${with_target_style} for --with-target-style" "$LINENO" 5
7349 with_target_style=auto
7353 # At this point, the target style is one of the allowed
7354 # values. If it's 'auto' we autodetect it.
7356 if test "${with_target_style}" = "auto"; then
7357 case ${target_os} in
7359 *cygwin*|*darwin*|*linux*|*freebsd*|*netbsd*|*openbsd*)
7360 with_target_style=unix
7364 with_target_style=embedded
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
7369 $as_echo "unknown" >&6; }
7370 as_fn_error $? "Unsupported target OS ${target_os}" "$LINENO" 5
7376 TARGET_STYLE=${with_target_style}
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${TARGET_STYLE}" >&5
7379 $as_echo "${TARGET_STYLE}" >&6; }
7383 cat >>confdefs.h <<_ACEOF
7384 #define TARGET_STYLE ${TARGET_STYLE}
7388 if test "${TARGET_STYLE}" = "unix"; then
7389 PROSPECTIVE_CFLAGS="${PROSPECTIVE_CFLAGS} -fPIC -fno-stack-protector"
7390 PROSPECTIVE_CXXFLAGS="${PROSPECTIVE_CXXFLAGS} -fPIC -fno-exceptions"
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7397 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7398 if ${ac_cv_path_GREP+:} false; then :
7399 $as_echo_n "(cached) " >&6
7401 if test -z "$GREP"; then
7402 ac_path_GREP_found=false
7403 # Loop through the user's path and test for each of PROGNAME-LIST
7404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7405 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7408 test -z "$as_dir" && as_dir=.
7409 for ac_prog in grep ggrep; do
7410 for ac_exec_ext in '' $ac_executable_extensions; do
7411 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
7412 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
7413 # Check for GNU ac_path_GREP and select it if it is found.
7414 # Check for GNU $ac_path_GREP
7415 case `"$ac_path_GREP" --version 2>&1` in
7417 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7420 $as_echo_n 0123456789 >"conftest.in"
7423 cat "conftest.in" "conftest.in" >"conftest.tmp"
7424 mv "conftest.tmp" "conftest.in"
7425 cp "conftest.in" "conftest.nl"
7426 $as_echo 'GREP' >> "conftest.nl"
7427 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7428 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7429 as_fn_arith $ac_count + 1 && ac_count=$as_val
7430 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7431 # Best one so far, save it but keep looking for a better one
7432 ac_cv_path_GREP="$ac_path_GREP"
7433 ac_path_GREP_max=$ac_count
7435 # 10*(2^10) chars as input seems more than enough
7436 test $ac_count -gt 10 && break
7438 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7441 $ac_path_GREP_found && break 3
7446 if test -z "$ac_cv_path_GREP"; then
7447 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7450 ac_cv_path_GREP=$GREP
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7455 $as_echo "$ac_cv_path_GREP" >&6; }
7456 GREP="$ac_cv_path_GREP"
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7460 $as_echo_n "checking for egrep... " >&6; }
7461 if ${ac_cv_path_EGREP+:} false; then :
7462 $as_echo_n "(cached) " >&6
7464 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7465 then ac_cv_path_EGREP="$GREP -E"
7467 if test -z "$EGREP"; then
7468 ac_path_EGREP_found=false
7469 # Loop through the user's path and test for each of PROGNAME-LIST
7470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7471 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7474 test -z "$as_dir" && as_dir=.
7475 for ac_prog in egrep; do
7476 for ac_exec_ext in '' $ac_executable_extensions; do
7477 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
7478 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
7479 # Check for GNU ac_path_EGREP and select it if it is found.
7480 # Check for GNU $ac_path_EGREP
7481 case `"$ac_path_EGREP" --version 2>&1` in
7483 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7486 $as_echo_n 0123456789 >"conftest.in"
7489 cat "conftest.in" "conftest.in" >"conftest.tmp"
7490 mv "conftest.tmp" "conftest.in"
7491 cp "conftest.in" "conftest.nl"
7492 $as_echo 'EGREP' >> "conftest.nl"
7493 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7494 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7495 as_fn_arith $ac_count + 1 && ac_count=$as_val
7496 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7497 # Best one so far, save it but keep looking for a better one
7498 ac_cv_path_EGREP="$ac_path_EGREP"
7499 ac_path_EGREP_max=$ac_count
7501 # 10*(2^10) chars as input seems more than enough
7502 test $ac_count -gt 10 && break
7504 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7507 $ac_path_EGREP_found && break 3
7512 if test -z "$ac_cv_path_EGREP"; then
7513 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7516 ac_cv_path_EGREP=$EGREP
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7522 $as_echo "$ac_cv_path_EGREP" >&6; }
7523 EGREP="$ac_cv_path_EGREP"
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC is Clang" >&5
7527 $as_echo_n "checking whether $CC is Clang... " >&6; }
7528 if ${nl_cv_clang+:} false; then :
7529 $as_echo_n "(cached) " >&6
7532 if test "x${GCC}" = "xyes"; then
7533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7534 /* end confdefs.h. */
7535 /* Note: Clang 2.7 lacks __clang_[a-z]+__ */
7536 # if defined(__clang__) && defined(__llvm__)
7541 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7542 $EGREP "NL_CC_IS_CLANG" >/dev/null 2>&1; then :
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_clang" >&5
7551 $as_echo "$nl_cv_clang" >&6; }
7555 for ax_compiler_option in ${PROSPECTIVE_CFLAGS}; do
7558 ac_cpp='$CPP $CPPFLAGS'
7559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler understands $ax_compiler_option" >&5
7564 $as_echo_n "checking whether the C compiler understands $ax_compiler_option... " >&6; }
7565 SAVE_CFLAGS=${CFLAGS}
7566 CFLAGS=$ax_compiler_option
7567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7568 /* end confdefs.h. */
7578 if ac_fn_c_try_compile "$LINENO"; then :
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7580 $as_echo "yes" >&6; }; CFLAGS="${SAVE_CFLAGS} $ax_compiler_option"
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7583 $as_echo "no" >&6; }; CFLAGS=${SAVE_CFLAGS}
7585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
7588 ac_cpp='$CPP $CPPFLAGS'
7589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7600 for ax_compiler_option in ${PROSPECTIVE_CXXFLAGS}; do
7603 ac_cpp='$CXXCPP $CPPFLAGS'
7604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler understands $ax_compiler_option" >&5
7609 $as_echo_n "checking whether the C++ compiler understands $ax_compiler_option... " >&6; }
7610 SAVE_CXXFLAGS=${CXXFLAGS}
7611 CXXFLAGS=$ax_compiler_option
7612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7613 /* end confdefs.h. */
7623 if ac_fn_cxx_try_compile "$LINENO"; then :
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7625 $as_echo "yes" >&6; }; CXXFLAGS="${SAVE_CXXFLAGS} $ax_compiler_option"
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7628 $as_echo "no" >&6; }; CXXFLAGS=${SAVE_CXXFLAGS}
7630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
7633 ac_cpp='$CPP $CPPFLAGS'
7634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7643 # Check for and initialize libtool
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7648 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7653 macro_version='2.4.2'
7654 macro_revision='1.3337'
7668 ltmain="$ac_aux_dir/ltmain.sh"
7670 # Backslashify metacharacters that are still active within
7671 # double-quoted strings.
7672 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7674 # Same as above, but do not quote variable references.
7675 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7677 # Sed substitution to delay expansion of an escaped shell variable in a
7678 # double_quote_subst'ed string.
7679 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7681 # Sed substitution to delay expansion of an escaped single quote.
7682 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7684 # Sed substitution to avoid accidental globbing in evaled expressions
7685 no_glob_subst='s/\*/\\\*/g'
7687 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7688 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
7689 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
7692 $as_echo_n "checking how to print strings... " >&6; }
7693 # Test print first, because it will be a builtin if present.
7694 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
7695 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
7697 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
7700 # Use this function as a fallback that always works.
7701 func_fallback_echo ()
7703 eval 'cat <<_LTECHO_EOF
7707 ECHO='func_fallback_echo'
7710 # func_echo_all arg...
7711 # Invoke $ECHO with all args, space-separated.
7718 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
7719 $as_echo "printf" >&6; } ;;
7720 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
7721 $as_echo "print -r" >&6; } ;;
7722 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
7723 $as_echo "cat" >&6; } ;;
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7740 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
7741 if ${ac_cv_path_SED+:} false; then :
7742 $as_echo_n "(cached) " >&6
7744 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7745 for ac_i in 1 2 3 4 5 6 7; do
7746 ac_script="$ac_script$as_nl$ac_script"
7748 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7749 { ac_script=; unset ac_script;}
7750 if test -z "$SED"; then
7751 ac_path_SED_found=false
7752 # Loop through the user's path and test for each of PROGNAME-LIST
7753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7757 test -z "$as_dir" && as_dir=.
7758 for ac_prog in sed gsed; do
7759 for ac_exec_ext in '' $ac_executable_extensions; do
7760 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
7761 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
7762 # Check for GNU ac_path_SED and select it if it is found.
7763 # Check for GNU $ac_path_SED
7764 case `"$ac_path_SED" --version 2>&1` in
7766 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
7769 $as_echo_n 0123456789 >"conftest.in"
7772 cat "conftest.in" "conftest.in" >"conftest.tmp"
7773 mv "conftest.tmp" "conftest.in"
7774 cp "conftest.in" "conftest.nl"
7775 $as_echo '' >> "conftest.nl"
7776 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7777 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7778 as_fn_arith $ac_count + 1 && ac_count=$as_val
7779 if test $ac_count -gt ${ac_path_SED_max-0}; then
7780 # Best one so far, save it but keep looking for a better one
7781 ac_cv_path_SED="$ac_path_SED"
7782 ac_path_SED_max=$ac_count
7784 # 10*(2^10) chars as input seems more than enough
7785 test $ac_count -gt 10 && break
7787 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7790 $ac_path_SED_found && break 3
7795 if test -z "$ac_cv_path_SED"; then
7796 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7804 $as_echo "$ac_cv_path_SED" >&6; }
7805 SED="$ac_cv_path_SED"
7808 test -z "$SED" && SED=sed
7809 Xsed="$SED -e 1s/^X//"
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7822 $as_echo_n "checking for fgrep... " >&6; }
7823 if ${ac_cv_path_FGREP+:} false; then :
7824 $as_echo_n "(cached) " >&6
7826 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
7827 then ac_cv_path_FGREP="$GREP -F"
7829 if test -z "$FGREP"; then
7830 ac_path_FGREP_found=false
7831 # Loop through the user's path and test for each of PROGNAME-LIST
7832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7833 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7836 test -z "$as_dir" && as_dir=.
7837 for ac_prog in fgrep; do
7838 for ac_exec_ext in '' $ac_executable_extensions; do
7839 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
7840 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
7841 # Check for GNU ac_path_FGREP and select it if it is found.
7842 # Check for GNU $ac_path_FGREP
7843 case `"$ac_path_FGREP" --version 2>&1` in
7845 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
7848 $as_echo_n 0123456789 >"conftest.in"
7851 cat "conftest.in" "conftest.in" >"conftest.tmp"
7852 mv "conftest.tmp" "conftest.in"
7853 cp "conftest.in" "conftest.nl"
7854 $as_echo 'FGREP' >> "conftest.nl"
7855 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
7856 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7857 as_fn_arith $ac_count + 1 && ac_count=$as_val
7858 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7859 # Best one so far, save it but keep looking for a better one
7860 ac_cv_path_FGREP="$ac_path_FGREP"
7861 ac_path_FGREP_max=$ac_count
7863 # 10*(2^10) chars as input seems more than enough
7864 test $ac_count -gt 10 && break
7866 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7869 $ac_path_FGREP_found && break 3
7874 if test -z "$ac_cv_path_FGREP"; then
7875 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7878 ac_cv_path_FGREP=$FGREP
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7884 $as_echo "$ac_cv_path_FGREP" >&6; }
7885 FGREP="$ac_cv_path_FGREP"
7888 test -z "$GREP" && GREP=grep
7908 # Check whether --with-gnu-ld was given.
7909 if test "${with_gnu_ld+set}" = set; then :
7910 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7916 if test "$GCC" = yes; then
7917 # Check if gcc -print-prog-name=ld gives a path.
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7919 $as_echo_n "checking for ld used by $CC... " >&6; }
7922 # gcc leaves a trailing carriage return which upsets mingw
7923 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7925 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7928 # Accept absolute paths.
7930 re_direlt='/[^/][^/]*/\.\./'
7931 # Canonicalize the pathname of ld
7932 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7933 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
7934 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7936 test -z "$LD" && LD="$ac_prog"
7939 # If it fails, then pretend we aren't using GCC.
7943 # If it is relative, then search for the first ld in PATH.
7947 elif test "$with_gnu_ld" = yes; then
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7949 $as_echo_n "checking for GNU ld... " >&6; }
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7952 $as_echo_n "checking for non-GNU ld... " >&6; }
7954 if ${lt_cv_path_LD+:} false; then :
7955 $as_echo_n "(cached) " >&6
7957 if test -z "$LD"; then
7958 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7959 for ac_dir in $PATH; do
7961 test -z "$ac_dir" && ac_dir=.
7962 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7963 lt_cv_path_LD="$ac_dir/$ac_prog"
7964 # Check to see if the program is GNU ld. I'd rather use --version,
7965 # but apparently some variants of GNU ld only accept -v.
7966 # Break only if it was the GNU/non-GNU ld that we prefer.
7967 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7968 *GNU* | *'with BFD'*)
7969 test "$with_gnu_ld" != no && break
7972 test "$with_gnu_ld" != yes && break
7979 lt_cv_path_LD="$LD" # Let the user override the test with a path.
7984 if test -n "$LD"; then
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7986 $as_echo "$LD" >&6; }
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7989 $as_echo "no" >&6; }
7991 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7993 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7994 if ${lt_cv_prog_gnu_ld+:} false; then :
7995 $as_echo_n "(cached) " >&6
7997 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7998 case `$LD -v 2>&1 </dev/null` in
7999 *GNU* | *'with BFD'*)
8000 lt_cv_prog_gnu_ld=yes
8003 lt_cv_prog_gnu_ld=no
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
8008 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
8009 with_gnu_ld=$lt_cv_prog_gnu_ld
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
8020 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
8021 if ${lt_cv_path_NM+:} false; then :
8022 $as_echo_n "(cached) " >&6
8024 if test -n "$NM"; then
8025 # Let the user override the test.
8028 lt_nm_to_check="${ac_tool_prefix}nm"
8029 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
8030 lt_nm_to_check="$lt_nm_to_check nm"
8032 for lt_tmp_nm in $lt_nm_to_check; do
8033 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8034 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
8036 test -z "$ac_dir" && ac_dir=.
8037 tmp_nm="$ac_dir/$lt_tmp_nm"
8038 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
8039 # Check to see if the nm accepts a BSD-compat flag.
8040 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
8041 # nm: unknown option "B" ignored
8042 # Tru64's nm complains that /dev/null is an invalid object file
8043 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
8044 */dev/null* | *'Invalid file or object type'*)
8045 lt_cv_path_NM="$tmp_nm -B"
8049 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
8051 lt_cv_path_NM="$tmp_nm -p"
8055 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
8056 continue # so that we can try to find one that supports BSD flags
8065 : ${lt_cv_path_NM=no}
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
8069 $as_echo "$lt_cv_path_NM" >&6; }
8070 if test "$lt_cv_path_NM" != "no"; then
8073 # Didn't find any BSD compatible name lister, look for dumpbin.
8074 if test -n "$DUMPBIN"; then :
8075 # Let the user override the test.
8077 if test -n "$ac_tool_prefix"; then
8078 for ac_prog in dumpbin "link -dump"
8080 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8081 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8083 $as_echo_n "checking for $ac_word... " >&6; }
8084 if ${ac_cv_prog_DUMPBIN+:} false; then :
8085 $as_echo_n "(cached) " >&6
8087 if test -n "$DUMPBIN"; then
8088 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
8090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8094 test -z "$as_dir" && as_dir=.
8095 for ac_exec_ext in '' $ac_executable_extensions; do
8096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8097 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
8098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8107 DUMPBIN=$ac_cv_prog_DUMPBIN
8108 if test -n "$DUMPBIN"; then
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
8110 $as_echo "$DUMPBIN" >&6; }
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8113 $as_echo "no" >&6; }
8117 test -n "$DUMPBIN" && break
8120 if test -z "$DUMPBIN"; then
8121 ac_ct_DUMPBIN=$DUMPBIN
8122 for ac_prog in dumpbin "link -dump"
8124 # Extract the first word of "$ac_prog", so it can be a program name with args.
8125 set dummy $ac_prog; ac_word=$2
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8127 $as_echo_n "checking for $ac_word... " >&6; }
8128 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
8129 $as_echo_n "(cached) " >&6
8131 if test -n "$ac_ct_DUMPBIN"; then
8132 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
8134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8138 test -z "$as_dir" && as_dir=.
8139 for ac_exec_ext in '' $ac_executable_extensions; do
8140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8141 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
8142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8151 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
8152 if test -n "$ac_ct_DUMPBIN"; then
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
8154 $as_echo "$ac_ct_DUMPBIN" >&6; }
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8157 $as_echo "no" >&6; }
8161 test -n "$ac_ct_DUMPBIN" && break
8164 if test "x$ac_ct_DUMPBIN" = x; then
8167 case $cross_compiling:$ac_tool_warned in
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8171 ac_tool_warned=yes ;;
8173 DUMPBIN=$ac_ct_DUMPBIN
8177 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
8179 DUMPBIN="$DUMPBIN -symbols"
8187 if test "$DUMPBIN" != ":"; then
8191 test -z "$NM" && NM=nm
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
8199 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
8200 if ${lt_cv_nm_interface+:} false; then :
8201 $as_echo_n "(cached) " >&6
8203 lt_cv_nm_interface="BSD nm"
8204 echo "int some_variable = 0;" > conftest.$ac_ext
8205 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
8206 (eval "$ac_compile" 2>conftest.err)
8207 cat conftest.err >&5
8208 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
8209 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
8210 cat conftest.err >&5
8211 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
8212 cat conftest.out >&5
8213 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
8214 lt_cv_nm_interface="MS dumpbin"
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
8219 $as_echo "$lt_cv_nm_interface" >&6; }
8221 # find the maximum length of command line arguments
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
8223 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
8224 if ${lt_cv_sys_max_cmd_len+:} false; then :
8225 $as_echo_n "(cached) " >&6
8232 # On DJGPP, this test can blow up pretty badly due to problems in libc
8233 # (any single argument exceeding 2000 bytes causes a buffer overrun
8234 # during glob expansion). Even if it were fixed, the result of this
8235 # check would be larger than it should be.
8236 lt_cv_sys_max_cmd_len=12288; # 12K is about right
8240 # Under GNU Hurd, this test is not required because there is
8241 # no limit to the length of command line arguments.
8242 # Libtool will interpret -1 as no limit whatsoever
8243 lt_cv_sys_max_cmd_len=-1;
8246 cygwin* | mingw* | cegcc*)
8247 # On Win9x/ME, this test blows up -- it succeeds, but takes
8248 # about 5 minutes as the teststring grows exponentially.
8249 # Worse, since 9x/ME are not pre-emptively multitasking,
8250 # you end up with a "frozen" computer, even though with patience
8251 # the test eventually succeeds (with a max line length of 256k).
8252 # Instead, let's just punt: use the minimum linelength reported by
8253 # all of the supported platforms: 8192 (on NT/2K/XP).
8254 lt_cv_sys_max_cmd_len=8192;
8258 # On MiNT this can take a long time and run out of memory.
8259 lt_cv_sys_max_cmd_len=8192;
8263 # On AmigaOS with pdksh, this test takes hours, literally.
8264 # So we just punt and use a minimum line length of 8192.
8265 lt_cv_sys_max_cmd_len=8192;
8268 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
8269 # This has been around since 386BSD, at least. Likely further.
8270 if test -x /sbin/sysctl; then
8271 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
8272 elif test -x /usr/sbin/sysctl; then
8273 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
8275 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
8277 # And add a safety zone
8278 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8279 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8283 # We know the value 262144 and hardcode it with a safety zone (like BSD)
8284 lt_cv_sys_max_cmd_len=196608
8288 # The test takes a long time on OS/2.
8289 lt_cv_sys_max_cmd_len=8192
8293 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
8294 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
8295 # nice to cause kernel panics so lets avoid the loop below.
8296 # First set a reasonable default.
8297 lt_cv_sys_max_cmd_len=16384
8299 if test -x /sbin/sysconfig; then
8300 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
8301 *1*) lt_cv_sys_max_cmd_len=-1 ;;
8306 lt_cv_sys_max_cmd_len=102400
8308 sysv5* | sco5v6* | sysv4.2uw2*)
8309 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
8310 if test -n "$kargmax"; then
8311 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
8313 lt_cv_sys_max_cmd_len=32768
8317 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
8318 if test -n "$lt_cv_sys_max_cmd_len"; then
8319 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8320 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8322 # Make teststring a little bigger before we do anything with it.
8323 # a 1K string should be a reasonable start.
8324 for i in 1 2 3 4 5 6 7 8 ; do
8325 teststring=$teststring$teststring
8327 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
8328 # If test is not a shell built-in, we'll probably end up computing a
8329 # maximum length that is only half of the actual maximum length, but
8331 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
8332 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
8333 test $i != 17 # 1/2 MB should be enough
8336 teststring=$teststring$teststring
8338 # Only check the string length outside the loop.
8339 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
8341 # Add a significant safety factor because C++ compilers can tack on
8342 # massive amounts of additional arguments before passing them to the
8343 # linker. It appears as though 1/2 is a usable value.
8344 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
8351 if test -n $lt_cv_sys_max_cmd_len ; then
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
8353 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
8356 $as_echo "none" >&6; }
8358 max_cmd_len=$lt_cv_sys_max_cmd_len
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
8370 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
8371 # Try some XSI features
8374 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
8376 && eval 'test $(( 1 + 1 )) -eq 2 \
8377 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
8380 $as_echo "$xsi_shell" >&6; }
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
8384 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
8386 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
8388 && lt_shell_append=yes
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
8390 $as_echo "$lt_shell_append" >&6; }
8393 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8403 # test EBCDIC or ASCII
8404 case `echo X|tr X '\101'` in
8405 A) # ASCII based system
8406 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
8407 lt_SP2NL='tr \040 \012'
8408 lt_NL2SP='tr \015\012 \040\040'
8410 *) # EBCDIC based system
8411 lt_SP2NL='tr \100 \n'
8412 lt_NL2SP='tr \r\n \100\100'
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
8425 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
8426 if ${lt_cv_to_host_file_cmd+:} false; then :
8427 $as_echo_n "(cached) " >&6
8432 *-*-mingw* ) # actually msys
8433 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
8436 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
8438 * ) # otherwise, assume *nix
8439 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
8445 *-*-mingw* ) # actually msys
8446 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
8449 lt_cv_to_host_file_cmd=func_convert_file_noop
8451 * ) # otherwise, assume *nix
8452 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
8456 * ) # unhandled hosts (and "normal" native builds)
8457 lt_cv_to_host_file_cmd=func_convert_file_noop
8463 to_host_file_cmd=$lt_cv_to_host_file_cmd
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
8465 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
8472 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
8473 if ${lt_cv_to_tool_file_cmd+:} false; then :
8474 $as_echo_n "(cached) " >&6
8476 #assume ordinary cross tools, or native build.
8477 lt_cv_to_tool_file_cmd=func_convert_file_noop
8481 *-*-mingw* ) # actually msys
8482 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
8490 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
8492 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
8499 $as_echo_n "checking for $LD option to reload object files... " >&6; }
8500 if ${lt_cv_ld_reload_flag+:} false; then :
8501 $as_echo_n "(cached) " >&6
8503 lt_cv_ld_reload_flag='-r'
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
8506 $as_echo "$lt_cv_ld_reload_flag" >&6; }
8507 reload_flag=$lt_cv_ld_reload_flag
8508 case $reload_flag in
8510 *) reload_flag=" $reload_flag" ;;
8512 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8514 cygwin* | mingw* | pw32* | cegcc*)
8515 if test "$GCC" != yes; then
8520 if test "$GCC" = yes; then
8521 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
8523 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8536 if test -n "$ac_tool_prefix"; then
8537 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8538 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8540 $as_echo_n "checking for $ac_word... " >&6; }
8541 if ${ac_cv_prog_OBJDUMP+:} false; then :
8542 $as_echo_n "(cached) " >&6
8544 if test -n "$OBJDUMP"; then
8545 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8551 test -z "$as_dir" && as_dir=.
8552 for ac_exec_ext in '' $ac_executable_extensions; do
8553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8554 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8564 OBJDUMP=$ac_cv_prog_OBJDUMP
8565 if test -n "$OBJDUMP"; then
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8567 $as_echo "$OBJDUMP" >&6; }
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8570 $as_echo "no" >&6; }
8575 if test -z "$ac_cv_prog_OBJDUMP"; then
8576 ac_ct_OBJDUMP=$OBJDUMP
8577 # Extract the first word of "objdump", so it can be a program name with args.
8578 set dummy objdump; ac_word=$2
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8580 $as_echo_n "checking for $ac_word... " >&6; }
8581 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8582 $as_echo_n "(cached) " >&6
8584 if test -n "$ac_ct_OBJDUMP"; then
8585 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8591 test -z "$as_dir" && as_dir=.
8592 for ac_exec_ext in '' $ac_executable_extensions; do
8593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8594 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8604 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8605 if test -n "$ac_ct_OBJDUMP"; then
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8607 $as_echo "$ac_ct_OBJDUMP" >&6; }
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8610 $as_echo "no" >&6; }
8613 if test "x$ac_ct_OBJDUMP" = x; then
8616 case $cross_compiling:$ac_tool_warned in
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8620 ac_tool_warned=yes ;;
8622 OBJDUMP=$ac_ct_OBJDUMP
8625 OBJDUMP="$ac_cv_prog_OBJDUMP"
8628 test -z "$OBJDUMP" && OBJDUMP=objdump
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8639 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
8640 if ${lt_cv_deplibs_check_method+:} false; then :
8641 $as_echo_n "(cached) " >&6
8643 lt_cv_file_magic_cmd='$MAGIC_CMD'
8644 lt_cv_file_magic_test_file=
8645 lt_cv_deplibs_check_method='unknown'
8646 # Need to set the preceding variable on all platforms that support
8647 # interlibrary dependencies.
8648 # 'none' -- dependencies not supported.
8649 # `unknown' -- same as none, but documents that we really don't know.
8650 # 'pass_all' -- all dependencies passed with no checks.
8651 # 'test_compile' -- check by making test program.
8652 # 'file_magic [[regex]]' -- check by looking for files in library path
8653 # which responds to the $file_magic_cmd with a given extended regex.
8654 # If you have `file' or equivalent on your system and you're not sure
8655 # whether `pass_all' will *always* work, you probably want this one.
8659 lt_cv_deplibs_check_method=pass_all
8663 lt_cv_deplibs_check_method=pass_all
8667 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8668 lt_cv_file_magic_cmd='/usr/bin/file -L'
8669 lt_cv_file_magic_test_file=/shlib/libc.so
8673 # func_win32_libid is a shell function defined in ltmain.sh
8674 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8675 lt_cv_file_magic_cmd='func_win32_libid'
8679 # Base MSYS/MinGW do not provide the 'file' command needed by
8680 # func_win32_libid shell function, so use a weaker test based on 'objdump',
8681 # unless we find 'file', for example because we are cross-compiling.
8682 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
8683 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
8684 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8685 lt_cv_file_magic_cmd='func_win32_libid'
8687 # Keep this pattern in sync with the one in func_win32_libid.
8688 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
8689 lt_cv_file_magic_cmd='$OBJDUMP -f'
8694 # use the weaker test based on 'objdump'. See mingw*.
8695 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8696 lt_cv_file_magic_cmd='$OBJDUMP -f'
8699 darwin* | rhapsody*)
8700 lt_cv_deplibs_check_method=pass_all
8703 freebsd* | dragonfly*)
8704 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8707 # Not sure whether the presence of OpenBSD here was a mistake.
8708 # Let's accept both of them until this is cleared up.
8709 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8710 lt_cv_file_magic_cmd=/usr/bin/file
8711 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8715 lt_cv_deplibs_check_method=pass_all
8720 lt_cv_deplibs_check_method=pass_all
8724 lt_cv_deplibs_check_method=pass_all
8727 hpux10.20* | hpux11*)
8728 lt_cv_file_magic_cmd=/usr/bin/file
8731 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8732 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8735 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
8736 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8739 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8740 lt_cv_file_magic_test_file=/usr/lib/libc.sl
8746 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8747 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8750 irix5* | irix6* | nonstopux*)
8752 *-32|*"-32 ") libmagic=32-bit;;
8753 *-n32|*"-n32 ") libmagic=N32;;
8754 *-64|*"-64 ") libmagic=64-bit;;
8755 *) libmagic=never-match;;
8757 lt_cv_deplibs_check_method=pass_all
8760 # This must be glibc/ELF.
8761 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8762 lt_cv_deplibs_check_method=pass_all
8766 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8767 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8769 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8774 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8775 lt_cv_file_magic_cmd=/usr/bin/file
8776 lt_cv_file_magic_test_file=/usr/lib/libnls.so
8780 lt_cv_deplibs_check_method=pass_all
8784 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8785 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8787 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8791 osf3* | osf4* | osf5*)
8792 lt_cv_deplibs_check_method=pass_all
8796 lt_cv_deplibs_check_method=pass_all
8800 lt_cv_deplibs_check_method=pass_all
8803 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8804 lt_cv_deplibs_check_method=pass_all
8808 case $host_vendor in
8810 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]'
8811 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8814 lt_cv_deplibs_check_method=pass_all
8817 lt_cv_file_magic_cmd='/bin/file'
8818 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8821 lt_cv_file_magic_cmd='/bin/file'
8822 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8823 lt_cv_file_magic_test_file=/lib/libc.so
8826 lt_cv_deplibs_check_method=pass_all
8829 lt_cv_deplibs_check_method=pass_all
8835 lt_cv_deplibs_check_method=pass_all
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8841 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8845 if test "$build" = "$host"; then
8848 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
8851 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
8857 file_magic_cmd=$lt_cv_file_magic_cmd
8858 deplibs_check_method=$lt_cv_deplibs_check_method
8859 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8882 if test -n "$ac_tool_prefix"; then
8883 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8884 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8886 $as_echo_n "checking for $ac_word... " >&6; }
8887 if ${ac_cv_prog_DLLTOOL+:} false; then :
8888 $as_echo_n "(cached) " >&6
8890 if test -n "$DLLTOOL"; then
8891 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8897 test -z "$as_dir" && as_dir=.
8898 for ac_exec_ext in '' $ac_executable_extensions; do
8899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8900 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8910 DLLTOOL=$ac_cv_prog_DLLTOOL
8911 if test -n "$DLLTOOL"; then
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8913 $as_echo "$DLLTOOL" >&6; }
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8916 $as_echo "no" >&6; }
8921 if test -z "$ac_cv_prog_DLLTOOL"; then
8922 ac_ct_DLLTOOL=$DLLTOOL
8923 # Extract the first word of "dlltool", so it can be a program name with args.
8924 set dummy dlltool; ac_word=$2
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8926 $as_echo_n "checking for $ac_word... " >&6; }
8927 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8928 $as_echo_n "(cached) " >&6
8930 if test -n "$ac_ct_DLLTOOL"; then
8931 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8937 test -z "$as_dir" && as_dir=.
8938 for ac_exec_ext in '' $ac_executable_extensions; do
8939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8940 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8950 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8951 if test -n "$ac_ct_DLLTOOL"; then
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8953 $as_echo "$ac_ct_DLLTOOL" >&6; }
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8956 $as_echo "no" >&6; }
8959 if test "x$ac_ct_DLLTOOL" = x; then
8962 case $cross_compiling:$ac_tool_warned in
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8965 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8966 ac_tool_warned=yes ;;
8968 DLLTOOL=$ac_ct_DLLTOOL
8971 DLLTOOL="$ac_cv_prog_DLLTOOL"
8974 test -z "$DLLTOOL" && DLLTOOL=dlltool
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8986 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
8987 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
8988 $as_echo_n "(cached) " >&6
8990 lt_cv_sharedlib_from_linklib_cmd='unknown'
8993 cygwin* | mingw* | pw32* | cegcc*)
8994 # two different shell functions defined in ltmain.sh
8995 # decide which to use based on capabilities of $DLLTOOL
8996 case `$DLLTOOL --help 2>&1` in
8997 *--identify-strict*)
8998 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
9001 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
9006 # fallback: assume linklib IS sharedlib
9007 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
9013 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
9014 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
9015 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
9023 if test -n "$ac_tool_prefix"; then
9026 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9027 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9029 $as_echo_n "checking for $ac_word... " >&6; }
9030 if ${ac_cv_prog_AR+:} false; then :
9031 $as_echo_n "(cached) " >&6
9033 if test -n "$AR"; then
9034 ac_cv_prog_AR="$AR" # Let the user override the test.
9036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9040 test -z "$as_dir" && as_dir=.
9041 for ac_exec_ext in '' $ac_executable_extensions; do
9042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9043 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
9044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9054 if test -n "$AR"; then
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
9056 $as_echo "$AR" >&6; }
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9059 $as_echo "no" >&6; }
9063 test -n "$AR" && break
9066 if test -z "$AR"; then
9070 # Extract the first word of "$ac_prog", so it can be a program name with args.
9071 set dummy $ac_prog; ac_word=$2
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9073 $as_echo_n "checking for $ac_word... " >&6; }
9074 if ${ac_cv_prog_ac_ct_AR+:} false; then :
9075 $as_echo_n "(cached) " >&6
9077 if test -n "$ac_ct_AR"; then
9078 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9084 test -z "$as_dir" && as_dir=.
9085 for ac_exec_ext in '' $ac_executable_extensions; do
9086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9087 ac_cv_prog_ac_ct_AR="$ac_prog"
9088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9097 ac_ct_AR=$ac_cv_prog_ac_ct_AR
9098 if test -n "$ac_ct_AR"; then
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
9100 $as_echo "$ac_ct_AR" >&6; }
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9103 $as_echo "no" >&6; }
9107 test -n "$ac_ct_AR" && break
9110 if test "x$ac_ct_AR" = x; then
9113 case $cross_compiling:$ac_tool_warned in
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9117 ac_tool_warned=yes ;;
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
9137 $as_echo_n "checking for archiver @FILE support... " >&6; }
9138 if ${lt_cv_ar_at_file+:} false; then :
9139 $as_echo_n "(cached) " >&6
9142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9143 /* end confdefs.h. */
9153 if ac_fn_c_try_compile "$LINENO"; then :
9154 echo conftest.$ac_objext > conftest.lst
9155 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
9156 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9157 (eval $lt_ar_try) 2>&5
9159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9160 test $ac_status = 0; }
9161 if test "$ac_status" -eq 0; then
9162 # Ensure the archiver fails upon bogus file names.
9163 rm -f conftest.$ac_objext libconftest.a
9164 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9165 (eval $lt_ar_try) 2>&5
9167 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9168 test $ac_status = 0; }
9169 if test "$ac_status" -ne 0; then
9173 rm -f conftest.* libconftest.a
9176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
9180 $as_echo "$lt_cv_ar_at_file" >&6; }
9182 if test "x$lt_cv_ar_at_file" = xno; then
9185 archiver_list_spec=$lt_cv_ar_at_file
9194 if test -n "$ac_tool_prefix"; then
9195 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9196 set dummy ${ac_tool_prefix}strip; ac_word=$2
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9198 $as_echo_n "checking for $ac_word... " >&6; }
9199 if ${ac_cv_prog_STRIP+:} false; then :
9200 $as_echo_n "(cached) " >&6
9202 if test -n "$STRIP"; then
9203 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9209 test -z "$as_dir" && as_dir=.
9210 for ac_exec_ext in '' $ac_executable_extensions; do
9211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9212 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
9213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9222 STRIP=$ac_cv_prog_STRIP
9223 if test -n "$STRIP"; then
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9225 $as_echo "$STRIP" >&6; }
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9228 $as_echo "no" >&6; }
9233 if test -z "$ac_cv_prog_STRIP"; then
9235 # Extract the first word of "strip", so it can be a program name with args.
9236 set dummy strip; ac_word=$2
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9238 $as_echo_n "checking for $ac_word... " >&6; }
9239 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
9240 $as_echo_n "(cached) " >&6
9242 if test -n "$ac_ct_STRIP"; then
9243 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
9245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9249 test -z "$as_dir" && as_dir=.
9250 for ac_exec_ext in '' $ac_executable_extensions; do
9251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9252 ac_cv_prog_ac_ct_STRIP="strip"
9253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9262 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
9263 if test -n "$ac_ct_STRIP"; then
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
9265 $as_echo "$ac_ct_STRIP" >&6; }
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9268 $as_echo "no" >&6; }
9271 if test "x$ac_ct_STRIP" = x; then
9274 case $cross_compiling:$ac_tool_warned in
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9277 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9278 ac_tool_warned=yes ;;
9283 STRIP="$ac_cv_prog_STRIP"
9286 test -z "$STRIP" && STRIP=:
9293 if test -n "$ac_tool_prefix"; then
9294 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9295 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9297 $as_echo_n "checking for $ac_word... " >&6; }
9298 if ${ac_cv_prog_RANLIB+:} false; then :
9299 $as_echo_n "(cached) " >&6
9301 if test -n "$RANLIB"; then
9302 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9308 test -z "$as_dir" && as_dir=.
9309 for ac_exec_ext in '' $ac_executable_extensions; do
9310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9311 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
9312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9321 RANLIB=$ac_cv_prog_RANLIB
9322 if test -n "$RANLIB"; then
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
9324 $as_echo "$RANLIB" >&6; }
9326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9327 $as_echo "no" >&6; }
9332 if test -z "$ac_cv_prog_RANLIB"; then
9333 ac_ct_RANLIB=$RANLIB
9334 # Extract the first word of "ranlib", so it can be a program name with args.
9335 set dummy ranlib; ac_word=$2
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9337 $as_echo_n "checking for $ac_word... " >&6; }
9338 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
9339 $as_echo_n "(cached) " >&6
9341 if test -n "$ac_ct_RANLIB"; then
9342 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
9344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9348 test -z "$as_dir" && as_dir=.
9349 for ac_exec_ext in '' $ac_executable_extensions; do
9350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9351 ac_cv_prog_ac_ct_RANLIB="ranlib"
9352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9361 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9362 if test -n "$ac_ct_RANLIB"; then
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
9364 $as_echo "$ac_ct_RANLIB" >&6; }
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9367 $as_echo "no" >&6; }
9370 if test "x$ac_ct_RANLIB" = x; then
9373 case $cross_compiling:$ac_tool_warned in
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9376 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9377 ac_tool_warned=yes ;;
9379 RANLIB=$ac_ct_RANLIB
9382 RANLIB="$ac_cv_prog_RANLIB"
9385 test -z "$RANLIB" && RANLIB=:
9392 # Determine commands to create old-style static archives.
9393 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
9394 old_postinstall_cmds='chmod 644 $oldlib'
9395 old_postuninstall_cmds=
9397 if test -n "$RANLIB"; then
9400 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
9403 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
9406 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
9411 lock_old_archive_extraction=yes ;;
9413 lock_old_archive_extraction=no ;;
9454 # If no C compiler was specified, use CC.
9457 # If no C compiler flags were specified, use CFLAGS.
9458 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9460 # Allow CC to be a program name with arguments.
9464 # Check for command to grab the raw symbol name followed by C symbol from nm.
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
9466 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
9467 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
9468 $as_echo_n "(cached) " >&6
9471 # These are sane defaults that work on at least a few old systems.
9472 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9474 # Character class describing NM global symbol codes.
9475 symcode='[BCDEGRST]'
9477 # Regexp to match symbols that can be accessed directly from C.
9478 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9480 # Define system-specific variables.
9485 cygwin* | mingw* | pw32* | cegcc*)
9486 symcode='[ABCDGISTW]'
9489 if test "$host_cpu" = ia64; then
9490 symcode='[ABCDEGRST]'
9494 symcode='[BCDEGRST]'
9497 symcode='[BCDEGQRST]'
9508 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9516 # If we're using GNU nm, then use its standard symbol codes.
9517 case `$NM -V 2>&1` in
9518 *GNU* | *'with BFD'*)
9519 symcode='[ABCDGIRSTW]' ;;
9522 # Transform an extracted symbol line into a proper C declaration.
9523 # Some systems (esp. on ia64) link data and code symbols differently,
9524 # so use this general approach.
9525 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9527 # Transform an extracted symbol line into symbol name and symbol address
9528 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
9529 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'"
9531 # Handle CRLF in mingw tool chain
9535 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9539 # Try without a prefix underscore, then with it.
9540 for ac_symprfx in "" "_"; do
9542 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9543 symxfrm="\\1 $ac_symprfx\\2 \\2"
9545 # Write the raw and C identifiers.
9546 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9547 # Fake it for dumpbin and say T for any non-static function
9548 # and D for any global variable.
9549 # Also find C++ and __fastcall symbols from MSVC++,
9550 # which start with @ or ?.
9551 lt_cv_sys_global_symbol_pipe="$AWK '"\
9552 " {last_section=section; section=\$ 3};"\
9553 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
9554 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
9555 " \$ 0!~/External *\|/{next};"\
9556 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
9557 " {if(hide[section]) next};"\
9558 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
9559 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
9560 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
9561 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
9562 " ' prfx=^$ac_symprfx"
9564 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9566 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
9568 # Check to see that the pipe works correctly.
9572 cat > conftest.$ac_ext <<_LT_EOF
9577 void nm_test_func(void);
9578 void nm_test_func(void){}
9582 int main(){nm_test_var='a';nm_test_func();return(0);}
9585 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9586 (eval $ac_compile) 2>&5
9588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9589 test $ac_status = 0; }; then
9590 # Now try to grab the symbols.
9592 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
9593 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
9595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9596 test $ac_status = 0; } && test -s "$nlist"; then
9597 # Try sorting and uniquifying the output.
9598 if sort "$nlist" | uniq > "$nlist"T; then
9599 mv -f "$nlist"T "$nlist"
9604 # Make sure that we snagged all the symbols we need.
9605 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
9606 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
9607 cat <<_LT_EOF > conftest.$ac_ext
9608 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
9609 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
9610 /* DATA imports from DLLs on WIN32 con't be const, because runtime
9611 relocations are performed -- see ld's documentation on pseudo-relocs. */
9612 # define LT_DLSYM_CONST
9613 #elif defined(__osf__)
9614 /* This system does not cope well with relocations in const data. */
9615 # define LT_DLSYM_CONST
9617 # define LT_DLSYM_CONST const
9625 # Now generate the symbol file.
9626 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9628 cat <<_LT_EOF >> conftest.$ac_ext
9630 /* The mapping between symbol names and symbols. */
9631 LT_DLSYM_CONST struct {
9635 lt__PROGRAM__LTX_preloaded_symbols[] =
9637 { "@PROGRAM@", (void *) 0 },
9639 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
9640 cat <<\_LT_EOF >> conftest.$ac_ext
9644 /* This works around a problem in FreeBSD linker */
9645 #ifdef FREEBSD_WORKAROUND
9646 static const void *lt_preloaded_setup() {
9647 return lt__PROGRAM__LTX_preloaded_symbols;
9655 # Now try linking the two files.
9656 mv conftest.$ac_objext conftstm.$ac_objext
9657 lt_globsym_save_LIBS=$LIBS
9658 lt_globsym_save_CFLAGS=$CFLAGS
9659 LIBS="conftstm.$ac_objext"
9660 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9661 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9662 (eval $ac_link) 2>&5
9664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9665 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
9668 LIBS=$lt_globsym_save_LIBS
9669 CFLAGS=$lt_globsym_save_CFLAGS
9671 echo "cannot find nm_test_func in $nlist" >&5
9674 echo "cannot find nm_test_var in $nlist" >&5
9677 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9680 echo "$progname: failed program was:" >&5
9681 cat conftest.$ac_ext >&5
9683 rm -rf conftest* conftst*
9685 # Do not use the global_symbol_pipe unless it works.
9686 if test "$pipe_works" = yes; then
9689 lt_cv_sys_global_symbol_pipe=
9695 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9696 lt_cv_sys_global_symbol_to_cdecl=
9698 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
9700 $as_echo "failed" >&6; }
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9703 $as_echo "ok" >&6; }
9706 # Response file support.
9707 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9708 nm_file_list_spec='@'
9709 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
9710 nm_file_list_spec='@'
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9740 $as_echo_n "checking for sysroot... " >&6; }
9742 # Check whether --with-sysroot was given.
9743 if test "${with_sysroot+set}" = set; then :
9744 withval=$with_sysroot;
9751 case ${with_sysroot} in #(
9753 if test "$GCC" = yes; then
9754 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
9758 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
9764 $as_echo "${with_sysroot}" >&6; }
9765 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
9769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9770 $as_echo "${lt_sysroot:-no}" >&6; }
9776 # Check whether --enable-libtool-lock was given.
9777 if test "${enable_libtool_lock+set}" = set; then :
9778 enableval=$enable_libtool_lock;
9781 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
9783 # Some flags need to be propagated to the compiler or linker for good
9787 # Find out which ABI we are using.
9788 echo 'int i;' > conftest.$ac_ext
9789 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9790 (eval $ac_compile) 2>&5
9792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9793 test $ac_status = 0; }; then
9794 case `/usr/bin/file conftest.$ac_objext` in
9806 # Find out which ABI we are using.
9807 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
9808 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9809 (eval $ac_compile) 2>&5
9811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9812 test $ac_status = 0; }; then
9813 if test "$lt_cv_prog_gnu_ld" = yes; then
9814 case `/usr/bin/file conftest.$ac_objext` in
9816 LD="${LD-ld} -melf32bsmip"
9819 LD="${LD-ld} -melf32bmipn32"
9822 LD="${LD-ld} -melf64bmip"
9826 case `/usr/bin/file conftest.$ac_objext` in
9842 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
9843 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
9844 # Find out which ABI we are using.
9845 echo 'int i;' > conftest.$ac_ext
9846 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9847 (eval $ac_compile) 2>&5
9849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9850 test $ac_status = 0; }; then
9851 case `/usr/bin/file conftest.o` in
9854 x86_64-*kfreebsd*-gnu)
9855 LD="${LD-ld} -m elf_i386_fbsd"
9858 LD="${LD-ld} -m elf_i386"
9860 ppc64-*linux*|powerpc64-*linux*)
9861 LD="${LD-ld} -m elf32ppclinux"
9864 LD="${LD-ld} -m elf_s390"
9867 LD="${LD-ld} -m elf32_sparc"
9873 x86_64-*kfreebsd*-gnu)
9874 LD="${LD-ld} -m elf_x86_64_fbsd"
9877 LD="${LD-ld} -m elf_x86_64"
9879 ppc*-*linux*|powerpc*-*linux*)
9880 LD="${LD-ld} -m elf64ppc"
9882 s390*-*linux*|s390*-*tpf*)
9883 LD="${LD-ld} -m elf64_s390"
9886 LD="${LD-ld} -m elf64_sparc"
9896 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9897 SAVE_CFLAGS="$CFLAGS"
9898 CFLAGS="$CFLAGS -belf"
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9900 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9901 if ${lt_cv_cc_needs_belf+:} false; then :
9902 $as_echo_n "(cached) " >&6
9905 ac_cpp='$CPP $CPPFLAGS'
9906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9910 if test x$ac_no_link = xyes; then
9911 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
9913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9914 /* end confdefs.h. */
9924 if ac_fn_c_try_link "$LINENO"; then :
9925 lt_cv_cc_needs_belf=yes
9927 lt_cv_cc_needs_belf=no
9929 rm -f core conftest.err conftest.$ac_objext \
9930 conftest$ac_exeext conftest.$ac_ext
9932 ac_cpp='$CPP $CPPFLAGS'
9933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9939 $as_echo "$lt_cv_cc_needs_belf" >&6; }
9940 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
9941 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9942 CFLAGS="$SAVE_CFLAGS"
9946 # Find out which ABI we are using.
9947 echo 'int i;' > conftest.$ac_ext
9948 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9949 (eval $ac_compile) 2>&5
9951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9952 test $ac_status = 0; }; then
9953 case `/usr/bin/file conftest.o` in
9955 case $lt_cv_prog_gnu_ld in
9959 LD="${LD-ld} -m elf_x86_64"
9962 LD="${LD-ld} -m elf64_sparc"
9965 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
9966 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
9971 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9983 need_locks="$enable_libtool_lock"
9985 if test -n "$ac_tool_prefix"; then
9986 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
9987 set dummy ${ac_tool_prefix}mt; ac_word=$2
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9989 $as_echo_n "checking for $ac_word... " >&6; }
9990 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
9991 $as_echo_n "(cached) " >&6
9993 if test -n "$MANIFEST_TOOL"; then
9994 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
9996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10000 test -z "$as_dir" && as_dir=.
10001 for ac_exec_ext in '' $ac_executable_extensions; do
10002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10003 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
10004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10013 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
10014 if test -n "$MANIFEST_TOOL"; then
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
10016 $as_echo "$MANIFEST_TOOL" >&6; }
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10019 $as_echo "no" >&6; }
10024 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
10025 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
10026 # Extract the first word of "mt", so it can be a program name with args.
10027 set dummy mt; ac_word=$2
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10029 $as_echo_n "checking for $ac_word... " >&6; }
10030 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
10031 $as_echo_n "(cached) " >&6
10033 if test -n "$ac_ct_MANIFEST_TOOL"; then
10034 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
10036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10037 for as_dir in $PATH
10040 test -z "$as_dir" && as_dir=.
10041 for ac_exec_ext in '' $ac_executable_extensions; do
10042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10043 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
10044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10053 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
10054 if test -n "$ac_ct_MANIFEST_TOOL"; then
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
10056 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10059 $as_echo "no" >&6; }
10062 if test "x$ac_ct_MANIFEST_TOOL" = x; then
10065 case $cross_compiling:$ac_tool_warned in
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10069 ac_tool_warned=yes ;;
10071 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
10074 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
10077 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
10079 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
10080 if ${lt_cv_path_mainfest_tool+:} false; then :
10081 $as_echo_n "(cached) " >&6
10083 lt_cv_path_mainfest_tool=no
10084 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
10085 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
10086 cat conftest.err >&5
10087 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
10088 lt_cv_path_mainfest_tool=yes
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
10093 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
10094 if test "x$lt_cv_path_mainfest_tool" != xyes; then
10104 rhapsody* | darwin*)
10105 if test -n "$ac_tool_prefix"; then
10106 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
10107 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10109 $as_echo_n "checking for $ac_word... " >&6; }
10110 if ${ac_cv_prog_DSYMUTIL+:} false; then :
10111 $as_echo_n "(cached) " >&6
10113 if test -n "$DSYMUTIL"; then
10114 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
10116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10117 for as_dir in $PATH
10120 test -z "$as_dir" && as_dir=.
10121 for ac_exec_ext in '' $ac_executable_extensions; do
10122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10123 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
10124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10133 DSYMUTIL=$ac_cv_prog_DSYMUTIL
10134 if test -n "$DSYMUTIL"; then
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
10136 $as_echo "$DSYMUTIL" >&6; }
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10139 $as_echo "no" >&6; }
10144 if test -z "$ac_cv_prog_DSYMUTIL"; then
10145 ac_ct_DSYMUTIL=$DSYMUTIL
10146 # Extract the first word of "dsymutil", so it can be a program name with args.
10147 set dummy dsymutil; ac_word=$2
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10149 $as_echo_n "checking for $ac_word... " >&6; }
10150 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
10151 $as_echo_n "(cached) " >&6
10153 if test -n "$ac_ct_DSYMUTIL"; then
10154 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
10156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10157 for as_dir in $PATH
10160 test -z "$as_dir" && as_dir=.
10161 for ac_exec_ext in '' $ac_executable_extensions; do
10162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10163 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
10164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10173 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
10174 if test -n "$ac_ct_DSYMUTIL"; then
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
10176 $as_echo "$ac_ct_DSYMUTIL" >&6; }
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10179 $as_echo "no" >&6; }
10182 if test "x$ac_ct_DSYMUTIL" = x; then
10185 case $cross_compiling:$ac_tool_warned in
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10189 ac_tool_warned=yes ;;
10191 DSYMUTIL=$ac_ct_DSYMUTIL
10194 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
10197 if test -n "$ac_tool_prefix"; then
10198 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
10199 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10201 $as_echo_n "checking for $ac_word... " >&6; }
10202 if ${ac_cv_prog_NMEDIT+:} false; then :
10203 $as_echo_n "(cached) " >&6
10205 if test -n "$NMEDIT"; then
10206 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
10208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10209 for as_dir in $PATH
10212 test -z "$as_dir" && as_dir=.
10213 for ac_exec_ext in '' $ac_executable_extensions; do
10214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10215 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
10216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10225 NMEDIT=$ac_cv_prog_NMEDIT
10226 if test -n "$NMEDIT"; then
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
10228 $as_echo "$NMEDIT" >&6; }
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10231 $as_echo "no" >&6; }
10236 if test -z "$ac_cv_prog_NMEDIT"; then
10237 ac_ct_NMEDIT=$NMEDIT
10238 # Extract the first word of "nmedit", so it can be a program name with args.
10239 set dummy nmedit; ac_word=$2
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10241 $as_echo_n "checking for $ac_word... " >&6; }
10242 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
10243 $as_echo_n "(cached) " >&6
10245 if test -n "$ac_ct_NMEDIT"; then
10246 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
10248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10249 for as_dir in $PATH
10252 test -z "$as_dir" && as_dir=.
10253 for ac_exec_ext in '' $ac_executable_extensions; do
10254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10255 ac_cv_prog_ac_ct_NMEDIT="nmedit"
10256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10265 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
10266 if test -n "$ac_ct_NMEDIT"; then
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
10268 $as_echo "$ac_ct_NMEDIT" >&6; }
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10271 $as_echo "no" >&6; }
10274 if test "x$ac_ct_NMEDIT" = x; then
10277 case $cross_compiling:$ac_tool_warned in
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10280 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10281 ac_tool_warned=yes ;;
10283 NMEDIT=$ac_ct_NMEDIT
10286 NMEDIT="$ac_cv_prog_NMEDIT"
10289 if test -n "$ac_tool_prefix"; then
10290 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
10291 set dummy ${ac_tool_prefix}lipo; ac_word=$2
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10293 $as_echo_n "checking for $ac_word... " >&6; }
10294 if ${ac_cv_prog_LIPO+:} false; then :
10295 $as_echo_n "(cached) " >&6
10297 if test -n "$LIPO"; then
10298 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
10300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10301 for as_dir in $PATH
10304 test -z "$as_dir" && as_dir=.
10305 for ac_exec_ext in '' $ac_executable_extensions; do
10306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10307 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
10308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10317 LIPO=$ac_cv_prog_LIPO
10318 if test -n "$LIPO"; then
10319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
10320 $as_echo "$LIPO" >&6; }
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10323 $as_echo "no" >&6; }
10328 if test -z "$ac_cv_prog_LIPO"; then
10330 # Extract the first word of "lipo", so it can be a program name with args.
10331 set dummy lipo; ac_word=$2
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10333 $as_echo_n "checking for $ac_word... " >&6; }
10334 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
10335 $as_echo_n "(cached) " >&6
10337 if test -n "$ac_ct_LIPO"; then
10338 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
10340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10341 for as_dir in $PATH
10344 test -z "$as_dir" && as_dir=.
10345 for ac_exec_ext in '' $ac_executable_extensions; do
10346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10347 ac_cv_prog_ac_ct_LIPO="lipo"
10348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10357 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
10358 if test -n "$ac_ct_LIPO"; then
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
10360 $as_echo "$ac_ct_LIPO" >&6; }
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10363 $as_echo "no" >&6; }
10366 if test "x$ac_ct_LIPO" = x; then
10369 case $cross_compiling:$ac_tool_warned in
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10372 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10373 ac_tool_warned=yes ;;
10378 LIPO="$ac_cv_prog_LIPO"
10381 if test -n "$ac_tool_prefix"; then
10382 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
10383 set dummy ${ac_tool_prefix}otool; ac_word=$2
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10385 $as_echo_n "checking for $ac_word... " >&6; }
10386 if ${ac_cv_prog_OTOOL+:} false; then :
10387 $as_echo_n "(cached) " >&6
10389 if test -n "$OTOOL"; then
10390 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
10392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10393 for as_dir in $PATH
10396 test -z "$as_dir" && as_dir=.
10397 for ac_exec_ext in '' $ac_executable_extensions; do
10398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10399 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
10400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10409 OTOOL=$ac_cv_prog_OTOOL
10410 if test -n "$OTOOL"; then
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10412 $as_echo "$OTOOL" >&6; }
10414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10415 $as_echo "no" >&6; }
10420 if test -z "$ac_cv_prog_OTOOL"; then
10422 # Extract the first word of "otool", so it can be a program name with args.
10423 set dummy otool; ac_word=$2
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10425 $as_echo_n "checking for $ac_word... " >&6; }
10426 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
10427 $as_echo_n "(cached) " >&6
10429 if test -n "$ac_ct_OTOOL"; then
10430 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
10432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10433 for as_dir in $PATH
10436 test -z "$as_dir" && as_dir=.
10437 for ac_exec_ext in '' $ac_executable_extensions; do
10438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10439 ac_cv_prog_ac_ct_OTOOL="otool"
10440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10449 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
10450 if test -n "$ac_ct_OTOOL"; then
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
10452 $as_echo "$ac_ct_OTOOL" >&6; }
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10455 $as_echo "no" >&6; }
10458 if test "x$ac_ct_OTOOL" = x; then
10461 case $cross_compiling:$ac_tool_warned in
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10464 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10465 ac_tool_warned=yes ;;
10470 OTOOL="$ac_cv_prog_OTOOL"
10473 if test -n "$ac_tool_prefix"; then
10474 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
10475 set dummy ${ac_tool_prefix}otool64; ac_word=$2
10476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10477 $as_echo_n "checking for $ac_word... " >&6; }
10478 if ${ac_cv_prog_OTOOL64+:} false; then :
10479 $as_echo_n "(cached) " >&6
10481 if test -n "$OTOOL64"; then
10482 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
10484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10485 for as_dir in $PATH
10488 test -z "$as_dir" && as_dir=.
10489 for ac_exec_ext in '' $ac_executable_extensions; do
10490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10491 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
10492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10501 OTOOL64=$ac_cv_prog_OTOOL64
10502 if test -n "$OTOOL64"; then
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
10504 $as_echo "$OTOOL64" >&6; }
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10507 $as_echo "no" >&6; }
10512 if test -z "$ac_cv_prog_OTOOL64"; then
10513 ac_ct_OTOOL64=$OTOOL64
10514 # Extract the first word of "otool64", so it can be a program name with args.
10515 set dummy otool64; ac_word=$2
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10517 $as_echo_n "checking for $ac_word... " >&6; }
10518 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
10519 $as_echo_n "(cached) " >&6
10521 if test -n "$ac_ct_OTOOL64"; then
10522 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
10524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10525 for as_dir in $PATH
10528 test -z "$as_dir" && as_dir=.
10529 for ac_exec_ext in '' $ac_executable_extensions; do
10530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10531 ac_cv_prog_ac_ct_OTOOL64="otool64"
10532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10541 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
10542 if test -n "$ac_ct_OTOOL64"; then
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
10544 $as_echo "$ac_ct_OTOOL64" >&6; }
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10547 $as_echo "no" >&6; }
10550 if test "x$ac_ct_OTOOL64" = x; then
10553 case $cross_compiling:$ac_tool_warned in
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10556 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10557 ac_tool_warned=yes ;;
10559 OTOOL64=$ac_ct_OTOOL64
10562 OTOOL64="$ac_cv_prog_OTOOL64"
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
10592 $as_echo_n "checking for -single_module linker flag... " >&6; }
10593 if ${lt_cv_apple_cc_single_mod+:} false; then :
10594 $as_echo_n "(cached) " >&6
10596 lt_cv_apple_cc_single_mod=no
10597 if test -z "${LT_MULTI_MODULE}"; then
10598 # By default we will add the -single_module flag. You can override
10599 # by either setting the environment variable LT_MULTI_MODULE
10600 # non-empty at configure time, or by adding -multi_module to the
10602 rm -rf libconftest.dylib*
10603 echo "int foo(void){return 1;}" > conftest.c
10604 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10605 -dynamiclib -Wl,-single_module conftest.c" >&5
10606 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10607 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
10609 # If there is a non-empty error log, and "single_module"
10610 # appears in it, assume the flag caused a linker warning
10611 if test -s conftest.err && $GREP single_module conftest.err; then
10612 cat conftest.err >&5
10613 # Otherwise, if the output was created with a 0 exit code from
10614 # the compiler, it worked.
10615 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
10616 lt_cv_apple_cc_single_mod=yes
10618 cat conftest.err >&5
10620 rm -rf libconftest.dylib*
10624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
10625 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
10628 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
10629 if ${lt_cv_ld_exported_symbols_list+:} false; then :
10630 $as_echo_n "(cached) " >&6
10632 lt_cv_ld_exported_symbols_list=no
10633 save_LDFLAGS=$LDFLAGS
10634 echo "_main" > conftest.sym
10635 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10636 if test x$ac_no_link = xyes; then
10637 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
10639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10640 /* end confdefs.h. */
10650 if ac_fn_c_try_link "$LINENO"; then :
10651 lt_cv_ld_exported_symbols_list=yes
10653 lt_cv_ld_exported_symbols_list=no
10655 rm -f core conftest.err conftest.$ac_objext \
10656 conftest$ac_exeext conftest.$ac_ext
10657 LDFLAGS="$save_LDFLAGS"
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
10661 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
10664 $as_echo_n "checking for -force_load linker flag... " >&6; }
10665 if ${lt_cv_ld_force_load+:} false; then :
10666 $as_echo_n "(cached) " >&6
10668 lt_cv_ld_force_load=no
10669 cat > conftest.c << _LT_EOF
10670 int forced_loaded() { return 2;}
10672 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
10673 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
10674 echo "$AR cru libconftest.a conftest.o" >&5
10675 $AR cru libconftest.a conftest.o 2>&5
10676 echo "$RANLIB libconftest.a" >&5
10677 $RANLIB libconftest.a 2>&5
10678 cat > conftest.c << _LT_EOF
10679 int main() { return 0;}
10681 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
10682 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
10684 if test -s conftest.err && $GREP force_load conftest.err; then
10685 cat conftest.err >&5
10686 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
10687 lt_cv_ld_force_load=yes
10689 cat conftest.err >&5
10691 rm -f conftest.err libconftest.a conftest conftest.c
10692 rm -rf conftest.dSYM
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
10696 $as_echo "$lt_cv_ld_force_load" >&6; }
10698 rhapsody* | darwin1.[012])
10699 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
10701 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10702 darwin*) # darwin 5.x on
10703 # if running on 10.5 or later, the deployment target defaults
10704 # to the OS version, if on x86, and 10.4, the deployment
10705 # target defaults to 10.4. Don't you love it?
10706 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10707 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
10708 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10710 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10712 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10716 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
10717 _lt_dar_single_mod='$single_module'
10719 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
10720 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
10722 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
10724 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
10725 _lt_dsymutil='~$DSYMUTIL $lib || :'
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
10733 $as_echo_n "checking for ANSI C header files... " >&6; }
10734 if ${ac_cv_header_stdc+:} false; then :
10735 $as_echo_n "(cached) " >&6
10737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10738 /* end confdefs.h. */
10739 #include <stdlib.h>
10740 #include <stdarg.h>
10741 #include <string.h>
10752 if ac_fn_c_try_compile "$LINENO"; then :
10753 ac_cv_header_stdc=yes
10755 ac_cv_header_stdc=no
10757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10759 if test $ac_cv_header_stdc = yes; then
10760 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10762 /* end confdefs.h. */
10763 #include <string.h>
10766 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10767 $EGREP "memchr" >/dev/null 2>&1; then :
10770 ac_cv_header_stdc=no
10776 if test $ac_cv_header_stdc = yes; then
10777 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10779 /* end confdefs.h. */
10780 #include <stdlib.h>
10783 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10784 $EGREP "free" >/dev/null 2>&1; then :
10787 ac_cv_header_stdc=no
10793 if test $ac_cv_header_stdc = yes; then
10794 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10795 if test "$cross_compiling" = yes; then :
10798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10799 /* end confdefs.h. */
10801 #include <stdlib.h>
10802 #if ((' ' & 0x0FF) == 0x020)
10803 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10804 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10806 # define ISLOWER(c) \
10807 (('a' <= (c) && (c) <= 'i') \
10808 || ('j' <= (c) && (c) <= 'r') \
10809 || ('s' <= (c) && (c) <= 'z'))
10810 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10813 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10818 for (i = 0; i < 256; i++)
10819 if (XOR (islower (i), ISLOWER (i))
10820 || toupper (i) != TOUPPER (i))
10825 if ac_fn_c_try_run "$LINENO"; then :
10828 ac_cv_header_stdc=no
10830 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10831 conftest.$ac_objext conftest.beam conftest.$ac_ext
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
10837 $as_echo "$ac_cv_header_stdc" >&6; }
10838 if test $ac_cv_header_stdc = yes; then
10840 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
10844 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
10845 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
10846 inttypes.h stdint.h unistd.h
10848 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10849 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
10851 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10852 cat >>confdefs.h <<_ACEOF
10853 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10861 for ac_header in dlfcn.h
10863 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10865 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
10866 cat >>confdefs.h <<_ACEOF
10867 #define HAVE_DLFCN_H 1
10876 func_stripname_cnf ()
10879 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
10880 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
10882 } # func_stripname_cnf
10895 enable_win32_dll=no
10898 # Check whether --enable-shared was given.
10899 if test "${enable_shared+set}" = set; then :
10900 enableval=$enable_shared; p=${PACKAGE-default}
10902 yes) enable_shared=yes ;;
10903 no) enable_shared=no ;;
10906 # Look at the argument we got. We use all the common list separators.
10907 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10908 for pkg in $enableval; do
10910 if test "X$pkg" = "X$p"; then
10929 # Check whether --enable-static was given.
10930 if test "${enable_static+set}" = set; then :
10931 enableval=$enable_static; p=${PACKAGE-default}
10933 yes) enable_static=yes ;;
10934 no) enable_static=no ;;
10937 # Look at the argument we got. We use all the common list separators.
10938 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10939 for pkg in $enableval; do
10941 if test "X$pkg" = "X$p"; then
10961 # Check whether --with-pic was given.
10962 if test "${with_pic+set}" = set; then :
10963 withval=$with_pic; lt_p=${PACKAGE-default}
10965 yes|no) pic_mode=$withval ;;
10968 # Look at the argument we got. We use all the common list separators.
10969 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10970 for lt_pkg in $withval; do
10972 if test "X$lt_pkg" = "X$lt_p"; then
10984 test -z "$pic_mode" && pic_mode=default
10992 # Check whether --enable-fast-install was given.
10993 if test "${enable_fast_install+set}" = set; then :
10994 enableval=$enable_fast_install; p=${PACKAGE-default}
10996 yes) enable_fast_install=yes ;;
10997 no) enable_fast_install=no ;;
10999 enable_fast_install=no
11000 # Look at the argument we got. We use all the common list separators.
11001 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11002 for pkg in $enableval; do
11004 if test "X$pkg" = "X$p"; then
11005 enable_fast_install=yes
11012 enable_fast_install=yes
11025 # This can be used to rebuild libtool when needed
11026 LIBTOOL_DEPS="$ltmain"
11028 # Always use our own libtool.
11029 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
11060 test -z "$LN_S" && LN_S="ln -s"
11075 if test -n "${ZSH_VERSION+set}" ; then
11076 setopt NO_GLOB_SUBST
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
11080 $as_echo_n "checking for objdir... " >&6; }
11081 if ${lt_cv_objdir+:} false; then :
11082 $as_echo_n "(cached) " >&6
11084 rm -f .libs 2>/dev/null
11085 mkdir .libs 2>/dev/null
11086 if test -d .libs; then
11089 # MS-DOS does not allow filenames that begin with a dot.
11092 rmdir .libs 2>/dev/null
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
11095 $as_echo "$lt_cv_objdir" >&6; }
11096 objdir=$lt_cv_objdir
11102 cat >>confdefs.h <<_ACEOF
11103 #define LT_OBJDIR "$lt_cv_objdir/"
11111 # AIX sometimes has problems with the GCC collect2 program. For some
11112 # reason, if we set the COLLECT_NAMES environment variable, the problems
11113 # vanish in a puff of smoke.
11114 if test "X${COLLECT_NAMES+set}" != Xset; then
11116 export COLLECT_NAMES
11121 # Global variables:
11123 can_build_shared=yes
11125 # All known linkers require a `.a' archive for static linking (except MSVC,
11126 # which needs '.lib').
11129 with_gnu_ld="$lt_cv_prog_gnu_ld"
11132 old_CFLAGS="$CFLAGS"
11134 # Set sane defaults for various variables
11135 test -z "$CC" && CC=cc
11136 test -z "$LTCC" && LTCC=$CC
11137 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
11138 test -z "$LD" && LD=ld
11139 test -z "$ac_objext" && ac_objext=o
11141 for cc_temp in $compiler""; do
11143 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11144 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11149 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11152 # Only perform the check for file, if the check method requires it
11153 test -z "$MAGIC_CMD" && MAGIC_CMD=file
11154 case $deplibs_check_method in
11156 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
11158 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
11159 if ${lt_cv_path_MAGIC_CMD+:} false; then :
11160 $as_echo_n "(cached) " >&6
11164 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11167 lt_save_MAGIC_CMD="$MAGIC_CMD"
11168 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11169 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11170 for ac_dir in $ac_dummy; do
11172 test -z "$ac_dir" && ac_dir=.
11173 if test -f $ac_dir/${ac_tool_prefix}file; then
11174 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
11175 if test -n "$file_magic_test_file"; then
11176 case $deplibs_check_method in
11178 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11179 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11180 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11181 $EGREP "$file_magic_regex" > /dev/null; then
11186 *** Warning: the command libtool uses to detect shared libraries,
11187 *** $file_magic_cmd, produces output that libtool cannot recognize.
11188 *** The result is that libtool may fail to recognize shared libraries
11189 *** as such. This will affect the creation of libtool libraries that
11190 *** depend on shared libraries, but programs linked with such libtool
11191 *** libraries will work regardless of this problem. Nevertheless, you
11192 *** may want to report the problem to your system manager and/or to
11193 *** bug-libtool@gnu.org
11203 MAGIC_CMD="$lt_save_MAGIC_CMD"
11208 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11209 if test -n "$MAGIC_CMD"; then
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11211 $as_echo "$MAGIC_CMD" >&6; }
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11214 $as_echo "no" >&6; }
11221 if test -z "$lt_cv_path_MAGIC_CMD"; then
11222 if test -n "$ac_tool_prefix"; then
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
11224 $as_echo_n "checking for file... " >&6; }
11225 if ${lt_cv_path_MAGIC_CMD+:} false; then :
11226 $as_echo_n "(cached) " >&6
11230 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11233 lt_save_MAGIC_CMD="$MAGIC_CMD"
11234 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11235 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11236 for ac_dir in $ac_dummy; do
11238 test -z "$ac_dir" && ac_dir=.
11239 if test -f $ac_dir/file; then
11240 lt_cv_path_MAGIC_CMD="$ac_dir/file"
11241 if test -n "$file_magic_test_file"; then
11242 case $deplibs_check_method in
11244 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11245 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11246 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11247 $EGREP "$file_magic_regex" > /dev/null; then
11252 *** Warning: the command libtool uses to detect shared libraries,
11253 *** $file_magic_cmd, produces output that libtool cannot recognize.
11254 *** The result is that libtool may fail to recognize shared libraries
11255 *** as such. This will affect the creation of libtool libraries that
11256 *** depend on shared libraries, but programs linked with such libtool
11257 *** libraries will work regardless of this problem. Nevertheless, you
11258 *** may want to report the problem to your system manager and/or to
11259 *** bug-libtool@gnu.org
11269 MAGIC_CMD="$lt_save_MAGIC_CMD"
11274 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11275 if test -n "$MAGIC_CMD"; then
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11277 $as_echo "$MAGIC_CMD" >&6; }
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11280 $as_echo "no" >&6; }
11293 # Use C for the default configuration in the libtool script
11297 ac_cpp='$CPP $CPPFLAGS'
11298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11303 # Source file extension for C test sources.
11306 # Object file extension for compiled C test sources.
11310 # Code to be used in simple compile tests
11311 lt_simple_compile_test_code="int some_variable = 0;"
11313 # Code to be used in simple link tests
11314 lt_simple_link_test_code='int main(){return(0);}'
11322 # If no C compiler was specified, use CC.
11325 # If no C compiler flags were specified, use CFLAGS.
11326 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11328 # Allow CC to be a program name with arguments.
11331 # Save the default compiler, since it gets overwritten when the other
11332 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
11333 compiler_DEFAULT=$CC
11335 # save warnings/boilerplate of simple test code
11336 ac_outfile=conftest.$ac_objext
11337 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11338 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11339 _lt_compiler_boilerplate=`cat conftest.err`
11342 ac_outfile=conftest.$ac_objext
11343 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11344 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11345 _lt_linker_boilerplate=`cat conftest.err`
11350 ## There is no encapsulation within the following macros, do not change
11351 ## the running order or otherwise move them around unless you know exactly
11352 ## what you are doing...
11353 if test -n "$compiler"; then
11355 lt_prog_compiler_no_builtin_flag=
11357 if test "$GCC" = yes; then
11358 case $cc_basename in
11360 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
11362 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11366 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11367 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
11368 $as_echo_n "(cached) " >&6
11370 lt_cv_prog_compiler_rtti_exceptions=no
11371 ac_outfile=conftest.$ac_objext
11372 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11373 lt_compiler_flag="-fno-rtti -fno-exceptions"
11374 # Insert the option either (1) after the last *FLAGS variable, or
11375 # (2) before a word containing "conftest.", or (3) at the end.
11376 # Note that $ac_compile itself does not contain backslashes and begins
11377 # with a dollar sign (not a hyphen), so the echo should work correctly.
11378 # The option is referenced via a variable to avoid confusing sed.
11379 lt_compile=`echo "$ac_compile" | $SED \
11380 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11381 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11382 -e 's:$: $lt_compiler_flag:'`
11383 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11384 (eval "$lt_compile" 2>conftest.err)
11386 cat conftest.err >&5
11387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11388 if (exit $ac_status) && test -s "$ac_outfile"; then
11389 # The compiler can only warn and ignore the option if not recognized
11390 # So say no if there are warnings other than the usual output.
11391 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11392 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11393 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11394 lt_cv_prog_compiler_rtti_exceptions=yes
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11401 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11403 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
11404 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11416 lt_prog_compiler_wl=
11417 lt_prog_compiler_pic=
11418 lt_prog_compiler_static=
11421 if test "$GCC" = yes; then
11422 lt_prog_compiler_wl='-Wl,'
11423 lt_prog_compiler_static='-static'
11427 # All AIX code is PIC.
11428 if test "$host_cpu" = ia64; then
11429 # AIX 5 now supports IA64 processor
11430 lt_prog_compiler_static='-Bstatic'
11437 # see comment about AmigaOS4 .so support
11438 lt_prog_compiler_pic='-fPIC'
11441 # FIXME: we need at least 68020 code to build shared libraries, but
11442 # adding the `-m68020' flag to GCC prevents building anything better,
11444 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
11449 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11450 # PIC is the default for these OSes.
11453 mingw* | cygwin* | pw32* | os2* | cegcc*)
11454 # This hack is so that the source file can tell whether it is being
11455 # built for inclusion in a dll (and should export symbols for example).
11456 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11457 # (--disable-auto-import) libraries
11458 lt_prog_compiler_pic='-DDLL_EXPORT'
11461 darwin* | rhapsody*)
11462 # PIC is the default on this platform
11463 # Common symbols not allowed in MH_DYLIB files
11464 lt_prog_compiler_pic='-fno-common'
11468 # PIC is the default for Haiku.
11469 # The "-static" flag exists, but is broken.
11470 lt_prog_compiler_static=
11474 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11475 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11476 # sets the default TLS model and affects inlining.
11482 lt_prog_compiler_pic='-fPIC'
11488 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11489 # Instead, we relocate shared libraries at runtime.
11493 # Just because we use GCC doesn't mean we suddenly get shared libraries
11494 # on systems that don't support them.
11495 lt_prog_compiler_can_build_shared=no
11500 # QNX uses GNU C++, but need to define -shared option too, otherwise
11501 # it will coredump.
11502 lt_prog_compiler_pic='-fPIC -shared'
11506 if test -d /usr/nec; then
11507 lt_prog_compiler_pic=-Kconform_pic
11512 lt_prog_compiler_pic='-fPIC'
11516 case $cc_basename in
11517 nvcc*) # Cuda Compiler Driver 2.2
11518 lt_prog_compiler_wl='-Xlinker '
11519 if test -n "$lt_prog_compiler_pic"; then
11520 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
11525 # PORTME Check for flag to pass linker flags through the system compiler.
11528 lt_prog_compiler_wl='-Wl,'
11529 if test "$host_cpu" = ia64; then
11530 # AIX 5 now supports IA64 processor
11531 lt_prog_compiler_static='-Bstatic'
11533 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
11537 mingw* | cygwin* | pw32* | os2* | cegcc*)
11538 # This hack is so that the source file can tell whether it is being
11539 # built for inclusion in a dll (and should export symbols for example).
11540 lt_prog_compiler_pic='-DDLL_EXPORT'
11543 hpux9* | hpux10* | hpux11*)
11544 lt_prog_compiler_wl='-Wl,'
11545 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11546 # not for PA HP-UX.
11552 lt_prog_compiler_pic='+Z'
11555 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11556 lt_prog_compiler_static='${wl}-a ${wl}archive'
11559 irix5* | irix6* | nonstopux*)
11560 lt_prog_compiler_wl='-Wl,'
11561 # PIC (with -KPIC) is the default.
11562 lt_prog_compiler_static='-non_shared'
11565 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11566 case $cc_basename in
11567 # old Intel for x86_64 which still supported -KPIC.
11569 lt_prog_compiler_wl='-Wl,'
11570 lt_prog_compiler_pic='-KPIC'
11571 lt_prog_compiler_static='-static'
11573 # icc used to be incompatible with GCC.
11574 # ICC 10 doesn't accept -KPIC any more.
11576 lt_prog_compiler_wl='-Wl,'
11577 lt_prog_compiler_pic='-fPIC'
11578 lt_prog_compiler_static='-static'
11580 # Lahey Fortran 8.1.
11582 lt_prog_compiler_wl='-Wl,'
11583 lt_prog_compiler_pic='--shared'
11584 lt_prog_compiler_static='--static'
11587 # NAG Fortran compiler
11588 lt_prog_compiler_wl='-Wl,-Wl,,'
11589 lt_prog_compiler_pic='-PIC'
11590 lt_prog_compiler_static='-Bstatic'
11592 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
11593 # Portland Group compilers (*not* the Pentium gcc compiler,
11594 # which looks to be a dead project)
11595 lt_prog_compiler_wl='-Wl,'
11596 lt_prog_compiler_pic='-fpic'
11597 lt_prog_compiler_static='-Bstatic'
11600 lt_prog_compiler_wl='-Wl,'
11601 # All Alpha code is PIC.
11602 lt_prog_compiler_static='-non_shared'
11604 xl* | bgxl* | bgf* | mpixl*)
11605 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11606 lt_prog_compiler_wl='-Wl,'
11607 lt_prog_compiler_pic='-qpic'
11608 lt_prog_compiler_static='-qstaticlink'
11611 case `$CC -V 2>&1 | sed 5q` in
11612 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
11613 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11614 lt_prog_compiler_pic='-KPIC'
11615 lt_prog_compiler_static='-Bstatic'
11616 lt_prog_compiler_wl=''
11618 *Sun\ F* | *Sun*Fortran*)
11619 lt_prog_compiler_pic='-KPIC'
11620 lt_prog_compiler_static='-Bstatic'
11621 lt_prog_compiler_wl='-Qoption ld '
11625 lt_prog_compiler_pic='-KPIC'
11626 lt_prog_compiler_static='-Bstatic'
11627 lt_prog_compiler_wl='-Wl,'
11629 *Intel*\ [CF]*Compiler*)
11630 lt_prog_compiler_wl='-Wl,'
11631 lt_prog_compiler_pic='-fPIC'
11632 lt_prog_compiler_static='-static'
11635 lt_prog_compiler_wl='-Wl,'
11636 lt_prog_compiler_pic='-fpic'
11637 lt_prog_compiler_static='-Bstatic'
11645 lt_prog_compiler_pic='-KPIC'
11646 lt_prog_compiler_static='-Bstatic'
11650 # QNX uses GNU C++, but need to define -shared option too, otherwise
11651 # it will coredump.
11652 lt_prog_compiler_pic='-fPIC -shared'
11655 osf3* | osf4* | osf5*)
11656 lt_prog_compiler_wl='-Wl,'
11657 # All OSF/1 code is PIC.
11658 lt_prog_compiler_static='-non_shared'
11662 lt_prog_compiler_static='-non_shared'
11666 lt_prog_compiler_pic='-KPIC'
11667 lt_prog_compiler_static='-Bstatic'
11668 case $cc_basename in
11669 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
11670 lt_prog_compiler_wl='-Qoption ld ';;
11672 lt_prog_compiler_wl='-Wl,';;
11677 lt_prog_compiler_wl='-Qoption ld '
11678 lt_prog_compiler_pic='-PIC'
11679 lt_prog_compiler_static='-Bstatic'
11682 sysv4 | sysv4.2uw2* | sysv4.3*)
11683 lt_prog_compiler_wl='-Wl,'
11684 lt_prog_compiler_pic='-KPIC'
11685 lt_prog_compiler_static='-Bstatic'
11689 if test -d /usr/nec ;then
11690 lt_prog_compiler_pic='-Kconform_pic'
11691 lt_prog_compiler_static='-Bstatic'
11695 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11696 lt_prog_compiler_wl='-Wl,'
11697 lt_prog_compiler_pic='-KPIC'
11698 lt_prog_compiler_static='-Bstatic'
11702 lt_prog_compiler_wl='-Wl,'
11703 lt_prog_compiler_can_build_shared=no
11707 lt_prog_compiler_pic='-pic'
11708 lt_prog_compiler_static='-Bstatic'
11712 lt_prog_compiler_can_build_shared=no
11718 # For platforms which do not support PIC, -DPIC is meaningless:
11720 lt_prog_compiler_pic=
11723 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11728 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11729 if ${lt_cv_prog_compiler_pic+:} false; then :
11730 $as_echo_n "(cached) " >&6
11732 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
11735 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
11736 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
11739 # Check to make sure the PIC flag actually works.
11741 if test -n "$lt_prog_compiler_pic"; then
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11743 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11744 if ${lt_cv_prog_compiler_pic_works+:} false; then :
11745 $as_echo_n "(cached) " >&6
11747 lt_cv_prog_compiler_pic_works=no
11748 ac_outfile=conftest.$ac_objext
11749 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11750 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
11751 # Insert the option either (1) after the last *FLAGS variable, or
11752 # (2) before a word containing "conftest.", or (3) at the end.
11753 # Note that $ac_compile itself does not contain backslashes and begins
11754 # with a dollar sign (not a hyphen), so the echo should work correctly.
11755 # The option is referenced via a variable to avoid confusing sed.
11756 lt_compile=`echo "$ac_compile" | $SED \
11757 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11758 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11759 -e 's:$: $lt_compiler_flag:'`
11760 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11761 (eval "$lt_compile" 2>conftest.err)
11763 cat conftest.err >&5
11764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11765 if (exit $ac_status) && test -s "$ac_outfile"; then
11766 # The compiler can only warn and ignore the option if not recognized
11767 # So say no if there are warnings other than the usual output.
11768 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11769 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11770 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11771 lt_cv_prog_compiler_pic_works=yes
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11778 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11780 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
11781 case $lt_prog_compiler_pic in
11783 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
11786 lt_prog_compiler_pic=
11787 lt_prog_compiler_can_build_shared=no
11803 # Check to make sure the static flag actually works.
11805 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11807 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11808 if ${lt_cv_prog_compiler_static_works+:} false; then :
11809 $as_echo_n "(cached) " >&6
11811 lt_cv_prog_compiler_static_works=no
11812 save_LDFLAGS="$LDFLAGS"
11813 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11814 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11815 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11816 # The linker can only warn and ignore the option if not recognized
11817 # So say no if there are warnings
11818 if test -s conftest.err; then
11819 # Append any errors to the config.log.
11820 cat conftest.err 1>&5
11821 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11822 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11823 if diff conftest.exp conftest.er2 >/dev/null; then
11824 lt_cv_prog_compiler_static_works=yes
11827 lt_cv_prog_compiler_static_works=yes
11831 LDFLAGS="$save_LDFLAGS"
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11835 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11837 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
11840 lt_prog_compiler_static=
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11850 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11851 if ${lt_cv_prog_compiler_c_o+:} false; then :
11852 $as_echo_n "(cached) " >&6
11854 lt_cv_prog_compiler_c_o=no
11855 $RM -r conftest 2>/dev/null
11859 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11861 lt_compiler_flag="-o out/conftest2.$ac_objext"
11862 # Insert the option either (1) after the last *FLAGS variable, or
11863 # (2) before a word containing "conftest.", or (3) at the end.
11864 # Note that $ac_compile itself does not contain backslashes and begins
11865 # with a dollar sign (not a hyphen), so the echo should work correctly.
11866 lt_compile=`echo "$ac_compile" | $SED \
11867 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11868 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11869 -e 's:$: $lt_compiler_flag:'`
11870 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11871 (eval "$lt_compile" 2>out/conftest.err)
11873 cat out/conftest.err >&5
11874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11875 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11877 # The compiler can only warn and ignore the option if not recognized
11878 # So say no if there are warnings
11879 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11880 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11881 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11882 lt_cv_prog_compiler_c_o=yes
11887 # SGI C++ compiler will create directory out/ii_files/ for
11888 # template instantiation
11889 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11890 $RM out/* && rmdir out
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11897 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11905 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11906 if ${lt_cv_prog_compiler_c_o+:} false; then :
11907 $as_echo_n "(cached) " >&6
11909 lt_cv_prog_compiler_c_o=no
11910 $RM -r conftest 2>/dev/null
11914 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11916 lt_compiler_flag="-o out/conftest2.$ac_objext"
11917 # Insert the option either (1) after the last *FLAGS variable, or
11918 # (2) before a word containing "conftest.", or (3) at the end.
11919 # Note that $ac_compile itself does not contain backslashes and begins
11920 # with a dollar sign (not a hyphen), so the echo should work correctly.
11921 lt_compile=`echo "$ac_compile" | $SED \
11922 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11923 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11924 -e 's:$: $lt_compiler_flag:'`
11925 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11926 (eval "$lt_compile" 2>out/conftest.err)
11928 cat out/conftest.err >&5
11929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11930 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11932 # The compiler can only warn and ignore the option if not recognized
11933 # So say no if there are warnings
11934 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11935 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11936 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11937 lt_cv_prog_compiler_c_o=yes
11942 # SGI C++ compiler will create directory out/ii_files/ for
11943 # template instantiation
11944 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11945 $RM out/* && rmdir out
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11952 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11957 hard_links="nottested"
11958 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
11959 # do not overwrite the value of need_locks provided by the user
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11961 $as_echo_n "checking if we can lock with hard links... " >&6; }
11964 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11966 ln conftest.a conftest.b 2>&5 || hard_links=no
11967 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11969 $as_echo "$hard_links" >&6; }
11970 if test "$hard_links" = no; then
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11972 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11985 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11988 allow_undefined_flag=
11989 always_export_symbols=no
11991 archive_expsym_cmds=
11992 compiler_needs_object=no
11993 enable_shared_with_static_runtimes=no
11994 export_dynamic_flag_spec=
11995 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11996 hardcode_automatic=no
11998 hardcode_direct_absolute=no
11999 hardcode_libdir_flag_spec=
12000 hardcode_libdir_separator=
12001 hardcode_minus_L=no
12002 hardcode_shlibpath_var=unsupported
12004 link_all_deplibs=unknown
12006 module_expsym_cmds=
12007 old_archive_from_new_cmds=
12008 old_archive_from_expsyms_cmds=
12009 thread_safe_flag_spec=
12010 whole_archive_flag_spec=
12011 # include_expsyms should be a list of space-separated symbols to be *always*
12012 # included in the symbol list
12014 # exclude_expsyms can be an extended regexp of symbols to exclude
12015 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12016 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12017 # as well as any symbol that contains `d'.
12018 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12019 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12020 # platforms (ab)use it in PIC code, but their linkers get confused if
12021 # the symbol is explicitly referenced. Since portable code cannot
12022 # rely on this symbol name, it's probably fine to never include it in
12023 # preloaded symbol tables.
12024 # Exclude shared library initialization/finalization symbols.
12025 extract_expsyms_cmds=
12028 cygwin* | mingw* | pw32* | cegcc*)
12029 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12030 # When not using gcc, we currently assume that we are using
12031 # Microsoft Visual C++.
12032 if test "$GCC" != yes; then
12037 # we just hope/assume this is gcc and not c89 (= MSVC++)
12047 # On some targets, GNU ld is compatible enough with the native linker
12048 # that we're better off using the native interface for both.
12049 lt_use_gnu_ld_interface=no
12050 if test "$with_gnu_ld" = yes; then
12053 # The AIX port of GNU ld has always aspired to compatibility
12054 # with the native linker. However, as the warning in the GNU ld
12055 # block says, versions before 2.19.5* couldn't really create working
12056 # shared libraries, regardless of the interface used.
12057 case `$LD -v 2>&1` in
12058 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
12059 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
12060 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
12062 lt_use_gnu_ld_interface=yes
12067 lt_use_gnu_ld_interface=yes
12072 if test "$lt_use_gnu_ld_interface" = yes; then
12073 # If archive_cmds runs LD, not CC, wlarc should be empty
12076 # Set some defaults for GNU ld with shared library support. These
12077 # are reset later if shared libraries are not supported. Putting them
12078 # here allows them to be overridden if necessary.
12079 runpath_var=LD_RUN_PATH
12080 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12081 export_dynamic_flag_spec='${wl}--export-dynamic'
12082 # ancient GNU ld didn't support --whole-archive et. al.
12083 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12084 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12086 whole_archive_flag_spec=
12088 supports_anon_versioning=no
12089 case `$LD -v 2>&1` in
12090 *GNU\ gold*) supports_anon_versioning=yes ;;
12091 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12092 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12093 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12094 *\ 2.11.*) ;; # other 2.11 versions
12095 *) supports_anon_versioning=yes ;;
12098 # See if GNU ld supports shared libraries.
12101 # On AIX/PPC, the GNU linker is very broken
12102 if test "$host_cpu" != ia64; then
12106 *** Warning: the GNU linker, at least up to release 2.19, is reported
12107 *** to be unable to reliably create shared libraries on AIX.
12108 *** Therefore, libtool is disabling shared libraries support. If you
12109 *** really care for shared libraries, you may want to install binutils
12110 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12111 *** You will then need to restart the configuration process.
12120 # see comment about AmigaOS4 .so support
12121 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12122 archive_expsym_cmds=''
12125 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)'
12126 hardcode_libdir_flag_spec='-L$libdir'
12127 hardcode_minus_L=yes
12133 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12134 allow_undefined_flag=unsupported
12135 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12136 # support --undefined. This deserves some investigation. FIXME
12137 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12143 cygwin* | mingw* | pw32* | cegcc*)
12144 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
12145 # as there is no search path for DLLs.
12146 hardcode_libdir_flag_spec='-L$libdir'
12147 export_dynamic_flag_spec='${wl}--export-all-symbols'
12148 allow_undefined_flag=unsupported
12149 always_export_symbols=no
12150 enable_shared_with_static_runtimes=yes
12151 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
12152 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
12154 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12155 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12156 # If the export-symbols file already is a .def file (1st line
12157 # is EXPORTS), use it as is; otherwise, prepend...
12158 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12159 cp $export_symbols $output_objdir/$soname.def;
12161 echo EXPORTS > $output_objdir/$soname.def;
12162 cat $export_symbols >> $output_objdir/$soname.def;
12164 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12171 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12172 link_all_deplibs=yes
12177 hardcode_shlibpath_var=no
12178 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12179 export_dynamic_flag_spec='${wl}-E'
12180 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12181 # Instead, shared libraries are loaded at an image base (0x10000000 by
12182 # default) and relocated if they conflict, which is a slow very memory
12183 # consuming and fragmenting process. To avoid this, we pick a random,
12184 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12185 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12186 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12187 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'
12190 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12192 if test "$host_os" = linux-dietlibc; then
12193 case $cc_basename in
12194 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
12197 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12198 && test "$tmp_diet" = no
12200 tmp_addflag=' $pic_flag'
12201 tmp_sharedflag='-shared'
12202 case $cc_basename,$host_cpu in
12203 pgcc*) # Portland Group C compiler
12204 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12205 tmp_addflag=' $pic_flag'
12207 pgf77* | pgf90* | pgf95* | pgfortran*)
12208 # Portland Group f77 and f90 compilers
12209 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12210 tmp_addflag=' $pic_flag -Mnomain' ;;
12211 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
12212 tmp_addflag=' -i_dynamic' ;;
12213 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
12214 tmp_addflag=' -i_dynamic -nofor_main' ;;
12215 ifc* | ifort*) # Intel Fortran compiler
12216 tmp_addflag=' -nofor_main' ;;
12217 lf95*) # Lahey Fortran 8.1
12218 whole_archive_flag_spec=
12219 tmp_sharedflag='--shared' ;;
12220 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12221 tmp_sharedflag='-qmkshrobj'
12223 nvcc*) # Cuda Compiler Driver 2.2
12224 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12225 compiler_needs_object=yes
12228 case `$CC -V 2>&1 | sed 5q` in
12229 *Sun\ C*) # Sun C 5.9
12230 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12231 compiler_needs_object=yes
12232 tmp_sharedflag='-G' ;;
12233 *Sun\ F*) # Sun Fortran 8.3
12234 tmp_sharedflag='-G' ;;
12236 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12238 if test "x$supports_anon_versioning" = xyes; then
12239 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12240 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12241 echo "local: *; };" >> $output_objdir/$libname.ver~
12242 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12245 case $cc_basename in
12246 xlf* | bgf* | bgxlf* | mpixlf*)
12247 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12248 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
12249 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12250 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
12251 if test "x$supports_anon_versioning" = xyes; then
12252 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12253 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12254 echo "local: *; };" >> $output_objdir/$libname.ver~
12255 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12265 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12266 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12269 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12270 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12275 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
12279 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12280 *** create shared libraries on Solaris systems. Therefore, libtool
12281 *** is disabling shared libraries support. We urge you to upgrade GNU
12282 *** binutils to release 2.9.1 or newer. Another option is to modify
12283 *** your PATH or compiler configuration so that the native linker is
12284 *** used, and then restart.
12287 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12288 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12289 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12295 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
12296 case `$LD -v 2>&1` in
12297 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
12301 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12302 *** reliably create shared libraries on SCO systems. Therefore, libtool
12303 *** is disabling shared libraries support. We urge you to upgrade GNU
12304 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12305 *** your PATH or compiler configuration so that the native linker is
12306 *** used, and then restart.
12311 # For security reasons, it is highly recommended that you always
12312 # use absolute paths for naming shared libraries, and exclude the
12313 # DT_RUNPATH tag from executables and libraries. But doing so
12314 # requires that you compile everything twice, which is a pain.
12315 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12316 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12317 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12318 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12327 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12329 hardcode_direct=yes
12330 hardcode_shlibpath_var=no
12334 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12335 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12336 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12343 if test "$ld_shlibs" = no; then
12345 hardcode_libdir_flag_spec=
12346 export_dynamic_flag_spec=
12347 whole_archive_flag_spec=
12350 # PORTME fill in a description of your system's linker (not GNU ld)
12353 allow_undefined_flag=unsupported
12354 always_export_symbols=yes
12355 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'
12356 # Note: this linker hardcodes the directories in LIBPATH if there
12357 # are no directories specified by -L.
12358 hardcode_minus_L=yes
12359 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12360 # Neither direct hardcoding nor static linking is supported with a
12362 hardcode_direct=unsupported
12367 if test "$host_cpu" = ia64; then
12368 # On IA64, the linker does run time linking by default, so we don't
12369 # have to do anything special.
12370 aix_use_runtimelinking=no
12371 exp_sym_flag='-Bexport'
12374 # If we're using GNU nm, then we don't want the "-C" option.
12375 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12376 # Also, AIX nm treats weak defined symbols like other global
12377 # defined symbols, whereas GNU nm marks them as "W".
12378 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12379 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12381 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'
12383 aix_use_runtimelinking=no
12385 # Test if we are trying to use run time linking or normal
12386 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12387 # need to do runtime linking.
12388 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12389 for ld_flag in $LDFLAGS; do
12390 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
12391 aix_use_runtimelinking=yes
12398 exp_sym_flag='-bexport'
12399 no_entry_flag='-bnoentry'
12402 # When large executables or shared objects are built, AIX ld can
12403 # have problems creating the table of contents. If linking a library
12404 # or program results in "error TOC overflow" add -mminimal-toc to
12405 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12406 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12409 hardcode_direct=yes
12410 hardcode_direct_absolute=yes
12411 hardcode_libdir_separator=':'
12412 link_all_deplibs=yes
12413 file_list_spec='${wl}-f,'
12415 if test "$GCC" = yes; then
12416 case $host_os in aix4.[012]|aix4.[012].*)
12417 # We only want to do this on AIX 4.2 and lower, the check
12418 # below for broken collect2 doesn't work under 4.3+
12419 collect2name=`${CC} -print-prog-name=collect2`
12420 if test -f "$collect2name" &&
12421 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12423 # We have reworked collect2
12426 # We have old collect2
12427 hardcode_direct=unsupported
12428 # It fails to find uninstalled libraries when the uninstalled
12429 # path is not listed in the libpath. Setting hardcode_minus_L
12430 # to unsupported forces relinking
12431 hardcode_minus_L=yes
12432 hardcode_libdir_flag_spec='-L$libdir'
12433 hardcode_libdir_separator=
12437 shared_flag='-shared'
12438 if test "$aix_use_runtimelinking" = yes; then
12439 shared_flag="$shared_flag "'${wl}-G'
12443 if test "$host_cpu" = ia64; then
12444 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12445 # chokes on -Wl,-G. The following line is correct:
12448 if test "$aix_use_runtimelinking" = yes; then
12449 shared_flag='${wl}-G'
12451 shared_flag='${wl}-bM:SRE'
12456 export_dynamic_flag_spec='${wl}-bexpall'
12457 # It seems that -bexpall does not export symbols beginning with
12458 # underscore (_), so it is better to generate a list of symbols to export.
12459 always_export_symbols=yes
12460 if test "$aix_use_runtimelinking" = yes; then
12461 # Warning - without using the other runtime loading flags (-brtl),
12462 # -berok will link without error, but may produce a broken library.
12463 allow_undefined_flag='-berok'
12464 # Determine the default libpath from the value encoded in an
12465 # empty executable.
12466 if test "${lt_cv_aix_libpath+set}" = set; then
12467 aix_libpath=$lt_cv_aix_libpath
12469 if ${lt_cv_aix_libpath_+:} false; then :
12470 $as_echo_n "(cached) " >&6
12472 if test x$ac_no_link = xyes; then
12473 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
12475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12476 /* end confdefs.h. */
12486 if ac_fn_c_try_link "$LINENO"; then :
12488 lt_aix_libpath_sed='
12489 /Import File Strings/,/^$/ {
12491 s/^0 *\([^ ]*\) *$/\1/
12495 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12496 # Check for a 64-bit object if we didn't find anything.
12497 if test -z "$lt_cv_aix_libpath_"; then
12498 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12501 rm -f core conftest.err conftest.$ac_objext \
12502 conftest$ac_exeext conftest.$ac_ext
12503 if test -z "$lt_cv_aix_libpath_"; then
12504 lt_cv_aix_libpath_="/usr/lib:/lib"
12509 aix_libpath=$lt_cv_aix_libpath_
12512 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12513 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12515 if test "$host_cpu" = ia64; then
12516 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
12517 allow_undefined_flag="-z nodefs"
12518 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"
12520 # Determine the default libpath from the value encoded in an
12521 # empty executable.
12522 if test "${lt_cv_aix_libpath+set}" = set; then
12523 aix_libpath=$lt_cv_aix_libpath
12525 if ${lt_cv_aix_libpath_+:} false; then :
12526 $as_echo_n "(cached) " >&6
12528 if test x$ac_no_link = xyes; then
12529 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
12531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12532 /* end confdefs.h. */
12542 if ac_fn_c_try_link "$LINENO"; then :
12544 lt_aix_libpath_sed='
12545 /Import File Strings/,/^$/ {
12547 s/^0 *\([^ ]*\) *$/\1/
12551 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12552 # Check for a 64-bit object if we didn't find anything.
12553 if test -z "$lt_cv_aix_libpath_"; then
12554 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12557 rm -f core conftest.err conftest.$ac_objext \
12558 conftest$ac_exeext conftest.$ac_ext
12559 if test -z "$lt_cv_aix_libpath_"; then
12560 lt_cv_aix_libpath_="/usr/lib:/lib"
12565 aix_libpath=$lt_cv_aix_libpath_
12568 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12569 # Warning - without using the other run time loading flags,
12570 # -berok will link without error, but may produce a broken library.
12571 no_undefined_flag=' ${wl}-bernotok'
12572 allow_undefined_flag=' ${wl}-berok'
12573 if test "$with_gnu_ld" = yes; then
12574 # We only use this code for GNU lds that support --whole-archive.
12575 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12577 # Exported symbols can be pulled into shared objects from archives
12578 whole_archive_flag_spec='$convenience'
12580 archive_cmds_need_lc=yes
12581 # This is similar to how AIX traditionally builds its shared libraries.
12582 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'
12590 # see comment about AmigaOS4 .so support
12591 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12592 archive_expsym_cmds=''
12595 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)'
12596 hardcode_libdir_flag_spec='-L$libdir'
12597 hardcode_minus_L=yes
12603 export_dynamic_flag_spec=-rdynamic
12606 cygwin* | mingw* | pw32* | cegcc*)
12607 # When not using gcc, we currently assume that we are using
12608 # Microsoft Visual C++.
12609 # hardcode_libdir_flag_spec is actually meaningless, as there is
12610 # no search path for DLLs.
12611 case $cc_basename in
12614 hardcode_libdir_flag_spec=' '
12615 allow_undefined_flag=unsupported
12616 always_export_symbols=yes
12618 # Tell ltmain to make .lib files, not .a files.
12620 # Tell ltmain to make .dll files, not .so files.
12622 # FIXME: Setting linknames here is a bad hack.
12623 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12624 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12625 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12627 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12629 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12631 # The linker will not automatically build a static lib if we build a DLL.
12632 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
12633 enable_shared_with_static_runtimes=yes
12634 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
12635 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12637 old_postinstall_cmds='chmod 644 $oldlib'
12638 postlink_cmds='lt_outputfile="@OUTPUT@"~
12639 lt_tool_outputfile="@TOOL_OUTPUT@"~
12640 case $lt_outputfile in
12643 lt_outputfile="$lt_outputfile.exe"
12644 lt_tool_outputfile="$lt_tool_outputfile.exe"
12647 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12648 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12649 $RM "$lt_outputfile.manifest";
12653 # Assume MSVC wrapper
12654 hardcode_libdir_flag_spec=' '
12655 allow_undefined_flag=unsupported
12656 # Tell ltmain to make .lib files, not .a files.
12658 # Tell ltmain to make .dll files, not .so files.
12660 # FIXME: Setting linknames here is a bad hack.
12661 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12662 # The linker will automatically build a .lib file if we build a DLL.
12663 old_archive_from_new_cmds='true'
12664 # FIXME: Should let the user specify the lib program.
12665 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
12666 enable_shared_with_static_runtimes=yes
12671 darwin* | rhapsody*)
12674 archive_cmds_need_lc=no
12676 hardcode_automatic=yes
12677 hardcode_shlibpath_var=unsupported
12678 if test "$lt_cv_ld_force_load" = "yes"; then
12679 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12682 whole_archive_flag_spec=''
12684 link_all_deplibs=yes
12685 allow_undefined_flag="$_lt_dar_allow_undefined"
12686 case $cc_basename in
12687 ifort*) _lt_dar_can_shared=yes ;;
12688 *) _lt_dar_can_shared=$GCC ;;
12690 if test "$_lt_dar_can_shared" = "yes"; then
12691 output_verbose_link_cmd=func_echo_all
12692 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12693 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12694 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}"
12695 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}"
12704 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12705 hardcode_libdir_flag_spec='-L$libdir'
12706 hardcode_shlibpath_var=no
12709 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12710 # support. Future versions do this automatically, but an explicit c++rt0.o
12711 # does not break anything, and helps significantly (at the cost of a little
12714 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12715 hardcode_libdir_flag_spec='-R$libdir'
12716 hardcode_direct=yes
12717 hardcode_shlibpath_var=no
12720 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12722 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12723 hardcode_direct=yes
12724 hardcode_minus_L=yes
12725 hardcode_shlibpath_var=no
12728 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12729 freebsd* | dragonfly*)
12730 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12731 hardcode_libdir_flag_spec='-R$libdir'
12732 hardcode_direct=yes
12733 hardcode_shlibpath_var=no
12737 if test "$GCC" = yes; then
12738 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12740 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'
12742 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12743 hardcode_libdir_separator=:
12744 hardcode_direct=yes
12746 # hardcode_minus_L: Not really in the search PATH,
12747 # but as the default location of the library.
12748 hardcode_minus_L=yes
12749 export_dynamic_flag_spec='${wl}-E'
12753 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
12754 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12756 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12758 if test "$with_gnu_ld" = no; then
12759 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12760 hardcode_libdir_separator=:
12761 hardcode_direct=yes
12762 hardcode_direct_absolute=yes
12763 export_dynamic_flag_spec='${wl}-E'
12764 # hardcode_minus_L: Not really in the search PATH,
12765 # but as the default location of the library.
12766 hardcode_minus_L=yes
12771 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
12774 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12777 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12780 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12786 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12789 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12793 # Older versions of the 11.00 compiler do not understand -b yet
12794 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12796 $as_echo_n "checking if $CC understands -b... " >&6; }
12797 if ${lt_cv_prog_compiler__b+:} false; then :
12798 $as_echo_n "(cached) " >&6
12800 lt_cv_prog_compiler__b=no
12801 save_LDFLAGS="$LDFLAGS"
12802 LDFLAGS="$LDFLAGS -b"
12803 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12804 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12805 # The linker can only warn and ignore the option if not recognized
12806 # So say no if there are warnings
12807 if test -s conftest.err; then
12808 # Append any errors to the config.log.
12809 cat conftest.err 1>&5
12810 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12811 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12812 if diff conftest.exp conftest.er2 >/dev/null; then
12813 lt_cv_prog_compiler__b=yes
12816 lt_cv_prog_compiler__b=yes
12820 LDFLAGS="$save_LDFLAGS"
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12824 $as_echo "$lt_cv_prog_compiler__b" >&6; }
12826 if test x"$lt_cv_prog_compiler__b" = xyes; then
12827 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12829 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12835 if test "$with_gnu_ld" = no; then
12836 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12837 hardcode_libdir_separator=:
12842 hardcode_shlibpath_var=no
12845 hardcode_direct=yes
12846 hardcode_direct_absolute=yes
12847 export_dynamic_flag_spec='${wl}-E'
12849 # hardcode_minus_L: Not really in the search PATH,
12850 # but as the default location of the library.
12851 hardcode_minus_L=yes
12857 irix5* | irix6* | nonstopux*)
12858 if test "$GCC" = yes; then
12859 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12860 # Try to use the -exported_symbol ld option, if it does not
12861 # work, assume that -exports_file does not work either and
12862 # implicitly export all symbols.
12863 # This should be the same for all languages, so no per-tag cache variable.
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12865 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12866 if ${lt_cv_irix_exported_symbol+:} false; then :
12867 $as_echo_n "(cached) " >&6
12869 save_LDFLAGS="$LDFLAGS"
12870 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12871 if test x$ac_no_link = xyes; then
12872 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
12874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12875 /* end confdefs.h. */
12876 int foo (void) { return 0; }
12878 if ac_fn_c_try_link "$LINENO"; then :
12879 lt_cv_irix_exported_symbol=yes
12881 lt_cv_irix_exported_symbol=no
12883 rm -f core conftest.err conftest.$ac_objext \
12884 conftest$ac_exeext conftest.$ac_ext
12885 LDFLAGS="$save_LDFLAGS"
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12888 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
12889 if test "$lt_cv_irix_exported_symbol" = yes; then
12890 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
12893 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12894 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
12896 archive_cmds_need_lc='no'
12897 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12898 hardcode_libdir_separator=:
12900 link_all_deplibs=yes
12904 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12905 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12907 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12909 hardcode_libdir_flag_spec='-R$libdir'
12910 hardcode_direct=yes
12911 hardcode_shlibpath_var=no
12915 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12916 hardcode_direct=yes
12917 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12918 hardcode_libdir_separator=:
12919 hardcode_shlibpath_var=no
12926 if test -f /usr/libexec/ld.so; then
12927 hardcode_direct=yes
12928 hardcode_shlibpath_var=no
12929 hardcode_direct_absolute=yes
12930 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12931 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12932 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12933 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12934 export_dynamic_flag_spec='${wl}-E'
12937 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
12938 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12939 hardcode_libdir_flag_spec='-R$libdir'
12942 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12943 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12953 hardcode_libdir_flag_spec='-L$libdir'
12954 hardcode_minus_L=yes
12955 allow_undefined_flag=unsupported
12956 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'
12957 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12961 if test "$GCC" = yes; then
12962 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12963 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12965 allow_undefined_flag=' -expect_unresolved \*'
12966 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12968 archive_cmds_need_lc='no'
12969 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12970 hardcode_libdir_separator=:
12973 osf4* | osf5*) # as osf3* with the addition of -msym flag
12974 if test "$GCC" = yes; then
12975 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12976 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12977 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12979 allow_undefined_flag=' -expect_unresolved \*'
12980 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12981 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~
12982 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
12984 # Both c and cxx compiler support -rpath directly
12985 hardcode_libdir_flag_spec='-rpath $libdir'
12987 archive_cmds_need_lc='no'
12988 hardcode_libdir_separator=:
12992 no_undefined_flag=' -z defs'
12993 if test "$GCC" = yes; then
12995 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12996 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12997 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12999 case `$CC -V 2>&1` in
13002 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13003 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13004 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13008 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13009 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13010 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13014 hardcode_libdir_flag_spec='-R$libdir'
13015 hardcode_shlibpath_var=no
13017 solaris2.[0-5] | solaris2.[0-5].*) ;;
13019 # The compiler driver will combine and reorder linker options,
13020 # but understands `-z linker_flag'. GCC discards it without `$wl',
13021 # but is careful enough not to reorder.
13022 # Supported since Solaris 2.6 (maybe 2.5.1?)
13023 if test "$GCC" = yes; then
13024 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13026 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
13030 link_all_deplibs=yes
13034 if test "x$host_vendor" = xsequent; then
13035 # Use $CC to link under sequent, because it throws in some extra .o
13036 # files that make .init and .fini sections work.
13037 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13039 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13041 hardcode_libdir_flag_spec='-L$libdir'
13042 hardcode_direct=yes
13043 hardcode_minus_L=yes
13044 hardcode_shlibpath_var=no
13048 case $host_vendor in
13050 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13051 hardcode_direct=yes # is this really true???
13054 ## LD is ld it makes a PLAMLIB
13055 ## CC just makes a GrossModule.
13056 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13057 reload_cmds='$CC -r -o $output$reload_objs'
13061 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13062 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
13065 runpath_var='LD_RUN_PATH'
13066 hardcode_shlibpath_var=no
13070 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13071 hardcode_shlibpath_var=no
13072 export_dynamic_flag_spec='-Bexport'
13076 if test -d /usr/nec; then
13077 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13078 hardcode_shlibpath_var=no
13079 runpath_var=LD_RUN_PATH
13080 hardcode_runpath_var=yes
13085 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13086 no_undefined_flag='${wl}-z,text'
13087 archive_cmds_need_lc=no
13088 hardcode_shlibpath_var=no
13089 runpath_var='LD_RUN_PATH'
13091 if test "$GCC" = yes; then
13092 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13093 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13095 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13096 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13100 sysv5* | sco3.2v5* | sco5v6*)
13101 # Note: We can NOT use -z defs as we might desire, because we do not
13102 # link with -lc, and that would cause any symbols used from libc to
13103 # always be unresolved, which means just about no library would
13104 # ever link correctly. If we're not using GNU ld we use -z text
13105 # though, which does catch some bad symbols but isn't as heavy-handed
13107 no_undefined_flag='${wl}-z,text'
13108 allow_undefined_flag='${wl}-z,nodefs'
13109 archive_cmds_need_lc=no
13110 hardcode_shlibpath_var=no
13111 hardcode_libdir_flag_spec='${wl}-R,$libdir'
13112 hardcode_libdir_separator=':'
13113 link_all_deplibs=yes
13114 export_dynamic_flag_spec='${wl}-Bexport'
13115 runpath_var='LD_RUN_PATH'
13117 if test "$GCC" = yes; then
13118 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13119 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13121 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13122 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13127 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13128 hardcode_libdir_flag_spec='-L$libdir'
13129 hardcode_shlibpath_var=no
13137 if test x$host_vendor = xsni; then
13139 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13140 export_dynamic_flag_spec='${wl}-Blargedynsym'
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
13147 $as_echo "$ld_shlibs" >&6; }
13148 test "$ld_shlibs" = no && can_build_shared=no
13150 with_gnu_ld=$with_gnu_ld
13167 # Do we need to explicitly link libc?
13169 case "x$archive_cmds_need_lc" in
13171 # Assume -lc should be added
13172 archive_cmds_need_lc=yes
13174 if test "$enable_shared" = yes && test "$GCC" = yes; then
13175 case $archive_cmds in
13177 # FIXME: we may have to deal with multi-command sequences.
13180 # Test whether the compiler implicitly links with -lc since on some
13181 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13182 # to ld, don't add -lc before -lgcc.
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13184 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13185 if ${lt_cv_archive_cmds_need_lc+:} false; then :
13186 $as_echo_n "(cached) " >&6
13189 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13191 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13192 (eval $ac_compile) 2>&5
13194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13195 test $ac_status = 0; } 2>conftest.err; then
13198 libobjs=conftest.$ac_objext
13200 wl=$lt_prog_compiler_wl
13201 pic_flag=$lt_prog_compiler_pic
13207 lt_save_allow_undefined_flag=$allow_undefined_flag
13208 allow_undefined_flag=
13209 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13210 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13213 test $ac_status = 0; }
13215 lt_cv_archive_cmds_need_lc=no
13217 lt_cv_archive_cmds_need_lc=yes
13219 allow_undefined_flag=$lt_save_allow_undefined_flag
13221 cat conftest.err 1>&5
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
13227 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
13228 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13387 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13389 if test "$GCC" = yes; then
13391 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
13392 *) lt_awk_arg="/^libraries:/" ;;
13395 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
13396 *) lt_sed_strip_eq="s,=/,/,g" ;;
13398 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
13399 case $lt_search_path_spec in
13401 # if the path contains ";" then we assume it to be the separator
13402 # otherwise default to the standard path separator (i.e. ":") - it is
13403 # assumed that no part of a normal pathname contains ";" but that should
13404 # okay in the real world where ";" in dirpaths is itself problematic.
13405 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
13408 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
13411 # Ok, now we have the path, separated by spaces, we can step through it
13412 # and add multilib dir if necessary.
13413 lt_tmp_lt_search_path_spec=
13414 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
13415 for lt_sys_path in $lt_search_path_spec; do
13416 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
13417 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
13419 test -d "$lt_sys_path" && \
13420 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
13423 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
13424 BEGIN {RS=" "; FS="/|\n";} {
13427 for (lt_i = NF; lt_i > 0; lt_i--) {
13428 if ($lt_i != "" && $lt_i != ".") {
13429 if ($lt_i == "..") {
13432 if (lt_count == 0) {
13433 lt_foo="/" $lt_i lt_foo;
13440 if (lt_foo != "") { lt_freq[lt_foo]++; }
13441 if (lt_freq[lt_foo] == 1) { print lt_foo; }
13443 # AWK program above erroneously prepends '/' to C:/dos/paths
13446 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
13447 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
13449 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
13451 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13453 library_names_spec=
13454 libname_spec='lib$name'
13458 postuninstall_cmds=
13462 shlibpath_overrides_runpath=unknown
13464 dynamic_linker="$host_os ld.so"
13465 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13466 need_lib_prefix=unknown
13467 hardcode_into_libs=no
13469 # when you set need_version to no, make sure it does not cause -set_version
13470 # flags to be left without arguments
13471 need_version=unknown
13475 version_type=linux # correct to gnu/linux during the next big refactor
13476 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13477 shlibpath_var=LIBPATH
13479 # AIX 3 has no versioning support, so we append a major version to the name.
13480 soname_spec='${libname}${release}${shared_ext}$major'
13484 version_type=linux # correct to gnu/linux during the next big refactor
13487 hardcode_into_libs=yes
13488 if test "$host_cpu" = ia64; then
13489 # AIX 5 supports IA64
13490 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13491 shlibpath_var=LD_LIBRARY_PATH
13493 # With GCC up to 2.95.x, collect2 would create an import file
13494 # for dependence libraries. The import file would start with
13495 # the line `#! .'. This would cause the generated library to
13496 # depend on `.', always an invalid library. This was fixed in
13497 # development snapshots of GCC prior to 3.0.
13499 aix4 | aix4.[01] | aix4.[01].*)
13500 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13502 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13505 can_build_shared=no
13509 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13510 # soname into executable. Probably we can add versioning support to
13511 # collect2, so additional links can be useful in future.
13512 if test "$aix_use_runtimelinking" = yes; then
13513 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13514 # instead of lib<name>.a to let people know that these are not
13515 # typical AIX shared libraries.
13516 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13518 # We preserve .a as extension for shared libraries through AIX4.2
13519 # and later when we are not doing run time linking.
13520 library_names_spec='${libname}${release}.a $libname.a'
13521 soname_spec='${libname}${release}${shared_ext}$major'
13523 shlibpath_var=LIBPATH
13530 # Since July 2007 AmigaOS4 officially supports .so libraries.
13531 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13532 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13535 library_names_spec='$libname.ixlibrary $libname.a'
13536 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13537 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
13543 library_names_spec='${libname}${shared_ext}'
13544 dynamic_linker="$host_os ld.so"
13545 shlibpath_var=LIBRARY_PATH
13549 version_type=linux # correct to gnu/linux during the next big refactor
13551 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13552 soname_spec='${libname}${release}${shared_ext}$major'
13553 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13554 shlibpath_var=LD_LIBRARY_PATH
13555 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13556 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13557 # the default ld.so.conf also contains /usr/contrib/lib and
13558 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13559 # libtool to hard-code these into programs
13562 cygwin* | mingw* | pw32* | cegcc*)
13563 version_type=windows
13568 case $GCC,$cc_basename in
13571 library_names_spec='$libname.dll.a'
13572 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13573 postinstall_cmds='base_file=`basename \${file}`~
13574 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13575 dldir=$destdir/`dirname \$dlpath`~
13576 test -d \$dldir || mkdir -p \$dldir~
13577 $install_prog $dir/$dlname \$dldir/$dlname~
13578 chmod a+x \$dldir/$dlname~
13579 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13580 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13582 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13583 dlpath=$dir/\$dldll~
13585 shlibpath_overrides_runpath=yes
13589 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13590 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13592 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
13595 # MinGW DLLs use traditional 'lib' prefix
13596 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13599 # pw32 DLLs use 'pw' prefix rather than 'lib'
13600 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13603 dynamic_linker='Win32 ld.exe'
13608 libname_spec='$name'
13609 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13610 library_names_spec='${libname}.dll.lib'
13614 sys_lib_search_path_spec=
13617 for lt_path in $LIB
13620 # Let DOS variable expansion print the short 8.3 style file name.
13621 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
13622 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
13625 # Convert to MSYS style.
13626 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
13629 # Convert to unix form, then to dos form, then back to unix form
13630 # but this time dos style (no spaces!) so that the unix form looks
13631 # like /cygdrive/c/PROGRA~1:/cygdr...
13632 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
13633 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
13634 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13637 sys_lib_search_path_spec="$LIB"
13638 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13639 # It is most probably a Windows format PATH.
13640 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13642 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13644 # FIXME: find the short name or the path components, as spaces are
13645 # common. (e.g. "Program Files" -> "PROGRA~1")
13649 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13650 postinstall_cmds='base_file=`basename \${file}`~
13651 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13652 dldir=$destdir/`dirname \$dlpath`~
13653 test -d \$dldir || mkdir -p \$dldir~
13654 $install_prog $dir/$dlname \$dldir/$dlname'
13655 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13656 dlpath=$dir/\$dldll~
13658 shlibpath_overrides_runpath=yes
13659 dynamic_linker='Win32 link.exe'
13663 # Assume MSVC wrapper
13664 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13665 dynamic_linker='Win32 ld.exe'
13668 # FIXME: first we should search . and the directory the executable is in
13672 darwin* | rhapsody*)
13673 dynamic_linker="$host_os dyld"
13674 version_type=darwin
13677 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13678 soname_spec='${libname}${release}${major}$shared_ext'
13679 shlibpath_overrides_runpath=yes
13680 shlibpath_var=DYLD_LIBRARY_PATH
13681 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13683 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
13684 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13688 version_type=linux # correct to gnu/linux during the next big refactor
13691 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13692 soname_spec='${libname}${release}${shared_ext}$major'
13693 shlibpath_var=LD_LIBRARY_PATH
13696 freebsd* | dragonfly*)
13697 # DragonFly does not have aout. When/if they implement a new
13698 # versioning mechanism, adjust this.
13699 if test -x /usr/bin/objformat; then
13700 objformat=`/usr/bin/objformat`
13703 freebsd[23].*) objformat=aout ;;
13704 *) objformat=elf ;;
13707 version_type=freebsd-$objformat
13708 case $version_type in
13710 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13715 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13719 shlibpath_var=LD_LIBRARY_PATH
13722 shlibpath_overrides_runpath=yes
13724 freebsd3.[01]* | freebsdelf3.[01]*)
13725 shlibpath_overrides_runpath=yes
13726 hardcode_into_libs=yes
13728 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13729 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13730 shlibpath_overrides_runpath=no
13731 hardcode_into_libs=yes
13733 *) # from 4.6 on, and DragonFly
13734 shlibpath_overrides_runpath=yes
13735 hardcode_into_libs=yes
13741 version_type=linux # correct to gnu/linux during the next big refactor
13744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13745 soname_spec='${libname}${release}${shared_ext}$major'
13746 shlibpath_var=LD_LIBRARY_PATH
13747 shlibpath_overrides_runpath=no
13748 hardcode_into_libs=yes
13752 version_type=linux # correct to gnu/linux during the next big refactor
13755 dynamic_linker="$host_os runtime_loader"
13756 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13757 soname_spec='${libname}${release}${shared_ext}$major'
13758 shlibpath_var=LIBRARY_PATH
13759 shlibpath_overrides_runpath=yes
13760 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13761 hardcode_into_libs=yes
13764 hpux9* | hpux10* | hpux11*)
13765 # Give a soname corresponding to the major version so that dld.sl refuses to
13766 # link against other versions.
13773 hardcode_into_libs=yes
13774 dynamic_linker="$host_os dld.so"
13775 shlibpath_var=LD_LIBRARY_PATH
13776 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13777 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13778 soname_spec='${libname}${release}${shared_ext}$major'
13779 if test "X$HPUX_IA64_MODE" = X32; then
13780 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13782 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13784 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13788 hardcode_into_libs=yes
13789 dynamic_linker="$host_os dld.sl"
13790 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13791 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13793 soname_spec='${libname}${release}${shared_ext}$major'
13794 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13795 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13799 dynamic_linker="$host_os dld.sl"
13800 shlibpath_var=SHLIB_PATH
13801 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13803 soname_spec='${libname}${release}${shared_ext}$major'
13806 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13807 postinstall_cmds='chmod 555 $lib'
13808 # or fails outright, so override atomically:
13809 install_override_mode=555
13813 version_type=linux # correct to gnu/linux during the next big refactor
13816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13817 soname_spec='${libname}${release}${shared_ext}$major'
13818 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13819 shlibpath_var=LD_LIBRARY_PATH
13820 shlibpath_overrides_runpath=no
13821 hardcode_into_libs=yes
13824 irix5* | irix6* | nonstopux*)
13826 nonstopux*) version_type=nonstopux ;;
13828 if test "$lt_cv_prog_gnu_ld" = yes; then
13829 version_type=linux # correct to gnu/linux during the next big refactor
13836 soname_spec='${libname}${release}${shared_ext}$major'
13837 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13839 irix5* | nonstopux*)
13840 libsuff= shlibsuff=
13843 case $LD in # libtool.m4 will add one of these switches to LD
13844 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13845 libsuff= shlibsuff= libmagic=32-bit;;
13846 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13847 libsuff=32 shlibsuff=N32 libmagic=N32;;
13848 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13849 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13850 *) libsuff= shlibsuff= libmagic=never-match;;
13854 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13855 shlibpath_overrides_runpath=no
13856 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13857 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13858 hardcode_into_libs=yes
13861 # No shared lib support for Linux oldld, aout, or coff.
13862 linux*oldld* | linux*aout* | linux*coff*)
13866 # This must be glibc/ELF.
13867 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13868 version_type=linux # correct to gnu/linux during the next big refactor
13871 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13872 soname_spec='${libname}${release}${shared_ext}$major'
13873 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13874 shlibpath_var=LD_LIBRARY_PATH
13875 shlibpath_overrides_runpath=no
13877 # Some binutils ld are patched to set DT_RUNPATH
13878 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
13879 $as_echo_n "(cached) " >&6
13881 lt_cv_shlibpath_overrides_runpath=no
13882 save_LDFLAGS=$LDFLAGS
13883 save_libdir=$libdir
13884 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13885 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13886 if test x$ac_no_link = xyes; then
13887 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
13889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13890 /* end confdefs.h. */
13900 if ac_fn_c_try_link "$LINENO"; then :
13901 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
13902 lt_cv_shlibpath_overrides_runpath=yes
13905 rm -f core conftest.err conftest.$ac_objext \
13906 conftest$ac_exeext conftest.$ac_ext
13907 LDFLAGS=$save_LDFLAGS
13908 libdir=$save_libdir
13912 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13914 # This implies no fast_install, which is unacceptable.
13915 # Some rework will be needed to allow for fast_install
13916 # before this can be enabled.
13917 hardcode_into_libs=yes
13919 # Append ld.so.conf contents to the search path
13920 if test -f /etc/ld.so.conf; then
13921 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;s/"//g;/^$/d' | tr '\n' ' '`
13922 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13925 # We used to test for /lib/ld.so.1 and disable shared libraries on
13926 # powerpc, because MkLinux only supported shared libraries with the
13927 # GNU dynamic linker. Since this was broken with cross compilers,
13928 # most powerpc-linux boxes support dynamic linking these days and
13929 # people can always --disable-shared, the test was removed, and we
13930 # assume the GNU/Linux dynamic linker is in use.
13931 dynamic_linker='GNU/Linux ld.so'
13938 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13939 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13940 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13941 dynamic_linker='NetBSD (a.out) ld.so'
13943 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13944 soname_spec='${libname}${release}${shared_ext}$major'
13945 dynamic_linker='NetBSD ld.elf_so'
13947 shlibpath_var=LD_LIBRARY_PATH
13948 shlibpath_overrides_runpath=yes
13949 hardcode_into_libs=yes
13953 version_type=linux # correct to gnu/linux during the next big refactor
13954 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13955 shlibpath_var=LD_LIBRARY_PATH
13956 shlibpath_overrides_runpath=yes
13963 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13964 soname_spec='${libname}${release}${shared_ext}$major'
13965 shlibpath_var=LD_LIBRARY_PATH
13966 shlibpath_overrides_runpath=no
13967 hardcode_into_libs=yes
13968 dynamic_linker='ldqnx.so'
13973 sys_lib_dlsearch_path_spec="/usr/lib"
13975 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13977 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13978 *) need_version=no ;;
13980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13981 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13982 shlibpath_var=LD_LIBRARY_PATH
13983 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13985 openbsd2.[89] | openbsd2.[89].*)
13986 shlibpath_overrides_runpath=no
13989 shlibpath_overrides_runpath=yes
13993 shlibpath_overrides_runpath=yes
13998 libname_spec='$name'
14001 library_names_spec='$libname${shared_ext} $libname.a'
14002 dynamic_linker='OS/2 ld.exe'
14003 shlibpath_var=LIBPATH
14006 osf3* | osf4* | osf5*)
14010 soname_spec='${libname}${release}${shared_ext}$major'
14011 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14012 shlibpath_var=LD_LIBRARY_PATH
14013 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14014 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14022 version_type=linux # correct to gnu/linux during the next big refactor
14025 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14026 soname_spec='${libname}${release}${shared_ext}$major'
14027 shlibpath_var=LD_LIBRARY_PATH
14028 shlibpath_overrides_runpath=yes
14029 hardcode_into_libs=yes
14030 # ldd complains unless libraries are executable
14031 postinstall_cmds='chmod +x $lib'
14036 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14037 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14038 shlibpath_var=LD_LIBRARY_PATH
14039 shlibpath_overrides_runpath=yes
14040 if test "$with_gnu_ld" = yes; then
14047 version_type=linux # correct to gnu/linux during the next big refactor
14048 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14049 soname_spec='${libname}${release}${shared_ext}$major'
14050 shlibpath_var=LD_LIBRARY_PATH
14051 case $host_vendor in
14053 shlibpath_overrides_runpath=no
14055 runpath_var=LD_RUN_PATH
14063 shlibpath_overrides_runpath=no
14064 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14070 if test -d /usr/nec ;then
14071 version_type=linux # correct to gnu/linux during the next big refactor
14072 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14073 soname_spec='$libname${shared_ext}.$major'
14074 shlibpath_var=LD_LIBRARY_PATH
14078 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14079 version_type=freebsd-elf
14082 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14083 soname_spec='${libname}${release}${shared_ext}$major'
14084 shlibpath_var=LD_LIBRARY_PATH
14085 shlibpath_overrides_runpath=yes
14086 hardcode_into_libs=yes
14087 if test "$with_gnu_ld" = yes; then
14088 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14090 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14093 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14097 sys_lib_dlsearch_path_spec='/usr/lib'
14101 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14102 version_type=linux # correct to gnu/linux during the next big refactor
14105 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14106 shlibpath_var=LD_LIBRARY_PATH
14107 shlibpath_overrides_runpath=no
14108 hardcode_into_libs=yes
14112 version_type=linux # correct to gnu/linux during the next big refactor
14113 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14114 soname_spec='${libname}${release}${shared_ext}$major'
14115 shlibpath_var=LD_LIBRARY_PATH
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14123 $as_echo "$dynamic_linker" >&6; }
14124 test "$dynamic_linker" = no && can_build_shared=no
14126 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14127 if test "$GCC" = yes; then
14128 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14131 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14132 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14134 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14135 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14230 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14232 if test -n "$hardcode_libdir_flag_spec" ||
14233 test -n "$runpath_var" ||
14234 test "X$hardcode_automatic" = "Xyes" ; then
14236 # We can hardcode non-existent directories.
14237 if test "$hardcode_direct" != no &&
14238 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14239 # have to relink, otherwise we might link with an installed library
14240 # when we should be linking with a yet-to-be-installed one
14241 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
14242 test "$hardcode_minus_L" != no; then
14243 # Linking always hardcodes the temporary library directory.
14244 hardcode_action=relink
14246 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14247 hardcode_action=immediate
14250 # We cannot hardcode anything, or else we can only hardcode existing
14252 hardcode_action=unsupported
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14255 $as_echo "$hardcode_action" >&6; }
14257 if test "$hardcode_action" = relink ||
14258 test "$inherit_rpath" = yes; then
14259 # Fast installation is not supported
14260 enable_fast_install=no
14261 elif test "$shlibpath_overrides_runpath" = yes ||
14262 test "$enable_shared" = no; then
14263 # Fast installation is not necessary
14264 enable_fast_install=needless
14272 if test "x$enable_dlopen" != xyes; then
14273 enable_dlopen=unknown
14274 enable_dlopen_self=unknown
14275 enable_dlopen_self_static=unknown
14282 lt_cv_dlopen="load_add_on"
14284 lt_cv_dlopen_self=yes
14287 mingw* | pw32* | cegcc*)
14288 lt_cv_dlopen="LoadLibrary"
14293 lt_cv_dlopen="dlopen"
14298 # if libdl is installed we need to link against it
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14300 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14301 if ${ac_cv_lib_dl_dlopen+:} false; then :
14302 $as_echo_n "(cached) " >&6
14304 ac_check_lib_save_LIBS=$LIBS
14306 if test x$ac_no_link = xyes; then
14307 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
14309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14310 /* end confdefs.h. */
14312 /* Override any GCC internal prototype to avoid an error.
14313 Use char because int might match the return type of a GCC
14314 builtin and then its argument prototype would still apply. */
14327 if ac_fn_c_try_link "$LINENO"; then :
14328 ac_cv_lib_dl_dlopen=yes
14330 ac_cv_lib_dl_dlopen=no
14332 rm -f core conftest.err conftest.$ac_objext \
14333 conftest$ac_exeext conftest.$ac_ext
14334 LIBS=$ac_check_lib_save_LIBS
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14337 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14338 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14339 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14342 lt_cv_dlopen="dyld"
14344 lt_cv_dlopen_self=yes
14351 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
14352 if test "x$ac_cv_func_shl_load" = xyes; then :
14353 lt_cv_dlopen="shl_load"
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14356 $as_echo_n "checking for shl_load in -ldld... " >&6; }
14357 if ${ac_cv_lib_dld_shl_load+:} false; then :
14358 $as_echo_n "(cached) " >&6
14360 ac_check_lib_save_LIBS=$LIBS
14362 if test x$ac_no_link = xyes; then
14363 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
14365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14366 /* end confdefs.h. */
14368 /* Override any GCC internal prototype to avoid an error.
14369 Use char because int might match the return type of a GCC
14370 builtin and then its argument prototype would still apply. */
14378 return shl_load ();
14383 if ac_fn_c_try_link "$LINENO"; then :
14384 ac_cv_lib_dld_shl_load=yes
14386 ac_cv_lib_dld_shl_load=no
14388 rm -f core conftest.err conftest.$ac_objext \
14389 conftest$ac_exeext conftest.$ac_ext
14390 LIBS=$ac_check_lib_save_LIBS
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14393 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
14394 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
14395 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
14397 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14398 if test "x$ac_cv_func_dlopen" = xyes; then :
14399 lt_cv_dlopen="dlopen"
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14402 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14403 if ${ac_cv_lib_dl_dlopen+:} false; then :
14404 $as_echo_n "(cached) " >&6
14406 ac_check_lib_save_LIBS=$LIBS
14408 if test x$ac_no_link = xyes; then
14409 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
14411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14412 /* end confdefs.h. */
14414 /* Override any GCC internal prototype to avoid an error.
14415 Use char because int might match the return type of a GCC
14416 builtin and then its argument prototype would still apply. */
14429 if ac_fn_c_try_link "$LINENO"; then :
14430 ac_cv_lib_dl_dlopen=yes
14432 ac_cv_lib_dl_dlopen=no
14434 rm -f core conftest.err conftest.$ac_objext \
14435 conftest$ac_exeext conftest.$ac_ext
14436 LIBS=$ac_check_lib_save_LIBS
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14439 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14440 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14441 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14444 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
14445 if ${ac_cv_lib_svld_dlopen+:} false; then :
14446 $as_echo_n "(cached) " >&6
14448 ac_check_lib_save_LIBS=$LIBS
14449 LIBS="-lsvld $LIBS"
14450 if test x$ac_no_link = xyes; then
14451 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
14453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14454 /* end confdefs.h. */
14456 /* Override any GCC internal prototype to avoid an error.
14457 Use char because int might match the return type of a GCC
14458 builtin and then its argument prototype would still apply. */
14471 if ac_fn_c_try_link "$LINENO"; then :
14472 ac_cv_lib_svld_dlopen=yes
14474 ac_cv_lib_svld_dlopen=no
14476 rm -f core conftest.err conftest.$ac_objext \
14477 conftest$ac_exeext conftest.$ac_ext
14478 LIBS=$ac_check_lib_save_LIBS
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14481 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
14482 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
14483 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14486 $as_echo_n "checking for dld_link in -ldld... " >&6; }
14487 if ${ac_cv_lib_dld_dld_link+:} false; then :
14488 $as_echo_n "(cached) " >&6
14490 ac_check_lib_save_LIBS=$LIBS
14492 if test x$ac_no_link = xyes; then
14493 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
14495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14496 /* end confdefs.h. */
14498 /* Override any GCC internal prototype to avoid an error.
14499 Use char because int might match the return type of a GCC
14500 builtin and then its argument prototype would still apply. */
14508 return dld_link ();
14513 if ac_fn_c_try_link "$LINENO"; then :
14514 ac_cv_lib_dld_dld_link=yes
14516 ac_cv_lib_dld_dld_link=no
14518 rm -f core conftest.err conftest.$ac_objext \
14519 conftest$ac_exeext conftest.$ac_ext
14520 LIBS=$ac_check_lib_save_LIBS
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14523 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
14524 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
14525 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
14546 if test "x$lt_cv_dlopen" != xno; then
14552 case $lt_cv_dlopen in
14554 save_CPPFLAGS="$CPPFLAGS"
14555 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14557 save_LDFLAGS="$LDFLAGS"
14558 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14561 LIBS="$lt_cv_dlopen_libs $LIBS"
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14564 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
14565 if ${lt_cv_dlopen_self+:} false; then :
14566 $as_echo_n "(cached) " >&6
14568 if test "$cross_compiling" = yes; then :
14569 lt_cv_dlopen_self=cross
14571 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14572 lt_status=$lt_dlunknown
14573 cat > conftest.$ac_ext <<_LT_EOF
14574 #line $LINENO "configure"
14575 #include "confdefs.h"
14584 # define LT_DLGLOBAL RTLD_GLOBAL
14587 # define LT_DLGLOBAL DL_GLOBAL
14589 # define LT_DLGLOBAL 0
14593 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14594 find out it does not work in some platform. */
14595 #ifndef LT_DLLAZY_OR_NOW
14597 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14600 # define LT_DLLAZY_OR_NOW DL_LAZY
14603 # define LT_DLLAZY_OR_NOW RTLD_NOW
14606 # define LT_DLLAZY_OR_NOW DL_NOW
14608 # define LT_DLLAZY_OR_NOW 0
14615 /* When -fvisbility=hidden is used, assume the code has been annotated
14616 correspondingly for the symbols needed. */
14617 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14618 int fnord () __attribute__((visibility("default")));
14621 int fnord () { return 42; }
14624 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14625 int status = $lt_dlunknown;
14629 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14632 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14633 else puts (dlerror ());
14635 /* dlclose (self); */
14643 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14644 (eval $ac_link) 2>&5
14646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14647 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
14648 (./conftest; exit; ) >&5 2>/dev/null
14650 case x$lt_status in
14651 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14652 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14653 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
14656 # compilation failed
14657 lt_cv_dlopen_self=no
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14665 $as_echo "$lt_cv_dlopen_self" >&6; }
14667 if test "x$lt_cv_dlopen_self" = xyes; then
14668 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14670 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
14671 if ${lt_cv_dlopen_self_static+:} false; then :
14672 $as_echo_n "(cached) " >&6
14674 if test "$cross_compiling" = yes; then :
14675 lt_cv_dlopen_self_static=cross
14677 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14678 lt_status=$lt_dlunknown
14679 cat > conftest.$ac_ext <<_LT_EOF
14680 #line $LINENO "configure"
14681 #include "confdefs.h"
14690 # define LT_DLGLOBAL RTLD_GLOBAL
14693 # define LT_DLGLOBAL DL_GLOBAL
14695 # define LT_DLGLOBAL 0
14699 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14700 find out it does not work in some platform. */
14701 #ifndef LT_DLLAZY_OR_NOW
14703 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14706 # define LT_DLLAZY_OR_NOW DL_LAZY
14709 # define LT_DLLAZY_OR_NOW RTLD_NOW
14712 # define LT_DLLAZY_OR_NOW DL_NOW
14714 # define LT_DLLAZY_OR_NOW 0
14721 /* When -fvisbility=hidden is used, assume the code has been annotated
14722 correspondingly for the symbols needed. */
14723 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14724 int fnord () __attribute__((visibility("default")));
14727 int fnord () { return 42; }
14730 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14731 int status = $lt_dlunknown;
14735 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14738 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14739 else puts (dlerror ());
14741 /* dlclose (self); */
14749 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14750 (eval $ac_link) 2>&5
14752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14753 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
14754 (./conftest; exit; ) >&5 2>/dev/null
14756 case x$lt_status in
14757 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14758 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14759 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
14762 # compilation failed
14763 lt_cv_dlopen_self_static=no
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14771 $as_echo "$lt_cv_dlopen_self_static" >&6; }
14774 CPPFLAGS="$save_CPPFLAGS"
14775 LDFLAGS="$save_LDFLAGS"
14780 case $lt_cv_dlopen_self in
14781 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14782 *) enable_dlopen_self=unknown ;;
14785 case $lt_cv_dlopen_self_static in
14786 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14787 *) enable_dlopen_self_static=unknown ;;
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14810 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
14811 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
14812 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14813 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14815 $as_echo "yes" >&6; }
14817 # FIXME - insert some real tests, host_os isn't really good enough
14820 if test -n "$STRIP" ; then
14821 striplib="$STRIP -x"
14822 old_striplib="$STRIP -S"
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14824 $as_echo "yes" >&6; }
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14827 $as_echo "no" >&6; }
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14832 $as_echo "no" >&6; }
14848 # Report which library types will actually be built
14849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14850 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14852 $as_echo "$can_build_shared" >&6; }
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14855 $as_echo_n "checking whether to build shared libraries... " >&6; }
14856 test "$can_build_shared" = "no" && enable_shared=no
14858 # On AIX, shared libraries and static libraries use the same namespace, and
14859 # are all built from PIC.
14862 test "$enable_shared" = yes && enable_static=no
14863 if test -n "$RANLIB"; then
14864 archive_cmds="$archive_cmds~\$RANLIB \$lib"
14865 postinstall_cmds='$RANLIB $lib'
14870 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14871 test "$enable_shared" = yes && enable_static=no
14875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14876 $as_echo "$enable_shared" >&6; }
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14879 $as_echo_n "checking whether to build static libraries... " >&6; }
14880 # Make sure either enable_shared or enable_static is yes.
14881 test "$enable_shared" = yes || enable_static=yes
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14883 $as_echo "$enable_static" >&6; }
14890 ac_cpp='$CPP $CPPFLAGS'
14891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14897 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14898 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14899 (test "X$CXX" != "Xg++"))) ; then
14901 ac_cpp='$CXXCPP $CPPFLAGS'
14902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14906 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14907 if test -z "$CXXCPP"; then
14908 if ${ac_cv_prog_CXXCPP+:} false; then :
14909 $as_echo_n "(cached) " >&6
14911 # Double quotes because CXXCPP needs to be expanded
14912 for CXXCPP in "$CXX -E" "/lib/cpp"
14914 ac_preproc_ok=false
14915 for ac_cxx_preproc_warn_flag in '' yes
14917 # Use a header file that comes with gcc, so configuring glibc
14918 # with a fresh cross-compiler works.
14919 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14920 # <limits.h> exists even on freestanding compilers.
14921 # On the NeXT, cc -E runs the code through the compiler's parser,
14922 # not just through cpp. "Syntax error" is here to catch this case.
14923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14924 /* end confdefs.h. */
14926 # include <limits.h>
14928 # include <assert.h>
14932 if ac_fn_cxx_try_cpp "$LINENO"; then :
14935 # Broken: fails on valid input.
14938 rm -f conftest.err conftest.i conftest.$ac_ext
14940 # OK, works on sane cases. Now check whether nonexistent headers
14941 # can be detected and how.
14942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14943 /* end confdefs.h. */
14944 #include <ac_nonexistent.h>
14946 if ac_fn_cxx_try_cpp "$LINENO"; then :
14947 # Broken: success on invalid input.
14950 # Passes both tests.
14954 rm -f conftest.err conftest.i conftest.$ac_ext
14957 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14958 rm -f conftest.i conftest.err conftest.$ac_ext
14959 if $ac_preproc_ok; then :
14964 ac_cv_prog_CXXCPP=$CXXCPP
14967 CXXCPP=$ac_cv_prog_CXXCPP
14969 ac_cv_prog_CXXCPP=$CXXCPP
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14972 $as_echo "$CXXCPP" >&6; }
14973 ac_preproc_ok=false
14974 for ac_cxx_preproc_warn_flag in '' yes
14976 # Use a header file that comes with gcc, so configuring glibc
14977 # with a fresh cross-compiler works.
14978 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14979 # <limits.h> exists even on freestanding compilers.
14980 # On the NeXT, cc -E runs the code through the compiler's parser,
14981 # not just through cpp. "Syntax error" is here to catch this case.
14982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14983 /* end confdefs.h. */
14985 # include <limits.h>
14987 # include <assert.h>
14991 if ac_fn_cxx_try_cpp "$LINENO"; then :
14994 # Broken: fails on valid input.
14997 rm -f conftest.err conftest.i conftest.$ac_ext
14999 # OK, works on sane cases. Now check whether nonexistent headers
15000 # can be detected and how.
15001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15002 /* end confdefs.h. */
15003 #include <ac_nonexistent.h>
15005 if ac_fn_cxx_try_cpp "$LINENO"; then :
15006 # Broken: success on invalid input.
15009 # Passes both tests.
15013 rm -f conftest.err conftest.i conftest.$ac_ext
15016 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15017 rm -f conftest.i conftest.err conftest.$ac_ext
15018 if $ac_preproc_ok; then :
15021 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15022 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15023 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
15024 See \`config.log' for more details" "$LINENO" 5; }
15028 ac_cpp='$CPP $CPPFLAGS'
15029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15034 _lt_caught_CXX_error=yes
15038 ac_cpp='$CXXCPP $CPPFLAGS'
15039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15043 archive_cmds_need_lc_CXX=no
15044 allow_undefined_flag_CXX=
15045 always_export_symbols_CXX=no
15046 archive_expsym_cmds_CXX=
15047 compiler_needs_object_CXX=no
15048 export_dynamic_flag_spec_CXX=
15049 hardcode_direct_CXX=no
15050 hardcode_direct_absolute_CXX=no
15051 hardcode_libdir_flag_spec_CXX=
15052 hardcode_libdir_separator_CXX=
15053 hardcode_minus_L_CXX=no
15054 hardcode_shlibpath_var_CXX=unsupported
15055 hardcode_automatic_CXX=no
15056 inherit_rpath_CXX=no
15058 module_expsym_cmds_CXX=
15059 link_all_deplibs_CXX=unknown
15060 old_archive_cmds_CXX=$old_archive_cmds
15061 reload_flag_CXX=$reload_flag
15062 reload_cmds_CXX=$reload_cmds
15063 no_undefined_flag_CXX=
15064 whole_archive_flag_spec_CXX=
15065 enable_shared_with_static_runtimes_CXX=no
15067 # Source file extension for C++ test sources.
15070 # Object file extension for compiled C++ test sources.
15074 # No sense in running all these tests if we already determined that
15075 # the CXX compiler isn't working. Some variables (like enable_shared)
15076 # are currently assumed to apply to all compilers on this platform,
15077 # and will be corrupted by setting them based on a non-working compiler.
15078 if test "$_lt_caught_CXX_error" != yes; then
15079 # Code to be used in simple compile tests
15080 lt_simple_compile_test_code="int some_variable = 0;"
15082 # Code to be used in simple link tests
15083 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
15085 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15092 # If no C compiler was specified, use CC.
15095 # If no C compiler flags were specified, use CFLAGS.
15096 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15098 # Allow CC to be a program name with arguments.
15102 # save warnings/boilerplate of simple test code
15103 ac_outfile=conftest.$ac_objext
15104 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15105 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15106 _lt_compiler_boilerplate=`cat conftest.err`
15109 ac_outfile=conftest.$ac_objext
15110 echo "$lt_simple_link_test_code" >conftest.$ac_ext
15111 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15112 _lt_linker_boilerplate=`cat conftest.err`
15116 # Allow CC to be a program name with arguments.
15118 lt_save_CFLAGS=$CFLAGS
15122 lt_save_with_gnu_ld=$with_gnu_ld
15123 lt_save_path_LD=$lt_cv_path_LD
15124 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
15125 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
15127 $as_unset lt_cv_prog_gnu_ld
15129 if test -n "${lt_cv_path_LDCXX+set}"; then
15130 lt_cv_path_LD=$lt_cv_path_LDCXX
15132 $as_unset lt_cv_path_LD
15134 test -z "${LDCXX+set}" || LD=$LDCXX
15139 for cc_temp in $compiler""; do
15141 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15142 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15147 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15150 if test -n "$compiler"; then
15151 # We don't want -fno-exception when compiling C++ code, so set the
15152 # no_builtin_flag separately
15153 if test "$GXX" = yes; then
15154 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
15156 lt_prog_compiler_no_builtin_flag_CXX=
15159 if test "$GXX" = yes; then
15160 # Set up default GNU C++ configuration
15164 # Check whether --with-gnu-ld was given.
15165 if test "${with_gnu_ld+set}" = set; then :
15166 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
15172 if test "$GCC" = yes; then
15173 # Check if gcc -print-prog-name=ld gives a path.
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
15175 $as_echo_n "checking for ld used by $CC... " >&6; }
15178 # gcc leaves a trailing carriage return which upsets mingw
15179 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15181 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
15184 # Accept absolute paths.
15186 re_direlt='/[^/][^/]*/\.\./'
15187 # Canonicalize the pathname of ld
15188 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
15189 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
15190 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
15192 test -z "$LD" && LD="$ac_prog"
15195 # If it fails, then pretend we aren't using GCC.
15199 # If it is relative, then search for the first ld in PATH.
15200 with_gnu_ld=unknown
15203 elif test "$with_gnu_ld" = yes; then
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15205 $as_echo_n "checking for GNU ld... " >&6; }
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15208 $as_echo_n "checking for non-GNU ld... " >&6; }
15210 if ${lt_cv_path_LD+:} false; then :
15211 $as_echo_n "(cached) " >&6
15213 if test -z "$LD"; then
15214 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
15215 for ac_dir in $PATH; do
15217 test -z "$ac_dir" && ac_dir=.
15218 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15219 lt_cv_path_LD="$ac_dir/$ac_prog"
15220 # Check to see if the program is GNU ld. I'd rather use --version,
15221 # but apparently some variants of GNU ld only accept -v.
15222 # Break only if it was the GNU/non-GNU ld that we prefer.
15223 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15224 *GNU* | *'with BFD'*)
15225 test "$with_gnu_ld" != no && break
15228 test "$with_gnu_ld" != yes && break
15235 lt_cv_path_LD="$LD" # Let the user override the test with a path.
15239 LD="$lt_cv_path_LD"
15240 if test -n "$LD"; then
15241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15242 $as_echo "$LD" >&6; }
15244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15245 $as_echo "no" >&6; }
15247 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
15248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15249 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15250 if ${lt_cv_prog_gnu_ld+:} false; then :
15251 $as_echo_n "(cached) " >&6
15253 # I'd rather use --version here, but apparently some GNU lds only accept -v.
15254 case `$LD -v 2>&1 </dev/null` in
15255 *GNU* | *'with BFD'*)
15256 lt_cv_prog_gnu_ld=yes
15259 lt_cv_prog_gnu_ld=no
15263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
15264 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
15265 with_gnu_ld=$lt_cv_prog_gnu_ld
15273 # Check if GNU C++ uses GNU ld as the underlying linker, since the
15274 # archiving commands below assume that GNU ld is being used.
15275 if test "$with_gnu_ld" = yes; then
15276 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15277 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15279 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15280 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15282 # If archive_cmds runs LD, not CC, wlarc should be empty
15283 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
15284 # investigate it a little bit more. (MM)
15287 # ancient GNU ld didn't support --whole-archive et. al.
15288 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
15289 $GREP 'no-whole-archive' > /dev/null; then
15290 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15292 whole_archive_flag_spec_CXX=
15298 # A generic and very simple default shared library creation
15299 # command for GNU C++ for the case where it uses the native
15300 # linker, instead of GNU ld. If possible, this setting should
15301 # overridden to take advantage of the native linker features on
15302 # the platform it is being used on.
15303 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15306 # Commands to make compiler produce verbose output that lists
15307 # what "hidden" libraries, object files and flags are used when
15308 # linking a shared library.
15309 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15317 # PORTME: fill in a description of your system's C++ link characteristics
15318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15319 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15323 # FIXME: insert proper C++ library support
15327 if test "$host_cpu" = ia64; then
15328 # On IA64, the linker does run time linking by default, so we don't
15329 # have to do anything special.
15330 aix_use_runtimelinking=no
15331 exp_sym_flag='-Bexport'
15334 aix_use_runtimelinking=no
15336 # Test if we are trying to use run time linking or normal
15337 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15338 # need to do runtime linking.
15339 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15340 for ld_flag in $LDFLAGS; do
15343 aix_use_runtimelinking=yes
15351 exp_sym_flag='-bexport'
15352 no_entry_flag='-bnoentry'
15355 # When large executables or shared objects are built, AIX ld can
15356 # have problems creating the table of contents. If linking a library
15357 # or program results in "error TOC overflow" add -mminimal-toc to
15358 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15359 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15361 archive_cmds_CXX=''
15362 hardcode_direct_CXX=yes
15363 hardcode_direct_absolute_CXX=yes
15364 hardcode_libdir_separator_CXX=':'
15365 link_all_deplibs_CXX=yes
15366 file_list_spec_CXX='${wl}-f,'
15368 if test "$GXX" = yes; then
15369 case $host_os in aix4.[012]|aix4.[012].*)
15370 # We only want to do this on AIX 4.2 and lower, the check
15371 # below for broken collect2 doesn't work under 4.3+
15372 collect2name=`${CC} -print-prog-name=collect2`
15373 if test -f "$collect2name" &&
15374 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
15376 # We have reworked collect2
15379 # We have old collect2
15380 hardcode_direct_CXX=unsupported
15381 # It fails to find uninstalled libraries when the uninstalled
15382 # path is not listed in the libpath. Setting hardcode_minus_L
15383 # to unsupported forces relinking
15384 hardcode_minus_L_CXX=yes
15385 hardcode_libdir_flag_spec_CXX='-L$libdir'
15386 hardcode_libdir_separator_CXX=
15389 shared_flag='-shared'
15390 if test "$aix_use_runtimelinking" = yes; then
15391 shared_flag="$shared_flag "'${wl}-G'
15395 if test "$host_cpu" = ia64; then
15396 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15397 # chokes on -Wl,-G. The following line is correct:
15400 if test "$aix_use_runtimelinking" = yes; then
15401 shared_flag='${wl}-G'
15403 shared_flag='${wl}-bM:SRE'
15408 export_dynamic_flag_spec_CXX='${wl}-bexpall'
15409 # It seems that -bexpall does not export symbols beginning with
15410 # underscore (_), so it is better to generate a list of symbols to
15412 always_export_symbols_CXX=yes
15413 if test "$aix_use_runtimelinking" = yes; then
15414 # Warning - without using the other runtime loading flags (-brtl),
15415 # -berok will link without error, but may produce a broken library.
15416 allow_undefined_flag_CXX='-berok'
15417 # Determine the default libpath from the value encoded in an empty
15419 if test "${lt_cv_aix_libpath+set}" = set; then
15420 aix_libpath=$lt_cv_aix_libpath
15422 if ${lt_cv_aix_libpath__CXX+:} false; then :
15423 $as_echo_n "(cached) " >&6
15425 if test x$ac_no_link = xyes; then
15426 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
15428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15429 /* end confdefs.h. */
15439 if ac_fn_cxx_try_link "$LINENO"; then :
15441 lt_aix_libpath_sed='
15442 /Import File Strings/,/^$/ {
15444 s/^0 *\([^ ]*\) *$/\1/
15448 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15449 # Check for a 64-bit object if we didn't find anything.
15450 if test -z "$lt_cv_aix_libpath__CXX"; then
15451 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15454 rm -f core conftest.err conftest.$ac_objext \
15455 conftest$ac_exeext conftest.$ac_ext
15456 if test -z "$lt_cv_aix_libpath__CXX"; then
15457 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
15462 aix_libpath=$lt_cv_aix_libpath__CXX
15465 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15467 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15469 if test "$host_cpu" = ia64; then
15470 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
15471 allow_undefined_flag_CXX="-z nodefs"
15472 archive_expsym_cmds_CXX="\$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"
15474 # Determine the default libpath from the value encoded in an
15475 # empty executable.
15476 if test "${lt_cv_aix_libpath+set}" = set; then
15477 aix_libpath=$lt_cv_aix_libpath
15479 if ${lt_cv_aix_libpath__CXX+:} false; then :
15480 $as_echo_n "(cached) " >&6
15482 if test x$ac_no_link = xyes; then
15483 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
15485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15486 /* end confdefs.h. */
15496 if ac_fn_cxx_try_link "$LINENO"; then :
15498 lt_aix_libpath_sed='
15499 /Import File Strings/,/^$/ {
15501 s/^0 *\([^ ]*\) *$/\1/
15505 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15506 # Check for a 64-bit object if we didn't find anything.
15507 if test -z "$lt_cv_aix_libpath__CXX"; then
15508 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15511 rm -f core conftest.err conftest.$ac_objext \
15512 conftest$ac_exeext conftest.$ac_ext
15513 if test -z "$lt_cv_aix_libpath__CXX"; then
15514 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
15519 aix_libpath=$lt_cv_aix_libpath__CXX
15522 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15523 # Warning - without using the other run time loading flags,
15524 # -berok will link without error, but may produce a broken library.
15525 no_undefined_flag_CXX=' ${wl}-bernotok'
15526 allow_undefined_flag_CXX=' ${wl}-berok'
15527 if test "$with_gnu_ld" = yes; then
15528 # We only use this code for GNU lds that support --whole-archive.
15529 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15531 # Exported symbols can be pulled into shared objects from archives
15532 whole_archive_flag_spec_CXX='$convenience'
15534 archive_cmds_need_lc_CXX=yes
15535 # This is similar to how AIX traditionally builds its shared
15537 archive_expsym_cmds_CXX="\$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'
15543 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15544 allow_undefined_flag_CXX=unsupported
15545 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15546 # support --undefined. This deserves some investigation. FIXME
15547 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15554 case $cc_basename in
15556 # FIXME: insert proper C++ library support
15562 cygwin* | mingw* | pw32* | cegcc*)
15563 case $GXX,$cc_basename in
15566 # hardcode_libdir_flag_spec is actually meaningless, as there is
15567 # no search path for DLLs.
15568 hardcode_libdir_flag_spec_CXX=' '
15569 allow_undefined_flag_CXX=unsupported
15570 always_export_symbols_CXX=yes
15571 file_list_spec_CXX='@'
15572 # Tell ltmain to make .lib files, not .a files.
15574 # Tell ltmain to make .dll files, not .so files.
15576 # FIXME: Setting linknames here is a bad hack.
15577 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
15578 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15579 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
15581 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
15583 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15585 # The linker will not automatically build a static lib if we build a DLL.
15586 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15587 enable_shared_with_static_runtimes_CXX=yes
15589 old_postinstall_cmds_CXX='chmod 644 $oldlib'
15590 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
15591 lt_tool_outputfile="@TOOL_OUTPUT@"~
15592 case $lt_outputfile in
15595 lt_outputfile="$lt_outputfile.exe"
15596 lt_tool_outputfile="$lt_tool_outputfile.exe"
15599 func_to_tool_file "$lt_outputfile"~
15600 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
15601 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15602 $RM "$lt_outputfile.manifest";
15607 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15608 # as there is no search path for DLLs.
15609 hardcode_libdir_flag_spec_CXX='-L$libdir'
15610 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
15611 allow_undefined_flag_CXX=unsupported
15612 always_export_symbols_CXX=no
15613 enable_shared_with_static_runtimes_CXX=yes
15615 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15616 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15617 # If the export-symbols file already is a .def file (1st line
15618 # is EXPORTS), use it as is; otherwise, prepend...
15619 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15620 cp $export_symbols $output_objdir/$soname.def;
15622 echo EXPORTS > $output_objdir/$soname.def;
15623 cat $export_symbols >> $output_objdir/$soname.def;
15625 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15632 darwin* | rhapsody*)
15635 archive_cmds_need_lc_CXX=no
15636 hardcode_direct_CXX=no
15637 hardcode_automatic_CXX=yes
15638 hardcode_shlibpath_var_CXX=unsupported
15639 if test "$lt_cv_ld_force_load" = "yes"; then
15640 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
15643 whole_archive_flag_spec_CXX=''
15645 link_all_deplibs_CXX=yes
15646 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
15647 case $cc_basename in
15648 ifort*) _lt_dar_can_shared=yes ;;
15649 *) _lt_dar_can_shared=$GCC ;;
15651 if test "$_lt_dar_can_shared" = "yes"; then
15652 output_verbose_link_cmd=func_echo_all
15653 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
15654 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15655 archive_expsym_cmds_CXX="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}"
15656 module_expsym_cmds_CXX="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}"
15657 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
15658 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
15659 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
15669 case $cc_basename in
15671 # FIXME: insert proper C++ library support
15675 # Green Hills C++ Compiler
15676 # FIXME: insert proper C++ library support
15680 # FIXME: insert proper C++ library support
15687 # C++ shared libraries reported to be fairly broken before
15693 archive_cmds_need_lc_CXX=no
15696 freebsd* | dragonfly*)
15697 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15706 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15707 link_all_deplibs_CXX=yes
15711 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15712 hardcode_libdir_separator_CXX=:
15713 export_dynamic_flag_spec_CXX='${wl}-E'
15714 hardcode_direct_CXX=yes
15715 hardcode_minus_L_CXX=yes # Not in the search PATH,
15716 # but as the default
15717 # location of the library.
15719 case $cc_basename in
15721 # FIXME: insert proper C++ library support
15725 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15726 # Commands to make compiler produce verbose output that lists
15727 # what "hidden" libraries, object files and flags are used when
15728 # linking a shared library.
15730 # There doesn't appear to be a way to prevent this compiler from
15731 # explicitly linking system object files so we need to strip them
15732 # from the output so that they don't get included in the library
15734 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15737 if test "$GXX" = yes; then
15738 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15740 # FIXME: insert proper C++ library support
15748 if test $with_gnu_ld = no; then
15749 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15750 hardcode_libdir_separator_CXX=:
15756 export_dynamic_flag_spec_CXX='${wl}-E'
15762 hardcode_direct_CXX=no
15763 hardcode_shlibpath_var_CXX=no
15766 hardcode_direct_CXX=yes
15767 hardcode_direct_absolute_CXX=yes
15768 hardcode_minus_L_CXX=yes # Not in the search PATH,
15769 # but as the default
15770 # location of the library.
15774 case $cc_basename in
15776 # FIXME: insert proper C++ library support
15782 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15785 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15788 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15791 # Commands to make compiler produce verbose output that lists
15792 # what "hidden" libraries, object files and flags are used when
15793 # linking a shared library.
15795 # There doesn't appear to be a way to prevent this compiler from
15796 # explicitly linking system object files so we need to strip them
15797 # from the output so that they don't get included in the library
15799 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15802 if test "$GXX" = yes; then
15803 if test $with_gnu_ld = no; then
15806 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15809 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15812 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15817 # FIXME: insert proper C++ library support
15825 hardcode_direct_CXX=no
15826 hardcode_shlibpath_var_CXX=no
15827 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15828 export_dynamic_flag_spec_CXX='${wl}-E'
15829 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15830 # Instead, shared libraries are loaded at an image base (0x10000000 by
15831 # default) and relocated if they conflict, which is a slow very memory
15832 # consuming and fragmenting process. To avoid this, we pick a random,
15833 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15834 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15835 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15836 archive_expsym_cmds_CXX='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'
15839 case $cc_basename in
15842 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15844 # Archives containing C++ object files must be created using
15845 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15846 # necessary to make sure instantiated templates are included
15848 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15851 if test "$GXX" = yes; then
15852 if test "$with_gnu_ld" = no; then
15853 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15855 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
15858 link_all_deplibs_CXX=yes
15861 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15862 hardcode_libdir_separator_CXX=:
15863 inherit_rpath_CXX=yes
15866 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15867 case $cc_basename in
15869 # Kuck and Associates, Inc. (KAI) C++ Compiler
15871 # KCC will only create a shared library if the output file
15872 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15873 # to its proper name (with version) after linking.
15874 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
15875 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
15876 # Commands to make compiler produce verbose output that lists
15877 # what "hidden" libraries, object files and flags are used when
15878 # linking a shared library.
15880 # There doesn't appear to be a way to prevent this compiler from
15881 # explicitly linking system object files so we need to strip them
15882 # from the output so that they don't get included in the library
15884 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15886 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15887 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15889 # Archives containing C++ object files must be created using
15890 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15891 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15896 # version 8.0 and above of icpc choke on multiply defined symbols
15897 # if we add $predep_objects and $postdep_objects, however 7.1 and
15898 # earlier do not add the objects themselves.
15899 case `$CC -V 2>&1` in
15901 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15902 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15904 *) # Version 8.0 or newer
15907 ia64*) tmp_idyn=' -i_dynamic';;
15909 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15910 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15913 archive_cmds_need_lc_CXX=no
15914 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15915 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15916 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15919 # Portland Group C++ compiler
15921 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15922 prelink_cmds_CXX='tpldir=Template.dir~
15924 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15925 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15926 old_archive_cmds_CXX='tpldir=Template.dir~
15928 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15929 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15931 archive_cmds_CXX='tpldir=Template.dir~
15933 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15934 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15935 archive_expsym_cmds_CXX='tpldir=Template.dir~
15937 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15938 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
15940 *) # Version 6 and above use weak symbols
15941 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15942 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
15946 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15947 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15948 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
15952 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15953 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
15955 runpath_var=LD_RUN_PATH
15956 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15957 hardcode_libdir_separator_CXX=:
15959 # Commands to make compiler produce verbose output that lists
15960 # what "hidden" libraries, object files and flags are used when
15961 # linking a shared library.
15963 # There doesn't appear to be a way to prevent this compiler from
15964 # explicitly linking system object files so we need to strip them
15965 # from the output so that they don't get included in the library
15967 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
15969 xl* | mpixl* | bgxl*)
15970 # IBM XL 8.0 on PPC, with GNU ld
15971 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15972 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15973 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15974 if test "x$supports_anon_versioning" = xyes; then
15975 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15976 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15977 echo "local: *; };" >> $output_objdir/$libname.ver~
15978 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15982 case `$CC -V 2>&1 | sed 5q` in
15985 no_undefined_flag_CXX=' -zdefs'
15986 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15987 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
15988 hardcode_libdir_flag_spec_CXX='-R$libdir'
15989 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
15990 compiler_needs_object_CXX=yes
15992 # Not sure whether something based on
15993 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15995 output_verbose_link_cmd='func_echo_all'
15997 # Archives containing C++ object files must be created using
15998 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15999 # necessary to make sure instantiated templates are included
16001 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
16009 # FIXME: insert proper C++ library support
16014 # FIXME: insert proper C++ library support
16019 case $cc_basename in
16021 # FIXME: insert proper C++ library support
16025 # FIXME: insert proper C++ library support
16032 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16033 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
16035 hardcode_libdir_flag_spec_CXX='-R$libdir'
16036 hardcode_direct_CXX=yes
16037 hardcode_shlibpath_var_CXX=no
16039 # Workaround some broken pre-1.5 toolchains
16040 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
16048 # C++ shared libraries are fairly broken
16053 if test -f /usr/libexec/ld.so; then
16054 hardcode_direct_CXX=yes
16055 hardcode_shlibpath_var_CXX=no
16056 hardcode_direct_absolute_CXX=yes
16057 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16058 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16059 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16060 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
16061 export_dynamic_flag_spec_CXX='${wl}-E'
16062 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16064 output_verbose_link_cmd=func_echo_all
16070 osf3* | osf4* | osf5*)
16071 case $cc_basename in
16073 # Kuck and Associates, Inc. (KAI) C++ Compiler
16075 # KCC will only create a shared library if the output file
16076 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16077 # to its proper name (with version) after linking.
16078 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
16080 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16081 hardcode_libdir_separator_CXX=:
16083 # Archives containing C++ object files must be created using
16084 # the KAI C++ compiler.
16086 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
16087 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
16091 # Rational C++ 2.4.1
16092 # FIXME: insert proper C++ library support
16098 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
16099 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
16100 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16103 allow_undefined_flag_CXX=' -expect_unresolved \*'
16104 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
16105 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
16106 echo "-hidden">> $lib.exp~
16107 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
16109 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16113 hardcode_libdir_separator_CXX=:
16115 # Commands to make compiler produce verbose output that lists
16116 # what "hidden" libraries, object files and flags are used when
16117 # linking a shared library.
16119 # There doesn't appear to be a way to prevent this compiler from
16120 # explicitly linking system object files so we need to strip them
16121 # from the output so that they don't get included in the library
16123 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
16126 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
16127 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
16130 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16133 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16137 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16138 hardcode_libdir_separator_CXX=:
16140 # Commands to make compiler produce verbose output that lists
16141 # what "hidden" libraries, object files and flags are used when
16142 # linking a shared library.
16143 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16146 # FIXME: insert proper C++ library support
16154 # FIXME: insert proper C++ library support
16159 case $cc_basename in
16162 # FIXME: insert proper C++ library support
16167 # FIXME: insert proper C++ library support
16171 # FIXME: insert proper C++ library support
16178 case $cc_basename in
16180 # Sun C++ 4.2, 5.x and Centerline C++
16181 archive_cmds_need_lc_CXX=yes
16182 no_undefined_flag_CXX=' -zdefs'
16183 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16184 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16185 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16187 hardcode_libdir_flag_spec_CXX='-R$libdir'
16188 hardcode_shlibpath_var_CXX=no
16190 solaris2.[0-5] | solaris2.[0-5].*) ;;
16192 # The compiler driver will combine and reorder linker options,
16193 # but understands `-z linker_flag'.
16194 # Supported since Solaris 2.6 (maybe 2.5.1?)
16195 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
16198 link_all_deplibs_CXX=yes
16200 output_verbose_link_cmd='func_echo_all'
16202 # Archives containing C++ object files must be created using
16203 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16204 # necessary to make sure instantiated templates are included
16206 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
16209 # Green Hills C++ Compiler
16210 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16212 # The C++ compiler must be used to create the archive.
16213 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
16216 # GNU C++ compiler with Solaris linker
16217 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
16218 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
16219 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
16220 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16221 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16222 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16224 # Commands to make compiler produce verbose output that lists
16225 # what "hidden" libraries, object files and flags are used when
16226 # linking a shared library.
16227 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16229 # g++ 2.7 appears to require `-G' NOT `-shared' on this
16231 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16232 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16233 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16235 # Commands to make compiler produce verbose output that lists
16236 # what "hidden" libraries, object files and flags are used when
16237 # linking a shared library.
16238 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16241 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
16243 solaris2.[0-5] | solaris2.[0-5].*) ;;
16245 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16253 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16254 no_undefined_flag_CXX='${wl}-z,text'
16255 archive_cmds_need_lc_CXX=no
16256 hardcode_shlibpath_var_CXX=no
16257 runpath_var='LD_RUN_PATH'
16259 case $cc_basename in
16261 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16262 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16265 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16266 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16271 sysv5* | sco3.2v5* | sco5v6*)
16272 # Note: We can NOT use -z defs as we might desire, because we do not
16273 # link with -lc, and that would cause any symbols used from libc to
16274 # always be unresolved, which means just about no library would
16275 # ever link correctly. If we're not using GNU ld we use -z text
16276 # though, which does catch some bad symbols but isn't as heavy-handed
16278 no_undefined_flag_CXX='${wl}-z,text'
16279 allow_undefined_flag_CXX='${wl}-z,nodefs'
16280 archive_cmds_need_lc_CXX=no
16281 hardcode_shlibpath_var_CXX=no
16282 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
16283 hardcode_libdir_separator_CXX=':'
16284 link_all_deplibs_CXX=yes
16285 export_dynamic_flag_spec_CXX='${wl}-Bexport'
16286 runpath_var='LD_RUN_PATH'
16288 case $cc_basename in
16290 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16291 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16292 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
16293 '"$old_archive_cmds_CXX"
16294 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
16295 '"$reload_cmds_CXX"
16298 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16299 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16305 case $cc_basename in
16307 # NonStop-UX NCC 3.20
16308 # FIXME: insert proper C++ library support
16312 # FIXME: insert proper C++ library support
16319 # FIXME: insert proper C++ library support
16324 # FIXME: insert proper C++ library support
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16330 $as_echo "$ld_shlibs_CXX" >&6; }
16331 test "$ld_shlibs_CXX" = no && can_build_shared=no
16337 ## There is no encapsulation within the following macros, do not change
16338 ## the running order or otherwise move them around unless you know exactly
16339 ## what you are doing...
16340 # Dependencies to place before and after the object being linked:
16341 predep_objects_CXX=
16342 postdep_objects_CXX=
16345 compiler_lib_search_path_CXX=
16347 cat > conftest.$ac_ext <<_LT_EOF
16351 Foo (void) { a = 0; }
16358 _lt_libdeps_save_CFLAGS=$CFLAGS
16359 case "$CC $CFLAGS " in #(
16360 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
16361 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
16362 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
16365 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16366 (eval $ac_compile) 2>&5
16368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16369 test $ac_status = 0; }; then
16370 # Parse the compiler output and extract the necessary
16371 # objects, libraries and library flags.
16373 # Sentinel used to keep track of whether or not we are before
16374 # the conftest object file.
16375 pre_test_object_deps_done=no
16377 for p in `eval "$output_verbose_link_cmd"`; do
16378 case ${prev}${p} in
16381 # Some compilers place space between "-{L,R}" and the path.
16382 # Remove the space.
16383 if test $p = "-L" ||
16384 test $p = "-R"; then
16389 # Expand the sysroot to ease extracting the directories later.
16390 if test -z "$prev"; then
16392 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
16393 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
16394 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
16398 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
16400 if test "$pre_test_object_deps_done" = no; then
16403 # Internal compiler library paths should come after those
16404 # provided the user. The postdeps already come after the
16405 # user supplied libs so there is no need to process them.
16406 if test -z "$compiler_lib_search_path_CXX"; then
16407 compiler_lib_search_path_CXX="${prev}${p}"
16409 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
16412 # The "-l" case would never come before the object being
16413 # linked, so don't bother handling this case.
16416 if test -z "$postdeps_CXX"; then
16417 postdeps_CXX="${prev}${p}"
16419 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
16425 *.lto.$objext) ;; # Ignore GCC LTO objects
16427 # This assumes that the test object file only shows up
16428 # once in the compiler output.
16429 if test "$p" = "conftest.$objext"; then
16430 pre_test_object_deps_done=yes
16434 if test "$pre_test_object_deps_done" = no; then
16435 if test -z "$predep_objects_CXX"; then
16436 predep_objects_CXX="$p"
16438 predep_objects_CXX="$predep_objects_CXX $p"
16441 if test -z "$postdep_objects_CXX"; then
16442 postdep_objects_CXX="$p"
16444 postdep_objects_CXX="$postdep_objects_CXX $p"
16449 *) ;; # Ignore the rest.
16457 echo "libtool.m4: error: problem compiling CXX test program"
16460 $RM -f confest.$objext
16461 CFLAGS=$_lt_libdeps_save_CFLAGS
16463 # PORTME: override above test on systems where it is broken
16466 # Interix 3.5 installs completely hosed .la files for C++, so rather than
16467 # hack all around it, let's just trust "g++" to DTRT.
16468 predep_objects_CXX=
16469 postdep_objects_CXX=
16474 case `$CC -V 2>&1 | sed 5q` in
16478 # The more standards-conforming stlport4 library is
16479 # incompatible with the Cstd library. Avoid specifying
16480 # it if it's in CXXFLAGS. Ignore libCrun as
16481 # -library=stlport4 depends on it.
16482 case " $CXX $CXXFLAGS " in
16483 *" -library=stlport4 "*)
16484 solaris_use_stlport4=yes
16488 if test "$solaris_use_stlport4" != yes; then
16489 postdeps_CXX='-library=Cstd -library=Crun'
16496 case $cc_basename in
16498 # The more standards-conforming stlport4 library is
16499 # incompatible with the Cstd library. Avoid specifying
16500 # it if it's in CXXFLAGS. Ignore libCrun as
16501 # -library=stlport4 depends on it.
16502 case " $CXX $CXXFLAGS " in
16503 *" -library=stlport4 "*)
16504 solaris_use_stlport4=yes
16508 # Adding this requires a known-good setup of shared libraries for
16509 # Sun compiler versions before 5.6, else PIC objects from an old
16510 # archive will be linked into the output, leading to subtle bugs.
16511 if test "$solaris_use_stlport4" != yes; then
16512 postdeps_CXX='-library=Cstd -library=Crun'
16520 case " $postdeps_CXX " in
16521 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
16523 compiler_lib_search_dirs_CXX=
16524 if test -n "${compiler_lib_search_path_CXX}"; then
16525 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
16558 lt_prog_compiler_wl_CXX=
16559 lt_prog_compiler_pic_CXX=
16560 lt_prog_compiler_static_CXX=
16563 # C++ specific cases for pic, static, wl, etc.
16564 if test "$GXX" = yes; then
16565 lt_prog_compiler_wl_CXX='-Wl,'
16566 lt_prog_compiler_static_CXX='-static'
16570 # All AIX code is PIC.
16571 if test "$host_cpu" = ia64; then
16572 # AIX 5 now supports IA64 processor
16573 lt_prog_compiler_static_CXX='-Bstatic'
16580 # see comment about AmigaOS4 .so support
16581 lt_prog_compiler_pic_CXX='-fPIC'
16584 # FIXME: we need at least 68020 code to build shared libraries, but
16585 # adding the `-m68020' flag to GCC prevents building anything better,
16587 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16592 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16593 # PIC is the default for these OSes.
16595 mingw* | cygwin* | os2* | pw32* | cegcc*)
16596 # This hack is so that the source file can tell whether it is being
16597 # built for inclusion in a dll (and should export symbols for example).
16598 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16599 # (--disable-auto-import) libraries
16600 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16602 darwin* | rhapsody*)
16603 # PIC is the default on this platform
16604 # Common symbols not allowed in MH_DYLIB files
16605 lt_prog_compiler_pic_CXX='-fno-common'
16608 # DJGPP does not support shared libraries at all
16609 lt_prog_compiler_pic_CXX=
16612 # PIC is the default for Haiku.
16613 # The "-static" flag exists, but is broken.
16614 lt_prog_compiler_static_CXX=
16617 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16618 # Instead, we relocate shared libraries at runtime.
16621 if test -d /usr/nec; then
16622 lt_prog_compiler_pic_CXX=-Kconform_pic
16626 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16627 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16628 # sets the default TLS model and affects inlining.
16633 lt_prog_compiler_pic_CXX='-fPIC'
16638 # QNX uses GNU C++, but need to define -shared option too, otherwise
16639 # it will coredump.
16640 lt_prog_compiler_pic_CXX='-fPIC -shared'
16643 lt_prog_compiler_pic_CXX='-fPIC'
16649 # All AIX code is PIC.
16650 if test "$host_cpu" = ia64; then
16651 # AIX 5 now supports IA64 processor
16652 lt_prog_compiler_static_CXX='-Bstatic'
16654 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16658 case $cc_basename in
16660 # Green Hills C++ Compiler
16661 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
16665 mingw* | cygwin* | os2* | pw32* | cegcc*)
16666 # This hack is so that the source file can tell whether it is being
16667 # built for inclusion in a dll (and should export symbols for example).
16668 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16671 case $cc_basename in
16673 lt_prog_compiler_pic_CXX='-KPIC'
16676 # Green Hills C++ Compiler
16677 lt_prog_compiler_pic_CXX='-pic'
16683 freebsd* | dragonfly*)
16684 # FreeBSD uses GNU C++
16686 hpux9* | hpux10* | hpux11*)
16687 case $cc_basename in
16689 lt_prog_compiler_wl_CXX='-Wl,'
16690 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16691 if test "$host_cpu" != ia64; then
16692 lt_prog_compiler_pic_CXX='+Z'
16696 lt_prog_compiler_wl_CXX='-Wl,'
16697 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16703 lt_prog_compiler_pic_CXX='+Z'
16712 # This is c89, which is MS Visual C++ (no shared libs)
16713 # Anyone wants to do a port?
16715 irix5* | irix6* | nonstopux*)
16716 case $cc_basename in
16718 lt_prog_compiler_wl_CXX='-Wl,'
16719 lt_prog_compiler_static_CXX='-non_shared'
16720 # CC pic flag -KPIC is the default.
16726 linux* | k*bsd*-gnu | kopensolaris*-gnu)
16727 case $cc_basename in
16730 lt_prog_compiler_wl_CXX='--backend -Wl,'
16731 lt_prog_compiler_pic_CXX='-fPIC'
16734 # old Intel C++ for x86_64 which still supported -KPIC.
16735 lt_prog_compiler_wl_CXX='-Wl,'
16736 lt_prog_compiler_pic_CXX='-KPIC'
16737 lt_prog_compiler_static_CXX='-static'
16740 # Intel C++, used to be incompatible with GCC.
16741 # ICC 10 doesn't accept -KPIC any more.
16742 lt_prog_compiler_wl_CXX='-Wl,'
16743 lt_prog_compiler_pic_CXX='-fPIC'
16744 lt_prog_compiler_static_CXX='-static'
16747 # Portland Group C++ compiler
16748 lt_prog_compiler_wl_CXX='-Wl,'
16749 lt_prog_compiler_pic_CXX='-fpic'
16750 lt_prog_compiler_static_CXX='-Bstatic'
16754 # Make sure the PIC flag is empty. It appears that all Alpha
16755 # Linux and Compaq Tru64 Unix objects are PIC.
16756 lt_prog_compiler_pic_CXX=
16757 lt_prog_compiler_static_CXX='-non_shared'
16759 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
16760 # IBM XL 8.0, 9.0 on PPC and BlueGene
16761 lt_prog_compiler_wl_CXX='-Wl,'
16762 lt_prog_compiler_pic_CXX='-qpic'
16763 lt_prog_compiler_static_CXX='-qstaticlink'
16766 case `$CC -V 2>&1 | sed 5q` in
16769 lt_prog_compiler_pic_CXX='-KPIC'
16770 lt_prog_compiler_static_CXX='-Bstatic'
16771 lt_prog_compiler_wl_CXX='-Qoption ld '
16782 case $cc_basename in
16784 lt_prog_compiler_pic_CXX='-W c,exportall'
16793 # QNX uses GNU C++, but need to define -shared option too, otherwise
16794 # it will coredump.
16795 lt_prog_compiler_pic_CXX='-fPIC -shared'
16797 osf3* | osf4* | osf5*)
16798 case $cc_basename in
16800 lt_prog_compiler_wl_CXX='--backend -Wl,'
16803 # Rational C++ 2.4.1
16804 lt_prog_compiler_pic_CXX='-pic'
16807 # Digital/Compaq C++
16808 lt_prog_compiler_wl_CXX='-Wl,'
16809 # Make sure the PIC flag is empty. It appears that all Alpha
16810 # Linux and Compaq Tru64 Unix objects are PIC.
16811 lt_prog_compiler_pic_CXX=
16812 lt_prog_compiler_static_CXX='-non_shared'
16821 case $cc_basename in
16823 # Sun C++ 4.2, 5.x and Centerline C++
16824 lt_prog_compiler_pic_CXX='-KPIC'
16825 lt_prog_compiler_static_CXX='-Bstatic'
16826 lt_prog_compiler_wl_CXX='-Qoption ld '
16829 # Green Hills C++ Compiler
16830 lt_prog_compiler_pic_CXX='-PIC'
16837 case $cc_basename in
16840 lt_prog_compiler_pic_CXX='-pic'
16841 lt_prog_compiler_static_CXX='-Bstatic'
16845 lt_prog_compiler_pic_CXX='-pic'
16851 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16852 case $cc_basename in
16854 lt_prog_compiler_wl_CXX='-Wl,'
16855 lt_prog_compiler_pic_CXX='-KPIC'
16856 lt_prog_compiler_static_CXX='-Bstatic'
16861 case $cc_basename in
16863 # NonStop-UX NCC 3.20
16864 lt_prog_compiler_pic_CXX='-KPIC'
16873 lt_prog_compiler_can_build_shared_CXX=no
16879 # For platforms which do not support PIC, -DPIC is meaningless:
16881 lt_prog_compiler_pic_CXX=
16884 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16889 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16890 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
16891 $as_echo_n "(cached) " >&6
16893 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16896 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16897 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
16900 # Check to make sure the PIC flag actually works.
16902 if test -n "$lt_prog_compiler_pic_CXX"; then
16903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16904 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16905 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
16906 $as_echo_n "(cached) " >&6
16908 lt_cv_prog_compiler_pic_works_CXX=no
16909 ac_outfile=conftest.$ac_objext
16910 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16911 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
16912 # Insert the option either (1) after the last *FLAGS variable, or
16913 # (2) before a word containing "conftest.", or (3) at the end.
16914 # Note that $ac_compile itself does not contain backslashes and begins
16915 # with a dollar sign (not a hyphen), so the echo should work correctly.
16916 # The option is referenced via a variable to avoid confusing sed.
16917 lt_compile=`echo "$ac_compile" | $SED \
16918 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16919 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16920 -e 's:$: $lt_compiler_flag:'`
16921 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16922 (eval "$lt_compile" 2>conftest.err)
16924 cat conftest.err >&5
16925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926 if (exit $ac_status) && test -s "$ac_outfile"; then
16927 # The compiler can only warn and ignore the option if not recognized
16928 # So say no if there are warnings other than the usual output.
16929 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16930 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16931 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16932 lt_cv_prog_compiler_pic_works_CXX=yes
16938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16939 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16941 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
16942 case $lt_prog_compiler_pic_CXX in
16944 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16947 lt_prog_compiler_pic_CXX=
16948 lt_prog_compiler_can_build_shared_CXX=no
16958 # Check to make sure the static flag actually works.
16960 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16962 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16963 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
16964 $as_echo_n "(cached) " >&6
16966 lt_cv_prog_compiler_static_works_CXX=no
16967 save_LDFLAGS="$LDFLAGS"
16968 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16969 echo "$lt_simple_link_test_code" > conftest.$ac_ext
16970 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16971 # The linker can only warn and ignore the option if not recognized
16972 # So say no if there are warnings
16973 if test -s conftest.err; then
16974 # Append any errors to the config.log.
16975 cat conftest.err 1>&5
16976 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16977 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16978 if diff conftest.exp conftest.er2 >/dev/null; then
16979 lt_cv_prog_compiler_static_works_CXX=yes
16982 lt_cv_prog_compiler_static_works_CXX=yes
16986 LDFLAGS="$save_LDFLAGS"
16989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16990 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16992 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16995 lt_prog_compiler_static_CXX=
17001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17002 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17003 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
17004 $as_echo_n "(cached) " >&6
17006 lt_cv_prog_compiler_c_o_CXX=no
17007 $RM -r conftest 2>/dev/null
17011 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17013 lt_compiler_flag="-o out/conftest2.$ac_objext"
17014 # Insert the option either (1) after the last *FLAGS variable, or
17015 # (2) before a word containing "conftest.", or (3) at the end.
17016 # Note that $ac_compile itself does not contain backslashes and begins
17017 # with a dollar sign (not a hyphen), so the echo should work correctly.
17018 lt_compile=`echo "$ac_compile" | $SED \
17019 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17020 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17021 -e 's:$: $lt_compiler_flag:'`
17022 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17023 (eval "$lt_compile" 2>out/conftest.err)
17025 cat out/conftest.err >&5
17026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17027 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17029 # The compiler can only warn and ignore the option if not recognized
17030 # So say no if there are warnings
17031 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
17032 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17033 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17034 lt_cv_prog_compiler_c_o_CXX=yes
17039 # SGI C++ compiler will create directory out/ii_files/ for
17040 # template instantiation
17041 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
17042 $RM out/* && rmdir out
17048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17049 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17054 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17055 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
17056 $as_echo_n "(cached) " >&6
17058 lt_cv_prog_compiler_c_o_CXX=no
17059 $RM -r conftest 2>/dev/null
17063 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17065 lt_compiler_flag="-o out/conftest2.$ac_objext"
17066 # Insert the option either (1) after the last *FLAGS variable, or
17067 # (2) before a word containing "conftest.", or (3) at the end.
17068 # Note that $ac_compile itself does not contain backslashes and begins
17069 # with a dollar sign (not a hyphen), so the echo should work correctly.
17070 lt_compile=`echo "$ac_compile" | $SED \
17071 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17072 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17073 -e 's:$: $lt_compiler_flag:'`
17074 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17075 (eval "$lt_compile" 2>out/conftest.err)
17077 cat out/conftest.err >&5
17078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17079 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17081 # The compiler can only warn and ignore the option if not recognized
17082 # So say no if there are warnings
17083 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
17084 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17085 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17086 lt_cv_prog_compiler_c_o_CXX=yes
17091 # SGI C++ compiler will create directory out/ii_files/ for
17092 # template instantiation
17093 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
17094 $RM out/* && rmdir out
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17101 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17106 hard_links="nottested"
17107 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
17108 # do not overwrite the value of need_locks provided by the user
17109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
17110 $as_echo_n "checking if we can lock with hard links... " >&6; }
17113 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17115 ln conftest.a conftest.b 2>&5 || hard_links=no
17116 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17118 $as_echo "$hard_links" >&6; }
17119 if test "$hard_links" = no; then
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17121 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17131 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17133 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17134 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17137 # If we're using GNU nm, then we don't want the "-C" option.
17138 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17139 # Also, AIX nm treats weak defined symbols like other global defined
17140 # symbols, whereas GNU nm marks them as "W".
17141 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
17142 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
17144 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
17148 export_symbols_cmds_CXX="$ltdll_cmds"
17150 cygwin* | mingw* | cegcc*)
17151 case $cc_basename in
17153 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
17156 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
17157 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
17162 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17167 $as_echo "$ld_shlibs_CXX" >&6; }
17168 test "$ld_shlibs_CXX" = no && can_build_shared=no
17170 with_gnu_ld_CXX=$with_gnu_ld
17178 # Do we need to explicitly link libc?
17180 case "x$archive_cmds_need_lc_CXX" in
17182 # Assume -lc should be added
17183 archive_cmds_need_lc_CXX=yes
17185 if test "$enable_shared" = yes && test "$GCC" = yes; then
17186 case $archive_cmds_CXX in
17188 # FIXME: we may have to deal with multi-command sequences.
17191 # Test whether the compiler implicitly links with -lc since on some
17192 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17193 # to ld, don't add -lc before -lgcc.
17194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
17195 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
17196 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
17197 $as_echo_n "(cached) " >&6
17200 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17202 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17203 (eval $ac_compile) 2>&5
17205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17206 test $ac_status = 0; } 2>conftest.err; then
17209 libobjs=conftest.$ac_objext
17211 wl=$lt_prog_compiler_wl_CXX
17212 pic_flag=$lt_prog_compiler_pic_CXX
17218 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
17219 allow_undefined_flag_CXX=
17220 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
17221 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
17223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17224 test $ac_status = 0; }
17226 lt_cv_archive_cmds_need_lc_CXX=no
17228 lt_cv_archive_cmds_need_lc_CXX=yes
17230 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
17232 cat conftest.err 1>&5
17237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
17238 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
17239 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
17307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17308 $as_echo_n "checking dynamic linker characteristics... " >&6; }
17310 library_names_spec=
17311 libname_spec='lib$name'
17315 postuninstall_cmds=
17319 shlibpath_overrides_runpath=unknown
17321 dynamic_linker="$host_os ld.so"
17322 sys_lib_dlsearch_path_spec="/lib /usr/lib"
17323 need_lib_prefix=unknown
17324 hardcode_into_libs=no
17326 # when you set need_version to no, make sure it does not cause -set_version
17327 # flags to be left without arguments
17328 need_version=unknown
17332 version_type=linux # correct to gnu/linux during the next big refactor
17333 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17334 shlibpath_var=LIBPATH
17336 # AIX 3 has no versioning support, so we append a major version to the name.
17337 soname_spec='${libname}${release}${shared_ext}$major'
17341 version_type=linux # correct to gnu/linux during the next big refactor
17344 hardcode_into_libs=yes
17345 if test "$host_cpu" = ia64; then
17346 # AIX 5 supports IA64
17347 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17348 shlibpath_var=LD_LIBRARY_PATH
17350 # With GCC up to 2.95.x, collect2 would create an import file
17351 # for dependence libraries. The import file would start with
17352 # the line `#! .'. This would cause the generated library to
17353 # depend on `.', always an invalid library. This was fixed in
17354 # development snapshots of GCC prior to 3.0.
17356 aix4 | aix4.[01] | aix4.[01].*)
17357 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17359 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
17362 can_build_shared=no
17366 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17367 # soname into executable. Probably we can add versioning support to
17368 # collect2, so additional links can be useful in future.
17369 if test "$aix_use_runtimelinking" = yes; then
17370 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17371 # instead of lib<name>.a to let people know that these are not
17372 # typical AIX shared libraries.
17373 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17375 # We preserve .a as extension for shared libraries through AIX4.2
17376 # and later when we are not doing run time linking.
17377 library_names_spec='${libname}${release}.a $libname.a'
17378 soname_spec='${libname}${release}${shared_ext}$major'
17380 shlibpath_var=LIBPATH
17387 # Since July 2007 AmigaOS4 officially supports .so libraries.
17388 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17389 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17392 library_names_spec='$libname.ixlibrary $libname.a'
17393 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17394 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
17400 library_names_spec='${libname}${shared_ext}'
17401 dynamic_linker="$host_os ld.so"
17402 shlibpath_var=LIBRARY_PATH
17406 version_type=linux # correct to gnu/linux during the next big refactor
17408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17409 soname_spec='${libname}${release}${shared_ext}$major'
17410 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17411 shlibpath_var=LD_LIBRARY_PATH
17412 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17413 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17414 # the default ld.so.conf also contains /usr/contrib/lib and
17415 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17416 # libtool to hard-code these into programs
17419 cygwin* | mingw* | pw32* | cegcc*)
17420 version_type=windows
17425 case $GCC,$cc_basename in
17428 library_names_spec='$libname.dll.a'
17429 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17430 postinstall_cmds='base_file=`basename \${file}`~
17431 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17432 dldir=$destdir/`dirname \$dlpath`~
17433 test -d \$dldir || mkdir -p \$dldir~
17434 $install_prog $dir/$dlname \$dldir/$dlname~
17435 chmod a+x \$dldir/$dlname~
17436 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17437 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17439 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17440 dlpath=$dir/\$dldll~
17442 shlibpath_overrides_runpath=yes
17446 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17447 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17451 # MinGW DLLs use traditional 'lib' prefix
17452 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17455 # pw32 DLLs use 'pw' prefix rather than 'lib'
17456 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17459 dynamic_linker='Win32 ld.exe'
17464 libname_spec='$name'
17465 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17466 library_names_spec='${libname}.dll.lib'
17470 sys_lib_search_path_spec=
17473 for lt_path in $LIB
17476 # Let DOS variable expansion print the short 8.3 style file name.
17477 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
17478 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
17481 # Convert to MSYS style.
17482 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
17485 # Convert to unix form, then to dos form, then back to unix form
17486 # but this time dos style (no spaces!) so that the unix form looks
17487 # like /cygdrive/c/PROGRA~1:/cygdr...
17488 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
17489 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
17490 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17493 sys_lib_search_path_spec="$LIB"
17494 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
17495 # It is most probably a Windows format PATH.
17496 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17498 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17500 # FIXME: find the short name or the path components, as spaces are
17501 # common. (e.g. "Program Files" -> "PROGRA~1")
17505 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17506 postinstall_cmds='base_file=`basename \${file}`~
17507 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17508 dldir=$destdir/`dirname \$dlpath`~
17509 test -d \$dldir || mkdir -p \$dldir~
17510 $install_prog $dir/$dlname \$dldir/$dlname'
17511 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17512 dlpath=$dir/\$dldll~
17514 shlibpath_overrides_runpath=yes
17515 dynamic_linker='Win32 link.exe'
17519 # Assume MSVC wrapper
17520 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17521 dynamic_linker='Win32 ld.exe'
17524 # FIXME: first we should search . and the directory the executable is in
17528 darwin* | rhapsody*)
17529 dynamic_linker="$host_os dyld"
17530 version_type=darwin
17533 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17534 soname_spec='${libname}${release}${major}$shared_ext'
17535 shlibpath_overrides_runpath=yes
17536 shlibpath_var=DYLD_LIBRARY_PATH
17537 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17539 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17543 version_type=linux # correct to gnu/linux during the next big refactor
17546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17547 soname_spec='${libname}${release}${shared_ext}$major'
17548 shlibpath_var=LD_LIBRARY_PATH
17551 freebsd* | dragonfly*)
17552 # DragonFly does not have aout. When/if they implement a new
17553 # versioning mechanism, adjust this.
17554 if test -x /usr/bin/objformat; then
17555 objformat=`/usr/bin/objformat`
17558 freebsd[23].*) objformat=aout ;;
17559 *) objformat=elf ;;
17562 version_type=freebsd-$objformat
17563 case $version_type in
17565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17570 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17574 shlibpath_var=LD_LIBRARY_PATH
17577 shlibpath_overrides_runpath=yes
17579 freebsd3.[01]* | freebsdelf3.[01]*)
17580 shlibpath_overrides_runpath=yes
17581 hardcode_into_libs=yes
17583 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17584 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17585 shlibpath_overrides_runpath=no
17586 hardcode_into_libs=yes
17588 *) # from 4.6 on, and DragonFly
17589 shlibpath_overrides_runpath=yes
17590 hardcode_into_libs=yes
17596 version_type=linux # correct to gnu/linux during the next big refactor
17599 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17600 soname_spec='${libname}${release}${shared_ext}$major'
17601 shlibpath_var=LD_LIBRARY_PATH
17602 shlibpath_overrides_runpath=no
17603 hardcode_into_libs=yes
17607 version_type=linux # correct to gnu/linux during the next big refactor
17610 dynamic_linker="$host_os runtime_loader"
17611 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17612 soname_spec='${libname}${release}${shared_ext}$major'
17613 shlibpath_var=LIBRARY_PATH
17614 shlibpath_overrides_runpath=yes
17615 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17616 hardcode_into_libs=yes
17619 hpux9* | hpux10* | hpux11*)
17620 # Give a soname corresponding to the major version so that dld.sl refuses to
17621 # link against other versions.
17628 hardcode_into_libs=yes
17629 dynamic_linker="$host_os dld.so"
17630 shlibpath_var=LD_LIBRARY_PATH
17631 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17632 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17633 soname_spec='${libname}${release}${shared_ext}$major'
17634 if test "X$HPUX_IA64_MODE" = X32; then
17635 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17637 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17639 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17643 hardcode_into_libs=yes
17644 dynamic_linker="$host_os dld.sl"
17645 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17646 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17648 soname_spec='${libname}${release}${shared_ext}$major'
17649 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17650 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17654 dynamic_linker="$host_os dld.sl"
17655 shlibpath_var=SHLIB_PATH
17656 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17657 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17658 soname_spec='${libname}${release}${shared_ext}$major'
17661 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17662 postinstall_cmds='chmod 555 $lib'
17663 # or fails outright, so override atomically:
17664 install_override_mode=555
17668 version_type=linux # correct to gnu/linux during the next big refactor
17671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17672 soname_spec='${libname}${release}${shared_ext}$major'
17673 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17674 shlibpath_var=LD_LIBRARY_PATH
17675 shlibpath_overrides_runpath=no
17676 hardcode_into_libs=yes
17679 irix5* | irix6* | nonstopux*)
17681 nonstopux*) version_type=nonstopux ;;
17683 if test "$lt_cv_prog_gnu_ld" = yes; then
17684 version_type=linux # correct to gnu/linux during the next big refactor
17691 soname_spec='${libname}${release}${shared_ext}$major'
17692 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17694 irix5* | nonstopux*)
17695 libsuff= shlibsuff=
17698 case $LD in # libtool.m4 will add one of these switches to LD
17699 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17700 libsuff= shlibsuff= libmagic=32-bit;;
17701 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17702 libsuff=32 shlibsuff=N32 libmagic=N32;;
17703 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17704 libsuff=64 shlibsuff=64 libmagic=64-bit;;
17705 *) libsuff= shlibsuff= libmagic=never-match;;
17709 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17710 shlibpath_overrides_runpath=no
17711 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17712 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17713 hardcode_into_libs=yes
17716 # No shared lib support for Linux oldld, aout, or coff.
17717 linux*oldld* | linux*aout* | linux*coff*)
17721 # This must be glibc/ELF.
17722 linux* | k*bsd*-gnu | kopensolaris*-gnu)
17723 version_type=linux # correct to gnu/linux during the next big refactor
17726 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17727 soname_spec='${libname}${release}${shared_ext}$major'
17728 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17729 shlibpath_var=LD_LIBRARY_PATH
17730 shlibpath_overrides_runpath=no
17732 # Some binutils ld are patched to set DT_RUNPATH
17733 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
17734 $as_echo_n "(cached) " >&6
17736 lt_cv_shlibpath_overrides_runpath=no
17737 save_LDFLAGS=$LDFLAGS
17738 save_libdir=$libdir
17739 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17740 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17741 if test x$ac_no_link = xyes; then
17742 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
17744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17745 /* end confdefs.h. */
17755 if ac_fn_cxx_try_link "$LINENO"; then :
17756 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
17757 lt_cv_shlibpath_overrides_runpath=yes
17760 rm -f core conftest.err conftest.$ac_objext \
17761 conftest$ac_exeext conftest.$ac_ext
17762 LDFLAGS=$save_LDFLAGS
17763 libdir=$save_libdir
17767 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
17769 # This implies no fast_install, which is unacceptable.
17770 # Some rework will be needed to allow for fast_install
17771 # before this can be enabled.
17772 hardcode_into_libs=yes
17774 # Append ld.so.conf contents to the search path
17775 if test -f /etc/ld.so.conf; then
17776 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;s/"//g;/^$/d' | tr '\n' ' '`
17777 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17780 # We used to test for /lib/ld.so.1 and disable shared libraries on
17781 # powerpc, because MkLinux only supported shared libraries with the
17782 # GNU dynamic linker. Since this was broken with cross compilers,
17783 # most powerpc-linux boxes support dynamic linking these days and
17784 # people can always --disable-shared, the test was removed, and we
17785 # assume the GNU/Linux dynamic linker is in use.
17786 dynamic_linker='GNU/Linux ld.so'
17793 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17794 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17795 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17796 dynamic_linker='NetBSD (a.out) ld.so'
17798 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17799 soname_spec='${libname}${release}${shared_ext}$major'
17800 dynamic_linker='NetBSD ld.elf_so'
17802 shlibpath_var=LD_LIBRARY_PATH
17803 shlibpath_overrides_runpath=yes
17804 hardcode_into_libs=yes
17808 version_type=linux # correct to gnu/linux during the next big refactor
17809 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17810 shlibpath_var=LD_LIBRARY_PATH
17811 shlibpath_overrides_runpath=yes
17818 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17819 soname_spec='${libname}${release}${shared_ext}$major'
17820 shlibpath_var=LD_LIBRARY_PATH
17821 shlibpath_overrides_runpath=no
17822 hardcode_into_libs=yes
17823 dynamic_linker='ldqnx.so'
17828 sys_lib_dlsearch_path_spec="/usr/lib"
17830 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17832 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17833 *) need_version=no ;;
17835 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17836 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17837 shlibpath_var=LD_LIBRARY_PATH
17838 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17840 openbsd2.[89] | openbsd2.[89].*)
17841 shlibpath_overrides_runpath=no
17844 shlibpath_overrides_runpath=yes
17848 shlibpath_overrides_runpath=yes
17853 libname_spec='$name'
17856 library_names_spec='$libname${shared_ext} $libname.a'
17857 dynamic_linker='OS/2 ld.exe'
17858 shlibpath_var=LIBPATH
17861 osf3* | osf4* | osf5*)
17865 soname_spec='${libname}${release}${shared_ext}$major'
17866 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17867 shlibpath_var=LD_LIBRARY_PATH
17868 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17869 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17877 version_type=linux # correct to gnu/linux during the next big refactor
17880 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17881 soname_spec='${libname}${release}${shared_ext}$major'
17882 shlibpath_var=LD_LIBRARY_PATH
17883 shlibpath_overrides_runpath=yes
17884 hardcode_into_libs=yes
17885 # ldd complains unless libraries are executable
17886 postinstall_cmds='chmod +x $lib'
17891 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17892 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17893 shlibpath_var=LD_LIBRARY_PATH
17894 shlibpath_overrides_runpath=yes
17895 if test "$with_gnu_ld" = yes; then
17902 version_type=linux # correct to gnu/linux during the next big refactor
17903 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17904 soname_spec='${libname}${release}${shared_ext}$major'
17905 shlibpath_var=LD_LIBRARY_PATH
17906 case $host_vendor in
17908 shlibpath_overrides_runpath=no
17910 runpath_var=LD_RUN_PATH
17918 shlibpath_overrides_runpath=no
17919 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17925 if test -d /usr/nec ;then
17926 version_type=linux # correct to gnu/linux during the next big refactor
17927 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17928 soname_spec='$libname${shared_ext}.$major'
17929 shlibpath_var=LD_LIBRARY_PATH
17933 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17934 version_type=freebsd-elf
17937 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17938 soname_spec='${libname}${release}${shared_ext}$major'
17939 shlibpath_var=LD_LIBRARY_PATH
17940 shlibpath_overrides_runpath=yes
17941 hardcode_into_libs=yes
17942 if test "$with_gnu_ld" = yes; then
17943 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17945 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17948 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17952 sys_lib_dlsearch_path_spec='/usr/lib'
17956 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17957 version_type=linux # correct to gnu/linux during the next big refactor
17960 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17961 shlibpath_var=LD_LIBRARY_PATH
17962 shlibpath_overrides_runpath=no
17963 hardcode_into_libs=yes
17967 version_type=linux # correct to gnu/linux during the next big refactor
17968 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17969 soname_spec='${libname}${release}${shared_ext}$major'
17970 shlibpath_var=LD_LIBRARY_PATH
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17978 $as_echo "$dynamic_linker" >&6; }
17979 test "$dynamic_linker" = no && can_build_shared=no
17981 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17982 if test "$GCC" = yes; then
17983 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17986 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17987 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17989 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17990 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
18030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
18031 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
18032 hardcode_action_CXX=
18033 if test -n "$hardcode_libdir_flag_spec_CXX" ||
18034 test -n "$runpath_var_CXX" ||
18035 test "X$hardcode_automatic_CXX" = "Xyes" ; then
18037 # We can hardcode non-existent directories.
18038 if test "$hardcode_direct_CXX" != no &&
18039 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18040 # have to relink, otherwise we might link with an installed library
18041 # when we should be linking with a yet-to-be-installed one
18042 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
18043 test "$hardcode_minus_L_CXX" != no; then
18044 # Linking always hardcodes the temporary library directory.
18045 hardcode_action_CXX=relink
18047 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18048 hardcode_action_CXX=immediate
18051 # We cannot hardcode anything, or else we can only hardcode existing
18053 hardcode_action_CXX=unsupported
18055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
18056 $as_echo "$hardcode_action_CXX" >&6; }
18058 if test "$hardcode_action_CXX" = relink ||
18059 test "$inherit_rpath_CXX" = yes; then
18060 # Fast installation is not supported
18061 enable_fast_install=no
18062 elif test "$shlibpath_overrides_runpath" = yes ||
18063 test "$enable_shared" = no; then
18064 # Fast installation is not necessary
18065 enable_fast_install=needless
18074 fi # test -n "$compiler"
18077 CFLAGS=$lt_save_CFLAGS
18081 with_gnu_ld=$lt_save_with_gnu_ld
18082 lt_cv_path_LDCXX=$lt_cv_path_LD
18083 lt_cv_path_LD=$lt_save_path_LD
18084 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
18085 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
18086 fi # test "$_lt_caught_CXX_error" != yes
18089 ac_cpp='$CPP $CPPFLAGS'
18090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18108 ac_config_commands="$ac_config_commands libtool"
18113 # Only expand once:
18120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build debug instances" >&5
18121 $as_echo "$as_me: checking whether to build debug instances" >&6;}
18126 # Check whether or not a default value has been passed in.
18130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build debug instances of programs and libraries" >&5
18131 $as_echo_n "checking whether to build debug instances of programs and libraries... " >&6; }
18132 if ${nl_cv_build_debug+:} false; then :
18133 $as_echo_n "(cached) " >&6
18136 # Check whether --enable-debug was given.
18137 if test "${enable_debug+set}" = set; then :
18138 enableval=$enable_debug;
18139 case "${enableval}" in
18142 nl_cv_build_debug=${enableval}
18146 as_fn_error $? "Invalid value ${enableval} for --enable-debug" "$LINENO" 5
18153 nl_cv_build_debug=no
18159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_debug" >&5
18160 $as_echo "$nl_cv_build_debug" >&6; }
18162 if test "${nl_cv_build_debug}" = "yes"; then
18163 CFLAGS="${CFLAGS} -DDEBUG"
18164 CXXFLAGS="${CXXFLAGS} -DDEBUG"
18165 OBJCFLAGS="${OBJCFLAGS} -DDEBUG"
18166 OBJCXXFLAGS="${OBJCXXFLAGS} -DDEBUG"
18171 if test "${nl_cv_build_debug}" = "yes"; then
18172 NLFAULTINJECTION_BUILD_DEBUG_TRUE=
18173 NLFAULTINJECTION_BUILD_DEBUG_FALSE='#'
18175 NLFAULTINJECTION_BUILD_DEBUG_TRUE='#'
18176 NLFAULTINJECTION_BUILD_DEBUG_FALSE=
18181 # Code coverage and compiler optimization
18187 # Check whether or not a default value has been passed in.
18191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build code-coverage instances of programs and libraries" >&5
18192 $as_echo_n "checking whether to build code-coverage instances of programs and libraries... " >&6; }
18193 if ${nl_cv_build_coverage+:} false; then :
18194 $as_echo_n "(cached) " >&6
18197 # Check whether --enable-coverage was given.
18198 if test "${enable_coverage+set}" = set; then :
18199 enableval=$enable_coverage;
18200 case "${enableval}" in
18203 nl_cv_build_coverage=${enableval}
18205 if test "${nl_cv_build_optimized}" = "yes"; then
18206 as_fn_error $? "both --enable-optimization and --enable-coverage cannot used. Please, choose one or the other to enable." "$LINENO" 5
18211 as_fn_error $? "Invalid value ${enableval} for --enable-coverage" "$LINENO" 5
18218 if test "${nl_cv_build_optimized}" = "yes"; then
18219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-optimization was specified, coverage disabled" >&5
18220 $as_echo "$as_me: WARNING: --enable-optimization was specified, coverage disabled" >&2;}
18221 nl_cv_build_coverage=no
18224 nl_cv_build_coverage=no
18232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_coverage" >&5
18233 $as_echo "$nl_cv_build_coverage" >&6; }
18235 if test "${nl_cv_build_coverage}" = "yes"; then
18236 if test "${GCC}" != "yes"; then
18237 as_fn_error $? "GCC or a GCC-compatible toolchain is required for --enable-coverage" "$LINENO" 5
18239 NL_COVERAGE_CPPFLAGS="--coverage"
18240 if ${CC} --version | grep -q clang; then
18241 NL_COVERAGE_LDFLAGS="--coverage"
18243 NL_COVERAGE_LIBS="-lgcov"
18250 if test "${nl_cv_build_coverage}" = "yes"; then
18251 NLFAULTINJECTION_BUILD_COVERAGE_TRUE=
18252 NLFAULTINJECTION_BUILD_COVERAGE_FALSE='#'
18254 NLFAULTINJECTION_BUILD_COVERAGE_TRUE='#'
18255 NLFAULTINJECTION_BUILD_COVERAGE_FALSE=
18260 # Check whether or not a default value has been passed in.
18264 # Check for the presence of lcov and genhtml, required
18265 # to build and generate the coverage reports.
18267 # Extract the first word of "lcov", so it can be a program name with args.
18268 set dummy lcov; ac_word=$2
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18270 $as_echo_n "checking for $ac_word... " >&6; }
18271 if ${ac_cv_path_LCOV+:} false; then :
18272 $as_echo_n "(cached) " >&6
18276 ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path.
18279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18280 for as_dir in $PATH
18283 test -z "$as_dir" && as_dir=.
18284 for ac_exec_ext in '' $ac_executable_extensions; do
18285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18286 ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext"
18287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18297 LCOV=$ac_cv_path_LCOV
18298 if test -n "$LCOV"; then
18299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
18300 $as_echo "$LCOV" >&6; }
18302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18303 $as_echo "no" >&6; }
18307 # Extract the first word of "genhtml", so it can be a program name with args.
18308 set dummy genhtml; ac_word=$2
18309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18310 $as_echo_n "checking for $ac_word... " >&6; }
18311 if ${ac_cv_path_GENHTML+:} false; then :
18312 $as_echo_n "(cached) " >&6
18316 ac_cv_path_GENHTML="$GENHTML" # Let the user override the test with a path.
18319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18320 for as_dir in $PATH
18323 test -z "$as_dir" && as_dir=.
18324 for ac_exec_ext in '' $ac_executable_extensions; do
18325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18326 ac_cv_path_GENHTML="$as_dir/$ac_word$ac_exec_ext"
18327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18337 GENHTML=$ac_cv_path_GENHTML
18338 if test -n "$GENHTML"; then
18339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
18340 $as_echo "$GENHTML" >&6; }
18342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18343 $as_echo "no" >&6; }
18348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build graphical code coverage reports" >&5
18349 $as_echo_n "checking whether to build graphical code coverage reports... " >&6; }
18350 if ${nl_cv_build_coverage_reports+:} false; then :
18351 $as_echo_n "(cached) " >&6
18354 # Check whether --enable-coverage-reports was given.
18355 if test "${enable_coverage_reports+set}" = set; then :
18356 enableval=$enable_coverage_reports;
18357 case "${enableval}" in
18360 nl_cv_build_coverage_reports=${enableval}
18364 as_fn_error $? "Invalid value ${enableval} for --enable-coverage" "$LINENO" 5
18371 nl_cv_build_coverage_reports=auto
18376 # If coverage is not enabled, then coverage reports
18377 # defaults to 'no' if it is 'auto' or fails if it is
18378 # 'yes'. Otherwise, availability of lcov and genhtml
18379 # condition behavior. Lack of availability for 'yes'
18380 # results in failure; however, for 'auto' then coverage
18381 # reports default to 'no'.
18383 case "${nl_cv_build_coverage}" in
18386 case "${nl_cv_build_coverage_reports}" in
18389 nl_cv_build_coverage_reports="no"
18393 as_fn_error $? "--enable-coverage must be asserted to use --enable-coverage-reports." "$LINENO" 5
18403 case "${nl_cv_build_coverage_reports}" in
18406 # Both lcov and genhtml must exist to successfully
18407 # enable coverage reports.
18409 if test "x${LCOV}" = "x" || test "x${GENHTML}" = "x"; then
18410 nl_cv_build_coverage_reports="no"
18413 nl_cv_build_coverage_reports="yes"
18419 # Both lcov and genhtml must exist to successfully
18420 # enable coverage reports. Since the default or user
18421 # ask is 'yes', we must fail if lcov or genhtml cannot
18424 if test "x${LCOV}" = "x"; then
18425 as_fn_error $? "Cannot find 'lcov'. You must have the lcov package installed to use coverage reports." "$LINENO" 5
18427 elif test "x${GENHTML}" = "x"; then
18428 as_fn_error $? "Cannot find 'genhtml'. You must have the lcov package installed to use coverage reports." "$LINENO" 5
18430 elif test "${nl_cv_build_coverage_reports}" = "auto"; then
18431 nl_cv_build_coverage_reports="yes"
18445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_coverage_reports" >&5
18446 $as_echo "$nl_cv_build_coverage_reports" >&6; }
18449 if test "${nl_cv_build_coverage_reports}" = "yes"; then
18450 NLFAULTINJECTION_BUILD_COVERAGE_REPORTS_TRUE=
18451 NLFAULTINJECTION_BUILD_COVERAGE_REPORTS_FALSE='#'
18453 NLFAULTINJECTION_BUILD_COVERAGE_REPORTS_TRUE='#'
18454 NLFAULTINJECTION_BUILD_COVERAGE_REPORTS_FALSE=
18461 # Check whether or not a default value has been passed in.
18465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build code-optimized instances of programs and libraries" >&5
18466 $as_echo_n "checking whether to build code-optimized instances of programs and libraries... " >&6; }
18467 if ${nl_cv_build_optimized+:} false; then :
18468 $as_echo_n "(cached) " >&6
18471 # Check whether --enable-optimization was given.
18472 if test "${enable_optimization+set}" = set; then :
18473 enableval=$enable_optimization;
18474 case "${enableval}" in
18477 nl_cv_build_optimized=${enableval}
18479 if test "${nl_cv_build_coverage}" = "yes" && test "${nl_cv_build_optimized}" = "yes"; then
18480 as_fn_error $? "both --enable-optimization and --enable-coverage cannot used. Please, choose one or the other to enable." "$LINENO" 5
18485 as_fn_error $? "Invalid value ${enableval} for --enable-optimized" "$LINENO" 5
18492 if test "${nl_cv_build_coverage}" = "yes"; then
18493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-coverage was specified, optimization disabled" >&5
18494 $as_echo "$as_me: WARNING: --enable-coverage was specified, optimization disabled" >&2;}
18495 nl_cv_build_optimized=no
18498 nl_cv_build_optimized=yes
18506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_optimized" >&5
18507 $as_echo "$nl_cv_build_optimized" >&6; }
18509 if test "${nl_cv_build_optimized}" = "no"; then
18510 CFLAGS="`echo ${CFLAGS} | sed -e 's,-O[[:alnum:]]*,-O0,g'`"
18511 CXXFLAGS="`echo ${CXXFLAGS} | sed -e 's,-O[[:alnum:]]*,-O0,g'`"
18512 OBJCFLAGS="`echo ${OBJCFLAGS} | sed -e 's,-O[[:alnum:]]*,-O0,g'`"
18513 OBJCXXFLAGS="`echo ${OBJCXXFLAGS} | sed -e 's,-O[[:alnum:]]*,-O0,g'`"
18518 if test "${nl_cv_build_optimized}" = "yes"; then
18519 NLFAULTINJECTION_BUILD_OPTIMIZED_TRUE=
18520 NLFAULTINJECTION_BUILD_OPTIMIZED_FALSE='#'
18522 NLFAULTINJECTION_BUILD_OPTIMIZED_TRUE='#'
18523 NLFAULTINJECTION_BUILD_OPTIMIZED_FALSE=
18530 PRETTY_CHECK="\${PERL} \${abs_top_srcdir}/third_party/cstyle/repo/cstyle.pl"
18532 PRETTY_CHECK_ARGS="\$(shell cat \${abs_top_srcdir}/build/cstyle/cstyle.options)"
18538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build tests" >&5
18539 $as_echo "$as_me: checking whether to build tests" >&6;}
18544 # Check whether or not a default value has been passed in.
18548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build tests" >&5
18549 $as_echo_n "checking whether to build tests... " >&6; }
18550 if ${nl_cv_build_tests+:} false; then :
18551 $as_echo_n "(cached) " >&6
18554 # Check whether --enable-tests was given.
18555 if test "${enable_tests+set}" = set; then :
18556 enableval=$enable_tests;
18557 case "${enableval}" in
18560 nl_cv_build_tests=${enableval}
18564 as_fn_error $? "Invalid value ${enableval} for --enable-tests" "$LINENO" 5
18571 nl_cv_build_tests=yes
18577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_tests" >&5
18578 $as_echo "$nl_cv_build_tests" >&6; }
18581 if test "${nl_cv_build_tests}" = "yes"; then
18582 NLFAULTINJECTION_BUILD_TESTS_TRUE=
18583 NLFAULTINJECTION_BUILD_TESTS_FALSE='#'
18585 NLFAULTINJECTION_BUILD_TESTS_TRUE='#'
18586 NLFAULTINJECTION_BUILD_TESTS_FALSE=
18594 # Determine whether or not documentation (via Doxygen) should be built
18595 # or not, with 'auto' as the default and establish a default support
18596 # value for GraphViz 'dot' support.
18599 # Check whether or not the 'default' value is sane.
18603 # Check whether or not the 'dot_default' value is sane.
18612 # Extract the first word of "doxygen", so it can be a program name with args.
18613 set dummy doxygen; ac_word=$2
18614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18615 $as_echo_n "checking for $ac_word... " >&6; }
18616 if ${ac_cv_path_DOXYGEN+:} false; then :
18617 $as_echo_n "(cached) " >&6
18621 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
18624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18625 for as_dir in $PATH
18628 test -z "$as_dir" && as_dir=.
18629 for ac_exec_ext in '' $ac_executable_extensions; do
18630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18631 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
18632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18642 DOXYGEN=$ac_cv_path_DOXYGEN
18643 if test -n "$DOXYGEN"; then
18644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
18645 $as_echo "$DOXYGEN" >&6; }
18647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18648 $as_echo "no" >&6; }
18652 # Extract the first word of "dot", so it can be a program name with args.
18653 set dummy dot; ac_word=$2
18654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18655 $as_echo_n "checking for $ac_word... " >&6; }
18656 if ${ac_cv_path_DOT+:} false; then :
18657 $as_echo_n "(cached) " >&6
18661 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18665 for as_dir in $PATH
18668 test -z "$as_dir" && as_dir=.
18669 for ac_exec_ext in '' $ac_executable_extensions; do
18670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18671 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18682 DOT=$ac_cv_path_DOT
18683 if test -n "$DOT"; then
18684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
18685 $as_echo "$DOT" >&6; }
18687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18688 $as_echo "no" >&6; }
18693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
18694 $as_echo_n "checking whether to build documentation... " >&6; }
18695 if ${nl_cv_build_docs+:} false; then :
18696 $as_echo_n "(cached) " >&6
18699 # Check whether --enable-docs was given.
18700 if test "${enable_docs+set}" = set; then :
18701 enableval=$enable_docs;
18702 case "${enableval}" in
18705 nl_cv_build_docs=${enableval}
18709 as_fn_error $? "Invalid value ${enableval} for --disable-docs" "$LINENO" 5
18715 nl_cv_build_docs=auto
18719 if test "x${DOXYGEN}" != "x"; then
18720 nl_cv_have_doxygen=yes
18722 nl_cv_have_doxygen=no
18725 if test "${nl_cv_build_docs}" = "auto"; then
18726 if test "${nl_cv_have_doxygen}" = "no"; then
18727 nl_cv_build_docs=no
18729 nl_cv_build_docs=yes
18733 if test "${nl_cv_build_docs}" = "yes"; then
18734 if test "${nl_cv_have_doxygen}" = "no"; then
18735 as_fn_error $? "Building docs was explicitly requested but Doxygen cannot be found" "$LINENO" 5
18736 elif test "${nl_cv_have_doxygen}" = "yes"; then
18737 if test "x${DOT}" != "x"; then
18738 DOXYGEN_USE_DOT=YES
18744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_docs" >&5
18745 $as_echo "$nl_cv_build_docs" >&6; }
18750 if test "${nl_cv_build_docs}" = "yes"; then
18751 NLFAULTINJECTION_BUILD_DOCS_TRUE=
18752 NLFAULTINJECTION_BUILD_DOCS_FALSE='#'
18754 NLFAULTINJECTION_BUILD_DOCS_TRUE='#'
18755 NLFAULTINJECTION_BUILD_DOCS_FALSE=
18760 # Checks for libraries and packages.
18762 # At minimum, the following packages are required:
18766 # At minimum, the following packages are optional, depending on
18771 # All of these are supplied "in package"; however, they may be also
18772 # supplied out of package.
18774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking required and optional package dependencies" >&5
18775 $as_echo "$as_me: checking required and optional package dependencies" >&6;}
18777 # Check if the build host has pkg-config
18779 # Extract the first word of "pkg-config", so it can be a program name with args.
18780 set dummy pkg-config; ac_word=$2
18781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18782 $as_echo_n "checking for $ac_word... " >&6; }
18783 if ${ac_cv_path_PKG_CONFIG+:} false; then :
18784 $as_echo_n "(cached) " >&6
18786 case $PKG_CONFIG in
18788 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18792 for as_dir in $PATH
18795 test -z "$as_dir" && as_dir=.
18796 for ac_exec_ext in '' $ac_executable_extensions; do
18797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18798 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18809 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18810 if test -n "$PKG_CONFIG"; then
18811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18812 $as_echo "$PKG_CONFIG" >&6; }
18814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18815 $as_echo "no" >&6; }
18829 # Influential external variables for the package support
18835 # Allow the user to specify both external headers and libraries
18836 # together (or internal).
18840 # Check whether --with-nlassert was given.
18841 if test "${with_nlassert+set}" = set; then :
18842 withval=$with_nlassert;
18843 if test "${withval}" = "no"; then
18844 as_fn_error $? "${PACKAGE_NAME} requires the Nlassert package." "$LINENO" 5
18845 elif test "${withval}" = "internal"; then
18846 nlassert_dir=${withval}
18847 nl_with_nlassert=${withval}
18849 nlassert_dir=${withval}
18850 nl_with_nlassert=external
18854 nlassert_dir=; nl_with_nlassert=internal
18858 # Allow users to specify external headers and libraries independently.
18869 # Check whether --with-nlassert-includes was given.
18870 if test "${with_nlassert_includes+set}" = set; then :
18871 withval=$with_nlassert_includes;
18872 if test "${withval}" = "no"; then
18873 as_fn_error $? "${PACKAGE_NAME} requires the Nlassert package." "$LINENO" 5
18876 if test "x${nlassert_dir}" != "x"; then
18877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: overriding --with-nlassert=${nlassert_dir}" >&5
18878 $as_echo "$as_me: WARNING: overriding --with-nlassert=${nlassert_dir}" >&2;}
18881 if test "${withval}" = "internal"; then
18882 nlassert_header_dir=${withval}
18883 nl_with_nlassert=${withval}
18885 nlassert_header_dir=${withval}
18886 nl_with_nlassert=external
18891 nlassert_header_dir=;
18892 if test "x${nl_with_nlassert}" = "x"; then
18893 nl_with_nlassert=internal
18908 # Check whether --with-nlassert-libs was given.
18909 if test "${with_nlassert_libs+set}" = set; then :
18910 withval=$with_nlassert_libs;
18911 if test "${withval}" = "no"; then
18912 as_fn_error $? "${PACKAGE_NAME} requires the Nlassert package." "$LINENO" 5
18915 if test "x${nlassert_dir}" != "x"; then
18916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: overriding --with-nlassert=${nlassert_dir}" >&5
18917 $as_echo "$as_me: WARNING: overriding --with-nlassert=${nlassert_dir}" >&2;}
18920 if test "${withval}" = "internal"; then
18921 nlassert_library_dir=${withval}
18922 nl_with_nlassert=${withval}
18924 nlassert_library_dir=${withval}
18925 nl_with_nlassert=external
18930 nlassert_library_dir=;
18931 if test "x${nl_with_nlassert}" = "x"; then
18932 nl_with_nlassert=internal
18938 if test "${nl_with_nlassert}" == "no"; then
18939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use the Nlassert package" >&5
18940 $as_echo_n "checking whether to use the Nlassert package... " >&6; }
18941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${nl_with_nlassert}" >&5
18942 $as_echo "${nl_with_nlassert}" >&6; }
18945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking source of the Nlassert package" >&5
18946 $as_echo_n "checking source of the Nlassert package... " >&6; }
18947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${nl_with_nlassert}" >&5
18948 $as_echo "${nl_with_nlassert}" >&6; }
18950 # If the user has selected or has defaulted into the internal Nlassert
18951 # package, set the values appropriately. Otherwise, run through the
18954 if test "${nl_with_nlassert}" = "internal"; then
18956 # At this point, the internal Nlassert package will be neither
18957 # configured nor built, so the normal checks we undertake for an
18958 # external package cannot be run here. Simply set the appropriate
18959 # variables and trust all will be well.
18961 NLASSERT_CPPFLAGS="-I\${abs_top_srcdir}/third_party/nlassert/repo/include"
18967 # We always prefer checking the values of the various '--with-nlassert-...'
18968 # options first to using pkg-config because the former might be used
18969 # in a cross-compilation environment on a system that also contains
18970 # pkg-config. In such a case, the user wants what he/she specified
18971 # rather than what pkg-config indicates.
18973 if test "x${nlassert_dir}" != "x" -o "x${nlassert_header_dir}" != "x" -o "x${nlassert_library_dir}" != "x"; then
18974 if test "x${nlassert_dir}" != "x"; then
18975 if test -d "${nlassert_dir}"; then
18976 if test -d "${nlassert_dir}/include"; then
18977 NLASSERT_CPPFLAGS="-I${nlassert_dir}/include"
18979 NLASSERT_CPPFLAGS="-I${nlassert_dir}"
18982 if test -d "${nlassert_dir}/lib"; then
18983 NLASSERT_LDFLAGS="-L${nlassert_dir}/lib"
18985 NLASSERT_LDFLAGS="-L${nlassert_dir}"
18988 as_fn_error $? "No such directory ${nlassert_dir}" "$LINENO" 5
18992 if test "x${nlassert_header_dir}" != "x"; then
18993 if test -d "${nlassert_header_dir}"; then
18994 NLASSERT_CPPFLAGS="-I${nlassert_header_dir}"
18996 as_fn_error $? "No such directory ${nlassert_header_dir}" "$LINENO" 5
19000 if test "x${nlassert_library_dir}" != "x"; then
19001 if test -d "${nlassert_library_dir}"; then
19002 NLASSERT_LDFLAGS="-L${nlassert_library_dir}"
19004 as_fn_error $? "No such directory ${nlassert_library_dir}" "$LINENO" 5
19008 NLASSERT_LIBS="${NLASSERT_LDFLAGS} "
19010 elif test "x${PKG_CONFIG}" != "x"; then
19011 if ${PKG_CONFIG} --exists "nlassert"; then
19012 NLASSERT_CPPFLAGS="`${PKG_CONFIG} --cflags nlassert`"
19013 NLASSERT_LDFLAGS="`${PKG_CONFIG} --libs-only-L nlassert`"
19014 NLASSERT_LIBS="`${PKG_CONFIG} --libs-only-l nlassert`"
19016 as_fn_error $? "Cannot find the nlassert package with ${PKG_CONFIG}. ${PACKAGE_NAME} requires the nlassert package. Try installing the package or use the relevant --with options to configure." "$LINENO" 5
19020 as_fn_error $? "Cannot find the Nlassert package. ${PACKAGE_NAME} requires the Nlassert package." "$LINENO" 5
19028 if test "${nl_with_nlassert}" != "internal" -a "${nl_with_nlassert}" != "no"; then
19029 nl_saved_CPPFLAGS="${CPPFLAGS}"
19030 nl_saved_LDFLAGS="${LDFLAGS}"
19031 nl_saved_LIBS="${LIBS}"
19033 CPPFLAGS="${CPPFLAGS} ${NLASSERT_CPPFLAGS}"
19034 LDFLAGS="${LDFLAGS} ${NLASSERT_LDFLAGS}"
19035 LIBS="${LIBS} ${NLASSERT_LIBS}"
19038 # Check for required Nlassert headers.
19040 for ac_header in nlassert.h
19042 ac_fn_c_check_header_mongrel "$LINENO" "nlassert.h" "ac_cv_header_nlassert_h" "$ac_includes_default"
19043 if test "x$ac_cv_header_nlassert_h" = xyes; then :
19044 cat >>confdefs.h <<_ACEOF
19045 #define HAVE_NLASSERT_H 1
19050 as_fn_error $? "The nlassert header \"$ac_header\" is required but cannot be found." "$LINENO" 5
19059 CPPFLAGS="${nl_saved_CPPFLAGS}"
19060 LDFLAGS="${nl_saved_LDFLAGS}"
19061 LIBS="${nl_saved_LIBS}"
19066 # Depending on whether nlassert has been configured for an internal
19067 # location, its directory stem within this package needs to be set
19068 # accordingly. In addition, if the location is internal, then we need
19069 # to attempt to pull it down using the bootstrap makefile.
19071 if test "${nl_with_nlassert}" = "internal"; then
19072 maybe_nlassert_dirstem="nlassert/repo"
19073 nlassert_dirstem="third_party/${maybe_nlassert_dirstem}"
19075 { $as_echo "$as_me:${as_lineno-$LINENO}: attempting to create internal ${nlassert_dirstem}" >&5
19076 $as_echo "$as_me: attempting to create internal ${nlassert_dirstem}" >&6;}
19078 ${MAKE-make} --no-print-directory -C ${srcdir} -f Makefile-bootstrap ${nlassert_dirstem}
19080 if test $? -ne 0; then
19081 as_fn_error $? "failed to create ${nlassert_dirstem}. Please check your network connection or the correctness of 'repos.conf'" "$LINENO" 5
19084 maybe_nlassert_dirstem=""
19087 NLASSERT_SUBDIRS=${maybe_nlassert_dirstem}
19089 if test "${nl_with_nlassert}" = "internal"; then
19090 NLFAULTINJECTION_WITH_NLASSERT_INTERNAL_TRUE=
19091 NLFAULTINJECTION_WITH_NLASSERT_INTERNAL_FALSE='#'
19093 NLFAULTINJECTION_WITH_NLASSERT_INTERNAL_TRUE='#'
19094 NLFAULTINJECTION_WITH_NLASSERT_INTERNAL_FALSE=
19102 if test "${nl_cv_build_tests}" = "yes"; then
19108 # Influential external variables for the package support
19114 # Allow the user to specify both external headers and libraries
19115 # together (or internal).
19119 # Check whether --with-nlunit_test was given.
19120 if test "${with_nlunit_test+set}" = set; then :
19121 withval=$with_nlunit_test;
19122 if test "${withval}" = "no"; then
19123 as_fn_error $? "${PACKAGE_NAME} requires the Nlunit-test package." "$LINENO" 5
19124 elif test "${withval}" = "internal"; then
19125 nlunit_test_dir=${withval}
19126 nl_with_nlunit_test=${withval}
19128 nlunit_test_dir=${withval}
19129 nl_with_nlunit_test=external
19133 nlunit_test_dir=; nl_with_nlunit_test=internal
19137 # Allow users to specify external headers and libraries independently.
19148 # Check whether --with-nlunit_test-includes was given.
19149 if test "${with_nlunit_test_includes+set}" = set; then :
19150 withval=$with_nlunit_test_includes;
19151 if test "${withval}" = "no"; then
19152 as_fn_error $? "${PACKAGE_NAME} requires the Nlunit-test package." "$LINENO" 5
19155 if test "x${nlunit_test_dir}" != "x"; then
19156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: overriding --with-nlunit_test=${nlunit_test_dir}" >&5
19157 $as_echo "$as_me: WARNING: overriding --with-nlunit_test=${nlunit_test_dir}" >&2;}
19160 if test "${withval}" = "internal"; then
19161 nlunit_test_header_dir=${withval}
19162 nl_with_nlunit_test=${withval}
19164 nlunit_test_header_dir=${withval}
19165 nl_with_nlunit_test=external
19170 nlunit_test_header_dir=;
19171 if test "x${nl_with_nlunit_test}" = "x"; then
19172 nl_with_nlunit_test=internal
19187 # Check whether --with-nlunit_test-libs was given.
19188 if test "${with_nlunit_test_libs+set}" = set; then :
19189 withval=$with_nlunit_test_libs;
19190 if test "${withval}" = "no"; then
19191 as_fn_error $? "${PACKAGE_NAME} requires the Nlunit-test package." "$LINENO" 5
19194 if test "x${nlunit_test_dir}" != "x"; then
19195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: overriding --with-nlunit_test=${nlunit_test_dir}" >&5
19196 $as_echo "$as_me: WARNING: overriding --with-nlunit_test=${nlunit_test_dir}" >&2;}
19199 if test "${withval}" = "internal"; then
19200 nlunit_test_library_dir=${withval}
19201 nl_with_nlunit_test=${withval}
19203 nlunit_test_library_dir=${withval}
19204 nl_with_nlunit_test=external
19209 nlunit_test_library_dir=;
19210 if test "x${nl_with_nlunit_test}" = "x"; then
19211 nl_with_nlunit_test=internal
19217 if test "${nl_with_nlunit_test}" == "no"; then
19218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use the Nlunit-test package" >&5
19219 $as_echo_n "checking whether to use the Nlunit-test package... " >&6; }
19220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${nl_with_nlunit_test}" >&5
19221 $as_echo "${nl_with_nlunit_test}" >&6; }
19224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking source of the Nlunit-test package" >&5
19225 $as_echo_n "checking source of the Nlunit-test package... " >&6; }
19226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${nl_with_nlunit_test}" >&5
19227 $as_echo "${nl_with_nlunit_test}" >&6; }
19229 # If the user has selected or has defaulted into the internal Nlunit-test
19230 # package, set the values appropriately. Otherwise, run through the
19233 if test "${nl_with_nlunit_test}" = "internal"; then
19235 # At this point, the internal Nlunit-test package will be neither
19236 # configured nor built, so the normal checks we undertake for an
19237 # external package cannot be run here. Simply set the appropriate
19238 # variables and trust all will be well.
19240 NLUNIT_TEST_CPPFLAGS="-I\${abs_top_srcdir}/third_party/nlunit-test/repo/src"
19241 NLUNIT_TEST_LDFLAGS="-L${ac_pwd}/third_party/nlunit-test/repo/src"
19242 NLUNIT_TEST_LIBS="-lnlunit-test"
19246 # We always prefer checking the values of the various '--with-nlunit_test-...'
19247 # options first to using pkg-config because the former might be used
19248 # in a cross-compilation environment on a system that also contains
19249 # pkg-config. In such a case, the user wants what he/she specified
19250 # rather than what pkg-config indicates.
19252 if test "x${nlunit_test_dir}" != "x" -o "x${nlunit_test_header_dir}" != "x" -o "x${nlunit_test_library_dir}" != "x"; then
19253 if test "x${nlunit_test_dir}" != "x"; then
19254 if test -d "${nlunit_test_dir}"; then
19255 if test -d "${nlunit_test_dir}/include"; then
19256 NLUNIT_TEST_CPPFLAGS="-I${nlunit_test_dir}/include"
19258 NLUNIT_TEST_CPPFLAGS="-I${nlunit_test_dir}"
19261 if test -d "${nlunit_test_dir}/lib"; then
19262 NLUNIT_TEST_LDFLAGS="-L${nlunit_test_dir}/lib"
19264 NLUNIT_TEST_LDFLAGS="-L${nlunit_test_dir}"
19267 as_fn_error $? "No such directory ${nlunit_test_dir}" "$LINENO" 5
19271 if test "x${nlunit_test_header_dir}" != "x"; then
19272 if test -d "${nlunit_test_header_dir}"; then
19273 NLUNIT_TEST_CPPFLAGS="-I${nlunit_test_header_dir}"
19275 as_fn_error $? "No such directory ${nlunit_test_header_dir}" "$LINENO" 5
19279 if test "x${nlunit_test_library_dir}" != "x"; then
19280 if test -d "${nlunit_test_library_dir}"; then
19281 NLUNIT_TEST_LDFLAGS="-L${nlunit_test_library_dir}"
19283 as_fn_error $? "No such directory ${nlunit_test_library_dir}" "$LINENO" 5
19287 NLUNIT_TEST_LIBS="${NLUNIT_TEST_LDFLAGS} -lnlunit-test"
19289 elif test "x${PKG_CONFIG}" != "x"; then
19290 if ${PKG_CONFIG} --exists "nlunit_test"; then
19291 NLUNIT_TEST_CPPFLAGS="`${PKG_CONFIG} --cflags nlunit_test`"
19292 NLUNIT_TEST_LDFLAGS="`${PKG_CONFIG} --libs-only-L nlunit_test`"
19293 NLUNIT_TEST_LIBS="`${PKG_CONFIG} --libs-only-l nlunit_test`"
19295 as_fn_error $? "Cannot find the nlunit_test package with ${PKG_CONFIG}. ${PACKAGE_NAME} requires the nlunit_test package. Try installing the package or use the relevant --with options to configure." "$LINENO" 5
19299 as_fn_error $? "Cannot find the Nlunit-test package. ${PACKAGE_NAME} requires the Nlunit-test package." "$LINENO" 5
19307 if test "${nl_with_nlunit_test}" != "internal" -a "${nl_with_nlunit_test}" != "no"; then
19308 nl_saved_CPPFLAGS="${CPPFLAGS}"
19309 nl_saved_LDFLAGS="${LDFLAGS}"
19310 nl_saved_LIBS="${LIBS}"
19312 CPPFLAGS="${CPPFLAGS} ${NLUNIT_TEST_CPPFLAGS}"
19313 LDFLAGS="${LDFLAGS} ${NLUNIT_TEST_LDFLAGS}"
19314 LIBS="${LIBS} ${NLUNIT_TEST_LIBS}"
19317 # Check for required nlunit-test headers.
19319 for ac_header in nlunit-test.h
19321 ac_fn_c_check_header_mongrel "$LINENO" "nlunit-test.h" "ac_cv_header_nlunit_test_h" "$ac_includes_default"
19322 if test "x$ac_cv_header_nlunit_test_h" = xyes; then :
19323 cat >>confdefs.h <<_ACEOF
19324 #define HAVE_NLUNIT_TEST_H 1
19329 as_fn_error $? "The nlunit-test header \"$ac_header\" is required but cannot be found." "$LINENO" 5
19337 CPPFLAGS="${nl_saved_CPPFLAGS}"
19338 LDFLAGS="${nl_saved_LDFLAGS}"
19339 LIBS="${nl_saved_LIBS}"
19345 # Depending on whether nlunit-test has been configured for an internal
19346 # location, its directory stem within this package needs to be set
19347 # accordingly. In addition, if the location is internal, then we need
19348 # to attempt to pull it down using the bootstrap makefile.
19350 if test "${nl_with_nlunit_test}" = "internal"; then
19351 maybe_nlunit_test_dirstem="nlunit-test/repo"
19352 nlunit_test_dirstem="third_party/${maybe_nlunit_test_dirstem}"
19354 { $as_echo "$as_me:${as_lineno-$LINENO}: attempting to create internal ${nlunit_test_dirstem}" >&5
19355 $as_echo "$as_me: attempting to create internal ${nlunit_test_dirstem}" >&6;}
19357 ${MAKE-make} --no-print-directory -C ${srcdir} -f Makefile-bootstrap ${nlunit_test_dirstem}
19359 if test $? -ne 0; then
19360 as_fn_error $? "failed to create ${nlunit_test_dirstem}. Please check your network connection or the correctness of 'repos.conf'" "$LINENO" 5
19363 maybe_nlunit_test_dirstem=""
19366 NLUNIT_TEST_SUBDIRS=${maybe_nlunit_test_dirstem}
19368 if test "${nl_with_nlunit_test}" = "internal"; then
19369 NLFAULTINJECTION_WITH_NLUNIT_TEST_INTERNAL_TRUE=
19370 NLFAULTINJECTION_WITH_NLUNIT_TEST_INTERNAL_FALSE='#'
19372 NLFAULTINJECTION_WITH_NLUNIT_TEST_INTERNAL_TRUE='#'
19373 NLFAULTINJECTION_WITH_NLUNIT_TEST_INTERNAL_FALSE=
19378 # Check for headers
19380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
19381 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
19382 if ${ac_cv_header_stdbool_h+:} false; then :
19383 $as_echo_n "(cached) " >&6
19385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19386 /* end confdefs.h. */
19388 #include <stdbool.h>
19390 "error: bool is not defined"
19393 "error: false is not defined"
19396 "error: false is not 0"
19399 "error: true is not defined"
19402 "error: true is not 1"
19404 #ifndef __bool_true_false_are_defined
19405 "error: __bool_true_false_are_defined is not defined"
19408 struct s { _Bool s: 1; _Bool t; } s;
19410 char a[true == 1 ? 1 : -1];
19411 char b[false == 0 ? 1 : -1];
19412 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
19413 char d[(bool) 0.5 == true ? 1 : -1];
19414 /* See body of main program for 'e'. */
19415 char f[(_Bool) 0.0 == false ? 1 : -1];
19417 char h[sizeof (_Bool)];
19418 char i[sizeof s.t];
19419 enum { j = false, k = true, l = false * true, m = true * 256 };
19420 /* The following fails for
19421 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
19423 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
19424 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
19425 /* Catch a bug in an HP-UX C compiler. See
19426 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
19427 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
19439 /* Refer to every declared value, to avoid compiler optimizations. */
19440 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
19441 + !m + !n + !o + !p + !q + !pq);
19447 if ac_fn_c_try_compile "$LINENO"; then :
19448 ac_cv_header_stdbool_h=yes
19450 ac_cv_header_stdbool_h=no
19452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
19455 $as_echo "$ac_cv_header_stdbool_h" >&6; }
19456 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
19457 if test "x$ac_cv_type__Bool" = xyes; then :
19459 cat >>confdefs.h <<_ACEOF
19460 #define HAVE__BOOL 1
19466 if test $ac_cv_header_stdbool_h = yes; then
19468 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
19472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19473 $as_echo_n "checking for ANSI C header files... " >&6; }
19474 if ${ac_cv_header_stdc+:} false; then :
19475 $as_echo_n "(cached) " >&6
19477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19478 /* end confdefs.h. */
19479 #include <stdlib.h>
19480 #include <stdarg.h>
19481 #include <string.h>
19492 if ac_fn_c_try_compile "$LINENO"; then :
19493 ac_cv_header_stdc=yes
19495 ac_cv_header_stdc=no
19497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19499 if test $ac_cv_header_stdc = yes; then
19500 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19502 /* end confdefs.h. */
19503 #include <string.h>
19506 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19507 $EGREP "memchr" >/dev/null 2>&1; then :
19510 ac_cv_header_stdc=no
19516 if test $ac_cv_header_stdc = yes; then
19517 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19519 /* end confdefs.h. */
19520 #include <stdlib.h>
19523 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19524 $EGREP "free" >/dev/null 2>&1; then :
19527 ac_cv_header_stdc=no
19533 if test $ac_cv_header_stdc = yes; then
19534 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19535 if test "$cross_compiling" = yes; then :
19538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19539 /* end confdefs.h. */
19541 #include <stdlib.h>
19542 #if ((' ' & 0x0FF) == 0x020)
19543 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19544 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19546 # define ISLOWER(c) \
19547 (('a' <= (c) && (c) <= 'i') \
19548 || ('j' <= (c) && (c) <= 'r') \
19549 || ('s' <= (c) && (c) <= 'z'))
19550 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19553 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19558 for (i = 0; i < 256; i++)
19559 if (XOR (islower (i), ISLOWER (i))
19560 || toupper (i) != TOUPPER (i))
19565 if ac_fn_c_try_run "$LINENO"; then :
19568 ac_cv_header_stdc=no
19570 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19571 conftest.$ac_objext conftest.beam conftest.$ac_ext
19576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19577 $as_echo "$ac_cv_header_stdc" >&6; }
19578 if test $ac_cv_header_stdc = yes; then
19580 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19585 for ac_header in stdint.h
19587 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
19588 if test "x$ac_cv_header_stdint_h" = xyes; then :
19589 cat >>confdefs.h <<_ACEOF
19590 #define HAVE_STDINT_H 1
19597 for ac_header in string.h
19599 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
19600 if test "x$ac_cv_header_string_h" = xyes; then :
19601 cat >>confdefs.h <<_ACEOF
19602 #define HAVE_STRING_H 1
19609 for ac_header in stdlib.h
19611 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
19612 if test "x$ac_cv_header_stdlib_h" = xyes; then :
19613 cat >>confdefs.h <<_ACEOF
19614 #define HAVE_STDLIB_H 1
19623 # Check for types and structures
19625 ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t"
19626 case $ac_cv_c_int8_t in #(
19630 cat >>confdefs.h <<_ACEOF
19631 #define int8_t $ac_cv_c_int8_t
19636 ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t"
19637 case $ac_cv_c_int16_t in #(
19641 cat >>confdefs.h <<_ACEOF
19642 #define int16_t $ac_cv_c_int16_t
19647 ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
19648 case $ac_cv_c_int32_t in #(
19652 cat >>confdefs.h <<_ACEOF
19653 #define int32_t $ac_cv_c_int32_t
19658 ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
19659 case $ac_cv_c_int64_t in #(
19663 cat >>confdefs.h <<_ACEOF
19664 #define int64_t $ac_cv_c_int64_t
19669 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
19670 case $ac_cv_c_uint8_t in #(
19674 $as_echo "#define _UINT8_T 1" >>confdefs.h
19677 cat >>confdefs.h <<_ACEOF
19678 #define uint8_t $ac_cv_c_uint8_t
19683 ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
19684 case $ac_cv_c_uint16_t in #(
19689 cat >>confdefs.h <<_ACEOF
19690 #define uint16_t $ac_cv_c_uint16_t
19695 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
19696 case $ac_cv_c_uint32_t in #(
19700 $as_echo "#define _UINT32_T 1" >>confdefs.h
19703 cat >>confdefs.h <<_ACEOF
19704 #define uint32_t $ac_cv_c_uint32_t
19709 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
19710 case $ac_cv_c_uint64_t in #(
19714 $as_echo "#define _UINT64_T 1" >>confdefs.h
19717 cat >>confdefs.h <<_ACEOF
19718 #define uint64_t $ac_cv_c_uint64_t
19725 # Checks for library functions
19728 if test "${ac_no_link}" != "yes"; then
19729 for ac_func in rand
19731 ac_fn_c_check_func "$LINENO" "rand" "ac_cv_func_rand"
19732 if test "x$ac_cv_func_rand" = xyes; then :
19733 cat >>confdefs.h <<_ACEOF
19734 #define HAVE_RAND 1
19742 # Add any nlassert CPPFLAGS, LDFLAGS, and LIBS
19744 CPPFLAGS="${CPPFLAGS} ${NLASSERT_CPPFLAGS}"
19745 LDFLAGS="${LDFLAGS} ${NLASSERT_LDFLAGS}"
19746 LIBS="${LIBS} ${NLASSERT_LIBS}"
19748 # Add any nlunit-test CPPFLAGS, LDFLAGS, and LIBS
19750 CPPFLAGS="${CPPFLAGS} ${NLUNIT_TEST_CPPFLAGS}"
19751 LDFLAGS="${LDFLAGS} ${NLUNIT_TEST_LDFLAGS}"
19752 LIBS="${LIBS} ${NLUNIT_TEST_LIBS}"
19754 # Add any code coverage CPPFLAGS and LIBS
19756 CPPFLAGS="${CPPFLAGS} ${NL_COVERAGE_CPPFLAGS}"
19757 LDFLAGS="${LDFLAGS} ${NL_COVERAGE_LDFLAGS}"
19758 LIBS="${LIBS} ${NL_COVERAGE_LIBS}"
19760 # At this point, we can restore the compiler flags to whatever the
19761 # user passed in, now that we're clear of any -Werror issues by
19762 # transforming -Wno-error back to -Werror.
19766 if test "${nl_had_OBJCXXFLAGS_werror}" = "yes"; then
19767 OBJCXXFLAGS="`echo ${OBJCXXFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
19770 unset nl_had_OBJCXXFLAGS_werror
19773 if test "${nl_had_OBJCFLAGS_werror}" = "yes"; then
19774 OBJCFLAGS="`echo ${OBJCFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
19777 unset nl_had_OBJCFLAGS_werror
19780 if test "${nl_had_CXXFLAGS_werror}" = "yes"; then
19781 CXXFLAGS="`echo ${CXXFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
19784 unset nl_had_CXXFLAGS_werror
19787 if test "${nl_had_CFLAGS_werror}" = "yes"; then
19788 CFLAGS="`echo ${CFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
19791 unset nl_had_CFLAGS_werror
19794 if test "${nl_had_CPPFLAGS_werror}" = "yes"; then
19795 CPPFLAGS="`echo ${CPPFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
19798 unset nl_had_CPPFLAGS_werror
19802 # Configure any autotools-based subdirectories
19804 if test "${nl_with_nlassert}" = "internal"; then
19807 subdirs="$subdirs third_party/nlassert/repo"
19809 NLASSERT_FOREIGN_SUBDIR_DEPENDENCY="${ac_pwd}/third_party/nlassert/repo/include"
19813 if test "${nl_with_nlunit_test}" = "internal"; then
19814 subdirs="$subdirs third_party/nlunit-test/repo"
19816 NLUNIT_TEST_FOREIGN_SUBDIR_DEPENDENCY="${ac_pwd}/third_party/nlunit-test/repo/src"
19821 # Identify the various makefiles and auto-generated files for the package
19823 ac_config_files="$ac_config_files Makefile third_party/Makefile include/Makefile src/Makefile tests/Makefile doc/Makefile"
19827 # Generate the auto-generated files for the package
19829 cat >confcache <<\_ACEOF
19830 # This file is a shell script that caches the results of configure
19831 # tests run on this system so they can be shared between configure
19832 # scripts and configure runs, see configure's option --config-cache.
19833 # It is not useful on other systems. If it contains results you don't
19834 # want to keep, you may remove or edit it.
19836 # config.status only pays attention to the cache file if you give it
19837 # the --recheck option to rerun configure.
19839 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19840 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19841 # following values.
19845 # The following way of writing the cache mishandles newlines in values,
19846 # but we know of no workaround that is simple, portable, and efficient.
19847 # So, we kill variables containing newlines.
19848 # Ultrix sh set writes to stderr and can't be redirected directly,
19849 # and sets the high bit in the cache file unless we assign to the vars.
19851 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19852 eval ac_val=\$$ac_var
19856 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19857 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19860 _ | IFS | as_nl) ;; #(
19861 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19862 *) { eval $ac_var=; unset $ac_var;} ;;
19868 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19869 *${as_nl}ac_space=\ *)
19870 # `set' does not quote correctly, so add quotes: double-quote
19871 # substitution turns \\\\ into \\, and sed turns \\ into \.
19874 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19877 # `set' quotes correctly as required by POSIX, so do not add quotes.
19878 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19887 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19889 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19891 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19892 if test -w "$cache_file"; then
19893 if test "x$cache_file" != "x/dev/null"; then
19894 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19895 $as_echo "$as_me: updating cache $cache_file" >&6;}
19896 if test ! -f "$cache_file" || test -h "$cache_file"; then
19897 cat confcache >"$cache_file"
19899 case $cache_file in #(
19901 mv -f confcache "$cache_file"$$ &&
19902 mv -f "$cache_file"$$ "$cache_file" ;; #(
19904 mv -f confcache "$cache_file" ;;
19909 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19910 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19915 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19916 # Let make expand exec_prefix.
19917 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19919 DEFS=-DHAVE_CONFIG_H
19924 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19925 # 1. Remove the extension, and $U if already installed.
19926 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19927 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19928 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19929 # will be set to the directory where LIBOBJS objects are built.
19930 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19931 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19933 LIBOBJS=$ac_libobjs
19935 LTLIBOBJS=$ac_ltlibobjs
19938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
19939 $as_echo_n "checking that generated files are newer than configure... " >&6; }
19940 if test -n "$am_sleep_pid"; then
19941 # Hide warnings about reused PIDs.
19942 wait $am_sleep_pid 2>/dev/null
19944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
19945 $as_echo "done" >&6; }
19946 if test -n "$EXEEXT"; then
19948 am__EXEEXT_FALSE='#'
19950 am__EXEEXT_TRUE='#'
19954 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19955 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
19956 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19958 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19959 as_fn_error $? "conditional \"AMDEP\" was never defined.
19960 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19962 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19963 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19964 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19966 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19967 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19968 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19970 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19971 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19972 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19974 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19975 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19976 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19978 if test -z "${NLFAULTINJECTION_BUILD_DEBUG_TRUE}" && test -z "${NLFAULTINJECTION_BUILD_DEBUG_FALSE}"; then
19979 as_fn_error $? "conditional \"NLFAULTINJECTION_BUILD_DEBUG\" was never defined.
19980 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19982 if test -z "${NLFAULTINJECTION_BUILD_COVERAGE_TRUE}" && test -z "${NLFAULTINJECTION_BUILD_COVERAGE_FALSE}"; then
19983 as_fn_error $? "conditional \"NLFAULTINJECTION_BUILD_COVERAGE\" was never defined.
19984 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19986 if test -z "${NLFAULTINJECTION_BUILD_COVERAGE_REPORTS_TRUE}" && test -z "${NLFAULTINJECTION_BUILD_COVERAGE_REPORTS_FALSE}"; then
19987 as_fn_error $? "conditional \"NLFAULTINJECTION_BUILD_COVERAGE_REPORTS\" was never defined.
19988 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19990 if test -z "${NLFAULTINJECTION_BUILD_OPTIMIZED_TRUE}" && test -z "${NLFAULTINJECTION_BUILD_OPTIMIZED_FALSE}"; then
19991 as_fn_error $? "conditional \"NLFAULTINJECTION_BUILD_OPTIMIZED\" was never defined.
19992 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19994 if test -z "${NLFAULTINJECTION_BUILD_TESTS_TRUE}" && test -z "${NLFAULTINJECTION_BUILD_TESTS_FALSE}"; then
19995 as_fn_error $? "conditional \"NLFAULTINJECTION_BUILD_TESTS\" was never defined.
19996 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19998 if test -z "${NLFAULTINJECTION_BUILD_DOCS_TRUE}" && test -z "${NLFAULTINJECTION_BUILD_DOCS_FALSE}"; then
19999 as_fn_error $? "conditional \"NLFAULTINJECTION_BUILD_DOCS\" was never defined.
20000 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20002 if test -z "${NLFAULTINJECTION_WITH_NLASSERT_INTERNAL_TRUE}" && test -z "${NLFAULTINJECTION_WITH_NLASSERT_INTERNAL_FALSE}"; then
20003 as_fn_error $? "conditional \"NLFAULTINJECTION_WITH_NLASSERT_INTERNAL\" was never defined.
20004 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20006 if test -z "${NLFAULTINJECTION_WITH_NLUNIT_TEST_INTERNAL_TRUE}" && test -z "${NLFAULTINJECTION_WITH_NLUNIT_TEST_INTERNAL_FALSE}"; then
20007 as_fn_error $? "conditional \"NLFAULTINJECTION_WITH_NLUNIT_TEST_INTERNAL\" was never defined.
20008 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20011 : "${CONFIG_STATUS=./config.status}"
20013 ac_clean_files_save=$ac_clean_files
20014 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20015 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20016 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20018 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20020 # Generated by $as_me.
20021 # Run this file to recreate the current configuration.
20022 # Compiler output produced by configure, useful for debugging
20023 # configure, is in config.log if it exists.
20026 ac_cs_recheck=false
20029 SHELL=\${CONFIG_SHELL-$SHELL}
20032 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20033 ## -------------------- ##
20034 ## M4sh Initialization. ##
20035 ## -------------------- ##
20037 # Be more Bourne compatible
20038 DUALCASE=1; export DUALCASE # for MKS sh
20039 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20042 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20043 # is contrary to our usage. Disable this feature.
20044 alias -g '${1+"$@"}'='"$@"'
20045 setopt NO_GLOB_SUBST
20047 case `(set -o) 2>/dev/null` in #(
20059 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20060 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20061 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20062 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20063 # Prefer a ksh shell builtin over an external printf program on Solaris,
20064 # but without wasting forks for bash or zsh.
20065 if test -z "$BASH_VERSION$ZSH_VERSION" \
20066 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20067 as_echo='print -r --'
20068 as_echo_n='print -rn --'
20069 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20070 as_echo='printf %s\n'
20071 as_echo_n='printf %s'
20073 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20074 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20075 as_echo_n='/usr/ucb/echo -n'
20077 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20078 as_echo_n_body='eval
20082 expr "X$arg" : "X\\(.*\\)$as_nl";
20083 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20085 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20087 export as_echo_n_body
20088 as_echo_n='sh -c $as_echo_n_body as_echo'
20090 export as_echo_body
20091 as_echo='sh -c $as_echo_body as_echo'
20094 # The user is always right.
20095 if test "${PATH_SEPARATOR+set}" != set; then
20097 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20098 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20105 # We need space, tab and new line, in precisely that order. Quoting is
20106 # there to prevent editors from complaining about space-tab.
20107 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20108 # splitting by setting IFS to empty value.)
20111 # Find who we are. Look in the path if we contain no directory separator.
20114 *[\\/]* ) as_myself=$0 ;;
20115 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20116 for as_dir in $PATH
20119 test -z "$as_dir" && as_dir=.
20120 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20126 # We did not find ourselves, most probably we were run as `sh COMMAND'
20127 # in which case we are not to be found in the path.
20128 if test "x$as_myself" = x; then
20131 if test ! -f "$as_myself"; then
20132 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20136 # Unset variables that we do not need and which cause bugs (e.g. in
20137 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20138 # suppresses any "Segmentation fault" message there. '((' could
20139 # trigger a bug in pdksh 5.2.14.
20140 for as_var in BASH_ENV ENV MAIL MAILPATH
20141 do eval test x\${$as_var+set} = xset \
20142 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20155 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20158 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20159 # ----------------------------------------
20160 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20161 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20162 # script with STATUS, using 1 if that was 0.
20165 as_status=$1; test $as_status -eq 0 && as_status=1
20167 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20168 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20170 $as_echo "$as_me: error: $2" >&2
20171 as_fn_exit $as_status
20175 # as_fn_set_status STATUS
20176 # -----------------------
20177 # Set $? to STATUS, without forking.
20178 as_fn_set_status ()
20181 } # as_fn_set_status
20183 # as_fn_exit STATUS
20184 # -----------------
20185 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20189 as_fn_set_status $1
20195 # Portably unset VAR.
20198 { eval $1=; unset $1;}
20200 as_unset=as_fn_unset
20201 # as_fn_append VAR VALUE
20202 # ----------------------
20203 # Append the text in VALUE to the end of the definition contained in VAR. Take
20204 # advantage of any shell optimizations that allow amortized linear growth over
20205 # repeated appends, instead of the typical quadratic growth present in naive
20207 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20208 eval 'as_fn_append ()
20219 # as_fn_arith ARG...
20220 # ------------------
20221 # Perform arithmetic evaluation on the ARGs, and store the result in the
20222 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20223 # must be portable across $(()) and expr.
20224 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20225 eval 'as_fn_arith ()
20232 as_val=`expr "$@" || test $? -eq 1`
20237 if expr a : '\(a\)' >/dev/null 2>&1 &&
20238 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20244 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20245 as_basename=basename
20250 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20256 as_me=`$as_basename -- "$0" ||
20257 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20258 X"$0" : 'X\(//\)$' \| \
20259 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20261 sed '/^.*\/\([^/][^/]*\)\/*$/{
20275 # Avoid depending upon Character Ranges.
20276 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20277 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20278 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20279 as_cr_digits='0123456789'
20280 as_cr_alnum=$as_cr_Letters$as_cr_digits
20282 ECHO_C= ECHO_N= ECHO_T=
20283 case `echo -n x` in #(((((
20285 case `echo 'xy\c'` in
20286 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20288 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20295 rm -f conf$$ conf$$.exe conf$$.file
20296 if test -d conf$$.dir; then
20297 rm -f conf$$.dir/conf$$.file
20300 mkdir conf$$.dir 2>/dev/null
20302 if (echo >conf$$.file) 2>/dev/null; then
20303 if ln -s conf$$.file conf$$ 2>/dev/null; then
20305 # ... but there are two gotchas:
20306 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20307 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20308 # In both cases, we have to default to `cp -p'.
20309 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20311 elif ln conf$$.file conf$$ 2>/dev/null; then
20319 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20320 rmdir conf$$.dir 2>/dev/null
20325 # Create "$as_dir" as a directory, including parents if necessary.
20330 -*) as_dir=./$as_dir;;
20332 test -d "$as_dir" || eval $as_mkdir_p || {
20336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20337 *) as_qdir=$as_dir;;
20339 as_dirs="'$as_qdir' $as_dirs"
20340 as_dir=`$as_dirname -- "$as_dir" ||
20341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20342 X"$as_dir" : 'X\(//\)[^/]' \| \
20343 X"$as_dir" : 'X\(//\)$' \| \
20344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20345 $as_echo X"$as_dir" |
20346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20350 /^X\(\/\/\)[^/].*/{
20363 test -d "$as_dir" && break
20365 test -z "$as_dirs" || eval "mkdir $as_dirs"
20366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20370 if mkdir -p . 2>/dev/null; then
20371 as_mkdir_p='mkdir -p "$as_dir"'
20373 test -d ./-p && rmdir ./-p
20377 if test -x / >/dev/null 2>&1; then
20378 as_test_x='test -x'
20380 if ls -dL / >/dev/null 2>&1; then
20387 if test -d "$1"; then
20393 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
20394 ???[sx]*):;;*)false;;esac;fi
20398 as_executable_p=$as_test_x
20400 # Sed expression to map a string onto a valid CPP name.
20401 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20403 # Sed expression to map a string onto a valid variable name.
20404 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20408 ## ----------------------------------- ##
20409 ## Main body of $CONFIG_STATUS script. ##
20410 ## ----------------------------------- ##
20412 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20415 # Save the log message, to keep $0 and so on meaningful, and to
20416 # report actual input values of CONFIG_FILES etc. instead of their
20417 # values after options handling.
20419 This file was extended by nlfaultinjection $as_me g249f564, which was
20420 generated by GNU Autoconf 2.68. Invocation command line was
20422 CONFIG_FILES = $CONFIG_FILES
20423 CONFIG_HEADERS = $CONFIG_HEADERS
20424 CONFIG_LINKS = $CONFIG_LINKS
20425 CONFIG_COMMANDS = $CONFIG_COMMANDS
20428 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20433 case $ac_config_files in *"
20434 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20437 case $ac_config_headers in *"
20438 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20442 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20443 # Files that config.status was made for.
20444 config_files="$ac_config_files"
20445 config_headers="$ac_config_headers"
20446 config_commands="$ac_config_commands"
20450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20452 \`$as_me' instantiates files and other configuration actions
20453 from templates according to the current configuration. Unless the files
20454 and actions are specified as TAGs, all are instantiated by default.
20456 Usage: $0 [OPTION]... [TAG]...
20458 -h, --help print this help, then exit
20459 -V, --version print version number and configuration settings, then exit
20460 --config print configuration, then exit
20461 -q, --quiet, --silent
20462 do not print progress messages
20463 -d, --debug don't remove temporary files
20464 --recheck update $as_me by reconfiguring in the same conditions
20465 --file=FILE[:TEMPLATE]
20466 instantiate the configuration file FILE
20467 --header=FILE[:TEMPLATE]
20468 instantiate the configuration header FILE
20470 Configuration files:
20473 Configuration headers:
20476 Configuration commands:
20479 Report bugs to <nlfaultinjection-users@google.com>.
20480 nlfaultinjection home page: <https://github.com/nestlabs/nlfaultinjection/>."
20483 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20484 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20486 nlfaultinjection config.status g249f564
20487 configured by $0, generated by GNU Autoconf 2.68,
20488 with options \\"\$ac_cs_config\\"
20490 Copyright (C) 2010 Free Software Foundation, Inc.
20491 This config.status script is free software; the Free Software Foundation
20492 gives unlimited permission to copy, distribute and modify it."
20499 test -n "\$AWK" || AWK=awk
20502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20503 # The default lists apply if the user does not specify any file.
20509 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20510 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20514 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20526 # Handling of the options.
20527 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20529 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20530 $as_echo "$ac_cs_version"; exit ;;
20531 --config | --confi | --conf | --con | --co | --c )
20532 $as_echo "$ac_cs_config"; exit ;;
20533 --debug | --debu | --deb | --de | --d | -d )
20535 --file | --fil | --fi | --f )
20538 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20539 '') as_fn_error $? "missing file argument" ;;
20541 as_fn_append CONFIG_FILES " '$ac_optarg'"
20542 ac_need_defaults=false;;
20543 --header | --heade | --head | --hea )
20546 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20548 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20549 ac_need_defaults=false;;
20551 # Conflict between --help and --header
20552 as_fn_error $? "ambiguous option: \`$1'
20553 Try \`$0 --help' for more information.";;
20554 --help | --hel | -h )
20555 $as_echo "$ac_cs_usage"; exit ;;
20556 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20557 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20560 # This is an error.
20561 -*) as_fn_error $? "unrecognized option: \`$1'
20562 Try \`$0 --help' for more information." ;;
20564 *) as_fn_append ac_config_targets " $1"
20565 ac_need_defaults=false ;;
20571 ac_configure_extra_args=
20573 if $ac_cs_silent; then
20575 ac_configure_extra_args="$ac_configure_extra_args --silent"
20579 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20580 if \$ac_cs_recheck; then
20581 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20583 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20584 CONFIG_SHELL='$SHELL'
20585 export CONFIG_SHELL
20590 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20594 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20595 ## Running $as_me. ##
20601 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20605 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20608 # The HP-UX ksh and POSIX shell print the target directory to stdout
20609 # if CDPATH is set.
20610 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20612 sed_quote_subst='$sed_quote_subst'
20613 double_quote_subst='$double_quote_subst'
20614 delay_variable_subst='$delay_variable_subst'
20615 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20616 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20617 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20618 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20619 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20620 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20621 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20622 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20623 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
20624 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20625 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20626 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20627 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20628 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20629 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20630 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20631 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20632 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20633 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20634 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20635 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20636 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20637 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20638 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20639 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20640 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20641 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20642 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20643 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20644 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20645 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20646 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20647 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20648 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20649 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20650 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20651 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20652 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20653 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20654 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20655 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20656 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20657 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20658 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20659 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20660 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20661 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20662 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20663 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20664 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20665 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20666 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20667 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20668 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20669 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20670 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20671 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
20672 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20673 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20674 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20675 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20676 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20677 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20678 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20679 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20680 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20681 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20682 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20683 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20684 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20685 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20686 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20687 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20688 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20689 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20690 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20691 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20692 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20693 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20694 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20695 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20696 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20697 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20698 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20699 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20700 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20701 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20702 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20703 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20704 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20705 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20706 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20707 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20708 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20709 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20710 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20711 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20712 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20713 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20714 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20715 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20716 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20717 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20718 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20719 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20720 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20721 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20722 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20723 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20724 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20725 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20726 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20727 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20728 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20729 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20730 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20731 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20732 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20733 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20734 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20735 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20736 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20737 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20738 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20739 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20740 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20741 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20742 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20743 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20744 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20745 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20746 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20747 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20748 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20749 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20750 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20751 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20752 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20753 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20754 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20755 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20756 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20757 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20758 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20759 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20760 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20761 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20762 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20763 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20764 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20765 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20766 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20767 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20768 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20769 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20770 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20771 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20772 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20773 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20774 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20775 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20776 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20777 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20778 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20779 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20780 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20781 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20782 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20783 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20784 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20785 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20786 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20787 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20788 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20789 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20790 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20791 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20792 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20793 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20794 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20795 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20796 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20797 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20798 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20801 LTCFLAGS='$LTCFLAGS'
20802 compiler='$compiler_DEFAULT'
20804 # A function that is used when there is no print builtin or printf.
20805 func_fallback_echo ()
20807 eval 'cat <<_LTECHO_EOF
20812 # Quote evaled strings.
20827 deplibs_check_method \
20832 sharedlib_from_linklib_cmd \
20835 archiver_list_spec \
20841 lt_cv_sys_global_symbol_pipe \
20842 lt_cv_sys_global_symbol_to_cdecl \
20843 lt_cv_sys_global_symbol_to_c_name_address \
20844 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20845 nm_file_list_spec \
20846 lt_prog_compiler_no_builtin_flag \
20847 lt_prog_compiler_pic \
20848 lt_prog_compiler_wl \
20849 lt_prog_compiler_static \
20850 lt_cv_prog_compiler_c_o \
20859 export_dynamic_flag_spec \
20860 whole_archive_flag_spec \
20861 compiler_needs_object \
20863 allow_undefined_flag \
20864 no_undefined_flag \
20865 hardcode_libdir_flag_spec \
20866 hardcode_libdir_separator \
20870 variables_saved_for_relink \
20872 library_names_spec \
20874 install_override_mode \
20878 compiler_lib_search_dirs \
20883 compiler_lib_search_path \
20887 lt_prog_compiler_no_builtin_flag_CXX \
20888 lt_prog_compiler_pic_CXX \
20889 lt_prog_compiler_wl_CXX \
20890 lt_prog_compiler_static_CXX \
20891 lt_cv_prog_compiler_c_o_CXX \
20892 export_dynamic_flag_spec_CXX \
20893 whole_archive_flag_spec_CXX \
20894 compiler_needs_object_CXX \
20896 allow_undefined_flag_CXX \
20897 no_undefined_flag_CXX \
20898 hardcode_libdir_flag_spec_CXX \
20899 hardcode_libdir_separator_CXX \
20900 exclude_expsyms_CXX \
20901 include_expsyms_CXX \
20902 file_list_spec_CXX \
20903 compiler_lib_search_dirs_CXX \
20904 predep_objects_CXX \
20905 postdep_objects_CXX \
20908 compiler_lib_search_path_CXX; do
20909 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20910 *[\\\\\\\`\\"\\\$]*)
20911 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20914 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20919 # Double-quote double-evaled strings.
20920 for var in reload_cmds \
20921 old_postinstall_cmds \
20922 old_postuninstall_cmds \
20924 extract_expsyms_cmds \
20925 old_archive_from_new_cmds \
20926 old_archive_from_expsyms_cmds \
20928 archive_expsym_cmds \
20930 module_expsym_cmds \
20931 export_symbols_cmds \
20935 postuninstall_cmds \
20937 sys_lib_search_path_spec \
20938 sys_lib_dlsearch_path_spec \
20940 old_archive_cmds_CXX \
20941 old_archive_from_new_cmds_CXX \
20942 old_archive_from_expsyms_cmds_CXX \
20944 archive_expsym_cmds_CXX \
20946 module_expsym_cmds_CXX \
20947 export_symbols_cmds_CXX \
20949 postlink_cmds_CXX; do
20950 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20951 *[\\\\\\\`\\"\\\$]*)
20952 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20955 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20960 ac_aux_dir='$ac_aux_dir'
20961 xsi_shell='$xsi_shell'
20962 lt_shell_append='$lt_shell_append'
20964 # See if we are running on zsh, and set the options which allow our
20965 # commands through without removal of \ escapes INIT.
20966 if test -n "\${ZSH_VERSION+set}" ; then
20967 setopt NO_GLOB_SUBST
20973 TIMESTAMP='$TIMESTAMP'
20984 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20986 # Handling of arguments.
20987 for ac_config_target in $ac_config_targets
20989 case $ac_config_target in
20990 "include/nlfaultinjection-config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/nlfaultinjection-config.h" ;;
20991 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20992 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20993 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20994 "third_party/Makefile") CONFIG_FILES="$CONFIG_FILES third_party/Makefile" ;;
20995 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
20996 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
20997 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
20998 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
21000 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21005 # If the user did not use the arguments to specify the items to instantiate,
21006 # then the envvar interface is used. Set only those that are not.
21007 # We use the long form for the default assignment because of an extremely
21008 # bizarre bug on SunOS 4.1.3.
21009 if $ac_need_defaults; then
21010 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21011 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21012 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21015 # Have a temporary directory for convenience. Make it in the build tree
21016 # simply because there is no reason against having it here, and in addition,
21017 # creating and moving files from /tmp can sometimes cause problems.
21018 # Hook for its removal unless debugging.
21019 # Note that there is a small window in which the directory will not be cleaned:
21020 # after its creation but before its name has been assigned to `$tmp'.
21024 trap 'exit_status=$?
21025 : "${ac_tmp:=$tmp}"
21026 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21028 trap 'as_fn_exit 1' 1 2 13 15
21030 # Create a (secure) tmp directory for tmp files.
21033 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21037 tmp=./conf$$-$RANDOM
21038 (umask 077 && mkdir "$tmp")
21039 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21042 # Set up the scripts for CONFIG_FILES section.
21043 # No need to generate them if there are no CONFIG_FILES.
21044 # This happens for instance with `./config.status config.h'.
21045 if test -n "$CONFIG_FILES"; then
21048 ac_cr=`echo X | tr X '\015'`
21049 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21050 # But we know of no other shell where ac_cr would be empty at this
21051 # point, so we can use a bashism as a fallback.
21052 if test "x$ac_cr" = x; then
21053 eval ac_cr=\$\'\\r\'
21055 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21056 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21059 ac_cs_awk_cr=$ac_cr
21062 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21067 echo "cat >conf$$subs.awk <<_ACEOF" &&
21068 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21070 } >conf$$subs.sh ||
21071 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21072 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21074 for ac_last_try in false false false false false :; do
21075 . ./conf$$subs.sh ||
21076 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21078 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21079 if test $ac_delim_n = $ac_delim_num; then
21081 elif $ac_last_try; then
21082 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21084 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21087 rm -f conf$$subs.sh
21089 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21090 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21094 s/^/S["/; s/!.*/"]=/
21104 s/\(.\{148\}\)..*/\1/
21106 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21111 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21118 s/\(.\{148\}\)..*/\1/
21120 s/["\\]/\\&/g; s/^/"/; s/$/"/
21124 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21129 ' <conf$$subs.awk | sed '
21134 ' >>$CONFIG_STATUS || ac_write_fail=1
21135 rm -f conf$$subs.awk
21136 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21138 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21139 for (key in S) S_is_set[key] = 1
21145 nfields = split(line, field, "@")
21147 len = length(field[1])
21148 for (i = 2; i < nfields; i++) {
21150 keylen = length(key)
21151 if (S_is_set[key]) {
21153 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21154 len += length(value) + length(field[++i])
21165 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21166 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21167 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21170 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21171 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21174 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21175 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21176 # trailing colons and then remove the whole line if VPATH becomes empty
21177 # (actually we leave an empty line to preserve line numbers).
21178 if test "x$srcdir" = x.; then
21179 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21198 fi # test -n "$CONFIG_FILES"
21200 # Set up the scripts for CONFIG_HEADERS section.
21201 # No need to generate them if there are no CONFIG_HEADERS.
21202 # This happens for instance with `./config.status Makefile'.
21203 if test -n "$CONFIG_HEADERS"; then
21204 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21208 # Transform confdefs.h into an awk script `defines.awk', embedded as
21209 # here-document in config.status, that substitutes the proper values into
21210 # config.h.in to produce config.h.
21212 # Create a delimiter string that does not exist in confdefs.h, to ease
21213 # handling of long lines.
21215 for ac_last_try in false false :; do
21216 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21217 if test -z "$ac_tt"; then
21219 elif $ac_last_try; then
21220 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21222 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21226 # For the awk script, D is an array of macro values keyed by name,
21227 # likewise P contains macro parameters if any. Preserve backslash
21228 # newline sequences.
21230 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21232 s/.\{148\}/&'"$ac_delim"'/g
21235 s/^[ ]*#[ ]*define[ ][ ]*/ /
21242 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21244 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21248 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21249 D["\1"]=" \3\\\\\\n"\\/p
21251 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21256 s/.\{148\}/&'"$ac_delim"'/g
21261 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21264 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21266 ' <confdefs.h | sed '
21267 s/'"$ac_delim"'/"\\\
21268 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21270 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21271 for (key in D) D_is_set[key] = 1
21274 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21276 split(line, arg, " ")
21277 if (arg[1] == "#") {
21281 defundef = substr(arg[1], 2)
21284 split(mac1, mac2, "(") #)
21286 prefix = substr(line, 1, index(line, defundef) - 1)
21287 if (D_is_set[macro]) {
21288 # Preserve the white space surrounding the "#".
21289 print prefix "define", macro P[macro] D[macro]
21292 # Replace #undef with comments. This is necessary, for example,
21293 # in the case of _POSIX_SOURCE, which is predefined and required
21294 # on some systems where configure will not decide to define it.
21295 if (defundef == "undef") {
21296 print "/*", prefix defundef, macro, "*/"
21304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21305 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21306 fi # test -n "$CONFIG_HEADERS"
21309 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21314 :[FHLC]) ac_mode=$ac_tag; continue;;
21316 case $ac_mode$ac_tag in
21318 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21319 :[FH]-) ac_tag=-:-;;
21320 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21337 -) ac_f="$ac_tmp/stdin";;
21338 *) # Look for the file first in the build tree, then in the source tree
21339 # (if the path is not absolute). The absolute path cannot be DOS-style,
21340 # because $ac_f cannot contain `:'.
21344 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21346 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21348 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21349 as_fn_append ac_file_inputs " '$ac_f'"
21352 # Let's still pretend it is `configure' which instantiates (i.e., don't
21353 # use $as_me), people would be surprised to read:
21354 # /* config.h. Generated by config.status. */
21355 configure_input='Generated from '`
21356 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21358 if test x"$ac_file" != x-; then
21359 configure_input="$ac_file. $configure_input"
21360 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21361 $as_echo "$as_me: creating $ac_file" >&6;}
21363 # Neutralize special characters interpreted by sed in replacement strings.
21364 case $configure_input in #(
21365 *\&* | *\|* | *\\* )
21366 ac_sed_conf_input=`$as_echo "$configure_input" |
21367 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21368 *) ac_sed_conf_input=$configure_input;;
21372 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21373 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21378 ac_dir=`$as_dirname -- "$ac_file" ||
21379 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21380 X"$ac_file" : 'X\(//\)[^/]' \| \
21381 X"$ac_file" : 'X\(//\)$' \| \
21382 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21383 $as_echo X"$ac_file" |
21384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21388 /^X\(\/\/\)[^/].*/{
21401 as_dir="$ac_dir"; as_fn_mkdir_p
21405 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21407 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21408 # A ".." for each directory in $ac_dir_suffix.
21409 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21410 case $ac_top_builddir_sub in
21411 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21412 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21415 ac_abs_top_builddir=$ac_pwd
21416 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21417 # for backward compatibility:
21418 ac_top_builddir=$ac_top_build_prefix
21421 .) # We are building in place.
21423 ac_top_srcdir=$ac_top_builddir_sub
21424 ac_abs_top_srcdir=$ac_pwd ;;
21425 [\\/]* | ?:[\\/]* ) # Absolute name.
21426 ac_srcdir=$srcdir$ac_dir_suffix;
21427 ac_top_srcdir=$srcdir
21428 ac_abs_top_srcdir=$srcdir ;;
21429 *) # Relative name.
21430 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21431 ac_top_srcdir=$ac_top_build_prefix$srcdir
21432 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21434 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21444 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21445 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21447 ac_MKDIR_P=$MKDIR_P
21449 [\\/$]* | ?:[\\/]* ) ;;
21450 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
21454 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21455 # If the template does not know about datarootdir, expand it.
21456 # FIXME: This hack should be removed a few years after 2.60.
21457 ac_datarootdir_hack=; ac_datarootdir_seen=
21468 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21469 *datarootdir*) ac_datarootdir_seen=yes;;
21470 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21472 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21474 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21475 ac_datarootdir_hack='
21476 s&@datadir@&$datadir&g
21477 s&@docdir@&$docdir&g
21478 s&@infodir@&$infodir&g
21479 s&@localedir@&$localedir&g
21480 s&@mandir@&$mandir&g
21481 s&\\\${datarootdir}&$datarootdir&g' ;;
21485 # Neutralize VPATH when `$srcdir' = `.'.
21486 # Shell code in configure.ac might set extrasub.
21487 # FIXME: do we really want to maintain this feature?
21488 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21489 ac_sed_extra="$ac_vpsub
21492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21494 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21495 s|@configure_input@|$ac_sed_conf_input|;t t
21496 s&@top_builddir@&$ac_top_builddir_sub&;t t
21497 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21498 s&@srcdir@&$ac_srcdir&;t t
21499 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21500 s&@top_srcdir@&$ac_top_srcdir&;t t
21501 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21502 s&@builddir@&$ac_builddir&;t t
21503 s&@abs_builddir@&$ac_abs_builddir&;t t
21504 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21505 s&@INSTALL@&$ac_INSTALL&;t t
21506 s&@MKDIR_P@&$ac_MKDIR_P&;t t
21507 $ac_datarootdir_hack
21509 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21510 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21512 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21513 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21514 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21515 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21517 which seems to be undefined. Please make sure it is defined" >&5
21518 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21519 which seems to be undefined. Please make sure it is defined" >&2;}
21521 rm -f "$ac_tmp/stdin"
21523 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21524 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21526 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21532 if test x"$ac_file" != x-; then
21534 $as_echo "/* $configure_input */" \
21535 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21536 } >"$ac_tmp/config.h" \
21537 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21538 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21539 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21540 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21543 mv "$ac_tmp/config.h" "$ac_file" \
21544 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21547 $as_echo "/* $configure_input */" \
21548 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21549 || as_fn_error $? "could not create -" "$LINENO" 5
21551 # Compute "$ac_file"'s index in $config_headers.
21554 for _am_header in $config_headers :; do
21555 case $_am_header in
21556 $_am_arg | $_am_arg:* )
21559 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21562 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21563 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21564 X"$_am_arg" : 'X\(//\)[^/]' \| \
21565 X"$_am_arg" : 'X\(//\)$' \| \
21566 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21567 $as_echo X"$_am_arg" |
21568 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21572 /^X\(\/\/\)[^/].*/{
21584 s/.*/./; q'`/stamp-h$_am_stamp_count
21587 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21588 $as_echo "$as_me: executing $ac_file commands" >&6;}
21593 case $ac_file$ac_mode in
21594 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
21595 # Older Autoconf quotes --file arguments for eval, but not when files
21596 # are listed without --file. Let's play safe and only enable the eval
21597 # if we detect the quoting.
21598 case $CONFIG_FILES in
21599 *\'*) eval set x "$CONFIG_FILES" ;;
21600 *) set x $CONFIG_FILES ;;
21605 # Strip MF so we end up with the name of the file.
21606 mf=`echo "$mf" | sed -e 's/:.*$//'`
21607 # Check whether this is an Automake generated Makefile or not.
21608 # We used to match only the files named 'Makefile.in', but
21609 # some people rename them; so instead we look at the file content.
21610 # Grep'ing the first line is not enough: some people post-process
21611 # each Makefile.in and add a new line on top of each file to say so.
21612 # Grep'ing the whole file is not good either: AIX grep has a line
21613 # limit of 2048, but all sed's we know have understand at least 4000.
21614 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
21615 dirpart=`$as_dirname -- "$mf" ||
21616 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21617 X"$mf" : 'X\(//\)[^/]' \| \
21618 X"$mf" : 'X\(//\)$' \| \
21619 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21621 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21625 /^X\(\/\/\)[^/].*/{
21641 # Extract the definition of DEPDIR, am__include, and am__quote
21642 # from the Makefile without running 'make'.
21643 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21644 test -z "$DEPDIR" && continue
21645 am__include=`sed -n 's/^am__include = //p' < "$mf"`
21646 test -z "$am__include" && continue
21647 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21648 # Find all dependency output files, they are included files with
21649 # $(DEPDIR) in their names. We invoke sed twice because it is the
21650 # simplest approach to changing $(DEPDIR) to its actual value in the
21652 for file in `sed -n "
21653 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21654 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
21655 # Make sure the directory exists.
21656 test -f "$dirpart/$file" && continue
21657 fdir=`$as_dirname -- "$file" ||
21658 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21659 X"$file" : 'X\(//\)[^/]' \| \
21660 X"$file" : 'X\(//\)$' \| \
21661 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21662 $as_echo X"$file" |
21663 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21667 /^X\(\/\/\)[^/].*/{
21680 as_dir=$dirpart/$fdir; as_fn_mkdir_p
21681 # echo "creating $dirpart/$file"
21682 echo '# dummy' > "$dirpart/$file"
21689 # See if we are running on zsh, and set the options which allow our
21690 # commands through without removal of \ escapes.
21691 if test -n "${ZSH_VERSION+set}" ; then
21692 setopt NO_GLOB_SUBST
21695 cfgfile="${ofile}T"
21696 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21699 cat <<_LT_EOF >> "$cfgfile"
21702 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21703 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21704 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21705 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21707 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21708 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
21710 # Written by Gordon Matzigkeit, 1996
21712 # This file is part of GNU Libtool.
21714 # GNU Libtool is free software; you can redistribute it and/or
21715 # modify it under the terms of the GNU General Public License as
21716 # published by the Free Software Foundation; either version 2 of
21717 # the License, or (at your option) any later version.
21719 # As a special exception to the GNU General Public License,
21720 # if you distribute this file as part of a program or library that
21721 # is built using GNU Libtool, you may include this file under the
21722 # same distribution terms that you use for the rest of that program.
21724 # GNU Libtool is distributed in the hope that it will be useful,
21725 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21726 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21727 # GNU General Public License for more details.
21729 # You should have received a copy of the GNU General Public License
21730 # along with GNU Libtool; see the file COPYING. If not, a copy
21731 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21732 # obtained by writing to the Free Software Foundation, Inc.,
21733 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21736 # The names of the tagged configurations supported by this script.
21737 available_tags="CXX "
21739 # ### BEGIN LIBTOOL CONFIG
21741 # Which release of libtool.m4 was used?
21742 macro_version=$macro_version
21743 macro_revision=$macro_revision
21745 # Whether or not to build shared libraries.
21746 build_libtool_libs=$enable_shared
21748 # Whether or not to build static libraries.
21749 build_old_libs=$enable_static
21751 # What type of objects to build.
21754 # Whether or not to optimize for fast installation.
21755 fast_install=$enable_fast_install
21757 # Shell to use when invoking shell scripts.
21760 # An echo program that protects backslashes.
21763 # The PATH separator for the build system.
21764 PATH_SEPARATOR=$lt_PATH_SEPARATOR
21767 host_alias=$host_alias
21771 # The build system.
21772 build_alias=$build_alias
21776 # A sed program that does not truncate output.
21779 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21780 Xsed="\$SED -e 1s/^X//"
21782 # A grep program that handles long lines.
21788 # A literal string matcher.
21791 # A BSD- or MS-compatible name lister.
21794 # Whether we need soft or hard links.
21797 # What is the maximum length of a command?
21798 max_cmd_len=$max_cmd_len
21800 # Object file suffix (normally "o").
21803 # Executable file suffix (normally "").
21806 # whether the shell understands "unset".
21809 # turn spaces into newlines.
21812 # turn newlines into spaces.
21815 # convert \$build file names to \$host format.
21816 to_host_file_cmd=$lt_cv_to_host_file_cmd
21818 # convert \$build files to toolchain format.
21819 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21821 # An object symbol dumper.
21822 OBJDUMP=$lt_OBJDUMP
21824 # Method to check whether dependent libraries are shared objects.
21825 deplibs_check_method=$lt_deplibs_check_method
21827 # Command to use when deplibs_check_method = "file_magic".
21828 file_magic_cmd=$lt_file_magic_cmd
21830 # How to find potential files when deplibs_check_method = "file_magic".
21831 file_magic_glob=$lt_file_magic_glob
21833 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21834 want_nocaseglob=$lt_want_nocaseglob
21836 # DLL creation program.
21837 DLLTOOL=$lt_DLLTOOL
21839 # Command to associate shared and link libraries.
21840 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21845 # Flags to create an archive.
21846 AR_FLAGS=$lt_AR_FLAGS
21848 # How to feed a file listing to the archiver.
21849 archiver_list_spec=$lt_archiver_list_spec
21851 # A symbol stripping program.
21854 # Commands used to install an old-style archive.
21856 old_postinstall_cmds=$lt_old_postinstall_cmds
21857 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21859 # Whether to use a lock for old archive extraction.
21860 lock_old_archive_extraction=$lock_old_archive_extraction
21865 # LTCC compiler flags.
21866 LTCFLAGS=$lt_CFLAGS
21868 # Take the output of nm and produce a listing of raw symbols and C names.
21869 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21871 # Transform the output of nm in a proper C declaration.
21872 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21874 # Transform the output of nm in a C name address pair.
21875 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21877 # Transform the output of nm in a C name address pair when lib prefix is needed.
21878 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21880 # Specify filename containing input files for \$NM.
21881 nm_file_list_spec=$lt_nm_file_list_spec
21883 # The root where to search for dependent libraries,and in which our libraries should be installed.
21884 lt_sysroot=$lt_sysroot
21886 # The name of the directory that contains temporary libtool files.
21889 # Used to examine libraries when file_magic_cmd begins with "file".
21890 MAGIC_CMD=$MAGIC_CMD
21892 # Must we lock files when doing compilation?
21893 need_locks=$lt_need_locks
21896 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21898 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21899 DSYMUTIL=$lt_DSYMUTIL
21901 # Tool to change global to local symbols on Mac OS X.
21904 # Tool to manipulate fat objects and archives on Mac OS X.
21907 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21910 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21911 OTOOL64=$lt_OTOOL64
21913 # Old archive suffix (normally "a").
21916 # Shared library suffix (normally ".so").
21917 shrext_cmds=$lt_shrext_cmds
21919 # The commands to extract the exported symbol list from a shared archive.
21920 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21922 # Variables whose values should be saved in libtool wrapper scripts and
21923 # restored at link time.
21924 variables_saved_for_relink=$lt_variables_saved_for_relink
21926 # Do we need the "lib" prefix for modules?
21927 need_lib_prefix=$need_lib_prefix
21929 # Do we need a version for libraries?
21930 need_version=$need_version
21932 # Library versioning type.
21933 version_type=$version_type
21935 # Shared library runtime path variable.
21936 runpath_var=$runpath_var
21938 # Shared library path variable.
21939 shlibpath_var=$shlibpath_var
21941 # Is shlibpath searched before the hard-coded library search path?
21942 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21944 # Format of library name prefix.
21945 libname_spec=$lt_libname_spec
21947 # List of archive names. First name is the real one, the rest are links.
21948 # The last name is the one that the linker finds with -lNAME
21949 library_names_spec=$lt_library_names_spec
21951 # The coded name of the library, if different from the real name.
21952 soname_spec=$lt_soname_spec
21954 # Permission mode override for installation of shared libraries.
21955 install_override_mode=$lt_install_override_mode
21957 # Command to use after installation of a shared archive.
21958 postinstall_cmds=$lt_postinstall_cmds
21960 # Command to use after uninstallation of a shared archive.
21961 postuninstall_cmds=$lt_postuninstall_cmds
21963 # Commands used to finish a libtool library installation in a directory.
21964 finish_cmds=$lt_finish_cmds
21966 # As "finish_cmds", except a single script fragment to be evaled but
21968 finish_eval=$lt_finish_eval
21970 # Whether we should hardcode library paths into libraries.
21971 hardcode_into_libs=$hardcode_into_libs
21973 # Compile-time system search path for libraries.
21974 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21976 # Run-time system search path for libraries.
21977 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21979 # Whether dlopen is supported.
21980 dlopen_support=$enable_dlopen
21982 # Whether dlopen of programs is supported.
21983 dlopen_self=$enable_dlopen_self
21985 # Whether dlopen of statically linked programs is supported.
21986 dlopen_self_static=$enable_dlopen_self_static
21988 # Commands to strip libraries.
21989 old_striplib=$lt_old_striplib
21990 striplib=$lt_striplib
21993 # The linker used to build libraries.
21996 # How to create reloadable object files.
21997 reload_flag=$lt_reload_flag
21998 reload_cmds=$lt_reload_cmds
22000 # Commands used to build an old-style archive.
22001 old_archive_cmds=$lt_old_archive_cmds
22003 # A language specific compiler.
22006 # Is the compiler the GNU compiler?
22009 # Compiler flag to turn off builtin functions.
22010 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22012 # Additional compiler flags for building library objects.
22013 pic_flag=$lt_lt_prog_compiler_pic
22015 # How to pass a linker flag through the compiler.
22016 wl=$lt_lt_prog_compiler_wl
22018 # Compiler flag to prevent dynamic linking.
22019 link_static_flag=$lt_lt_prog_compiler_static
22021 # Does compiler simultaneously support -c and -o options?
22022 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22024 # Whether or not to add -lc for building shared libraries.
22025 build_libtool_need_lc=$archive_cmds_need_lc
22027 # Whether or not to disallow shared libs when runtime libs are static.
22028 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22030 # Compiler flag to allow reflexive dlopens.
22031 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22033 # Compiler flag to generate shared objects directly from archives.
22034 whole_archive_flag_spec=$lt_whole_archive_flag_spec
22036 # Whether the compiler copes with passing no objects directly.
22037 compiler_needs_object=$lt_compiler_needs_object
22039 # Create an old-style archive from a shared archive.
22040 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22042 # Create a temporary old-style archive to link instead of a shared archive.
22043 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22045 # Commands used to build a shared archive.
22046 archive_cmds=$lt_archive_cmds
22047 archive_expsym_cmds=$lt_archive_expsym_cmds
22049 # Commands used to build a loadable module if different from building
22050 # a shared archive.
22051 module_cmds=$lt_module_cmds
22052 module_expsym_cmds=$lt_module_expsym_cmds
22054 # Whether we are building with GNU ld or not.
22055 with_gnu_ld=$lt_with_gnu_ld
22057 # Flag that allows shared libraries with undefined symbols to be built.
22058 allow_undefined_flag=$lt_allow_undefined_flag
22060 # Flag that enforces no undefined symbols.
22061 no_undefined_flag=$lt_no_undefined_flag
22063 # Flag to hardcode \$libdir into a binary during linking.
22064 # This must work even if \$libdir does not exist
22065 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22067 # Whether we need a single "-rpath" flag with a separated argument.
22068 hardcode_libdir_separator=$lt_hardcode_libdir_separator
22070 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22071 # DIR into the resulting binary.
22072 hardcode_direct=$hardcode_direct
22074 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22075 # DIR into the resulting binary and the resulting library dependency is
22076 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22077 # library is relocated.
22078 hardcode_direct_absolute=$hardcode_direct_absolute
22080 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22081 # into the resulting binary.
22082 hardcode_minus_L=$hardcode_minus_L
22084 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22085 # into the resulting binary.
22086 hardcode_shlibpath_var=$hardcode_shlibpath_var
22088 # Set to "yes" if building a shared library automatically hardcodes DIR
22089 # into the library and all subsequent libraries and executables linked
22091 hardcode_automatic=$hardcode_automatic
22093 # Set to yes if linker adds runtime paths of dependent libraries
22094 # to runtime path list.
22095 inherit_rpath=$inherit_rpath
22097 # Whether libtool must link a program against all its dependency libraries.
22098 link_all_deplibs=$link_all_deplibs
22100 # Set to "yes" if exported symbols are required.
22101 always_export_symbols=$always_export_symbols
22103 # The commands to list exported symbols.
22104 export_symbols_cmds=$lt_export_symbols_cmds
22106 # Symbols that should not be listed in the preloaded symbols.
22107 exclude_expsyms=$lt_exclude_expsyms
22109 # Symbols that must always be exported.
22110 include_expsyms=$lt_include_expsyms
22112 # Commands necessary for linking programs (against libraries) with templates.
22113 prelink_cmds=$lt_prelink_cmds
22115 # Commands necessary for finishing linking programs.
22116 postlink_cmds=$lt_postlink_cmds
22118 # Specify filename containing input files.
22119 file_list_spec=$lt_file_list_spec
22121 # How to hardcode a shared library path into an executable.
22122 hardcode_action=$hardcode_action
22124 # The directories searched by this compiler when creating a shared library.
22125 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
22127 # Dependencies to place before and after the objects being linked to
22128 # create a shared library.
22129 predep_objects=$lt_predep_objects
22130 postdep_objects=$lt_postdep_objects
22131 predeps=$lt_predeps
22132 postdeps=$lt_postdeps
22134 # The library search path used internally by the compiler when linking
22135 # a shared library.
22136 compiler_lib_search_path=$lt_compiler_lib_search_path
22138 # ### END LIBTOOL CONFIG
22144 cat <<\_LT_EOF >> "$cfgfile"
22145 # AIX sometimes has problems with the GCC collect2 program. For some
22146 # reason, if we set the COLLECT_NAMES environment variable, the problems
22147 # vanish in a puff of smoke.
22148 if test "X${COLLECT_NAMES+set}" != Xset; then
22150 export COLLECT_NAMES
22157 ltmain="$ac_aux_dir/ltmain.sh"
22160 # We use sed instead of cat because bash on DJGPP gets confused if
22161 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22162 # text mode, it properly converts lines to CR/LF. This bash problem
22163 # is reportedly fixed, but why not run on old versions too?
22164 sed '$q' "$ltmain" >> "$cfgfile" \
22165 || (rm -f "$cfgfile"; exit 1)
22167 if test x"$xsi_shell" = xyes; then
22168 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
22172 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22173 \ * ) func_dirname_result="${3}" ;;\
22175 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
22176 && mv -f "$cfgfile.tmp" "$cfgfile" \
22177 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22178 test 0 -eq $? || _lt_function_replace_fail=:
22181 sed -e '/^func_basename ()$/,/^} # func_basename /c\
22184 \ func_basename_result="${1##*/}"\
22185 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
22186 && mv -f "$cfgfile.tmp" "$cfgfile" \
22187 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22188 test 0 -eq $? || _lt_function_replace_fail=:
22191 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
22192 func_dirname_and_basename ()\
22195 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22196 \ * ) func_dirname_result="${3}" ;;\
22198 \ func_basename_result="${1##*/}"\
22199 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
22200 && mv -f "$cfgfile.tmp" "$cfgfile" \
22201 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22202 test 0 -eq $? || _lt_function_replace_fail=:
22205 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
22208 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
22209 \ # positional parameters, so assign one to ordinary parameter first.\
22210 \ func_stripname_result=${3}\
22211 \ func_stripname_result=${func_stripname_result#"${1}"}\
22212 \ func_stripname_result=${func_stripname_result%"${2}"}\
22213 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
22214 && mv -f "$cfgfile.tmp" "$cfgfile" \
22215 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22216 test 0 -eq $? || _lt_function_replace_fail=:
22219 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
22220 func_split_long_opt ()\
22222 \ func_split_long_opt_name=${1%%=*}\
22223 \ func_split_long_opt_arg=${1#*=}\
22224 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
22225 && mv -f "$cfgfile.tmp" "$cfgfile" \
22226 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22227 test 0 -eq $? || _lt_function_replace_fail=:
22230 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
22231 func_split_short_opt ()\
22233 \ func_split_short_opt_arg=${1#??}\
22234 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
22235 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
22236 && mv -f "$cfgfile.tmp" "$cfgfile" \
22237 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22238 test 0 -eq $? || _lt_function_replace_fail=:
22241 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
22245 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
22246 \ *) func_lo2o_result=${1} ;;\
22248 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
22249 && mv -f "$cfgfile.tmp" "$cfgfile" \
22250 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22251 test 0 -eq $? || _lt_function_replace_fail=:
22254 sed -e '/^func_xform ()$/,/^} # func_xform /c\
22257 func_xform_result=${1%.*}.lo\
22258 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
22259 && mv -f "$cfgfile.tmp" "$cfgfile" \
22260 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22261 test 0 -eq $? || _lt_function_replace_fail=:
22264 sed -e '/^func_arith ()$/,/^} # func_arith /c\
22267 func_arith_result=$(( $* ))\
22268 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
22269 && mv -f "$cfgfile.tmp" "$cfgfile" \
22270 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22271 test 0 -eq $? || _lt_function_replace_fail=:
22274 sed -e '/^func_len ()$/,/^} # func_len /c\
22277 func_len_result=${#1}\
22278 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
22279 && mv -f "$cfgfile.tmp" "$cfgfile" \
22280 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22281 test 0 -eq $? || _lt_function_replace_fail=:
22285 if test x"$lt_shell_append" = xyes; then
22286 sed -e '/^func_append ()$/,/^} # func_append /c\
22289 eval "${1}+=\\${2}"\
22290 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
22291 && mv -f "$cfgfile.tmp" "$cfgfile" \
22292 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22293 test 0 -eq $? || _lt_function_replace_fail=:
22296 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
22297 func_append_quoted ()\
22299 \ func_quote_for_eval "${2}"\
22300 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
22301 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
22302 && mv -f "$cfgfile.tmp" "$cfgfile" \
22303 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22304 test 0 -eq $? || _lt_function_replace_fail=:
22307 # Save a `func_append' function call where possible by direct use of '+='
22308 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
22309 && mv -f "$cfgfile.tmp" "$cfgfile" \
22310 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22311 test 0 -eq $? || _lt_function_replace_fail=:
22313 # Save a `func_append' function call even when '+=' is not available
22314 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
22315 && mv -f "$cfgfile.tmp" "$cfgfile" \
22316 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22317 test 0 -eq $? || _lt_function_replace_fail=:
22320 if test x"$_lt_function_replace_fail" = x":"; then
22321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
22322 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
22326 mv -f "$cfgfile" "$ofile" ||
22327 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22331 cat <<_LT_EOF >> "$ofile"
22333 # ### BEGIN LIBTOOL TAG CONFIG: CXX
22335 # The linker used to build libraries.
22338 # How to create reloadable object files.
22339 reload_flag=$lt_reload_flag_CXX
22340 reload_cmds=$lt_reload_cmds_CXX
22342 # Commands used to build an old-style archive.
22343 old_archive_cmds=$lt_old_archive_cmds_CXX
22345 # A language specific compiler.
22346 CC=$lt_compiler_CXX
22348 # Is the compiler the GNU compiler?
22351 # Compiler flag to turn off builtin functions.
22352 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22354 # Additional compiler flags for building library objects.
22355 pic_flag=$lt_lt_prog_compiler_pic_CXX
22357 # How to pass a linker flag through the compiler.
22358 wl=$lt_lt_prog_compiler_wl_CXX
22360 # Compiler flag to prevent dynamic linking.
22361 link_static_flag=$lt_lt_prog_compiler_static_CXX
22363 # Does compiler simultaneously support -c and -o options?
22364 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22366 # Whether or not to add -lc for building shared libraries.
22367 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22369 # Whether or not to disallow shared libs when runtime libs are static.
22370 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22372 # Compiler flag to allow reflexive dlopens.
22373 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22375 # Compiler flag to generate shared objects directly from archives.
22376 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22378 # Whether the compiler copes with passing no objects directly.
22379 compiler_needs_object=$lt_compiler_needs_object_CXX
22381 # Create an old-style archive from a shared archive.
22382 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22384 # Create a temporary old-style archive to link instead of a shared archive.
22385 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22387 # Commands used to build a shared archive.
22388 archive_cmds=$lt_archive_cmds_CXX
22389 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22391 # Commands used to build a loadable module if different from building
22392 # a shared archive.
22393 module_cmds=$lt_module_cmds_CXX
22394 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22396 # Whether we are building with GNU ld or not.
22397 with_gnu_ld=$lt_with_gnu_ld_CXX
22399 # Flag that allows shared libraries with undefined symbols to be built.
22400 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22402 # Flag that enforces no undefined symbols.
22403 no_undefined_flag=$lt_no_undefined_flag_CXX
22405 # Flag to hardcode \$libdir into a binary during linking.
22406 # This must work even if \$libdir does not exist
22407 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22409 # Whether we need a single "-rpath" flag with a separated argument.
22410 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22412 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22413 # DIR into the resulting binary.
22414 hardcode_direct=$hardcode_direct_CXX
22416 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22417 # DIR into the resulting binary and the resulting library dependency is
22418 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22419 # library is relocated.
22420 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22422 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22423 # into the resulting binary.
22424 hardcode_minus_L=$hardcode_minus_L_CXX
22426 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22427 # into the resulting binary.
22428 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22430 # Set to "yes" if building a shared library automatically hardcodes DIR
22431 # into the library and all subsequent libraries and executables linked
22433 hardcode_automatic=$hardcode_automatic_CXX
22435 # Set to yes if linker adds runtime paths of dependent libraries
22436 # to runtime path list.
22437 inherit_rpath=$inherit_rpath_CXX
22439 # Whether libtool must link a program against all its dependency libraries.
22440 link_all_deplibs=$link_all_deplibs_CXX
22442 # Set to "yes" if exported symbols are required.
22443 always_export_symbols=$always_export_symbols_CXX
22445 # The commands to list exported symbols.
22446 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22448 # Symbols that should not be listed in the preloaded symbols.
22449 exclude_expsyms=$lt_exclude_expsyms_CXX
22451 # Symbols that must always be exported.
22452 include_expsyms=$lt_include_expsyms_CXX
22454 # Commands necessary for linking programs (against libraries) with templates.
22455 prelink_cmds=$lt_prelink_cmds_CXX
22457 # Commands necessary for finishing linking programs.
22458 postlink_cmds=$lt_postlink_cmds_CXX
22460 # Specify filename containing input files.
22461 file_list_spec=$lt_file_list_spec_CXX
22463 # How to hardcode a shared library path into an executable.
22464 hardcode_action=$hardcode_action_CXX
22466 # The directories searched by this compiler when creating a shared library.
22467 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22469 # Dependencies to place before and after the objects being linked to
22470 # create a shared library.
22471 predep_objects=$lt_predep_objects_CXX
22472 postdep_objects=$lt_postdep_objects_CXX
22473 predeps=$lt_predeps_CXX
22474 postdeps=$lt_postdeps_CXX
22476 # The library search path used internally by the compiler when linking
22477 # a shared library.
22478 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22480 # ### END LIBTOOL TAG CONFIG: CXX
22491 ac_clean_files=$ac_clean_files_save
22493 test $ac_write_fail = 0 ||
22494 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22497 # configure is writing to config.log, and then calls config.status.
22498 # config.status does its own redirection, appending to config.log.
22499 # Unfortunately, on DOS this fails, as config.log is still kept open
22500 # by configure, so config.status won't be able to write to it; its
22501 # output is simply discarded. So we exec the FD to /dev/null,
22502 # effectively closing config.log, so it can be properly (re)opened and
22503 # appended to by config.status. When coming back to configure, we
22504 # need to make the FD available again.
22505 if test "$no_create" != yes; then
22507 ac_config_status_args=
22508 test "$silent" = yes &&
22509 ac_config_status_args="$ac_config_status_args --quiet"
22511 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22513 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22514 # would make configure fail if this is the last instruction.
22515 $ac_cs_success || as_fn_exit 1
22519 # CONFIG_SUBDIRS section.
22521 if test "$no_recursion" != yes; then
22523 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
22524 # so they do not pile up.
22525 ac_sub_configure_args=
22527 eval "set x $ac_configure_args"
22531 if test -n "$ac_prev"; then
22536 -cache-file | --cache-file | --cache-fil | --cache-fi \
22537 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
22538 ac_prev=cache_file ;;
22539 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
22540 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
22543 --config-cache | -C)
22545 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
22547 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
22549 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
22551 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
22553 --disable-option-checking)
22557 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
22559 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
22563 # Always prepend --prefix to ensure using the same prefix
22564 # in subdir configurations.
22565 ac_arg="--prefix=$prefix"
22567 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
22569 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
22572 if test "$silent" = yes; then
22573 ac_sub_configure_args="--silent $ac_sub_configure_args"
22576 # Always prepend --disable-option-checking to silence warnings, since
22577 # different subdirs can have different --enable and --with options.
22578 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
22581 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
22583 # Do not complain, so a configure script can configure whichever
22584 # parts of a large source tree are present.
22585 test -d "$srcdir/$ac_dir" || continue
22587 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
22588 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
22589 $as_echo "$ac_msg" >&6
22590 as_dir="$ac_dir"; as_fn_mkdir_p
22594 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22596 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22597 # A ".." for each directory in $ac_dir_suffix.
22598 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22599 case $ac_top_builddir_sub in
22600 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22601 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22604 ac_abs_top_builddir=$ac_pwd
22605 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22606 # for backward compatibility:
22607 ac_top_builddir=$ac_top_build_prefix
22610 .) # We are building in place.
22612 ac_top_srcdir=$ac_top_builddir_sub
22613 ac_abs_top_srcdir=$ac_pwd ;;
22614 [\\/]* | ?:[\\/]* ) # Absolute name.
22615 ac_srcdir=$srcdir$ac_dir_suffix;
22616 ac_top_srcdir=$srcdir
22617 ac_abs_top_srcdir=$srcdir ;;
22618 *) # Relative name.
22619 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22620 ac_top_srcdir=$ac_top_build_prefix$srcdir
22621 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22623 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22628 # Check for guested configure; otherwise get Cygnus style configure.
22629 if test -f "$ac_srcdir/configure.gnu"; then
22630 ac_sub_configure=$ac_srcdir/configure.gnu
22631 elif test -f "$ac_srcdir/configure"; then
22632 ac_sub_configure=$ac_srcdir/configure
22633 elif test -f "$ac_srcdir/configure.in"; then
22634 # This should be Cygnus configure.
22635 ac_sub_configure=$ac_aux_dir/configure
22637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
22638 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
22642 # The recursion is here.
22643 if test -n "$ac_sub_configure"; then
22644 # Make the cache file name correct relative to the subdirectory.
22645 case $cache_file in
22646 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
22647 *) # Relative name.
22648 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
22651 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
22652 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
22653 # The eval makes quoting arguments work.
22654 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
22655 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
22656 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
22662 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22664 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22669 # Summarize the package configuration
22672 { $as_echo "$as_me:${as_lineno-$LINENO}:
22674 Configuration Summary
22675 ---------------------
22676 Package : ${PACKAGE_NAME}
22677 Version : ${PACKAGE_VERSION}
22678 Interface : ${LIBNLFAULTINJECTION_VERSION_INFO//:/.}
22679 Build system : ${build}
22680 Host system : ${host}
22681 Target system : ${target}
22682 Target architecture : ${target_cpu}
22683 Target OS : ${target_os}
22684 Target style : ${TARGET_STYLE}
22685 Cross compiling : ${cross_compiling}
22686 Build shared libraries : ${enable_shared}
22687 Build static libraries : ${enable_static}
22688 Build debug libraries : ${nl_cv_build_debug}
22689 Build optimized libraries : ${nl_cv_build_optimized}
22690 Build coverage libraries : ${nl_cv_build_coverage}
22691 Build coverage reports : ${nl_cv_build_coverage_reports}
22693 Genhtml : ${GENHTML:--}
22694 Build tests : ${nl_cv_build_tests}
22695 NLFAULTINJECTION tests : ${with_tests}
22697 Documentation support : ${nl_cv_build_docs}
22698 Doxygen : ${DOXYGEN:--}
22699 GraphViz dot : ${DOT:--}
22700 Nlassert source : ${nl_with_nlassert:--}
22701 Nlassert compile flags : ${NLASSERT_CPPFLAGS:--}
22702 Nlassert link flags : ${NLASSERT_LDFLAGS:--}
22703 Nlassert link libraries : ${NLASSERT_LIBS:--}
22704 Nlassert foreign subdirectory dependency : ${NLASSERT_FOREIGN_SUBDIR_DEPENDENCY:--}
22705 Nlunit-test source : ${nl_with_nlunit_test:--}
22706 Nlunit-test compile flags : ${NLUNIT_TEST_CPPFLAGS:--}
22707 Nlunit-test link flags : ${NLUNIT_TEST_LDFLAGS:--}
22708 Nlunit-test link libraries : ${NLUNIT_TEST_LIBS:--}
22709 Nlunit-test foreign subdirectory dependency : ${NLUNIT_TEST_FOREIGN_SUBDIR_DEPENDENCY:--}
22710 C Preprocessor : ${CPP}
22712 C++ Preprocessor : ${CXXCPP}
22713 C++ Compiler : ${CXX}
22715 Archive Indexer : ${RANLIB}
22716 Symbol Stripper : ${STRIP}
22717 Object Copier : ${OBJCOPY}
22718 C Preprocessor flags : ${CPPFLAGS:--}
22719 C Compile flags : ${CFLAGS:--}
22720 C++ Compile flags : ${CXXFLAGS:--}
22721 Link flags : ${LDFLAGS:--}
22722 Link libraries : ${LIBS}
22723 Pretty : ${PRETTY:--}
22724 Pretty args : ${PRETTY_ARGS:--}
22725 Pretty check : ${PRETTY_CHECK:--}
22726 Pretty check args : ${PRETTY_CHECK_ARGS:--}
22730 Configuration Summary
22731 ---------------------
22732 Package : ${PACKAGE_NAME}
22733 Version : ${PACKAGE_VERSION}
22734 Interface : ${LIBNLFAULTINJECTION_VERSION_INFO//:/.}
22735 Build system : ${build}
22736 Host system : ${host}
22737 Target system : ${target}
22738 Target architecture : ${target_cpu}
22739 Target OS : ${target_os}
22740 Target style : ${TARGET_STYLE}
22741 Cross compiling : ${cross_compiling}
22742 Build shared libraries : ${enable_shared}
22743 Build static libraries : ${enable_static}
22744 Build debug libraries : ${nl_cv_build_debug}
22745 Build optimized libraries : ${nl_cv_build_optimized}
22746 Build coverage libraries : ${nl_cv_build_coverage}
22747 Build coverage reports : ${nl_cv_build_coverage_reports}
22749 Genhtml : ${GENHTML:--}
22750 Build tests : ${nl_cv_build_tests}
22751 NLFAULTINJECTION tests : ${with_tests}
22753 Documentation support : ${nl_cv_build_docs}
22754 Doxygen : ${DOXYGEN:--}
22755 GraphViz dot : ${DOT:--}
22756 Nlassert source : ${nl_with_nlassert:--}
22757 Nlassert compile flags : ${NLASSERT_CPPFLAGS:--}
22758 Nlassert link flags : ${NLASSERT_LDFLAGS:--}
22759 Nlassert link libraries : ${NLASSERT_LIBS:--}
22760 Nlassert foreign subdirectory dependency : ${NLASSERT_FOREIGN_SUBDIR_DEPENDENCY:--}
22761 Nlunit-test source : ${nl_with_nlunit_test:--}
22762 Nlunit-test compile flags : ${NLUNIT_TEST_CPPFLAGS:--}
22763 Nlunit-test link flags : ${NLUNIT_TEST_LDFLAGS:--}
22764 Nlunit-test link libraries : ${NLUNIT_TEST_LIBS:--}
22765 Nlunit-test foreign subdirectory dependency : ${NLUNIT_TEST_FOREIGN_SUBDIR_DEPENDENCY:--}
22766 C Preprocessor : ${CPP}
22768 C++ Preprocessor : ${CXXCPP}
22769 C++ Compiler : ${CXX}
22771 Archive Indexer : ${RANLIB}
22772 Symbol Stripper : ${STRIP}
22773 Object Copier : ${OBJCOPY}
22774 C Preprocessor flags : ${CPPFLAGS:--}
22775 C Compile flags : ${CFLAGS:--}
22776 C++ Compile flags : ${CXXFLAGS:--}
22777 Link flags : ${LDFLAGS:--}
22778 Link libraries : ${LIBS}
22779 Pretty : ${PRETTY:--}
22780 Pretty args : ${PRETTY_ARGS:--}
22781 Pretty check : ${PRETTY_CHECK:--}
22782 Pretty check args : ${PRETTY_CHECK_ARGS:--}