2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for nlunit-test g4c5ae45-dirty.
5 # Report bugs to <nlunit-test-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
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || 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: nlunit-test-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='nlunit-test'
572 PACKAGE_TARNAME='nlunit-test'
573 PACKAGE_VERSION='g4c5ae45-dirty'
574 PACKAGE_STRING='nlunit-test g4c5ae45-dirty'
575 PACKAGE_BUGREPORT='nlunit-test-users@google.com'
576 PACKAGE_URL='https://github.com/nestlabs/nlunit-test/'
578 ac_unique_file="src/nlunit-test.h"
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 ac_subst_vars='am__EXEEXT_FALSE
620 NLUNIT_TEST_BUILD_DOCS_FALSE
621 NLUNIT_TEST_BUILD_DOCS_TRUE
625 NLUNIT_TEST_BUILD_OPTIMIZED_FALSE
626 NLUNIT_TEST_BUILD_OPTIMIZED_TRUE
627 NLUNIT_TEST_BUILD_COVERAGE_REPORTS_FALSE
628 NLUNIT_TEST_BUILD_COVERAGE_REPORTS_TRUE
631 NLUNIT_TEST_BUILD_COVERAGE_FALSE
632 NLUNIT_TEST_BUILD_COVERAGE_TRUE
633 NLUNIT_TEST_BUILD_DEBUG_FALSE
634 NLUNIT_TEST_BUILD_DEBUG_TRUE
678 MAINTAINER_MODE_FALSE
692 INSTALL_STRIP_PROGRAM
707 nl_filtered_target_os
708 nl_filtered_target_vendor
709 nl_filtered_target_cpu
712 nl_filtered_host_vendor
716 nl_filtered_build_vendor
717 nl_filtered_build_cpu
731 LIBNLUNIT_TEST_VERSION_INFO
732 LIBNLUNIT_TEST_VERSION_REVISION
733 LIBNLUNIT_TEST_VERSION_AGE
734 LIBNLUNIT_TEST_VERSION_CURRENT
735 abs_top_nlbuild_autotools_dir
736 nlbuild_autotools_stem
764 program_transform_name
777 enable_option_checking
779 enable_maintainer_mode
780 enable_dependency_tracking
790 enable_coverage_reports
794 ac_precious_vars='build_alias
807 # Initialize some variables set by options.
809 ac_init_version=false
810 ac_unrecognized_opts=
812 # The variables have the same names as the options, with
813 # dashes changed to underlines.
821 program_transform_name=s,x,x,
829 # Installation directory options.
830 # These are left unexpanded so users can "make install exec_prefix=/foo"
831 # and all the variables that are supposed to be based on exec_prefix
832 # by default will actually change.
833 # Use braces instead of parens because sh, perl, etc. also accept them.
834 # (The list follows the same order as the GNU Coding Standards.)
835 bindir='${exec_prefix}/bin'
836 sbindir='${exec_prefix}/sbin'
837 libexecdir='${exec_prefix}/libexec'
838 datarootdir='${prefix}/share'
839 datadir='${datarootdir}'
840 sysconfdir='${prefix}/etc'
841 sharedstatedir='${prefix}/com'
842 localstatedir='${prefix}/var'
843 includedir='${prefix}/include'
844 oldincludedir='/usr/include'
845 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
846 infodir='${datarootdir}/info'
851 libdir='${exec_prefix}/lib'
852 localedir='${datarootdir}/locale'
853 mandir='${datarootdir}/man'
859 # If the previous option needs an argument, assign it.
860 if test -n "$ac_prev"; then
861 eval $ac_prev=\$ac_option
867 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
872 # Accept the important Cygnus configure options, so we can diagnose typos.
874 case $ac_dashdash$ac_option in
878 -bindir | --bindir | --bindi | --bind | --bin | --bi)
880 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
883 -build | --build | --buil | --bui | --bu)
884 ac_prev=build_alias ;;
885 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
886 build_alias=$ac_optarg ;;
888 -cache-file | --cache-file | --cache-fil | --cache-fi \
889 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
890 ac_prev=cache_file ;;
891 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
892 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
893 cache_file=$ac_optarg ;;
896 cache_file=config.cache ;;
898 -datadir | --datadir | --datadi | --datad)
900 -datadir=* | --datadir=* | --datadi=* | --datad=*)
901 datadir=$ac_optarg ;;
903 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
904 | --dataroo | --dataro | --datar)
905 ac_prev=datarootdir ;;
906 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
907 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
908 datarootdir=$ac_optarg ;;
910 -disable-* | --disable-*)
911 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
912 # Reject names that are not valid shell variable names.
913 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
914 as_fn_error $? "invalid feature name: $ac_useropt"
915 ac_useropt_orig=$ac_useropt
916 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
917 case $ac_user_opts in
921 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
922 ac_unrecognized_sep=', ';;
924 eval enable_$ac_useropt=no ;;
926 -docdir | --docdir | --docdi | --doc | --do)
928 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
931 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
933 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
936 -enable-* | --enable-*)
937 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
938 # Reject names that are not valid shell variable names.
939 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
940 as_fn_error $? "invalid feature name: $ac_useropt"
941 ac_useropt_orig=$ac_useropt
942 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
943 case $ac_user_opts in
947 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
948 ac_unrecognized_sep=', ';;
950 eval enable_$ac_useropt=\$ac_optarg ;;
952 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
953 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
954 | --exec | --exe | --ex)
955 ac_prev=exec_prefix ;;
956 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
957 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
958 | --exec=* | --exe=* | --ex=*)
959 exec_prefix=$ac_optarg ;;
961 -gas | --gas | --ga | --g)
962 # Obsolete; use --with-gas.
965 -help | --help | --hel | --he | -h)
967 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
968 ac_init_help=recursive ;;
969 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
970 ac_init_help=short ;;
972 -host | --host | --hos | --ho)
973 ac_prev=host_alias ;;
974 -host=* | --host=* | --hos=* | --ho=*)
975 host_alias=$ac_optarg ;;
977 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
979 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
981 htmldir=$ac_optarg ;;
983 -includedir | --includedir | --includedi | --included | --include \
984 | --includ | --inclu | --incl | --inc)
985 ac_prev=includedir ;;
986 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
987 | --includ=* | --inclu=* | --incl=* | --inc=*)
988 includedir=$ac_optarg ;;
990 -infodir | --infodir | --infodi | --infod | --info | --inf)
992 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
993 infodir=$ac_optarg ;;
995 -libdir | --libdir | --libdi | --libd)
997 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1000 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1001 | --libexe | --libex | --libe)
1002 ac_prev=libexecdir ;;
1003 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1004 | --libexe=* | --libex=* | --libe=*)
1005 libexecdir=$ac_optarg ;;
1007 -localedir | --localedir | --localedi | --localed | --locale)
1008 ac_prev=localedir ;;
1009 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1010 localedir=$ac_optarg ;;
1012 -localstatedir | --localstatedir | --localstatedi | --localstated \
1013 | --localstate | --localstat | --localsta | --localst | --locals)
1014 ac_prev=localstatedir ;;
1015 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1016 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1017 localstatedir=$ac_optarg ;;
1019 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1021 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1022 mandir=$ac_optarg ;;
1024 -nfp | --nfp | --nf)
1025 # Obsolete; use --without-fp.
1028 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1029 | --no-cr | --no-c | -n)
1032 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1033 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1036 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1037 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1038 | --oldin | --oldi | --old | --ol | --o)
1039 ac_prev=oldincludedir ;;
1040 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1041 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1042 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1043 oldincludedir=$ac_optarg ;;
1045 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1047 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1048 prefix=$ac_optarg ;;
1050 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1051 | --program-pre | --program-pr | --program-p)
1052 ac_prev=program_prefix ;;
1053 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1054 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1055 program_prefix=$ac_optarg ;;
1057 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1058 | --program-suf | --program-su | --program-s)
1059 ac_prev=program_suffix ;;
1060 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1061 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1062 program_suffix=$ac_optarg ;;
1064 -program-transform-name | --program-transform-name \
1065 | --program-transform-nam | --program-transform-na \
1066 | --program-transform-n | --program-transform- \
1067 | --program-transform | --program-transfor \
1068 | --program-transfo | --program-transf \
1069 | --program-trans | --program-tran \
1070 | --progr-tra | --program-tr | --program-t)
1071 ac_prev=program_transform_name ;;
1072 -program-transform-name=* | --program-transform-name=* \
1073 | --program-transform-nam=* | --program-transform-na=* \
1074 | --program-transform-n=* | --program-transform-=* \
1075 | --program-transform=* | --program-transfor=* \
1076 | --program-transfo=* | --program-transf=* \
1077 | --program-trans=* | --program-tran=* \
1078 | --progr-tra=* | --program-tr=* | --program-t=*)
1079 program_transform_name=$ac_optarg ;;
1081 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1083 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1084 pdfdir=$ac_optarg ;;
1086 -psdir | --psdir | --psdi | --psd | --ps)
1088 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1091 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1092 | -silent | --silent | --silen | --sile | --sil)
1095 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1097 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1099 sbindir=$ac_optarg ;;
1101 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1102 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1103 | --sharedst | --shareds | --shared | --share | --shar \
1105 ac_prev=sharedstatedir ;;
1106 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1107 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1108 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1110 sharedstatedir=$ac_optarg ;;
1112 -site | --site | --sit)
1114 -site=* | --site=* | --sit=*)
1117 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1119 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1120 srcdir=$ac_optarg ;;
1122 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1123 | --syscon | --sysco | --sysc | --sys | --sy)
1124 ac_prev=sysconfdir ;;
1125 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1126 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1127 sysconfdir=$ac_optarg ;;
1129 -target | --target | --targe | --targ | --tar | --ta | --t)
1130 ac_prev=target_alias ;;
1131 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1132 target_alias=$ac_optarg ;;
1134 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1137 -version | --version | --versio | --versi | --vers | -V)
1138 ac_init_version=: ;;
1141 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1142 # Reject names that are not valid shell variable names.
1143 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1144 as_fn_error $? "invalid package name: $ac_useropt"
1145 ac_useropt_orig=$ac_useropt
1146 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1147 case $ac_user_opts in
1151 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1152 ac_unrecognized_sep=', ';;
1154 eval with_$ac_useropt=\$ac_optarg ;;
1156 -without-* | --without-*)
1157 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1158 # Reject names that are not valid shell variable names.
1159 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1160 as_fn_error $? "invalid package name: $ac_useropt"
1161 ac_useropt_orig=$ac_useropt
1162 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1163 case $ac_user_opts in
1167 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1168 ac_unrecognized_sep=', ';;
1170 eval with_$ac_useropt=no ;;
1173 # Obsolete; use --with-x.
1176 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1177 | --x-incl | --x-inc | --x-in | --x-i)
1178 ac_prev=x_includes ;;
1179 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1180 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1181 x_includes=$ac_optarg ;;
1183 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1184 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1185 ac_prev=x_libraries ;;
1186 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1187 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1188 x_libraries=$ac_optarg ;;
1190 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1191 Try \`$0 --help' for more information"
1195 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1196 # Reject names that are not valid shell variable names.
1197 case $ac_envvar in #(
1198 '' | [0-9]* | *[!_$as_cr_alnum]* )
1199 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1201 eval $ac_envvar=\$ac_optarg
1202 export $ac_envvar ;;
1205 # FIXME: should be removed in autoconf 3.0.
1206 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1207 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1208 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1209 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1215 if test -n "$ac_prev"; then
1216 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1217 as_fn_error $? "missing argument to $ac_option"
1220 if test -n "$ac_unrecognized_opts"; then
1221 case $enable_option_checking in
1223 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1224 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1228 # Check all directory arguments for consistency.
1229 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1230 datadir sysconfdir sharedstatedir localstatedir includedir \
1231 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1232 libdir localedir mandir
1234 eval ac_val=\$$ac_var
1235 # Remove trailing slashes.
1238 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1239 eval $ac_var=\$ac_val;;
1241 # Be sure to have absolute directory names.
1243 [\\/$]* | ?:[\\/]* ) continue;;
1244 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1246 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1249 # There might be people who depend on the old broken behavior: `$host'
1250 # used to hold the argument of --host etc.
1251 # FIXME: To remove some day.
1254 target=$target_alias
1256 # FIXME: To remove some day.
1257 if test "x$host_alias" != x; then
1258 if test "x$build_alias" = x; then
1259 cross_compiling=maybe
1260 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1261 If a cross compiler is detected then cross compile mode will be used" >&2
1262 elif test "x$build_alias" != "x$host_alias"; then
1268 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1270 test "$silent" = yes && exec 6>/dev/null
1273 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1274 ac_ls_di=`ls -di .` &&
1275 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1276 as_fn_error $? "working directory cannot be determined"
1277 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1278 as_fn_error $? "pwd does not report name of working directory"
1281 # Find the source files, if location was not specified.
1282 if test -z "$srcdir"; then
1283 ac_srcdir_defaulted=yes
1284 # Try the directory containing this script, then the parent directory.
1285 ac_confdir=`$as_dirname -- "$as_myself" ||
1286 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1287 X"$as_myself" : 'X\(//\)[^/]' \| \
1288 X"$as_myself" : 'X\(//\)$' \| \
1289 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1290 $as_echo X"$as_myself" |
1291 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1309 if test ! -r "$srcdir/$ac_unique_file"; then
1313 ac_srcdir_defaulted=no
1315 if test ! -r "$srcdir/$ac_unique_file"; then
1316 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1317 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1319 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1321 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1323 # When building in place, set srcdir=.
1324 if test "$ac_abs_confdir" = "$ac_pwd"; then
1327 # Remove unnecessary trailing slashes from srcdir.
1328 # Double slashes in file names in object file debugging info
1329 # mess up M-x gdb in Emacs.
1331 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1333 for ac_var in $ac_precious_vars; do
1334 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1335 eval ac_env_${ac_var}_value=\$${ac_var}
1336 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1337 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1341 # Report the --help message.
1343 if test "$ac_init_help" = "long"; then
1344 # Omit some internal or obsolete options to make the list less imposing.
1345 # This message is too long to be a string in the A/UX 3.1 sh.
1347 \`configure' configures nlunit-test g4c5ae45-dirty to adapt to many kinds of systems.
1349 Usage: $0 [OPTION]... [VAR=VALUE]...
1351 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1352 VAR=VALUE. See below for descriptions of some of the useful variables.
1354 Defaults for the options are specified in brackets.
1357 -h, --help display this help and exit
1358 --help=short display options specific to this package
1359 --help=recursive display the short help of all the included packages
1360 -V, --version display version information and exit
1361 -q, --quiet, --silent do not print \`checking ...' messages
1362 --cache-file=FILE cache test results in FILE [disabled]
1363 -C, --config-cache alias for \`--cache-file=config.cache'
1364 -n, --no-create do not create output files
1365 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1367 Installation directories:
1368 --prefix=PREFIX install architecture-independent files in PREFIX
1369 [$ac_default_prefix]
1370 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1373 By default, \`make install' will install all the files in
1374 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1375 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1376 for instance \`--prefix=\$HOME'.
1378 For better control, use the options below.
1380 Fine tuning of the installation directories:
1381 --bindir=DIR user executables [EPREFIX/bin]
1382 --sbindir=DIR system admin executables [EPREFIX/sbin]
1383 --libexecdir=DIR program executables [EPREFIX/libexec]
1384 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1385 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1386 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1387 --libdir=DIR object code libraries [EPREFIX/lib]
1388 --includedir=DIR C header files [PREFIX/include]
1389 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1390 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1391 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1392 --infodir=DIR info documentation [DATAROOTDIR/info]
1393 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1394 --mandir=DIR man documentation [DATAROOTDIR/man]
1395 --docdir=DIR documentation root [DATAROOTDIR/doc/nlunit-test]
1396 --htmldir=DIR html documentation [DOCDIR]
1397 --dvidir=DIR dvi documentation [DOCDIR]
1398 --pdfdir=DIR pdf documentation [DOCDIR]
1399 --psdir=DIR ps documentation [DOCDIR]
1405 --program-prefix=PREFIX prepend PREFIX to installed program names
1406 --program-suffix=SUFFIX append SUFFIX to installed program names
1407 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1410 --build=BUILD configure for building on BUILD [guessed]
1411 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1412 --target=TARGET configure for building compilers for TARGET [HOST]
1416 if test -n "$ac_init_help"; then
1417 case $ac_init_help in
1418 short | recursive ) echo "Configuration of nlunit-test g4c5ae45-dirty:";;
1423 --disable-option-checking ignore unrecognized --enable/--with options
1424 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1425 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1426 --enable-silent-rules less verbose build output (undo: "make V=1")
1427 --disable-silent-rules verbose build output (undo: "make V=0")
1428 --enable-maintainer-mode
1429 enable make rules and dependencies not useful (and
1430 sometimes confusing) to the casual installer
1431 --enable-dependency-tracking
1432 do not reject slow dependency extractors
1433 --disable-dependency-tracking
1434 speeds up one-time build
1435 --enable-shared[=PKGS] build shared libraries [default=yes]
1436 --enable-static[=PKGS] build static libraries [default=yes]
1437 --enable-fast-install[=PKGS]
1438 optimize for fast installation [default=yes]
1439 --disable-libtool-lock avoid locking (might break parallel builds)
1440 --enable-debug Enable the generation of debug instances
1442 --enable-coverage Enable the generation of code-coverage instances
1444 --enable-coverage-reports
1445 Enable the generation of code coverage reports
1446 (requires lcov) [default=auto].
1447 --enable-optimization Enable the generation of code-optimized instances
1449 --disable-docs Enable building documentation (requires Doxygen)
1453 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1454 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1455 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1457 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1458 --with-sysroot=DIR Search for dependent libraries within DIR
1459 (or the compiler's sysroot if not specified).
1461 Some influential environment variables:
1462 CC C compiler command
1463 CFLAGS C compiler flags
1464 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1465 nonstandard directory <lib dir>
1466 LIBS libraries to pass to the linker, e.g. -l<library>
1467 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1468 you have headers in a nonstandard directory <include dir>
1470 DOXYGEN Doxygen executable
1471 DOT GraphViz 'dot' executable, which may be used, when present, to
1472 generate Doxygen class graphs
1474 Use these variables to override the choices made by `configure' or to help
1475 it to find libraries and programs with nonstandard names/locations.
1477 Report bugs to <nlunit-test-users@google.com>.
1478 nlunit-test home page: <https://github.com/nestlabs/nlunit-test/>.
1483 if test "$ac_init_help" = "recursive"; then
1484 # If there are subdirs, report their specific --help.
1485 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1486 test -d "$ac_dir" ||
1487 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1492 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1494 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1495 # A ".." for each directory in $ac_dir_suffix.
1496 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1497 case $ac_top_builddir_sub in
1498 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1499 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1502 ac_abs_top_builddir=$ac_pwd
1503 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1504 # for backward compatibility:
1505 ac_top_builddir=$ac_top_build_prefix
1508 .) # We are building in place.
1510 ac_top_srcdir=$ac_top_builddir_sub
1511 ac_abs_top_srcdir=$ac_pwd ;;
1512 [\\/]* | ?:[\\/]* ) # Absolute name.
1513 ac_srcdir=$srcdir$ac_dir_suffix;
1514 ac_top_srcdir=$srcdir
1515 ac_abs_top_srcdir=$srcdir ;;
1517 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1518 ac_top_srcdir=$ac_top_build_prefix$srcdir
1519 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1521 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1523 cd "$ac_dir" || { ac_status=$?; continue; }
1524 # Check for guested configure.
1525 if test -f "$ac_srcdir/configure.gnu"; then
1527 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1528 elif test -f "$ac_srcdir/configure"; then
1530 $SHELL "$ac_srcdir/configure" --help=recursive
1532 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1534 cd "$ac_pwd" || { ac_status=$?; break; }
1538 test -n "$ac_init_help" && exit $ac_status
1539 if $ac_init_version; then
1541 nlunit-test configure g4c5ae45-dirty
1542 generated by GNU Autoconf 2.68
1544 Copyright (C) 2010 Free Software Foundation, Inc.
1545 This configure script is free software; the Free Software Foundation
1546 gives unlimited permission to copy, distribute and modify it.
1551 ## ------------------------ ##
1552 ## Autoconf initialization. ##
1553 ## ------------------------ ##
1555 # ac_fn_c_try_compile LINENO
1556 # --------------------------
1557 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1558 ac_fn_c_try_compile ()
1560 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1561 rm -f conftest.$ac_objext
1562 if { { ac_try="$ac_compile"
1564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1565 *) ac_try_echo=$ac_try;;
1567 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1568 $as_echo "$ac_try_echo"; } >&5
1569 (eval "$ac_compile") 2>conftest.err
1571 if test -s conftest.err; then
1572 grep -v '^ *+' conftest.err >conftest.er1
1573 cat conftest.er1 >&5
1574 mv -f conftest.er1 conftest.err
1576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1577 test $ac_status = 0; } && {
1578 test -z "$ac_c_werror_flag" ||
1579 test ! -s conftest.err
1580 } && test -s conftest.$ac_objext; then :
1583 $as_echo "$as_me: failed program was:" >&5
1584 sed 's/^/| /' conftest.$ac_ext >&5
1588 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1589 as_fn_set_status $ac_retval
1591 } # ac_fn_c_try_compile
1593 # ac_fn_c_try_cpp LINENO
1594 # ----------------------
1595 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1598 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1599 if { { ac_try="$ac_cpp conftest.$ac_ext"
1601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1602 *) ac_try_echo=$ac_try;;
1604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1605 $as_echo "$ac_try_echo"; } >&5
1606 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1608 if test -s conftest.err; then
1609 grep -v '^ *+' conftest.err >conftest.er1
1610 cat conftest.er1 >&5
1611 mv -f conftest.er1 conftest.err
1613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1614 test $ac_status = 0; } > conftest.i && {
1615 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1616 test ! -s conftest.err
1620 $as_echo "$as_me: failed program was:" >&5
1621 sed 's/^/| /' conftest.$ac_ext >&5
1625 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1626 as_fn_set_status $ac_retval
1630 # ac_fn_c_try_link LINENO
1631 # -----------------------
1632 # Try to link conftest.$ac_ext, and return whether this succeeded.
1635 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1636 rm -f conftest.$ac_objext conftest$ac_exeext
1637 if { { ac_try="$ac_link"
1639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1640 *) ac_try_echo=$ac_try;;
1642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1643 $as_echo "$ac_try_echo"; } >&5
1644 (eval "$ac_link") 2>conftest.err
1646 if test -s conftest.err; then
1647 grep -v '^ *+' conftest.err >conftest.er1
1648 cat conftest.er1 >&5
1649 mv -f conftest.er1 conftest.err
1651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1652 test $ac_status = 0; } && {
1653 test -z "$ac_c_werror_flag" ||
1654 test ! -s conftest.err
1655 } && test -s conftest$ac_exeext && {
1656 test "$cross_compiling" = yes ||
1657 $as_test_x conftest$ac_exeext
1661 $as_echo "$as_me: failed program was:" >&5
1662 sed 's/^/| /' conftest.$ac_ext >&5
1666 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1667 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1668 # interfere with the next link command; also delete a directory that is
1669 # left behind by Apple's compiler. We do this before executing the actions.
1670 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1671 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1672 as_fn_set_status $ac_retval
1674 } # ac_fn_c_try_link
1676 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1677 # -------------------------------------------------------
1678 # Tests whether HEADER exists and can be compiled using the include files in
1679 # INCLUDES, setting the cache variable VAR accordingly.
1680 ac_fn_c_check_header_compile ()
1682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1684 $as_echo_n "checking for $2... " >&6; }
1685 if eval \${$3+:} false; then :
1686 $as_echo_n "(cached) " >&6
1688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1689 /* end confdefs.h. */
1693 if ac_fn_c_try_compile "$LINENO"; then :
1698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1702 $as_echo "$ac_res" >&6; }
1703 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1705 } # ac_fn_c_check_header_compile
1707 # ac_fn_c_try_run LINENO
1708 # ----------------------
1709 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1710 # that executables *can* be run.
1713 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714 if { { ac_try="$ac_link"
1716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1717 *) ac_try_echo=$ac_try;;
1719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1720 $as_echo "$ac_try_echo"; } >&5
1721 (eval "$ac_link") 2>&5
1723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1724 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1725 { { case "(($ac_try" in
1726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1727 *) ac_try_echo=$ac_try;;
1729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1730 $as_echo "$ac_try_echo"; } >&5
1731 (eval "$ac_try") 2>&5
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 test $ac_status = 0; }; }; then :
1737 $as_echo "$as_me: program exited with status $ac_status" >&5
1738 $as_echo "$as_me: failed program was:" >&5
1739 sed 's/^/| /' conftest.$ac_ext >&5
1741 ac_retval=$ac_status
1743 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1744 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1745 as_fn_set_status $ac_retval
1749 # ac_fn_c_check_func LINENO FUNC VAR
1750 # ----------------------------------
1751 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1752 ac_fn_c_check_func ()
1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1756 $as_echo_n "checking for $2... " >&6; }
1757 if eval \${$3+:} false; then :
1758 $as_echo_n "(cached) " >&6
1760 if test x$ac_no_link = xyes; then
1761 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
1763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1764 /* end confdefs.h. */
1765 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1767 #define $2 innocuous_$2
1769 /* System header to define __stub macros and hopefully few prototypes,
1770 which can conflict with char $2 (); below.
1771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1772 <limits.h> exists even on freestanding compilers. */
1775 # include <limits.h>
1777 # include <assert.h>
1782 /* Override any GCC internal prototype to avoid an error.
1783 Use char because int might match the return type of a GCC
1784 builtin and then its argument prototype would still apply. */
1789 /* The GNU C library defines this for functions which it implements
1790 to always fail with ENOSYS. Some functions are actually named
1791 something starting with __ and the normal name is an alias. */
1792 #if defined __stub_$2 || defined __stub___$2
1804 if ac_fn_c_try_link "$LINENO"; then :
1809 rm -f core conftest.err conftest.$ac_objext \
1810 conftest$ac_exeext conftest.$ac_ext
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1814 $as_echo "$ac_res" >&6; }
1815 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1817 } # ac_fn_c_check_func
1819 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1820 # -------------------------------------------
1821 # Tests whether TYPE exists after having included INCLUDES, setting cache
1822 # variable VAR accordingly.
1823 ac_fn_c_check_type ()
1825 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1827 $as_echo_n "checking for $2... " >&6; }
1828 if eval \${$3+:} false; then :
1829 $as_echo_n "(cached) " >&6
1832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1833 /* end confdefs.h. */
1844 if ac_fn_c_try_compile "$LINENO"; then :
1845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1846 /* end confdefs.h. */
1857 if ac_fn_c_try_compile "$LINENO"; then :
1862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1868 $as_echo "$ac_res" >&6; }
1869 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1871 } # ac_fn_c_check_type
1872 cat >config.log <<_ACEOF
1873 This file contains any messages produced by compilers while
1874 running configure, to aid debugging if configure makes a mistake.
1876 It was created by nlunit-test $as_me g4c5ae45-dirty, which was
1877 generated by GNU Autoconf 2.68. Invocation command line was
1889 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1890 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1891 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1892 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1893 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1895 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1896 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1898 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1899 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1900 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1901 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1902 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1903 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1904 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1912 test -z "$as_dir" && as_dir=.
1913 $as_echo "PATH: $as_dir"
1929 # Keep a trace of the command line.
1930 # Strip out --no-create and --no-recursion so they do not pile up.
1931 # Strip out --silent because we don't want to record it for future runs.
1932 # Also quote any args containing shell meta-characters.
1933 # Make two passes to allow for proper duplicate-argument suppression.
1937 ac_must_keep_next=false
1943 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1944 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1945 | -silent | --silent | --silen | --sile | --sil)
1948 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1951 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1953 as_fn_append ac_configure_args1 " '$ac_arg'"
1954 if test $ac_must_keep_next = true; then
1955 ac_must_keep_next=false # Got value, back to normal.
1958 *=* | --config-cache | -C | -disable-* | --disable-* \
1959 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1960 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1961 | -with-* | --with-* | -without-* | --without-* | --x)
1962 case "$ac_configure_args0 " in
1963 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1966 -* ) ac_must_keep_next=true ;;
1969 as_fn_append ac_configure_args " '$ac_arg'"
1974 { ac_configure_args0=; unset ac_configure_args0;}
1975 { ac_configure_args1=; unset ac_configure_args1;}
1977 # When interrupted or exit'd, cleanup temporary files, and complete
1978 # config.log. We remove comments because anyway the quotes in there
1979 # would cause problems or look ugly.
1980 # WARNING: Use '\'' to represent an apostrophe within the trap.
1981 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1982 trap 'exit_status=$?
1983 # Save into config.log some information that might help in debugging.
1987 $as_echo "## ---------------- ##
1988 ## Cache variables. ##
1989 ## ---------------- ##"
1991 # The following way of writing the cache mishandles newlines in values,
1993 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1994 eval ac_val=\$$ac_var
1998 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1999 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2002 _ | IFS | as_nl) ;; #(
2003 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2004 *) { eval $ac_var=; unset $ac_var;} ;;
2009 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2010 *${as_nl}ac_space=\ *)
2012 "s/'\''/'\''\\\\'\'''\''/g;
2013 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2016 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2023 $as_echo "## ----------------- ##
2024 ## Output variables. ##
2025 ## ----------------- ##"
2027 for ac_var in $ac_subst_vars
2029 eval ac_val=\$$ac_var
2031 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2033 $as_echo "$ac_var='\''$ac_val'\''"
2037 if test -n "$ac_subst_files"; then
2038 $as_echo "## ------------------- ##
2039 ## File substitutions. ##
2040 ## ------------------- ##"
2042 for ac_var in $ac_subst_files
2044 eval ac_val=\$$ac_var
2046 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2048 $as_echo "$ac_var='\''$ac_val'\''"
2053 if test -s confdefs.h; then
2054 $as_echo "## ----------- ##
2061 test "$ac_signal" != 0 &&
2062 $as_echo "$as_me: caught signal $ac_signal"
2063 $as_echo "$as_me: exit $exit_status"
2065 rm -f core *.core core.conftest.* &&
2066 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2069 for ac_signal in 1 2 13 15; do
2070 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2074 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2075 rm -f -r conftest* confdefs.h
2077 $as_echo "/* confdefs.h */" > confdefs.h
2079 # Predefined preprocessor variables.
2081 cat >>confdefs.h <<_ACEOF
2082 #define PACKAGE_NAME "$PACKAGE_NAME"
2085 cat >>confdefs.h <<_ACEOF
2086 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2089 cat >>confdefs.h <<_ACEOF
2090 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2093 cat >>confdefs.h <<_ACEOF
2094 #define PACKAGE_STRING "$PACKAGE_STRING"
2097 cat >>confdefs.h <<_ACEOF
2098 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2101 cat >>confdefs.h <<_ACEOF
2102 #define PACKAGE_URL "$PACKAGE_URL"
2106 # Let the site file select an alternate cache file if it wants to.
2107 # Prefer an explicitly selected file to automatically selected ones.
2110 if test -n "$CONFIG_SITE"; then
2111 # We do not want a PATH search for config.site.
2112 case $CONFIG_SITE in #((
2113 -*) ac_site_file1=./$CONFIG_SITE;;
2114 */*) ac_site_file1=$CONFIG_SITE;;
2115 *) ac_site_file1=./$CONFIG_SITE;;
2117 elif test "x$prefix" != xNONE; then
2118 ac_site_file1=$prefix/share/config.site
2119 ac_site_file2=$prefix/etc/config.site
2121 ac_site_file1=$ac_default_prefix/share/config.site
2122 ac_site_file2=$ac_default_prefix/etc/config.site
2124 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2126 test "x$ac_site_file" = xNONE && continue
2127 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2129 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2130 sed 's/^/| /' "$ac_site_file" >&5
2132 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2133 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2134 as_fn_error $? "failed to load site script $ac_site_file
2135 See \`config.log' for more details" "$LINENO" 5; }
2139 if test -r "$cache_file"; then
2140 # Some versions of bash will fail to source /dev/null (special files
2141 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2142 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2144 $as_echo "$as_me: loading cache $cache_file" >&6;}
2146 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2147 *) . "./$cache_file";;
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2152 $as_echo "$as_me: creating cache $cache_file" >&6;}
2156 # Check that the precious variables saved in the cache have kept the same
2158 ac_cache_corrupted=false
2159 for ac_var in $ac_precious_vars; do
2160 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2161 eval ac_new_set=\$ac_env_${ac_var}_set
2162 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2163 eval ac_new_val=\$ac_env_${ac_var}_value
2164 case $ac_old_set,$ac_new_set in
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2167 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2168 ac_cache_corrupted=: ;;
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2171 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2172 ac_cache_corrupted=: ;;
2175 if test "x$ac_old_val" != "x$ac_new_val"; then
2176 # differences in whitespace do not lead to failure.
2177 ac_old_val_w=`echo x $ac_old_val`
2178 ac_new_val_w=`echo x $ac_new_val`
2179 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2181 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2182 ac_cache_corrupted=:
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2185 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2186 eval $ac_var=\$ac_old_val
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2189 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2191 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2194 # Pass precious variables to config.status.
2195 if test "$ac_new_set" = set; then
2197 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2198 *) ac_arg=$ac_var=$ac_new_val ;;
2200 case " $ac_configure_args " in
2201 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2202 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2206 if $ac_cache_corrupted; then
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2210 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2211 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2213 ## -------------------- ##
2214 ## Main body of script. ##
2215 ## -------------------- ##
2218 ac_cpp='$CPP $CPPFLAGS'
2219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2225 # Tell the rest of the build system the absolute path where the
2226 # nlbuild-autotools repository is rooted at.
2228 nlbuild_autotools_stem=third_party/nlbuild-autotools/repo
2230 abs_top_nlbuild_autotools_dir=\${abs_top_srcdir}/\${nlbuild_autotools_stem}
2234 # NLUNIT_TEST interface current, revision, and age versions.
2236 # NOTE: At present, NLUNIT_TEST makes NO ABI compatibility
2237 # commitments. Consequently, these simply serve as documentation
2238 # for how the interfaces have evolved.
2240 # Maintainters: Please manage these fields as follows:
2242 # Interfaces removed: CURRENT++, AGE = 0, REVISION = 0
2243 # Interfaces added: CURRENT++, AGE++, REVISION = 0
2244 # No interfaces changed: REVISION++
2247 LIBNLUNIT_TEST_VERSION_CURRENT=1
2249 LIBNLUNIT_TEST_VERSION_AGE=0
2251 LIBNLUNIT_TEST_VERSION_REVISION=0
2253 LIBNLUNIT_TEST_VERSION_INFO=${LIBNLUNIT_TEST_VERSION_CURRENT}:${LIBNLUNIT_TEST_VERSION_REVISION}:${LIBNLUNIT_TEST_VERSION_AGE}
2257 # Check the sanity of the source directory by checking for the
2258 # presence of a key watch file
2263 # Tell autoconf where to find auxilliary build tools (e.g. config.guess,
2264 # install-sh, missing, etc.)
2267 for ac_dir in third_party/nlbuild-autotools/repo/third_party/autoconf "$srcdir"/third_party/nlbuild-autotools/repo/third_party/autoconf; do
2268 if test -f "$ac_dir/install-sh"; then
2270 ac_install_sh="$ac_aux_dir/install-sh -c"
2272 elif test -f "$ac_dir/install.sh"; then
2274 ac_install_sh="$ac_aux_dir/install.sh -c"
2276 elif test -f "$ac_dir/shtool"; then
2278 ac_install_sh="$ac_aux_dir/shtool install -c"
2282 if test -z "$ac_aux_dir"; then
2283 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
2286 # These three variables are undocumented and unsupported,
2287 # and are intended to be withdrawn in a future Autoconf release.
2288 # They can cause serious problems if a builder's source tree is in a directory
2289 # whose full name contains unusual characters.
2290 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2291 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2292 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2297 # Tell autoconf where to find auxilliary M4 macros
2302 # Tell autoconf what file the package is using to aggregate C preprocessor
2305 ac_config_headers="$ac_config_headers src/nlunit-test-config.h"
2309 # Figure out what the canonical build, host and target tuples are.
2311 # Make sure we can run config.sub.
2312 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2313 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2316 $as_echo_n "checking build system type... " >&6; }
2317 if ${ac_cv_build+:} false; then :
2318 $as_echo_n "(cached) " >&6
2320 ac_build_alias=$build_alias
2321 test "x$ac_build_alias" = x &&
2322 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2323 test "x$ac_build_alias" = x &&
2324 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2325 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2326 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2330 $as_echo "$ac_cv_build" >&6; }
2331 case $ac_cv_build in
2333 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2336 ac_save_IFS=$IFS; IFS='-'
2342 # Remember, the first character of IFS is used to create $*,
2343 # except with old shells:
2346 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2350 $as_echo_n "checking host system type... " >&6; }
2351 if ${ac_cv_host+:} false; then :
2352 $as_echo_n "(cached) " >&6
2354 if test "x$host_alias" = x; then
2355 ac_cv_host=$ac_cv_build
2357 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2358 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2363 $as_echo "$ac_cv_host" >&6; }
2366 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2369 ac_save_IFS=$IFS; IFS='-'
2375 # Remember, the first character of IFS is used to create $*,
2376 # except with old shells:
2379 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2383 $as_echo_n "checking target system type... " >&6; }
2384 if ${ac_cv_target+:} false; then :
2385 $as_echo_n "(cached) " >&6
2387 if test "x$target_alias" = x; then
2388 ac_cv_target=$ac_cv_host
2390 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2391 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2396 $as_echo "$ac_cv_target" >&6; }
2397 case $ac_cv_target in
2399 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2401 target=$ac_cv_target
2402 ac_save_IFS=$IFS; IFS='-'
2408 # Remember, the first character of IFS is used to create $*,
2409 # except with old shells:
2412 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2415 # The aliases save the names the user supplied, while $host etc.
2416 # will get canonicalized.
2417 test -n "$target_alias" &&
2418 test "$program_prefix$program_suffix$program_transform_name" = \
2420 program_prefix=${target_alias}-
2423 # Mac OS X / Darwin ends up putting some versioning cruft on the end of its
2424 # tuple that we don't care about in this script. Create "clean" variables
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking filtered build system type" >&5
2432 $as_echo_n "checking filtered build system type... " >&6; }
2433 if ${nl_cv_filtered_build+:} false; then :
2434 $as_echo_n "(cached) " >&6
2436 nl_cv_filtered_build=`echo ${build} | sed -e 's/[[:digit:].]*$//g'`
2437 nl_filtered_build=${nl_cv_filtered_build}
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_filtered_build" >&5
2440 $as_echo "$nl_cv_filtered_build" >&6; }
2443 case ${nl_cv_filtered_build} in
2446 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2450 nl_filtered_build=$nl_cv_filtered_build
2453 nl_save_IFS=$IFS; IFS='-'
2454 set x $nl_cv_filtered_build
2457 nl_filtered_build_cpu=$1
2459 nl_filtered_build_vendor=$2
2463 # Remember, the first character of IFS is used to create $*,
2464 # except with old shells:
2465 nl_filtered_build_os=$*
2468 case nl_filtered_$build_os in
2470 *\ *) nl_filtered_build_os=`echo "$build_os" | sed 's/ /-/g'`;;
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking filtered host system type" >&5
2482 $as_echo_n "checking filtered host system type... " >&6; }
2483 if ${nl_cv_filtered_host+:} false; then :
2484 $as_echo_n "(cached) " >&6
2486 nl_cv_filtered_host=`echo ${host} | sed -e 's/[[:digit:].]*$//g'`
2487 nl_filtered_host=${nl_cv_filtered_host}
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_filtered_host" >&5
2490 $as_echo "$nl_cv_filtered_host" >&6; }
2493 case ${nl_cv_filtered_host} in
2496 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2500 nl_filtered_host=$nl_cv_filtered_host
2503 nl_save_IFS=$IFS; IFS='-'
2504 set x $nl_cv_filtered_host
2507 nl_filtered_host_cpu=$1
2509 nl_filtered_host_vendor=$2
2513 # Remember, the first character of IFS is used to create $*,
2514 # except with old shells:
2515 nl_filtered_host_os=$*
2518 case nl_filtered_$host_os in
2520 *\ *) nl_filtered_host_os=`echo "$host_os" | sed 's/ /-/g'`;;
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking filtered target system type" >&5
2532 $as_echo_n "checking filtered target system type... " >&6; }
2533 if ${nl_cv_filtered_target+:} false; then :
2534 $as_echo_n "(cached) " >&6
2536 nl_cv_filtered_target=`echo ${target} | sed -e 's/[[:digit:].]*$//g'`
2537 nl_filtered_target=${nl_cv_filtered_target}
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_filtered_target" >&5
2540 $as_echo "$nl_cv_filtered_target" >&6; }
2543 case ${nl_cv_filtered_target} in
2546 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2550 nl_filtered_target=$nl_cv_filtered_target
2553 nl_save_IFS=$IFS; IFS='-'
2554 set x $nl_cv_filtered_target
2557 nl_filtered_target_cpu=$1
2559 nl_filtered_target_vendor=$2
2563 # Remember, the first character of IFS is used to create $*,
2564 # except with old shells:
2565 nl_filtered_target_os=$*
2568 case nl_filtered_$target_os in
2570 *\ *) nl_filtered_target_os=`echo "$target_os" | sed 's/ /-/g'`;;
2580 # Configure automake with the desired options, indicating that this is not
2581 # a native GNU package, that we want "silent" build rules, and that we want
2582 # objects built in the same subdirectory as their source rather than collapsed
2583 # together at the top-level directory.
2585 # Disable silent build rules by either passing --disable-silent-rules to
2586 # configure or passing V=1 to make
2588 am__api_version='1.14'
2590 # Find a good install program. We prefer a C program (faster),
2591 # so one script is as good as another. But avoid the broken or
2592 # incompatible versions:
2593 # SysV /etc/install, /usr/sbin/install
2594 # SunOS /usr/etc/install
2595 # IRIX /sbin/install
2597 # AmigaOS /C/install, which installs bootblocks on floppy discs
2598 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2599 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2600 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2601 # OS/2's system install, which has a completely different semantic
2602 # ./install, which can be erroneously created by make from ./install.sh.
2603 # Reject install programs that cannot install multiple files.
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2605 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2606 if test -z "$INSTALL"; then
2607 if ${ac_cv_path_install+:} false; then :
2608 $as_echo_n "(cached) " >&6
2610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2614 test -z "$as_dir" && as_dir=.
2615 # Account for people who put trailing slashes in PATH elements.
2616 case $as_dir/ in #((
2617 ./ | .// | /[cC]/* | \
2618 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2619 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2622 # OSF1 and SCO ODT 3.0 have their own names for install.
2623 # Don't use installbsd from OSF since it installs stuff as root
2625 for ac_prog in ginstall scoinst install; do
2626 for ac_exec_ext in '' $ac_executable_extensions; do
2627 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2628 if test $ac_prog = install &&
2629 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2630 # AIX install. It has an incompatible calling convention.
2632 elif test $ac_prog = install &&
2633 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2634 # program-specific install script used by HP pwplus--don't use.
2637 rm -rf conftest.one conftest.two conftest.dir
2638 echo one > conftest.one
2639 echo two > conftest.two
2641 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2642 test -s conftest.one && test -s conftest.two &&
2643 test -s conftest.dir/conftest.one &&
2644 test -s conftest.dir/conftest.two
2646 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2659 rm -rf conftest.one conftest.two conftest.dir
2662 if test "${ac_cv_path_install+set}" = set; then
2663 INSTALL=$ac_cv_path_install
2665 # As a last resort, use the slow shell script. Don't cache a
2666 # value for INSTALL within a source directory, because that will
2667 # break other packages using the cache if that directory is
2668 # removed, or if the value is a relative name.
2669 INSTALL=$ac_install_sh
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2673 $as_echo "$INSTALL" >&6; }
2675 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2676 # It thinks the first close brace ends the variable substitution.
2677 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2679 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2681 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2684 $as_echo_n "checking whether build environment is sane... " >&6; }
2685 # Reject unsafe characters in $srcdir or the absolute working directory
2686 # name. Accept space and tab only in the latter.
2690 *[\\\"\#\$\&\'\`$am_lf]*)
2691 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2694 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2695 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2698 # Do 'set' in a subshell so we don't clobber the current shell's
2699 # arguments. Must try -L first in case configure is actually a
2700 # symlink; some systems play weird games with the mod time of symlinks
2701 # (eg FreeBSD returns the mod time of the symlink's containing
2705 for am_try in 1 2; do
2706 echo "timestamp, slept: $am_has_slept" > conftest.file
2707 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2708 if test "$*" = "X"; then
2710 set X `ls -t "$srcdir/configure" conftest.file`
2712 if test "$*" != "X $srcdir/configure conftest.file" \
2713 && test "$*" != "X conftest.file $srcdir/configure"; then
2715 # If neither matched, then we have a broken ls. This can happen
2716 # if, for instance, CONFIG_SHELL is bash and it inherits a
2717 # broken ls alias from the environment. This has actually
2718 # happened. Such a system could not be considered "sane".
2719 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2720 alias in your environment" "$LINENO" 5
2722 if test "$2" = conftest.file || test $am_try -eq 2; then
2729 test "$2" = conftest.file
2735 as_fn_error $? "newly created file is older than distributed files!
2736 Check your system clock" "$LINENO" 5
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2739 $as_echo "yes" >&6; }
2740 # If we didn't sleep, we still need to ensure time stamps of config.status and
2741 # generated files are strictly newer.
2743 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2750 test "$program_prefix" != NONE &&
2751 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2752 # Use a double $ so make ignores it.
2753 test "$program_suffix" != NONE &&
2754 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2755 # Double any \ or $.
2756 # By default was `s,x,x', remove it if useless.
2757 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2758 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2760 # expand $ac_aux_dir to an absolute path
2761 am_aux_dir=`cd $ac_aux_dir && pwd`
2763 if test x"${MISSING+set}" != xset; then
2766 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2768 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2771 # Use eval to expand $SHELL
2772 if eval "$MISSING --is-lightweight"; then
2773 am_missing_run="$MISSING "
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2777 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2780 if test x"${install_sh}" != xset; then
2783 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2785 install_sh="\${SHELL} $am_aux_dir/install-sh"
2789 # Installed binaries are usually stripped using 'strip' when the user
2790 # run "make install-strip". However 'strip' might not be the right
2791 # tool to use in cross-compilation environments, therefore Automake
2792 # will honor the 'STRIP' environment variable to overrule this program.
2793 if test "$cross_compiling" != no; then
2794 if test -n "$ac_tool_prefix"; then
2795 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2796 set dummy ${ac_tool_prefix}strip; ac_word=$2
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2798 $as_echo_n "checking for $ac_word... " >&6; }
2799 if ${ac_cv_prog_STRIP+:} false; then :
2800 $as_echo_n "(cached) " >&6
2802 if test -n "$STRIP"; then
2803 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2809 test -z "$as_dir" && as_dir=.
2810 for ac_exec_ext in '' $ac_executable_extensions; do
2811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2812 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2822 STRIP=$ac_cv_prog_STRIP
2823 if test -n "$STRIP"; then
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2825 $as_echo "$STRIP" >&6; }
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2828 $as_echo "no" >&6; }
2833 if test -z "$ac_cv_prog_STRIP"; then
2835 # Extract the first word of "strip", so it can be a program name with args.
2836 set dummy strip; ac_word=$2
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2838 $as_echo_n "checking for $ac_word... " >&6; }
2839 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2840 $as_echo_n "(cached) " >&6
2842 if test -n "$ac_ct_STRIP"; then
2843 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2849 test -z "$as_dir" && as_dir=.
2850 for ac_exec_ext in '' $ac_executable_extensions; do
2851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2852 ac_cv_prog_ac_ct_STRIP="strip"
2853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2862 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2863 if test -n "$ac_ct_STRIP"; then
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2865 $as_echo "$ac_ct_STRIP" >&6; }
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2868 $as_echo "no" >&6; }
2871 if test "x$ac_ct_STRIP" = x; then
2874 case $cross_compiling:$ac_tool_warned in
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2877 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2878 ac_tool_warned=yes ;;
2883 STRIP="$ac_cv_prog_STRIP"
2887 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2890 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2891 if test -z "$MKDIR_P"; then
2892 if ${ac_cv_path_mkdir+:} false; then :
2893 $as_echo_n "(cached) " >&6
2895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2896 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2899 test -z "$as_dir" && as_dir=.
2900 for ac_prog in mkdir gmkdir; do
2901 for ac_exec_ext in '' $ac_executable_extensions; do
2902 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2903 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2904 'mkdir (GNU coreutils) '* | \
2905 'mkdir (coreutils) '* | \
2906 'mkdir (fileutils) '4.1*)
2907 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2917 test -d ./--version && rmdir ./--version
2918 if test "${ac_cv_path_mkdir+set}" = set; then
2919 MKDIR_P="$ac_cv_path_mkdir -p"
2921 # As a last resort, use the slow shell script. Don't cache a
2922 # value for MKDIR_P within a source directory, because that will
2923 # break other packages using the cache if that directory is
2924 # removed, or if the value is a relative name.
2925 MKDIR_P="$ac_install_sh -d"
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2929 $as_echo "$MKDIR_P" >&6; }
2931 for ac_prog in gawk mawk nawk awk
2933 # Extract the first word of "$ac_prog", so it can be a program name with args.
2934 set dummy $ac_prog; ac_word=$2
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2936 $as_echo_n "checking for $ac_word... " >&6; }
2937 if ${ac_cv_prog_AWK+:} false; then :
2938 $as_echo_n "(cached) " >&6
2940 if test -n "$AWK"; then
2941 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2947 test -z "$as_dir" && as_dir=.
2948 for ac_exec_ext in '' $ac_executable_extensions; do
2949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2950 ac_cv_prog_AWK="$ac_prog"
2951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2961 if test -n "$AWK"; then
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2963 $as_echo "$AWK" >&6; }
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2966 $as_echo "no" >&6; }
2970 test -n "$AWK" && break
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2974 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2976 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2977 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2978 $as_echo_n "(cached) " >&6
2980 cat >conftest.make <<\_ACEOF
2983 @echo '@@@%%%=$(MAKE)=@@@%%%'
2985 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2986 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2988 eval ac_cv_prog_make_${ac_make}_set=yes;;
2990 eval ac_cv_prog_make_${ac_make}_set=no;;
2994 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2996 $as_echo "yes" >&6; }
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3000 $as_echo "no" >&6; }
3001 SET_MAKE="MAKE=${MAKE-make}"
3004 rm -rf .tst 2>/dev/null
3005 mkdir .tst 2>/dev/null
3006 if test -d .tst; then
3011 rmdir .tst 2>/dev/null
3013 # Check whether --enable-silent-rules was given.
3014 if test "${enable_silent_rules+set}" = set; then :
3015 enableval=$enable_silent_rules;
3018 case $enable_silent_rules in # (((
3019 yes) AM_DEFAULT_VERBOSITY=0;;
3020 no) AM_DEFAULT_VERBOSITY=1;;
3021 *) AM_DEFAULT_VERBOSITY=1;;
3023 am_make=${MAKE-make}
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3025 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3026 if ${am_cv_make_support_nested_variables+:} false; then :
3027 $as_echo_n "(cached) " >&6
3029 if $as_echo 'TRUE=$(BAR$(V))
3035 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3036 am_cv_make_support_nested_variables=yes
3038 am_cv_make_support_nested_variables=no
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3042 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3043 if test $am_cv_make_support_nested_variables = yes; then
3045 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3047 AM_V=$AM_DEFAULT_VERBOSITY
3048 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3052 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3053 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3054 # is not polluted with repeated "-I."
3055 am__isrc=' -I$(srcdir)'
3056 # test to see if srcdir already configured
3057 if test -f $srcdir/config.status; then
3058 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3062 # test whether we have cygpath
3063 if test -z "$CYGPATH_W"; then
3064 if (cygpath --version) >/dev/null 2>/dev/null; then
3065 CYGPATH_W='cygpath -w'
3072 # Define the identity of the package.
3073 PACKAGE='nlunit-test'
3074 VERSION='g4c5ae45-dirty'
3077 cat >>confdefs.h <<_ACEOF
3078 #define PACKAGE "$PACKAGE"
3082 cat >>confdefs.h <<_ACEOF
3083 #define VERSION "$VERSION"
3086 # Some tools Automake needs.
3088 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3091 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3094 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3097 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3100 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3102 # For better backward compatibility. To be removed once Automake 1.9.x
3103 # dies out for good. For more background, see:
3104 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3105 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3106 mkdir_p='$(MKDIR_P)'
3108 # We need awk for the "check" target. The system "awk" is bad on
3110 # Always define AMTAR for backward compatibility. Yes, it's still used
3111 # in the wild :-( We should find a proper way to deprecate it ...
3115 # We'll loop over all known methods to create a tar archive until one works.
3116 _am_tools='gnutar pax cpio none'
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
3121 $as_echo_n "checking how to create a pax tar archive... " >&6; }
3123 # Go ahead even if we have the value already cached. We do so because we
3124 # need to set the values for the 'am__tar' and 'am__untar' variables.
3125 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
3127 for _am_tool in $_am_tools; do
3130 for _am_tar in tar gnutar gtar; do
3131 { echo "$as_me:$LINENO: $_am_tar --version" >&5
3132 ($_am_tar --version) >&5 2>&5
3134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3135 (exit $ac_status); } && break
3137 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
3138 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
3139 am__untar="$_am_tar -xf -"
3142 # Must skip GNU tar: if it does not support --format= it doesn't create
3143 # ustar tarball either.
3144 (tar --version) >/dev/null 2>&1 && continue
3145 am__tar='tar chf - "$$tardir"'
3146 am__tar_='tar chf - "$tardir"'
3147 am__untar='tar xf -'
3150 am__tar='pax -L -x pax -w "$$tardir"'
3151 am__tar_='pax -L -x pax -w "$tardir"'
3155 am__tar='find "$$tardir" -print | cpio -o -H pax -L'
3156 am__tar_='find "$tardir" -print | cpio -o -H pax -L'
3157 am__untar='cpio -i -H pax -d'
3166 # If the value was cached, stop now. We just wanted to have am__tar
3167 # and am__untar set.
3168 test -n "${am_cv_prog_tar_pax}" && break
3170 # tar/untar a dummy directory, and stop if the command works.
3173 echo GrepMe > conftest.dir/file
3174 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3175 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178 (exit $ac_status); }
3180 if test -s conftest.tar; then
3181 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3182 ($am__untar <conftest.tar) >&5 2>&5
3184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3185 (exit $ac_status); }
3186 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3187 (cat conftest.dir/file) >&5 2>&5
3189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3190 (exit $ac_status); }
3191 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3196 if ${am_cv_prog_tar_pax+:} false; then :
3197 $as_echo_n "(cached) " >&6
3199 am_cv_prog_tar_pax=$_am_tool
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
3203 $as_echo "$am_cv_prog_tar_pax" >&6; }
3210 # POSIX will say in a future version that running "rm -f" with no argument
3211 # is OK; and we want to be able to make that assumption in our Makefile
3212 # recipes. So use an aggressive probe to check that the usage we want is
3213 # actually supported "in the wild" to an acceptable degree.
3214 # See automake bug#10828.
3215 # To make any issue more visible, cause the running configure to be aborted
3216 # by default if the 'rm' program in use doesn't match our expectations; the
3217 # user can still override this though.
3218 if rm -f && rm -fr && rm -rf; then : OK; else
3222 Your 'rm' program seems unable to run without file operands specified
3223 on the command line, even when the '-f' option is present. This is contrary
3224 to the behaviour of most rm programs out there, and not conforming with
3225 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3227 Please tell bug-automake@gnu.org about your system, including the value
3228 of your $PATH and any error possibly output before this message. This
3229 can help us improve future automake versions.
3232 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3233 echo 'Configuration will proceed anyway, since you have set the' >&2
3234 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3238 Aborting the configuration process, to ensure you take notice of the issue.
3240 You can download and install GNU coreutils to get an 'rm' implementation
3241 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3243 If you want to complete the configuration process using your problematic
3244 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3245 to "yes", and re-run configure.
3248 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3253 # Silent build rules requires at least automake-1.11. Employ
3254 # techniques for not breaking earlier versions of automake.
3256 # Check whether --enable-silent-rules was given.
3257 if test "${enable_silent_rules+set}" = set; then :
3258 enableval=$enable_silent_rules;
3261 case $enable_silent_rules in # (((
3262 yes) AM_DEFAULT_VERBOSITY=0;;
3263 no) AM_DEFAULT_VERBOSITY=1;;
3264 *) AM_DEFAULT_VERBOSITY=0;;
3266 am_make=${MAKE-make}
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3268 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3269 if ${am_cv_make_support_nested_variables+:} false; then :
3270 $as_echo_n "(cached) " >&6
3272 if $as_echo 'TRUE=$(BAR$(V))
3278 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3279 am_cv_make_support_nested_variables=yes
3281 am_cv_make_support_nested_variables=no
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3285 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3286 if test $am_cv_make_support_nested_variables = yes; then
3288 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3290 AM_V=$AM_DEFAULT_VERBOSITY
3291 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3295 # Check whether --enable-silent-rules was given.
3296 if test "${enable_silent_rules+set}" = set; then :
3297 enableval=$enable_silent_rules;
3300 case $enable_silent_rules in # (((
3301 yes) AM_DEFAULT_VERBOSITY=0;;
3302 no) AM_DEFAULT_VERBOSITY=1;;
3303 *) AM_DEFAULT_VERBOSITY=0;;
3305 am_make=${MAKE-make}
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3307 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3308 if ${am_cv_make_support_nested_variables+:} false; then :
3309 $as_echo_n "(cached) " >&6
3311 if $as_echo 'TRUE=$(BAR$(V))
3317 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3318 am_cv_make_support_nested_variables=yes
3320 am_cv_make_support_nested_variables=no
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3324 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3325 if test $am_cv_make_support_nested_variables = yes; then
3327 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3329 AM_V=$AM_DEFAULT_VERBOSITY
3330 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3336 # Enable maintainer mode to prevent the package from constantly trying
3337 # to rebuild configure, Makefile.in, etc. Rebuilding such files rarely,
3338 # if ever, needs to be done "in the field".
3340 # Use the included 'bootstrap' script instead when necessary.
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3344 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3345 # Check whether --enable-maintainer-mode was given.
3346 if test "${enable_maintainer_mode+set}" = set; then :
3347 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3349 USE_MAINTAINER_MODE=no
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3353 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3354 if test $USE_MAINTAINER_MODE = yes; then
3355 MAINTAINER_MODE_TRUE=
3356 MAINTAINER_MODE_FALSE='#'
3358 MAINTAINER_MODE_TRUE='#'
3359 MAINTAINER_MODE_FALSE=
3362 MAINT=$MAINTAINER_MODE_TRUE
3367 # Checks for build host programs
3370 # If we are cross-compiling and we are on an embedded target that
3371 # doesn't support independent, standalone executables, then all
3372 # compiler tests that attempt to create an executable will fail. In
3373 # such circumstances, set AC_NO_EXECUTABLES (see http://sourceware.org/
3374 # ml/newlib/2006/msg00353.html).
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable executable checking" >&5
3377 $as_echo_n "checking whether to disable executable checking... " >&6; }
3378 if test "$cross_compiling" = yes; then
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3381 $as_echo "yes" >&6; }
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3384 $as_echo "no" >&6; }
3387 # Passing -Werror to GCC-based or -compatible compilers breaks some
3388 # autoconf tests (see
3389 # http://lists.gnu.org/archive/html/autoconf-patches/2008-09/msg00014.html).
3391 # If -Werror has been passed transform it into -Wno-error. We'll
3392 # transform it back later with NL_RESTORE_WERROR.
3396 if echo "${CPPFLAGS}" | grep -q '\-Werror'; then
3397 CPPFLAGS="`echo ${CPPFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3398 nl_had_CPPFLAGS_werror=yes
3400 nl_had_CPPFLAGS_werror=no
3404 if echo "${CFLAGS}" | grep -q '\-Werror'; then
3405 CFLAGS="`echo ${CFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3406 nl_had_CFLAGS_werror=yes
3408 nl_had_CFLAGS_werror=no
3412 if echo "${CXXFLAGS}" | grep -q '\-Werror'; then
3413 CXXFLAGS="`echo ${CXXFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3414 nl_had_CXXFLAGS_werror=yes
3416 nl_had_CXXFLAGS_werror=no
3420 if echo "${OBJCFLAGS}" | grep -q '\-Werror'; then
3421 OBJCFLAGS="`echo ${OBJCFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3422 nl_had_OBJCFLAGS_werror=yes
3424 nl_had_OBJCFLAGS_werror=no
3428 if echo "${OBJCXXFLAGS}" | grep -q '\-Werror'; then
3429 OBJCXXFLAGS="`echo ${OBJCXXFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3430 nl_had_OBJCXXFLAGS_werror=yes
3432 nl_had_OBJCXXFLAGS_werror=no
3437 # Check for compilers.
3439 # These should be checked BEFORE we check for and, implicitly,
3440 # initialize libtool such that libtool knows what languages it has to
3443 DEPDIR="${am__leading_dot}deps"
3445 ac_config_commands="$ac_config_commands depfiles"
3448 am_make=${MAKE-make}
3449 cat > confinc << 'END'
3451 @echo this is the am__doit target
3454 # If we don't find an include directive, just comment out the code.
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3456 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3460 # First try GNU make style include.
3461 echo "include confinc" > confmf
3462 # Ignore all kinds of additional output from 'make'.
3463 case `$am_make -s -f confmf 2> /dev/null` in #(
3464 *the\ am__doit\ target*)
3470 # Now try BSD make style include.
3471 if test "$am__include" = "#"; then
3472 echo '.include "confinc"' > confmf
3473 case `$am_make -s -f confmf 2> /dev/null` in #(
3474 *the\ am__doit\ target*)
3475 am__include=.include
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3484 $as_echo "$_am_result" >&6; }
3485 rm -f confinc confmf
3487 # Check whether --enable-dependency-tracking was given.
3488 if test "${enable_dependency_tracking+set}" = set; then :
3489 enableval=$enable_dependency_tracking;
3492 if test "x$enable_dependency_tracking" != xno; then
3493 am_depcomp="$ac_aux_dir/depcomp"
3497 if test "x$enable_dependency_tracking" != xno; then
3507 ac_cpp='$CPP $CPPFLAGS'
3508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3511 if test -n "$ac_tool_prefix"; then
3512 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3513 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3515 $as_echo_n "checking for $ac_word... " >&6; }
3516 if ${ac_cv_prog_CC+:} false; then :
3517 $as_echo_n "(cached) " >&6
3519 if test -n "$CC"; then
3520 ac_cv_prog_CC="$CC" # Let the user override the test.
3522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3526 test -z "$as_dir" && as_dir=.
3527 for ac_exec_ext in '' $ac_executable_extensions; do
3528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3529 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3540 if test -n "$CC"; then
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3542 $as_echo "$CC" >&6; }
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3545 $as_echo "no" >&6; }
3550 if test -z "$ac_cv_prog_CC"; then
3552 # Extract the first word of "gcc", so it can be a program name with args.
3553 set dummy gcc; ac_word=$2
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3555 $as_echo_n "checking for $ac_word... " >&6; }
3556 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3557 $as_echo_n "(cached) " >&6
3559 if test -n "$ac_ct_CC"; then
3560 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3566 test -z "$as_dir" && as_dir=.
3567 for ac_exec_ext in '' $ac_executable_extensions; do
3568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3569 ac_cv_prog_ac_ct_CC="gcc"
3570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3579 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3580 if test -n "$ac_ct_CC"; then
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3582 $as_echo "$ac_ct_CC" >&6; }
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3585 $as_echo "no" >&6; }
3588 if test "x$ac_ct_CC" = x; then
3591 case $cross_compiling:$ac_tool_warned in
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3594 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3595 ac_tool_warned=yes ;;
3603 if test -z "$CC"; then
3604 if test -n "$ac_tool_prefix"; then
3605 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3606 set dummy ${ac_tool_prefix}cc; ac_word=$2
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3608 $as_echo_n "checking for $ac_word... " >&6; }
3609 if ${ac_cv_prog_CC+:} false; then :
3610 $as_echo_n "(cached) " >&6
3612 if test -n "$CC"; then
3613 ac_cv_prog_CC="$CC" # Let the user override the test.
3615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3619 test -z "$as_dir" && as_dir=.
3620 for ac_exec_ext in '' $ac_executable_extensions; do
3621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3622 ac_cv_prog_CC="${ac_tool_prefix}cc"
3623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3633 if test -n "$CC"; then
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3635 $as_echo "$CC" >&6; }
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3638 $as_echo "no" >&6; }
3644 if test -z "$CC"; then
3645 # Extract the first word of "cc", so it can be a program name with args.
3646 set dummy cc; ac_word=$2
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3648 $as_echo_n "checking for $ac_word... " >&6; }
3649 if ${ac_cv_prog_CC+:} false; then :
3650 $as_echo_n "(cached) " >&6
3652 if test -n "$CC"; then
3653 ac_cv_prog_CC="$CC" # Let the user override the test.
3656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3660 test -z "$as_dir" && as_dir=.
3661 for ac_exec_ext in '' $ac_executable_extensions; do
3662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3663 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3664 ac_prog_rejected=yes
3668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3675 if test $ac_prog_rejected = yes; then
3676 # We found a bogon in the path, so make sure we never use it.
3677 set dummy $ac_cv_prog_CC
3679 if test $# != 0; then
3680 # We chose a different compiler from the bogus one.
3681 # However, it has the same basename, so the bogon will be chosen
3682 # first if we set CC to just the basename; use the full file name.
3684 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3690 if test -n "$CC"; then
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3692 $as_echo "$CC" >&6; }
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3695 $as_echo "no" >&6; }
3700 if test -z "$CC"; then
3701 if test -n "$ac_tool_prefix"; then
3702 for ac_prog in cl.exe
3704 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3705 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3707 $as_echo_n "checking for $ac_word... " >&6; }
3708 if ${ac_cv_prog_CC+:} false; then :
3709 $as_echo_n "(cached) " >&6
3711 if test -n "$CC"; then
3712 ac_cv_prog_CC="$CC" # Let the user override the test.
3714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3718 test -z "$as_dir" && as_dir=.
3719 for ac_exec_ext in '' $ac_executable_extensions; do
3720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3721 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3732 if test -n "$CC"; then
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3734 $as_echo "$CC" >&6; }
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3737 $as_echo "no" >&6; }
3741 test -n "$CC" && break
3744 if test -z "$CC"; then
3746 for ac_prog in cl.exe
3748 # Extract the first word of "$ac_prog", so it can be a program name with args.
3749 set dummy $ac_prog; ac_word=$2
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3751 $as_echo_n "checking for $ac_word... " >&6; }
3752 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3753 $as_echo_n "(cached) " >&6
3755 if test -n "$ac_ct_CC"; then
3756 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3762 test -z "$as_dir" && as_dir=.
3763 for ac_exec_ext in '' $ac_executable_extensions; do
3764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3765 ac_cv_prog_ac_ct_CC="$ac_prog"
3766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3775 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3776 if test -n "$ac_ct_CC"; then
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3778 $as_echo "$ac_ct_CC" >&6; }
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3781 $as_echo "no" >&6; }
3785 test -n "$ac_ct_CC" && break
3788 if test "x$ac_ct_CC" = x; then
3791 case $cross_compiling:$ac_tool_warned in
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3794 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3795 ac_tool_warned=yes ;;
3804 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3806 as_fn_error $? "no acceptable C compiler found in \$PATH
3807 See \`config.log' for more details" "$LINENO" 5; }
3809 # Provide some information about the compiler.
3810 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3813 for ac_option in --version -v -V -qversion; do
3814 { { ac_try="$ac_compiler $ac_option >&5"
3816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3817 *) ac_try_echo=$ac_try;;
3819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3820 $as_echo "$ac_try_echo"; } >&5
3821 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3823 if test -s conftest.err; then
3825 ... rest of stderr output deleted ...
3826 10q' conftest.err >conftest.er1
3827 cat conftest.er1 >&5
3829 rm -f conftest.er1 conftest.err
3830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3831 test $ac_status = 0; }
3834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3835 /* end confdefs.h. */
3845 if { { ac_try="$ac_link"
3847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3848 *) ac_try_echo=$ac_try;;
3850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3851 $as_echo "$ac_try_echo"; } >&5
3852 (eval "$ac_link") 2>&5
3854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3855 test $ac_status = 0; }; then
3857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3858 /* end confdefs.h. */
3868 ac_clean_files_save=$ac_clean_files
3869 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3870 # Try to create an executable without -o first, disregard a.out.
3871 # It will help us diagnose broken compilers, and finding out an intuition
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3874 $as_echo_n "checking whether the C compiler works... " >&6; }
3875 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3877 # The possible output files:
3878 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3881 for ac_file in $ac_files
3884 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3885 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3890 if { { ac_try="$ac_link_default"
3892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3893 *) ac_try_echo=$ac_try;;
3895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3896 $as_echo "$ac_try_echo"; } >&5
3897 (eval "$ac_link_default") 2>&5
3899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3900 test $ac_status = 0; }; then :
3901 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3902 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3903 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3904 # so that the user can short-circuit this test for compilers unknown to
3906 for ac_file in $ac_files ''
3908 test -f "$ac_file" || continue
3910 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3913 # We found the default executable, but exeext='' is most
3917 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3919 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3921 # We set ac_cv_exeext here because the later test for it is not
3922 # safe: cross compilers may not add the suffix if given an `-o'
3923 # argument, so we may need to know it at that point already.
3924 # Even if this section looks crufty: it has the advantage of
3931 test "$ac_cv_exeext" = no && ac_cv_exeext=
3936 if test -z "$ac_file"; then :
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3938 $as_echo "no" >&6; }
3939 $as_echo "$as_me: failed program was:" >&5
3940 sed 's/^/| /' conftest.$ac_ext >&5
3942 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3944 as_fn_error 77 "C compiler cannot create executables
3945 See \`config.log' for more details" "$LINENO" 5; }
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3948 $as_echo "yes" >&6; }
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3951 $as_echo_n "checking for C compiler default output file name... " >&6; }
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3953 $as_echo "$ac_file" >&6; }
3954 ac_exeext=$ac_cv_exeext
3956 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3957 ac_clean_files=$ac_clean_files_save
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3959 $as_echo_n "checking for suffix of executables... " >&6; }
3960 if { { ac_try="$ac_link"
3962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3963 *) ac_try_echo=$ac_try;;
3965 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3966 $as_echo "$ac_try_echo"; } >&5
3967 (eval "$ac_link") 2>&5
3969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3970 test $ac_status = 0; }; then :
3971 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3972 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3973 # work properly (i.e., refer to `conftest.exe'), while it won't with
3975 for ac_file in conftest.exe conftest conftest.*; do
3976 test -f "$ac_file" || continue
3978 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3979 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3987 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3988 See \`config.log' for more details" "$LINENO" 5; }
3990 rm -f conftest conftest$ac_cv_exeext
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3992 $as_echo "$ac_cv_exeext" >&6; }
3994 rm -f conftest.$ac_ext
3995 EXEEXT=$ac_cv_exeext
3997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3998 /* end confdefs.h. */
4003 FILE *f = fopen ("conftest.out", "w");
4004 return ferror (f) || fclose (f) != 0;
4010 ac_clean_files="$ac_clean_files conftest.out"
4011 # Check that the compiler produces executables we can run. If not, either
4012 # the compiler is broken, or we cross compile.
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4014 $as_echo_n "checking whether we are cross compiling... " >&6; }
4015 if test "$cross_compiling" != yes; then
4016 { { ac_try="$ac_link"
4018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4019 *) ac_try_echo=$ac_try;;
4021 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4022 $as_echo "$ac_try_echo"; } >&5
4023 (eval "$ac_link") 2>&5
4025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4026 test $ac_status = 0; }
4027 if { ac_try='./conftest$ac_cv_exeext'
4028 { { case "(($ac_try" in
4029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4030 *) ac_try_echo=$ac_try;;
4032 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4033 $as_echo "$ac_try_echo"; } >&5
4034 (eval "$ac_try") 2>&5
4036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4037 test $ac_status = 0; }; }; then
4040 if test "$cross_compiling" = maybe; then
4043 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4044 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4045 as_fn_error $? "cannot run C compiled programs.
4046 If you meant to cross compile, use \`--host'.
4047 See \`config.log' for more details" "$LINENO" 5; }
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4052 $as_echo "$cross_compiling" >&6; }
4054 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4055 ac_clean_files=$ac_clean_files_save
4058 rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.o conftest.obj conftest.dSYM
4060 # Setting cross_compile will disable run tests; it will
4061 # also disable AC_CHECK_FILE but that's generally
4062 # correct if we can't link.
4065 # Check that the compiler produces executables we can run. If not, either
4066 # the compiler is broken, or we cross compile.
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4068 $as_echo_n "checking whether we are cross compiling... " >&6; }
4069 if test "$cross_compiling" != yes; then
4070 { { ac_try="$ac_link"
4072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4073 *) ac_try_echo=$ac_try;;
4075 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4076 $as_echo "$ac_try_echo"; } >&5
4077 (eval "$ac_link") 2>&5
4079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4080 test $ac_status = 0; }
4081 if { ac_try='./conftest$ac_cv_exeext'
4082 { { case "(($ac_try" in
4083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4084 *) ac_try_echo=$ac_try;;
4086 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4087 $as_echo "$ac_try_echo"; } >&5
4088 (eval "$ac_try") 2>&5
4090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4091 test $ac_status = 0; }; }; then
4094 if test "$cross_compiling" = maybe; then
4097 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4098 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4099 as_fn_error $? "cannot run C compiled programs.
4100 If you meant to cross compile, use \`--host'.
4101 See \`config.log' for more details" "$LINENO" 5; }
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4106 $as_echo "$cross_compiling" >&6; }
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4110 $as_echo_n "checking for suffix of object files... " >&6; }
4111 if ${ac_cv_objext+:} false; then :
4112 $as_echo_n "(cached) " >&6
4114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4115 /* end confdefs.h. */
4125 rm -f conftest.o conftest.obj
4126 if { { ac_try="$ac_compile"
4128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4129 *) ac_try_echo=$ac_try;;
4131 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4132 $as_echo "$ac_try_echo"; } >&5
4133 (eval "$ac_compile") 2>&5
4135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4136 test $ac_status = 0; }; then :
4137 for ac_file in conftest.o conftest.obj conftest.*; do
4138 test -f "$ac_file" || continue;
4140 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4141 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4146 $as_echo "$as_me: failed program was:" >&5
4147 sed 's/^/| /' conftest.$ac_ext >&5
4149 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4150 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4151 as_fn_error $? "cannot compute suffix of object files: cannot compile
4152 See \`config.log' for more details" "$LINENO" 5; }
4154 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4157 $as_echo "$ac_cv_objext" >&6; }
4158 OBJEXT=$ac_cv_objext
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4161 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4162 if ${ac_cv_c_compiler_gnu+:} false; then :
4163 $as_echo_n "(cached) " >&6
4165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4166 /* end confdefs.h. */
4179 if ac_fn_c_try_compile "$LINENO"; then :
4184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4185 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4189 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4190 if test $ac_compiler_gnu = yes; then
4195 ac_test_CFLAGS=${CFLAGS+set}
4196 ac_save_CFLAGS=$CFLAGS
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4198 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4199 if ${ac_cv_prog_cc_g+:} false; then :
4200 $as_echo_n "(cached) " >&6
4202 ac_save_c_werror_flag=$ac_c_werror_flag
4203 ac_c_werror_flag=yes
4206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4207 /* end confdefs.h. */
4217 if ac_fn_c_try_compile "$LINENO"; then :
4221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4222 /* end confdefs.h. */
4232 if ac_fn_c_try_compile "$LINENO"; then :
4235 ac_c_werror_flag=$ac_save_c_werror_flag
4237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4238 /* end confdefs.h. */
4248 if ac_fn_c_try_compile "$LINENO"; then :
4251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4256 ac_c_werror_flag=$ac_save_c_werror_flag
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4259 $as_echo "$ac_cv_prog_cc_g" >&6; }
4260 if test "$ac_test_CFLAGS" = set; then
4261 CFLAGS=$ac_save_CFLAGS
4262 elif test $ac_cv_prog_cc_g = yes; then
4263 if test "$GCC" = yes; then
4269 if test "$GCC" = yes; then
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4276 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4277 if ${ac_cv_prog_cc_c89+:} false; then :
4278 $as_echo_n "(cached) " >&6
4280 ac_cv_prog_cc_c89=no
4282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4283 /* end confdefs.h. */
4286 #include <sys/types.h>
4287 #include <sys/stat.h>
4288 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4289 struct buf { int x; };
4290 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4291 static char *e (p, i)
4297 static char *f (char * (*g) (char **, int), char **p, ...)
4302 s = g (p, va_arg (v,int));
4307 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4308 function prototypes and stuff, but not '\xHH' hex character constants.
4309 These don't provoke an error unfortunately, instead are silently treated
4310 as 'x'. The following induces an error, until -std is added to get
4311 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4312 array size at least. It's necessary to write '\x00'==0 to get something
4313 that's true only with -std. */
4314 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4316 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4317 inside strings and character constants. */
4319 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4321 int test (int i, double x);
4322 struct s1 {int (*f) (int a);};
4323 struct s2 {int (*f) (double a);};
4324 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4330 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4335 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4336 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4338 CC="$ac_save_CC $ac_arg"
4339 if ac_fn_c_try_compile "$LINENO"; then :
4340 ac_cv_prog_cc_c89=$ac_arg
4342 rm -f core conftest.err conftest.$ac_objext
4343 test "x$ac_cv_prog_cc_c89" != "xno" && break
4345 rm -f conftest.$ac_ext
4350 case "x$ac_cv_prog_cc_c89" in
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4353 $as_echo "none needed" >&6; } ;;
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4356 $as_echo "unsupported" >&6; } ;;
4358 CC="$CC $ac_cv_prog_cc_c89"
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4360 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4362 if test "x$ac_cv_prog_cc_c89" != xno; then :
4367 ac_cpp='$CPP $CPPFLAGS'
4368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4373 ac_cpp='$CPP $CPPFLAGS'
4374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4378 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4379 if ${am_cv_prog_cc_c_o+:} false; then :
4380 $as_echo_n "(cached) " >&6
4382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4383 /* end confdefs.h. */
4393 # Make sure it works both with $CC and with simple cc.
4394 # Following AC_PROG_CC_C_O, we do the test twice because some
4395 # compilers refuse to overwrite an existing .o file with -o,
4396 # though they will create one.
4397 am_cv_prog_cc_c_o=yes
4399 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4400 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4403 (exit $ac_status); } \
4404 && test -f conftest2.$ac_objext; then
4407 am_cv_prog_cc_c_o=no
4411 rm -f core conftest*
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4415 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4416 if test "$am_cv_prog_cc_c_o" != yes; then
4417 # Losing compiler, so override with the script.
4418 # FIXME: It is wrong to rewrite CC.
4419 # But if we don't then we get into trouble of one sort or another.
4420 # A longer-term fix would be to have automake use am__CC in this case,
4421 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4422 CC="$am_aux_dir/compile $CC"
4425 ac_cpp='$CPP $CPPFLAGS'
4426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4431 depcc="$CC" am_compiler_list=
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4434 $as_echo_n "checking dependency style of $depcc... " >&6; }
4435 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4436 $as_echo_n "(cached) " >&6
4438 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4439 # We make a subdir and do the tests there. Otherwise we can end up
4440 # making bogus files that we don't know about and never remove. For
4441 # instance it was reported that on HP-UX the gcc test will end up
4442 # making a dummy file named 'D' -- because '-MD' means "put the output
4446 # Copy depcomp to subdir because otherwise we won't find it if we're
4447 # using a relative directory.
4448 cp "$am_depcomp" conftest.dir
4450 # We will build objects and dependencies in a subdirectory because
4451 # it helps to detect inapplicable dependency modes. For instance
4452 # both Tru64's cc and ICC support -MD to output dependencies as a
4453 # side effect of compilation, but ICC will put the dependencies in
4454 # the current directory while Tru64 will put them in the object
4458 am_cv_CC_dependencies_compiler_type=none
4459 if test "$am_compiler_list" = ""; then
4460 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4463 case " $depcc " in #(
4464 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4467 for depmode in $am_compiler_list; do
4468 # Setup a source with many dependencies, because some compilers
4469 # like to wrap large dependency lists on column 80 (with \), and
4470 # we should not choose a depcomp mode which is confused by this.
4472 # We need to recreate these files for each test, as the compiler may
4473 # overwrite some of them when testing with obscure command lines.
4474 # This happens at least with the AIX C compiler.
4476 for i in 1 2 3 4 5 6; do
4477 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4478 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4479 # Solaris 10 /bin/sh.
4480 echo '/* dummy */' > sub/conftst$i.h
4482 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4484 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4485 # mode. It turns out that the SunPro C++ compiler does not properly
4486 # handle '-M -o', and we need to detect this. Also, some Intel
4487 # versions had trouble with output in subdirs.
4488 am__obj=sub/conftest.${OBJEXT-o}
4489 am__minus_obj="-o $am__obj"
4492 # This depmode causes a compiler race in universal mode.
4493 test "$am__universal" = false || continue
4496 # After this tag, mechanisms are not by side-effect, so they'll
4497 # only be used when explicitly requested.
4498 if test "x$enable_dependency_tracking" = xyes; then
4504 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4505 # This compiler won't grok '-c -o', but also, the minuso test has
4506 # not run yet. These depmodes are late enough in the game, and
4507 # so weak that their functioning should not be impacted.
4508 am__obj=conftest.${OBJEXT-o}
4513 if depmode=$depmode \
4514 source=sub/conftest.c object=$am__obj \
4515 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4516 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4517 >/dev/null 2>conftest.err &&
4518 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4519 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4520 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4521 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4522 # icc doesn't choke on unknown options, it will just issue warnings
4523 # or remarks (even with -Werror). So we grep stderr for any message
4524 # that says an option was ignored or not supported.
4525 # When given -MP, icc 7.0 and 7.1 complain thusly:
4526 # icc: Command line warning: ignoring option '-M'; no argument required
4527 # The diagnosis changed in icc 8.0:
4528 # icc: Command line remark: option '-MP' not supported
4529 if (grep 'ignoring option' conftest.err ||
4530 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4531 am_cv_CC_dependencies_compiler_type=$depmode
4540 am_cv_CC_dependencies_compiler_type=none
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4545 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4546 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4549 test "x$enable_dependency_tracking" != xno \
4550 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4552 am__fastdepCC_FALSE='#'
4554 am__fastdepCC_TRUE='#'
4555 am__fastdepCC_FALSE=
4560 ac_cpp='$CPP $CPPFLAGS'
4561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4565 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4566 # On Suns, sometimes $CPP names a directory.
4567 if test -n "$CPP" && test -d "$CPP"; then
4570 if test -z "$CPP"; then
4571 if ${ac_cv_prog_CPP+:} false; then :
4572 $as_echo_n "(cached) " >&6
4574 # Double quotes because CPP needs to be expanded
4575 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4578 for ac_c_preproc_warn_flag in '' yes
4580 # Use a header file that comes with gcc, so configuring glibc
4581 # with a fresh cross-compiler works.
4582 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4583 # <limits.h> exists even on freestanding compilers.
4584 # On the NeXT, cc -E runs the code through the compiler's parser,
4585 # not just through cpp. "Syntax error" is here to catch this case.
4586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4587 /* end confdefs.h. */
4589 # include <limits.h>
4591 # include <assert.h>
4595 if ac_fn_c_try_cpp "$LINENO"; then :
4598 # Broken: fails on valid input.
4601 rm -f conftest.err conftest.i conftest.$ac_ext
4603 # OK, works on sane cases. Now check whether nonexistent headers
4604 # can be detected and how.
4605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4606 /* end confdefs.h. */
4607 #include <ac_nonexistent.h>
4609 if ac_fn_c_try_cpp "$LINENO"; then :
4610 # Broken: success on invalid input.
4613 # Passes both tests.
4617 rm -f conftest.err conftest.i conftest.$ac_ext
4620 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4621 rm -f conftest.i conftest.err conftest.$ac_ext
4622 if $ac_preproc_ok; then :
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4635 $as_echo "$CPP" >&6; }
4637 for ac_c_preproc_warn_flag in '' yes
4639 # Use a header file that comes with gcc, so configuring glibc
4640 # with a fresh cross-compiler works.
4641 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4642 # <limits.h> exists even on freestanding compilers.
4643 # On the NeXT, cc -E runs the code through the compiler's parser,
4644 # not just through cpp. "Syntax error" is here to catch this case.
4645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4646 /* end confdefs.h. */
4648 # include <limits.h>
4650 # include <assert.h>
4654 if ac_fn_c_try_cpp "$LINENO"; then :
4657 # Broken: fails on valid input.
4660 rm -f conftest.err conftest.i conftest.$ac_ext
4662 # OK, works on sane cases. Now check whether nonexistent headers
4663 # can be detected and how.
4664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4665 /* end confdefs.h. */
4666 #include <ac_nonexistent.h>
4668 if ac_fn_c_try_cpp "$LINENO"; then :
4669 # Broken: success on invalid input.
4672 # Passes both tests.
4676 rm -f conftest.err conftest.i conftest.$ac_ext
4679 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4680 rm -f conftest.i conftest.err conftest.$ac_ext
4681 if $ac_preproc_ok; then :
4684 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4685 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4686 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4687 See \`config.log' for more details" "$LINENO" 5; }
4691 ac_cpp='$CPP $CPPFLAGS'
4692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4696 ac_c_preproc_warn_flag=yes
4699 ac_cpp='$CPP $CPPFLAGS'
4700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4703 if test -n "$ac_tool_prefix"; then
4704 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4705 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4707 $as_echo_n "checking for $ac_word... " >&6; }
4708 if ${ac_cv_prog_CC+:} false; then :
4709 $as_echo_n "(cached) " >&6
4711 if test -n "$CC"; then
4712 ac_cv_prog_CC="$CC" # Let the user override the test.
4714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4718 test -z "$as_dir" && as_dir=.
4719 for ac_exec_ext in '' $ac_executable_extensions; do
4720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4721 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4732 if test -n "$CC"; then
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4734 $as_echo "$CC" >&6; }
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4737 $as_echo "no" >&6; }
4742 if test -z "$ac_cv_prog_CC"; then
4744 # Extract the first word of "gcc", so it can be a program name with args.
4745 set dummy gcc; ac_word=$2
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4747 $as_echo_n "checking for $ac_word... " >&6; }
4748 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4749 $as_echo_n "(cached) " >&6
4751 if test -n "$ac_ct_CC"; then
4752 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4758 test -z "$as_dir" && as_dir=.
4759 for ac_exec_ext in '' $ac_executable_extensions; do
4760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4761 ac_cv_prog_ac_ct_CC="gcc"
4762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4771 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4772 if test -n "$ac_ct_CC"; then
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4774 $as_echo "$ac_ct_CC" >&6; }
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4777 $as_echo "no" >&6; }
4780 if test "x$ac_ct_CC" = x; then
4783 case $cross_compiling:$ac_tool_warned in
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4787 ac_tool_warned=yes ;;
4795 if test -z "$CC"; then
4796 if test -n "$ac_tool_prefix"; then
4797 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4798 set dummy ${ac_tool_prefix}cc; ac_word=$2
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4800 $as_echo_n "checking for $ac_word... " >&6; }
4801 if ${ac_cv_prog_CC+:} false; then :
4802 $as_echo_n "(cached) " >&6
4804 if test -n "$CC"; then
4805 ac_cv_prog_CC="$CC" # Let the user override the test.
4807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4811 test -z "$as_dir" && as_dir=.
4812 for ac_exec_ext in '' $ac_executable_extensions; do
4813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4814 ac_cv_prog_CC="${ac_tool_prefix}cc"
4815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4825 if test -n "$CC"; then
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4827 $as_echo "$CC" >&6; }
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4830 $as_echo "no" >&6; }
4836 if test -z "$CC"; then
4837 # Extract the first word of "cc", so it can be a program name with args.
4838 set dummy cc; ac_word=$2
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4840 $as_echo_n "checking for $ac_word... " >&6; }
4841 if ${ac_cv_prog_CC+:} false; then :
4842 $as_echo_n "(cached) " >&6
4844 if test -n "$CC"; then
4845 ac_cv_prog_CC="$CC" # Let the user override the test.
4848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4852 test -z "$as_dir" && as_dir=.
4853 for ac_exec_ext in '' $ac_executable_extensions; do
4854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4855 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4856 ac_prog_rejected=yes
4860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4867 if test $ac_prog_rejected = yes; then
4868 # We found a bogon in the path, so make sure we never use it.
4869 set dummy $ac_cv_prog_CC
4871 if test $# != 0; then
4872 # We chose a different compiler from the bogus one.
4873 # However, it has the same basename, so the bogon will be chosen
4874 # first if we set CC to just the basename; use the full file name.
4876 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4882 if test -n "$CC"; then
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4884 $as_echo "$CC" >&6; }
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4887 $as_echo "no" >&6; }
4892 if test -z "$CC"; then
4893 if test -n "$ac_tool_prefix"; then
4894 for ac_prog in cl.exe
4896 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4897 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4899 $as_echo_n "checking for $ac_word... " >&6; }
4900 if ${ac_cv_prog_CC+:} false; then :
4901 $as_echo_n "(cached) " >&6
4903 if test -n "$CC"; then
4904 ac_cv_prog_CC="$CC" # Let the user override the test.
4906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4910 test -z "$as_dir" && as_dir=.
4911 for ac_exec_ext in '' $ac_executable_extensions; do
4912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4913 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4924 if test -n "$CC"; then
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4926 $as_echo "$CC" >&6; }
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4929 $as_echo "no" >&6; }
4933 test -n "$CC" && break
4936 if test -z "$CC"; then
4938 for ac_prog in cl.exe
4940 # Extract the first word of "$ac_prog", so it can be a program name with args.
4941 set dummy $ac_prog; ac_word=$2
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4943 $as_echo_n "checking for $ac_word... " >&6; }
4944 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4945 $as_echo_n "(cached) " >&6
4947 if test -n "$ac_ct_CC"; then
4948 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4954 test -z "$as_dir" && as_dir=.
4955 for ac_exec_ext in '' $ac_executable_extensions; do
4956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4957 ac_cv_prog_ac_ct_CC="$ac_prog"
4958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4967 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4968 if test -n "$ac_ct_CC"; then
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4970 $as_echo "$ac_ct_CC" >&6; }
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4973 $as_echo "no" >&6; }
4977 test -n "$ac_ct_CC" && break
4980 if test "x$ac_ct_CC" = x; then
4983 case $cross_compiling:$ac_tool_warned in
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4986 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4987 ac_tool_warned=yes ;;
4996 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4997 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4998 as_fn_error $? "no acceptable C compiler found in \$PATH
4999 See \`config.log' for more details" "$LINENO" 5; }
5001 # Provide some information about the compiler.
5002 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5005 for ac_option in --version -v -V -qversion; do
5006 { { ac_try="$ac_compiler $ac_option >&5"
5008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5009 *) ac_try_echo=$ac_try;;
5011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5012 $as_echo "$ac_try_echo"; } >&5
5013 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5015 if test -s conftest.err; then
5017 ... rest of stderr output deleted ...
5018 10q' conftest.err >conftest.er1
5019 cat conftest.er1 >&5
5021 rm -f conftest.er1 conftest.err
5022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5023 test $ac_status = 0; }
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5027 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5028 if ${ac_cv_c_compiler_gnu+:} false; then :
5029 $as_echo_n "(cached) " >&6
5031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5032 /* end confdefs.h. */
5045 if ac_fn_c_try_compile "$LINENO"; then :
5050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5051 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5055 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5056 if test $ac_compiler_gnu = yes; then
5061 ac_test_CFLAGS=${CFLAGS+set}
5062 ac_save_CFLAGS=$CFLAGS
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5064 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5065 if ${ac_cv_prog_cc_g+:} false; then :
5066 $as_echo_n "(cached) " >&6
5068 ac_save_c_werror_flag=$ac_c_werror_flag
5069 ac_c_werror_flag=yes
5072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5073 /* end confdefs.h. */
5083 if ac_fn_c_try_compile "$LINENO"; then :
5087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5088 /* end confdefs.h. */
5098 if ac_fn_c_try_compile "$LINENO"; then :
5101 ac_c_werror_flag=$ac_save_c_werror_flag
5103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5104 /* end confdefs.h. */
5114 if ac_fn_c_try_compile "$LINENO"; then :
5117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5122 ac_c_werror_flag=$ac_save_c_werror_flag
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5125 $as_echo "$ac_cv_prog_cc_g" >&6; }
5126 if test "$ac_test_CFLAGS" = set; then
5127 CFLAGS=$ac_save_CFLAGS
5128 elif test $ac_cv_prog_cc_g = yes; then
5129 if test "$GCC" = yes; then
5135 if test "$GCC" = yes; then
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5142 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5143 if ${ac_cv_prog_cc_c89+:} false; then :
5144 $as_echo_n "(cached) " >&6
5146 ac_cv_prog_cc_c89=no
5148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5149 /* end confdefs.h. */
5152 #include <sys/types.h>
5153 #include <sys/stat.h>
5154 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5155 struct buf { int x; };
5156 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5157 static char *e (p, i)
5163 static char *f (char * (*g) (char **, int), char **p, ...)
5168 s = g (p, va_arg (v,int));
5173 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5174 function prototypes and stuff, but not '\xHH' hex character constants.
5175 These don't provoke an error unfortunately, instead are silently treated
5176 as 'x'. The following induces an error, until -std is added to get
5177 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5178 array size at least. It's necessary to write '\x00'==0 to get something
5179 that's true only with -std. */
5180 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5182 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5183 inside strings and character constants. */
5185 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5187 int test (int i, double x);
5188 struct s1 {int (*f) (int a);};
5189 struct s2 {int (*f) (double a);};
5190 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5196 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5201 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5202 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5204 CC="$ac_save_CC $ac_arg"
5205 if ac_fn_c_try_compile "$LINENO"; then :
5206 ac_cv_prog_cc_c89=$ac_arg
5208 rm -f core conftest.err conftest.$ac_objext
5209 test "x$ac_cv_prog_cc_c89" != "xno" && break
5211 rm -f conftest.$ac_ext
5216 case "x$ac_cv_prog_cc_c89" in
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5219 $as_echo "none needed" >&6; } ;;
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5222 $as_echo "unsupported" >&6; } ;;
5224 CC="$CC $ac_cv_prog_cc_c89"
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5226 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5228 if test "x$ac_cv_prog_cc_c89" != xno; then :
5233 ac_cpp='$CPP $CPPFLAGS'
5234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5239 ac_cpp='$CPP $CPPFLAGS'
5240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5244 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5245 if ${am_cv_prog_cc_c_o+:} false; then :
5246 $as_echo_n "(cached) " >&6
5248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5249 /* end confdefs.h. */
5259 # Make sure it works both with $CC and with simple cc.
5260 # Following AC_PROG_CC_C_O, we do the test twice because some
5261 # compilers refuse to overwrite an existing .o file with -o,
5262 # though they will create one.
5263 am_cv_prog_cc_c_o=yes
5265 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5266 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5269 (exit $ac_status); } \
5270 && test -f conftest2.$ac_objext; then
5273 am_cv_prog_cc_c_o=no
5277 rm -f core conftest*
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5281 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5282 if test "$am_cv_prog_cc_c_o" != yes; then
5283 # Losing compiler, so override with the script.
5284 # FIXME: It is wrong to rewrite CC.
5285 # But if we don't then we get into trouble of one sort or another.
5286 # A longer-term fix would be to have automake use am__CC in this case,
5287 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5288 CC="$am_aux_dir/compile $CC"
5291 ac_cpp='$CPP $CPPFLAGS'
5292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5297 depcc="$CC" am_compiler_list=
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5300 $as_echo_n "checking dependency style of $depcc... " >&6; }
5301 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5302 $as_echo_n "(cached) " >&6
5304 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5305 # We make a subdir and do the tests there. Otherwise we can end up
5306 # making bogus files that we don't know about and never remove. For
5307 # instance it was reported that on HP-UX the gcc test will end up
5308 # making a dummy file named 'D' -- because '-MD' means "put the output
5312 # Copy depcomp to subdir because otherwise we won't find it if we're
5313 # using a relative directory.
5314 cp "$am_depcomp" conftest.dir
5316 # We will build objects and dependencies in a subdirectory because
5317 # it helps to detect inapplicable dependency modes. For instance
5318 # both Tru64's cc and ICC support -MD to output dependencies as a
5319 # side effect of compilation, but ICC will put the dependencies in
5320 # the current directory while Tru64 will put them in the object
5324 am_cv_CC_dependencies_compiler_type=none
5325 if test "$am_compiler_list" = ""; then
5326 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5329 case " $depcc " in #(
5330 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5333 for depmode in $am_compiler_list; do
5334 # Setup a source with many dependencies, because some compilers
5335 # like to wrap large dependency lists on column 80 (with \), and
5336 # we should not choose a depcomp mode which is confused by this.
5338 # We need to recreate these files for each test, as the compiler may
5339 # overwrite some of them when testing with obscure command lines.
5340 # This happens at least with the AIX C compiler.
5342 for i in 1 2 3 4 5 6; do
5343 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5344 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5345 # Solaris 10 /bin/sh.
5346 echo '/* dummy */' > sub/conftst$i.h
5348 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5350 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5351 # mode. It turns out that the SunPro C++ compiler does not properly
5352 # handle '-M -o', and we need to detect this. Also, some Intel
5353 # versions had trouble with output in subdirs.
5354 am__obj=sub/conftest.${OBJEXT-o}
5355 am__minus_obj="-o $am__obj"
5358 # This depmode causes a compiler race in universal mode.
5359 test "$am__universal" = false || continue
5362 # After this tag, mechanisms are not by side-effect, so they'll
5363 # only be used when explicitly requested.
5364 if test "x$enable_dependency_tracking" = xyes; then
5370 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5371 # This compiler won't grok '-c -o', but also, the minuso test has
5372 # not run yet. These depmodes are late enough in the game, and
5373 # so weak that their functioning should not be impacted.
5374 am__obj=conftest.${OBJEXT-o}
5379 if depmode=$depmode \
5380 source=sub/conftest.c object=$am__obj \
5381 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5382 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5383 >/dev/null 2>conftest.err &&
5384 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5385 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5386 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5387 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5388 # icc doesn't choke on unknown options, it will just issue warnings
5389 # or remarks (even with -Werror). So we grep stderr for any message
5390 # that says an option was ignored or not supported.
5391 # When given -MP, icc 7.0 and 7.1 complain thusly:
5392 # icc: Command line warning: ignoring option '-M'; no argument required
5393 # The diagnosis changed in icc 8.0:
5394 # icc: Command line remark: option '-MP' not supported
5395 if (grep 'ignoring option' conftest.err ||
5396 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5397 am_cv_CC_dependencies_compiler_type=$depmode
5406 am_cv_CC_dependencies_compiler_type=none
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5411 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5412 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5415 test "x$enable_dependency_tracking" != xno \
5416 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5418 am__fastdepCC_FALSE='#'
5420 am__fastdepCC_TRUE='#'
5421 am__fastdepCC_FALSE=
5425 if test "x$CC" != xcc; then
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5427 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5430 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5432 set dummy $CC; ac_cc=`$as_echo "$2" |
5433 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5434 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
5435 $as_echo_n "(cached) " >&6
5437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5438 /* end confdefs.h. */
5448 # Make sure it works both with $CC and with simple cc.
5449 # We do the test twice because some compilers refuse to overwrite an
5450 # existing .o file with -o, though they will create one.
5451 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5453 if { { case "(($ac_try" in
5454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5455 *) ac_try_echo=$ac_try;;
5457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5458 $as_echo "$ac_try_echo"; } >&5
5459 (eval "$ac_try") 2>&5
5461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5462 test $ac_status = 0; } &&
5463 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5465 *) ac_try_echo=$ac_try;;
5467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5468 $as_echo "$ac_try_echo"; } >&5
5469 (eval "$ac_try") 2>&5
5471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5472 test $ac_status = 0; };
5474 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5475 if test "x$CC" != xcc; then
5476 # Test first that cc exists at all.
5477 if { ac_try='cc -c conftest.$ac_ext >&5'
5478 { { case "(($ac_try" in
5479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5480 *) ac_try_echo=$ac_try;;
5482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5483 $as_echo "$ac_try_echo"; } >&5
5484 (eval "$ac_try") 2>&5
5486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5487 test $ac_status = 0; }; }; then
5488 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5490 if { { case "(($ac_try" in
5491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5492 *) ac_try_echo=$ac_try;;
5494 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5495 $as_echo "$ac_try_echo"; } >&5
5496 (eval "$ac_try") 2>&5
5498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5499 test $ac_status = 0; } &&
5500 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5502 *) ac_try_echo=$ac_try;;
5504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5505 $as_echo "$ac_try_echo"; } >&5
5506 (eval "$ac_try") 2>&5
5508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5509 test $ac_status = 0; };
5514 # cc exists but doesn't like -o.
5515 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5520 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5522 rm -f core conftest*
5525 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5527 $as_echo "yes" >&6; }
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5530 $as_echo "no" >&6; }
5532 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5537 # Check for other compiler toolchain tools.
5539 if test -n "$ac_tool_prefix"; then
5540 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5541 set dummy ${ac_tool_prefix}ar; ac_word=$2
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5543 $as_echo_n "checking for $ac_word... " >&6; }
5544 if ${ac_cv_prog_AR+:} false; then :
5545 $as_echo_n "(cached) " >&6
5547 if test -n "$AR"; then
5548 ac_cv_prog_AR="$AR" # Let the user override the test.
5550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5554 test -z "$as_dir" && as_dir=.
5555 for ac_exec_ext in '' $ac_executable_extensions; do
5556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5557 ac_cv_prog_AR="${ac_tool_prefix}ar"
5558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5568 if test -n "$AR"; then
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5570 $as_echo "$AR" >&6; }
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5573 $as_echo "no" >&6; }
5578 if test -z "$ac_cv_prog_AR"; then
5580 # Extract the first word of "ar", so it can be a program name with args.
5581 set dummy ar; ac_word=$2
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5583 $as_echo_n "checking for $ac_word... " >&6; }
5584 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5585 $as_echo_n "(cached) " >&6
5587 if test -n "$ac_ct_AR"; then
5588 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5594 test -z "$as_dir" && as_dir=.
5595 for ac_exec_ext in '' $ac_executable_extensions; do
5596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5597 ac_cv_prog_ac_ct_AR="ar"
5598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5607 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5608 if test -n "$ac_ct_AR"; then
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5610 $as_echo "$ac_ct_AR" >&6; }
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5613 $as_echo "no" >&6; }
5616 if test "x$ac_ct_AR" = x; then
5619 case $cross_compiling:$ac_tool_warned in
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5623 ac_tool_warned=yes ;;
5631 if test -n "$ac_tool_prefix"; then
5632 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5633 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5635 $as_echo_n "checking for $ac_word... " >&6; }
5636 if ${ac_cv_prog_RANLIB+:} false; then :
5637 $as_echo_n "(cached) " >&6
5639 if test -n "$RANLIB"; then
5640 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5646 test -z "$as_dir" && as_dir=.
5647 for ac_exec_ext in '' $ac_executable_extensions; do
5648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5649 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5659 RANLIB=$ac_cv_prog_RANLIB
5660 if test -n "$RANLIB"; then
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5662 $as_echo "$RANLIB" >&6; }
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5665 $as_echo "no" >&6; }
5670 if test -z "$ac_cv_prog_RANLIB"; then
5671 ac_ct_RANLIB=$RANLIB
5672 # Extract the first word of "ranlib", so it can be a program name with args.
5673 set dummy ranlib; ac_word=$2
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5675 $as_echo_n "checking for $ac_word... " >&6; }
5676 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5677 $as_echo_n "(cached) " >&6
5679 if test -n "$ac_ct_RANLIB"; then
5680 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5686 test -z "$as_dir" && as_dir=.
5687 for ac_exec_ext in '' $ac_executable_extensions; do
5688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5689 ac_cv_prog_ac_ct_RANLIB="ranlib"
5690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5699 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5700 if test -n "$ac_ct_RANLIB"; then
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5702 $as_echo "$ac_ct_RANLIB" >&6; }
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5705 $as_echo "no" >&6; }
5708 if test "x$ac_ct_RANLIB" = x; then
5711 case $cross_compiling:$ac_tool_warned in
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5715 ac_tool_warned=yes ;;
5717 RANLIB=$ac_ct_RANLIB
5720 RANLIB="$ac_cv_prog_RANLIB"
5723 if test -n "$ac_tool_prefix"; then
5724 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
5725 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5727 $as_echo_n "checking for $ac_word... " >&6; }
5728 if ${ac_cv_prog_OBJCOPY+:} false; then :
5729 $as_echo_n "(cached) " >&6
5731 if test -n "$OBJCOPY"; then
5732 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
5734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5738 test -z "$as_dir" && as_dir=.
5739 for ac_exec_ext in '' $ac_executable_extensions; do
5740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5741 ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
5742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5751 OBJCOPY=$ac_cv_prog_OBJCOPY
5752 if test -n "$OBJCOPY"; then
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
5754 $as_echo "$OBJCOPY" >&6; }
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5757 $as_echo "no" >&6; }
5762 if test -z "$ac_cv_prog_OBJCOPY"; then
5763 ac_ct_OBJCOPY=$OBJCOPY
5764 # Extract the first word of "objcopy", so it can be a program name with args.
5765 set dummy objcopy; ac_word=$2
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5767 $as_echo_n "checking for $ac_word... " >&6; }
5768 if ${ac_cv_prog_ac_ct_OBJCOPY+:} false; then :
5769 $as_echo_n "(cached) " >&6
5771 if test -n "$ac_ct_OBJCOPY"; then
5772 ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
5774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5778 test -z "$as_dir" && as_dir=.
5779 for ac_exec_ext in '' $ac_executable_extensions; do
5780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5781 ac_cv_prog_ac_ct_OBJCOPY="objcopy"
5782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5791 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
5792 if test -n "$ac_ct_OBJCOPY"; then
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
5794 $as_echo "$ac_ct_OBJCOPY" >&6; }
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5797 $as_echo "no" >&6; }
5800 if test "x$ac_ct_OBJCOPY" = x; then
5803 case $cross_compiling:$ac_tool_warned in
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5806 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5807 ac_tool_warned=yes ;;
5809 OBJCOPY=$ac_ct_OBJCOPY
5812 OBJCOPY="$ac_cv_prog_OBJCOPY"
5815 if test -n "$ac_tool_prefix"; then
5816 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5817 set dummy ${ac_tool_prefix}strip; ac_word=$2
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5819 $as_echo_n "checking for $ac_word... " >&6; }
5820 if ${ac_cv_prog_STRIP+:} false; then :
5821 $as_echo_n "(cached) " >&6
5823 if test -n "$STRIP"; then
5824 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5830 test -z "$as_dir" && as_dir=.
5831 for ac_exec_ext in '' $ac_executable_extensions; do
5832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5833 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5843 STRIP=$ac_cv_prog_STRIP
5844 if test -n "$STRIP"; then
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5846 $as_echo "$STRIP" >&6; }
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5849 $as_echo "no" >&6; }
5854 if test -z "$ac_cv_prog_STRIP"; then
5856 # Extract the first word of "strip", so it can be a program name with args.
5857 set dummy strip; ac_word=$2
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5859 $as_echo_n "checking for $ac_word... " >&6; }
5860 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5861 $as_echo_n "(cached) " >&6
5863 if test -n "$ac_ct_STRIP"; then
5864 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5870 test -z "$as_dir" && as_dir=.
5871 for ac_exec_ext in '' $ac_executable_extensions; do
5872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5873 ac_cv_prog_ac_ct_STRIP="strip"
5874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5883 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5884 if test -n "$ac_ct_STRIP"; then
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5886 $as_echo "$ac_ct_STRIP" >&6; }
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5889 $as_echo "no" >&6; }
5892 if test "x$ac_ct_STRIP" = x; then
5895 case $cross_compiling:$ac_tool_warned in
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5899 ac_tool_warned=yes ;;
5904 STRIP="$ac_cv_prog_STRIP"
5908 # Check for other host tools.
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5912 $as_echo_n "checking whether ln -s works... " >&6; }
5914 if test "$LN_S" = "ln -s"; then
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5916 $as_echo "yes" >&6; }
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5919 $as_echo "no, using $LN_S" >&6; }
5923 # Extract the first word of "cmp", so it can be a program name with args.
5924 set dummy cmp; ac_word=$2
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5926 $as_echo_n "checking for $ac_word... " >&6; }
5927 if ${ac_cv_path_CMP+:} false; then :
5928 $as_echo_n "(cached) " >&6
5932 ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
5935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5939 test -z "$as_dir" && as_dir=.
5940 for ac_exec_ext in '' $ac_executable_extensions; do
5941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5942 ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
5943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5954 if test -n "$CMP"; then
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CMP" >&5
5956 $as_echo "$CMP" >&6; }
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5959 $as_echo "no" >&6; }
5963 # Extract the first word of "perl", so it can be a program name with args.
5964 set dummy perl; ac_word=$2
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5966 $as_echo_n "checking for $ac_word... " >&6; }
5967 if ${ac_cv_path_PERL+:} false; then :
5968 $as_echo_n "(cached) " >&6
5972 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
5975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5979 test -z "$as_dir" && as_dir=.
5980 for ac_exec_ext in '' $ac_executable_extensions; do
5981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5982 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
5983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5993 PERL=$ac_cv_path_PERL
5994 if test -n "$PERL"; then
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
5996 $as_echo "$PERL" >&6; }
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5999 $as_echo "no" >&6; }
6005 # Checks for specific compiler characteristics
6009 # Common compiler flags we would like to have.
6014 PROSPECTIVE_CFLAGS="-Wall"
6019 for ax_compiler_option in ${PROSPECTIVE_CFLAGS}; do
6022 ac_cpp='$CPP $CPPFLAGS'
6023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler understands $ax_compiler_option" >&5
6028 $as_echo_n "checking whether the C compiler understands $ax_compiler_option... " >&6; }
6029 SAVE_CFLAGS=${CFLAGS}
6030 CFLAGS=$ax_compiler_option
6031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6032 /* end confdefs.h. */
6042 if ac_fn_c_try_compile "$LINENO"; then :
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6044 $as_echo "yes" >&6; }; CFLAGS="${SAVE_CFLAGS} $ax_compiler_option"
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6047 $as_echo "no" >&6; }; CFLAGS=${SAVE_CFLAGS}
6049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
6052 ac_cpp='$CPP $CPPFLAGS'
6053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6062 # Check for and initialize libtool
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6067 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6072 macro_version='2.4.2'
6073 macro_revision='1.3337'
6087 ltmain="$ac_aux_dir/ltmain.sh"
6089 # Backslashify metacharacters that are still active within
6090 # double-quoted strings.
6091 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6093 # Same as above, but do not quote variable references.
6094 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6096 # Sed substitution to delay expansion of an escaped shell variable in a
6097 # double_quote_subst'ed string.
6098 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6100 # Sed substitution to delay expansion of an escaped single quote.
6101 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6103 # Sed substitution to avoid accidental globbing in evaled expressions
6104 no_glob_subst='s/\*/\\\*/g'
6106 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6107 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6108 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6111 $as_echo_n "checking how to print strings... " >&6; }
6112 # Test print first, because it will be a builtin if present.
6113 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6114 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6116 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6119 # Use this function as a fallback that always works.
6120 func_fallback_echo ()
6122 eval 'cat <<_LTECHO_EOF
6126 ECHO='func_fallback_echo'
6129 # func_echo_all arg...
6130 # Invoke $ECHO with all args, space-separated.
6137 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6138 $as_echo "printf" >&6; } ;;
6139 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6140 $as_echo "print -r" >&6; } ;;
6141 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6142 $as_echo "cat" >&6; } ;;
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6159 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6160 if ${ac_cv_path_SED+:} false; then :
6161 $as_echo_n "(cached) " >&6
6163 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6164 for ac_i in 1 2 3 4 5 6 7; do
6165 ac_script="$ac_script$as_nl$ac_script"
6167 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6168 { ac_script=; unset ac_script;}
6169 if test -z "$SED"; then
6170 ac_path_SED_found=false
6171 # Loop through the user's path and test for each of PROGNAME-LIST
6172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6176 test -z "$as_dir" && as_dir=.
6177 for ac_prog in sed gsed; do
6178 for ac_exec_ext in '' $ac_executable_extensions; do
6179 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6180 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6181 # Check for GNU ac_path_SED and select it if it is found.
6182 # Check for GNU $ac_path_SED
6183 case `"$ac_path_SED" --version 2>&1` in
6185 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6188 $as_echo_n 0123456789 >"conftest.in"
6191 cat "conftest.in" "conftest.in" >"conftest.tmp"
6192 mv "conftest.tmp" "conftest.in"
6193 cp "conftest.in" "conftest.nl"
6194 $as_echo '' >> "conftest.nl"
6195 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6196 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6197 as_fn_arith $ac_count + 1 && ac_count=$as_val
6198 if test $ac_count -gt ${ac_path_SED_max-0}; then
6199 # Best one so far, save it but keep looking for a better one
6200 ac_cv_path_SED="$ac_path_SED"
6201 ac_path_SED_max=$ac_count
6203 # 10*(2^10) chars as input seems more than enough
6204 test $ac_count -gt 10 && break
6206 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6209 $ac_path_SED_found && break 3
6214 if test -z "$ac_cv_path_SED"; then
6215 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6223 $as_echo "$ac_cv_path_SED" >&6; }
6224 SED="$ac_cv_path_SED"
6227 test -z "$SED" && SED=sed
6228 Xsed="$SED -e 1s/^X//"
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6241 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6242 if ${ac_cv_path_GREP+:} false; then :
6243 $as_echo_n "(cached) " >&6
6245 if test -z "$GREP"; then
6246 ac_path_GREP_found=false
6247 # Loop through the user's path and test for each of PROGNAME-LIST
6248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6249 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6252 test -z "$as_dir" && as_dir=.
6253 for ac_prog in grep ggrep; do
6254 for ac_exec_ext in '' $ac_executable_extensions; do
6255 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6256 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
6257 # Check for GNU ac_path_GREP and select it if it is found.
6258 # Check for GNU $ac_path_GREP
6259 case `"$ac_path_GREP" --version 2>&1` in
6261 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6264 $as_echo_n 0123456789 >"conftest.in"
6267 cat "conftest.in" "conftest.in" >"conftest.tmp"
6268 mv "conftest.tmp" "conftest.in"
6269 cp "conftest.in" "conftest.nl"
6270 $as_echo 'GREP' >> "conftest.nl"
6271 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6272 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6273 as_fn_arith $ac_count + 1 && ac_count=$as_val
6274 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6275 # Best one so far, save it but keep looking for a better one
6276 ac_cv_path_GREP="$ac_path_GREP"
6277 ac_path_GREP_max=$ac_count
6279 # 10*(2^10) chars as input seems more than enough
6280 test $ac_count -gt 10 && break
6282 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6285 $ac_path_GREP_found && break 3
6290 if test -z "$ac_cv_path_GREP"; then
6291 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6294 ac_cv_path_GREP=$GREP
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6299 $as_echo "$ac_cv_path_GREP" >&6; }
6300 GREP="$ac_cv_path_GREP"
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6304 $as_echo_n "checking for egrep... " >&6; }
6305 if ${ac_cv_path_EGREP+:} false; then :
6306 $as_echo_n "(cached) " >&6
6308 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6309 then ac_cv_path_EGREP="$GREP -E"
6311 if test -z "$EGREP"; then
6312 ac_path_EGREP_found=false
6313 # Loop through the user's path and test for each of PROGNAME-LIST
6314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6315 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6318 test -z "$as_dir" && as_dir=.
6319 for ac_prog in egrep; do
6320 for ac_exec_ext in '' $ac_executable_extensions; do
6321 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6322 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6323 # Check for GNU ac_path_EGREP and select it if it is found.
6324 # Check for GNU $ac_path_EGREP
6325 case `"$ac_path_EGREP" --version 2>&1` in
6327 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6330 $as_echo_n 0123456789 >"conftest.in"
6333 cat "conftest.in" "conftest.in" >"conftest.tmp"
6334 mv "conftest.tmp" "conftest.in"
6335 cp "conftest.in" "conftest.nl"
6336 $as_echo 'EGREP' >> "conftest.nl"
6337 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6338 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6339 as_fn_arith $ac_count + 1 && ac_count=$as_val
6340 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6341 # Best one so far, save it but keep looking for a better one
6342 ac_cv_path_EGREP="$ac_path_EGREP"
6343 ac_path_EGREP_max=$ac_count
6345 # 10*(2^10) chars as input seems more than enough
6346 test $ac_count -gt 10 && break
6348 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6351 $ac_path_EGREP_found && break 3
6356 if test -z "$ac_cv_path_EGREP"; then
6357 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6360 ac_cv_path_EGREP=$EGREP
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6366 $as_echo "$ac_cv_path_EGREP" >&6; }
6367 EGREP="$ac_cv_path_EGREP"
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6371 $as_echo_n "checking for fgrep... " >&6; }
6372 if ${ac_cv_path_FGREP+:} false; then :
6373 $as_echo_n "(cached) " >&6
6375 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6376 then ac_cv_path_FGREP="$GREP -F"
6378 if test -z "$FGREP"; then
6379 ac_path_FGREP_found=false
6380 # Loop through the user's path and test for each of PROGNAME-LIST
6381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6382 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6385 test -z "$as_dir" && as_dir=.
6386 for ac_prog in fgrep; do
6387 for ac_exec_ext in '' $ac_executable_extensions; do
6388 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6389 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6390 # Check for GNU ac_path_FGREP and select it if it is found.
6391 # Check for GNU $ac_path_FGREP
6392 case `"$ac_path_FGREP" --version 2>&1` in
6394 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6397 $as_echo_n 0123456789 >"conftest.in"
6400 cat "conftest.in" "conftest.in" >"conftest.tmp"
6401 mv "conftest.tmp" "conftest.in"
6402 cp "conftest.in" "conftest.nl"
6403 $as_echo 'FGREP' >> "conftest.nl"
6404 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6405 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6406 as_fn_arith $ac_count + 1 && ac_count=$as_val
6407 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6408 # Best one so far, save it but keep looking for a better one
6409 ac_cv_path_FGREP="$ac_path_FGREP"
6410 ac_path_FGREP_max=$ac_count
6412 # 10*(2^10) chars as input seems more than enough
6413 test $ac_count -gt 10 && break
6415 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6418 $ac_path_FGREP_found && break 3
6423 if test -z "$ac_cv_path_FGREP"; then
6424 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6427 ac_cv_path_FGREP=$FGREP
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6433 $as_echo "$ac_cv_path_FGREP" >&6; }
6434 FGREP="$ac_cv_path_FGREP"
6437 test -z "$GREP" && GREP=grep
6457 # Check whether --with-gnu-ld was given.
6458 if test "${with_gnu_ld+set}" = set; then :
6459 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6465 if test "$GCC" = yes; then
6466 # Check if gcc -print-prog-name=ld gives a path.
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6468 $as_echo_n "checking for ld used by $CC... " >&6; }
6471 # gcc leaves a trailing carriage return which upsets mingw
6472 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6474 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6477 # Accept absolute paths.
6479 re_direlt='/[^/][^/]*/\.\./'
6480 # Canonicalize the pathname of ld
6481 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6482 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6483 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6485 test -z "$LD" && LD="$ac_prog"
6488 # If it fails, then pretend we aren't using GCC.
6492 # If it is relative, then search for the first ld in PATH.
6496 elif test "$with_gnu_ld" = yes; then
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6498 $as_echo_n "checking for GNU ld... " >&6; }
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6501 $as_echo_n "checking for non-GNU ld... " >&6; }
6503 if ${lt_cv_path_LD+:} false; then :
6504 $as_echo_n "(cached) " >&6
6506 if test -z "$LD"; then
6507 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6508 for ac_dir in $PATH; do
6510 test -z "$ac_dir" && ac_dir=.
6511 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6512 lt_cv_path_LD="$ac_dir/$ac_prog"
6513 # Check to see if the program is GNU ld. I'd rather use --version,
6514 # but apparently some variants of GNU ld only accept -v.
6515 # Break only if it was the GNU/non-GNU ld that we prefer.
6516 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6517 *GNU* | *'with BFD'*)
6518 test "$with_gnu_ld" != no && break
6521 test "$with_gnu_ld" != yes && break
6528 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6533 if test -n "$LD"; then
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6535 $as_echo "$LD" >&6; }
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6538 $as_echo "no" >&6; }
6540 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6542 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6543 if ${lt_cv_prog_gnu_ld+:} false; then :
6544 $as_echo_n "(cached) " >&6
6546 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6547 case `$LD -v 2>&1 </dev/null` in
6548 *GNU* | *'with BFD'*)
6549 lt_cv_prog_gnu_ld=yes
6552 lt_cv_prog_gnu_ld=no
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6557 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6558 with_gnu_ld=$lt_cv_prog_gnu_ld
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6569 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6570 if ${lt_cv_path_NM+:} false; then :
6571 $as_echo_n "(cached) " >&6
6573 if test -n "$NM"; then
6574 # Let the user override the test.
6577 lt_nm_to_check="${ac_tool_prefix}nm"
6578 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6579 lt_nm_to_check="$lt_nm_to_check nm"
6581 for lt_tmp_nm in $lt_nm_to_check; do
6582 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6583 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6585 test -z "$ac_dir" && ac_dir=.
6586 tmp_nm="$ac_dir/$lt_tmp_nm"
6587 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6588 # Check to see if the nm accepts a BSD-compat flag.
6589 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6590 # nm: unknown option "B" ignored
6591 # Tru64's nm complains that /dev/null is an invalid object file
6592 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6593 */dev/null* | *'Invalid file or object type'*)
6594 lt_cv_path_NM="$tmp_nm -B"
6598 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6600 lt_cv_path_NM="$tmp_nm -p"
6604 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6605 continue # so that we can try to find one that supports BSD flags
6614 : ${lt_cv_path_NM=no}
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6618 $as_echo "$lt_cv_path_NM" >&6; }
6619 if test "$lt_cv_path_NM" != "no"; then
6622 # Didn't find any BSD compatible name lister, look for dumpbin.
6623 if test -n "$DUMPBIN"; then :
6624 # Let the user override the test.
6626 if test -n "$ac_tool_prefix"; then
6627 for ac_prog in dumpbin "link -dump"
6629 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6630 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6632 $as_echo_n "checking for $ac_word... " >&6; }
6633 if ${ac_cv_prog_DUMPBIN+:} false; then :
6634 $as_echo_n "(cached) " >&6
6636 if test -n "$DUMPBIN"; then
6637 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6643 test -z "$as_dir" && as_dir=.
6644 for ac_exec_ext in '' $ac_executable_extensions; do
6645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6646 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6656 DUMPBIN=$ac_cv_prog_DUMPBIN
6657 if test -n "$DUMPBIN"; then
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6659 $as_echo "$DUMPBIN" >&6; }
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6662 $as_echo "no" >&6; }
6666 test -n "$DUMPBIN" && break
6669 if test -z "$DUMPBIN"; then
6670 ac_ct_DUMPBIN=$DUMPBIN
6671 for ac_prog in dumpbin "link -dump"
6673 # Extract the first word of "$ac_prog", so it can be a program name with args.
6674 set dummy $ac_prog; ac_word=$2
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6676 $as_echo_n "checking for $ac_word... " >&6; }
6677 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6678 $as_echo_n "(cached) " >&6
6680 if test -n "$ac_ct_DUMPBIN"; then
6681 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6687 test -z "$as_dir" && as_dir=.
6688 for ac_exec_ext in '' $ac_executable_extensions; do
6689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6690 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6700 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6701 if test -n "$ac_ct_DUMPBIN"; then
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6703 $as_echo "$ac_ct_DUMPBIN" >&6; }
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6706 $as_echo "no" >&6; }
6710 test -n "$ac_ct_DUMPBIN" && break
6713 if test "x$ac_ct_DUMPBIN" = x; then
6716 case $cross_compiling:$ac_tool_warned in
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6720 ac_tool_warned=yes ;;
6722 DUMPBIN=$ac_ct_DUMPBIN
6726 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6728 DUMPBIN="$DUMPBIN -symbols"
6736 if test "$DUMPBIN" != ":"; then
6740 test -z "$NM" && NM=nm
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6748 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6749 if ${lt_cv_nm_interface+:} false; then :
6750 $as_echo_n "(cached) " >&6
6752 lt_cv_nm_interface="BSD nm"
6753 echo "int some_variable = 0;" > conftest.$ac_ext
6754 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6755 (eval "$ac_compile" 2>conftest.err)
6756 cat conftest.err >&5
6757 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6758 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6759 cat conftest.err >&5
6760 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6761 cat conftest.out >&5
6762 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6763 lt_cv_nm_interface="MS dumpbin"
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6768 $as_echo "$lt_cv_nm_interface" >&6; }
6770 # find the maximum length of command line arguments
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6772 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6773 if ${lt_cv_sys_max_cmd_len+:} false; then :
6774 $as_echo_n "(cached) " >&6
6781 # On DJGPP, this test can blow up pretty badly due to problems in libc
6782 # (any single argument exceeding 2000 bytes causes a buffer overrun
6783 # during glob expansion). Even if it were fixed, the result of this
6784 # check would be larger than it should be.
6785 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6789 # Under GNU Hurd, this test is not required because there is
6790 # no limit to the length of command line arguments.
6791 # Libtool will interpret -1 as no limit whatsoever
6792 lt_cv_sys_max_cmd_len=-1;
6795 cygwin* | mingw* | cegcc*)
6796 # On Win9x/ME, this test blows up -- it succeeds, but takes
6797 # about 5 minutes as the teststring grows exponentially.
6798 # Worse, since 9x/ME are not pre-emptively multitasking,
6799 # you end up with a "frozen" computer, even though with patience
6800 # the test eventually succeeds (with a max line length of 256k).
6801 # Instead, let's just punt: use the minimum linelength reported by
6802 # all of the supported platforms: 8192 (on NT/2K/XP).
6803 lt_cv_sys_max_cmd_len=8192;
6807 # On MiNT this can take a long time and run out of memory.
6808 lt_cv_sys_max_cmd_len=8192;
6812 # On AmigaOS with pdksh, this test takes hours, literally.
6813 # So we just punt and use a minimum line length of 8192.
6814 lt_cv_sys_max_cmd_len=8192;
6817 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6818 # This has been around since 386BSD, at least. Likely further.
6819 if test -x /sbin/sysctl; then
6820 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6821 elif test -x /usr/sbin/sysctl; then
6822 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6824 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6826 # And add a safety zone
6827 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6828 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6832 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6833 lt_cv_sys_max_cmd_len=196608
6837 # The test takes a long time on OS/2.
6838 lt_cv_sys_max_cmd_len=8192
6842 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6843 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6844 # nice to cause kernel panics so lets avoid the loop below.
6845 # First set a reasonable default.
6846 lt_cv_sys_max_cmd_len=16384
6848 if test -x /sbin/sysconfig; then
6849 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6850 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6855 lt_cv_sys_max_cmd_len=102400
6857 sysv5* | sco5v6* | sysv4.2uw2*)
6858 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6859 if test -n "$kargmax"; then
6860 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6862 lt_cv_sys_max_cmd_len=32768
6866 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6867 if test -n "$lt_cv_sys_max_cmd_len"; then
6868 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6869 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6871 # Make teststring a little bigger before we do anything with it.
6872 # a 1K string should be a reasonable start.
6873 for i in 1 2 3 4 5 6 7 8 ; do
6874 teststring=$teststring$teststring
6876 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6877 # If test is not a shell built-in, we'll probably end up computing a
6878 # maximum length that is only half of the actual maximum length, but
6880 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6881 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6882 test $i != 17 # 1/2 MB should be enough
6885 teststring=$teststring$teststring
6887 # Only check the string length outside the loop.
6888 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6890 # Add a significant safety factor because C++ compilers can tack on
6891 # massive amounts of additional arguments before passing them to the
6892 # linker. It appears as though 1/2 is a usable value.
6893 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6900 if test -n $lt_cv_sys_max_cmd_len ; then
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6902 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6905 $as_echo "none" >&6; }
6907 max_cmd_len=$lt_cv_sys_max_cmd_len
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6919 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6920 # Try some XSI features
6923 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6925 && eval 'test $(( 1 + 1 )) -eq 2 \
6926 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6929 $as_echo "$xsi_shell" >&6; }
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6933 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6935 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6937 && lt_shell_append=yes
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6939 $as_echo "$lt_shell_append" >&6; }
6942 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6952 # test EBCDIC or ASCII
6953 case `echo X|tr X '\101'` in
6954 A) # ASCII based system
6955 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6956 lt_SP2NL='tr \040 \012'
6957 lt_NL2SP='tr \015\012 \040\040'
6959 *) # EBCDIC based system
6960 lt_SP2NL='tr \100 \n'
6961 lt_NL2SP='tr \r\n \100\100'
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6974 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6975 if ${lt_cv_to_host_file_cmd+:} false; then :
6976 $as_echo_n "(cached) " >&6
6981 *-*-mingw* ) # actually msys
6982 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6985 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6987 * ) # otherwise, assume *nix
6988 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6994 *-*-mingw* ) # actually msys
6995 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6998 lt_cv_to_host_file_cmd=func_convert_file_noop
7000 * ) # otherwise, assume *nix
7001 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
7005 * ) # unhandled hosts (and "normal" native builds)
7006 lt_cv_to_host_file_cmd=func_convert_file_noop
7012 to_host_file_cmd=$lt_cv_to_host_file_cmd
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7014 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7021 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
7022 if ${lt_cv_to_tool_file_cmd+:} false; then :
7023 $as_echo_n "(cached) " >&6
7025 #assume ordinary cross tools, or native build.
7026 lt_cv_to_tool_file_cmd=func_convert_file_noop
7030 *-*-mingw* ) # actually msys
7031 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
7039 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7041 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7048 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7049 if ${lt_cv_ld_reload_flag+:} false; then :
7050 $as_echo_n "(cached) " >&6
7052 lt_cv_ld_reload_flag='-r'
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7055 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7056 reload_flag=$lt_cv_ld_reload_flag
7057 case $reload_flag in
7059 *) reload_flag=" $reload_flag" ;;
7061 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7063 cygwin* | mingw* | pw32* | cegcc*)
7064 if test "$GCC" != yes; then
7069 if test "$GCC" = yes; then
7070 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7072 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7085 if test -n "$ac_tool_prefix"; then
7086 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7087 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7089 $as_echo_n "checking for $ac_word... " >&6; }
7090 if ${ac_cv_prog_OBJDUMP+:} false; then :
7091 $as_echo_n "(cached) " >&6
7093 if test -n "$OBJDUMP"; then
7094 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7100 test -z "$as_dir" && as_dir=.
7101 for ac_exec_ext in '' $ac_executable_extensions; do
7102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7103 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7113 OBJDUMP=$ac_cv_prog_OBJDUMP
7114 if test -n "$OBJDUMP"; then
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7116 $as_echo "$OBJDUMP" >&6; }
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7119 $as_echo "no" >&6; }
7124 if test -z "$ac_cv_prog_OBJDUMP"; then
7125 ac_ct_OBJDUMP=$OBJDUMP
7126 # Extract the first word of "objdump", so it can be a program name with args.
7127 set dummy objdump; ac_word=$2
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7129 $as_echo_n "checking for $ac_word... " >&6; }
7130 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7131 $as_echo_n "(cached) " >&6
7133 if test -n "$ac_ct_OBJDUMP"; then
7134 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7140 test -z "$as_dir" && as_dir=.
7141 for ac_exec_ext in '' $ac_executable_extensions; do
7142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7143 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7153 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7154 if test -n "$ac_ct_OBJDUMP"; then
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7156 $as_echo "$ac_ct_OBJDUMP" >&6; }
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7159 $as_echo "no" >&6; }
7162 if test "x$ac_ct_OBJDUMP" = x; then
7165 case $cross_compiling:$ac_tool_warned in
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7168 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7169 ac_tool_warned=yes ;;
7171 OBJDUMP=$ac_ct_OBJDUMP
7174 OBJDUMP="$ac_cv_prog_OBJDUMP"
7177 test -z "$OBJDUMP" && OBJDUMP=objdump
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7188 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7189 if ${lt_cv_deplibs_check_method+:} false; then :
7190 $as_echo_n "(cached) " >&6
7192 lt_cv_file_magic_cmd='$MAGIC_CMD'
7193 lt_cv_file_magic_test_file=
7194 lt_cv_deplibs_check_method='unknown'
7195 # Need to set the preceding variable on all platforms that support
7196 # interlibrary dependencies.
7197 # 'none' -- dependencies not supported.
7198 # `unknown' -- same as none, but documents that we really don't know.
7199 # 'pass_all' -- all dependencies passed with no checks.
7200 # 'test_compile' -- check by making test program.
7201 # 'file_magic [[regex]]' -- check by looking for files in library path
7202 # which responds to the $file_magic_cmd with a given extended regex.
7203 # If you have `file' or equivalent on your system and you're not sure
7204 # whether `pass_all' will *always* work, you probably want this one.
7208 lt_cv_deplibs_check_method=pass_all
7212 lt_cv_deplibs_check_method=pass_all
7216 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7217 lt_cv_file_magic_cmd='/usr/bin/file -L'
7218 lt_cv_file_magic_test_file=/shlib/libc.so
7222 # func_win32_libid is a shell function defined in ltmain.sh
7223 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7224 lt_cv_file_magic_cmd='func_win32_libid'
7228 # Base MSYS/MinGW do not provide the 'file' command needed by
7229 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7230 # unless we find 'file', for example because we are cross-compiling.
7231 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7232 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7233 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7234 lt_cv_file_magic_cmd='func_win32_libid'
7236 # Keep this pattern in sync with the one in func_win32_libid.
7237 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7238 lt_cv_file_magic_cmd='$OBJDUMP -f'
7243 # use the weaker test based on 'objdump'. See mingw*.
7244 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7245 lt_cv_file_magic_cmd='$OBJDUMP -f'
7248 darwin* | rhapsody*)
7249 lt_cv_deplibs_check_method=pass_all
7252 freebsd* | dragonfly*)
7253 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7256 # Not sure whether the presence of OpenBSD here was a mistake.
7257 # Let's accept both of them until this is cleared up.
7258 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7259 lt_cv_file_magic_cmd=/usr/bin/file
7260 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7264 lt_cv_deplibs_check_method=pass_all
7269 lt_cv_deplibs_check_method=pass_all
7273 lt_cv_deplibs_check_method=pass_all
7276 hpux10.20* | hpux11*)
7277 lt_cv_file_magic_cmd=/usr/bin/file
7280 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7281 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7284 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]'
7285 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7288 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7289 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7295 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7296 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7299 irix5* | irix6* | nonstopux*)
7301 *-32|*"-32 ") libmagic=32-bit;;
7302 *-n32|*"-n32 ") libmagic=N32;;
7303 *-64|*"-64 ") libmagic=64-bit;;
7304 *) libmagic=never-match;;
7306 lt_cv_deplibs_check_method=pass_all
7309 # This must be glibc/ELF.
7310 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7311 lt_cv_deplibs_check_method=pass_all
7315 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7316 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7318 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7323 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7324 lt_cv_file_magic_cmd=/usr/bin/file
7325 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7329 lt_cv_deplibs_check_method=pass_all
7333 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7334 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7336 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7340 osf3* | osf4* | osf5*)
7341 lt_cv_deplibs_check_method=pass_all
7345 lt_cv_deplibs_check_method=pass_all
7349 lt_cv_deplibs_check_method=pass_all
7352 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7353 lt_cv_deplibs_check_method=pass_all
7357 case $host_vendor in
7359 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]'
7360 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7363 lt_cv_deplibs_check_method=pass_all
7366 lt_cv_file_magic_cmd='/bin/file'
7367 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7370 lt_cv_file_magic_cmd='/bin/file'
7371 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7372 lt_cv_file_magic_test_file=/lib/libc.so
7375 lt_cv_deplibs_check_method=pass_all
7378 lt_cv_deplibs_check_method=pass_all
7384 lt_cv_deplibs_check_method=pass_all
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7390 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7394 if test "$build" = "$host"; then
7397 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7400 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7406 file_magic_cmd=$lt_cv_file_magic_cmd
7407 deplibs_check_method=$lt_cv_deplibs_check_method
7408 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7431 if test -n "$ac_tool_prefix"; then
7432 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7433 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7435 $as_echo_n "checking for $ac_word... " >&6; }
7436 if ${ac_cv_prog_DLLTOOL+:} false; then :
7437 $as_echo_n "(cached) " >&6
7439 if test -n "$DLLTOOL"; then
7440 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7446 test -z "$as_dir" && as_dir=.
7447 for ac_exec_ext in '' $ac_executable_extensions; do
7448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7449 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7459 DLLTOOL=$ac_cv_prog_DLLTOOL
7460 if test -n "$DLLTOOL"; then
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7462 $as_echo "$DLLTOOL" >&6; }
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7465 $as_echo "no" >&6; }
7470 if test -z "$ac_cv_prog_DLLTOOL"; then
7471 ac_ct_DLLTOOL=$DLLTOOL
7472 # Extract the first word of "dlltool", so it can be a program name with args.
7473 set dummy dlltool; ac_word=$2
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7475 $as_echo_n "checking for $ac_word... " >&6; }
7476 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7477 $as_echo_n "(cached) " >&6
7479 if test -n "$ac_ct_DLLTOOL"; then
7480 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7486 test -z "$as_dir" && as_dir=.
7487 for ac_exec_ext in '' $ac_executable_extensions; do
7488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7489 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7499 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7500 if test -n "$ac_ct_DLLTOOL"; then
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7502 $as_echo "$ac_ct_DLLTOOL" >&6; }
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7505 $as_echo "no" >&6; }
7508 if test "x$ac_ct_DLLTOOL" = x; then
7511 case $cross_compiling:$ac_tool_warned in
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7515 ac_tool_warned=yes ;;
7517 DLLTOOL=$ac_ct_DLLTOOL
7520 DLLTOOL="$ac_cv_prog_DLLTOOL"
7523 test -z "$DLLTOOL" && DLLTOOL=dlltool
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7535 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7536 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7537 $as_echo_n "(cached) " >&6
7539 lt_cv_sharedlib_from_linklib_cmd='unknown'
7542 cygwin* | mingw* | pw32* | cegcc*)
7543 # two different shell functions defined in ltmain.sh
7544 # decide which to use based on capabilities of $DLLTOOL
7545 case `$DLLTOOL --help 2>&1` in
7546 *--identify-strict*)
7547 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7550 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7555 # fallback: assume linklib IS sharedlib
7556 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7562 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7563 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7564 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7572 if test -n "$ac_tool_prefix"; then
7575 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7576 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7578 $as_echo_n "checking for $ac_word... " >&6; }
7579 if ${ac_cv_prog_AR+:} false; then :
7580 $as_echo_n "(cached) " >&6
7582 if test -n "$AR"; then
7583 ac_cv_prog_AR="$AR" # Let the user override the test.
7585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7589 test -z "$as_dir" && as_dir=.
7590 for ac_exec_ext in '' $ac_executable_extensions; do
7591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7592 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7603 if test -n "$AR"; then
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7605 $as_echo "$AR" >&6; }
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7608 $as_echo "no" >&6; }
7612 test -n "$AR" && break
7615 if test -z "$AR"; then
7619 # Extract the first word of "$ac_prog", so it can be a program name with args.
7620 set dummy $ac_prog; ac_word=$2
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7622 $as_echo_n "checking for $ac_word... " >&6; }
7623 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7624 $as_echo_n "(cached) " >&6
7626 if test -n "$ac_ct_AR"; then
7627 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7633 test -z "$as_dir" && as_dir=.
7634 for ac_exec_ext in '' $ac_executable_extensions; do
7635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7636 ac_cv_prog_ac_ct_AR="$ac_prog"
7637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7646 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7647 if test -n "$ac_ct_AR"; then
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7649 $as_echo "$ac_ct_AR" >&6; }
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7652 $as_echo "no" >&6; }
7656 test -n "$ac_ct_AR" && break
7659 if test "x$ac_ct_AR" = x; then
7662 case $cross_compiling:$ac_tool_warned in
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7665 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7666 ac_tool_warned=yes ;;
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7686 $as_echo_n "checking for archiver @FILE support... " >&6; }
7687 if ${lt_cv_ar_at_file+:} false; then :
7688 $as_echo_n "(cached) " >&6
7691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7692 /* end confdefs.h. */
7702 if ac_fn_c_try_compile "$LINENO"; then :
7703 echo conftest.$ac_objext > conftest.lst
7704 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7705 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7706 (eval $lt_ar_try) 2>&5
7708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7709 test $ac_status = 0; }
7710 if test "$ac_status" -eq 0; then
7711 # Ensure the archiver fails upon bogus file names.
7712 rm -f conftest.$ac_objext libconftest.a
7713 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7714 (eval $lt_ar_try) 2>&5
7716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7717 test $ac_status = 0; }
7718 if test "$ac_status" -ne 0; then
7722 rm -f conftest.* libconftest.a
7725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7729 $as_echo "$lt_cv_ar_at_file" >&6; }
7731 if test "x$lt_cv_ar_at_file" = xno; then
7734 archiver_list_spec=$lt_cv_ar_at_file
7743 if test -n "$ac_tool_prefix"; then
7744 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7745 set dummy ${ac_tool_prefix}strip; ac_word=$2
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7747 $as_echo_n "checking for $ac_word... " >&6; }
7748 if ${ac_cv_prog_STRIP+:} false; then :
7749 $as_echo_n "(cached) " >&6
7751 if test -n "$STRIP"; then
7752 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7758 test -z "$as_dir" && as_dir=.
7759 for ac_exec_ext in '' $ac_executable_extensions; do
7760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7761 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7771 STRIP=$ac_cv_prog_STRIP
7772 if test -n "$STRIP"; then
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7774 $as_echo "$STRIP" >&6; }
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7777 $as_echo "no" >&6; }
7782 if test -z "$ac_cv_prog_STRIP"; then
7784 # Extract the first word of "strip", so it can be a program name with args.
7785 set dummy strip; ac_word=$2
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7787 $as_echo_n "checking for $ac_word... " >&6; }
7788 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7789 $as_echo_n "(cached) " >&6
7791 if test -n "$ac_ct_STRIP"; then
7792 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7798 test -z "$as_dir" && as_dir=.
7799 for ac_exec_ext in '' $ac_executable_extensions; do
7800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7801 ac_cv_prog_ac_ct_STRIP="strip"
7802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7811 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7812 if test -n "$ac_ct_STRIP"; then
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7814 $as_echo "$ac_ct_STRIP" >&6; }
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7817 $as_echo "no" >&6; }
7820 if test "x$ac_ct_STRIP" = x; then
7823 case $cross_compiling:$ac_tool_warned in
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7826 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7827 ac_tool_warned=yes ;;
7832 STRIP="$ac_cv_prog_STRIP"
7835 test -z "$STRIP" && STRIP=:
7842 if test -n "$ac_tool_prefix"; then
7843 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7844 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7846 $as_echo_n "checking for $ac_word... " >&6; }
7847 if ${ac_cv_prog_RANLIB+:} false; then :
7848 $as_echo_n "(cached) " >&6
7850 if test -n "$RANLIB"; then
7851 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7857 test -z "$as_dir" && as_dir=.
7858 for ac_exec_ext in '' $ac_executable_extensions; do
7859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7860 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7870 RANLIB=$ac_cv_prog_RANLIB
7871 if test -n "$RANLIB"; then
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7873 $as_echo "$RANLIB" >&6; }
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7876 $as_echo "no" >&6; }
7881 if test -z "$ac_cv_prog_RANLIB"; then
7882 ac_ct_RANLIB=$RANLIB
7883 # Extract the first word of "ranlib", so it can be a program name with args.
7884 set dummy ranlib; ac_word=$2
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7886 $as_echo_n "checking for $ac_word... " >&6; }
7887 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7888 $as_echo_n "(cached) " >&6
7890 if test -n "$ac_ct_RANLIB"; then
7891 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7897 test -z "$as_dir" && as_dir=.
7898 for ac_exec_ext in '' $ac_executable_extensions; do
7899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7900 ac_cv_prog_ac_ct_RANLIB="ranlib"
7901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7910 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7911 if test -n "$ac_ct_RANLIB"; then
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7913 $as_echo "$ac_ct_RANLIB" >&6; }
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7916 $as_echo "no" >&6; }
7919 if test "x$ac_ct_RANLIB" = x; then
7922 case $cross_compiling:$ac_tool_warned in
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7925 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7926 ac_tool_warned=yes ;;
7928 RANLIB=$ac_ct_RANLIB
7931 RANLIB="$ac_cv_prog_RANLIB"
7934 test -z "$RANLIB" && RANLIB=:
7941 # Determine commands to create old-style static archives.
7942 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7943 old_postinstall_cmds='chmod 644 $oldlib'
7944 old_postuninstall_cmds=
7946 if test -n "$RANLIB"; then
7949 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7952 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7955 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7960 lock_old_archive_extraction=yes ;;
7962 lock_old_archive_extraction=no ;;
8003 # If no C compiler was specified, use CC.
8006 # If no C compiler flags were specified, use CFLAGS.
8007 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8009 # Allow CC to be a program name with arguments.
8013 # Check for command to grab the raw symbol name followed by C symbol from nm.
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8015 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8016 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8017 $as_echo_n "(cached) " >&6
8020 # These are sane defaults that work on at least a few old systems.
8021 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8023 # Character class describing NM global symbol codes.
8024 symcode='[BCDEGRST]'
8026 # Regexp to match symbols that can be accessed directly from C.
8027 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8029 # Define system-specific variables.
8034 cygwin* | mingw* | pw32* | cegcc*)
8035 symcode='[ABCDGISTW]'
8038 if test "$host_cpu" = ia64; then
8039 symcode='[ABCDEGRST]'
8043 symcode='[BCDEGRST]'
8046 symcode='[BCDEGQRST]'
8057 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8065 # If we're using GNU nm, then use its standard symbol codes.
8066 case `$NM -V 2>&1` in
8067 *GNU* | *'with BFD'*)
8068 symcode='[ABCDGIRSTW]' ;;
8071 # Transform an extracted symbol line into a proper C declaration.
8072 # Some systems (esp. on ia64) link data and code symbols differently,
8073 # so use this general approach.
8074 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8076 # Transform an extracted symbol line into symbol name and symbol address
8077 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8078 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'"
8080 # Handle CRLF in mingw tool chain
8084 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8088 # Try without a prefix underscore, then with it.
8089 for ac_symprfx in "" "_"; do
8091 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8092 symxfrm="\\1 $ac_symprfx\\2 \\2"
8094 # Write the raw and C identifiers.
8095 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8096 # Fake it for dumpbin and say T for any non-static function
8097 # and D for any global variable.
8098 # Also find C++ and __fastcall symbols from MSVC++,
8099 # which start with @ or ?.
8100 lt_cv_sys_global_symbol_pipe="$AWK '"\
8101 " {last_section=section; section=\$ 3};"\
8102 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8103 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8104 " \$ 0!~/External *\|/{next};"\
8105 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8106 " {if(hide[section]) next};"\
8107 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8108 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8109 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8110 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8111 " ' prfx=^$ac_symprfx"
8113 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8115 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
8117 # Check to see that the pipe works correctly.
8121 cat > conftest.$ac_ext <<_LT_EOF
8126 void nm_test_func(void);
8127 void nm_test_func(void){}
8131 int main(){nm_test_var='a';nm_test_func();return(0);}
8134 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8135 (eval $ac_compile) 2>&5
8137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8138 test $ac_status = 0; }; then
8139 # Now try to grab the symbols.
8141 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8142 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8145 test $ac_status = 0; } && test -s "$nlist"; then
8146 # Try sorting and uniquifying the output.
8147 if sort "$nlist" | uniq > "$nlist"T; then
8148 mv -f "$nlist"T "$nlist"
8153 # Make sure that we snagged all the symbols we need.
8154 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8155 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8156 cat <<_LT_EOF > conftest.$ac_ext
8157 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
8158 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
8159 /* DATA imports from DLLs on WIN32 con't be const, because runtime
8160 relocations are performed -- see ld's documentation on pseudo-relocs. */
8161 # define LT_DLSYM_CONST
8162 #elif defined(__osf__)
8163 /* This system does not cope well with relocations in const data. */
8164 # define LT_DLSYM_CONST
8166 # define LT_DLSYM_CONST const
8174 # Now generate the symbol file.
8175 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8177 cat <<_LT_EOF >> conftest.$ac_ext
8179 /* The mapping between symbol names and symbols. */
8180 LT_DLSYM_CONST struct {
8184 lt__PROGRAM__LTX_preloaded_symbols[] =
8186 { "@PROGRAM@", (void *) 0 },
8188 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8189 cat <<\_LT_EOF >> conftest.$ac_ext
8193 /* This works around a problem in FreeBSD linker */
8194 #ifdef FREEBSD_WORKAROUND
8195 static const void *lt_preloaded_setup() {
8196 return lt__PROGRAM__LTX_preloaded_symbols;
8204 # Now try linking the two files.
8205 mv conftest.$ac_objext conftstm.$ac_objext
8206 lt_globsym_save_LIBS=$LIBS
8207 lt_globsym_save_CFLAGS=$CFLAGS
8208 LIBS="conftstm.$ac_objext"
8209 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8210 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8211 (eval $ac_link) 2>&5
8213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8214 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8217 LIBS=$lt_globsym_save_LIBS
8218 CFLAGS=$lt_globsym_save_CFLAGS
8220 echo "cannot find nm_test_func in $nlist" >&5
8223 echo "cannot find nm_test_var in $nlist" >&5
8226 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8229 echo "$progname: failed program was:" >&5
8230 cat conftest.$ac_ext >&5
8232 rm -rf conftest* conftst*
8234 # Do not use the global_symbol_pipe unless it works.
8235 if test "$pipe_works" = yes; then
8238 lt_cv_sys_global_symbol_pipe=
8244 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8245 lt_cv_sys_global_symbol_to_cdecl=
8247 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8249 $as_echo "failed" >&6; }
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8252 $as_echo "ok" >&6; }
8255 # Response file support.
8256 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8257 nm_file_list_spec='@'
8258 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8259 nm_file_list_spec='@'
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8289 $as_echo_n "checking for sysroot... " >&6; }
8291 # Check whether --with-sysroot was given.
8292 if test "${with_sysroot+set}" = set; then :
8293 withval=$with_sysroot;
8300 case ${with_sysroot} in #(
8302 if test "$GCC" = yes; then
8303 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8307 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
8313 $as_echo "${with_sysroot}" >&6; }
8314 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8319 $as_echo "${lt_sysroot:-no}" >&6; }
8325 # Check whether --enable-libtool-lock was given.
8326 if test "${enable_libtool_lock+set}" = set; then :
8327 enableval=$enable_libtool_lock;
8330 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8332 # Some flags need to be propagated to the compiler or linker for good
8336 # Find out which ABI we are using.
8337 echo 'int i;' > conftest.$ac_ext
8338 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8339 (eval $ac_compile) 2>&5
8341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8342 test $ac_status = 0; }; then
8343 case `/usr/bin/file conftest.$ac_objext` in
8355 # Find out which ABI we are using.
8356 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8357 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8358 (eval $ac_compile) 2>&5
8360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8361 test $ac_status = 0; }; then
8362 if test "$lt_cv_prog_gnu_ld" = yes; then
8363 case `/usr/bin/file conftest.$ac_objext` in
8365 LD="${LD-ld} -melf32bsmip"
8368 LD="${LD-ld} -melf32bmipn32"
8371 LD="${LD-ld} -melf64bmip"
8375 case `/usr/bin/file conftest.$ac_objext` in
8391 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8392 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8393 # Find out which ABI we are using.
8394 echo 'int i;' > conftest.$ac_ext
8395 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8396 (eval $ac_compile) 2>&5
8398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8399 test $ac_status = 0; }; then
8400 case `/usr/bin/file conftest.o` in
8403 x86_64-*kfreebsd*-gnu)
8404 LD="${LD-ld} -m elf_i386_fbsd"
8407 LD="${LD-ld} -m elf_i386"
8409 ppc64-*linux*|powerpc64-*linux*)
8410 LD="${LD-ld} -m elf32ppclinux"
8413 LD="${LD-ld} -m elf_s390"
8416 LD="${LD-ld} -m elf32_sparc"
8422 x86_64-*kfreebsd*-gnu)
8423 LD="${LD-ld} -m elf_x86_64_fbsd"
8426 LD="${LD-ld} -m elf_x86_64"
8428 ppc*-*linux*|powerpc*-*linux*)
8429 LD="${LD-ld} -m elf64ppc"
8431 s390*-*linux*|s390*-*tpf*)
8432 LD="${LD-ld} -m elf64_s390"
8435 LD="${LD-ld} -m elf64_sparc"
8445 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8446 SAVE_CFLAGS="$CFLAGS"
8447 CFLAGS="$CFLAGS -belf"
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8449 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8450 if ${lt_cv_cc_needs_belf+:} false; then :
8451 $as_echo_n "(cached) " >&6
8454 ac_cpp='$CPP $CPPFLAGS'
8455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8459 if test x$ac_no_link = xyes; then
8460 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
8462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8463 /* end confdefs.h. */
8473 if ac_fn_c_try_link "$LINENO"; then :
8474 lt_cv_cc_needs_belf=yes
8476 lt_cv_cc_needs_belf=no
8478 rm -f core conftest.err conftest.$ac_objext \
8479 conftest$ac_exeext conftest.$ac_ext
8481 ac_cpp='$CPP $CPPFLAGS'
8482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8488 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8489 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8490 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8491 CFLAGS="$SAVE_CFLAGS"
8495 # Find out which ABI we are using.
8496 echo 'int i;' > conftest.$ac_ext
8497 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8498 (eval $ac_compile) 2>&5
8500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8501 test $ac_status = 0; }; then
8502 case `/usr/bin/file conftest.o` in
8504 case $lt_cv_prog_gnu_ld in
8508 LD="${LD-ld} -m elf_x86_64"
8511 LD="${LD-ld} -m elf64_sparc"
8514 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8515 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8520 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8532 need_locks="$enable_libtool_lock"
8534 if test -n "$ac_tool_prefix"; then
8535 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8536 set dummy ${ac_tool_prefix}mt; ac_word=$2
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8538 $as_echo_n "checking for $ac_word... " >&6; }
8539 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8540 $as_echo_n "(cached) " >&6
8542 if test -n "$MANIFEST_TOOL"; then
8543 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8549 test -z "$as_dir" && as_dir=.
8550 for ac_exec_ext in '' $ac_executable_extensions; do
8551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8552 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8562 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8563 if test -n "$MANIFEST_TOOL"; then
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8565 $as_echo "$MANIFEST_TOOL" >&6; }
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8568 $as_echo "no" >&6; }
8573 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8574 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8575 # Extract the first word of "mt", so it can be a program name with args.
8576 set dummy mt; ac_word=$2
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8578 $as_echo_n "checking for $ac_word... " >&6; }
8579 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8580 $as_echo_n "(cached) " >&6
8582 if test -n "$ac_ct_MANIFEST_TOOL"; then
8583 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8589 test -z "$as_dir" && as_dir=.
8590 for ac_exec_ext in '' $ac_executable_extensions; do
8591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8592 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8602 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8603 if test -n "$ac_ct_MANIFEST_TOOL"; then
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8605 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8608 $as_echo "no" >&6; }
8611 if test "x$ac_ct_MANIFEST_TOOL" = x; then
8614 case $cross_compiling:$ac_tool_warned in
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8618 ac_tool_warned=yes ;;
8620 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8623 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8626 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8628 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8629 if ${lt_cv_path_mainfest_tool+:} false; then :
8630 $as_echo_n "(cached) " >&6
8632 lt_cv_path_mainfest_tool=no
8633 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8634 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8635 cat conftest.err >&5
8636 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8637 lt_cv_path_mainfest_tool=yes
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8642 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8643 if test "x$lt_cv_path_mainfest_tool" != xyes; then
8653 rhapsody* | darwin*)
8654 if test -n "$ac_tool_prefix"; then
8655 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8656 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8658 $as_echo_n "checking for $ac_word... " >&6; }
8659 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8660 $as_echo_n "(cached) " >&6
8662 if test -n "$DSYMUTIL"; then
8663 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8669 test -z "$as_dir" && as_dir=.
8670 for ac_exec_ext in '' $ac_executable_extensions; do
8671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8672 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8682 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8683 if test -n "$DSYMUTIL"; then
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8685 $as_echo "$DSYMUTIL" >&6; }
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8688 $as_echo "no" >&6; }
8693 if test -z "$ac_cv_prog_DSYMUTIL"; then
8694 ac_ct_DSYMUTIL=$DSYMUTIL
8695 # Extract the first word of "dsymutil", so it can be a program name with args.
8696 set dummy dsymutil; ac_word=$2
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8698 $as_echo_n "checking for $ac_word... " >&6; }
8699 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8700 $as_echo_n "(cached) " >&6
8702 if test -n "$ac_ct_DSYMUTIL"; then
8703 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8709 test -z "$as_dir" && as_dir=.
8710 for ac_exec_ext in '' $ac_executable_extensions; do
8711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8712 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8722 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8723 if test -n "$ac_ct_DSYMUTIL"; then
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8725 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8728 $as_echo "no" >&6; }
8731 if test "x$ac_ct_DSYMUTIL" = x; then
8734 case $cross_compiling:$ac_tool_warned in
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8737 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8738 ac_tool_warned=yes ;;
8740 DSYMUTIL=$ac_ct_DSYMUTIL
8743 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8746 if test -n "$ac_tool_prefix"; then
8747 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8748 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8750 $as_echo_n "checking for $ac_word... " >&6; }
8751 if ${ac_cv_prog_NMEDIT+:} false; then :
8752 $as_echo_n "(cached) " >&6
8754 if test -n "$NMEDIT"; then
8755 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8761 test -z "$as_dir" && as_dir=.
8762 for ac_exec_ext in '' $ac_executable_extensions; do
8763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8764 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8774 NMEDIT=$ac_cv_prog_NMEDIT
8775 if test -n "$NMEDIT"; then
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8777 $as_echo "$NMEDIT" >&6; }
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8780 $as_echo "no" >&6; }
8785 if test -z "$ac_cv_prog_NMEDIT"; then
8786 ac_ct_NMEDIT=$NMEDIT
8787 # Extract the first word of "nmedit", so it can be a program name with args.
8788 set dummy nmedit; ac_word=$2
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8790 $as_echo_n "checking for $ac_word... " >&6; }
8791 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8792 $as_echo_n "(cached) " >&6
8794 if test -n "$ac_ct_NMEDIT"; then
8795 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8801 test -z "$as_dir" && as_dir=.
8802 for ac_exec_ext in '' $ac_executable_extensions; do
8803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8804 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8814 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8815 if test -n "$ac_ct_NMEDIT"; then
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8817 $as_echo "$ac_ct_NMEDIT" >&6; }
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8820 $as_echo "no" >&6; }
8823 if test "x$ac_ct_NMEDIT" = x; then
8826 case $cross_compiling:$ac_tool_warned in
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8829 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8830 ac_tool_warned=yes ;;
8832 NMEDIT=$ac_ct_NMEDIT
8835 NMEDIT="$ac_cv_prog_NMEDIT"
8838 if test -n "$ac_tool_prefix"; then
8839 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8840 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8842 $as_echo_n "checking for $ac_word... " >&6; }
8843 if ${ac_cv_prog_LIPO+:} false; then :
8844 $as_echo_n "(cached) " >&6
8846 if test -n "$LIPO"; then
8847 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8853 test -z "$as_dir" && as_dir=.
8854 for ac_exec_ext in '' $ac_executable_extensions; do
8855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8856 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8866 LIPO=$ac_cv_prog_LIPO
8867 if test -n "$LIPO"; then
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8869 $as_echo "$LIPO" >&6; }
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8872 $as_echo "no" >&6; }
8877 if test -z "$ac_cv_prog_LIPO"; then
8879 # Extract the first word of "lipo", so it can be a program name with args.
8880 set dummy lipo; ac_word=$2
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8882 $as_echo_n "checking for $ac_word... " >&6; }
8883 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8884 $as_echo_n "(cached) " >&6
8886 if test -n "$ac_ct_LIPO"; then
8887 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8893 test -z "$as_dir" && as_dir=.
8894 for ac_exec_ext in '' $ac_executable_extensions; do
8895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8896 ac_cv_prog_ac_ct_LIPO="lipo"
8897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8906 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8907 if test -n "$ac_ct_LIPO"; then
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8909 $as_echo "$ac_ct_LIPO" >&6; }
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8912 $as_echo "no" >&6; }
8915 if test "x$ac_ct_LIPO" = x; then
8918 case $cross_compiling:$ac_tool_warned in
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8921 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8922 ac_tool_warned=yes ;;
8927 LIPO="$ac_cv_prog_LIPO"
8930 if test -n "$ac_tool_prefix"; then
8931 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8932 set dummy ${ac_tool_prefix}otool; ac_word=$2
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8934 $as_echo_n "checking for $ac_word... " >&6; }
8935 if ${ac_cv_prog_OTOOL+:} false; then :
8936 $as_echo_n "(cached) " >&6
8938 if test -n "$OTOOL"; then
8939 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8945 test -z "$as_dir" && as_dir=.
8946 for ac_exec_ext in '' $ac_executable_extensions; do
8947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8948 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8958 OTOOL=$ac_cv_prog_OTOOL
8959 if test -n "$OTOOL"; then
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8961 $as_echo "$OTOOL" >&6; }
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8964 $as_echo "no" >&6; }
8969 if test -z "$ac_cv_prog_OTOOL"; then
8971 # Extract the first word of "otool", so it can be a program name with args.
8972 set dummy otool; ac_word=$2
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8974 $as_echo_n "checking for $ac_word... " >&6; }
8975 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8976 $as_echo_n "(cached) " >&6
8978 if test -n "$ac_ct_OTOOL"; then
8979 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8985 test -z "$as_dir" && as_dir=.
8986 for ac_exec_ext in '' $ac_executable_extensions; do
8987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8988 ac_cv_prog_ac_ct_OTOOL="otool"
8989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8998 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8999 if test -n "$ac_ct_OTOOL"; then
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9001 $as_echo "$ac_ct_OTOOL" >&6; }
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9004 $as_echo "no" >&6; }
9007 if test "x$ac_ct_OTOOL" = x; then
9010 case $cross_compiling:$ac_tool_warned in
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9013 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9014 ac_tool_warned=yes ;;
9019 OTOOL="$ac_cv_prog_OTOOL"
9022 if test -n "$ac_tool_prefix"; then
9023 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9024 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9026 $as_echo_n "checking for $ac_word... " >&6; }
9027 if ${ac_cv_prog_OTOOL64+:} false; then :
9028 $as_echo_n "(cached) " >&6
9030 if test -n "$OTOOL64"; then
9031 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9037 test -z "$as_dir" && as_dir=.
9038 for ac_exec_ext in '' $ac_executable_extensions; do
9039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9040 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9050 OTOOL64=$ac_cv_prog_OTOOL64
9051 if test -n "$OTOOL64"; then
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9053 $as_echo "$OTOOL64" >&6; }
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9056 $as_echo "no" >&6; }
9061 if test -z "$ac_cv_prog_OTOOL64"; then
9062 ac_ct_OTOOL64=$OTOOL64
9063 # Extract the first word of "otool64", so it can be a program name with args.
9064 set dummy otool64; ac_word=$2
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9066 $as_echo_n "checking for $ac_word... " >&6; }
9067 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9068 $as_echo_n "(cached) " >&6
9070 if test -n "$ac_ct_OTOOL64"; then
9071 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9077 test -z "$as_dir" && as_dir=.
9078 for ac_exec_ext in '' $ac_executable_extensions; do
9079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9080 ac_cv_prog_ac_ct_OTOOL64="otool64"
9081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9090 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9091 if test -n "$ac_ct_OTOOL64"; then
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9093 $as_echo "$ac_ct_OTOOL64" >&6; }
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9096 $as_echo "no" >&6; }
9099 if test "x$ac_ct_OTOOL64" = x; then
9102 case $cross_compiling:$ac_tool_warned in
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9105 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9106 ac_tool_warned=yes ;;
9108 OTOOL64=$ac_ct_OTOOL64
9111 OTOOL64="$ac_cv_prog_OTOOL64"
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9141 $as_echo_n "checking for -single_module linker flag... " >&6; }
9142 if ${lt_cv_apple_cc_single_mod+:} false; then :
9143 $as_echo_n "(cached) " >&6
9145 lt_cv_apple_cc_single_mod=no
9146 if test -z "${LT_MULTI_MODULE}"; then
9147 # By default we will add the -single_module flag. You can override
9148 # by either setting the environment variable LT_MULTI_MODULE
9149 # non-empty at configure time, or by adding -multi_module to the
9151 rm -rf libconftest.dylib*
9152 echo "int foo(void){return 1;}" > conftest.c
9153 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9154 -dynamiclib -Wl,-single_module conftest.c" >&5
9155 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9156 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9158 # If there is a non-empty error log, and "single_module"
9159 # appears in it, assume the flag caused a linker warning
9160 if test -s conftest.err && $GREP single_module conftest.err; then
9161 cat conftest.err >&5
9162 # Otherwise, if the output was created with a 0 exit code from
9163 # the compiler, it worked.
9164 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
9165 lt_cv_apple_cc_single_mod=yes
9167 cat conftest.err >&5
9169 rm -rf libconftest.dylib*
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9174 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9177 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9178 if ${lt_cv_ld_exported_symbols_list+:} false; then :
9179 $as_echo_n "(cached) " >&6
9181 lt_cv_ld_exported_symbols_list=no
9182 save_LDFLAGS=$LDFLAGS
9183 echo "_main" > conftest.sym
9184 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9185 if test x$ac_no_link = xyes; then
9186 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
9188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9189 /* end confdefs.h. */
9199 if ac_fn_c_try_link "$LINENO"; then :
9200 lt_cv_ld_exported_symbols_list=yes
9202 lt_cv_ld_exported_symbols_list=no
9204 rm -f core conftest.err conftest.$ac_objext \
9205 conftest$ac_exeext conftest.$ac_ext
9206 LDFLAGS="$save_LDFLAGS"
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9210 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9213 $as_echo_n "checking for -force_load linker flag... " >&6; }
9214 if ${lt_cv_ld_force_load+:} false; then :
9215 $as_echo_n "(cached) " >&6
9217 lt_cv_ld_force_load=no
9218 cat > conftest.c << _LT_EOF
9219 int forced_loaded() { return 2;}
9221 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9222 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9223 echo "$AR cru libconftest.a conftest.o" >&5
9224 $AR cru libconftest.a conftest.o 2>&5
9225 echo "$RANLIB libconftest.a" >&5
9226 $RANLIB libconftest.a 2>&5
9227 cat > conftest.c << _LT_EOF
9228 int main() { return 0;}
9230 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9231 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9233 if test -s conftest.err && $GREP force_load conftest.err; then
9234 cat conftest.err >&5
9235 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
9236 lt_cv_ld_force_load=yes
9238 cat conftest.err >&5
9240 rm -f conftest.err libconftest.a conftest conftest.c
9241 rm -rf conftest.dSYM
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9245 $as_echo "$lt_cv_ld_force_load" >&6; }
9247 rhapsody* | darwin1.[012])
9248 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9250 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9251 darwin*) # darwin 5.x on
9252 # if running on 10.5 or later, the deployment target defaults
9253 # to the OS version, if on x86, and 10.4, the deployment
9254 # target defaults to 10.4. Don't you love it?
9255 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9256 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9257 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9259 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9261 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9265 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9266 _lt_dar_single_mod='$single_module'
9268 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9269 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9271 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9273 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9274 _lt_dsymutil='~$DSYMUTIL $lib || :'
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
9283 $as_echo_n "checking for ANSI C header files... " >&6; }
9284 if ${ac_cv_header_stdc+:} false; then :
9285 $as_echo_n "(cached) " >&6
9287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9288 /* end confdefs.h. */
9302 if ac_fn_c_try_compile "$LINENO"; then :
9303 ac_cv_header_stdc=yes
9305 ac_cv_header_stdc=no
9307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9309 if test $ac_cv_header_stdc = yes; then
9310 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9312 /* end confdefs.h. */
9316 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9317 $EGREP "memchr" >/dev/null 2>&1; then :
9320 ac_cv_header_stdc=no
9326 if test $ac_cv_header_stdc = yes; then
9327 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9329 /* end confdefs.h. */
9333 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9334 $EGREP "free" >/dev/null 2>&1; then :
9337 ac_cv_header_stdc=no
9343 if test $ac_cv_header_stdc = yes; then
9344 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9345 if test "$cross_compiling" = yes; then :
9348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9349 /* end confdefs.h. */
9352 #if ((' ' & 0x0FF) == 0x020)
9353 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9354 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9356 # define ISLOWER(c) \
9357 (('a' <= (c) && (c) <= 'i') \
9358 || ('j' <= (c) && (c) <= 'r') \
9359 || ('s' <= (c) && (c) <= 'z'))
9360 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9363 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9368 for (i = 0; i < 256; i++)
9369 if (XOR (islower (i), ISLOWER (i))
9370 || toupper (i) != TOUPPER (i))
9375 if ac_fn_c_try_run "$LINENO"; then :
9378 ac_cv_header_stdc=no
9380 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9381 conftest.$ac_objext conftest.beam conftest.$ac_ext
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9387 $as_echo "$ac_cv_header_stdc" >&6; }
9388 if test $ac_cv_header_stdc = yes; then
9390 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9394 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9395 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
9396 inttypes.h stdint.h unistd.h
9398 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9399 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9401 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9402 cat >>confdefs.h <<_ACEOF
9403 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9411 for ac_header in dlfcn.h
9413 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9415 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9416 cat >>confdefs.h <<_ACEOF
9417 #define HAVE_DLFCN_H 1
9438 # Check whether --enable-shared was given.
9439 if test "${enable_shared+set}" = set; then :
9440 enableval=$enable_shared; p=${PACKAGE-default}
9442 yes) enable_shared=yes ;;
9443 no) enable_shared=no ;;
9446 # Look at the argument we got. We use all the common list separators.
9447 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9448 for pkg in $enableval; do
9450 if test "X$pkg" = "X$p"; then
9469 # Check whether --enable-static was given.
9470 if test "${enable_static+set}" = set; then :
9471 enableval=$enable_static; p=${PACKAGE-default}
9473 yes) enable_static=yes ;;
9474 no) enable_static=no ;;
9477 # Look at the argument we got. We use all the common list separators.
9478 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9479 for pkg in $enableval; do
9481 if test "X$pkg" = "X$p"; then
9501 # Check whether --with-pic was given.
9502 if test "${with_pic+set}" = set; then :
9503 withval=$with_pic; lt_p=${PACKAGE-default}
9505 yes|no) pic_mode=$withval ;;
9508 # Look at the argument we got. We use all the common list separators.
9509 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9510 for lt_pkg in $withval; do
9512 if test "X$lt_pkg" = "X$lt_p"; then
9524 test -z "$pic_mode" && pic_mode=default
9532 # Check whether --enable-fast-install was given.
9533 if test "${enable_fast_install+set}" = set; then :
9534 enableval=$enable_fast_install; p=${PACKAGE-default}
9536 yes) enable_fast_install=yes ;;
9537 no) enable_fast_install=no ;;
9539 enable_fast_install=no
9540 # Look at the argument we got. We use all the common list separators.
9541 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9542 for pkg in $enableval; do
9544 if test "X$pkg" = "X$p"; then
9545 enable_fast_install=yes
9552 enable_fast_install=yes
9565 # This can be used to rebuild libtool when needed
9566 LIBTOOL_DEPS="$ltmain"
9568 # Always use our own libtool.
9569 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9600 test -z "$LN_S" && LN_S="ln -s"
9615 if test -n "${ZSH_VERSION+set}" ; then
9616 setopt NO_GLOB_SUBST
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9620 $as_echo_n "checking for objdir... " >&6; }
9621 if ${lt_cv_objdir+:} false; then :
9622 $as_echo_n "(cached) " >&6
9624 rm -f .libs 2>/dev/null
9625 mkdir .libs 2>/dev/null
9626 if test -d .libs; then
9629 # MS-DOS does not allow filenames that begin with a dot.
9632 rmdir .libs 2>/dev/null
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9635 $as_echo "$lt_cv_objdir" >&6; }
9636 objdir=$lt_cv_objdir
9642 cat >>confdefs.h <<_ACEOF
9643 #define LT_OBJDIR "$lt_cv_objdir/"
9651 # AIX sometimes has problems with the GCC collect2 program. For some
9652 # reason, if we set the COLLECT_NAMES environment variable, the problems
9653 # vanish in a puff of smoke.
9654 if test "X${COLLECT_NAMES+set}" != Xset; then
9656 export COLLECT_NAMES
9663 can_build_shared=yes
9665 # All known linkers require a `.a' archive for static linking (except MSVC,
9666 # which needs '.lib').
9669 with_gnu_ld="$lt_cv_prog_gnu_ld"
9672 old_CFLAGS="$CFLAGS"
9674 # Set sane defaults for various variables
9675 test -z "$CC" && CC=cc
9676 test -z "$LTCC" && LTCC=$CC
9677 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9678 test -z "$LD" && LD=ld
9679 test -z "$ac_objext" && ac_objext=o
9681 for cc_temp in $compiler""; do
9683 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9684 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9689 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9692 # Only perform the check for file, if the check method requires it
9693 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9694 case $deplibs_check_method in
9696 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9698 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9699 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9700 $as_echo_n "(cached) " >&6
9704 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9707 lt_save_MAGIC_CMD="$MAGIC_CMD"
9708 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9709 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9710 for ac_dir in $ac_dummy; do
9712 test -z "$ac_dir" && ac_dir=.
9713 if test -f $ac_dir/${ac_tool_prefix}file; then
9714 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9715 if test -n "$file_magic_test_file"; then
9716 case $deplibs_check_method in
9718 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9719 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9720 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9721 $EGREP "$file_magic_regex" > /dev/null; then
9726 *** Warning: the command libtool uses to detect shared libraries,
9727 *** $file_magic_cmd, produces output that libtool cannot recognize.
9728 *** The result is that libtool may fail to recognize shared libraries
9729 *** as such. This will affect the creation of libtool libraries that
9730 *** depend on shared libraries, but programs linked with such libtool
9731 *** libraries will work regardless of this problem. Nevertheless, you
9732 *** may want to report the problem to your system manager and/or to
9733 *** bug-libtool@gnu.org
9743 MAGIC_CMD="$lt_save_MAGIC_CMD"
9748 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9749 if test -n "$MAGIC_CMD"; then
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9751 $as_echo "$MAGIC_CMD" >&6; }
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9754 $as_echo "no" >&6; }
9761 if test -z "$lt_cv_path_MAGIC_CMD"; then
9762 if test -n "$ac_tool_prefix"; then
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9764 $as_echo_n "checking for file... " >&6; }
9765 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9766 $as_echo_n "(cached) " >&6
9770 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9773 lt_save_MAGIC_CMD="$MAGIC_CMD"
9774 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9775 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9776 for ac_dir in $ac_dummy; do
9778 test -z "$ac_dir" && ac_dir=.
9779 if test -f $ac_dir/file; then
9780 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9781 if test -n "$file_magic_test_file"; then
9782 case $deplibs_check_method in
9784 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9785 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9786 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9787 $EGREP "$file_magic_regex" > /dev/null; then
9792 *** Warning: the command libtool uses to detect shared libraries,
9793 *** $file_magic_cmd, produces output that libtool cannot recognize.
9794 *** The result is that libtool may fail to recognize shared libraries
9795 *** as such. This will affect the creation of libtool libraries that
9796 *** depend on shared libraries, but programs linked with such libtool
9797 *** libraries will work regardless of this problem. Nevertheless, you
9798 *** may want to report the problem to your system manager and/or to
9799 *** bug-libtool@gnu.org
9809 MAGIC_CMD="$lt_save_MAGIC_CMD"
9814 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9815 if test -n "$MAGIC_CMD"; then
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9817 $as_echo "$MAGIC_CMD" >&6; }
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9820 $as_echo "no" >&6; }
9833 # Use C for the default configuration in the libtool script
9837 ac_cpp='$CPP $CPPFLAGS'
9838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9843 # Source file extension for C test sources.
9846 # Object file extension for compiled C test sources.
9850 # Code to be used in simple compile tests
9851 lt_simple_compile_test_code="int some_variable = 0;"
9853 # Code to be used in simple link tests
9854 lt_simple_link_test_code='int main(){return(0);}'
9862 # If no C compiler was specified, use CC.
9865 # If no C compiler flags were specified, use CFLAGS.
9866 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9868 # Allow CC to be a program name with arguments.
9871 # Save the default compiler, since it gets overwritten when the other
9872 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9873 compiler_DEFAULT=$CC
9875 # save warnings/boilerplate of simple test code
9876 ac_outfile=conftest.$ac_objext
9877 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9878 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9879 _lt_compiler_boilerplate=`cat conftest.err`
9882 ac_outfile=conftest.$ac_objext
9883 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9884 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9885 _lt_linker_boilerplate=`cat conftest.err`
9890 ## There is no encapsulation within the following macros, do not change
9891 ## the running order or otherwise move them around unless you know exactly
9892 ## what you are doing...
9893 if test -n "$compiler"; then
9895 lt_prog_compiler_no_builtin_flag=
9897 if test "$GCC" = yes; then
9898 case $cc_basename in
9900 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9902 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9906 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9907 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9908 $as_echo_n "(cached) " >&6
9910 lt_cv_prog_compiler_rtti_exceptions=no
9911 ac_outfile=conftest.$ac_objext
9912 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9913 lt_compiler_flag="-fno-rtti -fno-exceptions"
9914 # Insert the option either (1) after the last *FLAGS variable, or
9915 # (2) before a word containing "conftest.", or (3) at the end.
9916 # Note that $ac_compile itself does not contain backslashes and begins
9917 # with a dollar sign (not a hyphen), so the echo should work correctly.
9918 # The option is referenced via a variable to avoid confusing sed.
9919 lt_compile=`echo "$ac_compile" | $SED \
9920 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9921 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9922 -e 's:$: $lt_compiler_flag:'`
9923 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9924 (eval "$lt_compile" 2>conftest.err)
9926 cat conftest.err >&5
9927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9928 if (exit $ac_status) && test -s "$ac_outfile"; then
9929 # The compiler can only warn and ignore the option if not recognized
9930 # So say no if there are warnings other than the usual output.
9931 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9932 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9933 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9934 lt_cv_prog_compiler_rtti_exceptions=yes
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9941 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9943 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9944 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9956 lt_prog_compiler_wl=
9957 lt_prog_compiler_pic=
9958 lt_prog_compiler_static=
9961 if test "$GCC" = yes; then
9962 lt_prog_compiler_wl='-Wl,'
9963 lt_prog_compiler_static='-static'
9967 # All AIX code is PIC.
9968 if test "$host_cpu" = ia64; then
9969 # AIX 5 now supports IA64 processor
9970 lt_prog_compiler_static='-Bstatic'
9977 # see comment about AmigaOS4 .so support
9978 lt_prog_compiler_pic='-fPIC'
9981 # FIXME: we need at least 68020 code to build shared libraries, but
9982 # adding the `-m68020' flag to GCC prevents building anything better,
9984 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9989 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9990 # PIC is the default for these OSes.
9993 mingw* | cygwin* | pw32* | os2* | cegcc*)
9994 # This hack is so that the source file can tell whether it is being
9995 # built for inclusion in a dll (and should export symbols for example).
9996 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9997 # (--disable-auto-import) libraries
9998 lt_prog_compiler_pic='-DDLL_EXPORT'
10001 darwin* | rhapsody*)
10002 # PIC is the default on this platform
10003 # Common symbols not allowed in MH_DYLIB files
10004 lt_prog_compiler_pic='-fno-common'
10008 # PIC is the default for Haiku.
10009 # The "-static" flag exists, but is broken.
10010 lt_prog_compiler_static=
10014 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10015 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10016 # sets the default TLS model and affects inlining.
10022 lt_prog_compiler_pic='-fPIC'
10028 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10029 # Instead, we relocate shared libraries at runtime.
10033 # Just because we use GCC doesn't mean we suddenly get shared libraries
10034 # on systems that don't support them.
10035 lt_prog_compiler_can_build_shared=no
10040 # QNX uses GNU C++, but need to define -shared option too, otherwise
10041 # it will coredump.
10042 lt_prog_compiler_pic='-fPIC -shared'
10046 if test -d /usr/nec; then
10047 lt_prog_compiler_pic=-Kconform_pic
10052 lt_prog_compiler_pic='-fPIC'
10056 case $cc_basename in
10057 nvcc*) # Cuda Compiler Driver 2.2
10058 lt_prog_compiler_wl='-Xlinker '
10059 if test -n "$lt_prog_compiler_pic"; then
10060 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10065 # PORTME Check for flag to pass linker flags through the system compiler.
10068 lt_prog_compiler_wl='-Wl,'
10069 if test "$host_cpu" = ia64; then
10070 # AIX 5 now supports IA64 processor
10071 lt_prog_compiler_static='-Bstatic'
10073 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10077 mingw* | cygwin* | pw32* | os2* | cegcc*)
10078 # This hack is so that the source file can tell whether it is being
10079 # built for inclusion in a dll (and should export symbols for example).
10080 lt_prog_compiler_pic='-DDLL_EXPORT'
10083 hpux9* | hpux10* | hpux11*)
10084 lt_prog_compiler_wl='-Wl,'
10085 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10086 # not for PA HP-UX.
10092 lt_prog_compiler_pic='+Z'
10095 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10096 lt_prog_compiler_static='${wl}-a ${wl}archive'
10099 irix5* | irix6* | nonstopux*)
10100 lt_prog_compiler_wl='-Wl,'
10101 # PIC (with -KPIC) is the default.
10102 lt_prog_compiler_static='-non_shared'
10105 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10106 case $cc_basename in
10107 # old Intel for x86_64 which still supported -KPIC.
10109 lt_prog_compiler_wl='-Wl,'
10110 lt_prog_compiler_pic='-KPIC'
10111 lt_prog_compiler_static='-static'
10113 # icc used to be incompatible with GCC.
10114 # ICC 10 doesn't accept -KPIC any more.
10116 lt_prog_compiler_wl='-Wl,'
10117 lt_prog_compiler_pic='-fPIC'
10118 lt_prog_compiler_static='-static'
10120 # Lahey Fortran 8.1.
10122 lt_prog_compiler_wl='-Wl,'
10123 lt_prog_compiler_pic='--shared'
10124 lt_prog_compiler_static='--static'
10127 # NAG Fortran compiler
10128 lt_prog_compiler_wl='-Wl,-Wl,,'
10129 lt_prog_compiler_pic='-PIC'
10130 lt_prog_compiler_static='-Bstatic'
10132 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10133 # Portland Group compilers (*not* the Pentium gcc compiler,
10134 # which looks to be a dead project)
10135 lt_prog_compiler_wl='-Wl,'
10136 lt_prog_compiler_pic='-fpic'
10137 lt_prog_compiler_static='-Bstatic'
10140 lt_prog_compiler_wl='-Wl,'
10141 # All Alpha code is PIC.
10142 lt_prog_compiler_static='-non_shared'
10144 xl* | bgxl* | bgf* | mpixl*)
10145 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10146 lt_prog_compiler_wl='-Wl,'
10147 lt_prog_compiler_pic='-qpic'
10148 lt_prog_compiler_static='-qstaticlink'
10151 case `$CC -V 2>&1 | sed 5q` in
10152 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10153 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10154 lt_prog_compiler_pic='-KPIC'
10155 lt_prog_compiler_static='-Bstatic'
10156 lt_prog_compiler_wl=''
10158 *Sun\ F* | *Sun*Fortran*)
10159 lt_prog_compiler_pic='-KPIC'
10160 lt_prog_compiler_static='-Bstatic'
10161 lt_prog_compiler_wl='-Qoption ld '
10165 lt_prog_compiler_pic='-KPIC'
10166 lt_prog_compiler_static='-Bstatic'
10167 lt_prog_compiler_wl='-Wl,'
10169 *Intel*\ [CF]*Compiler*)
10170 lt_prog_compiler_wl='-Wl,'
10171 lt_prog_compiler_pic='-fPIC'
10172 lt_prog_compiler_static='-static'
10175 lt_prog_compiler_wl='-Wl,'
10176 lt_prog_compiler_pic='-fpic'
10177 lt_prog_compiler_static='-Bstatic'
10185 lt_prog_compiler_pic='-KPIC'
10186 lt_prog_compiler_static='-Bstatic'
10190 # QNX uses GNU C++, but need to define -shared option too, otherwise
10191 # it will coredump.
10192 lt_prog_compiler_pic='-fPIC -shared'
10195 osf3* | osf4* | osf5*)
10196 lt_prog_compiler_wl='-Wl,'
10197 # All OSF/1 code is PIC.
10198 lt_prog_compiler_static='-non_shared'
10202 lt_prog_compiler_static='-non_shared'
10206 lt_prog_compiler_pic='-KPIC'
10207 lt_prog_compiler_static='-Bstatic'
10208 case $cc_basename in
10209 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10210 lt_prog_compiler_wl='-Qoption ld ';;
10212 lt_prog_compiler_wl='-Wl,';;
10217 lt_prog_compiler_wl='-Qoption ld '
10218 lt_prog_compiler_pic='-PIC'
10219 lt_prog_compiler_static='-Bstatic'
10222 sysv4 | sysv4.2uw2* | sysv4.3*)
10223 lt_prog_compiler_wl='-Wl,'
10224 lt_prog_compiler_pic='-KPIC'
10225 lt_prog_compiler_static='-Bstatic'
10229 if test -d /usr/nec ;then
10230 lt_prog_compiler_pic='-Kconform_pic'
10231 lt_prog_compiler_static='-Bstatic'
10235 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10236 lt_prog_compiler_wl='-Wl,'
10237 lt_prog_compiler_pic='-KPIC'
10238 lt_prog_compiler_static='-Bstatic'
10242 lt_prog_compiler_wl='-Wl,'
10243 lt_prog_compiler_can_build_shared=no
10247 lt_prog_compiler_pic='-pic'
10248 lt_prog_compiler_static='-Bstatic'
10252 lt_prog_compiler_can_build_shared=no
10258 # For platforms which do not support PIC, -DPIC is meaningless:
10260 lt_prog_compiler_pic=
10263 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10268 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10269 if ${lt_cv_prog_compiler_pic+:} false; then :
10270 $as_echo_n "(cached) " >&6
10272 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10275 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10276 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10279 # Check to make sure the PIC flag actually works.
10281 if test -n "$lt_prog_compiler_pic"; then
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10283 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10284 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10285 $as_echo_n "(cached) " >&6
10287 lt_cv_prog_compiler_pic_works=no
10288 ac_outfile=conftest.$ac_objext
10289 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10290 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10291 # Insert the option either (1) after the last *FLAGS variable, or
10292 # (2) before a word containing "conftest.", or (3) at the end.
10293 # Note that $ac_compile itself does not contain backslashes and begins
10294 # with a dollar sign (not a hyphen), so the echo should work correctly.
10295 # The option is referenced via a variable to avoid confusing sed.
10296 lt_compile=`echo "$ac_compile" | $SED \
10297 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10298 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10299 -e 's:$: $lt_compiler_flag:'`
10300 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10301 (eval "$lt_compile" 2>conftest.err)
10303 cat conftest.err >&5
10304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10305 if (exit $ac_status) && test -s "$ac_outfile"; then
10306 # The compiler can only warn and ignore the option if not recognized
10307 # So say no if there are warnings other than the usual output.
10308 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10309 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10310 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10311 lt_cv_prog_compiler_pic_works=yes
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10318 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10320 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10321 case $lt_prog_compiler_pic in
10323 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10326 lt_prog_compiler_pic=
10327 lt_prog_compiler_can_build_shared=no
10343 # Check to make sure the static flag actually works.
10345 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10347 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10348 if ${lt_cv_prog_compiler_static_works+:} false; then :
10349 $as_echo_n "(cached) " >&6
10351 lt_cv_prog_compiler_static_works=no
10352 save_LDFLAGS="$LDFLAGS"
10353 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10354 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10355 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10356 # The linker can only warn and ignore the option if not recognized
10357 # So say no if there are warnings
10358 if test -s conftest.err; then
10359 # Append any errors to the config.log.
10360 cat conftest.err 1>&5
10361 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10362 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10363 if diff conftest.exp conftest.er2 >/dev/null; then
10364 lt_cv_prog_compiler_static_works=yes
10367 lt_cv_prog_compiler_static_works=yes
10371 LDFLAGS="$save_LDFLAGS"
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10375 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10377 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10380 lt_prog_compiler_static=
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10390 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10391 if ${lt_cv_prog_compiler_c_o+:} false; then :
10392 $as_echo_n "(cached) " >&6
10394 lt_cv_prog_compiler_c_o=no
10395 $RM -r conftest 2>/dev/null
10399 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10401 lt_compiler_flag="-o out/conftest2.$ac_objext"
10402 # Insert the option either (1) after the last *FLAGS variable, or
10403 # (2) before a word containing "conftest.", or (3) at the end.
10404 # Note that $ac_compile itself does not contain backslashes and begins
10405 # with a dollar sign (not a hyphen), so the echo should work correctly.
10406 lt_compile=`echo "$ac_compile" | $SED \
10407 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10408 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10409 -e 's:$: $lt_compiler_flag:'`
10410 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10411 (eval "$lt_compile" 2>out/conftest.err)
10413 cat out/conftest.err >&5
10414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10415 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10417 # The compiler can only warn and ignore the option if not recognized
10418 # So say no if there are warnings
10419 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10420 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10421 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10422 lt_cv_prog_compiler_c_o=yes
10427 # SGI C++ compiler will create directory out/ii_files/ for
10428 # template instantiation
10429 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10430 $RM out/* && rmdir out
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10437 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10445 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10446 if ${lt_cv_prog_compiler_c_o+:} false; then :
10447 $as_echo_n "(cached) " >&6
10449 lt_cv_prog_compiler_c_o=no
10450 $RM -r conftest 2>/dev/null
10454 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10456 lt_compiler_flag="-o out/conftest2.$ac_objext"
10457 # Insert the option either (1) after the last *FLAGS variable, or
10458 # (2) before a word containing "conftest.", or (3) at the end.
10459 # Note that $ac_compile itself does not contain backslashes and begins
10460 # with a dollar sign (not a hyphen), so the echo should work correctly.
10461 lt_compile=`echo "$ac_compile" | $SED \
10462 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10463 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10464 -e 's:$: $lt_compiler_flag:'`
10465 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10466 (eval "$lt_compile" 2>out/conftest.err)
10468 cat out/conftest.err >&5
10469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10470 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10472 # The compiler can only warn and ignore the option if not recognized
10473 # So say no if there are warnings
10474 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10475 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10476 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10477 lt_cv_prog_compiler_c_o=yes
10482 # SGI C++ compiler will create directory out/ii_files/ for
10483 # template instantiation
10484 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10485 $RM out/* && rmdir out
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10492 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10497 hard_links="nottested"
10498 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10499 # do not overwrite the value of need_locks provided by the user
10500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10501 $as_echo_n "checking if we can lock with hard links... " >&6; }
10504 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10506 ln conftest.a conftest.b 2>&5 || hard_links=no
10507 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10509 $as_echo "$hard_links" >&6; }
10510 if test "$hard_links" = no; then
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10512 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10525 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10528 allow_undefined_flag=
10529 always_export_symbols=no
10531 archive_expsym_cmds=
10532 compiler_needs_object=no
10533 enable_shared_with_static_runtimes=no
10534 export_dynamic_flag_spec=
10535 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10536 hardcode_automatic=no
10538 hardcode_direct_absolute=no
10539 hardcode_libdir_flag_spec=
10540 hardcode_libdir_separator=
10541 hardcode_minus_L=no
10542 hardcode_shlibpath_var=unsupported
10544 link_all_deplibs=unknown
10546 module_expsym_cmds=
10547 old_archive_from_new_cmds=
10548 old_archive_from_expsyms_cmds=
10549 thread_safe_flag_spec=
10550 whole_archive_flag_spec=
10551 # include_expsyms should be a list of space-separated symbols to be *always*
10552 # included in the symbol list
10554 # exclude_expsyms can be an extended regexp of symbols to exclude
10555 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10556 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10557 # as well as any symbol that contains `d'.
10558 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10559 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10560 # platforms (ab)use it in PIC code, but their linkers get confused if
10561 # the symbol is explicitly referenced. Since portable code cannot
10562 # rely on this symbol name, it's probably fine to never include it in
10563 # preloaded symbol tables.
10564 # Exclude shared library initialization/finalization symbols.
10565 extract_expsyms_cmds=
10568 cygwin* | mingw* | pw32* | cegcc*)
10569 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10570 # When not using gcc, we currently assume that we are using
10571 # Microsoft Visual C++.
10572 if test "$GCC" != yes; then
10577 # we just hope/assume this is gcc and not c89 (= MSVC++)
10587 # On some targets, GNU ld is compatible enough with the native linker
10588 # that we're better off using the native interface for both.
10589 lt_use_gnu_ld_interface=no
10590 if test "$with_gnu_ld" = yes; then
10593 # The AIX port of GNU ld has always aspired to compatibility
10594 # with the native linker. However, as the warning in the GNU ld
10595 # block says, versions before 2.19.5* couldn't really create working
10596 # shared libraries, regardless of the interface used.
10597 case `$LD -v 2>&1` in
10598 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10599 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10600 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10602 lt_use_gnu_ld_interface=yes
10607 lt_use_gnu_ld_interface=yes
10612 if test "$lt_use_gnu_ld_interface" = yes; then
10613 # If archive_cmds runs LD, not CC, wlarc should be empty
10616 # Set some defaults for GNU ld with shared library support. These
10617 # are reset later if shared libraries are not supported. Putting them
10618 # here allows them to be overridden if necessary.
10619 runpath_var=LD_RUN_PATH
10620 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10621 export_dynamic_flag_spec='${wl}--export-dynamic'
10622 # ancient GNU ld didn't support --whole-archive et. al.
10623 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10624 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10626 whole_archive_flag_spec=
10628 supports_anon_versioning=no
10629 case `$LD -v 2>&1` in
10630 *GNU\ gold*) supports_anon_versioning=yes ;;
10631 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10632 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10633 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10634 *\ 2.11.*) ;; # other 2.11 versions
10635 *) supports_anon_versioning=yes ;;
10638 # See if GNU ld supports shared libraries.
10641 # On AIX/PPC, the GNU linker is very broken
10642 if test "$host_cpu" != ia64; then
10646 *** Warning: the GNU linker, at least up to release 2.19, is reported
10647 *** to be unable to reliably create shared libraries on AIX.
10648 *** Therefore, libtool is disabling shared libraries support. If you
10649 *** really care for shared libraries, you may want to install binutils
10650 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10651 *** You will then need to restart the configuration process.
10660 # see comment about AmigaOS4 .so support
10661 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10662 archive_expsym_cmds=''
10665 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)'
10666 hardcode_libdir_flag_spec='-L$libdir'
10667 hardcode_minus_L=yes
10673 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10674 allow_undefined_flag=unsupported
10675 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10676 # support --undefined. This deserves some investigation. FIXME
10677 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10683 cygwin* | mingw* | pw32* | cegcc*)
10684 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10685 # as there is no search path for DLLs.
10686 hardcode_libdir_flag_spec='-L$libdir'
10687 export_dynamic_flag_spec='${wl}--export-all-symbols'
10688 allow_undefined_flag=unsupported
10689 always_export_symbols=no
10690 enable_shared_with_static_runtimes=yes
10691 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'
10692 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10694 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10695 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10696 # If the export-symbols file already is a .def file (1st line
10697 # is EXPORTS), use it as is; otherwise, prepend...
10698 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10699 cp $export_symbols $output_objdir/$soname.def;
10701 echo EXPORTS > $output_objdir/$soname.def;
10702 cat $export_symbols >> $output_objdir/$soname.def;
10704 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10711 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10712 link_all_deplibs=yes
10717 hardcode_shlibpath_var=no
10718 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10719 export_dynamic_flag_spec='${wl}-E'
10720 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10721 # Instead, shared libraries are loaded at an image base (0x10000000 by
10722 # default) and relocated if they conflict, which is a slow very memory
10723 # consuming and fragmenting process. To avoid this, we pick a random,
10724 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10725 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10726 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10727 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'
10730 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10732 if test "$host_os" = linux-dietlibc; then
10733 case $cc_basename in
10734 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10737 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10738 && test "$tmp_diet" = no
10740 tmp_addflag=' $pic_flag'
10741 tmp_sharedflag='-shared'
10742 case $cc_basename,$host_cpu in
10743 pgcc*) # Portland Group C compiler
10744 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'
10745 tmp_addflag=' $pic_flag'
10747 pgf77* | pgf90* | pgf95* | pgfortran*)
10748 # Portland Group f77 and f90 compilers
10749 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'
10750 tmp_addflag=' $pic_flag -Mnomain' ;;
10751 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10752 tmp_addflag=' -i_dynamic' ;;
10753 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10754 tmp_addflag=' -i_dynamic -nofor_main' ;;
10755 ifc* | ifort*) # Intel Fortran compiler
10756 tmp_addflag=' -nofor_main' ;;
10757 lf95*) # Lahey Fortran 8.1
10758 whole_archive_flag_spec=
10759 tmp_sharedflag='--shared' ;;
10760 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10761 tmp_sharedflag='-qmkshrobj'
10763 nvcc*) # Cuda Compiler Driver 2.2
10764 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'
10765 compiler_needs_object=yes
10768 case `$CC -V 2>&1 | sed 5q` in
10769 *Sun\ C*) # Sun C 5.9
10770 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'
10771 compiler_needs_object=yes
10772 tmp_sharedflag='-G' ;;
10773 *Sun\ F*) # Sun Fortran 8.3
10774 tmp_sharedflag='-G' ;;
10776 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10778 if test "x$supports_anon_versioning" = xyes; then
10779 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10780 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10781 echo "local: *; };" >> $output_objdir/$libname.ver~
10782 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10785 case $cc_basename in
10786 xlf* | bgf* | bgxlf* | mpixlf*)
10787 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10788 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10789 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10790 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10791 if test "x$supports_anon_versioning" = xyes; then
10792 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10793 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10794 echo "local: *; };" >> $output_objdir/$libname.ver~
10795 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10805 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10806 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10809 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10810 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10815 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10819 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10820 *** create shared libraries on Solaris systems. Therefore, libtool
10821 *** is disabling shared libraries support. We urge you to upgrade GNU
10822 *** binutils to release 2.9.1 or newer. Another option is to modify
10823 *** your PATH or compiler configuration so that the native linker is
10824 *** used, and then restart.
10827 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10828 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10829 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10835 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10836 case `$LD -v 2>&1` in
10837 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10841 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10842 *** reliably create shared libraries on SCO systems. Therefore, libtool
10843 *** is disabling shared libraries support. We urge you to upgrade GNU
10844 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10845 *** your PATH or compiler configuration so that the native linker is
10846 *** used, and then restart.
10851 # For security reasons, it is highly recommended that you always
10852 # use absolute paths for naming shared libraries, and exclude the
10853 # DT_RUNPATH tag from executables and libraries. But doing so
10854 # requires that you compile everything twice, which is a pain.
10855 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10856 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10857 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10858 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10867 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10869 hardcode_direct=yes
10870 hardcode_shlibpath_var=no
10874 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10875 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10876 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10883 if test "$ld_shlibs" = no; then
10885 hardcode_libdir_flag_spec=
10886 export_dynamic_flag_spec=
10887 whole_archive_flag_spec=
10890 # PORTME fill in a description of your system's linker (not GNU ld)
10893 allow_undefined_flag=unsupported
10894 always_export_symbols=yes
10895 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'
10896 # Note: this linker hardcodes the directories in LIBPATH if there
10897 # are no directories specified by -L.
10898 hardcode_minus_L=yes
10899 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10900 # Neither direct hardcoding nor static linking is supported with a
10902 hardcode_direct=unsupported
10907 if test "$host_cpu" = ia64; then
10908 # On IA64, the linker does run time linking by default, so we don't
10909 # have to do anything special.
10910 aix_use_runtimelinking=no
10911 exp_sym_flag='-Bexport'
10914 # If we're using GNU nm, then we don't want the "-C" option.
10915 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10916 # Also, AIX nm treats weak defined symbols like other global
10917 # defined symbols, whereas GNU nm marks them as "W".
10918 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10919 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'
10921 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'
10923 aix_use_runtimelinking=no
10925 # Test if we are trying to use run time linking or normal
10926 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10927 # need to do runtime linking.
10928 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10929 for ld_flag in $LDFLAGS; do
10930 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10931 aix_use_runtimelinking=yes
10938 exp_sym_flag='-bexport'
10939 no_entry_flag='-bnoentry'
10942 # When large executables or shared objects are built, AIX ld can
10943 # have problems creating the table of contents. If linking a library
10944 # or program results in "error TOC overflow" add -mminimal-toc to
10945 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10946 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10949 hardcode_direct=yes
10950 hardcode_direct_absolute=yes
10951 hardcode_libdir_separator=':'
10952 link_all_deplibs=yes
10953 file_list_spec='${wl}-f,'
10955 if test "$GCC" = yes; then
10956 case $host_os in aix4.[012]|aix4.[012].*)
10957 # We only want to do this on AIX 4.2 and lower, the check
10958 # below for broken collect2 doesn't work under 4.3+
10959 collect2name=`${CC} -print-prog-name=collect2`
10960 if test -f "$collect2name" &&
10961 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10963 # We have reworked collect2
10966 # We have old collect2
10967 hardcode_direct=unsupported
10968 # It fails to find uninstalled libraries when the uninstalled
10969 # path is not listed in the libpath. Setting hardcode_minus_L
10970 # to unsupported forces relinking
10971 hardcode_minus_L=yes
10972 hardcode_libdir_flag_spec='-L$libdir'
10973 hardcode_libdir_separator=
10977 shared_flag='-shared'
10978 if test "$aix_use_runtimelinking" = yes; then
10979 shared_flag="$shared_flag "'${wl}-G'
10983 if test "$host_cpu" = ia64; then
10984 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10985 # chokes on -Wl,-G. The following line is correct:
10988 if test "$aix_use_runtimelinking" = yes; then
10989 shared_flag='${wl}-G'
10991 shared_flag='${wl}-bM:SRE'
10996 export_dynamic_flag_spec='${wl}-bexpall'
10997 # It seems that -bexpall does not export symbols beginning with
10998 # underscore (_), so it is better to generate a list of symbols to export.
10999 always_export_symbols=yes
11000 if test "$aix_use_runtimelinking" = yes; then
11001 # Warning - without using the other runtime loading flags (-brtl),
11002 # -berok will link without error, but may produce a broken library.
11003 allow_undefined_flag='-berok'
11004 # Determine the default libpath from the value encoded in an
11005 # empty executable.
11006 if test "${lt_cv_aix_libpath+set}" = set; then
11007 aix_libpath=$lt_cv_aix_libpath
11009 if ${lt_cv_aix_libpath_+:} false; then :
11010 $as_echo_n "(cached) " >&6
11012 if test x$ac_no_link = xyes; then
11013 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
11015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11016 /* end confdefs.h. */
11026 if ac_fn_c_try_link "$LINENO"; then :
11028 lt_aix_libpath_sed='
11029 /Import File Strings/,/^$/ {
11031 s/^0 *\([^ ]*\) *$/\1/
11035 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11036 # Check for a 64-bit object if we didn't find anything.
11037 if test -z "$lt_cv_aix_libpath_"; then
11038 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11041 rm -f core conftest.err conftest.$ac_objext \
11042 conftest$ac_exeext conftest.$ac_ext
11043 if test -z "$lt_cv_aix_libpath_"; then
11044 lt_cv_aix_libpath_="/usr/lib:/lib"
11049 aix_libpath=$lt_cv_aix_libpath_
11052 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11053 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"
11055 if test "$host_cpu" = ia64; then
11056 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
11057 allow_undefined_flag="-z nodefs"
11058 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"
11060 # Determine the default libpath from the value encoded in an
11061 # empty executable.
11062 if test "${lt_cv_aix_libpath+set}" = set; then
11063 aix_libpath=$lt_cv_aix_libpath
11065 if ${lt_cv_aix_libpath_+:} false; then :
11066 $as_echo_n "(cached) " >&6
11068 if test x$ac_no_link = xyes; then
11069 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
11071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11072 /* end confdefs.h. */
11082 if ac_fn_c_try_link "$LINENO"; then :
11084 lt_aix_libpath_sed='
11085 /Import File Strings/,/^$/ {
11087 s/^0 *\([^ ]*\) *$/\1/
11091 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11092 # Check for a 64-bit object if we didn't find anything.
11093 if test -z "$lt_cv_aix_libpath_"; then
11094 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11097 rm -f core conftest.err conftest.$ac_objext \
11098 conftest$ac_exeext conftest.$ac_ext
11099 if test -z "$lt_cv_aix_libpath_"; then
11100 lt_cv_aix_libpath_="/usr/lib:/lib"
11105 aix_libpath=$lt_cv_aix_libpath_
11108 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11109 # Warning - without using the other run time loading flags,
11110 # -berok will link without error, but may produce a broken library.
11111 no_undefined_flag=' ${wl}-bernotok'
11112 allow_undefined_flag=' ${wl}-berok'
11113 if test "$with_gnu_ld" = yes; then
11114 # We only use this code for GNU lds that support --whole-archive.
11115 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11117 # Exported symbols can be pulled into shared objects from archives
11118 whole_archive_flag_spec='$convenience'
11120 archive_cmds_need_lc=yes
11121 # This is similar to how AIX traditionally builds its shared libraries.
11122 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'
11130 # see comment about AmigaOS4 .so support
11131 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11132 archive_expsym_cmds=''
11135 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)'
11136 hardcode_libdir_flag_spec='-L$libdir'
11137 hardcode_minus_L=yes
11143 export_dynamic_flag_spec=-rdynamic
11146 cygwin* | mingw* | pw32* | cegcc*)
11147 # When not using gcc, we currently assume that we are using
11148 # Microsoft Visual C++.
11149 # hardcode_libdir_flag_spec is actually meaningless, as there is
11150 # no search path for DLLs.
11151 case $cc_basename in
11154 hardcode_libdir_flag_spec=' '
11155 allow_undefined_flag=unsupported
11156 always_export_symbols=yes
11158 # Tell ltmain to make .lib files, not .a files.
11160 # Tell ltmain to make .dll files, not .so files.
11162 # FIXME: Setting linknames here is a bad hack.
11163 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
11164 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11165 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
11167 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
11169 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11171 # The linker will not automatically build a static lib if we build a DLL.
11172 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11173 enable_shared_with_static_runtimes=yes
11174 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11175 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11177 old_postinstall_cmds='chmod 644 $oldlib'
11178 postlink_cmds='lt_outputfile="@OUTPUT@"~
11179 lt_tool_outputfile="@TOOL_OUTPUT@"~
11180 case $lt_outputfile in
11183 lt_outputfile="$lt_outputfile.exe"
11184 lt_tool_outputfile="$lt_tool_outputfile.exe"
11187 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
11188 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11189 $RM "$lt_outputfile.manifest";
11193 # Assume MSVC wrapper
11194 hardcode_libdir_flag_spec=' '
11195 allow_undefined_flag=unsupported
11196 # Tell ltmain to make .lib files, not .a files.
11198 # Tell ltmain to make .dll files, not .so files.
11200 # FIXME: Setting linknames here is a bad hack.
11201 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11202 # The linker will automatically build a .lib file if we build a DLL.
11203 old_archive_from_new_cmds='true'
11204 # FIXME: Should let the user specify the lib program.
11205 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11206 enable_shared_with_static_runtimes=yes
11211 darwin* | rhapsody*)
11214 archive_cmds_need_lc=no
11216 hardcode_automatic=yes
11217 hardcode_shlibpath_var=unsupported
11218 if test "$lt_cv_ld_force_load" = "yes"; then
11219 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\"`'
11222 whole_archive_flag_spec=''
11224 link_all_deplibs=yes
11225 allow_undefined_flag="$_lt_dar_allow_undefined"
11226 case $cc_basename in
11227 ifort*) _lt_dar_can_shared=yes ;;
11228 *) _lt_dar_can_shared=$GCC ;;
11230 if test "$_lt_dar_can_shared" = "yes"; then
11231 output_verbose_link_cmd=func_echo_all
11232 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11233 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11234 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}"
11235 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}"
11244 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11245 hardcode_libdir_flag_spec='-L$libdir'
11246 hardcode_shlibpath_var=no
11249 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11250 # support. Future versions do this automatically, but an explicit c++rt0.o
11251 # does not break anything, and helps significantly (at the cost of a little
11254 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11255 hardcode_libdir_flag_spec='-R$libdir'
11256 hardcode_direct=yes
11257 hardcode_shlibpath_var=no
11260 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11262 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11263 hardcode_direct=yes
11264 hardcode_minus_L=yes
11265 hardcode_shlibpath_var=no
11268 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11269 freebsd* | dragonfly*)
11270 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11271 hardcode_libdir_flag_spec='-R$libdir'
11272 hardcode_direct=yes
11273 hardcode_shlibpath_var=no
11277 if test "$GCC" = yes; then
11278 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'
11280 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'
11282 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11283 hardcode_libdir_separator=:
11284 hardcode_direct=yes
11286 # hardcode_minus_L: Not really in the search PATH,
11287 # but as the default location of the library.
11288 hardcode_minus_L=yes
11289 export_dynamic_flag_spec='${wl}-E'
11293 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11294 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11296 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11298 if test "$with_gnu_ld" = no; then
11299 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11300 hardcode_libdir_separator=:
11301 hardcode_direct=yes
11302 hardcode_direct_absolute=yes
11303 export_dynamic_flag_spec='${wl}-E'
11304 # hardcode_minus_L: Not really in the search PATH,
11305 # but as the default location of the library.
11306 hardcode_minus_L=yes
11311 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11314 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11317 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11320 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11326 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11329 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11333 # Older versions of the 11.00 compiler do not understand -b yet
11334 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11336 $as_echo_n "checking if $CC understands -b... " >&6; }
11337 if ${lt_cv_prog_compiler__b+:} false; then :
11338 $as_echo_n "(cached) " >&6
11340 lt_cv_prog_compiler__b=no
11341 save_LDFLAGS="$LDFLAGS"
11342 LDFLAGS="$LDFLAGS -b"
11343 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11344 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11345 # The linker can only warn and ignore the option if not recognized
11346 # So say no if there are warnings
11347 if test -s conftest.err; then
11348 # Append any errors to the config.log.
11349 cat conftest.err 1>&5
11350 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11351 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11352 if diff conftest.exp conftest.er2 >/dev/null; then
11353 lt_cv_prog_compiler__b=yes
11356 lt_cv_prog_compiler__b=yes
11360 LDFLAGS="$save_LDFLAGS"
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11364 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11366 if test x"$lt_cv_prog_compiler__b" = xyes; then
11367 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11369 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11375 if test "$with_gnu_ld" = no; then
11376 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11377 hardcode_libdir_separator=:
11382 hardcode_shlibpath_var=no
11385 hardcode_direct=yes
11386 hardcode_direct_absolute=yes
11387 export_dynamic_flag_spec='${wl}-E'
11389 # hardcode_minus_L: Not really in the search PATH,
11390 # but as the default location of the library.
11391 hardcode_minus_L=yes
11397 irix5* | irix6* | nonstopux*)
11398 if test "$GCC" = yes; then
11399 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'
11400 # Try to use the -exported_symbol ld option, if it does not
11401 # work, assume that -exports_file does not work either and
11402 # implicitly export all symbols.
11403 # This should be the same for all languages, so no per-tag cache variable.
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11405 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11406 if ${lt_cv_irix_exported_symbol+:} false; then :
11407 $as_echo_n "(cached) " >&6
11409 save_LDFLAGS="$LDFLAGS"
11410 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11411 if test x$ac_no_link = xyes; then
11412 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
11414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11415 /* end confdefs.h. */
11416 int foo (void) { return 0; }
11418 if ac_fn_c_try_link "$LINENO"; then :
11419 lt_cv_irix_exported_symbol=yes
11421 lt_cv_irix_exported_symbol=no
11423 rm -f core conftest.err conftest.$ac_objext \
11424 conftest$ac_exeext conftest.$ac_ext
11425 LDFLAGS="$save_LDFLAGS"
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11428 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11429 if test "$lt_cv_irix_exported_symbol" = yes; then
11430 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'
11433 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'
11434 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'
11436 archive_cmds_need_lc='no'
11437 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11438 hardcode_libdir_separator=:
11440 link_all_deplibs=yes
11444 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11445 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11447 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11449 hardcode_libdir_flag_spec='-R$libdir'
11450 hardcode_direct=yes
11451 hardcode_shlibpath_var=no
11455 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11456 hardcode_direct=yes
11457 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11458 hardcode_libdir_separator=:
11459 hardcode_shlibpath_var=no
11466 if test -f /usr/libexec/ld.so; then
11467 hardcode_direct=yes
11468 hardcode_shlibpath_var=no
11469 hardcode_direct_absolute=yes
11470 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11471 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11472 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11473 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11474 export_dynamic_flag_spec='${wl}-E'
11477 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11478 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11479 hardcode_libdir_flag_spec='-R$libdir'
11482 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11483 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11493 hardcode_libdir_flag_spec='-L$libdir'
11494 hardcode_minus_L=yes
11495 allow_undefined_flag=unsupported
11496 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'
11497 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11501 if test "$GCC" = yes; then
11502 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11503 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'
11505 allow_undefined_flag=' -expect_unresolved \*'
11506 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'
11508 archive_cmds_need_lc='no'
11509 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11510 hardcode_libdir_separator=:
11513 osf4* | osf5*) # as osf3* with the addition of -msym flag
11514 if test "$GCC" = yes; then
11515 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11516 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'
11517 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11519 allow_undefined_flag=' -expect_unresolved \*'
11520 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'
11521 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~
11522 $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'
11524 # Both c and cxx compiler support -rpath directly
11525 hardcode_libdir_flag_spec='-rpath $libdir'
11527 archive_cmds_need_lc='no'
11528 hardcode_libdir_separator=:
11532 no_undefined_flag=' -z defs'
11533 if test "$GCC" = yes; then
11535 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11536 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11537 $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'
11539 case `$CC -V 2>&1` in
11542 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11543 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11544 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11548 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11549 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11550 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11554 hardcode_libdir_flag_spec='-R$libdir'
11555 hardcode_shlibpath_var=no
11557 solaris2.[0-5] | solaris2.[0-5].*) ;;
11559 # The compiler driver will combine and reorder linker options,
11560 # but understands `-z linker_flag'. GCC discards it without `$wl',
11561 # but is careful enough not to reorder.
11562 # Supported since Solaris 2.6 (maybe 2.5.1?)
11563 if test "$GCC" = yes; then
11564 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11566 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11570 link_all_deplibs=yes
11574 if test "x$host_vendor" = xsequent; then
11575 # Use $CC to link under sequent, because it throws in some extra .o
11576 # files that make .init and .fini sections work.
11577 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11579 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11581 hardcode_libdir_flag_spec='-L$libdir'
11582 hardcode_direct=yes
11583 hardcode_minus_L=yes
11584 hardcode_shlibpath_var=no
11588 case $host_vendor in
11590 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11591 hardcode_direct=yes # is this really true???
11594 ## LD is ld it makes a PLAMLIB
11595 ## CC just makes a GrossModule.
11596 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11597 reload_cmds='$CC -r -o $output$reload_objs'
11601 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11602 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11605 runpath_var='LD_RUN_PATH'
11606 hardcode_shlibpath_var=no
11610 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11611 hardcode_shlibpath_var=no
11612 export_dynamic_flag_spec='-Bexport'
11616 if test -d /usr/nec; then
11617 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11618 hardcode_shlibpath_var=no
11619 runpath_var=LD_RUN_PATH
11620 hardcode_runpath_var=yes
11625 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11626 no_undefined_flag='${wl}-z,text'
11627 archive_cmds_need_lc=no
11628 hardcode_shlibpath_var=no
11629 runpath_var='LD_RUN_PATH'
11631 if test "$GCC" = yes; then
11632 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11633 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11635 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11636 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11640 sysv5* | sco3.2v5* | sco5v6*)
11641 # Note: We can NOT use -z defs as we might desire, because we do not
11642 # link with -lc, and that would cause any symbols used from libc to
11643 # always be unresolved, which means just about no library would
11644 # ever link correctly. If we're not using GNU ld we use -z text
11645 # though, which does catch some bad symbols but isn't as heavy-handed
11647 no_undefined_flag='${wl}-z,text'
11648 allow_undefined_flag='${wl}-z,nodefs'
11649 archive_cmds_need_lc=no
11650 hardcode_shlibpath_var=no
11651 hardcode_libdir_flag_spec='${wl}-R,$libdir'
11652 hardcode_libdir_separator=':'
11653 link_all_deplibs=yes
11654 export_dynamic_flag_spec='${wl}-Bexport'
11655 runpath_var='LD_RUN_PATH'
11657 if test "$GCC" = yes; then
11658 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11659 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11661 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11662 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11667 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11668 hardcode_libdir_flag_spec='-L$libdir'
11669 hardcode_shlibpath_var=no
11677 if test x$host_vendor = xsni; then
11679 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11680 export_dynamic_flag_spec='${wl}-Blargedynsym'
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11687 $as_echo "$ld_shlibs" >&6; }
11688 test "$ld_shlibs" = no && can_build_shared=no
11690 with_gnu_ld=$with_gnu_ld
11707 # Do we need to explicitly link libc?
11709 case "x$archive_cmds_need_lc" in
11711 # Assume -lc should be added
11712 archive_cmds_need_lc=yes
11714 if test "$enable_shared" = yes && test "$GCC" = yes; then
11715 case $archive_cmds in
11717 # FIXME: we may have to deal with multi-command sequences.
11720 # Test whether the compiler implicitly links with -lc since on some
11721 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11722 # to ld, don't add -lc before -lgcc.
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11724 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11725 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11726 $as_echo_n "(cached) " >&6
11729 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11731 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11732 (eval $ac_compile) 2>&5
11734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11735 test $ac_status = 0; } 2>conftest.err; then
11738 libobjs=conftest.$ac_objext
11740 wl=$lt_prog_compiler_wl
11741 pic_flag=$lt_prog_compiler_pic
11747 lt_save_allow_undefined_flag=$allow_undefined_flag
11748 allow_undefined_flag=
11749 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11750 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11753 test $ac_status = 0; }
11755 lt_cv_archive_cmds_need_lc=no
11757 lt_cv_archive_cmds_need_lc=yes
11759 allow_undefined_flag=$lt_save_allow_undefined_flag
11761 cat conftest.err 1>&5
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11767 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11768 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11927 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11929 if test "$GCC" = yes; then
11931 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11932 *) lt_awk_arg="/^libraries:/" ;;
11935 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11936 *) lt_sed_strip_eq="s,=/,/,g" ;;
11938 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11939 case $lt_search_path_spec in
11941 # if the path contains ";" then we assume it to be the separator
11942 # otherwise default to the standard path separator (i.e. ":") - it is
11943 # assumed that no part of a normal pathname contains ";" but that should
11944 # okay in the real world where ";" in dirpaths is itself problematic.
11945 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11948 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11951 # Ok, now we have the path, separated by spaces, we can step through it
11952 # and add multilib dir if necessary.
11953 lt_tmp_lt_search_path_spec=
11954 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11955 for lt_sys_path in $lt_search_path_spec; do
11956 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11957 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11959 test -d "$lt_sys_path" && \
11960 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11963 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11964 BEGIN {RS=" "; FS="/|\n";} {
11967 for (lt_i = NF; lt_i > 0; lt_i--) {
11968 if ($lt_i != "" && $lt_i != ".") {
11969 if ($lt_i == "..") {
11972 if (lt_count == 0) {
11973 lt_foo="/" $lt_i lt_foo;
11980 if (lt_foo != "") { lt_freq[lt_foo]++; }
11981 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11983 # AWK program above erroneously prepends '/' to C:/dos/paths
11986 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11987 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11989 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11991 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11993 library_names_spec=
11994 libname_spec='lib$name'
11998 postuninstall_cmds=
12002 shlibpath_overrides_runpath=unknown
12004 dynamic_linker="$host_os ld.so"
12005 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12006 need_lib_prefix=unknown
12007 hardcode_into_libs=no
12009 # when you set need_version to no, make sure it does not cause -set_version
12010 # flags to be left without arguments
12011 need_version=unknown
12015 version_type=linux # correct to gnu/linux during the next big refactor
12016 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12017 shlibpath_var=LIBPATH
12019 # AIX 3 has no versioning support, so we append a major version to the name.
12020 soname_spec='${libname}${release}${shared_ext}$major'
12024 version_type=linux # correct to gnu/linux during the next big refactor
12027 hardcode_into_libs=yes
12028 if test "$host_cpu" = ia64; then
12029 # AIX 5 supports IA64
12030 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12031 shlibpath_var=LD_LIBRARY_PATH
12033 # With GCC up to 2.95.x, collect2 would create an import file
12034 # for dependence libraries. The import file would start with
12035 # the line `#! .'. This would cause the generated library to
12036 # depend on `.', always an invalid library. This was fixed in
12037 # development snapshots of GCC prior to 3.0.
12039 aix4 | aix4.[01] | aix4.[01].*)
12040 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12042 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12045 can_build_shared=no
12049 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12050 # soname into executable. Probably we can add versioning support to
12051 # collect2, so additional links can be useful in future.
12052 if test "$aix_use_runtimelinking" = yes; then
12053 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12054 # instead of lib<name>.a to let people know that these are not
12055 # typical AIX shared libraries.
12056 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12058 # We preserve .a as extension for shared libraries through AIX4.2
12059 # and later when we are not doing run time linking.
12060 library_names_spec='${libname}${release}.a $libname.a'
12061 soname_spec='${libname}${release}${shared_ext}$major'
12063 shlibpath_var=LIBPATH
12070 # Since July 2007 AmigaOS4 officially supports .so libraries.
12071 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12072 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12075 library_names_spec='$libname.ixlibrary $libname.a'
12076 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12077 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'
12083 library_names_spec='${libname}${shared_ext}'
12084 dynamic_linker="$host_os ld.so"
12085 shlibpath_var=LIBRARY_PATH
12089 version_type=linux # correct to gnu/linux during the next big refactor
12091 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12092 soname_spec='${libname}${release}${shared_ext}$major'
12093 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12094 shlibpath_var=LD_LIBRARY_PATH
12095 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12096 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12097 # the default ld.so.conf also contains /usr/contrib/lib and
12098 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12099 # libtool to hard-code these into programs
12102 cygwin* | mingw* | pw32* | cegcc*)
12103 version_type=windows
12108 case $GCC,$cc_basename in
12111 library_names_spec='$libname.dll.a'
12112 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12113 postinstall_cmds='base_file=`basename \${file}`~
12114 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12115 dldir=$destdir/`dirname \$dlpath`~
12116 test -d \$dldir || mkdir -p \$dldir~
12117 $install_prog $dir/$dlname \$dldir/$dlname~
12118 chmod a+x \$dldir/$dlname~
12119 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12120 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12122 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12123 dlpath=$dir/\$dldll~
12125 shlibpath_overrides_runpath=yes
12129 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12130 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12132 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12135 # MinGW DLLs use traditional 'lib' prefix
12136 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12139 # pw32 DLLs use 'pw' prefix rather than 'lib'
12140 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12143 dynamic_linker='Win32 ld.exe'
12148 libname_spec='$name'
12149 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12150 library_names_spec='${libname}.dll.lib'
12154 sys_lib_search_path_spec=
12157 for lt_path in $LIB
12160 # Let DOS variable expansion print the short 8.3 style file name.
12161 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12162 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12165 # Convert to MSYS style.
12166 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12169 # Convert to unix form, then to dos form, then back to unix form
12170 # but this time dos style (no spaces!) so that the unix form looks
12171 # like /cygdrive/c/PROGRA~1:/cygdr...
12172 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12173 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12174 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12177 sys_lib_search_path_spec="$LIB"
12178 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12179 # It is most probably a Windows format PATH.
12180 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12182 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12184 # FIXME: find the short name or the path components, as spaces are
12185 # common. (e.g. "Program Files" -> "PROGRA~1")
12189 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12190 postinstall_cmds='base_file=`basename \${file}`~
12191 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12192 dldir=$destdir/`dirname \$dlpath`~
12193 test -d \$dldir || mkdir -p \$dldir~
12194 $install_prog $dir/$dlname \$dldir/$dlname'
12195 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12196 dlpath=$dir/\$dldll~
12198 shlibpath_overrides_runpath=yes
12199 dynamic_linker='Win32 link.exe'
12203 # Assume MSVC wrapper
12204 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12205 dynamic_linker='Win32 ld.exe'
12208 # FIXME: first we should search . and the directory the executable is in
12212 darwin* | rhapsody*)
12213 dynamic_linker="$host_os dyld"
12214 version_type=darwin
12217 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12218 soname_spec='${libname}${release}${major}$shared_ext'
12219 shlibpath_overrides_runpath=yes
12220 shlibpath_var=DYLD_LIBRARY_PATH
12221 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12223 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12224 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12228 version_type=linux # correct to gnu/linux during the next big refactor
12231 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12232 soname_spec='${libname}${release}${shared_ext}$major'
12233 shlibpath_var=LD_LIBRARY_PATH
12236 freebsd* | dragonfly*)
12237 # DragonFly does not have aout. When/if they implement a new
12238 # versioning mechanism, adjust this.
12239 if test -x /usr/bin/objformat; then
12240 objformat=`/usr/bin/objformat`
12243 freebsd[23].*) objformat=aout ;;
12244 *) objformat=elf ;;
12247 version_type=freebsd-$objformat
12248 case $version_type in
12250 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12255 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12259 shlibpath_var=LD_LIBRARY_PATH
12262 shlibpath_overrides_runpath=yes
12264 freebsd3.[01]* | freebsdelf3.[01]*)
12265 shlibpath_overrides_runpath=yes
12266 hardcode_into_libs=yes
12268 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12269 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12270 shlibpath_overrides_runpath=no
12271 hardcode_into_libs=yes
12273 *) # from 4.6 on, and DragonFly
12274 shlibpath_overrides_runpath=yes
12275 hardcode_into_libs=yes
12281 version_type=linux # correct to gnu/linux during the next big refactor
12284 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12285 soname_spec='${libname}${release}${shared_ext}$major'
12286 shlibpath_var=LD_LIBRARY_PATH
12287 shlibpath_overrides_runpath=no
12288 hardcode_into_libs=yes
12292 version_type=linux # correct to gnu/linux during the next big refactor
12295 dynamic_linker="$host_os runtime_loader"
12296 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12297 soname_spec='${libname}${release}${shared_ext}$major'
12298 shlibpath_var=LIBRARY_PATH
12299 shlibpath_overrides_runpath=yes
12300 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12301 hardcode_into_libs=yes
12304 hpux9* | hpux10* | hpux11*)
12305 # Give a soname corresponding to the major version so that dld.sl refuses to
12306 # link against other versions.
12313 hardcode_into_libs=yes
12314 dynamic_linker="$host_os dld.so"
12315 shlibpath_var=LD_LIBRARY_PATH
12316 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12318 soname_spec='${libname}${release}${shared_ext}$major'
12319 if test "X$HPUX_IA64_MODE" = X32; then
12320 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12322 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12324 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12328 hardcode_into_libs=yes
12329 dynamic_linker="$host_os dld.sl"
12330 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12331 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12332 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12333 soname_spec='${libname}${release}${shared_ext}$major'
12334 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12335 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12339 dynamic_linker="$host_os dld.sl"
12340 shlibpath_var=SHLIB_PATH
12341 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12342 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12343 soname_spec='${libname}${release}${shared_ext}$major'
12346 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12347 postinstall_cmds='chmod 555 $lib'
12348 # or fails outright, so override atomically:
12349 install_override_mode=555
12353 version_type=linux # correct to gnu/linux during the next big refactor
12356 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12357 soname_spec='${libname}${release}${shared_ext}$major'
12358 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12359 shlibpath_var=LD_LIBRARY_PATH
12360 shlibpath_overrides_runpath=no
12361 hardcode_into_libs=yes
12364 irix5* | irix6* | nonstopux*)
12366 nonstopux*) version_type=nonstopux ;;
12368 if test "$lt_cv_prog_gnu_ld" = yes; then
12369 version_type=linux # correct to gnu/linux during the next big refactor
12376 soname_spec='${libname}${release}${shared_ext}$major'
12377 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12379 irix5* | nonstopux*)
12380 libsuff= shlibsuff=
12383 case $LD in # libtool.m4 will add one of these switches to LD
12384 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12385 libsuff= shlibsuff= libmagic=32-bit;;
12386 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12387 libsuff=32 shlibsuff=N32 libmagic=N32;;
12388 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12389 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12390 *) libsuff= shlibsuff= libmagic=never-match;;
12394 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12395 shlibpath_overrides_runpath=no
12396 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12397 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12398 hardcode_into_libs=yes
12401 # No shared lib support for Linux oldld, aout, or coff.
12402 linux*oldld* | linux*aout* | linux*coff*)
12406 # This must be glibc/ELF.
12407 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12408 version_type=linux # correct to gnu/linux during the next big refactor
12411 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12412 soname_spec='${libname}${release}${shared_ext}$major'
12413 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12414 shlibpath_var=LD_LIBRARY_PATH
12415 shlibpath_overrides_runpath=no
12417 # Some binutils ld are patched to set DT_RUNPATH
12418 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12419 $as_echo_n "(cached) " >&6
12421 lt_cv_shlibpath_overrides_runpath=no
12422 save_LDFLAGS=$LDFLAGS
12423 save_libdir=$libdir
12424 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12425 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12426 if test x$ac_no_link = xyes; then
12427 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
12429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12430 /* end confdefs.h. */
12440 if ac_fn_c_try_link "$LINENO"; then :
12441 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12442 lt_cv_shlibpath_overrides_runpath=yes
12445 rm -f core conftest.err conftest.$ac_objext \
12446 conftest$ac_exeext conftest.$ac_ext
12447 LDFLAGS=$save_LDFLAGS
12448 libdir=$save_libdir
12452 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12454 # This implies no fast_install, which is unacceptable.
12455 # Some rework will be needed to allow for fast_install
12456 # before this can be enabled.
12457 hardcode_into_libs=yes
12459 # Append ld.so.conf contents to the search path
12460 if test -f /etc/ld.so.conf; then
12461 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' ' '`
12462 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12465 # We used to test for /lib/ld.so.1 and disable shared libraries on
12466 # powerpc, because MkLinux only supported shared libraries with the
12467 # GNU dynamic linker. Since this was broken with cross compilers,
12468 # most powerpc-linux boxes support dynamic linking these days and
12469 # people can always --disable-shared, the test was removed, and we
12470 # assume the GNU/Linux dynamic linker is in use.
12471 dynamic_linker='GNU/Linux ld.so'
12478 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12479 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12480 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12481 dynamic_linker='NetBSD (a.out) ld.so'
12483 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12484 soname_spec='${libname}${release}${shared_ext}$major'
12485 dynamic_linker='NetBSD ld.elf_so'
12487 shlibpath_var=LD_LIBRARY_PATH
12488 shlibpath_overrides_runpath=yes
12489 hardcode_into_libs=yes
12493 version_type=linux # correct to gnu/linux during the next big refactor
12494 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12495 shlibpath_var=LD_LIBRARY_PATH
12496 shlibpath_overrides_runpath=yes
12503 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12504 soname_spec='${libname}${release}${shared_ext}$major'
12505 shlibpath_var=LD_LIBRARY_PATH
12506 shlibpath_overrides_runpath=no
12507 hardcode_into_libs=yes
12508 dynamic_linker='ldqnx.so'
12513 sys_lib_dlsearch_path_spec="/usr/lib"
12515 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12517 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12518 *) need_version=no ;;
12520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12521 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12522 shlibpath_var=LD_LIBRARY_PATH
12523 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12525 openbsd2.[89] | openbsd2.[89].*)
12526 shlibpath_overrides_runpath=no
12529 shlibpath_overrides_runpath=yes
12533 shlibpath_overrides_runpath=yes
12538 libname_spec='$name'
12541 library_names_spec='$libname${shared_ext} $libname.a'
12542 dynamic_linker='OS/2 ld.exe'
12543 shlibpath_var=LIBPATH
12546 osf3* | osf4* | osf5*)
12550 soname_spec='${libname}${release}${shared_ext}$major'
12551 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12552 shlibpath_var=LD_LIBRARY_PATH
12553 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12554 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12562 version_type=linux # correct to gnu/linux during the next big refactor
12565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12566 soname_spec='${libname}${release}${shared_ext}$major'
12567 shlibpath_var=LD_LIBRARY_PATH
12568 shlibpath_overrides_runpath=yes
12569 hardcode_into_libs=yes
12570 # ldd complains unless libraries are executable
12571 postinstall_cmds='chmod +x $lib'
12576 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12577 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12578 shlibpath_var=LD_LIBRARY_PATH
12579 shlibpath_overrides_runpath=yes
12580 if test "$with_gnu_ld" = yes; then
12587 version_type=linux # correct to gnu/linux during the next big refactor
12588 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12589 soname_spec='${libname}${release}${shared_ext}$major'
12590 shlibpath_var=LD_LIBRARY_PATH
12591 case $host_vendor in
12593 shlibpath_overrides_runpath=no
12595 runpath_var=LD_RUN_PATH
12603 shlibpath_overrides_runpath=no
12604 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12610 if test -d /usr/nec ;then
12611 version_type=linux # correct to gnu/linux during the next big refactor
12612 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12613 soname_spec='$libname${shared_ext}.$major'
12614 shlibpath_var=LD_LIBRARY_PATH
12618 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12619 version_type=freebsd-elf
12622 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12623 soname_spec='${libname}${release}${shared_ext}$major'
12624 shlibpath_var=LD_LIBRARY_PATH
12625 shlibpath_overrides_runpath=yes
12626 hardcode_into_libs=yes
12627 if test "$with_gnu_ld" = yes; then
12628 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12630 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12633 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12637 sys_lib_dlsearch_path_spec='/usr/lib'
12641 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12642 version_type=linux # correct to gnu/linux during the next big refactor
12645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12646 shlibpath_var=LD_LIBRARY_PATH
12647 shlibpath_overrides_runpath=no
12648 hardcode_into_libs=yes
12652 version_type=linux # correct to gnu/linux during the next big refactor
12653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12654 soname_spec='${libname}${release}${shared_ext}$major'
12655 shlibpath_var=LD_LIBRARY_PATH
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12663 $as_echo "$dynamic_linker" >&6; }
12664 test "$dynamic_linker" = no && can_build_shared=no
12666 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12667 if test "$GCC" = yes; then
12668 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12671 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12672 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12674 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12675 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12770 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12772 if test -n "$hardcode_libdir_flag_spec" ||
12773 test -n "$runpath_var" ||
12774 test "X$hardcode_automatic" = "Xyes" ; then
12776 # We can hardcode non-existent directories.
12777 if test "$hardcode_direct" != no &&
12778 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12779 # have to relink, otherwise we might link with an installed library
12780 # when we should be linking with a yet-to-be-installed one
12781 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12782 test "$hardcode_minus_L" != no; then
12783 # Linking always hardcodes the temporary library directory.
12784 hardcode_action=relink
12786 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12787 hardcode_action=immediate
12790 # We cannot hardcode anything, or else we can only hardcode existing
12792 hardcode_action=unsupported
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12795 $as_echo "$hardcode_action" >&6; }
12797 if test "$hardcode_action" = relink ||
12798 test "$inherit_rpath" = yes; then
12799 # Fast installation is not supported
12800 enable_fast_install=no
12801 elif test "$shlibpath_overrides_runpath" = yes ||
12802 test "$enable_shared" = no; then
12803 # Fast installation is not necessary
12804 enable_fast_install=needless
12812 if test "x$enable_dlopen" != xyes; then
12813 enable_dlopen=unknown
12814 enable_dlopen_self=unknown
12815 enable_dlopen_self_static=unknown
12822 lt_cv_dlopen="load_add_on"
12824 lt_cv_dlopen_self=yes
12827 mingw* | pw32* | cegcc*)
12828 lt_cv_dlopen="LoadLibrary"
12833 lt_cv_dlopen="dlopen"
12838 # if libdl is installed we need to link against it
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12840 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12841 if ${ac_cv_lib_dl_dlopen+:} false; then :
12842 $as_echo_n "(cached) " >&6
12844 ac_check_lib_save_LIBS=$LIBS
12846 if test x$ac_no_link = xyes; then
12847 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
12849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12850 /* end confdefs.h. */
12852 /* Override any GCC internal prototype to avoid an error.
12853 Use char because int might match the return type of a GCC
12854 builtin and then its argument prototype would still apply. */
12867 if ac_fn_c_try_link "$LINENO"; then :
12868 ac_cv_lib_dl_dlopen=yes
12870 ac_cv_lib_dl_dlopen=no
12872 rm -f core conftest.err conftest.$ac_objext \
12873 conftest$ac_exeext conftest.$ac_ext
12874 LIBS=$ac_check_lib_save_LIBS
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12877 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12878 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12879 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12882 lt_cv_dlopen="dyld"
12884 lt_cv_dlopen_self=yes
12891 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12892 if test "x$ac_cv_func_shl_load" = xyes; then :
12893 lt_cv_dlopen="shl_load"
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12896 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12897 if ${ac_cv_lib_dld_shl_load+:} false; then :
12898 $as_echo_n "(cached) " >&6
12900 ac_check_lib_save_LIBS=$LIBS
12902 if test x$ac_no_link = xyes; then
12903 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
12905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12906 /* end confdefs.h. */
12908 /* Override any GCC internal prototype to avoid an error.
12909 Use char because int might match the return type of a GCC
12910 builtin and then its argument prototype would still apply. */
12918 return shl_load ();
12923 if ac_fn_c_try_link "$LINENO"; then :
12924 ac_cv_lib_dld_shl_load=yes
12926 ac_cv_lib_dld_shl_load=no
12928 rm -f core conftest.err conftest.$ac_objext \
12929 conftest$ac_exeext conftest.$ac_ext
12930 LIBS=$ac_check_lib_save_LIBS
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12933 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12934 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12935 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12937 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12938 if test "x$ac_cv_func_dlopen" = xyes; then :
12939 lt_cv_dlopen="dlopen"
12941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12942 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12943 if ${ac_cv_lib_dl_dlopen+:} false; then :
12944 $as_echo_n "(cached) " >&6
12946 ac_check_lib_save_LIBS=$LIBS
12948 if test x$ac_no_link = xyes; then
12949 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
12951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12952 /* end confdefs.h. */
12954 /* Override any GCC internal prototype to avoid an error.
12955 Use char because int might match the return type of a GCC
12956 builtin and then its argument prototype would still apply. */
12969 if ac_fn_c_try_link "$LINENO"; then :
12970 ac_cv_lib_dl_dlopen=yes
12972 ac_cv_lib_dl_dlopen=no
12974 rm -f core conftest.err conftest.$ac_objext \
12975 conftest$ac_exeext conftest.$ac_ext
12976 LIBS=$ac_check_lib_save_LIBS
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12979 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12980 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12981 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12984 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12985 if ${ac_cv_lib_svld_dlopen+:} false; then :
12986 $as_echo_n "(cached) " >&6
12988 ac_check_lib_save_LIBS=$LIBS
12989 LIBS="-lsvld $LIBS"
12990 if test x$ac_no_link = xyes; then
12991 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
12993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12994 /* end confdefs.h. */
12996 /* Override any GCC internal prototype to avoid an error.
12997 Use char because int might match the return type of a GCC
12998 builtin and then its argument prototype would still apply. */
13011 if ac_fn_c_try_link "$LINENO"; then :
13012 ac_cv_lib_svld_dlopen=yes
13014 ac_cv_lib_svld_dlopen=no
13016 rm -f core conftest.err conftest.$ac_objext \
13017 conftest$ac_exeext conftest.$ac_ext
13018 LIBS=$ac_check_lib_save_LIBS
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13021 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13022 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13023 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13026 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13027 if ${ac_cv_lib_dld_dld_link+:} false; then :
13028 $as_echo_n "(cached) " >&6
13030 ac_check_lib_save_LIBS=$LIBS
13032 if test x$ac_no_link = xyes; then
13033 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
13035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13036 /* end confdefs.h. */
13038 /* Override any GCC internal prototype to avoid an error.
13039 Use char because int might match the return type of a GCC
13040 builtin and then its argument prototype would still apply. */
13048 return dld_link ();
13053 if ac_fn_c_try_link "$LINENO"; then :
13054 ac_cv_lib_dld_dld_link=yes
13056 ac_cv_lib_dld_dld_link=no
13058 rm -f core conftest.err conftest.$ac_objext \
13059 conftest$ac_exeext conftest.$ac_ext
13060 LIBS=$ac_check_lib_save_LIBS
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13063 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13064 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13065 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
13086 if test "x$lt_cv_dlopen" != xno; then
13092 case $lt_cv_dlopen in
13094 save_CPPFLAGS="$CPPFLAGS"
13095 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13097 save_LDFLAGS="$LDFLAGS"
13098 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13101 LIBS="$lt_cv_dlopen_libs $LIBS"
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13104 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13105 if ${lt_cv_dlopen_self+:} false; then :
13106 $as_echo_n "(cached) " >&6
13108 if test "$cross_compiling" = yes; then :
13109 lt_cv_dlopen_self=cross
13111 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13112 lt_status=$lt_dlunknown
13113 cat > conftest.$ac_ext <<_LT_EOF
13114 #line $LINENO "configure"
13115 #include "confdefs.h"
13124 # define LT_DLGLOBAL RTLD_GLOBAL
13127 # define LT_DLGLOBAL DL_GLOBAL
13129 # define LT_DLGLOBAL 0
13133 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13134 find out it does not work in some platform. */
13135 #ifndef LT_DLLAZY_OR_NOW
13137 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13140 # define LT_DLLAZY_OR_NOW DL_LAZY
13143 # define LT_DLLAZY_OR_NOW RTLD_NOW
13146 # define LT_DLLAZY_OR_NOW DL_NOW
13148 # define LT_DLLAZY_OR_NOW 0
13155 /* When -fvisbility=hidden is used, assume the code has been annotated
13156 correspondingly for the symbols needed. */
13157 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13158 int fnord () __attribute__((visibility("default")));
13161 int fnord () { return 42; }
13164 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13165 int status = $lt_dlunknown;
13169 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13172 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13173 else puts (dlerror ());
13175 /* dlclose (self); */
13183 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13184 (eval $ac_link) 2>&5
13186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13187 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13188 (./conftest; exit; ) >&5 2>/dev/null
13190 case x$lt_status in
13191 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13192 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13193 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13196 # compilation failed
13197 lt_cv_dlopen_self=no
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13205 $as_echo "$lt_cv_dlopen_self" >&6; }
13207 if test "x$lt_cv_dlopen_self" = xyes; then
13208 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13210 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13211 if ${lt_cv_dlopen_self_static+:} false; then :
13212 $as_echo_n "(cached) " >&6
13214 if test "$cross_compiling" = yes; then :
13215 lt_cv_dlopen_self_static=cross
13217 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13218 lt_status=$lt_dlunknown
13219 cat > conftest.$ac_ext <<_LT_EOF
13220 #line $LINENO "configure"
13221 #include "confdefs.h"
13230 # define LT_DLGLOBAL RTLD_GLOBAL
13233 # define LT_DLGLOBAL DL_GLOBAL
13235 # define LT_DLGLOBAL 0
13239 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13240 find out it does not work in some platform. */
13241 #ifndef LT_DLLAZY_OR_NOW
13243 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13246 # define LT_DLLAZY_OR_NOW DL_LAZY
13249 # define LT_DLLAZY_OR_NOW RTLD_NOW
13252 # define LT_DLLAZY_OR_NOW DL_NOW
13254 # define LT_DLLAZY_OR_NOW 0
13261 /* When -fvisbility=hidden is used, assume the code has been annotated
13262 correspondingly for the symbols needed. */
13263 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13264 int fnord () __attribute__((visibility("default")));
13267 int fnord () { return 42; }
13270 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13271 int status = $lt_dlunknown;
13275 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13278 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13279 else puts (dlerror ());
13281 /* dlclose (self); */
13289 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13290 (eval $ac_link) 2>&5
13292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13293 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13294 (./conftest; exit; ) >&5 2>/dev/null
13296 case x$lt_status in
13297 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13298 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13299 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13302 # compilation failed
13303 lt_cv_dlopen_self_static=no
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13311 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13314 CPPFLAGS="$save_CPPFLAGS"
13315 LDFLAGS="$save_LDFLAGS"
13320 case $lt_cv_dlopen_self in
13321 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13322 *) enable_dlopen_self=unknown ;;
13325 case $lt_cv_dlopen_self_static in
13326 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13327 *) enable_dlopen_self_static=unknown ;;
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13350 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13351 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13352 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13353 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13355 $as_echo "yes" >&6; }
13357 # FIXME - insert some real tests, host_os isn't really good enough
13360 if test -n "$STRIP" ; then
13361 striplib="$STRIP -x"
13362 old_striplib="$STRIP -S"
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13364 $as_echo "yes" >&6; }
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13367 $as_echo "no" >&6; }
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13372 $as_echo "no" >&6; }
13388 # Report which library types will actually be built
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13390 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13392 $as_echo "$can_build_shared" >&6; }
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13395 $as_echo_n "checking whether to build shared libraries... " >&6; }
13396 test "$can_build_shared" = "no" && enable_shared=no
13398 # On AIX, shared libraries and static libraries use the same namespace, and
13399 # are all built from PIC.
13402 test "$enable_shared" = yes && enable_static=no
13403 if test -n "$RANLIB"; then
13404 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13405 postinstall_cmds='$RANLIB $lib'
13410 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13411 test "$enable_shared" = yes && enable_static=no
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13416 $as_echo "$enable_shared" >&6; }
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13419 $as_echo_n "checking whether to build static libraries... " >&6; }
13420 # Make sure either enable_shared or enable_static is yes.
13421 test "$enable_shared" = yes || enable_static=yes
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13423 $as_echo "$enable_static" >&6; }
13430 ac_cpp='$CPP $CPPFLAGS'
13431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13451 ac_config_commands="$ac_config_commands libtool"
13456 # Only expand once:
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build debug instances" >&5
13464 $as_echo "$as_me: checking whether to build debug instances" >&6;}
13469 # Check whether or not a default value has been passed in.
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build debug instances of programs and libraries" >&5
13474 $as_echo_n "checking whether to build debug instances of programs and libraries... " >&6; }
13475 if ${nl_cv_build_debug+:} false; then :
13476 $as_echo_n "(cached) " >&6
13479 # Check whether --enable-debug was given.
13480 if test "${enable_debug+set}" = set; then :
13481 enableval=$enable_debug;
13482 case "${enableval}" in
13485 nl_cv_build_debug=${enableval}
13489 as_fn_error $? "Invalid value ${enableval} for --enable-debug" "$LINENO" 5
13496 nl_cv_build_debug=no
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_debug" >&5
13503 $as_echo "$nl_cv_build_debug" >&6; }
13505 if test "${nl_cv_build_debug}" = "yes"; then
13506 CFLAGS="${CFLAGS} -DDEBUG"
13507 CXXFLAGS="${CXXFLAGS} -DDEBUG"
13508 OBJCFLAGS="${OBJCFLAGS} -DDEBUG"
13509 OBJCXXFLAGS="${OBJCXXFLAGS} -DDEBUG"
13514 if test "${nl_cv_build_debug}" = "yes"; then
13515 NLUNIT_TEST_BUILD_DEBUG_TRUE=
13516 NLUNIT_TEST_BUILD_DEBUG_FALSE='#'
13518 NLUNIT_TEST_BUILD_DEBUG_TRUE='#'
13519 NLUNIT_TEST_BUILD_DEBUG_FALSE=
13524 # Code coverage and compiler optimization
13530 # Check whether or not a default value has been passed in.
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build code-coverage instances of programs and libraries" >&5
13535 $as_echo_n "checking whether to build code-coverage instances of programs and libraries... " >&6; }
13536 if ${nl_cv_build_coverage+:} false; then :
13537 $as_echo_n "(cached) " >&6
13540 # Check whether --enable-coverage was given.
13541 if test "${enable_coverage+set}" = set; then :
13542 enableval=$enable_coverage;
13543 case "${enableval}" in
13546 nl_cv_build_coverage=${enableval}
13548 if test "${nl_cv_build_optimized}" = "yes"; then
13549 as_fn_error $? "both --enable-optimization and --enable-coverage cannot used. Please, choose one or the other to enable." "$LINENO" 5
13554 as_fn_error $? "Invalid value ${enableval} for --enable-coverage" "$LINENO" 5
13561 if test "${nl_cv_build_optimized}" = "yes"; then
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-optimization was specified, coverage disabled" >&5
13563 $as_echo "$as_me: WARNING: --enable-optimization was specified, coverage disabled" >&2;}
13564 nl_cv_build_coverage=no
13567 nl_cv_build_coverage=no
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_coverage" >&5
13576 $as_echo "$nl_cv_build_coverage" >&6; }
13578 if test "${nl_cv_build_coverage}" = "yes"; then
13579 if test "${GCC}" != "yes"; then
13580 as_fn_error $? "GCC or a GCC-compatible toolchain is required for --enable-coverage" "$LINENO" 5
13582 NL_COVERAGE_CPPFLAGS="--coverage"
13583 if ${CC} --version | grep -q clang; then
13584 NL_COVERAGE_LDFLAGS="--coverage"
13586 NL_COVERAGE_LIBS="-lgcov"
13593 if test "${nl_cv_build_coverage}" = "yes"; then
13594 NLUNIT_TEST_BUILD_COVERAGE_TRUE=
13595 NLUNIT_TEST_BUILD_COVERAGE_FALSE='#'
13597 NLUNIT_TEST_BUILD_COVERAGE_TRUE='#'
13598 NLUNIT_TEST_BUILD_COVERAGE_FALSE=
13603 # Check whether or not a default value has been passed in.
13607 # Check for the presence of lcov and genhtml, required
13608 # to build and generate the coverage reports.
13610 # Extract the first word of "lcov", so it can be a program name with args.
13611 set dummy lcov; ac_word=$2
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13613 $as_echo_n "checking for $ac_word... " >&6; }
13614 if ${ac_cv_path_LCOV+:} false; then :
13615 $as_echo_n "(cached) " >&6
13619 ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path.
13622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13623 for as_dir in $PATH
13626 test -z "$as_dir" && as_dir=.
13627 for ac_exec_ext in '' $ac_executable_extensions; do
13628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13629 ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext"
13630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13640 LCOV=$ac_cv_path_LCOV
13641 if test -n "$LCOV"; then
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
13643 $as_echo "$LCOV" >&6; }
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13646 $as_echo "no" >&6; }
13650 # Extract the first word of "genhtml", so it can be a program name with args.
13651 set dummy genhtml; ac_word=$2
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13653 $as_echo_n "checking for $ac_word... " >&6; }
13654 if ${ac_cv_path_GENHTML+:} false; then :
13655 $as_echo_n "(cached) " >&6
13659 ac_cv_path_GENHTML="$GENHTML" # Let the user override the test with a path.
13662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13663 for as_dir in $PATH
13666 test -z "$as_dir" && as_dir=.
13667 for ac_exec_ext in '' $ac_executable_extensions; do
13668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13669 ac_cv_path_GENHTML="$as_dir/$ac_word$ac_exec_ext"
13670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13680 GENHTML=$ac_cv_path_GENHTML
13681 if test -n "$GENHTML"; then
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
13683 $as_echo "$GENHTML" >&6; }
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13686 $as_echo "no" >&6; }
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build graphical code coverage reports" >&5
13692 $as_echo_n "checking whether to build graphical code coverage reports... " >&6; }
13693 if ${nl_cv_build_coverage_reports+:} false; then :
13694 $as_echo_n "(cached) " >&6
13697 # Check whether --enable-coverage-reports was given.
13698 if test "${enable_coverage_reports+set}" = set; then :
13699 enableval=$enable_coverage_reports;
13700 case "${enableval}" in
13703 nl_cv_build_coverage_reports=${enableval}
13707 as_fn_error $? "Invalid value ${enableval} for --enable-coverage" "$LINENO" 5
13714 nl_cv_build_coverage_reports=auto
13719 # If coverage is not enabled, then coverage reports
13720 # defaults to 'no' if it is 'auto' or fails if it is
13721 # 'yes'. Otherwise, availability of lcov and genhtml
13722 # condition behavior. Lack of availability for 'yes'
13723 # results in failure; however, for 'auto' then coverage
13724 # reports default to 'no'.
13726 case "${nl_cv_build_coverage}" in
13729 case "${nl_cv_build_coverage_reports}" in
13732 nl_cv_build_coverage_reports="no"
13736 as_fn_error $? "--enable-coverage must be asserted to use --enable-coverage-reports." "$LINENO" 5
13746 case "${nl_cv_build_coverage_reports}" in
13749 # Both lcov and genhtml must exist to successfully
13750 # enable coverage reports.
13752 if test "x${LCOV}" = "x" || test "x${GENHTML}" = "x"; then
13753 nl_cv_build_coverage_reports="no"
13756 nl_cv_build_coverage_reports="yes"
13762 # Both lcov and genhtml must exist to successfully
13763 # enable coverage reports. Since the default or user
13764 # ask is 'yes', we must fail if lcov or genhtml cannot
13767 if test "x${LCOV}" = "x"; then
13768 as_fn_error $? "Cannot find 'lcov'. You must have the lcov package installed to use coverage reports." "$LINENO" 5
13770 elif test "x${GENHTML}" = "x"; then
13771 as_fn_error $? "Cannot find 'genhtml'. You must have the lcov package installed to use coverage reports." "$LINENO" 5
13773 elif test "${nl_cv_build_coverage_reports}" = "auto"; then
13774 nl_cv_build_coverage_reports="yes"
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_coverage_reports" >&5
13789 $as_echo "$nl_cv_build_coverage_reports" >&6; }
13792 if test "${nl_cv_build_coverage_reports}" = "yes"; then
13793 NLUNIT_TEST_BUILD_COVERAGE_REPORTS_TRUE=
13794 NLUNIT_TEST_BUILD_COVERAGE_REPORTS_FALSE='#'
13796 NLUNIT_TEST_BUILD_COVERAGE_REPORTS_TRUE='#'
13797 NLUNIT_TEST_BUILD_COVERAGE_REPORTS_FALSE=
13804 # Check whether or not a default value has been passed in.
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build code-optimized instances of programs and libraries" >&5
13809 $as_echo_n "checking whether to build code-optimized instances of programs and libraries... " >&6; }
13810 if ${nl_cv_build_optimized+:} false; then :
13811 $as_echo_n "(cached) " >&6
13814 # Check whether --enable-optimization was given.
13815 if test "${enable_optimization+set}" = set; then :
13816 enableval=$enable_optimization;
13817 case "${enableval}" in
13820 nl_cv_build_optimized=${enableval}
13822 if test "${nl_cv_build_coverage}" = "yes" && test "${nl_cv_build_optimized}" = "yes"; then
13823 as_fn_error $? "both --enable-optimization and --enable-coverage cannot used. Please, choose one or the other to enable." "$LINENO" 5
13828 as_fn_error $? "Invalid value ${enableval} for --enable-optimized" "$LINENO" 5
13835 if test "${nl_cv_build_coverage}" = "yes"; then
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-coverage was specified, optimization disabled" >&5
13837 $as_echo "$as_me: WARNING: --enable-coverage was specified, optimization disabled" >&2;}
13838 nl_cv_build_optimized=no
13841 nl_cv_build_optimized=yes
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_optimized" >&5
13850 $as_echo "$nl_cv_build_optimized" >&6; }
13852 if test "${nl_cv_build_optimized}" = "no"; then
13853 CFLAGS="`echo ${CFLAGS} | sed -e 's,-O[[:alnum:]]*,-O0,g'`"
13854 CXXFLAGS="`echo ${CXXFLAGS} | sed -e 's,-O[[:alnum:]]*,-O0,g'`"
13855 OBJCFLAGS="`echo ${OBJCFLAGS} | sed -e 's,-O[[:alnum:]]*,-O0,g'`"
13856 OBJCXXFLAGS="`echo ${OBJCXXFLAGS} | sed -e 's,-O[[:alnum:]]*,-O0,g'`"
13861 if test "${nl_cv_build_optimized}" = "yes"; then
13862 NLUNIT_TEST_BUILD_OPTIMIZED_TRUE=
13863 NLUNIT_TEST_BUILD_OPTIMIZED_FALSE='#'
13865 NLUNIT_TEST_BUILD_OPTIMIZED_TRUE='#'
13866 NLUNIT_TEST_BUILD_OPTIMIZED_FALSE=
13874 # Determine whether or not documentation (via Doxygen) should be built
13875 # or not, with 'auto' as the default and establish a default support
13876 # value for GraphViz 'dot' support.
13879 # Check whether or not the 'default' value is sane.
13883 # Check whether or not the 'dot_default' value is sane.
13892 # Extract the first word of "doxygen", so it can be a program name with args.
13893 set dummy doxygen; ac_word=$2
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13895 $as_echo_n "checking for $ac_word... " >&6; }
13896 if ${ac_cv_path_DOXYGEN+:} false; then :
13897 $as_echo_n "(cached) " >&6
13901 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
13904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13905 for as_dir in $PATH
13908 test -z "$as_dir" && as_dir=.
13909 for ac_exec_ext in '' $ac_executable_extensions; do
13910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13911 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
13912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13922 DOXYGEN=$ac_cv_path_DOXYGEN
13923 if test -n "$DOXYGEN"; then
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
13925 $as_echo "$DOXYGEN" >&6; }
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13928 $as_echo "no" >&6; }
13932 # Extract the first word of "dot", so it can be a program name with args.
13933 set dummy dot; ac_word=$2
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13935 $as_echo_n "checking for $ac_word... " >&6; }
13936 if ${ac_cv_path_DOT+:} false; then :
13937 $as_echo_n "(cached) " >&6
13941 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
13944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13945 for as_dir in $PATH
13948 test -z "$as_dir" && as_dir=.
13949 for ac_exec_ext in '' $ac_executable_extensions; do
13950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13951 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
13952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13962 DOT=$ac_cv_path_DOT
13963 if test -n "$DOT"; then
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
13965 $as_echo "$DOT" >&6; }
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13968 $as_echo "no" >&6; }
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
13974 $as_echo_n "checking whether to build documentation... " >&6; }
13975 if ${nl_cv_build_docs+:} false; then :
13976 $as_echo_n "(cached) " >&6
13979 # Check whether --enable-docs was given.
13980 if test "${enable_docs+set}" = set; then :
13981 enableval=$enable_docs;
13982 case "${enableval}" in
13985 nl_cv_build_docs=${enableval}
13989 as_fn_error $? "Invalid value ${enableval} for --disable-docs" "$LINENO" 5
13995 nl_cv_build_docs=auto
13999 if test "x${DOXYGEN}" != "x"; then
14000 nl_cv_have_doxygen=yes
14002 nl_cv_have_doxygen=no
14005 if test "${nl_cv_build_docs}" = "auto"; then
14006 if test "${nl_cv_have_doxygen}" = "no"; then
14007 nl_cv_build_docs=no
14009 nl_cv_build_docs=yes
14013 if test "${nl_cv_build_docs}" = "yes"; then
14014 if test "${nl_cv_have_doxygen}" = "no"; then
14015 as_fn_error $? "Building docs was explicitly requested but Doxygen cannot be found" "$LINENO" 5
14016 elif test "${nl_cv_have_doxygen}" = "yes"; then
14017 if test "x${DOT}" != "x"; then
14018 DOXYGEN_USE_DOT=YES
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_docs" >&5
14025 $as_echo "$nl_cv_build_docs" >&6; }
14030 if test "${nl_cv_build_docs}" = "yes"; then
14031 NLUNIT_TEST_BUILD_DOCS_TRUE=
14032 NLUNIT_TEST_BUILD_DOCS_FALSE='#'
14034 NLUNIT_TEST_BUILD_DOCS_TRUE='#'
14035 NLUNIT_TEST_BUILD_DOCS_FALSE=
14040 # Check for headers
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
14043 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
14044 if ${ac_cv_header_stdbool_h+:} false; then :
14045 $as_echo_n "(cached) " >&6
14047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14048 /* end confdefs.h. */
14050 #include <stdbool.h>
14052 "error: bool is not defined"
14055 "error: false is not defined"
14058 "error: false is not 0"
14061 "error: true is not defined"
14064 "error: true is not 1"
14066 #ifndef __bool_true_false_are_defined
14067 "error: __bool_true_false_are_defined is not defined"
14070 struct s { _Bool s: 1; _Bool t; } s;
14072 char a[true == 1 ? 1 : -1];
14073 char b[false == 0 ? 1 : -1];
14074 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
14075 char d[(bool) 0.5 == true ? 1 : -1];
14076 /* See body of main program for 'e'. */
14077 char f[(_Bool) 0.0 == false ? 1 : -1];
14079 char h[sizeof (_Bool)];
14080 char i[sizeof s.t];
14081 enum { j = false, k = true, l = false * true, m = true * 256 };
14082 /* The following fails for
14083 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
14085 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
14086 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
14087 /* Catch a bug in an HP-UX C compiler. See
14088 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
14089 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
14101 /* Refer to every declared value, to avoid compiler optimizations. */
14102 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
14103 + !m + !n + !o + !p + !q + !pq);
14109 if ac_fn_c_try_compile "$LINENO"; then :
14110 ac_cv_header_stdbool_h=yes
14112 ac_cv_header_stdbool_h=no
14114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
14117 $as_echo "$ac_cv_header_stdbool_h" >&6; }
14118 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
14119 if test "x$ac_cv_type__Bool" = xyes; then :
14121 cat >>confdefs.h <<_ACEOF
14122 #define HAVE__BOOL 1
14128 if test $ac_cv_header_stdbool_h = yes; then
14130 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14135 $as_echo_n "checking for ANSI C header files... " >&6; }
14136 if ${ac_cv_header_stdc+:} false; then :
14137 $as_echo_n "(cached) " >&6
14139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14140 /* end confdefs.h. */
14141 #include <stdlib.h>
14142 #include <stdarg.h>
14143 #include <string.h>
14154 if ac_fn_c_try_compile "$LINENO"; then :
14155 ac_cv_header_stdc=yes
14157 ac_cv_header_stdc=no
14159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14161 if test $ac_cv_header_stdc = yes; then
14162 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14164 /* end confdefs.h. */
14165 #include <string.h>
14168 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14169 $EGREP "memchr" >/dev/null 2>&1; then :
14172 ac_cv_header_stdc=no
14178 if test $ac_cv_header_stdc = yes; then
14179 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14181 /* end confdefs.h. */
14182 #include <stdlib.h>
14185 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14186 $EGREP "free" >/dev/null 2>&1; then :
14189 ac_cv_header_stdc=no
14195 if test $ac_cv_header_stdc = yes; then
14196 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14197 if test "$cross_compiling" = yes; then :
14200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14201 /* end confdefs.h. */
14203 #include <stdlib.h>
14204 #if ((' ' & 0x0FF) == 0x020)
14205 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14206 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14208 # define ISLOWER(c) \
14209 (('a' <= (c) && (c) <= 'i') \
14210 || ('j' <= (c) && (c) <= 'r') \
14211 || ('s' <= (c) && (c) <= 'z'))
14212 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14215 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14220 for (i = 0; i < 256; i++)
14221 if (XOR (islower (i), ISLOWER (i))
14222 || toupper (i) != TOUPPER (i))
14227 if ac_fn_c_try_run "$LINENO"; then :
14230 ac_cv_header_stdc=no
14232 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14233 conftest.$ac_objext conftest.beam conftest.$ac_ext
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14239 $as_echo "$ac_cv_header_stdc" >&6; }
14240 if test $ac_cv_header_stdc = yes; then
14242 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14247 # Add any code coverage CPPFLAGS and LIBS
14249 CPPFLAGS="${CPPFLAGS} ${NL_COVERAGE_CPPFLAGS}"
14250 LDFLAGS="${LDFLAGS} ${NL_COVERAGE_LDFLAGS}"
14251 LIBS="${LIBS} ${NL_COVERAGE_LIBS}"
14253 # At this point, we can restore the compiler flags to whatever the
14254 # user passed in, now that we're clear of any -Werror issues by
14255 # transforming -Wno-error back to -Werror.
14259 if test "${nl_had_OBJCXXFLAGS_werror}" = "yes"; then
14260 OBJCXXFLAGS="`echo ${OBJCXXFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
14263 unset nl_had_OBJCXXFLAGS_werror
14266 if test "${nl_had_OBJCFLAGS_werror}" = "yes"; then
14267 OBJCFLAGS="`echo ${OBJCFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
14270 unset nl_had_OBJCFLAGS_werror
14273 if test "${nl_had_CXXFLAGS_werror}" = "yes"; then
14274 CXXFLAGS="`echo ${CXXFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
14277 unset nl_had_CXXFLAGS_werror
14280 if test "${nl_had_CFLAGS_werror}" = "yes"; then
14281 CFLAGS="`echo ${CFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
14284 unset nl_had_CFLAGS_werror
14287 if test "${nl_had_CPPFLAGS_werror}" = "yes"; then
14288 CPPFLAGS="`echo ${CPPFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
14291 unset nl_had_CPPFLAGS_werror
14296 # Identify the various makefiles and auto-generated files for the package
14298 ac_config_files="$ac_config_files Makefile src/Makefile doc/Makefile"
14302 # Generate the auto-generated files for the package
14304 cat >confcache <<\_ACEOF
14305 # This file is a shell script that caches the results of configure
14306 # tests run on this system so they can be shared between configure
14307 # scripts and configure runs, see configure's option --config-cache.
14308 # It is not useful on other systems. If it contains results you don't
14309 # want to keep, you may remove or edit it.
14311 # config.status only pays attention to the cache file if you give it
14312 # the --recheck option to rerun configure.
14314 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14315 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14316 # following values.
14320 # The following way of writing the cache mishandles newlines in values,
14321 # but we know of no workaround that is simple, portable, and efficient.
14322 # So, we kill variables containing newlines.
14323 # Ultrix sh set writes to stderr and can't be redirected directly,
14324 # and sets the high bit in the cache file unless we assign to the vars.
14326 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14327 eval ac_val=\$$ac_var
14331 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14332 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14335 _ | IFS | as_nl) ;; #(
14336 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14337 *) { eval $ac_var=; unset $ac_var;} ;;
14343 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14344 *${as_nl}ac_space=\ *)
14345 # `set' does not quote correctly, so add quotes: double-quote
14346 # substitution turns \\\\ into \\, and sed turns \\ into \.
14349 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14352 # `set' quotes correctly as required by POSIX, so do not add quotes.
14353 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14362 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14364 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14366 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14367 if test -w "$cache_file"; then
14368 if test "x$cache_file" != "x/dev/null"; then
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14370 $as_echo "$as_me: updating cache $cache_file" >&6;}
14371 if test ! -f "$cache_file" || test -h "$cache_file"; then
14372 cat confcache >"$cache_file"
14374 case $cache_file in #(
14376 mv -f confcache "$cache_file"$$ &&
14377 mv -f "$cache_file"$$ "$cache_file" ;; #(
14379 mv -f confcache "$cache_file" ;;
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14385 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14390 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14391 # Let make expand exec_prefix.
14392 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14394 DEFS=-DHAVE_CONFIG_H
14399 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14400 # 1. Remove the extension, and $U if already installed.
14401 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14402 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14403 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14404 # will be set to the directory where LIBOBJS objects are built.
14405 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14406 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14408 LIBOBJS=$ac_libobjs
14410 LTLIBOBJS=$ac_ltlibobjs
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14414 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14415 if test -n "$am_sleep_pid"; then
14416 # Hide warnings about reused PIDs.
14417 wait $am_sleep_pid 2>/dev/null
14419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14420 $as_echo "done" >&6; }
14421 if test -n "$EXEEXT"; then
14423 am__EXEEXT_FALSE='#'
14425 am__EXEEXT_TRUE='#'
14429 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14430 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14431 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14433 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14434 as_fn_error $? "conditional \"AMDEP\" was never defined.
14435 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14437 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14438 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14439 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14441 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14442 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14443 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14445 if test -z "${NLUNIT_TEST_BUILD_DEBUG_TRUE}" && test -z "${NLUNIT_TEST_BUILD_DEBUG_FALSE}"; then
14446 as_fn_error $? "conditional \"NLUNIT_TEST_BUILD_DEBUG\" was never defined.
14447 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14449 if test -z "${NLUNIT_TEST_BUILD_COVERAGE_TRUE}" && test -z "${NLUNIT_TEST_BUILD_COVERAGE_FALSE}"; then
14450 as_fn_error $? "conditional \"NLUNIT_TEST_BUILD_COVERAGE\" was never defined.
14451 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14453 if test -z "${NLUNIT_TEST_BUILD_COVERAGE_REPORTS_TRUE}" && test -z "${NLUNIT_TEST_BUILD_COVERAGE_REPORTS_FALSE}"; then
14454 as_fn_error $? "conditional \"NLUNIT_TEST_BUILD_COVERAGE_REPORTS\" was never defined.
14455 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14457 if test -z "${NLUNIT_TEST_BUILD_OPTIMIZED_TRUE}" && test -z "${NLUNIT_TEST_BUILD_OPTIMIZED_FALSE}"; then
14458 as_fn_error $? "conditional \"NLUNIT_TEST_BUILD_OPTIMIZED\" was never defined.
14459 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14461 if test -z "${NLUNIT_TEST_BUILD_DOCS_TRUE}" && test -z "${NLUNIT_TEST_BUILD_DOCS_FALSE}"; then
14462 as_fn_error $? "conditional \"NLUNIT_TEST_BUILD_DOCS\" was never defined.
14463 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14466 : "${CONFIG_STATUS=./config.status}"
14468 ac_clean_files_save=$ac_clean_files
14469 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14471 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14473 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14475 # Generated by $as_me.
14476 # Run this file to recreate the current configuration.
14477 # Compiler output produced by configure, useful for debugging
14478 # configure, is in config.log if it exists.
14481 ac_cs_recheck=false
14484 SHELL=\${CONFIG_SHELL-$SHELL}
14487 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14488 ## -------------------- ##
14489 ## M4sh Initialization. ##
14490 ## -------------------- ##
14492 # Be more Bourne compatible
14493 DUALCASE=1; export DUALCASE # for MKS sh
14494 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14497 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14498 # is contrary to our usage. Disable this feature.
14499 alias -g '${1+"$@"}'='"$@"'
14500 setopt NO_GLOB_SUBST
14502 case `(set -o) 2>/dev/null` in #(
14514 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14515 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14516 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14517 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14518 # Prefer a ksh shell builtin over an external printf program on Solaris,
14519 # but without wasting forks for bash or zsh.
14520 if test -z "$BASH_VERSION$ZSH_VERSION" \
14521 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14522 as_echo='print -r --'
14523 as_echo_n='print -rn --'
14524 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14525 as_echo='printf %s\n'
14526 as_echo_n='printf %s'
14528 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14529 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14530 as_echo_n='/usr/ucb/echo -n'
14532 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14533 as_echo_n_body='eval
14537 expr "X$arg" : "X\\(.*\\)$as_nl";
14538 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14540 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14542 export as_echo_n_body
14543 as_echo_n='sh -c $as_echo_n_body as_echo'
14545 export as_echo_body
14546 as_echo='sh -c $as_echo_body as_echo'
14549 # The user is always right.
14550 if test "${PATH_SEPARATOR+set}" != set; then
14552 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14553 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14560 # We need space, tab and new line, in precisely that order. Quoting is
14561 # there to prevent editors from complaining about space-tab.
14562 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14563 # splitting by setting IFS to empty value.)
14566 # Find who we are. Look in the path if we contain no directory separator.
14569 *[\\/]* ) as_myself=$0 ;;
14570 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14571 for as_dir in $PATH
14574 test -z "$as_dir" && as_dir=.
14575 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14581 # We did not find ourselves, most probably we were run as `sh COMMAND'
14582 # in which case we are not to be found in the path.
14583 if test "x$as_myself" = x; then
14586 if test ! -f "$as_myself"; then
14587 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14591 # Unset variables that we do not need and which cause bugs (e.g. in
14592 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14593 # suppresses any "Segmentation fault" message there. '((' could
14594 # trigger a bug in pdksh 5.2.14.
14595 for as_var in BASH_ENV ENV MAIL MAILPATH
14596 do eval test x\${$as_var+set} = xset \
14597 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14610 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14613 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14614 # ----------------------------------------
14615 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14616 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14617 # script with STATUS, using 1 if that was 0.
14620 as_status=$1; test $as_status -eq 0 && as_status=1
14622 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14623 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14625 $as_echo "$as_me: error: $2" >&2
14626 as_fn_exit $as_status
14630 # as_fn_set_status STATUS
14631 # -----------------------
14632 # Set $? to STATUS, without forking.
14633 as_fn_set_status ()
14636 } # as_fn_set_status
14638 # as_fn_exit STATUS
14639 # -----------------
14640 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14644 as_fn_set_status $1
14650 # Portably unset VAR.
14653 { eval $1=; unset $1;}
14655 as_unset=as_fn_unset
14656 # as_fn_append VAR VALUE
14657 # ----------------------
14658 # Append the text in VALUE to the end of the definition contained in VAR. Take
14659 # advantage of any shell optimizations that allow amortized linear growth over
14660 # repeated appends, instead of the typical quadratic growth present in naive
14662 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14663 eval 'as_fn_append ()
14674 # as_fn_arith ARG...
14675 # ------------------
14676 # Perform arithmetic evaluation on the ARGs, and store the result in the
14677 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14678 # must be portable across $(()) and expr.
14679 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14680 eval 'as_fn_arith ()
14687 as_val=`expr "$@" || test $? -eq 1`
14692 if expr a : '\(a\)' >/dev/null 2>&1 &&
14693 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14699 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14700 as_basename=basename
14705 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14711 as_me=`$as_basename -- "$0" ||
14712 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14713 X"$0" : 'X\(//\)$' \| \
14714 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14716 sed '/^.*\/\([^/][^/]*\)\/*$/{
14730 # Avoid depending upon Character Ranges.
14731 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14732 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14733 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14734 as_cr_digits='0123456789'
14735 as_cr_alnum=$as_cr_Letters$as_cr_digits
14737 ECHO_C= ECHO_N= ECHO_T=
14738 case `echo -n x` in #(((((
14740 case `echo 'xy\c'` in
14741 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14743 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14750 rm -f conf$$ conf$$.exe conf$$.file
14751 if test -d conf$$.dir; then
14752 rm -f conf$$.dir/conf$$.file
14755 mkdir conf$$.dir 2>/dev/null
14757 if (echo >conf$$.file) 2>/dev/null; then
14758 if ln -s conf$$.file conf$$ 2>/dev/null; then
14760 # ... but there are two gotchas:
14761 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14762 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14763 # In both cases, we have to default to `cp -p'.
14764 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14766 elif ln conf$$.file conf$$ 2>/dev/null; then
14774 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14775 rmdir conf$$.dir 2>/dev/null
14780 # Create "$as_dir" as a directory, including parents if necessary.
14785 -*) as_dir=./$as_dir;;
14787 test -d "$as_dir" || eval $as_mkdir_p || {
14791 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14792 *) as_qdir=$as_dir;;
14794 as_dirs="'$as_qdir' $as_dirs"
14795 as_dir=`$as_dirname -- "$as_dir" ||
14796 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14797 X"$as_dir" : 'X\(//\)[^/]' \| \
14798 X"$as_dir" : 'X\(//\)$' \| \
14799 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14800 $as_echo X"$as_dir" |
14801 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14805 /^X\(\/\/\)[^/].*/{
14818 test -d "$as_dir" && break
14820 test -z "$as_dirs" || eval "mkdir $as_dirs"
14821 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14825 if mkdir -p . 2>/dev/null; then
14826 as_mkdir_p='mkdir -p "$as_dir"'
14828 test -d ./-p && rmdir ./-p
14832 if test -x / >/dev/null 2>&1; then
14833 as_test_x='test -x'
14835 if ls -dL / >/dev/null 2>&1; then
14842 if test -d "$1"; then
14848 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14849 ???[sx]*):;;*)false;;esac;fi
14853 as_executable_p=$as_test_x
14855 # Sed expression to map a string onto a valid CPP name.
14856 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14858 # Sed expression to map a string onto a valid variable name.
14859 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14863 ## ----------------------------------- ##
14864 ## Main body of $CONFIG_STATUS script. ##
14865 ## ----------------------------------- ##
14867 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14869 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14870 # Save the log message, to keep $0 and so on meaningful, and to
14871 # report actual input values of CONFIG_FILES etc. instead of their
14872 # values after options handling.
14874 This file was extended by nlunit-test $as_me g4c5ae45-dirty, which was
14875 generated by GNU Autoconf 2.68. Invocation command line was
14877 CONFIG_FILES = $CONFIG_FILES
14878 CONFIG_HEADERS = $CONFIG_HEADERS
14879 CONFIG_LINKS = $CONFIG_LINKS
14880 CONFIG_COMMANDS = $CONFIG_COMMANDS
14883 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14888 case $ac_config_files in *"
14889 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14892 case $ac_config_headers in *"
14893 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14897 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14898 # Files that config.status was made for.
14899 config_files="$ac_config_files"
14900 config_headers="$ac_config_headers"
14901 config_commands="$ac_config_commands"
14905 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14907 \`$as_me' instantiates files and other configuration actions
14908 from templates according to the current configuration. Unless the files
14909 and actions are specified as TAGs, all are instantiated by default.
14911 Usage: $0 [OPTION]... [TAG]...
14913 -h, --help print this help, then exit
14914 -V, --version print version number and configuration settings, then exit
14915 --config print configuration, then exit
14916 -q, --quiet, --silent
14917 do not print progress messages
14918 -d, --debug don't remove temporary files
14919 --recheck update $as_me by reconfiguring in the same conditions
14920 --file=FILE[:TEMPLATE]
14921 instantiate the configuration file FILE
14922 --header=FILE[:TEMPLATE]
14923 instantiate the configuration header FILE
14925 Configuration files:
14928 Configuration headers:
14931 Configuration commands:
14934 Report bugs to <nlunit-test-users@google.com>.
14935 nlunit-test home page: <https://github.com/nestlabs/nlunit-test/>."
14938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14939 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14941 nlunit-test config.status g4c5ae45-dirty
14942 configured by $0, generated by GNU Autoconf 2.68,
14943 with options \\"\$ac_cs_config\\"
14945 Copyright (C) 2010 Free Software Foundation, Inc.
14946 This config.status script is free software; the Free Software Foundation
14947 gives unlimited permission to copy, distribute and modify it."
14954 test -n "\$AWK" || AWK=awk
14957 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14958 # The default lists apply if the user does not specify any file.
14964 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14965 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14969 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14981 # Handling of the options.
14982 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14984 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14985 $as_echo "$ac_cs_version"; exit ;;
14986 --config | --confi | --conf | --con | --co | --c )
14987 $as_echo "$ac_cs_config"; exit ;;
14988 --debug | --debu | --deb | --de | --d | -d )
14990 --file | --fil | --fi | --f )
14993 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14994 '') as_fn_error $? "missing file argument" ;;
14996 as_fn_append CONFIG_FILES " '$ac_optarg'"
14997 ac_need_defaults=false;;
14998 --header | --heade | --head | --hea )
15001 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15003 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15004 ac_need_defaults=false;;
15006 # Conflict between --help and --header
15007 as_fn_error $? "ambiguous option: \`$1'
15008 Try \`$0 --help' for more information.";;
15009 --help | --hel | -h )
15010 $as_echo "$ac_cs_usage"; exit ;;
15011 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15012 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15015 # This is an error.
15016 -*) as_fn_error $? "unrecognized option: \`$1'
15017 Try \`$0 --help' for more information." ;;
15019 *) as_fn_append ac_config_targets " $1"
15020 ac_need_defaults=false ;;
15026 ac_configure_extra_args=
15028 if $ac_cs_silent; then
15030 ac_configure_extra_args="$ac_configure_extra_args --silent"
15034 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15035 if \$ac_cs_recheck; then
15036 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15038 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15039 CONFIG_SHELL='$SHELL'
15040 export CONFIG_SHELL
15045 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15049 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15050 ## Running $as_me. ##
15056 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15060 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15063 # The HP-UX ksh and POSIX shell print the target directory to stdout
15064 # if CDPATH is set.
15065 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15067 sed_quote_subst='$sed_quote_subst'
15068 double_quote_subst='$double_quote_subst'
15069 delay_variable_subst='$delay_variable_subst'
15070 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15071 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15072 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15073 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15074 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15075 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15076 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15077 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15078 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15079 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15080 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15081 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15082 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15083 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15084 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15085 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15086 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15087 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15088 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15089 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15090 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15091 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15092 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15093 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15094 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15095 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15096 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15097 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15098 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15099 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15100 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15101 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15102 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15103 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15104 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15105 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15106 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15107 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15108 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15109 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15110 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15111 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15112 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15113 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15114 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15115 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15116 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15117 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15118 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15119 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15120 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15121 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15122 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15123 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15124 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15125 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15126 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"`'
15127 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15128 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15129 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15130 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15131 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15132 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15133 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15134 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15135 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15136 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15137 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15138 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15139 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15140 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15141 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15142 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15143 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15144 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15145 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15146 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15147 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15148 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15149 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15150 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15151 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15152 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15153 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15154 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15155 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15156 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15157 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15158 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15159 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15160 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15161 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15162 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15163 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15164 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15165 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15166 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15167 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15168 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15169 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15170 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15171 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15172 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15173 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15174 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15175 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15176 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15177 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15178 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15179 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15180 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15181 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15182 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15183 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15184 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15185 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15186 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15187 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15188 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15189 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15190 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15191 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15192 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15193 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15194 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15195 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15196 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15197 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15198 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15199 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15202 LTCFLAGS='$LTCFLAGS'
15203 compiler='$compiler_DEFAULT'
15205 # A function that is used when there is no print builtin or printf.
15206 func_fallback_echo ()
15208 eval 'cat <<_LTECHO_EOF
15213 # Quote evaled strings.
15228 deplibs_check_method \
15233 sharedlib_from_linklib_cmd \
15236 archiver_list_spec \
15242 lt_cv_sys_global_symbol_pipe \
15243 lt_cv_sys_global_symbol_to_cdecl \
15244 lt_cv_sys_global_symbol_to_c_name_address \
15245 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15246 nm_file_list_spec \
15247 lt_prog_compiler_no_builtin_flag \
15248 lt_prog_compiler_pic \
15249 lt_prog_compiler_wl \
15250 lt_prog_compiler_static \
15251 lt_cv_prog_compiler_c_o \
15260 export_dynamic_flag_spec \
15261 whole_archive_flag_spec \
15262 compiler_needs_object \
15264 allow_undefined_flag \
15265 no_undefined_flag \
15266 hardcode_libdir_flag_spec \
15267 hardcode_libdir_separator \
15271 variables_saved_for_relink \
15273 library_names_spec \
15275 install_override_mode \
15279 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15280 *[\\\\\\\`\\"\\\$]*)
15281 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15284 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15289 # Double-quote double-evaled strings.
15290 for var in reload_cmds \
15291 old_postinstall_cmds \
15292 old_postuninstall_cmds \
15294 extract_expsyms_cmds \
15295 old_archive_from_new_cmds \
15296 old_archive_from_expsyms_cmds \
15298 archive_expsym_cmds \
15300 module_expsym_cmds \
15301 export_symbols_cmds \
15305 postuninstall_cmds \
15307 sys_lib_search_path_spec \
15308 sys_lib_dlsearch_path_spec; do
15309 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15310 *[\\\\\\\`\\"\\\$]*)
15311 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15314 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15319 ac_aux_dir='$ac_aux_dir'
15320 xsi_shell='$xsi_shell'
15321 lt_shell_append='$lt_shell_append'
15323 # See if we are running on zsh, and set the options which allow our
15324 # commands through without removal of \ escapes INIT.
15325 if test -n "\${ZSH_VERSION+set}" ; then
15326 setopt NO_GLOB_SUBST
15332 TIMESTAMP='$TIMESTAMP'
15341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15343 # Handling of arguments.
15344 for ac_config_target in $ac_config_targets
15346 case $ac_config_target in
15347 "src/nlunit-test-config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/nlunit-test-config.h" ;;
15348 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15349 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15350 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15351 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15352 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15354 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15359 # If the user did not use the arguments to specify the items to instantiate,
15360 # then the envvar interface is used. Set only those that are not.
15361 # We use the long form for the default assignment because of an extremely
15362 # bizarre bug on SunOS 4.1.3.
15363 if $ac_need_defaults; then
15364 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15365 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15366 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15369 # Have a temporary directory for convenience. Make it in the build tree
15370 # simply because there is no reason against having it here, and in addition,
15371 # creating and moving files from /tmp can sometimes cause problems.
15372 # Hook for its removal unless debugging.
15373 # Note that there is a small window in which the directory will not be cleaned:
15374 # after its creation but before its name has been assigned to `$tmp'.
15378 trap 'exit_status=$?
15379 : "${ac_tmp:=$tmp}"
15380 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15382 trap 'as_fn_exit 1' 1 2 13 15
15384 # Create a (secure) tmp directory for tmp files.
15387 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15391 tmp=./conf$$-$RANDOM
15392 (umask 077 && mkdir "$tmp")
15393 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15396 # Set up the scripts for CONFIG_FILES section.
15397 # No need to generate them if there are no CONFIG_FILES.
15398 # This happens for instance with `./config.status config.h'.
15399 if test -n "$CONFIG_FILES"; then
15402 ac_cr=`echo X | tr X '\015'`
15403 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15404 # But we know of no other shell where ac_cr would be empty at this
15405 # point, so we can use a bashism as a fallback.
15406 if test "x$ac_cr" = x; then
15407 eval ac_cr=\$\'\\r\'
15409 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15410 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15413 ac_cs_awk_cr=$ac_cr
15416 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15421 echo "cat >conf$$subs.awk <<_ACEOF" &&
15422 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15424 } >conf$$subs.sh ||
15425 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15426 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15428 for ac_last_try in false false false false false :; do
15429 . ./conf$$subs.sh ||
15430 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15432 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15433 if test $ac_delim_n = $ac_delim_num; then
15435 elif $ac_last_try; then
15436 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15438 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15441 rm -f conf$$subs.sh
15443 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15444 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15448 s/^/S["/; s/!.*/"]=/
15458 s/\(.\{148\}\)..*/\1/
15460 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15465 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15472 s/\(.\{148\}\)..*/\1/
15474 s/["\\]/\\&/g; s/^/"/; s/$/"/
15478 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15483 ' <conf$$subs.awk | sed '
15488 ' >>$CONFIG_STATUS || ac_write_fail=1
15489 rm -f conf$$subs.awk
15490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15492 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15493 for (key in S) S_is_set[key] = 1
15499 nfields = split(line, field, "@")
15501 len = length(field[1])
15502 for (i = 2; i < nfields; i++) {
15504 keylen = length(key)
15505 if (S_is_set[key]) {
15507 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15508 len += length(value) + length(field[++i])
15519 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15520 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15521 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15524 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15525 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15528 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15529 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15530 # trailing colons and then remove the whole line if VPATH becomes empty
15531 # (actually we leave an empty line to preserve line numbers).
15532 if test "x$srcdir" = x.; then
15533 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15552 fi # test -n "$CONFIG_FILES"
15554 # Set up the scripts for CONFIG_HEADERS section.
15555 # No need to generate them if there are no CONFIG_HEADERS.
15556 # This happens for instance with `./config.status Makefile'.
15557 if test -n "$CONFIG_HEADERS"; then
15558 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15562 # Transform confdefs.h into an awk script `defines.awk', embedded as
15563 # here-document in config.status, that substitutes the proper values into
15564 # config.h.in to produce config.h.
15566 # Create a delimiter string that does not exist in confdefs.h, to ease
15567 # handling of long lines.
15569 for ac_last_try in false false :; do
15570 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15571 if test -z "$ac_tt"; then
15573 elif $ac_last_try; then
15574 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15576 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15580 # For the awk script, D is an array of macro values keyed by name,
15581 # likewise P contains macro parameters if any. Preserve backslash
15582 # newline sequences.
15584 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15586 s/.\{148\}/&'"$ac_delim"'/g
15589 s/^[ ]*#[ ]*define[ ][ ]*/ /
15596 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15598 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15602 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15603 D["\1"]=" \3\\\\\\n"\\/p
15605 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15610 s/.\{148\}/&'"$ac_delim"'/g
15615 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15618 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15620 ' <confdefs.h | sed '
15621 s/'"$ac_delim"'/"\\\
15622 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15624 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15625 for (key in D) D_is_set[key] = 1
15628 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15630 split(line, arg, " ")
15631 if (arg[1] == "#") {
15635 defundef = substr(arg[1], 2)
15638 split(mac1, mac2, "(") #)
15640 prefix = substr(line, 1, index(line, defundef) - 1)
15641 if (D_is_set[macro]) {
15642 # Preserve the white space surrounding the "#".
15643 print prefix "define", macro P[macro] D[macro]
15646 # Replace #undef with comments. This is necessary, for example,
15647 # in the case of _POSIX_SOURCE, which is predefined and required
15648 # on some systems where configure will not decide to define it.
15649 if (defundef == "undef") {
15650 print "/*", prefix defundef, macro, "*/"
15658 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15659 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15660 fi # test -n "$CONFIG_HEADERS"
15663 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15668 :[FHLC]) ac_mode=$ac_tag; continue;;
15670 case $ac_mode$ac_tag in
15672 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15673 :[FH]-) ac_tag=-:-;;
15674 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15691 -) ac_f="$ac_tmp/stdin";;
15692 *) # Look for the file first in the build tree, then in the source tree
15693 # (if the path is not absolute). The absolute path cannot be DOS-style,
15694 # because $ac_f cannot contain `:'.
15698 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15700 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15702 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15703 as_fn_append ac_file_inputs " '$ac_f'"
15706 # Let's still pretend it is `configure' which instantiates (i.e., don't
15707 # use $as_me), people would be surprised to read:
15708 # /* config.h. Generated by config.status. */
15709 configure_input='Generated from '`
15710 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15712 if test x"$ac_file" != x-; then
15713 configure_input="$ac_file. $configure_input"
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15715 $as_echo "$as_me: creating $ac_file" >&6;}
15717 # Neutralize special characters interpreted by sed in replacement strings.
15718 case $configure_input in #(
15719 *\&* | *\|* | *\\* )
15720 ac_sed_conf_input=`$as_echo "$configure_input" |
15721 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15722 *) ac_sed_conf_input=$configure_input;;
15726 *:-:* | *:-) cat >"$ac_tmp/stdin" \
15727 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15732 ac_dir=`$as_dirname -- "$ac_file" ||
15733 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15734 X"$ac_file" : 'X\(//\)[^/]' \| \
15735 X"$ac_file" : 'X\(//\)$' \| \
15736 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15737 $as_echo X"$ac_file" |
15738 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15742 /^X\(\/\/\)[^/].*/{
15755 as_dir="$ac_dir"; as_fn_mkdir_p
15759 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15761 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15762 # A ".." for each directory in $ac_dir_suffix.
15763 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15764 case $ac_top_builddir_sub in
15765 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15766 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15769 ac_abs_top_builddir=$ac_pwd
15770 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15771 # for backward compatibility:
15772 ac_top_builddir=$ac_top_build_prefix
15775 .) # We are building in place.
15777 ac_top_srcdir=$ac_top_builddir_sub
15778 ac_abs_top_srcdir=$ac_pwd ;;
15779 [\\/]* | ?:[\\/]* ) # Absolute name.
15780 ac_srcdir=$srcdir$ac_dir_suffix;
15781 ac_top_srcdir=$srcdir
15782 ac_abs_top_srcdir=$srcdir ;;
15783 *) # Relative name.
15784 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15785 ac_top_srcdir=$ac_top_build_prefix$srcdir
15786 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15788 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15798 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15799 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15801 ac_MKDIR_P=$MKDIR_P
15803 [\\/$]* | ?:[\\/]* ) ;;
15804 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15808 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15809 # If the template does not know about datarootdir, expand it.
15810 # FIXME: This hack should be removed a few years after 2.60.
15811 ac_datarootdir_hack=; ac_datarootdir_seen=
15822 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15823 *datarootdir*) ac_datarootdir_seen=yes;;
15824 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15826 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15828 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15829 ac_datarootdir_hack='
15830 s&@datadir@&$datadir&g
15831 s&@docdir@&$docdir&g
15832 s&@infodir@&$infodir&g
15833 s&@localedir@&$localedir&g
15834 s&@mandir@&$mandir&g
15835 s&\\\${datarootdir}&$datarootdir&g' ;;
15839 # Neutralize VPATH when `$srcdir' = `.'.
15840 # Shell code in configure.ac might set extrasub.
15841 # FIXME: do we really want to maintain this feature?
15842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15843 ac_sed_extra="$ac_vpsub
15846 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15848 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15849 s|@configure_input@|$ac_sed_conf_input|;t t
15850 s&@top_builddir@&$ac_top_builddir_sub&;t t
15851 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15852 s&@srcdir@&$ac_srcdir&;t t
15853 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15854 s&@top_srcdir@&$ac_top_srcdir&;t t
15855 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15856 s&@builddir@&$ac_builddir&;t t
15857 s&@abs_builddir@&$ac_abs_builddir&;t t
15858 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15859 s&@INSTALL@&$ac_INSTALL&;t t
15860 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15861 $ac_datarootdir_hack
15863 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15864 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15866 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15867 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15868 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15869 "$ac_tmp/out"`; test -z "$ac_out"; } &&
15870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15871 which seems to be undefined. Please make sure it is defined" >&5
15872 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15873 which seems to be undefined. Please make sure it is defined" >&2;}
15875 rm -f "$ac_tmp/stdin"
15877 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15878 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15880 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15886 if test x"$ac_file" != x-; then
15888 $as_echo "/* $configure_input */" \
15889 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15890 } >"$ac_tmp/config.h" \
15891 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15892 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15893 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15894 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15897 mv "$ac_tmp/config.h" "$ac_file" \
15898 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15901 $as_echo "/* $configure_input */" \
15902 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15903 || as_fn_error $? "could not create -" "$LINENO" 5
15905 # Compute "$ac_file"'s index in $config_headers.
15908 for _am_header in $config_headers :; do
15909 case $_am_header in
15910 $_am_arg | $_am_arg:* )
15913 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15916 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15917 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15918 X"$_am_arg" : 'X\(//\)[^/]' \| \
15919 X"$_am_arg" : 'X\(//\)$' \| \
15920 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15921 $as_echo X"$_am_arg" |
15922 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15926 /^X\(\/\/\)[^/].*/{
15938 s/.*/./; q'`/stamp-h$_am_stamp_count
15941 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15942 $as_echo "$as_me: executing $ac_file commands" >&6;}
15947 case $ac_file$ac_mode in
15948 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15949 # Older Autoconf quotes --file arguments for eval, but not when files
15950 # are listed without --file. Let's play safe and only enable the eval
15951 # if we detect the quoting.
15952 case $CONFIG_FILES in
15953 *\'*) eval set x "$CONFIG_FILES" ;;
15954 *) set x $CONFIG_FILES ;;
15959 # Strip MF so we end up with the name of the file.
15960 mf=`echo "$mf" | sed -e 's/:.*$//'`
15961 # Check whether this is an Automake generated Makefile or not.
15962 # We used to match only the files named 'Makefile.in', but
15963 # some people rename them; so instead we look at the file content.
15964 # Grep'ing the first line is not enough: some people post-process
15965 # each Makefile.in and add a new line on top of each file to say so.
15966 # Grep'ing the whole file is not good either: AIX grep has a line
15967 # limit of 2048, but all sed's we know have understand at least 4000.
15968 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15969 dirpart=`$as_dirname -- "$mf" ||
15970 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15971 X"$mf" : 'X\(//\)[^/]' \| \
15972 X"$mf" : 'X\(//\)$' \| \
15973 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15975 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15979 /^X\(\/\/\)[^/].*/{
15995 # Extract the definition of DEPDIR, am__include, and am__quote
15996 # from the Makefile without running 'make'.
15997 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15998 test -z "$DEPDIR" && continue
15999 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16000 test -z "$am__include" && continue
16001 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16002 # Find all dependency output files, they are included files with
16003 # $(DEPDIR) in their names. We invoke sed twice because it is the
16004 # simplest approach to changing $(DEPDIR) to its actual value in the
16006 for file in `sed -n "
16007 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16008 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16009 # Make sure the directory exists.
16010 test -f "$dirpart/$file" && continue
16011 fdir=`$as_dirname -- "$file" ||
16012 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16013 X"$file" : 'X\(//\)[^/]' \| \
16014 X"$file" : 'X\(//\)$' \| \
16015 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16016 $as_echo X"$file" |
16017 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16021 /^X\(\/\/\)[^/].*/{
16034 as_dir=$dirpart/$fdir; as_fn_mkdir_p
16035 # echo "creating $dirpart/$file"
16036 echo '# dummy' > "$dirpart/$file"
16043 # See if we are running on zsh, and set the options which allow our
16044 # commands through without removal of \ escapes.
16045 if test -n "${ZSH_VERSION+set}" ; then
16046 setopt NO_GLOB_SUBST
16049 cfgfile="${ofile}T"
16050 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16053 cat <<_LT_EOF >> "$cfgfile"
16056 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16057 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16058 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16059 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16061 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16062 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16064 # Written by Gordon Matzigkeit, 1996
16066 # This file is part of GNU Libtool.
16068 # GNU Libtool is free software; you can redistribute it and/or
16069 # modify it under the terms of the GNU General Public License as
16070 # published by the Free Software Foundation; either version 2 of
16071 # the License, or (at your option) any later version.
16073 # As a special exception to the GNU General Public License,
16074 # if you distribute this file as part of a program or library that
16075 # is built using GNU Libtool, you may include this file under the
16076 # same distribution terms that you use for the rest of that program.
16078 # GNU Libtool is distributed in the hope that it will be useful,
16079 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16080 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16081 # GNU General Public License for more details.
16083 # You should have received a copy of the GNU General Public License
16084 # along with GNU Libtool; see the file COPYING. If not, a copy
16085 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16086 # obtained by writing to the Free Software Foundation, Inc.,
16087 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16090 # The names of the tagged configurations supported by this script.
16093 # ### BEGIN LIBTOOL CONFIG
16095 # Which release of libtool.m4 was used?
16096 macro_version=$macro_version
16097 macro_revision=$macro_revision
16099 # Whether or not to build shared libraries.
16100 build_libtool_libs=$enable_shared
16102 # Whether or not to build static libraries.
16103 build_old_libs=$enable_static
16105 # What type of objects to build.
16108 # Whether or not to optimize for fast installation.
16109 fast_install=$enable_fast_install
16111 # Shell to use when invoking shell scripts.
16114 # An echo program that protects backslashes.
16117 # The PATH separator for the build system.
16118 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16121 host_alias=$host_alias
16125 # The build system.
16126 build_alias=$build_alias
16130 # A sed program that does not truncate output.
16133 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16134 Xsed="\$SED -e 1s/^X//"
16136 # A grep program that handles long lines.
16142 # A literal string matcher.
16145 # A BSD- or MS-compatible name lister.
16148 # Whether we need soft or hard links.
16151 # What is the maximum length of a command?
16152 max_cmd_len=$max_cmd_len
16154 # Object file suffix (normally "o").
16157 # Executable file suffix (normally "").
16160 # whether the shell understands "unset".
16163 # turn spaces into newlines.
16166 # turn newlines into spaces.
16169 # convert \$build file names to \$host format.
16170 to_host_file_cmd=$lt_cv_to_host_file_cmd
16172 # convert \$build files to toolchain format.
16173 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16175 # An object symbol dumper.
16176 OBJDUMP=$lt_OBJDUMP
16178 # Method to check whether dependent libraries are shared objects.
16179 deplibs_check_method=$lt_deplibs_check_method
16181 # Command to use when deplibs_check_method = "file_magic".
16182 file_magic_cmd=$lt_file_magic_cmd
16184 # How to find potential files when deplibs_check_method = "file_magic".
16185 file_magic_glob=$lt_file_magic_glob
16187 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16188 want_nocaseglob=$lt_want_nocaseglob
16190 # DLL creation program.
16191 DLLTOOL=$lt_DLLTOOL
16193 # Command to associate shared and link libraries.
16194 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16199 # Flags to create an archive.
16200 AR_FLAGS=$lt_AR_FLAGS
16202 # How to feed a file listing to the archiver.
16203 archiver_list_spec=$lt_archiver_list_spec
16205 # A symbol stripping program.
16208 # Commands used to install an old-style archive.
16210 old_postinstall_cmds=$lt_old_postinstall_cmds
16211 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16213 # Whether to use a lock for old archive extraction.
16214 lock_old_archive_extraction=$lock_old_archive_extraction
16219 # LTCC compiler flags.
16220 LTCFLAGS=$lt_CFLAGS
16222 # Take the output of nm and produce a listing of raw symbols and C names.
16223 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16225 # Transform the output of nm in a proper C declaration.
16226 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16228 # Transform the output of nm in a C name address pair.
16229 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16231 # Transform the output of nm in a C name address pair when lib prefix is needed.
16232 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16234 # Specify filename containing input files for \$NM.
16235 nm_file_list_spec=$lt_nm_file_list_spec
16237 # The root where to search for dependent libraries,and in which our libraries should be installed.
16238 lt_sysroot=$lt_sysroot
16240 # The name of the directory that contains temporary libtool files.
16243 # Used to examine libraries when file_magic_cmd begins with "file".
16244 MAGIC_CMD=$MAGIC_CMD
16246 # Must we lock files when doing compilation?
16247 need_locks=$lt_need_locks
16250 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16252 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16253 DSYMUTIL=$lt_DSYMUTIL
16255 # Tool to change global to local symbols on Mac OS X.
16258 # Tool to manipulate fat objects and archives on Mac OS X.
16261 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16264 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16265 OTOOL64=$lt_OTOOL64
16267 # Old archive suffix (normally "a").
16270 # Shared library suffix (normally ".so").
16271 shrext_cmds=$lt_shrext_cmds
16273 # The commands to extract the exported symbol list from a shared archive.
16274 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16276 # Variables whose values should be saved in libtool wrapper scripts and
16277 # restored at link time.
16278 variables_saved_for_relink=$lt_variables_saved_for_relink
16280 # Do we need the "lib" prefix for modules?
16281 need_lib_prefix=$need_lib_prefix
16283 # Do we need a version for libraries?
16284 need_version=$need_version
16286 # Library versioning type.
16287 version_type=$version_type
16289 # Shared library runtime path variable.
16290 runpath_var=$runpath_var
16292 # Shared library path variable.
16293 shlibpath_var=$shlibpath_var
16295 # Is shlibpath searched before the hard-coded library search path?
16296 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16298 # Format of library name prefix.
16299 libname_spec=$lt_libname_spec
16301 # List of archive names. First name is the real one, the rest are links.
16302 # The last name is the one that the linker finds with -lNAME
16303 library_names_spec=$lt_library_names_spec
16305 # The coded name of the library, if different from the real name.
16306 soname_spec=$lt_soname_spec
16308 # Permission mode override for installation of shared libraries.
16309 install_override_mode=$lt_install_override_mode
16311 # Command to use after installation of a shared archive.
16312 postinstall_cmds=$lt_postinstall_cmds
16314 # Command to use after uninstallation of a shared archive.
16315 postuninstall_cmds=$lt_postuninstall_cmds
16317 # Commands used to finish a libtool library installation in a directory.
16318 finish_cmds=$lt_finish_cmds
16320 # As "finish_cmds", except a single script fragment to be evaled but
16322 finish_eval=$lt_finish_eval
16324 # Whether we should hardcode library paths into libraries.
16325 hardcode_into_libs=$hardcode_into_libs
16327 # Compile-time system search path for libraries.
16328 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16330 # Run-time system search path for libraries.
16331 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16333 # Whether dlopen is supported.
16334 dlopen_support=$enable_dlopen
16336 # Whether dlopen of programs is supported.
16337 dlopen_self=$enable_dlopen_self
16339 # Whether dlopen of statically linked programs is supported.
16340 dlopen_self_static=$enable_dlopen_self_static
16342 # Commands to strip libraries.
16343 old_striplib=$lt_old_striplib
16344 striplib=$lt_striplib
16347 # The linker used to build libraries.
16350 # How to create reloadable object files.
16351 reload_flag=$lt_reload_flag
16352 reload_cmds=$lt_reload_cmds
16354 # Commands used to build an old-style archive.
16355 old_archive_cmds=$lt_old_archive_cmds
16357 # A language specific compiler.
16360 # Is the compiler the GNU compiler?
16363 # Compiler flag to turn off builtin functions.
16364 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16366 # Additional compiler flags for building library objects.
16367 pic_flag=$lt_lt_prog_compiler_pic
16369 # How to pass a linker flag through the compiler.
16370 wl=$lt_lt_prog_compiler_wl
16372 # Compiler flag to prevent dynamic linking.
16373 link_static_flag=$lt_lt_prog_compiler_static
16375 # Does compiler simultaneously support -c and -o options?
16376 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16378 # Whether or not to add -lc for building shared libraries.
16379 build_libtool_need_lc=$archive_cmds_need_lc
16381 # Whether or not to disallow shared libs when runtime libs are static.
16382 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16384 # Compiler flag to allow reflexive dlopens.
16385 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16387 # Compiler flag to generate shared objects directly from archives.
16388 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16390 # Whether the compiler copes with passing no objects directly.
16391 compiler_needs_object=$lt_compiler_needs_object
16393 # Create an old-style archive from a shared archive.
16394 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16396 # Create a temporary old-style archive to link instead of a shared archive.
16397 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16399 # Commands used to build a shared archive.
16400 archive_cmds=$lt_archive_cmds
16401 archive_expsym_cmds=$lt_archive_expsym_cmds
16403 # Commands used to build a loadable module if different from building
16404 # a shared archive.
16405 module_cmds=$lt_module_cmds
16406 module_expsym_cmds=$lt_module_expsym_cmds
16408 # Whether we are building with GNU ld or not.
16409 with_gnu_ld=$lt_with_gnu_ld
16411 # Flag that allows shared libraries with undefined symbols to be built.
16412 allow_undefined_flag=$lt_allow_undefined_flag
16414 # Flag that enforces no undefined symbols.
16415 no_undefined_flag=$lt_no_undefined_flag
16417 # Flag to hardcode \$libdir into a binary during linking.
16418 # This must work even if \$libdir does not exist
16419 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16421 # Whether we need a single "-rpath" flag with a separated argument.
16422 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16424 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16425 # DIR into the resulting binary.
16426 hardcode_direct=$hardcode_direct
16428 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16429 # DIR into the resulting binary and the resulting library dependency is
16430 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16431 # library is relocated.
16432 hardcode_direct_absolute=$hardcode_direct_absolute
16434 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16435 # into the resulting binary.
16436 hardcode_minus_L=$hardcode_minus_L
16438 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16439 # into the resulting binary.
16440 hardcode_shlibpath_var=$hardcode_shlibpath_var
16442 # Set to "yes" if building a shared library automatically hardcodes DIR
16443 # into the library and all subsequent libraries and executables linked
16445 hardcode_automatic=$hardcode_automatic
16447 # Set to yes if linker adds runtime paths of dependent libraries
16448 # to runtime path list.
16449 inherit_rpath=$inherit_rpath
16451 # Whether libtool must link a program against all its dependency libraries.
16452 link_all_deplibs=$link_all_deplibs
16454 # Set to "yes" if exported symbols are required.
16455 always_export_symbols=$always_export_symbols
16457 # The commands to list exported symbols.
16458 export_symbols_cmds=$lt_export_symbols_cmds
16460 # Symbols that should not be listed in the preloaded symbols.
16461 exclude_expsyms=$lt_exclude_expsyms
16463 # Symbols that must always be exported.
16464 include_expsyms=$lt_include_expsyms
16466 # Commands necessary for linking programs (against libraries) with templates.
16467 prelink_cmds=$lt_prelink_cmds
16469 # Commands necessary for finishing linking programs.
16470 postlink_cmds=$lt_postlink_cmds
16472 # Specify filename containing input files.
16473 file_list_spec=$lt_file_list_spec
16475 # How to hardcode a shared library path into an executable.
16476 hardcode_action=$hardcode_action
16478 # ### END LIBTOOL CONFIG
16484 cat <<\_LT_EOF >> "$cfgfile"
16485 # AIX sometimes has problems with the GCC collect2 program. For some
16486 # reason, if we set the COLLECT_NAMES environment variable, the problems
16487 # vanish in a puff of smoke.
16488 if test "X${COLLECT_NAMES+set}" != Xset; then
16490 export COLLECT_NAMES
16497 ltmain="$ac_aux_dir/ltmain.sh"
16500 # We use sed instead of cat because bash on DJGPP gets confused if
16501 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16502 # text mode, it properly converts lines to CR/LF. This bash problem
16503 # is reportedly fixed, but why not run on old versions too?
16504 sed '$q' "$ltmain" >> "$cfgfile" \
16505 || (rm -f "$cfgfile"; exit 1)
16507 if test x"$xsi_shell" = xyes; then
16508 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16512 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16513 \ * ) func_dirname_result="${3}" ;;\
16515 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16516 && mv -f "$cfgfile.tmp" "$cfgfile" \
16517 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16518 test 0 -eq $? || _lt_function_replace_fail=:
16521 sed -e '/^func_basename ()$/,/^} # func_basename /c\
16524 \ func_basename_result="${1##*/}"\
16525 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16526 && mv -f "$cfgfile.tmp" "$cfgfile" \
16527 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16528 test 0 -eq $? || _lt_function_replace_fail=:
16531 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16532 func_dirname_and_basename ()\
16535 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16536 \ * ) func_dirname_result="${3}" ;;\
16538 \ func_basename_result="${1##*/}"\
16539 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16540 && mv -f "$cfgfile.tmp" "$cfgfile" \
16541 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16542 test 0 -eq $? || _lt_function_replace_fail=:
16545 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16548 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16549 \ # positional parameters, so assign one to ordinary parameter first.\
16550 \ func_stripname_result=${3}\
16551 \ func_stripname_result=${func_stripname_result#"${1}"}\
16552 \ func_stripname_result=${func_stripname_result%"${2}"}\
16553 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16554 && mv -f "$cfgfile.tmp" "$cfgfile" \
16555 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16556 test 0 -eq $? || _lt_function_replace_fail=:
16559 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16560 func_split_long_opt ()\
16562 \ func_split_long_opt_name=${1%%=*}\
16563 \ func_split_long_opt_arg=${1#*=}\
16564 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16565 && mv -f "$cfgfile.tmp" "$cfgfile" \
16566 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16567 test 0 -eq $? || _lt_function_replace_fail=:
16570 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16571 func_split_short_opt ()\
16573 \ func_split_short_opt_arg=${1#??}\
16574 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16575 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16576 && mv -f "$cfgfile.tmp" "$cfgfile" \
16577 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16578 test 0 -eq $? || _lt_function_replace_fail=:
16581 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16585 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16586 \ *) func_lo2o_result=${1} ;;\
16588 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16589 && mv -f "$cfgfile.tmp" "$cfgfile" \
16590 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16591 test 0 -eq $? || _lt_function_replace_fail=:
16594 sed -e '/^func_xform ()$/,/^} # func_xform /c\
16597 func_xform_result=${1%.*}.lo\
16598 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16599 && mv -f "$cfgfile.tmp" "$cfgfile" \
16600 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16601 test 0 -eq $? || _lt_function_replace_fail=:
16604 sed -e '/^func_arith ()$/,/^} # func_arith /c\
16607 func_arith_result=$(( $* ))\
16608 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16609 && mv -f "$cfgfile.tmp" "$cfgfile" \
16610 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16611 test 0 -eq $? || _lt_function_replace_fail=:
16614 sed -e '/^func_len ()$/,/^} # func_len /c\
16617 func_len_result=${#1}\
16618 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16619 && mv -f "$cfgfile.tmp" "$cfgfile" \
16620 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16621 test 0 -eq $? || _lt_function_replace_fail=:
16625 if test x"$lt_shell_append" = xyes; then
16626 sed -e '/^func_append ()$/,/^} # func_append /c\
16629 eval "${1}+=\\${2}"\
16630 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16631 && mv -f "$cfgfile.tmp" "$cfgfile" \
16632 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16633 test 0 -eq $? || _lt_function_replace_fail=:
16636 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16637 func_append_quoted ()\
16639 \ func_quote_for_eval "${2}"\
16640 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16641 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16642 && mv -f "$cfgfile.tmp" "$cfgfile" \
16643 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16644 test 0 -eq $? || _lt_function_replace_fail=:
16647 # Save a `func_append' function call where possible by direct use of '+='
16648 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16649 && mv -f "$cfgfile.tmp" "$cfgfile" \
16650 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16651 test 0 -eq $? || _lt_function_replace_fail=:
16653 # Save a `func_append' function call even when '+=' is not available
16654 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16655 && mv -f "$cfgfile.tmp" "$cfgfile" \
16656 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16657 test 0 -eq $? || _lt_function_replace_fail=:
16660 if test x"$_lt_function_replace_fail" = x":"; then
16661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16662 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16666 mv -f "$cfgfile" "$ofile" ||
16667 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16678 ac_clean_files=$ac_clean_files_save
16680 test $ac_write_fail = 0 ||
16681 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16684 # configure is writing to config.log, and then calls config.status.
16685 # config.status does its own redirection, appending to config.log.
16686 # Unfortunately, on DOS this fails, as config.log is still kept open
16687 # by configure, so config.status won't be able to write to it; its
16688 # output is simply discarded. So we exec the FD to /dev/null,
16689 # effectively closing config.log, so it can be properly (re)opened and
16690 # appended to by config.status. When coming back to configure, we
16691 # need to make the FD available again.
16692 if test "$no_create" != yes; then
16694 ac_config_status_args=
16695 test "$silent" = yes &&
16696 ac_config_status_args="$ac_config_status_args --quiet"
16698 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16700 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16701 # would make configure fail if this is the last instruction.
16702 $ac_cs_success || as_fn_exit 1
16704 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16706 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16711 # Summarize the package configuration
16714 { $as_echo "$as_me:${as_lineno-$LINENO}:
16716 Configuration Summary
16717 ---------------------
16718 Package : ${PACKAGE_NAME}
16719 Version : ${PACKAGE_VERSION}
16720 Interface : ${LIBNLUNIT_TEST_VERSION_INFO//:/.}
16721 Build system : ${build}
16722 Host system : ${host}
16723 Target system : ${target}
16724 Target architecture : ${target_cpu}
16725 Target OS : ${target_os}
16726 Cross compiling : ${cross_compiling}
16727 Build shared libraries : ${enable_shared}
16728 Build static libraries : ${enable_static}
16729 Build debug libraries : ${nl_cv_build_debug}
16730 Build optimized libraries : ${nl_cv_build_optimized}
16731 Build coverage libraries : ${nl_cv_build_coverage}
16732 Build coverage reports : ${nl_cv_build_coverage_reports}
16734 Genhtml : ${GENHTML:--}
16736 Documentation support : ${nl_cv_build_docs}
16737 Doxygen : ${DOXYGEN:--}
16738 GraphViz dot : ${DOT:--}
16740 C Preprocessor : ${CPP}
16743 Archive Indexer : ${RANLIB}
16744 Symbol Stripper : ${STRIP}
16745 Object Copier : ${OBJCOPY}
16746 C Preprocessor flags : ${CPPFLAGS:--}
16747 C Compile flags : ${CFLAGS:--}
16748 Link flags : ${LDFLAGS:--}
16749 Link libraries : ${LIBS}
16754 Configuration Summary
16755 ---------------------
16756 Package : ${PACKAGE_NAME}
16757 Version : ${PACKAGE_VERSION}
16758 Interface : ${LIBNLUNIT_TEST_VERSION_INFO//:/.}
16759 Build system : ${build}
16760 Host system : ${host}
16761 Target system : ${target}
16762 Target architecture : ${target_cpu}
16763 Target OS : ${target_os}
16764 Cross compiling : ${cross_compiling}
16765 Build shared libraries : ${enable_shared}
16766 Build static libraries : ${enable_static}
16767 Build debug libraries : ${nl_cv_build_debug}
16768 Build optimized libraries : ${nl_cv_build_optimized}
16769 Build coverage libraries : ${nl_cv_build_coverage}
16770 Build coverage reports : ${nl_cv_build_coverage_reports}
16772 Genhtml : ${GENHTML:--}
16774 Documentation support : ${nl_cv_build_docs}
16775 Doxygen : ${DOXYGEN:--}
16776 GraphViz dot : ${DOT:--}
16778 C Preprocessor : ${CPP}
16781 Archive Indexer : ${RANLIB}
16782 Symbol Stripper : ${STRIP}
16783 Object Copier : ${OBJCOPY}
16784 C Preprocessor flags : ${CPPFLAGS:--}
16785 C Compile flags : ${CFLAGS:--}
16786 Link flags : ${LDFLAGS:--}
16787 Link libraries : ${LIBS}