2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for nlio gf493c3b.
5 # Report bugs to <nlio-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: nlio-users@google.com about your system, including any
251 $0: error possibly output before this message. Then install
252 $0: a modern shell, or manually run the script under such a
253 $0: 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.
572 PACKAGE_TARNAME='nlio'
573 PACKAGE_VERSION='gf493c3b'
574 PACKAGE_STRING='nlio gf493c3b'
575 PACKAGE_BUGREPORT='nlio-users@google.com'
576 PACKAGE_URL='https://github.com/nestlabs/nlio/'
578 ac_unique_file="include/nlio.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 enable_option_checking=no
617 ac_subst_vars='am__EXEEXT_FALSE
621 NLUNIT_TEST_FOREIGN_SUBDIR_DEPENDENCY
623 NLIO_WITH_NLUNIT_TEST_INTERNAL_FALSE
624 NLIO_WITH_NLUNIT_TEST_INTERNAL_TRUE
630 NLIO_BUILD_DOCS_FALSE
635 NLIO_BUILD_TESTS_FALSE
636 NLIO_BUILD_TESTS_TRUE
637 NLIO_BUILD_OPTIMIZED_FALSE
638 NLIO_BUILD_OPTIMIZED_TRUE
639 NLIO_BUILD_COVERAGE_REPORTS_FALSE
640 NLIO_BUILD_COVERAGE_REPORTS_TRUE
643 NLIO_BUILD_COVERAGE_FALSE
644 NLIO_BUILD_COVERAGE_TRUE
645 NLIO_BUILD_DEBUG_FALSE
646 NLIO_BUILD_DEBUG_TRUE
697 MAINTAINER_MODE_FALSE
711 INSTALL_STRIP_PROGRAM
726 nl_filtered_target_os
727 nl_filtered_target_vendor
728 nl_filtered_target_cpu
731 nl_filtered_host_vendor
735 nl_filtered_build_vendor
736 nl_filtered_build_cpu
751 LIBNLIO_VERSION_REVISION
753 LIBNLIO_VERSION_CURRENT
754 abs_top_nlbuild_autotools_dir
755 nlbuild_autotools_stem
783 program_transform_name
796 enable_option_checking
798 enable_maintainer_mode
799 enable_dependency_tracking
809 enable_coverage_reports
814 with_nlunit_test_includes
815 with_nlunit_test_libs
817 ac_precious_vars='build_alias
835 ac_subdirs_all='third_party/nlunit-test/repo'
837 # Initialize some variables set by options.
839 ac_init_version=false
840 ac_unrecognized_opts=
842 # The variables have the same names as the options, with
843 # dashes changed to underlines.
851 program_transform_name=s,x,x,
859 # Installation directory options.
860 # These are left unexpanded so users can "make install exec_prefix=/foo"
861 # and all the variables that are supposed to be based on exec_prefix
862 # by default will actually change.
863 # Use braces instead of parens because sh, perl, etc. also accept them.
864 # (The list follows the same order as the GNU Coding Standards.)
865 bindir='${exec_prefix}/bin'
866 sbindir='${exec_prefix}/sbin'
867 libexecdir='${exec_prefix}/libexec'
868 datarootdir='${prefix}/share'
869 datadir='${datarootdir}'
870 sysconfdir='${prefix}/etc'
871 sharedstatedir='${prefix}/com'
872 localstatedir='${prefix}/var'
873 includedir='${prefix}/include'
874 oldincludedir='/usr/include'
875 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
876 infodir='${datarootdir}/info'
881 libdir='${exec_prefix}/lib'
882 localedir='${datarootdir}/locale'
883 mandir='${datarootdir}/man'
889 # If the previous option needs an argument, assign it.
890 if test -n "$ac_prev"; then
891 eval $ac_prev=\$ac_option
897 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
902 # Accept the important Cygnus configure options, so we can diagnose typos.
904 case $ac_dashdash$ac_option in
908 -bindir | --bindir | --bindi | --bind | --bin | --bi)
910 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
913 -build | --build | --buil | --bui | --bu)
914 ac_prev=build_alias ;;
915 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
916 build_alias=$ac_optarg ;;
918 -cache-file | --cache-file | --cache-fil | --cache-fi \
919 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
920 ac_prev=cache_file ;;
921 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
922 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
923 cache_file=$ac_optarg ;;
926 cache_file=config.cache ;;
928 -datadir | --datadir | --datadi | --datad)
930 -datadir=* | --datadir=* | --datadi=* | --datad=*)
931 datadir=$ac_optarg ;;
933 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
934 | --dataroo | --dataro | --datar)
935 ac_prev=datarootdir ;;
936 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
937 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
938 datarootdir=$ac_optarg ;;
940 -disable-* | --disable-*)
941 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
942 # Reject names that are not valid shell variable names.
943 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
944 as_fn_error $? "invalid feature name: $ac_useropt"
945 ac_useropt_orig=$ac_useropt
946 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
947 case $ac_user_opts in
951 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
952 ac_unrecognized_sep=', ';;
954 eval enable_$ac_useropt=no ;;
956 -docdir | --docdir | --docdi | --doc | --do)
958 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
961 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
963 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
966 -enable-* | --enable-*)
967 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
968 # Reject names that are not valid shell variable names.
969 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
970 as_fn_error $? "invalid feature name: $ac_useropt"
971 ac_useropt_orig=$ac_useropt
972 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
973 case $ac_user_opts in
977 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
978 ac_unrecognized_sep=', ';;
980 eval enable_$ac_useropt=\$ac_optarg ;;
982 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
983 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
984 | --exec | --exe | --ex)
985 ac_prev=exec_prefix ;;
986 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
987 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
988 | --exec=* | --exe=* | --ex=*)
989 exec_prefix=$ac_optarg ;;
991 -gas | --gas | --ga | --g)
992 # Obsolete; use --with-gas.
995 -help | --help | --hel | --he | -h)
997 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
998 ac_init_help=recursive ;;
999 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1000 ac_init_help=short ;;
1002 -host | --host | --hos | --ho)
1003 ac_prev=host_alias ;;
1004 -host=* | --host=* | --hos=* | --ho=*)
1005 host_alias=$ac_optarg ;;
1007 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1009 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1011 htmldir=$ac_optarg ;;
1013 -includedir | --includedir | --includedi | --included | --include \
1014 | --includ | --inclu | --incl | --inc)
1015 ac_prev=includedir ;;
1016 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1017 | --includ=* | --inclu=* | --incl=* | --inc=*)
1018 includedir=$ac_optarg ;;
1020 -infodir | --infodir | --infodi | --infod | --info | --inf)
1022 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1023 infodir=$ac_optarg ;;
1025 -libdir | --libdir | --libdi | --libd)
1027 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1028 libdir=$ac_optarg ;;
1030 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1031 | --libexe | --libex | --libe)
1032 ac_prev=libexecdir ;;
1033 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1034 | --libexe=* | --libex=* | --libe=*)
1035 libexecdir=$ac_optarg ;;
1037 -localedir | --localedir | --localedi | --localed | --locale)
1038 ac_prev=localedir ;;
1039 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1040 localedir=$ac_optarg ;;
1042 -localstatedir | --localstatedir | --localstatedi | --localstated \
1043 | --localstate | --localstat | --localsta | --localst | --locals)
1044 ac_prev=localstatedir ;;
1045 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1046 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1047 localstatedir=$ac_optarg ;;
1049 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1051 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1052 mandir=$ac_optarg ;;
1054 -nfp | --nfp | --nf)
1055 # Obsolete; use --without-fp.
1058 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1059 | --no-cr | --no-c | -n)
1062 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1063 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1066 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1067 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1068 | --oldin | --oldi | --old | --ol | --o)
1069 ac_prev=oldincludedir ;;
1070 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1071 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1072 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1073 oldincludedir=$ac_optarg ;;
1075 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1077 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1078 prefix=$ac_optarg ;;
1080 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1081 | --program-pre | --program-pr | --program-p)
1082 ac_prev=program_prefix ;;
1083 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1084 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1085 program_prefix=$ac_optarg ;;
1087 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1088 | --program-suf | --program-su | --program-s)
1089 ac_prev=program_suffix ;;
1090 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1091 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1092 program_suffix=$ac_optarg ;;
1094 -program-transform-name | --program-transform-name \
1095 | --program-transform-nam | --program-transform-na \
1096 | --program-transform-n | --program-transform- \
1097 | --program-transform | --program-transfor \
1098 | --program-transfo | --program-transf \
1099 | --program-trans | --program-tran \
1100 | --progr-tra | --program-tr | --program-t)
1101 ac_prev=program_transform_name ;;
1102 -program-transform-name=* | --program-transform-name=* \
1103 | --program-transform-nam=* | --program-transform-na=* \
1104 | --program-transform-n=* | --program-transform-=* \
1105 | --program-transform=* | --program-transfor=* \
1106 | --program-transfo=* | --program-transf=* \
1107 | --program-trans=* | --program-tran=* \
1108 | --progr-tra=* | --program-tr=* | --program-t=*)
1109 program_transform_name=$ac_optarg ;;
1111 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1113 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1114 pdfdir=$ac_optarg ;;
1116 -psdir | --psdir | --psdi | --psd | --ps)
1118 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1121 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1122 | -silent | --silent | --silen | --sile | --sil)
1125 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1127 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1129 sbindir=$ac_optarg ;;
1131 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1132 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1133 | --sharedst | --shareds | --shared | --share | --shar \
1135 ac_prev=sharedstatedir ;;
1136 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1137 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1138 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1140 sharedstatedir=$ac_optarg ;;
1142 -site | --site | --sit)
1144 -site=* | --site=* | --sit=*)
1147 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1149 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1150 srcdir=$ac_optarg ;;
1152 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1153 | --syscon | --sysco | --sysc | --sys | --sy)
1154 ac_prev=sysconfdir ;;
1155 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1156 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1157 sysconfdir=$ac_optarg ;;
1159 -target | --target | --targe | --targ | --tar | --ta | --t)
1160 ac_prev=target_alias ;;
1161 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1162 target_alias=$ac_optarg ;;
1164 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1167 -version | --version | --versio | --versi | --vers | -V)
1168 ac_init_version=: ;;
1171 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1172 # Reject names that are not valid shell variable names.
1173 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1174 as_fn_error $? "invalid package name: $ac_useropt"
1175 ac_useropt_orig=$ac_useropt
1176 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1177 case $ac_user_opts in
1181 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1182 ac_unrecognized_sep=', ';;
1184 eval with_$ac_useropt=\$ac_optarg ;;
1186 -without-* | --without-*)
1187 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1188 # Reject names that are not valid shell variable names.
1189 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1190 as_fn_error $? "invalid package name: $ac_useropt"
1191 ac_useropt_orig=$ac_useropt
1192 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1193 case $ac_user_opts in
1197 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1198 ac_unrecognized_sep=', ';;
1200 eval with_$ac_useropt=no ;;
1203 # Obsolete; use --with-x.
1206 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1207 | --x-incl | --x-inc | --x-in | --x-i)
1208 ac_prev=x_includes ;;
1209 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1210 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1211 x_includes=$ac_optarg ;;
1213 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1214 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1215 ac_prev=x_libraries ;;
1216 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1217 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1218 x_libraries=$ac_optarg ;;
1220 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1221 Try \`$0 --help' for more information"
1225 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1226 # Reject names that are not valid shell variable names.
1227 case $ac_envvar in #(
1228 '' | [0-9]* | *[!_$as_cr_alnum]* )
1229 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1231 eval $ac_envvar=\$ac_optarg
1232 export $ac_envvar ;;
1235 # FIXME: should be removed in autoconf 3.0.
1236 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1237 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1238 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1239 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1245 if test -n "$ac_prev"; then
1246 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1247 as_fn_error $? "missing argument to $ac_option"
1250 if test -n "$ac_unrecognized_opts"; then
1251 case $enable_option_checking in
1253 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1254 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1258 # Check all directory arguments for consistency.
1259 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1260 datadir sysconfdir sharedstatedir localstatedir includedir \
1261 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1262 libdir localedir mandir
1264 eval ac_val=\$$ac_var
1265 # Remove trailing slashes.
1268 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1269 eval $ac_var=\$ac_val;;
1271 # Be sure to have absolute directory names.
1273 [\\/$]* | ?:[\\/]* ) continue;;
1274 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1276 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1279 # There might be people who depend on the old broken behavior: `$host'
1280 # used to hold the argument of --host etc.
1281 # FIXME: To remove some day.
1284 target=$target_alias
1286 # FIXME: To remove some day.
1287 if test "x$host_alias" != x; then
1288 if test "x$build_alias" = x; then
1289 cross_compiling=maybe
1290 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1291 If a cross compiler is detected then cross compile mode will be used" >&2
1292 elif test "x$build_alias" != "x$host_alias"; then
1298 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1300 test "$silent" = yes && exec 6>/dev/null
1303 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1304 ac_ls_di=`ls -di .` &&
1305 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1306 as_fn_error $? "working directory cannot be determined"
1307 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1308 as_fn_error $? "pwd does not report name of working directory"
1311 # Find the source files, if location was not specified.
1312 if test -z "$srcdir"; then
1313 ac_srcdir_defaulted=yes
1314 # Try the directory containing this script, then the parent directory.
1315 ac_confdir=`$as_dirname -- "$as_myself" ||
1316 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1317 X"$as_myself" : 'X\(//\)[^/]' \| \
1318 X"$as_myself" : 'X\(//\)$' \| \
1319 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1320 $as_echo X"$as_myself" |
1321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1339 if test ! -r "$srcdir/$ac_unique_file"; then
1343 ac_srcdir_defaulted=no
1345 if test ! -r "$srcdir/$ac_unique_file"; then
1346 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1347 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1349 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1351 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1353 # When building in place, set srcdir=.
1354 if test "$ac_abs_confdir" = "$ac_pwd"; then
1357 # Remove unnecessary trailing slashes from srcdir.
1358 # Double slashes in file names in object file debugging info
1359 # mess up M-x gdb in Emacs.
1361 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1363 for ac_var in $ac_precious_vars; do
1364 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1365 eval ac_env_${ac_var}_value=\$${ac_var}
1366 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1367 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1371 # Report the --help message.
1373 if test "$ac_init_help" = "long"; then
1374 # Omit some internal or obsolete options to make the list less imposing.
1375 # This message is too long to be a string in the A/UX 3.1 sh.
1377 \`configure' configures nlio gf493c3b to adapt to many kinds of systems.
1379 Usage: $0 [OPTION]... [VAR=VALUE]...
1381 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1382 VAR=VALUE. See below for descriptions of some of the useful variables.
1384 Defaults for the options are specified in brackets.
1387 -h, --help display this help and exit
1388 --help=short display options specific to this package
1389 --help=recursive display the short help of all the included packages
1390 -V, --version display version information and exit
1391 -q, --quiet, --silent do not print \`checking ...' messages
1392 --cache-file=FILE cache test results in FILE [disabled]
1393 -C, --config-cache alias for \`--cache-file=config.cache'
1394 -n, --no-create do not create output files
1395 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1397 Installation directories:
1398 --prefix=PREFIX install architecture-independent files in PREFIX
1399 [$ac_default_prefix]
1400 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1403 By default, \`make install' will install all the files in
1404 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1405 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1406 for instance \`--prefix=\$HOME'.
1408 For better control, use the options below.
1410 Fine tuning of the installation directories:
1411 --bindir=DIR user executables [EPREFIX/bin]
1412 --sbindir=DIR system admin executables [EPREFIX/sbin]
1413 --libexecdir=DIR program executables [EPREFIX/libexec]
1414 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1415 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1416 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1417 --libdir=DIR object code libraries [EPREFIX/lib]
1418 --includedir=DIR C header files [PREFIX/include]
1419 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1420 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1421 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1422 --infodir=DIR info documentation [DATAROOTDIR/info]
1423 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1424 --mandir=DIR man documentation [DATAROOTDIR/man]
1425 --docdir=DIR documentation root [DATAROOTDIR/doc/nlio]
1426 --htmldir=DIR html documentation [DOCDIR]
1427 --dvidir=DIR dvi documentation [DOCDIR]
1428 --pdfdir=DIR pdf documentation [DOCDIR]
1429 --psdir=DIR ps documentation [DOCDIR]
1435 --program-prefix=PREFIX prepend PREFIX to installed program names
1436 --program-suffix=SUFFIX append SUFFIX to installed program names
1437 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1440 --build=BUILD configure for building on BUILD [guessed]
1441 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1442 --target=TARGET configure for building compilers for TARGET [HOST]
1446 if test -n "$ac_init_help"; then
1447 case $ac_init_help in
1448 short | recursive ) echo "Configuration of nlio gf493c3b:";;
1453 --disable-option-checking ignore unrecognized --enable/--with options
1454 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1455 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1456 --enable-silent-rules less verbose build output (undo: "make V=1")
1457 --disable-silent-rules verbose build output (undo: "make V=0")
1458 --enable-maintainer-mode
1459 enable make rules and dependencies not useful (and
1460 sometimes confusing) to the casual installer
1461 --enable-dependency-tracking
1462 do not reject slow dependency extractors
1463 --disable-dependency-tracking
1464 speeds up one-time build
1465 --enable-shared[=PKGS] build shared libraries [default=yes]
1466 --enable-static[=PKGS] build static libraries [default=yes]
1467 --enable-fast-install[=PKGS]
1468 optimize for fast installation [default=yes]
1469 --disable-libtool-lock avoid locking (might break parallel builds)
1470 --enable-debug Enable the generation of debug instances
1472 --enable-coverage Enable the generation of code-coverage instances
1474 --enable-coverage-reports
1475 Enable the generation of code coverage reports
1476 (requires lcov) [default=auto].
1477 --enable-optimization Enable the generation of code-optimized instances
1479 --enable-tests Enable building of tests [default=yes].
1480 --disable-docs Enable building documentation (requires Doxygen)
1484 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1485 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1486 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1488 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1489 --with-sysroot=DIR Search for dependent libraries within DIR
1490 (or the compiler's sysroot if not specified).
1491 --with-nlunit_test=DIR Specify location of the required Nlunit-test headers
1492 and libraries [default=internal].
1493 --with-nlunit_test-includes=DIR
1494 Specify location of required Nlunit-test headers
1496 --with-nlunit_test-libs=DIR
1497 Specify location of required Nlunit-test libraries
1500 Some influential environment variables:
1501 CC C compiler command
1502 CFLAGS C compiler flags
1503 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1504 nonstandard directory <lib dir>
1505 LIBS libraries to pass to the linker, e.g. -l<library>
1506 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1507 you have headers in a nonstandard directory <include dir>
1509 CXX C++ compiler command
1510 CXXFLAGS C++ compiler flags
1511 CXXCPP C++ preprocessor
1512 DOXYGEN Doxygen executable
1513 DOT GraphViz 'dot' executable, which may be used, when present, to
1514 generate Doxygen class graphs
1515 NLUNIT_TEST_CPPFLAGS
1516 Nlunit-test C preprocessor flags
1518 Nlunit-test linker flags
1520 Nlunit-test linker libraries
1522 Use these variables to override the choices made by `configure' or to help
1523 it to find libraries and programs with nonstandard names/locations.
1525 Report bugs to <nlio-users@google.com>.
1526 nlio home page: <https://github.com/nestlabs/nlio/>.
1531 if test "$ac_init_help" = "recursive"; then
1532 # If there are subdirs, report their specific --help.
1533 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1534 test -d "$ac_dir" ||
1535 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1540 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1542 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1543 # A ".." for each directory in $ac_dir_suffix.
1544 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1545 case $ac_top_builddir_sub in
1546 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1547 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1550 ac_abs_top_builddir=$ac_pwd
1551 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1552 # for backward compatibility:
1553 ac_top_builddir=$ac_top_build_prefix
1556 .) # We are building in place.
1558 ac_top_srcdir=$ac_top_builddir_sub
1559 ac_abs_top_srcdir=$ac_pwd ;;
1560 [\\/]* | ?:[\\/]* ) # Absolute name.
1561 ac_srcdir=$srcdir$ac_dir_suffix;
1562 ac_top_srcdir=$srcdir
1563 ac_abs_top_srcdir=$srcdir ;;
1565 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1566 ac_top_srcdir=$ac_top_build_prefix$srcdir
1567 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1569 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1571 cd "$ac_dir" || { ac_status=$?; continue; }
1572 # Check for guested configure.
1573 if test -f "$ac_srcdir/configure.gnu"; then
1575 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1576 elif test -f "$ac_srcdir/configure"; then
1578 $SHELL "$ac_srcdir/configure" --help=recursive
1580 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1582 cd "$ac_pwd" || { ac_status=$?; break; }
1586 test -n "$ac_init_help" && exit $ac_status
1587 if $ac_init_version; then
1589 nlio configure gf493c3b
1590 generated by GNU Autoconf 2.68
1592 Copyright (C) 2010 Free Software Foundation, Inc.
1593 This configure script is free software; the Free Software Foundation
1594 gives unlimited permission to copy, distribute and modify it.
1599 ## ------------------------ ##
1600 ## Autoconf initialization. ##
1601 ## ------------------------ ##
1603 # ac_fn_c_try_compile LINENO
1604 # --------------------------
1605 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1606 ac_fn_c_try_compile ()
1608 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1609 rm -f conftest.$ac_objext
1610 if { { ac_try="$ac_compile"
1612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1613 *) ac_try_echo=$ac_try;;
1615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1616 $as_echo "$ac_try_echo"; } >&5
1617 (eval "$ac_compile") 2>conftest.err
1619 if test -s conftest.err; then
1620 grep -v '^ *+' conftest.err >conftest.er1
1621 cat conftest.er1 >&5
1622 mv -f conftest.er1 conftest.err
1624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1625 test $ac_status = 0; } && {
1626 test -z "$ac_c_werror_flag" ||
1627 test ! -s conftest.err
1628 } && test -s conftest.$ac_objext; then :
1631 $as_echo "$as_me: failed program was:" >&5
1632 sed 's/^/| /' conftest.$ac_ext >&5
1636 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1637 as_fn_set_status $ac_retval
1639 } # ac_fn_c_try_compile
1641 # ac_fn_c_try_cpp LINENO
1642 # ----------------------
1643 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647 if { { ac_try="$ac_cpp conftest.$ac_ext"
1649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1650 *) ac_try_echo=$ac_try;;
1652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1653 $as_echo "$ac_try_echo"; } >&5
1654 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1656 if test -s conftest.err; then
1657 grep -v '^ *+' conftest.err >conftest.er1
1658 cat conftest.er1 >&5
1659 mv -f conftest.er1 conftest.err
1661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1662 test $ac_status = 0; } > conftest.i && {
1663 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1664 test ! -s conftest.err
1668 $as_echo "$as_me: failed program was:" >&5
1669 sed 's/^/| /' conftest.$ac_ext >&5
1673 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1674 as_fn_set_status $ac_retval
1678 # ac_fn_cxx_try_compile LINENO
1679 # ----------------------------
1680 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1681 ac_fn_cxx_try_compile ()
1683 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1684 rm -f conftest.$ac_objext
1685 if { { ac_try="$ac_compile"
1687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1688 *) ac_try_echo=$ac_try;;
1690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1691 $as_echo "$ac_try_echo"; } >&5
1692 (eval "$ac_compile") 2>conftest.err
1694 if test -s conftest.err; then
1695 grep -v '^ *+' conftest.err >conftest.er1
1696 cat conftest.er1 >&5
1697 mv -f conftest.er1 conftest.err
1699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1700 test $ac_status = 0; } && {
1701 test -z "$ac_cxx_werror_flag" ||
1702 test ! -s conftest.err
1703 } && test -s conftest.$ac_objext; then :
1706 $as_echo "$as_me: failed program was:" >&5
1707 sed 's/^/| /' conftest.$ac_ext >&5
1711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1712 as_fn_set_status $ac_retval
1714 } # ac_fn_cxx_try_compile
1716 # ac_fn_cxx_try_cpp LINENO
1717 # ------------------------
1718 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1719 ac_fn_cxx_try_cpp ()
1721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1722 if { { ac_try="$ac_cpp conftest.$ac_ext"
1724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1725 *) ac_try_echo=$ac_try;;
1727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728 $as_echo "$ac_try_echo"; } >&5
1729 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1731 if test -s conftest.err; then
1732 grep -v '^ *+' conftest.err >conftest.er1
1733 cat conftest.er1 >&5
1734 mv -f conftest.er1 conftest.err
1736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737 test $ac_status = 0; } > conftest.i && {
1738 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1739 test ! -s conftest.err
1743 $as_echo "$as_me: failed program was:" >&5
1744 sed 's/^/| /' conftest.$ac_ext >&5
1748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1749 as_fn_set_status $ac_retval
1751 } # ac_fn_cxx_try_cpp
1753 # ac_fn_c_try_link LINENO
1754 # -----------------------
1755 # Try to link conftest.$ac_ext, and return whether this succeeded.
1758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759 rm -f conftest.$ac_objext conftest$ac_exeext
1760 if { { ac_try="$ac_link"
1762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1763 *) ac_try_echo=$ac_try;;
1765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1766 $as_echo "$ac_try_echo"; } >&5
1767 (eval "$ac_link") 2>conftest.err
1769 if test -s conftest.err; then
1770 grep -v '^ *+' conftest.err >conftest.er1
1771 cat conftest.er1 >&5
1772 mv -f conftest.er1 conftest.err
1774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1775 test $ac_status = 0; } && {
1776 test -z "$ac_c_werror_flag" ||
1777 test ! -s conftest.err
1778 } && test -s conftest$ac_exeext && {
1779 test "$cross_compiling" = yes ||
1780 $as_test_x conftest$ac_exeext
1784 $as_echo "$as_me: failed program was:" >&5
1785 sed 's/^/| /' conftest.$ac_ext >&5
1789 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1790 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1791 # interfere with the next link command; also delete a directory that is
1792 # left behind by Apple's compiler. We do this before executing the actions.
1793 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1794 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1795 as_fn_set_status $ac_retval
1797 } # ac_fn_c_try_link
1799 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1800 # -------------------------------------------------------
1801 # Tests whether HEADER exists and can be compiled using the include files in
1802 # INCLUDES, setting the cache variable VAR accordingly.
1803 ac_fn_c_check_header_compile ()
1805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1807 $as_echo_n "checking for $2... " >&6; }
1808 if eval \${$3+:} false; then :
1809 $as_echo_n "(cached) " >&6
1811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1812 /* end confdefs.h. */
1816 if ac_fn_c_try_compile "$LINENO"; then :
1821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1825 $as_echo "$ac_res" >&6; }
1826 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1828 } # ac_fn_c_check_header_compile
1830 # ac_fn_c_try_run LINENO
1831 # ----------------------
1832 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1833 # that executables *can* be run.
1836 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1837 if { { ac_try="$ac_link"
1839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1840 *) ac_try_echo=$ac_try;;
1842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1843 $as_echo "$ac_try_echo"; } >&5
1844 (eval "$ac_link") 2>&5
1846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1847 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1848 { { case "(($ac_try" in
1849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1850 *) ac_try_echo=$ac_try;;
1852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1853 $as_echo "$ac_try_echo"; } >&5
1854 (eval "$ac_try") 2>&5
1856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1857 test $ac_status = 0; }; }; then :
1860 $as_echo "$as_me: program exited with status $ac_status" >&5
1861 $as_echo "$as_me: failed program was:" >&5
1862 sed 's/^/| /' conftest.$ac_ext >&5
1864 ac_retval=$ac_status
1866 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1867 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1868 as_fn_set_status $ac_retval
1872 # ac_fn_c_check_func LINENO FUNC VAR
1873 # ----------------------------------
1874 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1875 ac_fn_c_check_func ()
1877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1879 $as_echo_n "checking for $2... " >&6; }
1880 if eval \${$3+:} false; then :
1881 $as_echo_n "(cached) " >&6
1883 if test x$ac_no_link = xyes; then
1884 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
1886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1887 /* end confdefs.h. */
1888 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1890 #define $2 innocuous_$2
1892 /* System header to define __stub macros and hopefully few prototypes,
1893 which can conflict with char $2 (); below.
1894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1895 <limits.h> exists even on freestanding compilers. */
1898 # include <limits.h>
1900 # include <assert.h>
1905 /* Override any GCC internal prototype to avoid an error.
1906 Use char because int might match the return type of a GCC
1907 builtin and then its argument prototype would still apply. */
1912 /* The GNU C library defines this for functions which it implements
1913 to always fail with ENOSYS. Some functions are actually named
1914 something starting with __ and the normal name is an alias. */
1915 #if defined __stub_$2 || defined __stub___$2
1927 if ac_fn_c_try_link "$LINENO"; then :
1932 rm -f core conftest.err conftest.$ac_objext \
1933 conftest$ac_exeext conftest.$ac_ext
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1937 $as_echo "$ac_res" >&6; }
1938 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1940 } # ac_fn_c_check_func
1942 # ac_fn_cxx_try_link LINENO
1943 # -------------------------
1944 # Try to link conftest.$ac_ext, and return whether this succeeded.
1945 ac_fn_cxx_try_link ()
1947 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1948 rm -f conftest.$ac_objext conftest$ac_exeext
1949 if { { ac_try="$ac_link"
1951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1952 *) ac_try_echo=$ac_try;;
1954 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1955 $as_echo "$ac_try_echo"; } >&5
1956 (eval "$ac_link") 2>conftest.err
1958 if test -s conftest.err; then
1959 grep -v '^ *+' conftest.err >conftest.er1
1960 cat conftest.er1 >&5
1961 mv -f conftest.er1 conftest.err
1963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1964 test $ac_status = 0; } && {
1965 test -z "$ac_cxx_werror_flag" ||
1966 test ! -s conftest.err
1967 } && test -s conftest$ac_exeext && {
1968 test "$cross_compiling" = yes ||
1969 $as_test_x conftest$ac_exeext
1973 $as_echo "$as_me: failed program was:" >&5
1974 sed 's/^/| /' conftest.$ac_ext >&5
1978 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1979 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1980 # interfere with the next link command; also delete a directory that is
1981 # left behind by Apple's compiler. We do this before executing the actions.
1982 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1983 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1984 as_fn_set_status $ac_retval
1986 } # ac_fn_cxx_try_link
1988 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1989 # -------------------------------------------------------
1990 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1991 # the include files in INCLUDES and setting the cache variable VAR
1993 ac_fn_c_check_header_mongrel ()
1995 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1996 if eval \${$3+:} false; then :
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1998 $as_echo_n "checking for $2... " >&6; }
1999 if eval \${$3+:} false; then :
2000 $as_echo_n "(cached) " >&6
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2004 $as_echo "$ac_res" >&6; }
2006 # Is the header compilable?
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2008 $as_echo_n "checking $2 usability... " >&6; }
2009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2010 /* end confdefs.h. */
2014 if ac_fn_c_try_compile "$LINENO"; then :
2015 ac_header_compiler=yes
2017 ac_header_compiler=no
2019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2021 $as_echo "$ac_header_compiler" >&6; }
2023 # Is the header present?
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2025 $as_echo_n "checking $2 presence... " >&6; }
2026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2027 /* end confdefs.h. */
2030 if ac_fn_c_try_cpp "$LINENO"; then :
2031 ac_header_preproc=yes
2033 ac_header_preproc=no
2035 rm -f conftest.err conftest.i conftest.$ac_ext
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2037 $as_echo "$ac_header_preproc" >&6; }
2039 # So? What about this header?
2040 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2043 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2045 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2049 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2051 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2053 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2055 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2057 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2058 ( $as_echo "## ------------------------------------ ##
2059 ## Report this to nlio-users@google.com ##
2060 ## ------------------------------------ ##"
2061 ) | sed "s/^/$as_me: WARNING: /" >&2
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2065 $as_echo_n "checking for $2... " >&6; }
2066 if eval \${$3+:} false; then :
2067 $as_echo_n "(cached) " >&6
2069 eval "$3=\$ac_header_compiler"
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2073 $as_echo "$ac_res" >&6; }
2075 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2077 } # ac_fn_c_check_header_mongrel
2079 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2080 # -------------------------------------------
2081 # Tests whether TYPE exists after having included INCLUDES, setting cache
2082 # variable VAR accordingly.
2083 ac_fn_c_check_type ()
2085 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2087 $as_echo_n "checking for $2... " >&6; }
2088 if eval \${$3+:} false; then :
2089 $as_echo_n "(cached) " >&6
2092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2093 /* end confdefs.h. */
2104 if ac_fn_c_try_compile "$LINENO"; then :
2105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2106 /* end confdefs.h. */
2117 if ac_fn_c_try_compile "$LINENO"; then :
2122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2128 $as_echo "$ac_res" >&6; }
2129 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2131 } # ac_fn_c_check_type
2133 # ac_fn_c_find_intX_t LINENO BITS VAR
2134 # -----------------------------------
2135 # Finds a signed integer type with width BITS, setting cache variable VAR
2137 ac_fn_c_find_intX_t ()
2139 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
2141 $as_echo_n "checking for int$2_t... " >&6; }
2142 if eval \${$3+:} false; then :
2143 $as_echo_n "(cached) " >&6
2146 # Order is important - never check a type that is potentially smaller
2147 # than half of the expected target width.
2148 for ac_type in int$2_t 'int' 'long int' \
2149 'long long int' 'short int' 'signed char'; do
2150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2151 /* end confdefs.h. */
2152 $ac_includes_default
2153 enum { N = $2 / 2 - 1 };
2157 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
2164 if ac_fn_c_try_compile "$LINENO"; then :
2165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2166 /* end confdefs.h. */
2167 $ac_includes_default
2168 enum { N = $2 / 2 - 1 };
2172 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
2173 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
2180 if ac_fn_c_try_compile "$LINENO"; then :
2187 eval "$3=\$ac_type" ;;
2190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2193 if eval test \"x\$"$3"\" = x"no"; then :
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2202 $as_echo "$ac_res" >&6; }
2203 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2205 } # ac_fn_c_find_intX_t
2207 # ac_fn_c_find_uintX_t LINENO BITS VAR
2208 # ------------------------------------
2209 # Finds an unsigned integer type with width BITS, setting cache variable VAR
2211 ac_fn_c_find_uintX_t ()
2213 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2215 $as_echo_n "checking for uint$2_t... " >&6; }
2216 if eval \${$3+:} false; then :
2217 $as_echo_n "(cached) " >&6
2220 # Order is important - never check a type that is potentially smaller
2221 # than half of the expected target width.
2222 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2223 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2225 /* end confdefs.h. */
2226 $ac_includes_default
2230 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2237 if ac_fn_c_try_compile "$LINENO"; then :
2242 eval "$3=\$ac_type" ;;
2245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2246 if eval test \"x\$"$3"\" = x"no"; then :
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2255 $as_echo "$ac_res" >&6; }
2256 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2258 } # ac_fn_c_find_uintX_t
2259 cat >config.log <<_ACEOF
2260 This file contains any messages produced by compilers while
2261 running configure, to aid debugging if configure makes a mistake.
2263 It was created by nlio $as_me gf493c3b, which was
2264 generated by GNU Autoconf 2.68. Invocation command line was
2276 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2277 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2278 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2279 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2280 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2282 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2283 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2285 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2286 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2287 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2288 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2289 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2290 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2291 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2299 test -z "$as_dir" && as_dir=.
2300 $as_echo "PATH: $as_dir"
2316 # Keep a trace of the command line.
2317 # Strip out --no-create and --no-recursion so they do not pile up.
2318 # Strip out --silent because we don't want to record it for future runs.
2319 # Also quote any args containing shell meta-characters.
2320 # Make two passes to allow for proper duplicate-argument suppression.
2324 ac_must_keep_next=false
2330 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2331 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2332 | -silent | --silent | --silen | --sile | --sil)
2335 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2338 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2340 as_fn_append ac_configure_args1 " '$ac_arg'"
2341 if test $ac_must_keep_next = true; then
2342 ac_must_keep_next=false # Got value, back to normal.
2345 *=* | --config-cache | -C | -disable-* | --disable-* \
2346 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2347 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2348 | -with-* | --with-* | -without-* | --without-* | --x)
2349 case "$ac_configure_args0 " in
2350 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2353 -* ) ac_must_keep_next=true ;;
2356 as_fn_append ac_configure_args " '$ac_arg'"
2361 { ac_configure_args0=; unset ac_configure_args0;}
2362 { ac_configure_args1=; unset ac_configure_args1;}
2364 # When interrupted or exit'd, cleanup temporary files, and complete
2365 # config.log. We remove comments because anyway the quotes in there
2366 # would cause problems or look ugly.
2367 # WARNING: Use '\'' to represent an apostrophe within the trap.
2368 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2369 trap 'exit_status=$?
2370 # Save into config.log some information that might help in debugging.
2374 $as_echo "## ---------------- ##
2375 ## Cache variables. ##
2376 ## ---------------- ##"
2378 # The following way of writing the cache mishandles newlines in values,
2380 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2381 eval ac_val=\$$ac_var
2385 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2386 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2389 _ | IFS | as_nl) ;; #(
2390 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2391 *) { eval $ac_var=; unset $ac_var;} ;;
2396 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2397 *${as_nl}ac_space=\ *)
2399 "s/'\''/'\''\\\\'\'''\''/g;
2400 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2403 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2410 $as_echo "## ----------------- ##
2411 ## Output variables. ##
2412 ## ----------------- ##"
2414 for ac_var in $ac_subst_vars
2416 eval ac_val=\$$ac_var
2418 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2420 $as_echo "$ac_var='\''$ac_val'\''"
2424 if test -n "$ac_subst_files"; then
2425 $as_echo "## ------------------- ##
2426 ## File substitutions. ##
2427 ## ------------------- ##"
2429 for ac_var in $ac_subst_files
2431 eval ac_val=\$$ac_var
2433 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2435 $as_echo "$ac_var='\''$ac_val'\''"
2440 if test -s confdefs.h; then
2441 $as_echo "## ----------- ##
2448 test "$ac_signal" != 0 &&
2449 $as_echo "$as_me: caught signal $ac_signal"
2450 $as_echo "$as_me: exit $exit_status"
2452 rm -f core *.core core.conftest.* &&
2453 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2456 for ac_signal in 1 2 13 15; do
2457 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2461 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2462 rm -f -r conftest* confdefs.h
2464 $as_echo "/* confdefs.h */" > confdefs.h
2466 # Predefined preprocessor variables.
2468 cat >>confdefs.h <<_ACEOF
2469 #define PACKAGE_NAME "$PACKAGE_NAME"
2472 cat >>confdefs.h <<_ACEOF
2473 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2476 cat >>confdefs.h <<_ACEOF
2477 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2480 cat >>confdefs.h <<_ACEOF
2481 #define PACKAGE_STRING "$PACKAGE_STRING"
2484 cat >>confdefs.h <<_ACEOF
2485 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2488 cat >>confdefs.h <<_ACEOF
2489 #define PACKAGE_URL "$PACKAGE_URL"
2493 # Let the site file select an alternate cache file if it wants to.
2494 # Prefer an explicitly selected file to automatically selected ones.
2497 if test -n "$CONFIG_SITE"; then
2498 # We do not want a PATH search for config.site.
2499 case $CONFIG_SITE in #((
2500 -*) ac_site_file1=./$CONFIG_SITE;;
2501 */*) ac_site_file1=$CONFIG_SITE;;
2502 *) ac_site_file1=./$CONFIG_SITE;;
2504 elif test "x$prefix" != xNONE; then
2505 ac_site_file1=$prefix/share/config.site
2506 ac_site_file2=$prefix/etc/config.site
2508 ac_site_file1=$ac_default_prefix/share/config.site
2509 ac_site_file2=$ac_default_prefix/etc/config.site
2511 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2513 test "x$ac_site_file" = xNONE && continue
2514 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2516 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2517 sed 's/^/| /' "$ac_site_file" >&5
2519 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2520 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2521 as_fn_error $? "failed to load site script $ac_site_file
2522 See \`config.log' for more details" "$LINENO" 5; }
2526 if test -r "$cache_file"; then
2527 # Some versions of bash will fail to source /dev/null (special files
2528 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2529 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2531 $as_echo "$as_me: loading cache $cache_file" >&6;}
2533 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2534 *) . "./$cache_file";;
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2539 $as_echo "$as_me: creating cache $cache_file" >&6;}
2543 # Check that the precious variables saved in the cache have kept the same
2545 ac_cache_corrupted=false
2546 for ac_var in $ac_precious_vars; do
2547 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2548 eval ac_new_set=\$ac_env_${ac_var}_set
2549 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2550 eval ac_new_val=\$ac_env_${ac_var}_value
2551 case $ac_old_set,$ac_new_set in
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2554 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2555 ac_cache_corrupted=: ;;
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2558 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2559 ac_cache_corrupted=: ;;
2562 if test "x$ac_old_val" != "x$ac_new_val"; then
2563 # differences in whitespace do not lead to failure.
2564 ac_old_val_w=`echo x $ac_old_val`
2565 ac_new_val_w=`echo x $ac_new_val`
2566 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2568 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2569 ac_cache_corrupted=:
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2572 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2573 eval $ac_var=\$ac_old_val
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2576 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2578 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2581 # Pass precious variables to config.status.
2582 if test "$ac_new_set" = set; then
2584 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2585 *) ac_arg=$ac_var=$ac_new_val ;;
2587 case " $ac_configure_args " in
2588 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2589 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2593 if $ac_cache_corrupted; then
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2595 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2597 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2598 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2600 ## -------------------- ##
2601 ## Main body of script. ##
2602 ## -------------------- ##
2605 ac_cpp='$CPP $CPPFLAGS'
2606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2612 # Tell the rest of the build system the absolute path where the
2613 # nlbuild-autotools repository is rooted at.
2615 nlbuild_autotools_stem=third_party/nlbuild-autotools/repo
2617 abs_top_nlbuild_autotools_dir=\${abs_top_srcdir}/\${nlbuild_autotools_stem}
2621 # NLIO interface current, revision, and age versions.
2623 # NOTE: At present, NLIO makes NO ABI compatibility
2624 # commitments. Consequently, these simply serve as documentation
2625 # for how the interfaces have evolved.
2627 # Maintainters: Please manage these fields as follows:
2629 # Interfaces removed: CURRENT++, AGE = 0, REVISION = 0
2630 # Interfaces added: CURRENT++, AGE++, REVISION = 0
2631 # No interfaces changed: REVISION++
2634 LIBNLIO_VERSION_CURRENT=1
2636 LIBNLIO_VERSION_AGE=0
2638 LIBNLIO_VERSION_REVISION=0
2640 LIBNLIO_VERSION_INFO=${LIBNLIO_VERSION_CURRENT}:${LIBNLIO_VERSION_REVISION}:${LIBNLIO_VERSION_AGE}
2644 # Check the sanity of the source directory by checking for the
2645 # presence of a key watch file
2650 # Tell autoconf where to find auxilliary build tools (e.g. config.guess,
2651 # install-sh, missing, etc.)
2654 for ac_dir in third_party/nlbuild-autotools/repo/third_party/autoconf "$srcdir"/third_party/nlbuild-autotools/repo/third_party/autoconf; do
2655 if test -f "$ac_dir/install-sh"; then
2657 ac_install_sh="$ac_aux_dir/install-sh -c"
2659 elif test -f "$ac_dir/install.sh"; then
2661 ac_install_sh="$ac_aux_dir/install.sh -c"
2663 elif test -f "$ac_dir/shtool"; then
2665 ac_install_sh="$ac_aux_dir/shtool install -c"
2669 if test -z "$ac_aux_dir"; then
2670 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
2673 # These three variables are undocumented and unsupported,
2674 # and are intended to be withdrawn in a future Autoconf release.
2675 # They can cause serious problems if a builder's source tree is in a directory
2676 # whose full name contains unusual characters.
2677 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2678 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2679 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2684 # Tell autoconf where to find auxilliary M4 macros
2689 # Tell autoconf what file the package is using to aggregate C preprocessor
2692 ac_config_headers="$ac_config_headers include/nlio-config.h"
2696 # Figure out what the canonical build, host and target tuples are.
2698 # Make sure we can run config.sub.
2699 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2700 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2703 $as_echo_n "checking build system type... " >&6; }
2704 if ${ac_cv_build+:} false; then :
2705 $as_echo_n "(cached) " >&6
2707 ac_build_alias=$build_alias
2708 test "x$ac_build_alias" = x &&
2709 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2710 test "x$ac_build_alias" = x &&
2711 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2712 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2713 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2717 $as_echo "$ac_cv_build" >&6; }
2718 case $ac_cv_build in
2720 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2723 ac_save_IFS=$IFS; IFS='-'
2729 # Remember, the first character of IFS is used to create $*,
2730 # except with old shells:
2733 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2737 $as_echo_n "checking host system type... " >&6; }
2738 if ${ac_cv_host+:} false; then :
2739 $as_echo_n "(cached) " >&6
2741 if test "x$host_alias" = x; then
2742 ac_cv_host=$ac_cv_build
2744 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2745 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2750 $as_echo "$ac_cv_host" >&6; }
2753 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2756 ac_save_IFS=$IFS; IFS='-'
2762 # Remember, the first character of IFS is used to create $*,
2763 # except with old shells:
2766 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2770 $as_echo_n "checking target system type... " >&6; }
2771 if ${ac_cv_target+:} false; then :
2772 $as_echo_n "(cached) " >&6
2774 if test "x$target_alias" = x; then
2775 ac_cv_target=$ac_cv_host
2777 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2778 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2783 $as_echo "$ac_cv_target" >&6; }
2784 case $ac_cv_target in
2786 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2788 target=$ac_cv_target
2789 ac_save_IFS=$IFS; IFS='-'
2795 # Remember, the first character of IFS is used to create $*,
2796 # except with old shells:
2799 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2802 # The aliases save the names the user supplied, while $host etc.
2803 # will get canonicalized.
2804 test -n "$target_alias" &&
2805 test "$program_prefix$program_suffix$program_transform_name" = \
2807 program_prefix=${target_alias}-
2810 # Mac OS X / Darwin ends up putting some versioning cruft on the end of its
2811 # tuple that we don't care about in this script. Create "clean" variables
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking filtered build system type" >&5
2819 $as_echo_n "checking filtered build system type... " >&6; }
2820 if ${nl_cv_filtered_build+:} false; then :
2821 $as_echo_n "(cached) " >&6
2823 nl_cv_filtered_build=`echo ${build} | sed -e 's/[[:digit:].]*$//g'`
2824 nl_filtered_build=${nl_cv_filtered_build}
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_filtered_build" >&5
2827 $as_echo "$nl_cv_filtered_build" >&6; }
2830 case ${nl_cv_filtered_build} in
2833 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2837 nl_filtered_build=$nl_cv_filtered_build
2840 nl_save_IFS=$IFS; IFS='-'
2841 set x $nl_cv_filtered_build
2844 nl_filtered_build_cpu=$1
2846 nl_filtered_build_vendor=$2
2850 # Remember, the first character of IFS is used to create $*,
2851 # except with old shells:
2852 nl_filtered_build_os=$*
2855 case nl_filtered_$build_os in
2857 *\ *) nl_filtered_build_os=`echo "$build_os" | sed 's/ /-/g'`;;
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking filtered host system type" >&5
2869 $as_echo_n "checking filtered host system type... " >&6; }
2870 if ${nl_cv_filtered_host+:} false; then :
2871 $as_echo_n "(cached) " >&6
2873 nl_cv_filtered_host=`echo ${host} | sed -e 's/[[:digit:].]*$//g'`
2874 nl_filtered_host=${nl_cv_filtered_host}
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_filtered_host" >&5
2877 $as_echo "$nl_cv_filtered_host" >&6; }
2880 case ${nl_cv_filtered_host} in
2883 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2887 nl_filtered_host=$nl_cv_filtered_host
2890 nl_save_IFS=$IFS; IFS='-'
2891 set x $nl_cv_filtered_host
2894 nl_filtered_host_cpu=$1
2896 nl_filtered_host_vendor=$2
2900 # Remember, the first character of IFS is used to create $*,
2901 # except with old shells:
2902 nl_filtered_host_os=$*
2905 case nl_filtered_$host_os in
2907 *\ *) nl_filtered_host_os=`echo "$host_os" | sed 's/ /-/g'`;;
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking filtered target system type" >&5
2919 $as_echo_n "checking filtered target system type... " >&6; }
2920 if ${nl_cv_filtered_target+:} false; then :
2921 $as_echo_n "(cached) " >&6
2923 nl_cv_filtered_target=`echo ${target} | sed -e 's/[[:digit:].]*$//g'`
2924 nl_filtered_target=${nl_cv_filtered_target}
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_filtered_target" >&5
2927 $as_echo "$nl_cv_filtered_target" >&6; }
2930 case ${nl_cv_filtered_target} in
2933 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2937 nl_filtered_target=$nl_cv_filtered_target
2940 nl_save_IFS=$IFS; IFS='-'
2941 set x $nl_cv_filtered_target
2944 nl_filtered_target_cpu=$1
2946 nl_filtered_target_vendor=$2
2950 # Remember, the first character of IFS is used to create $*,
2951 # except with old shells:
2952 nl_filtered_target_os=$*
2955 case nl_filtered_$target_os in
2957 *\ *) nl_filtered_target_os=`echo "$target_os" | sed 's/ /-/g'`;;
2967 # Configure automake with the desired options, indicating that this is not
2968 # a native GNU package, that we want "silent" build rules, and that we want
2969 # objects built in the same subdirectory as their source rather than collapsed
2970 # together at the top-level directory.
2972 # Disable silent build rules by either passing --disable-silent-rules to
2973 # configure or passing V=1 to make
2975 am__api_version='1.14'
2977 # Find a good install program. We prefer a C program (faster),
2978 # so one script is as good as another. But avoid the broken or
2979 # incompatible versions:
2980 # SysV /etc/install, /usr/sbin/install
2981 # SunOS /usr/etc/install
2982 # IRIX /sbin/install
2984 # AmigaOS /C/install, which installs bootblocks on floppy discs
2985 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2986 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2987 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2988 # OS/2's system install, which has a completely different semantic
2989 # ./install, which can be erroneously created by make from ./install.sh.
2990 # Reject install programs that cannot install multiple files.
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2992 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2993 if test -z "$INSTALL"; then
2994 if ${ac_cv_path_install+:} false; then :
2995 $as_echo_n "(cached) " >&6
2997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3001 test -z "$as_dir" && as_dir=.
3002 # Account for people who put trailing slashes in PATH elements.
3003 case $as_dir/ in #((
3004 ./ | .// | /[cC]/* | \
3005 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3006 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3009 # OSF1 and SCO ODT 3.0 have their own names for install.
3010 # Don't use installbsd from OSF since it installs stuff as root
3012 for ac_prog in ginstall scoinst install; do
3013 for ac_exec_ext in '' $ac_executable_extensions; do
3014 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3015 if test $ac_prog = install &&
3016 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3017 # AIX install. It has an incompatible calling convention.
3019 elif test $ac_prog = install &&
3020 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3021 # program-specific install script used by HP pwplus--don't use.
3024 rm -rf conftest.one conftest.two conftest.dir
3025 echo one > conftest.one
3026 echo two > conftest.two
3028 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3029 test -s conftest.one && test -s conftest.two &&
3030 test -s conftest.dir/conftest.one &&
3031 test -s conftest.dir/conftest.two
3033 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3046 rm -rf conftest.one conftest.two conftest.dir
3049 if test "${ac_cv_path_install+set}" = set; then
3050 INSTALL=$ac_cv_path_install
3052 # As a last resort, use the slow shell script. Don't cache a
3053 # value for INSTALL within a source directory, because that will
3054 # break other packages using the cache if that directory is
3055 # removed, or if the value is a relative name.
3056 INSTALL=$ac_install_sh
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3060 $as_echo "$INSTALL" >&6; }
3062 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3063 # It thinks the first close brace ends the variable substitution.
3064 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3066 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3068 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3071 $as_echo_n "checking whether build environment is sane... " >&6; }
3072 # Reject unsafe characters in $srcdir or the absolute working directory
3073 # name. Accept space and tab only in the latter.
3077 *[\\\"\#\$\&\'\`$am_lf]*)
3078 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3081 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3082 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3085 # Do 'set' in a subshell so we don't clobber the current shell's
3086 # arguments. Must try -L first in case configure is actually a
3087 # symlink; some systems play weird games with the mod time of symlinks
3088 # (eg FreeBSD returns the mod time of the symlink's containing
3092 for am_try in 1 2; do
3093 echo "timestamp, slept: $am_has_slept" > conftest.file
3094 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3095 if test "$*" = "X"; then
3097 set X `ls -t "$srcdir/configure" conftest.file`
3099 if test "$*" != "X $srcdir/configure conftest.file" \
3100 && test "$*" != "X conftest.file $srcdir/configure"; then
3102 # If neither matched, then we have a broken ls. This can happen
3103 # if, for instance, CONFIG_SHELL is bash and it inherits a
3104 # broken ls alias from the environment. This has actually
3105 # happened. Such a system could not be considered "sane".
3106 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3107 alias in your environment" "$LINENO" 5
3109 if test "$2" = conftest.file || test $am_try -eq 2; then
3116 test "$2" = conftest.file
3122 as_fn_error $? "newly created file is older than distributed files!
3123 Check your system clock" "$LINENO" 5
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3126 $as_echo "yes" >&6; }
3127 # If we didn't sleep, we still need to ensure time stamps of config.status and
3128 # generated files are strictly newer.
3130 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3137 test "$program_prefix" != NONE &&
3138 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3139 # Use a double $ so make ignores it.
3140 test "$program_suffix" != NONE &&
3141 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3142 # Double any \ or $.
3143 # By default was `s,x,x', remove it if useless.
3144 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3145 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3147 # expand $ac_aux_dir to an absolute path
3148 am_aux_dir=`cd $ac_aux_dir && pwd`
3150 if test x"${MISSING+set}" != xset; then
3153 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3155 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3158 # Use eval to expand $SHELL
3159 if eval "$MISSING --is-lightweight"; then
3160 am_missing_run="$MISSING "
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3164 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3167 if test x"${install_sh}" != xset; then
3170 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3172 install_sh="\${SHELL} $am_aux_dir/install-sh"
3176 # Installed binaries are usually stripped using 'strip' when the user
3177 # run "make install-strip". However 'strip' might not be the right
3178 # tool to use in cross-compilation environments, therefore Automake
3179 # will honor the 'STRIP' environment variable to overrule this program.
3180 if test "$cross_compiling" != no; then
3181 if test -n "$ac_tool_prefix"; then
3182 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3183 set dummy ${ac_tool_prefix}strip; ac_word=$2
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3185 $as_echo_n "checking for $ac_word... " >&6; }
3186 if ${ac_cv_prog_STRIP+:} false; then :
3187 $as_echo_n "(cached) " >&6
3189 if test -n "$STRIP"; then
3190 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3196 test -z "$as_dir" && as_dir=.
3197 for ac_exec_ext in '' $ac_executable_extensions; do
3198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3199 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3209 STRIP=$ac_cv_prog_STRIP
3210 if test -n "$STRIP"; then
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3212 $as_echo "$STRIP" >&6; }
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3215 $as_echo "no" >&6; }
3220 if test -z "$ac_cv_prog_STRIP"; then
3222 # Extract the first word of "strip", so it can be a program name with args.
3223 set dummy strip; ac_word=$2
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3225 $as_echo_n "checking for $ac_word... " >&6; }
3226 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3227 $as_echo_n "(cached) " >&6
3229 if test -n "$ac_ct_STRIP"; then
3230 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3236 test -z "$as_dir" && as_dir=.
3237 for ac_exec_ext in '' $ac_executable_extensions; do
3238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3239 ac_cv_prog_ac_ct_STRIP="strip"
3240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3249 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3250 if test -n "$ac_ct_STRIP"; then
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3252 $as_echo "$ac_ct_STRIP" >&6; }
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3255 $as_echo "no" >&6; }
3258 if test "x$ac_ct_STRIP" = x; then
3261 case $cross_compiling:$ac_tool_warned in
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3264 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3265 ac_tool_warned=yes ;;
3270 STRIP="$ac_cv_prog_STRIP"
3274 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3277 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3278 if test -z "$MKDIR_P"; then
3279 if ${ac_cv_path_mkdir+:} false; then :
3280 $as_echo_n "(cached) " >&6
3282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3283 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3286 test -z "$as_dir" && as_dir=.
3287 for ac_prog in mkdir gmkdir; do
3288 for ac_exec_ext in '' $ac_executable_extensions; do
3289 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3290 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3291 'mkdir (GNU coreutils) '* | \
3292 'mkdir (coreutils) '* | \
3293 'mkdir (fileutils) '4.1*)
3294 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3304 test -d ./--version && rmdir ./--version
3305 if test "${ac_cv_path_mkdir+set}" = set; then
3306 MKDIR_P="$ac_cv_path_mkdir -p"
3308 # As a last resort, use the slow shell script. Don't cache a
3309 # value for MKDIR_P within a source directory, because that will
3310 # break other packages using the cache if that directory is
3311 # removed, or if the value is a relative name.
3312 MKDIR_P="$ac_install_sh -d"
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3316 $as_echo "$MKDIR_P" >&6; }
3318 for ac_prog in gawk mawk nawk awk
3320 # Extract the first word of "$ac_prog", so it can be a program name with args.
3321 set dummy $ac_prog; ac_word=$2
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3323 $as_echo_n "checking for $ac_word... " >&6; }
3324 if ${ac_cv_prog_AWK+:} false; then :
3325 $as_echo_n "(cached) " >&6
3327 if test -n "$AWK"; then
3328 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3334 test -z "$as_dir" && as_dir=.
3335 for ac_exec_ext in '' $ac_executable_extensions; do
3336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3337 ac_cv_prog_AWK="$ac_prog"
3338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3348 if test -n "$AWK"; then
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3350 $as_echo "$AWK" >&6; }
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3353 $as_echo "no" >&6; }
3357 test -n "$AWK" && break
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3361 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3363 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3364 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3365 $as_echo_n "(cached) " >&6
3367 cat >conftest.make <<\_ACEOF
3370 @echo '@@@%%%=$(MAKE)=@@@%%%'
3372 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3373 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3375 eval ac_cv_prog_make_${ac_make}_set=yes;;
3377 eval ac_cv_prog_make_${ac_make}_set=no;;
3381 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3383 $as_echo "yes" >&6; }
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3387 $as_echo "no" >&6; }
3388 SET_MAKE="MAKE=${MAKE-make}"
3391 rm -rf .tst 2>/dev/null
3392 mkdir .tst 2>/dev/null
3393 if test -d .tst; then
3398 rmdir .tst 2>/dev/null
3400 # Check whether --enable-silent-rules was given.
3401 if test "${enable_silent_rules+set}" = set; then :
3402 enableval=$enable_silent_rules;
3405 case $enable_silent_rules in # (((
3406 yes) AM_DEFAULT_VERBOSITY=0;;
3407 no) AM_DEFAULT_VERBOSITY=1;;
3408 *) AM_DEFAULT_VERBOSITY=1;;
3410 am_make=${MAKE-make}
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3412 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3413 if ${am_cv_make_support_nested_variables+:} false; then :
3414 $as_echo_n "(cached) " >&6
3416 if $as_echo 'TRUE=$(BAR$(V))
3422 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3423 am_cv_make_support_nested_variables=yes
3425 am_cv_make_support_nested_variables=no
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3429 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3430 if test $am_cv_make_support_nested_variables = yes; then
3432 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3434 AM_V=$AM_DEFAULT_VERBOSITY
3435 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3439 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3440 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3441 # is not polluted with repeated "-I."
3442 am__isrc=' -I$(srcdir)'
3443 # test to see if srcdir already configured
3444 if test -f $srcdir/config.status; then
3445 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3449 # test whether we have cygpath
3450 if test -z "$CYGPATH_W"; then
3451 if (cygpath --version) >/dev/null 2>/dev/null; then
3452 CYGPATH_W='cygpath -w'
3459 # Define the identity of the package.
3464 cat >>confdefs.h <<_ACEOF
3465 #define PACKAGE "$PACKAGE"
3469 cat >>confdefs.h <<_ACEOF
3470 #define VERSION "$VERSION"
3473 # Some tools Automake needs.
3475 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3478 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3481 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3484 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3487 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3489 # For better backward compatibility. To be removed once Automake 1.9.x
3490 # dies out for good. For more background, see:
3491 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3492 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3493 mkdir_p='$(MKDIR_P)'
3495 # We need awk for the "check" target. The system "awk" is bad on
3497 # Always define AMTAR for backward compatibility. Yes, it's still used
3498 # in the wild :-( We should find a proper way to deprecate it ...
3502 # We'll loop over all known methods to create a tar archive until one works.
3503 _am_tools='gnutar pax cpio none'
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
3508 $as_echo_n "checking how to create a pax tar archive... " >&6; }
3510 # Go ahead even if we have the value already cached. We do so because we
3511 # need to set the values for the 'am__tar' and 'am__untar' variables.
3512 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
3514 for _am_tool in $_am_tools; do
3517 for _am_tar in tar gnutar gtar; do
3518 { echo "$as_me:$LINENO: $_am_tar --version" >&5
3519 ($_am_tar --version) >&5 2>&5
3521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3522 (exit $ac_status); } && break
3524 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
3525 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
3526 am__untar="$_am_tar -xf -"
3529 # Must skip GNU tar: if it does not support --format= it doesn't create
3530 # ustar tarball either.
3531 (tar --version) >/dev/null 2>&1 && continue
3532 am__tar='tar chf - "$$tardir"'
3533 am__tar_='tar chf - "$tardir"'
3534 am__untar='tar xf -'
3537 am__tar='pax -L -x pax -w "$$tardir"'
3538 am__tar_='pax -L -x pax -w "$tardir"'
3542 am__tar='find "$$tardir" -print | cpio -o -H pax -L'
3543 am__tar_='find "$tardir" -print | cpio -o -H pax -L'
3544 am__untar='cpio -i -H pax -d'
3553 # If the value was cached, stop now. We just wanted to have am__tar
3554 # and am__untar set.
3555 test -n "${am_cv_prog_tar_pax}" && break
3557 # tar/untar a dummy directory, and stop if the command works.
3560 echo GrepMe > conftest.dir/file
3561 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3562 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3565 (exit $ac_status); }
3567 if test -s conftest.tar; then
3568 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3569 ($am__untar <conftest.tar) >&5 2>&5
3571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3572 (exit $ac_status); }
3573 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3574 (cat conftest.dir/file) >&5 2>&5
3576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577 (exit $ac_status); }
3578 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3583 if ${am_cv_prog_tar_pax+:} false; then :
3584 $as_echo_n "(cached) " >&6
3586 am_cv_prog_tar_pax=$_am_tool
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
3590 $as_echo "$am_cv_prog_tar_pax" >&6; }
3597 # POSIX will say in a future version that running "rm -f" with no argument
3598 # is OK; and we want to be able to make that assumption in our Makefile
3599 # recipes. So use an aggressive probe to check that the usage we want is
3600 # actually supported "in the wild" to an acceptable degree.
3601 # See automake bug#10828.
3602 # To make any issue more visible, cause the running configure to be aborted
3603 # by default if the 'rm' program in use doesn't match our expectations; the
3604 # user can still override this though.
3605 if rm -f && rm -fr && rm -rf; then : OK; else
3609 Your 'rm' program seems unable to run without file operands specified
3610 on the command line, even when the '-f' option is present. This is contrary
3611 to the behaviour of most rm programs out there, and not conforming with
3612 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3614 Please tell bug-automake@gnu.org about your system, including the value
3615 of your $PATH and any error possibly output before this message. This
3616 can help us improve future automake versions.
3619 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3620 echo 'Configuration will proceed anyway, since you have set the' >&2
3621 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3625 Aborting the configuration process, to ensure you take notice of the issue.
3627 You can download and install GNU coreutils to get an 'rm' implementation
3628 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3630 If you want to complete the configuration process using your problematic
3631 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3632 to "yes", and re-run configure.
3635 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3640 # Silent build rules requires at least automake-1.11. Employ
3641 # techniques for not breaking earlier versions of automake.
3643 # Check whether --enable-silent-rules was given.
3644 if test "${enable_silent_rules+set}" = set; then :
3645 enableval=$enable_silent_rules;
3648 case $enable_silent_rules in # (((
3649 yes) AM_DEFAULT_VERBOSITY=0;;
3650 no) AM_DEFAULT_VERBOSITY=1;;
3651 *) AM_DEFAULT_VERBOSITY=0;;
3653 am_make=${MAKE-make}
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3655 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3656 if ${am_cv_make_support_nested_variables+:} false; then :
3657 $as_echo_n "(cached) " >&6
3659 if $as_echo 'TRUE=$(BAR$(V))
3665 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3666 am_cv_make_support_nested_variables=yes
3668 am_cv_make_support_nested_variables=no
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3672 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3673 if test $am_cv_make_support_nested_variables = yes; then
3675 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3677 AM_V=$AM_DEFAULT_VERBOSITY
3678 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3682 # Check whether --enable-silent-rules was given.
3683 if test "${enable_silent_rules+set}" = set; then :
3684 enableval=$enable_silent_rules;
3687 case $enable_silent_rules in # (((
3688 yes) AM_DEFAULT_VERBOSITY=0;;
3689 no) AM_DEFAULT_VERBOSITY=1;;
3690 *) AM_DEFAULT_VERBOSITY=0;;
3692 am_make=${MAKE-make}
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3694 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3695 if ${am_cv_make_support_nested_variables+:} false; then :
3696 $as_echo_n "(cached) " >&6
3698 if $as_echo 'TRUE=$(BAR$(V))
3704 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3705 am_cv_make_support_nested_variables=yes
3707 am_cv_make_support_nested_variables=no
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3711 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3712 if test $am_cv_make_support_nested_variables = yes; then
3714 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3716 AM_V=$AM_DEFAULT_VERBOSITY
3717 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3723 # Enable maintainer mode to prevent the package from constantly trying
3724 # to rebuild configure, Makefile.in, etc. Rebuilding such files rarely,
3725 # if ever, needs to be done "in the field".
3727 # Use the included 'bootstrap' script instead when necessary.
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3731 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3732 # Check whether --enable-maintainer-mode was given.
3733 if test "${enable_maintainer_mode+set}" = set; then :
3734 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3736 USE_MAINTAINER_MODE=no
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3740 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3741 if test $USE_MAINTAINER_MODE = yes; then
3742 MAINTAINER_MODE_TRUE=
3743 MAINTAINER_MODE_FALSE='#'
3745 MAINTAINER_MODE_TRUE='#'
3746 MAINTAINER_MODE_FALSE=
3749 MAINT=$MAINTAINER_MODE_TRUE
3754 # Checks for build host programs
3757 # If we are cross-compiling and we are on an embedded target that
3758 # doesn't support independent, standalone executables, then all
3759 # compiler tests that attempt to create an executable will fail. In
3760 # such circumstances, set AC_NO_EXECUTABLES (see http://sourceware.org/
3761 # ml/newlib/2006/msg00353.html).
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable executable checking" >&5
3764 $as_echo_n "checking whether to disable executable checking... " >&6; }
3765 if test "$cross_compiling" = yes; then
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3768 $as_echo "yes" >&6; }
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3771 $as_echo "no" >&6; }
3774 # Passing -Werror to GCC-based or -compatible compilers breaks some
3775 # autoconf tests (see
3776 # http://lists.gnu.org/archive/html/autoconf-patches/2008-09/msg00014.html).
3778 # If -Werror has been passed transform it into -Wno-error. We'll
3779 # transform it back later with NL_RESTORE_WERROR.
3783 if echo "${CPPFLAGS}" | grep -q '\-Werror'; then
3784 CPPFLAGS="`echo ${CPPFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3785 nl_had_CPPFLAGS_werror=yes
3787 nl_had_CPPFLAGS_werror=no
3791 if echo "${CFLAGS}" | grep -q '\-Werror'; then
3792 CFLAGS="`echo ${CFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3793 nl_had_CFLAGS_werror=yes
3795 nl_had_CFLAGS_werror=no
3799 if echo "${CXXFLAGS}" | grep -q '\-Werror'; then
3800 CXXFLAGS="`echo ${CXXFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3801 nl_had_CXXFLAGS_werror=yes
3803 nl_had_CXXFLAGS_werror=no
3807 if echo "${OBJCFLAGS}" | grep -q '\-Werror'; then
3808 OBJCFLAGS="`echo ${OBJCFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3809 nl_had_OBJCFLAGS_werror=yes
3811 nl_had_OBJCFLAGS_werror=no
3815 if echo "${OBJCXXFLAGS}" | grep -q '\-Werror'; then
3816 OBJCXXFLAGS="`echo ${OBJCXXFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3817 nl_had_OBJCXXFLAGS_werror=yes
3819 nl_had_OBJCXXFLAGS_werror=no
3824 # Check for compilers.
3826 # These should be checked BEFORE we check for and, implicitly,
3827 # initialize libtool such that libtool knows what languages it has to
3830 DEPDIR="${am__leading_dot}deps"
3832 ac_config_commands="$ac_config_commands depfiles"
3835 am_make=${MAKE-make}
3836 cat > confinc << 'END'
3838 @echo this is the am__doit target
3841 # If we don't find an include directive, just comment out the code.
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3843 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3847 # First try GNU make style include.
3848 echo "include confinc" > confmf
3849 # Ignore all kinds of additional output from 'make'.
3850 case `$am_make -s -f confmf 2> /dev/null` in #(
3851 *the\ am__doit\ target*)
3857 # Now try BSD make style include.
3858 if test "$am__include" = "#"; then
3859 echo '.include "confinc"' > confmf
3860 case `$am_make -s -f confmf 2> /dev/null` in #(
3861 *the\ am__doit\ target*)
3862 am__include=.include
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3871 $as_echo "$_am_result" >&6; }
3872 rm -f confinc confmf
3874 # Check whether --enable-dependency-tracking was given.
3875 if test "${enable_dependency_tracking+set}" = set; then :
3876 enableval=$enable_dependency_tracking;
3879 if test "x$enable_dependency_tracking" != xno; then
3880 am_depcomp="$ac_aux_dir/depcomp"
3884 if test "x$enable_dependency_tracking" != xno; then
3894 ac_cpp='$CPP $CPPFLAGS'
3895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3898 if test -n "$ac_tool_prefix"; then
3899 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3900 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3902 $as_echo_n "checking for $ac_word... " >&6; }
3903 if ${ac_cv_prog_CC+:} false; then :
3904 $as_echo_n "(cached) " >&6
3906 if test -n "$CC"; then
3907 ac_cv_prog_CC="$CC" # Let the user override the test.
3909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3913 test -z "$as_dir" && as_dir=.
3914 for ac_exec_ext in '' $ac_executable_extensions; do
3915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3916 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3927 if test -n "$CC"; then
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3929 $as_echo "$CC" >&6; }
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3932 $as_echo "no" >&6; }
3937 if test -z "$ac_cv_prog_CC"; then
3939 # Extract the first word of "gcc", so it can be a program name with args.
3940 set dummy gcc; ac_word=$2
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3942 $as_echo_n "checking for $ac_word... " >&6; }
3943 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3944 $as_echo_n "(cached) " >&6
3946 if test -n "$ac_ct_CC"; then
3947 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3953 test -z "$as_dir" && as_dir=.
3954 for ac_exec_ext in '' $ac_executable_extensions; do
3955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3956 ac_cv_prog_ac_ct_CC="gcc"
3957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3966 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3967 if test -n "$ac_ct_CC"; then
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3969 $as_echo "$ac_ct_CC" >&6; }
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3972 $as_echo "no" >&6; }
3975 if test "x$ac_ct_CC" = x; then
3978 case $cross_compiling:$ac_tool_warned in
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3981 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3982 ac_tool_warned=yes ;;
3990 if test -z "$CC"; then
3991 if test -n "$ac_tool_prefix"; then
3992 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3993 set dummy ${ac_tool_prefix}cc; ac_word=$2
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3995 $as_echo_n "checking for $ac_word... " >&6; }
3996 if ${ac_cv_prog_CC+:} false; then :
3997 $as_echo_n "(cached) " >&6
3999 if test -n "$CC"; then
4000 ac_cv_prog_CC="$CC" # Let the user override the test.
4002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4006 test -z "$as_dir" && as_dir=.
4007 for ac_exec_ext in '' $ac_executable_extensions; do
4008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4009 ac_cv_prog_CC="${ac_tool_prefix}cc"
4010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4020 if test -n "$CC"; then
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4022 $as_echo "$CC" >&6; }
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4025 $as_echo "no" >&6; }
4031 if test -z "$CC"; then
4032 # Extract the first word of "cc", so it can be a program name with args.
4033 set dummy cc; ac_word=$2
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4035 $as_echo_n "checking for $ac_word... " >&6; }
4036 if ${ac_cv_prog_CC+:} false; then :
4037 $as_echo_n "(cached) " >&6
4039 if test -n "$CC"; then
4040 ac_cv_prog_CC="$CC" # Let the user override the test.
4043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4047 test -z "$as_dir" && as_dir=.
4048 for ac_exec_ext in '' $ac_executable_extensions; do
4049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4050 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4051 ac_prog_rejected=yes
4055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4062 if test $ac_prog_rejected = yes; then
4063 # We found a bogon in the path, so make sure we never use it.
4064 set dummy $ac_cv_prog_CC
4066 if test $# != 0; then
4067 # We chose a different compiler from the bogus one.
4068 # However, it has the same basename, so the bogon will be chosen
4069 # first if we set CC to just the basename; use the full file name.
4071 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4077 if test -n "$CC"; then
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4079 $as_echo "$CC" >&6; }
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4082 $as_echo "no" >&6; }
4087 if test -z "$CC"; then
4088 if test -n "$ac_tool_prefix"; then
4089 for ac_prog in cl.exe
4091 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4092 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4094 $as_echo_n "checking for $ac_word... " >&6; }
4095 if ${ac_cv_prog_CC+:} false; then :
4096 $as_echo_n "(cached) " >&6
4098 if test -n "$CC"; then
4099 ac_cv_prog_CC="$CC" # Let the user override the test.
4101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4105 test -z "$as_dir" && as_dir=.
4106 for ac_exec_ext in '' $ac_executable_extensions; do
4107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4108 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4119 if test -n "$CC"; then
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4121 $as_echo "$CC" >&6; }
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4124 $as_echo "no" >&6; }
4128 test -n "$CC" && break
4131 if test -z "$CC"; then
4133 for ac_prog in cl.exe
4135 # Extract the first word of "$ac_prog", so it can be a program name with args.
4136 set dummy $ac_prog; ac_word=$2
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4138 $as_echo_n "checking for $ac_word... " >&6; }
4139 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4140 $as_echo_n "(cached) " >&6
4142 if test -n "$ac_ct_CC"; then
4143 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4149 test -z "$as_dir" && as_dir=.
4150 for ac_exec_ext in '' $ac_executable_extensions; do
4151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4152 ac_cv_prog_ac_ct_CC="$ac_prog"
4153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4162 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4163 if test -n "$ac_ct_CC"; then
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4165 $as_echo "$ac_ct_CC" >&6; }
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4168 $as_echo "no" >&6; }
4172 test -n "$ac_ct_CC" && break
4175 if test "x$ac_ct_CC" = x; then
4178 case $cross_compiling:$ac_tool_warned in
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4181 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4182 ac_tool_warned=yes ;;
4191 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4193 as_fn_error $? "no acceptable C compiler found in \$PATH
4194 See \`config.log' for more details" "$LINENO" 5; }
4196 # Provide some information about the compiler.
4197 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4200 for ac_option in --version -v -V -qversion; do
4201 { { ac_try="$ac_compiler $ac_option >&5"
4203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4204 *) ac_try_echo=$ac_try;;
4206 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4207 $as_echo "$ac_try_echo"; } >&5
4208 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4210 if test -s conftest.err; then
4212 ... rest of stderr output deleted ...
4213 10q' conftest.err >conftest.er1
4214 cat conftest.er1 >&5
4216 rm -f conftest.er1 conftest.err
4217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4218 test $ac_status = 0; }
4221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4222 /* end confdefs.h. */
4232 if { { ac_try="$ac_link"
4234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4235 *) ac_try_echo=$ac_try;;
4237 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4238 $as_echo "$ac_try_echo"; } >&5
4239 (eval "$ac_link") 2>&5
4241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4242 test $ac_status = 0; }; then
4244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4245 /* end confdefs.h. */
4255 ac_clean_files_save=$ac_clean_files
4256 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4257 # Try to create an executable without -o first, disregard a.out.
4258 # It will help us diagnose broken compilers, and finding out an intuition
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4261 $as_echo_n "checking whether the C compiler works... " >&6; }
4262 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4264 # The possible output files:
4265 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4268 for ac_file in $ac_files
4271 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4272 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4277 if { { ac_try="$ac_link_default"
4279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4280 *) ac_try_echo=$ac_try;;
4282 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4283 $as_echo "$ac_try_echo"; } >&5
4284 (eval "$ac_link_default") 2>&5
4286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4287 test $ac_status = 0; }; then :
4288 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4289 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4290 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4291 # so that the user can short-circuit this test for compilers unknown to
4293 for ac_file in $ac_files ''
4295 test -f "$ac_file" || continue
4297 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4300 # We found the default executable, but exeext='' is most
4304 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4306 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4308 # We set ac_cv_exeext here because the later test for it is not
4309 # safe: cross compilers may not add the suffix if given an `-o'
4310 # argument, so we may need to know it at that point already.
4311 # Even if this section looks crufty: it has the advantage of
4318 test "$ac_cv_exeext" = no && ac_cv_exeext=
4323 if test -z "$ac_file"; then :
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4325 $as_echo "no" >&6; }
4326 $as_echo "$as_me: failed program was:" >&5
4327 sed 's/^/| /' conftest.$ac_ext >&5
4329 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4330 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4331 as_fn_error 77 "C compiler cannot create executables
4332 See \`config.log' for more details" "$LINENO" 5; }
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4335 $as_echo "yes" >&6; }
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4338 $as_echo_n "checking for C compiler default output file name... " >&6; }
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4340 $as_echo "$ac_file" >&6; }
4341 ac_exeext=$ac_cv_exeext
4343 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4344 ac_clean_files=$ac_clean_files_save
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4346 $as_echo_n "checking for suffix of executables... " >&6; }
4347 if { { ac_try="$ac_link"
4349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4350 *) ac_try_echo=$ac_try;;
4352 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4353 $as_echo "$ac_try_echo"; } >&5
4354 (eval "$ac_link") 2>&5
4356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4357 test $ac_status = 0; }; then :
4358 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4359 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4360 # work properly (i.e., refer to `conftest.exe'), while it won't with
4362 for ac_file in conftest.exe conftest conftest.*; do
4363 test -f "$ac_file" || continue
4365 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4366 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4372 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4373 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4374 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4375 See \`config.log' for more details" "$LINENO" 5; }
4377 rm -f conftest conftest$ac_cv_exeext
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4379 $as_echo "$ac_cv_exeext" >&6; }
4381 rm -f conftest.$ac_ext
4382 EXEEXT=$ac_cv_exeext
4384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4385 /* end confdefs.h. */
4390 FILE *f = fopen ("conftest.out", "w");
4391 return ferror (f) || fclose (f) != 0;
4397 ac_clean_files="$ac_clean_files conftest.out"
4398 # Check that the compiler produces executables we can run. If not, either
4399 # the compiler is broken, or we cross compile.
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4401 $as_echo_n "checking whether we are cross compiling... " >&6; }
4402 if test "$cross_compiling" != yes; then
4403 { { ac_try="$ac_link"
4405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4406 *) ac_try_echo=$ac_try;;
4408 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4409 $as_echo "$ac_try_echo"; } >&5
4410 (eval "$ac_link") 2>&5
4412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4413 test $ac_status = 0; }
4414 if { ac_try='./conftest$ac_cv_exeext'
4415 { { case "(($ac_try" in
4416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4417 *) ac_try_echo=$ac_try;;
4419 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4420 $as_echo "$ac_try_echo"; } >&5
4421 (eval "$ac_try") 2>&5
4423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4424 test $ac_status = 0; }; }; then
4427 if test "$cross_compiling" = maybe; then
4430 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4431 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4432 as_fn_error $? "cannot run C compiled programs.
4433 If you meant to cross compile, use \`--host'.
4434 See \`config.log' for more details" "$LINENO" 5; }
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4439 $as_echo "$cross_compiling" >&6; }
4441 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4442 ac_clean_files=$ac_clean_files_save
4445 rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.o conftest.obj conftest.dSYM
4447 # Setting cross_compile will disable run tests; it will
4448 # also disable AC_CHECK_FILE but that's generally
4449 # correct if we can't link.
4452 # Check that the compiler produces executables we can run. If not, either
4453 # the compiler is broken, or we cross compile.
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4455 $as_echo_n "checking whether we are cross compiling... " >&6; }
4456 if test "$cross_compiling" != yes; then
4457 { { ac_try="$ac_link"
4459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4460 *) ac_try_echo=$ac_try;;
4462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4463 $as_echo "$ac_try_echo"; } >&5
4464 (eval "$ac_link") 2>&5
4466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4467 test $ac_status = 0; }
4468 if { ac_try='./conftest$ac_cv_exeext'
4469 { { case "(($ac_try" in
4470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4471 *) ac_try_echo=$ac_try;;
4473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4474 $as_echo "$ac_try_echo"; } >&5
4475 (eval "$ac_try") 2>&5
4477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4478 test $ac_status = 0; }; }; then
4481 if test "$cross_compiling" = maybe; then
4484 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4486 as_fn_error $? "cannot run C compiled programs.
4487 If you meant to cross compile, use \`--host'.
4488 See \`config.log' for more details" "$LINENO" 5; }
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4493 $as_echo "$cross_compiling" >&6; }
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4497 $as_echo_n "checking for suffix of object files... " >&6; }
4498 if ${ac_cv_objext+:} false; then :
4499 $as_echo_n "(cached) " >&6
4501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4502 /* end confdefs.h. */
4512 rm -f conftest.o conftest.obj
4513 if { { ac_try="$ac_compile"
4515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4516 *) ac_try_echo=$ac_try;;
4518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4519 $as_echo "$ac_try_echo"; } >&5
4520 (eval "$ac_compile") 2>&5
4522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4523 test $ac_status = 0; }; then :
4524 for ac_file in conftest.o conftest.obj conftest.*; do
4525 test -f "$ac_file" || continue;
4527 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4528 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4533 $as_echo "$as_me: failed program was:" >&5
4534 sed 's/^/| /' conftest.$ac_ext >&5
4536 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4538 as_fn_error $? "cannot compute suffix of object files: cannot compile
4539 See \`config.log' for more details" "$LINENO" 5; }
4541 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4544 $as_echo "$ac_cv_objext" >&6; }
4545 OBJEXT=$ac_cv_objext
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4548 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4549 if ${ac_cv_c_compiler_gnu+:} false; then :
4550 $as_echo_n "(cached) " >&6
4552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4553 /* end confdefs.h. */
4566 if ac_fn_c_try_compile "$LINENO"; then :
4571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4572 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4576 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4577 if test $ac_compiler_gnu = yes; then
4582 ac_test_CFLAGS=${CFLAGS+set}
4583 ac_save_CFLAGS=$CFLAGS
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4585 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4586 if ${ac_cv_prog_cc_g+:} false; then :
4587 $as_echo_n "(cached) " >&6
4589 ac_save_c_werror_flag=$ac_c_werror_flag
4590 ac_c_werror_flag=yes
4593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4594 /* end confdefs.h. */
4604 if ac_fn_c_try_compile "$LINENO"; then :
4608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4609 /* end confdefs.h. */
4619 if ac_fn_c_try_compile "$LINENO"; then :
4622 ac_c_werror_flag=$ac_save_c_werror_flag
4624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4625 /* end confdefs.h. */
4635 if ac_fn_c_try_compile "$LINENO"; then :
4638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4643 ac_c_werror_flag=$ac_save_c_werror_flag
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4646 $as_echo "$ac_cv_prog_cc_g" >&6; }
4647 if test "$ac_test_CFLAGS" = set; then
4648 CFLAGS=$ac_save_CFLAGS
4649 elif test $ac_cv_prog_cc_g = yes; then
4650 if test "$GCC" = yes; then
4656 if test "$GCC" = yes; then
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4663 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4664 if ${ac_cv_prog_cc_c89+:} false; then :
4665 $as_echo_n "(cached) " >&6
4667 ac_cv_prog_cc_c89=no
4669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4670 /* end confdefs.h. */
4673 #include <sys/types.h>
4674 #include <sys/stat.h>
4675 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4676 struct buf { int x; };
4677 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4678 static char *e (p, i)
4684 static char *f (char * (*g) (char **, int), char **p, ...)
4689 s = g (p, va_arg (v,int));
4694 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4695 function prototypes and stuff, but not '\xHH' hex character constants.
4696 These don't provoke an error unfortunately, instead are silently treated
4697 as 'x'. The following induces an error, until -std is added to get
4698 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4699 array size at least. It's necessary to write '\x00'==0 to get something
4700 that's true only with -std. */
4701 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4703 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4704 inside strings and character constants. */
4706 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4708 int test (int i, double x);
4709 struct s1 {int (*f) (int a);};
4710 struct s2 {int (*f) (double a);};
4711 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4717 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4722 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4723 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4725 CC="$ac_save_CC $ac_arg"
4726 if ac_fn_c_try_compile "$LINENO"; then :
4727 ac_cv_prog_cc_c89=$ac_arg
4729 rm -f core conftest.err conftest.$ac_objext
4730 test "x$ac_cv_prog_cc_c89" != "xno" && break
4732 rm -f conftest.$ac_ext
4737 case "x$ac_cv_prog_cc_c89" in
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4740 $as_echo "none needed" >&6; } ;;
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4743 $as_echo "unsupported" >&6; } ;;
4745 CC="$CC $ac_cv_prog_cc_c89"
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4747 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4749 if test "x$ac_cv_prog_cc_c89" != xno; then :
4754 ac_cpp='$CPP $CPPFLAGS'
4755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4760 ac_cpp='$CPP $CPPFLAGS'
4761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4765 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4766 if ${am_cv_prog_cc_c_o+:} false; then :
4767 $as_echo_n "(cached) " >&6
4769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4770 /* end confdefs.h. */
4780 # Make sure it works both with $CC and with simple cc.
4781 # Following AC_PROG_CC_C_O, we do the test twice because some
4782 # compilers refuse to overwrite an existing .o file with -o,
4783 # though they will create one.
4784 am_cv_prog_cc_c_o=yes
4786 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4787 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790 (exit $ac_status); } \
4791 && test -f conftest2.$ac_objext; then
4794 am_cv_prog_cc_c_o=no
4798 rm -f core conftest*
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4802 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4803 if test "$am_cv_prog_cc_c_o" != yes; then
4804 # Losing compiler, so override with the script.
4805 # FIXME: It is wrong to rewrite CC.
4806 # But if we don't then we get into trouble of one sort or another.
4807 # A longer-term fix would be to have automake use am__CC in this case,
4808 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4809 CC="$am_aux_dir/compile $CC"
4812 ac_cpp='$CPP $CPPFLAGS'
4813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4818 depcc="$CC" am_compiler_list=
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4821 $as_echo_n "checking dependency style of $depcc... " >&6; }
4822 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4823 $as_echo_n "(cached) " >&6
4825 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4826 # We make a subdir and do the tests there. Otherwise we can end up
4827 # making bogus files that we don't know about and never remove. For
4828 # instance it was reported that on HP-UX the gcc test will end up
4829 # making a dummy file named 'D' -- because '-MD' means "put the output
4833 # Copy depcomp to subdir because otherwise we won't find it if we're
4834 # using a relative directory.
4835 cp "$am_depcomp" conftest.dir
4837 # We will build objects and dependencies in a subdirectory because
4838 # it helps to detect inapplicable dependency modes. For instance
4839 # both Tru64's cc and ICC support -MD to output dependencies as a
4840 # side effect of compilation, but ICC will put the dependencies in
4841 # the current directory while Tru64 will put them in the object
4845 am_cv_CC_dependencies_compiler_type=none
4846 if test "$am_compiler_list" = ""; then
4847 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4850 case " $depcc " in #(
4851 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4854 for depmode in $am_compiler_list; do
4855 # Setup a source with many dependencies, because some compilers
4856 # like to wrap large dependency lists on column 80 (with \), and
4857 # we should not choose a depcomp mode which is confused by this.
4859 # We need to recreate these files for each test, as the compiler may
4860 # overwrite some of them when testing with obscure command lines.
4861 # This happens at least with the AIX C compiler.
4863 for i in 1 2 3 4 5 6; do
4864 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4865 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4866 # Solaris 10 /bin/sh.
4867 echo '/* dummy */' > sub/conftst$i.h
4869 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4871 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4872 # mode. It turns out that the SunPro C++ compiler does not properly
4873 # handle '-M -o', and we need to detect this. Also, some Intel
4874 # versions had trouble with output in subdirs.
4875 am__obj=sub/conftest.${OBJEXT-o}
4876 am__minus_obj="-o $am__obj"
4879 # This depmode causes a compiler race in universal mode.
4880 test "$am__universal" = false || continue
4883 # After this tag, mechanisms are not by side-effect, so they'll
4884 # only be used when explicitly requested.
4885 if test "x$enable_dependency_tracking" = xyes; then
4891 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4892 # This compiler won't grok '-c -o', but also, the minuso test has
4893 # not run yet. These depmodes are late enough in the game, and
4894 # so weak that their functioning should not be impacted.
4895 am__obj=conftest.${OBJEXT-o}
4900 if depmode=$depmode \
4901 source=sub/conftest.c object=$am__obj \
4902 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4903 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4904 >/dev/null 2>conftest.err &&
4905 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4906 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4907 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4908 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4909 # icc doesn't choke on unknown options, it will just issue warnings
4910 # or remarks (even with -Werror). So we grep stderr for any message
4911 # that says an option was ignored or not supported.
4912 # When given -MP, icc 7.0 and 7.1 complain thusly:
4913 # icc: Command line warning: ignoring option '-M'; no argument required
4914 # The diagnosis changed in icc 8.0:
4915 # icc: Command line remark: option '-MP' not supported
4916 if (grep 'ignoring option' conftest.err ||
4917 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4918 am_cv_CC_dependencies_compiler_type=$depmode
4927 am_cv_CC_dependencies_compiler_type=none
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4932 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4933 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4936 test "x$enable_dependency_tracking" != xno \
4937 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4939 am__fastdepCC_FALSE='#'
4941 am__fastdepCC_TRUE='#'
4942 am__fastdepCC_FALSE=
4947 ac_cpp='$CPP $CPPFLAGS'
4948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4952 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4953 # On Suns, sometimes $CPP names a directory.
4954 if test -n "$CPP" && test -d "$CPP"; then
4957 if test -z "$CPP"; then
4958 if ${ac_cv_prog_CPP+:} false; then :
4959 $as_echo_n "(cached) " >&6
4961 # Double quotes because CPP needs to be expanded
4962 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4965 for ac_c_preproc_warn_flag in '' yes
4967 # Use a header file that comes with gcc, so configuring glibc
4968 # with a fresh cross-compiler works.
4969 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4970 # <limits.h> exists even on freestanding compilers.
4971 # On the NeXT, cc -E runs the code through the compiler's parser,
4972 # not just through cpp. "Syntax error" is here to catch this case.
4973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4974 /* end confdefs.h. */
4976 # include <limits.h>
4978 # include <assert.h>
4982 if ac_fn_c_try_cpp "$LINENO"; then :
4985 # Broken: fails on valid input.
4988 rm -f conftest.err conftest.i conftest.$ac_ext
4990 # OK, works on sane cases. Now check whether nonexistent headers
4991 # can be detected and how.
4992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4993 /* end confdefs.h. */
4994 #include <ac_nonexistent.h>
4996 if ac_fn_c_try_cpp "$LINENO"; then :
4997 # Broken: success on invalid input.
5000 # Passes both tests.
5004 rm -f conftest.err conftest.i conftest.$ac_ext
5007 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5008 rm -f conftest.i conftest.err conftest.$ac_ext
5009 if $ac_preproc_ok; then :
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5022 $as_echo "$CPP" >&6; }
5024 for ac_c_preproc_warn_flag in '' yes
5026 # Use a header file that comes with gcc, so configuring glibc
5027 # with a fresh cross-compiler works.
5028 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5029 # <limits.h> exists even on freestanding compilers.
5030 # On the NeXT, cc -E runs the code through the compiler's parser,
5031 # not just through cpp. "Syntax error" is here to catch this case.
5032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5033 /* end confdefs.h. */
5035 # include <limits.h>
5037 # include <assert.h>
5041 if ac_fn_c_try_cpp "$LINENO"; then :
5044 # Broken: fails on valid input.
5047 rm -f conftest.err conftest.i conftest.$ac_ext
5049 # OK, works on sane cases. Now check whether nonexistent headers
5050 # can be detected and how.
5051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5052 /* end confdefs.h. */
5053 #include <ac_nonexistent.h>
5055 if ac_fn_c_try_cpp "$LINENO"; then :
5056 # Broken: success on invalid input.
5059 # Passes both tests.
5063 rm -f conftest.err conftest.i conftest.$ac_ext
5066 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5067 rm -f conftest.i conftest.err conftest.$ac_ext
5068 if $ac_preproc_ok; then :
5071 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5072 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5073 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5074 See \`config.log' for more details" "$LINENO" 5; }
5078 ac_cpp='$CPP $CPPFLAGS'
5079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5083 ac_c_preproc_warn_flag=yes
5086 ac_cpp='$CPP $CPPFLAGS'
5087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5090 if test -n "$ac_tool_prefix"; then
5091 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5092 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5094 $as_echo_n "checking for $ac_word... " >&6; }
5095 if ${ac_cv_prog_CC+:} false; then :
5096 $as_echo_n "(cached) " >&6
5098 if test -n "$CC"; then
5099 ac_cv_prog_CC="$CC" # Let the user override the test.
5101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5105 test -z "$as_dir" && as_dir=.
5106 for ac_exec_ext in '' $ac_executable_extensions; do
5107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5108 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5119 if test -n "$CC"; then
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5121 $as_echo "$CC" >&6; }
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5124 $as_echo "no" >&6; }
5129 if test -z "$ac_cv_prog_CC"; then
5131 # Extract the first word of "gcc", so it can be a program name with args.
5132 set dummy gcc; ac_word=$2
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5134 $as_echo_n "checking for $ac_word... " >&6; }
5135 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5136 $as_echo_n "(cached) " >&6
5138 if test -n "$ac_ct_CC"; then
5139 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5145 test -z "$as_dir" && as_dir=.
5146 for ac_exec_ext in '' $ac_executable_extensions; do
5147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5148 ac_cv_prog_ac_ct_CC="gcc"
5149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5158 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5159 if test -n "$ac_ct_CC"; then
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5161 $as_echo "$ac_ct_CC" >&6; }
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5164 $as_echo "no" >&6; }
5167 if test "x$ac_ct_CC" = x; then
5170 case $cross_compiling:$ac_tool_warned in
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5173 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5174 ac_tool_warned=yes ;;
5182 if test -z "$CC"; then
5183 if test -n "$ac_tool_prefix"; then
5184 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5185 set dummy ${ac_tool_prefix}cc; ac_word=$2
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5187 $as_echo_n "checking for $ac_word... " >&6; }
5188 if ${ac_cv_prog_CC+:} false; then :
5189 $as_echo_n "(cached) " >&6
5191 if test -n "$CC"; then
5192 ac_cv_prog_CC="$CC" # Let the user override the test.
5194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5198 test -z "$as_dir" && as_dir=.
5199 for ac_exec_ext in '' $ac_executable_extensions; do
5200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5201 ac_cv_prog_CC="${ac_tool_prefix}cc"
5202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5212 if test -n "$CC"; then
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5214 $as_echo "$CC" >&6; }
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5217 $as_echo "no" >&6; }
5223 if test -z "$CC"; then
5224 # Extract the first word of "cc", so it can be a program name with args.
5225 set dummy cc; ac_word=$2
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5227 $as_echo_n "checking for $ac_word... " >&6; }
5228 if ${ac_cv_prog_CC+:} false; then :
5229 $as_echo_n "(cached) " >&6
5231 if test -n "$CC"; then
5232 ac_cv_prog_CC="$CC" # Let the user override the test.
5235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5239 test -z "$as_dir" && as_dir=.
5240 for ac_exec_ext in '' $ac_executable_extensions; do
5241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5242 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5243 ac_prog_rejected=yes
5247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5254 if test $ac_prog_rejected = yes; then
5255 # We found a bogon in the path, so make sure we never use it.
5256 set dummy $ac_cv_prog_CC
5258 if test $# != 0; then
5259 # We chose a different compiler from the bogus one.
5260 # However, it has the same basename, so the bogon will be chosen
5261 # first if we set CC to just the basename; use the full file name.
5263 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5269 if test -n "$CC"; then
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5271 $as_echo "$CC" >&6; }
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5274 $as_echo "no" >&6; }
5279 if test -z "$CC"; then
5280 if test -n "$ac_tool_prefix"; then
5281 for ac_prog in cl.exe
5283 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5284 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5286 $as_echo_n "checking for $ac_word... " >&6; }
5287 if ${ac_cv_prog_CC+:} false; then :
5288 $as_echo_n "(cached) " >&6
5290 if test -n "$CC"; then
5291 ac_cv_prog_CC="$CC" # Let the user override the test.
5293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5297 test -z "$as_dir" && as_dir=.
5298 for ac_exec_ext in '' $ac_executable_extensions; do
5299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5300 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5311 if test -n "$CC"; then
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5313 $as_echo "$CC" >&6; }
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5316 $as_echo "no" >&6; }
5320 test -n "$CC" && break
5323 if test -z "$CC"; then
5325 for ac_prog in cl.exe
5327 # Extract the first word of "$ac_prog", so it can be a program name with args.
5328 set dummy $ac_prog; ac_word=$2
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5330 $as_echo_n "checking for $ac_word... " >&6; }
5331 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5332 $as_echo_n "(cached) " >&6
5334 if test -n "$ac_ct_CC"; then
5335 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5341 test -z "$as_dir" && as_dir=.
5342 for ac_exec_ext in '' $ac_executable_extensions; do
5343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5344 ac_cv_prog_ac_ct_CC="$ac_prog"
5345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5354 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5355 if test -n "$ac_ct_CC"; then
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5357 $as_echo "$ac_ct_CC" >&6; }
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5360 $as_echo "no" >&6; }
5364 test -n "$ac_ct_CC" && break
5367 if test "x$ac_ct_CC" = x; then
5370 case $cross_compiling:$ac_tool_warned in
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5374 ac_tool_warned=yes ;;
5383 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5385 as_fn_error $? "no acceptable C compiler found in \$PATH
5386 See \`config.log' for more details" "$LINENO" 5; }
5388 # Provide some information about the compiler.
5389 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5392 for ac_option in --version -v -V -qversion; do
5393 { { ac_try="$ac_compiler $ac_option >&5"
5395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5396 *) ac_try_echo=$ac_try;;
5398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5399 $as_echo "$ac_try_echo"; } >&5
5400 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5402 if test -s conftest.err; then
5404 ... rest of stderr output deleted ...
5405 10q' conftest.err >conftest.er1
5406 cat conftest.er1 >&5
5408 rm -f conftest.er1 conftest.err
5409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5410 test $ac_status = 0; }
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5414 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5415 if ${ac_cv_c_compiler_gnu+:} false; then :
5416 $as_echo_n "(cached) " >&6
5418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5419 /* end confdefs.h. */
5432 if ac_fn_c_try_compile "$LINENO"; then :
5437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5438 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5442 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5443 if test $ac_compiler_gnu = yes; then
5448 ac_test_CFLAGS=${CFLAGS+set}
5449 ac_save_CFLAGS=$CFLAGS
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5451 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5452 if ${ac_cv_prog_cc_g+:} false; then :
5453 $as_echo_n "(cached) " >&6
5455 ac_save_c_werror_flag=$ac_c_werror_flag
5456 ac_c_werror_flag=yes
5459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5460 /* end confdefs.h. */
5470 if ac_fn_c_try_compile "$LINENO"; then :
5474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5475 /* end confdefs.h. */
5485 if ac_fn_c_try_compile "$LINENO"; then :
5488 ac_c_werror_flag=$ac_save_c_werror_flag
5490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5491 /* end confdefs.h. */
5501 if ac_fn_c_try_compile "$LINENO"; then :
5504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5509 ac_c_werror_flag=$ac_save_c_werror_flag
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5512 $as_echo "$ac_cv_prog_cc_g" >&6; }
5513 if test "$ac_test_CFLAGS" = set; then
5514 CFLAGS=$ac_save_CFLAGS
5515 elif test $ac_cv_prog_cc_g = yes; then
5516 if test "$GCC" = yes; then
5522 if test "$GCC" = yes; then
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5529 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5530 if ${ac_cv_prog_cc_c89+:} false; then :
5531 $as_echo_n "(cached) " >&6
5533 ac_cv_prog_cc_c89=no
5535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5536 /* end confdefs.h. */
5539 #include <sys/types.h>
5540 #include <sys/stat.h>
5541 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5542 struct buf { int x; };
5543 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5544 static char *e (p, i)
5550 static char *f (char * (*g) (char **, int), char **p, ...)
5555 s = g (p, va_arg (v,int));
5560 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5561 function prototypes and stuff, but not '\xHH' hex character constants.
5562 These don't provoke an error unfortunately, instead are silently treated
5563 as 'x'. The following induces an error, until -std is added to get
5564 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5565 array size at least. It's necessary to write '\x00'==0 to get something
5566 that's true only with -std. */
5567 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5569 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5570 inside strings and character constants. */
5572 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5574 int test (int i, double x);
5575 struct s1 {int (*f) (int a);};
5576 struct s2 {int (*f) (double a);};
5577 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5583 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5588 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5589 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5591 CC="$ac_save_CC $ac_arg"
5592 if ac_fn_c_try_compile "$LINENO"; then :
5593 ac_cv_prog_cc_c89=$ac_arg
5595 rm -f core conftest.err conftest.$ac_objext
5596 test "x$ac_cv_prog_cc_c89" != "xno" && break
5598 rm -f conftest.$ac_ext
5603 case "x$ac_cv_prog_cc_c89" in
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5606 $as_echo "none needed" >&6; } ;;
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5609 $as_echo "unsupported" >&6; } ;;
5611 CC="$CC $ac_cv_prog_cc_c89"
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5613 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5615 if test "x$ac_cv_prog_cc_c89" != xno; then :
5620 ac_cpp='$CPP $CPPFLAGS'
5621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5626 ac_cpp='$CPP $CPPFLAGS'
5627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5631 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5632 if ${am_cv_prog_cc_c_o+:} false; then :
5633 $as_echo_n "(cached) " >&6
5635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5636 /* end confdefs.h. */
5646 # Make sure it works both with $CC and with simple cc.
5647 # Following AC_PROG_CC_C_O, we do the test twice because some
5648 # compilers refuse to overwrite an existing .o file with -o,
5649 # though they will create one.
5650 am_cv_prog_cc_c_o=yes
5652 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5653 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5656 (exit $ac_status); } \
5657 && test -f conftest2.$ac_objext; then
5660 am_cv_prog_cc_c_o=no
5664 rm -f core conftest*
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5668 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5669 if test "$am_cv_prog_cc_c_o" != yes; then
5670 # Losing compiler, so override with the script.
5671 # FIXME: It is wrong to rewrite CC.
5672 # But if we don't then we get into trouble of one sort or another.
5673 # A longer-term fix would be to have automake use am__CC in this case,
5674 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5675 CC="$am_aux_dir/compile $CC"
5678 ac_cpp='$CPP $CPPFLAGS'
5679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5684 depcc="$CC" am_compiler_list=
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5687 $as_echo_n "checking dependency style of $depcc... " >&6; }
5688 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5689 $as_echo_n "(cached) " >&6
5691 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5692 # We make a subdir and do the tests there. Otherwise we can end up
5693 # making bogus files that we don't know about and never remove. For
5694 # instance it was reported that on HP-UX the gcc test will end up
5695 # making a dummy file named 'D' -- because '-MD' means "put the output
5699 # Copy depcomp to subdir because otherwise we won't find it if we're
5700 # using a relative directory.
5701 cp "$am_depcomp" conftest.dir
5703 # We will build objects and dependencies in a subdirectory because
5704 # it helps to detect inapplicable dependency modes. For instance
5705 # both Tru64's cc and ICC support -MD to output dependencies as a
5706 # side effect of compilation, but ICC will put the dependencies in
5707 # the current directory while Tru64 will put them in the object
5711 am_cv_CC_dependencies_compiler_type=none
5712 if test "$am_compiler_list" = ""; then
5713 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5716 case " $depcc " in #(
5717 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5720 for depmode in $am_compiler_list; do
5721 # Setup a source with many dependencies, because some compilers
5722 # like to wrap large dependency lists on column 80 (with \), and
5723 # we should not choose a depcomp mode which is confused by this.
5725 # We need to recreate these files for each test, as the compiler may
5726 # overwrite some of them when testing with obscure command lines.
5727 # This happens at least with the AIX C compiler.
5729 for i in 1 2 3 4 5 6; do
5730 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5731 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5732 # Solaris 10 /bin/sh.
5733 echo '/* dummy */' > sub/conftst$i.h
5735 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5737 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5738 # mode. It turns out that the SunPro C++ compiler does not properly
5739 # handle '-M -o', and we need to detect this. Also, some Intel
5740 # versions had trouble with output in subdirs.
5741 am__obj=sub/conftest.${OBJEXT-o}
5742 am__minus_obj="-o $am__obj"
5745 # This depmode causes a compiler race in universal mode.
5746 test "$am__universal" = false || continue
5749 # After this tag, mechanisms are not by side-effect, so they'll
5750 # only be used when explicitly requested.
5751 if test "x$enable_dependency_tracking" = xyes; then
5757 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5758 # This compiler won't grok '-c -o', but also, the minuso test has
5759 # not run yet. These depmodes are late enough in the game, and
5760 # so weak that their functioning should not be impacted.
5761 am__obj=conftest.${OBJEXT-o}
5766 if depmode=$depmode \
5767 source=sub/conftest.c object=$am__obj \
5768 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5769 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5770 >/dev/null 2>conftest.err &&
5771 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5772 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5773 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5774 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5775 # icc doesn't choke on unknown options, it will just issue warnings
5776 # or remarks (even with -Werror). So we grep stderr for any message
5777 # that says an option was ignored or not supported.
5778 # When given -MP, icc 7.0 and 7.1 complain thusly:
5779 # icc: Command line warning: ignoring option '-M'; no argument required
5780 # The diagnosis changed in icc 8.0:
5781 # icc: Command line remark: option '-MP' not supported
5782 if (grep 'ignoring option' conftest.err ||
5783 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5784 am_cv_CC_dependencies_compiler_type=$depmode
5793 am_cv_CC_dependencies_compiler_type=none
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5798 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5799 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5802 test "x$enable_dependency_tracking" != xno \
5803 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5805 am__fastdepCC_FALSE='#'
5807 am__fastdepCC_TRUE='#'
5808 am__fastdepCC_FALSE=
5812 if test "x$CC" != xcc; then
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5814 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5817 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5819 set dummy $CC; ac_cc=`$as_echo "$2" |
5820 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5821 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
5822 $as_echo_n "(cached) " >&6
5824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5825 /* end confdefs.h. */
5835 # Make sure it works both with $CC and with simple cc.
5836 # We do the test twice because some compilers refuse to overwrite an
5837 # existing .o file with -o, though they will create one.
5838 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5840 if { { case "(($ac_try" in
5841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5842 *) ac_try_echo=$ac_try;;
5844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5845 $as_echo "$ac_try_echo"; } >&5
5846 (eval "$ac_try") 2>&5
5848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5849 test $ac_status = 0; } &&
5850 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5852 *) ac_try_echo=$ac_try;;
5854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5855 $as_echo "$ac_try_echo"; } >&5
5856 (eval "$ac_try") 2>&5
5858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5859 test $ac_status = 0; };
5861 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5862 if test "x$CC" != xcc; then
5863 # Test first that cc exists at all.
5864 if { ac_try='cc -c conftest.$ac_ext >&5'
5865 { { case "(($ac_try" in
5866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5867 *) ac_try_echo=$ac_try;;
5869 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5870 $as_echo "$ac_try_echo"; } >&5
5871 (eval "$ac_try") 2>&5
5873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5874 test $ac_status = 0; }; }; then
5875 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5877 if { { case "(($ac_try" in
5878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5879 *) ac_try_echo=$ac_try;;
5881 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5882 $as_echo "$ac_try_echo"; } >&5
5883 (eval "$ac_try") 2>&5
5885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5886 test $ac_status = 0; } &&
5887 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5889 *) ac_try_echo=$ac_try;;
5891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5892 $as_echo "$ac_try_echo"; } >&5
5893 (eval "$ac_try") 2>&5
5895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5896 test $ac_status = 0; };
5901 # cc exists but doesn't like -o.
5902 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5907 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5909 rm -f core conftest*
5912 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5914 $as_echo "yes" >&6; }
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5917 $as_echo "no" >&6; }
5919 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5925 ac_cpp='$CXXCPP $CPPFLAGS'
5926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5929 if test -z "$CXX"; then
5930 if test -n "$CCC"; then
5933 if test -n "$ac_tool_prefix"; then
5934 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5936 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5937 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5939 $as_echo_n "checking for $ac_word... " >&6; }
5940 if ${ac_cv_prog_CXX+:} false; then :
5941 $as_echo_n "(cached) " >&6
5943 if test -n "$CXX"; then
5944 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5950 test -z "$as_dir" && as_dir=.
5951 for ac_exec_ext in '' $ac_executable_extensions; do
5952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5953 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5964 if test -n "$CXX"; then
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5966 $as_echo "$CXX" >&6; }
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5969 $as_echo "no" >&6; }
5973 test -n "$CXX" && break
5976 if test -z "$CXX"; then
5978 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5980 # Extract the first word of "$ac_prog", so it can be a program name with args.
5981 set dummy $ac_prog; ac_word=$2
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5983 $as_echo_n "checking for $ac_word... " >&6; }
5984 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5985 $as_echo_n "(cached) " >&6
5987 if test -n "$ac_ct_CXX"; then
5988 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5994 test -z "$as_dir" && as_dir=.
5995 for ac_exec_ext in '' $ac_executable_extensions; do
5996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5997 ac_cv_prog_ac_ct_CXX="$ac_prog"
5998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6007 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6008 if test -n "$ac_ct_CXX"; then
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
6010 $as_echo "$ac_ct_CXX" >&6; }
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6013 $as_echo "no" >&6; }
6017 test -n "$ac_ct_CXX" && break
6020 if test "x$ac_ct_CXX" = x; then
6023 case $cross_compiling:$ac_tool_warned in
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6026 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6027 ac_tool_warned=yes ;;
6035 # Provide some information about the compiler.
6036 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6039 for ac_option in --version -v -V -qversion; do
6040 { { ac_try="$ac_compiler $ac_option >&5"
6042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6043 *) ac_try_echo=$ac_try;;
6045 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6046 $as_echo "$ac_try_echo"; } >&5
6047 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6049 if test -s conftest.err; then
6051 ... rest of stderr output deleted ...
6052 10q' conftest.err >conftest.er1
6053 cat conftest.er1 >&5
6055 rm -f conftest.er1 conftest.err
6056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6057 test $ac_status = 0; }
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
6061 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
6062 if ${ac_cv_cxx_compiler_gnu+:} false; then :
6063 $as_echo_n "(cached) " >&6
6065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6066 /* end confdefs.h. */
6079 if ac_fn_cxx_try_compile "$LINENO"; then :
6084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6085 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6089 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
6090 if test $ac_compiler_gnu = yes; then
6095 ac_test_CXXFLAGS=${CXXFLAGS+set}
6096 ac_save_CXXFLAGS=$CXXFLAGS
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6098 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
6099 if ${ac_cv_prog_cxx_g+:} false; then :
6100 $as_echo_n "(cached) " >&6
6102 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6103 ac_cxx_werror_flag=yes
6106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6107 /* end confdefs.h. */
6117 if ac_fn_cxx_try_compile "$LINENO"; then :
6118 ac_cv_prog_cxx_g=yes
6121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6122 /* end confdefs.h. */
6132 if ac_fn_cxx_try_compile "$LINENO"; then :
6135 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6138 /* end confdefs.h. */
6148 if ac_fn_cxx_try_compile "$LINENO"; then :
6149 ac_cv_prog_cxx_g=yes
6151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6156 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6159 $as_echo "$ac_cv_prog_cxx_g" >&6; }
6160 if test "$ac_test_CXXFLAGS" = set; then
6161 CXXFLAGS=$ac_save_CXXFLAGS
6162 elif test $ac_cv_prog_cxx_g = yes; then
6163 if test "$GXX" = yes; then
6169 if test "$GXX" = yes; then
6176 ac_cpp='$CPP $CPPFLAGS'
6177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6181 depcc="$CXX" am_compiler_list=
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6184 $as_echo_n "checking dependency style of $depcc... " >&6; }
6185 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
6186 $as_echo_n "(cached) " >&6
6188 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6189 # We make a subdir and do the tests there. Otherwise we can end up
6190 # making bogus files that we don't know about and never remove. For
6191 # instance it was reported that on HP-UX the gcc test will end up
6192 # making a dummy file named 'D' -- because '-MD' means "put the output
6196 # Copy depcomp to subdir because otherwise we won't find it if we're
6197 # using a relative directory.
6198 cp "$am_depcomp" conftest.dir
6200 # We will build objects and dependencies in a subdirectory because
6201 # it helps to detect inapplicable dependency modes. For instance
6202 # both Tru64's cc and ICC support -MD to output dependencies as a
6203 # side effect of compilation, but ICC will put the dependencies in
6204 # the current directory while Tru64 will put them in the object
6208 am_cv_CXX_dependencies_compiler_type=none
6209 if test "$am_compiler_list" = ""; then
6210 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6213 case " $depcc " in #(
6214 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6217 for depmode in $am_compiler_list; do
6218 # Setup a source with many dependencies, because some compilers
6219 # like to wrap large dependency lists on column 80 (with \), and
6220 # we should not choose a depcomp mode which is confused by this.
6222 # We need to recreate these files for each test, as the compiler may
6223 # overwrite some of them when testing with obscure command lines.
6224 # This happens at least with the AIX C compiler.
6226 for i in 1 2 3 4 5 6; do
6227 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6228 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6229 # Solaris 10 /bin/sh.
6230 echo '/* dummy */' > sub/conftst$i.h
6232 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6234 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6235 # mode. It turns out that the SunPro C++ compiler does not properly
6236 # handle '-M -o', and we need to detect this. Also, some Intel
6237 # versions had trouble with output in subdirs.
6238 am__obj=sub/conftest.${OBJEXT-o}
6239 am__minus_obj="-o $am__obj"
6242 # This depmode causes a compiler race in universal mode.
6243 test "$am__universal" = false || continue
6246 # After this tag, mechanisms are not by side-effect, so they'll
6247 # only be used when explicitly requested.
6248 if test "x$enable_dependency_tracking" = xyes; then
6254 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6255 # This compiler won't grok '-c -o', but also, the minuso test has
6256 # not run yet. These depmodes are late enough in the game, and
6257 # so weak that their functioning should not be impacted.
6258 am__obj=conftest.${OBJEXT-o}
6263 if depmode=$depmode \
6264 source=sub/conftest.c object=$am__obj \
6265 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6266 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6267 >/dev/null 2>conftest.err &&
6268 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6269 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6270 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6271 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6272 # icc doesn't choke on unknown options, it will just issue warnings
6273 # or remarks (even with -Werror). So we grep stderr for any message
6274 # that says an option was ignored or not supported.
6275 # When given -MP, icc 7.0 and 7.1 complain thusly:
6276 # icc: Command line warning: ignoring option '-M'; no argument required
6277 # The diagnosis changed in icc 8.0:
6278 # icc: Command line remark: option '-MP' not supported
6279 if (grep 'ignoring option' conftest.err ||
6280 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6281 am_cv_CXX_dependencies_compiler_type=$depmode
6290 am_cv_CXX_dependencies_compiler_type=none
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6295 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6296 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6299 test "x$enable_dependency_tracking" != xno \
6300 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6301 am__fastdepCXX_TRUE=
6302 am__fastdepCXX_FALSE='#'
6304 am__fastdepCXX_TRUE='#'
6305 am__fastdepCXX_FALSE=
6310 ac_cpp='$CXXCPP $CPPFLAGS'
6311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6315 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6316 if test -z "$CXXCPP"; then
6317 if ${ac_cv_prog_CXXCPP+:} false; then :
6318 $as_echo_n "(cached) " >&6
6320 # Double quotes because CXXCPP needs to be expanded
6321 for CXXCPP in "$CXX -E" "/lib/cpp"
6324 for ac_cxx_preproc_warn_flag in '' yes
6326 # Use a header file that comes with gcc, so configuring glibc
6327 # with a fresh cross-compiler works.
6328 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6329 # <limits.h> exists even on freestanding compilers.
6330 # On the NeXT, cc -E runs the code through the compiler's parser,
6331 # not just through cpp. "Syntax error" is here to catch this case.
6332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6333 /* end confdefs.h. */
6335 # include <limits.h>
6337 # include <assert.h>
6341 if ac_fn_cxx_try_cpp "$LINENO"; then :
6344 # Broken: fails on valid input.
6347 rm -f conftest.err conftest.i conftest.$ac_ext
6349 # OK, works on sane cases. Now check whether nonexistent headers
6350 # can be detected and how.
6351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6352 /* end confdefs.h. */
6353 #include <ac_nonexistent.h>
6355 if ac_fn_cxx_try_cpp "$LINENO"; then :
6356 # Broken: success on invalid input.
6359 # Passes both tests.
6363 rm -f conftest.err conftest.i conftest.$ac_ext
6366 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6367 rm -f conftest.i conftest.err conftest.$ac_ext
6368 if $ac_preproc_ok; then :
6373 ac_cv_prog_CXXCPP=$CXXCPP
6376 CXXCPP=$ac_cv_prog_CXXCPP
6378 ac_cv_prog_CXXCPP=$CXXCPP
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
6381 $as_echo "$CXXCPP" >&6; }
6383 for ac_cxx_preproc_warn_flag in '' yes
6385 # Use a header file that comes with gcc, so configuring glibc
6386 # with a fresh cross-compiler works.
6387 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6388 # <limits.h> exists even on freestanding compilers.
6389 # On the NeXT, cc -E runs the code through the compiler's parser,
6390 # not just through cpp. "Syntax error" is here to catch this case.
6391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6392 /* end confdefs.h. */
6394 # include <limits.h>
6396 # include <assert.h>
6400 if ac_fn_cxx_try_cpp "$LINENO"; then :
6403 # Broken: fails on valid input.
6406 rm -f conftest.err conftest.i conftest.$ac_ext
6408 # OK, works on sane cases. Now check whether nonexistent headers
6409 # can be detected and how.
6410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6411 /* end confdefs.h. */
6412 #include <ac_nonexistent.h>
6414 if ac_fn_cxx_try_cpp "$LINENO"; then :
6415 # Broken: success on invalid input.
6418 # Passes both tests.
6422 rm -f conftest.err conftest.i conftest.$ac_ext
6425 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6426 rm -f conftest.i conftest.err conftest.$ac_ext
6427 if $ac_preproc_ok; then :
6430 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6431 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6432 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
6433 See \`config.log' for more details" "$LINENO" 5; }
6437 ac_cpp='$CPP $CPPFLAGS'
6438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6444 ac_cpp='$CXXCPP $CPPFLAGS'
6445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6448 if test -z "$CXX"; then
6449 if test -n "$CCC"; then
6452 if test -n "$ac_tool_prefix"; then
6453 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6455 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6456 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6458 $as_echo_n "checking for $ac_word... " >&6; }
6459 if ${ac_cv_prog_CXX+:} false; then :
6460 $as_echo_n "(cached) " >&6
6462 if test -n "$CXX"; then
6463 ac_cv_prog_CXX="$CXX" # Let the user override the test.
6465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6469 test -z "$as_dir" && as_dir=.
6470 for ac_exec_ext in '' $ac_executable_extensions; do
6471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6472 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6483 if test -n "$CXX"; then
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
6485 $as_echo "$CXX" >&6; }
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6488 $as_echo "no" >&6; }
6492 test -n "$CXX" && break
6495 if test -z "$CXX"; then
6497 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6499 # Extract the first word of "$ac_prog", so it can be a program name with args.
6500 set dummy $ac_prog; ac_word=$2
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6502 $as_echo_n "checking for $ac_word... " >&6; }
6503 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
6504 $as_echo_n "(cached) " >&6
6506 if test -n "$ac_ct_CXX"; then
6507 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6513 test -z "$as_dir" && as_dir=.
6514 for ac_exec_ext in '' $ac_executable_extensions; do
6515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6516 ac_cv_prog_ac_ct_CXX="$ac_prog"
6517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6526 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6527 if test -n "$ac_ct_CXX"; then
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
6529 $as_echo "$ac_ct_CXX" >&6; }
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6532 $as_echo "no" >&6; }
6536 test -n "$ac_ct_CXX" && break
6539 if test "x$ac_ct_CXX" = x; then
6542 case $cross_compiling:$ac_tool_warned in
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6545 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6546 ac_tool_warned=yes ;;
6554 # Provide some information about the compiler.
6555 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6558 for ac_option in --version -v -V -qversion; do
6559 { { ac_try="$ac_compiler $ac_option >&5"
6561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6562 *) ac_try_echo=$ac_try;;
6564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6565 $as_echo "$ac_try_echo"; } >&5
6566 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6568 if test -s conftest.err; then
6570 ... rest of stderr output deleted ...
6571 10q' conftest.err >conftest.er1
6572 cat conftest.er1 >&5
6574 rm -f conftest.er1 conftest.err
6575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6576 test $ac_status = 0; }
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
6580 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
6581 if ${ac_cv_cxx_compiler_gnu+:} false; then :
6582 $as_echo_n "(cached) " >&6
6584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6585 /* end confdefs.h. */
6598 if ac_fn_cxx_try_compile "$LINENO"; then :
6603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6604 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6608 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
6609 if test $ac_compiler_gnu = yes; then
6614 ac_test_CXXFLAGS=${CXXFLAGS+set}
6615 ac_save_CXXFLAGS=$CXXFLAGS
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6617 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
6618 if ${ac_cv_prog_cxx_g+:} false; then :
6619 $as_echo_n "(cached) " >&6
6621 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6622 ac_cxx_werror_flag=yes
6625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6626 /* end confdefs.h. */
6636 if ac_fn_cxx_try_compile "$LINENO"; then :
6637 ac_cv_prog_cxx_g=yes
6640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6641 /* end confdefs.h. */
6651 if ac_fn_cxx_try_compile "$LINENO"; then :
6654 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6657 /* end confdefs.h. */
6667 if ac_fn_cxx_try_compile "$LINENO"; then :
6668 ac_cv_prog_cxx_g=yes
6670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6675 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6678 $as_echo "$ac_cv_prog_cxx_g" >&6; }
6679 if test "$ac_test_CXXFLAGS" = set; then
6680 CXXFLAGS=$ac_save_CXXFLAGS
6681 elif test $ac_cv_prog_cxx_g = yes; then
6682 if test "$GXX" = yes; then
6688 if test "$GXX" = yes; then
6695 ac_cpp='$CPP $CPPFLAGS'
6696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6700 depcc="$CXX" am_compiler_list=
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6703 $as_echo_n "checking dependency style of $depcc... " >&6; }
6704 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
6705 $as_echo_n "(cached) " >&6
6707 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6708 # We make a subdir and do the tests there. Otherwise we can end up
6709 # making bogus files that we don't know about and never remove. For
6710 # instance it was reported that on HP-UX the gcc test will end up
6711 # making a dummy file named 'D' -- because '-MD' means "put the output
6715 # Copy depcomp to subdir because otherwise we won't find it if we're
6716 # using a relative directory.
6717 cp "$am_depcomp" conftest.dir
6719 # We will build objects and dependencies in a subdirectory because
6720 # it helps to detect inapplicable dependency modes. For instance
6721 # both Tru64's cc and ICC support -MD to output dependencies as a
6722 # side effect of compilation, but ICC will put the dependencies in
6723 # the current directory while Tru64 will put them in the object
6727 am_cv_CXX_dependencies_compiler_type=none
6728 if test "$am_compiler_list" = ""; then
6729 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6732 case " $depcc " in #(
6733 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6736 for depmode in $am_compiler_list; do
6737 # Setup a source with many dependencies, because some compilers
6738 # like to wrap large dependency lists on column 80 (with \), and
6739 # we should not choose a depcomp mode which is confused by this.
6741 # We need to recreate these files for each test, as the compiler may
6742 # overwrite some of them when testing with obscure command lines.
6743 # This happens at least with the AIX C compiler.
6745 for i in 1 2 3 4 5 6; do
6746 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6747 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6748 # Solaris 10 /bin/sh.
6749 echo '/* dummy */' > sub/conftst$i.h
6751 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6753 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6754 # mode. It turns out that the SunPro C++ compiler does not properly
6755 # handle '-M -o', and we need to detect this. Also, some Intel
6756 # versions had trouble with output in subdirs.
6757 am__obj=sub/conftest.${OBJEXT-o}
6758 am__minus_obj="-o $am__obj"
6761 # This depmode causes a compiler race in universal mode.
6762 test "$am__universal" = false || continue
6765 # After this tag, mechanisms are not by side-effect, so they'll
6766 # only be used when explicitly requested.
6767 if test "x$enable_dependency_tracking" = xyes; then
6773 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6774 # This compiler won't grok '-c -o', but also, the minuso test has
6775 # not run yet. These depmodes are late enough in the game, and
6776 # so weak that their functioning should not be impacted.
6777 am__obj=conftest.${OBJEXT-o}
6782 if depmode=$depmode \
6783 source=sub/conftest.c object=$am__obj \
6784 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6785 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6786 >/dev/null 2>conftest.err &&
6787 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6788 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6789 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6790 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6791 # icc doesn't choke on unknown options, it will just issue warnings
6792 # or remarks (even with -Werror). So we grep stderr for any message
6793 # that says an option was ignored or not supported.
6794 # When given -MP, icc 7.0 and 7.1 complain thusly:
6795 # icc: Command line warning: ignoring option '-M'; no argument required
6796 # The diagnosis changed in icc 8.0:
6797 # icc: Command line remark: option '-MP' not supported
6798 if (grep 'ignoring option' conftest.err ||
6799 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6800 am_cv_CXX_dependencies_compiler_type=$depmode
6809 am_cv_CXX_dependencies_compiler_type=none
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6814 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6815 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6818 test "x$enable_dependency_tracking" != xno \
6819 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6820 am__fastdepCXX_TRUE=
6821 am__fastdepCXX_FALSE='#'
6823 am__fastdepCXX_TRUE='#'
6824 am__fastdepCXX_FALSE=
6829 ac_cpp='$CXXCPP $CPPFLAGS'
6830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX understands -c and -o together" >&5
6834 $as_echo_n "checking whether $CXX understands -c and -o together... " >&6; }
6835 if ${ac_cv_prog_cxx_c_o+:} false; then :
6836 $as_echo_n "(cached) " >&6
6838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6839 /* end confdefs.h. */
6849 # We test twice because some compilers refuse to overwrite an existing
6850 # `.o' file with `-o', although they will create one.
6851 ac_try='$CXX $CXXFLAGS -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
6853 if { { case "(($ac_try" in
6854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6855 *) ac_try_echo=$ac_try;;
6857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6858 $as_echo "$ac_try_echo"; } >&5
6859 (eval "$ac_try") 2>&5
6861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6862 test $ac_status = 0; } &&
6863 test -f conftest2.$ac_objext &&
6864 { { case "(($ac_try" in
6865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6866 *) ac_try_echo=$ac_try;;
6868 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6869 $as_echo "$ac_try_echo"; } >&5
6870 (eval "$ac_try") 2>&5
6872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6873 test $ac_status = 0; }; then
6874 ac_cv_prog_cxx_c_o=yes
6876 ac_cv_prog_cxx_c_o=no
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_c_o" >&5
6881 $as_echo "$ac_cv_prog_cxx_c_o" >&6; }
6882 if test $ac_cv_prog_cxx_c_o = no; then
6884 $as_echo "#define CXX_NO_MINUS_C_MINUS_O 1" >>confdefs.h
6888 ac_cpp='$CPP $CPPFLAGS'
6889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6894 # Check for other compiler toolchain tools.
6896 if test -n "$ac_tool_prefix"; then
6897 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6898 set dummy ${ac_tool_prefix}ar; ac_word=$2
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6900 $as_echo_n "checking for $ac_word... " >&6; }
6901 if ${ac_cv_prog_AR+:} false; then :
6902 $as_echo_n "(cached) " >&6
6904 if test -n "$AR"; then
6905 ac_cv_prog_AR="$AR" # Let the user override the test.
6907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6911 test -z "$as_dir" && as_dir=.
6912 for ac_exec_ext in '' $ac_executable_extensions; do
6913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6914 ac_cv_prog_AR="${ac_tool_prefix}ar"
6915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6925 if test -n "$AR"; then
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6927 $as_echo "$AR" >&6; }
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6930 $as_echo "no" >&6; }
6935 if test -z "$ac_cv_prog_AR"; then
6937 # Extract the first word of "ar", so it can be a program name with args.
6938 set dummy ar; ac_word=$2
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6940 $as_echo_n "checking for $ac_word... " >&6; }
6941 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6942 $as_echo_n "(cached) " >&6
6944 if test -n "$ac_ct_AR"; then
6945 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6951 test -z "$as_dir" && as_dir=.
6952 for ac_exec_ext in '' $ac_executable_extensions; do
6953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6954 ac_cv_prog_ac_ct_AR="ar"
6955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6964 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6965 if test -n "$ac_ct_AR"; then
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6967 $as_echo "$ac_ct_AR" >&6; }
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6970 $as_echo "no" >&6; }
6973 if test "x$ac_ct_AR" = x; then
6976 case $cross_compiling:$ac_tool_warned in
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6979 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6980 ac_tool_warned=yes ;;
6988 if test -n "$ac_tool_prefix"; then
6989 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6990 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6992 $as_echo_n "checking for $ac_word... " >&6; }
6993 if ${ac_cv_prog_RANLIB+:} false; then :
6994 $as_echo_n "(cached) " >&6
6996 if test -n "$RANLIB"; then
6997 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7003 test -z "$as_dir" && as_dir=.
7004 for ac_exec_ext in '' $ac_executable_extensions; do
7005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7006 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7016 RANLIB=$ac_cv_prog_RANLIB
7017 if test -n "$RANLIB"; then
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7019 $as_echo "$RANLIB" >&6; }
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7022 $as_echo "no" >&6; }
7027 if test -z "$ac_cv_prog_RANLIB"; then
7028 ac_ct_RANLIB=$RANLIB
7029 # Extract the first word of "ranlib", so it can be a program name with args.
7030 set dummy ranlib; ac_word=$2
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7032 $as_echo_n "checking for $ac_word... " >&6; }
7033 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7034 $as_echo_n "(cached) " >&6
7036 if test -n "$ac_ct_RANLIB"; then
7037 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7043 test -z "$as_dir" && as_dir=.
7044 for ac_exec_ext in '' $ac_executable_extensions; do
7045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7046 ac_cv_prog_ac_ct_RANLIB="ranlib"
7047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7056 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7057 if test -n "$ac_ct_RANLIB"; then
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7059 $as_echo "$ac_ct_RANLIB" >&6; }
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7062 $as_echo "no" >&6; }
7065 if test "x$ac_ct_RANLIB" = x; then
7068 case $cross_compiling:$ac_tool_warned in
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7071 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7072 ac_tool_warned=yes ;;
7074 RANLIB=$ac_ct_RANLIB
7077 RANLIB="$ac_cv_prog_RANLIB"
7080 if test -n "$ac_tool_prefix"; then
7081 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
7082 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7084 $as_echo_n "checking for $ac_word... " >&6; }
7085 if ${ac_cv_prog_OBJCOPY+:} false; then :
7086 $as_echo_n "(cached) " >&6
7088 if test -n "$OBJCOPY"; then
7089 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
7091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7095 test -z "$as_dir" && as_dir=.
7096 for ac_exec_ext in '' $ac_executable_extensions; do
7097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7098 ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
7099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7108 OBJCOPY=$ac_cv_prog_OBJCOPY
7109 if test -n "$OBJCOPY"; then
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
7111 $as_echo "$OBJCOPY" >&6; }
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7114 $as_echo "no" >&6; }
7119 if test -z "$ac_cv_prog_OBJCOPY"; then
7120 ac_ct_OBJCOPY=$OBJCOPY
7121 # Extract the first word of "objcopy", so it can be a program name with args.
7122 set dummy objcopy; ac_word=$2
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7124 $as_echo_n "checking for $ac_word... " >&6; }
7125 if ${ac_cv_prog_ac_ct_OBJCOPY+:} false; then :
7126 $as_echo_n "(cached) " >&6
7128 if test -n "$ac_ct_OBJCOPY"; then
7129 ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
7131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7135 test -z "$as_dir" && as_dir=.
7136 for ac_exec_ext in '' $ac_executable_extensions; do
7137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7138 ac_cv_prog_ac_ct_OBJCOPY="objcopy"
7139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7148 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
7149 if test -n "$ac_ct_OBJCOPY"; then
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
7151 $as_echo "$ac_ct_OBJCOPY" >&6; }
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7154 $as_echo "no" >&6; }
7157 if test "x$ac_ct_OBJCOPY" = x; then
7160 case $cross_compiling:$ac_tool_warned in
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7163 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7164 ac_tool_warned=yes ;;
7166 OBJCOPY=$ac_ct_OBJCOPY
7169 OBJCOPY="$ac_cv_prog_OBJCOPY"
7172 if test -n "$ac_tool_prefix"; then
7173 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7174 set dummy ${ac_tool_prefix}strip; ac_word=$2
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7176 $as_echo_n "checking for $ac_word... " >&6; }
7177 if ${ac_cv_prog_STRIP+:} false; then :
7178 $as_echo_n "(cached) " >&6
7180 if test -n "$STRIP"; then
7181 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7187 test -z "$as_dir" && as_dir=.
7188 for ac_exec_ext in '' $ac_executable_extensions; do
7189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7190 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7200 STRIP=$ac_cv_prog_STRIP
7201 if test -n "$STRIP"; then
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7203 $as_echo "$STRIP" >&6; }
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7206 $as_echo "no" >&6; }
7211 if test -z "$ac_cv_prog_STRIP"; then
7213 # Extract the first word of "strip", so it can be a program name with args.
7214 set dummy strip; ac_word=$2
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7216 $as_echo_n "checking for $ac_word... " >&6; }
7217 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7218 $as_echo_n "(cached) " >&6
7220 if test -n "$ac_ct_STRIP"; then
7221 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7227 test -z "$as_dir" && as_dir=.
7228 for ac_exec_ext in '' $ac_executable_extensions; do
7229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7230 ac_cv_prog_ac_ct_STRIP="strip"
7231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7240 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7241 if test -n "$ac_ct_STRIP"; then
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7243 $as_echo "$ac_ct_STRIP" >&6; }
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7246 $as_echo "no" >&6; }
7249 if test "x$ac_ct_STRIP" = x; then
7252 case $cross_compiling:$ac_tool_warned in
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7255 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7256 ac_tool_warned=yes ;;
7261 STRIP="$ac_cv_prog_STRIP"
7265 # Check for other host tools.
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7269 $as_echo_n "checking whether ln -s works... " >&6; }
7271 if test "$LN_S" = "ln -s"; then
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7273 $as_echo "yes" >&6; }
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7276 $as_echo "no, using $LN_S" >&6; }
7280 # Extract the first word of "cmp", so it can be a program name with args.
7281 set dummy cmp; ac_word=$2
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7283 $as_echo_n "checking for $ac_word... " >&6; }
7284 if ${ac_cv_path_CMP+:} false; then :
7285 $as_echo_n "(cached) " >&6
7289 ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
7292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7296 test -z "$as_dir" && as_dir=.
7297 for ac_exec_ext in '' $ac_executable_extensions; do
7298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7299 ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
7300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7311 if test -n "$CMP"; then
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CMP" >&5
7313 $as_echo "$CMP" >&6; }
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7316 $as_echo "no" >&6; }
7320 # Extract the first word of "perl", so it can be a program name with args.
7321 set dummy perl; ac_word=$2
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7323 $as_echo_n "checking for $ac_word... " >&6; }
7324 if ${ac_cv_path_PERL+:} false; then :
7325 $as_echo_n "(cached) " >&6
7329 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
7332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7336 test -z "$as_dir" && as_dir=.
7337 for ac_exec_ext in '' $ac_executable_extensions; do
7338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7339 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
7340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7350 PERL=$ac_cv_path_PERL
7351 if test -n "$PERL"; then
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
7353 $as_echo "$PERL" >&6; }
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7356 $as_echo "no" >&6; }
7362 # Checks for specific compiler characteristics
7366 # Common compiler flags we would like to have.
7371 PROSPECTIVE_CFLAGS="-Wall"
7372 PROSPECTIVE_CXXFLAGS=""
7377 for ax_compiler_option in ${PROSPECTIVE_CFLAGS}; do
7380 ac_cpp='$CPP $CPPFLAGS'
7381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler understands $ax_compiler_option" >&5
7386 $as_echo_n "checking whether the C compiler understands $ax_compiler_option... " >&6; }
7387 SAVE_CFLAGS=${CFLAGS}
7388 CFLAGS=$ax_compiler_option
7389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7390 /* end confdefs.h. */
7400 if ac_fn_c_try_compile "$LINENO"; then :
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7402 $as_echo "yes" >&6; }; CFLAGS="${SAVE_CFLAGS} $ax_compiler_option"
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7405 $as_echo "no" >&6; }; CFLAGS=${SAVE_CFLAGS}
7407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
7410 ac_cpp='$CPP $CPPFLAGS'
7411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7422 for ax_compiler_option in ${PROSPECTIVE_CFLAGS} ${PROSPECTIVE_CXXFLAGS}; do
7425 ac_cpp='$CXXCPP $CPPFLAGS'
7426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler understands $ax_compiler_option" >&5
7431 $as_echo_n "checking whether the C++ compiler understands $ax_compiler_option... " >&6; }
7432 SAVE_CXXFLAGS=${CXXFLAGS}
7433 CXXFLAGS=$ax_compiler_option
7434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7435 /* end confdefs.h. */
7445 if ac_fn_cxx_try_compile "$LINENO"; then :
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7447 $as_echo "yes" >&6; }; CXXFLAGS="${SAVE_CXXFLAGS} $ax_compiler_option"
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7450 $as_echo "no" >&6; }; CXXFLAGS=${SAVE_CXXFLAGS}
7452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
7455 ac_cpp='$CPP $CPPFLAGS'
7456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7465 # Check for and initialize libtool
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7470 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7475 macro_version='2.4.2'
7476 macro_revision='1.3337'
7490 ltmain="$ac_aux_dir/ltmain.sh"
7492 # Backslashify metacharacters that are still active within
7493 # double-quoted strings.
7494 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7496 # Same as above, but do not quote variable references.
7497 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7499 # Sed substitution to delay expansion of an escaped shell variable in a
7500 # double_quote_subst'ed string.
7501 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7503 # Sed substitution to delay expansion of an escaped single quote.
7504 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7506 # Sed substitution to avoid accidental globbing in evaled expressions
7507 no_glob_subst='s/\*/\\\*/g'
7509 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7510 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
7511 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
7514 $as_echo_n "checking how to print strings... " >&6; }
7515 # Test print first, because it will be a builtin if present.
7516 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
7517 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
7519 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
7522 # Use this function as a fallback that always works.
7523 func_fallback_echo ()
7525 eval 'cat <<_LTECHO_EOF
7529 ECHO='func_fallback_echo'
7532 # func_echo_all arg...
7533 # Invoke $ECHO with all args, space-separated.
7540 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
7541 $as_echo "printf" >&6; } ;;
7542 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
7543 $as_echo "print -r" >&6; } ;;
7544 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
7545 $as_echo "cat" >&6; } ;;
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7562 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
7563 if ${ac_cv_path_SED+:} false; then :
7564 $as_echo_n "(cached) " >&6
7566 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7567 for ac_i in 1 2 3 4 5 6 7; do
7568 ac_script="$ac_script$as_nl$ac_script"
7570 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7571 { ac_script=; unset ac_script;}
7572 if test -z "$SED"; then
7573 ac_path_SED_found=false
7574 # Loop through the user's path and test for each of PROGNAME-LIST
7575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7579 test -z "$as_dir" && as_dir=.
7580 for ac_prog in sed gsed; do
7581 for ac_exec_ext in '' $ac_executable_extensions; do
7582 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
7583 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
7584 # Check for GNU ac_path_SED and select it if it is found.
7585 # Check for GNU $ac_path_SED
7586 case `"$ac_path_SED" --version 2>&1` in
7588 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
7591 $as_echo_n 0123456789 >"conftest.in"
7594 cat "conftest.in" "conftest.in" >"conftest.tmp"
7595 mv "conftest.tmp" "conftest.in"
7596 cp "conftest.in" "conftest.nl"
7597 $as_echo '' >> "conftest.nl"
7598 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7599 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7600 as_fn_arith $ac_count + 1 && ac_count=$as_val
7601 if test $ac_count -gt ${ac_path_SED_max-0}; then
7602 # Best one so far, save it but keep looking for a better one
7603 ac_cv_path_SED="$ac_path_SED"
7604 ac_path_SED_max=$ac_count
7606 # 10*(2^10) chars as input seems more than enough
7607 test $ac_count -gt 10 && break
7609 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7612 $ac_path_SED_found && break 3
7617 if test -z "$ac_cv_path_SED"; then
7618 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7626 $as_echo "$ac_cv_path_SED" >&6; }
7627 SED="$ac_cv_path_SED"
7630 test -z "$SED" && SED=sed
7631 Xsed="$SED -e 1s/^X//"
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7644 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7645 if ${ac_cv_path_GREP+:} false; then :
7646 $as_echo_n "(cached) " >&6
7648 if test -z "$GREP"; then
7649 ac_path_GREP_found=false
7650 # Loop through the user's path and test for each of PROGNAME-LIST
7651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7652 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7655 test -z "$as_dir" && as_dir=.
7656 for ac_prog in grep ggrep; do
7657 for ac_exec_ext in '' $ac_executable_extensions; do
7658 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
7659 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
7660 # Check for GNU ac_path_GREP and select it if it is found.
7661 # Check for GNU $ac_path_GREP
7662 case `"$ac_path_GREP" --version 2>&1` in
7664 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7667 $as_echo_n 0123456789 >"conftest.in"
7670 cat "conftest.in" "conftest.in" >"conftest.tmp"
7671 mv "conftest.tmp" "conftest.in"
7672 cp "conftest.in" "conftest.nl"
7673 $as_echo 'GREP' >> "conftest.nl"
7674 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7675 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7676 as_fn_arith $ac_count + 1 && ac_count=$as_val
7677 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7678 # Best one so far, save it but keep looking for a better one
7679 ac_cv_path_GREP="$ac_path_GREP"
7680 ac_path_GREP_max=$ac_count
7682 # 10*(2^10) chars as input seems more than enough
7683 test $ac_count -gt 10 && break
7685 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7688 $ac_path_GREP_found && break 3
7693 if test -z "$ac_cv_path_GREP"; then
7694 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7697 ac_cv_path_GREP=$GREP
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7702 $as_echo "$ac_cv_path_GREP" >&6; }
7703 GREP="$ac_cv_path_GREP"
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7707 $as_echo_n "checking for egrep... " >&6; }
7708 if ${ac_cv_path_EGREP+:} false; then :
7709 $as_echo_n "(cached) " >&6
7711 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7712 then ac_cv_path_EGREP="$GREP -E"
7714 if test -z "$EGREP"; then
7715 ac_path_EGREP_found=false
7716 # Loop through the user's path and test for each of PROGNAME-LIST
7717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7718 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7721 test -z "$as_dir" && as_dir=.
7722 for ac_prog in egrep; do
7723 for ac_exec_ext in '' $ac_executable_extensions; do
7724 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
7725 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
7726 # Check for GNU ac_path_EGREP and select it if it is found.
7727 # Check for GNU $ac_path_EGREP
7728 case `"$ac_path_EGREP" --version 2>&1` in
7730 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7733 $as_echo_n 0123456789 >"conftest.in"
7736 cat "conftest.in" "conftest.in" >"conftest.tmp"
7737 mv "conftest.tmp" "conftest.in"
7738 cp "conftest.in" "conftest.nl"
7739 $as_echo 'EGREP' >> "conftest.nl"
7740 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7741 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7742 as_fn_arith $ac_count + 1 && ac_count=$as_val
7743 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7744 # Best one so far, save it but keep looking for a better one
7745 ac_cv_path_EGREP="$ac_path_EGREP"
7746 ac_path_EGREP_max=$ac_count
7748 # 10*(2^10) chars as input seems more than enough
7749 test $ac_count -gt 10 && break
7751 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7754 $ac_path_EGREP_found && break 3
7759 if test -z "$ac_cv_path_EGREP"; then
7760 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7763 ac_cv_path_EGREP=$EGREP
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7769 $as_echo "$ac_cv_path_EGREP" >&6; }
7770 EGREP="$ac_cv_path_EGREP"
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7774 $as_echo_n "checking for fgrep... " >&6; }
7775 if ${ac_cv_path_FGREP+:} false; then :
7776 $as_echo_n "(cached) " >&6
7778 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
7779 then ac_cv_path_FGREP="$GREP -F"
7781 if test -z "$FGREP"; then
7782 ac_path_FGREP_found=false
7783 # Loop through the user's path and test for each of PROGNAME-LIST
7784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7785 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7788 test -z "$as_dir" && as_dir=.
7789 for ac_prog in fgrep; do
7790 for ac_exec_ext in '' $ac_executable_extensions; do
7791 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
7792 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
7793 # Check for GNU ac_path_FGREP and select it if it is found.
7794 # Check for GNU $ac_path_FGREP
7795 case `"$ac_path_FGREP" --version 2>&1` in
7797 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
7800 $as_echo_n 0123456789 >"conftest.in"
7803 cat "conftest.in" "conftest.in" >"conftest.tmp"
7804 mv "conftest.tmp" "conftest.in"
7805 cp "conftest.in" "conftest.nl"
7806 $as_echo 'FGREP' >> "conftest.nl"
7807 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
7808 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7809 as_fn_arith $ac_count + 1 && ac_count=$as_val
7810 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7811 # Best one so far, save it but keep looking for a better one
7812 ac_cv_path_FGREP="$ac_path_FGREP"
7813 ac_path_FGREP_max=$ac_count
7815 # 10*(2^10) chars as input seems more than enough
7816 test $ac_count -gt 10 && break
7818 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7821 $ac_path_FGREP_found && break 3
7826 if test -z "$ac_cv_path_FGREP"; then
7827 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7830 ac_cv_path_FGREP=$FGREP
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7836 $as_echo "$ac_cv_path_FGREP" >&6; }
7837 FGREP="$ac_cv_path_FGREP"
7840 test -z "$GREP" && GREP=grep
7860 # Check whether --with-gnu-ld was given.
7861 if test "${with_gnu_ld+set}" = set; then :
7862 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7868 if test "$GCC" = yes; then
7869 # Check if gcc -print-prog-name=ld gives a path.
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7871 $as_echo_n "checking for ld used by $CC... " >&6; }
7874 # gcc leaves a trailing carriage return which upsets mingw
7875 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7877 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7880 # Accept absolute paths.
7882 re_direlt='/[^/][^/]*/\.\./'
7883 # Canonicalize the pathname of ld
7884 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7885 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
7886 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7888 test -z "$LD" && LD="$ac_prog"
7891 # If it fails, then pretend we aren't using GCC.
7895 # If it is relative, then search for the first ld in PATH.
7899 elif test "$with_gnu_ld" = yes; then
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7901 $as_echo_n "checking for GNU ld... " >&6; }
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7904 $as_echo_n "checking for non-GNU ld... " >&6; }
7906 if ${lt_cv_path_LD+:} false; then :
7907 $as_echo_n "(cached) " >&6
7909 if test -z "$LD"; then
7910 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7911 for ac_dir in $PATH; do
7913 test -z "$ac_dir" && ac_dir=.
7914 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7915 lt_cv_path_LD="$ac_dir/$ac_prog"
7916 # Check to see if the program is GNU ld. I'd rather use --version,
7917 # but apparently some variants of GNU ld only accept -v.
7918 # Break only if it was the GNU/non-GNU ld that we prefer.
7919 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7920 *GNU* | *'with BFD'*)
7921 test "$with_gnu_ld" != no && break
7924 test "$with_gnu_ld" != yes && break
7931 lt_cv_path_LD="$LD" # Let the user override the test with a path.
7936 if test -n "$LD"; then
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7938 $as_echo "$LD" >&6; }
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7941 $as_echo "no" >&6; }
7943 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7945 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7946 if ${lt_cv_prog_gnu_ld+:} false; then :
7947 $as_echo_n "(cached) " >&6
7949 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7950 case `$LD -v 2>&1 </dev/null` in
7951 *GNU* | *'with BFD'*)
7952 lt_cv_prog_gnu_ld=yes
7955 lt_cv_prog_gnu_ld=no
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7960 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7961 with_gnu_ld=$lt_cv_prog_gnu_ld
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7972 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7973 if ${lt_cv_path_NM+:} false; then :
7974 $as_echo_n "(cached) " >&6
7976 if test -n "$NM"; then
7977 # Let the user override the test.
7980 lt_nm_to_check="${ac_tool_prefix}nm"
7981 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7982 lt_nm_to_check="$lt_nm_to_check nm"
7984 for lt_tmp_nm in $lt_nm_to_check; do
7985 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7986 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7988 test -z "$ac_dir" && ac_dir=.
7989 tmp_nm="$ac_dir/$lt_tmp_nm"
7990 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7991 # Check to see if the nm accepts a BSD-compat flag.
7992 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7993 # nm: unknown option "B" ignored
7994 # Tru64's nm complains that /dev/null is an invalid object file
7995 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7996 */dev/null* | *'Invalid file or object type'*)
7997 lt_cv_path_NM="$tmp_nm -B"
8001 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
8003 lt_cv_path_NM="$tmp_nm -p"
8007 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
8008 continue # so that we can try to find one that supports BSD flags
8017 : ${lt_cv_path_NM=no}
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
8021 $as_echo "$lt_cv_path_NM" >&6; }
8022 if test "$lt_cv_path_NM" != "no"; then
8025 # Didn't find any BSD compatible name lister, look for dumpbin.
8026 if test -n "$DUMPBIN"; then :
8027 # Let the user override the test.
8029 if test -n "$ac_tool_prefix"; then
8030 for ac_prog in dumpbin "link -dump"
8032 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8033 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8035 $as_echo_n "checking for $ac_word... " >&6; }
8036 if ${ac_cv_prog_DUMPBIN+:} false; then :
8037 $as_echo_n "(cached) " >&6
8039 if test -n "$DUMPBIN"; then
8040 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
8042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8046 test -z "$as_dir" && as_dir=.
8047 for ac_exec_ext in '' $ac_executable_extensions; do
8048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8049 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
8050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8059 DUMPBIN=$ac_cv_prog_DUMPBIN
8060 if test -n "$DUMPBIN"; then
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
8062 $as_echo "$DUMPBIN" >&6; }
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8065 $as_echo "no" >&6; }
8069 test -n "$DUMPBIN" && break
8072 if test -z "$DUMPBIN"; then
8073 ac_ct_DUMPBIN=$DUMPBIN
8074 for ac_prog in dumpbin "link -dump"
8076 # Extract the first word of "$ac_prog", so it can be a program name with args.
8077 set dummy $ac_prog; ac_word=$2
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8079 $as_echo_n "checking for $ac_word... " >&6; }
8080 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
8081 $as_echo_n "(cached) " >&6
8083 if test -n "$ac_ct_DUMPBIN"; then
8084 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
8086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8090 test -z "$as_dir" && as_dir=.
8091 for ac_exec_ext in '' $ac_executable_extensions; do
8092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8093 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
8094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8103 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
8104 if test -n "$ac_ct_DUMPBIN"; then
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
8106 $as_echo "$ac_ct_DUMPBIN" >&6; }
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8109 $as_echo "no" >&6; }
8113 test -n "$ac_ct_DUMPBIN" && break
8116 if test "x$ac_ct_DUMPBIN" = x; then
8119 case $cross_compiling:$ac_tool_warned in
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8122 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8123 ac_tool_warned=yes ;;
8125 DUMPBIN=$ac_ct_DUMPBIN
8129 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
8131 DUMPBIN="$DUMPBIN -symbols"
8139 if test "$DUMPBIN" != ":"; then
8143 test -z "$NM" && NM=nm
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
8151 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
8152 if ${lt_cv_nm_interface+:} false; then :
8153 $as_echo_n "(cached) " >&6
8155 lt_cv_nm_interface="BSD nm"
8156 echo "int some_variable = 0;" > conftest.$ac_ext
8157 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
8158 (eval "$ac_compile" 2>conftest.err)
8159 cat conftest.err >&5
8160 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
8161 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
8162 cat conftest.err >&5
8163 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
8164 cat conftest.out >&5
8165 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
8166 lt_cv_nm_interface="MS dumpbin"
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
8171 $as_echo "$lt_cv_nm_interface" >&6; }
8173 # find the maximum length of command line arguments
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
8175 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
8176 if ${lt_cv_sys_max_cmd_len+:} false; then :
8177 $as_echo_n "(cached) " >&6
8184 # On DJGPP, this test can blow up pretty badly due to problems in libc
8185 # (any single argument exceeding 2000 bytes causes a buffer overrun
8186 # during glob expansion). Even if it were fixed, the result of this
8187 # check would be larger than it should be.
8188 lt_cv_sys_max_cmd_len=12288; # 12K is about right
8192 # Under GNU Hurd, this test is not required because there is
8193 # no limit to the length of command line arguments.
8194 # Libtool will interpret -1 as no limit whatsoever
8195 lt_cv_sys_max_cmd_len=-1;
8198 cygwin* | mingw* | cegcc*)
8199 # On Win9x/ME, this test blows up -- it succeeds, but takes
8200 # about 5 minutes as the teststring grows exponentially.
8201 # Worse, since 9x/ME are not pre-emptively multitasking,
8202 # you end up with a "frozen" computer, even though with patience
8203 # the test eventually succeeds (with a max line length of 256k).
8204 # Instead, let's just punt: use the minimum linelength reported by
8205 # all of the supported platforms: 8192 (on NT/2K/XP).
8206 lt_cv_sys_max_cmd_len=8192;
8210 # On MiNT this can take a long time and run out of memory.
8211 lt_cv_sys_max_cmd_len=8192;
8215 # On AmigaOS with pdksh, this test takes hours, literally.
8216 # So we just punt and use a minimum line length of 8192.
8217 lt_cv_sys_max_cmd_len=8192;
8220 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
8221 # This has been around since 386BSD, at least. Likely further.
8222 if test -x /sbin/sysctl; then
8223 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
8224 elif test -x /usr/sbin/sysctl; then
8225 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
8227 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
8229 # And add a safety zone
8230 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8231 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8235 # We know the value 262144 and hardcode it with a safety zone (like BSD)
8236 lt_cv_sys_max_cmd_len=196608
8240 # The test takes a long time on OS/2.
8241 lt_cv_sys_max_cmd_len=8192
8245 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
8246 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
8247 # nice to cause kernel panics so lets avoid the loop below.
8248 # First set a reasonable default.
8249 lt_cv_sys_max_cmd_len=16384
8251 if test -x /sbin/sysconfig; then
8252 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
8253 *1*) lt_cv_sys_max_cmd_len=-1 ;;
8258 lt_cv_sys_max_cmd_len=102400
8260 sysv5* | sco5v6* | sysv4.2uw2*)
8261 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
8262 if test -n "$kargmax"; then
8263 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
8265 lt_cv_sys_max_cmd_len=32768
8269 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
8270 if test -n "$lt_cv_sys_max_cmd_len"; then
8271 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8272 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8274 # Make teststring a little bigger before we do anything with it.
8275 # a 1K string should be a reasonable start.
8276 for i in 1 2 3 4 5 6 7 8 ; do
8277 teststring=$teststring$teststring
8279 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
8280 # If test is not a shell built-in, we'll probably end up computing a
8281 # maximum length that is only half of the actual maximum length, but
8283 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
8284 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
8285 test $i != 17 # 1/2 MB should be enough
8288 teststring=$teststring$teststring
8290 # Only check the string length outside the loop.
8291 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
8293 # Add a significant safety factor because C++ compilers can tack on
8294 # massive amounts of additional arguments before passing them to the
8295 # linker. It appears as though 1/2 is a usable value.
8296 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
8303 if test -n $lt_cv_sys_max_cmd_len ; then
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
8305 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
8308 $as_echo "none" >&6; }
8310 max_cmd_len=$lt_cv_sys_max_cmd_len
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
8322 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
8323 # Try some XSI features
8326 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
8328 && eval 'test $(( 1 + 1 )) -eq 2 \
8329 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
8332 $as_echo "$xsi_shell" >&6; }
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
8336 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
8338 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
8340 && lt_shell_append=yes
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
8342 $as_echo "$lt_shell_append" >&6; }
8345 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8355 # test EBCDIC or ASCII
8356 case `echo X|tr X '\101'` in
8357 A) # ASCII based system
8358 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
8359 lt_SP2NL='tr \040 \012'
8360 lt_NL2SP='tr \015\012 \040\040'
8362 *) # EBCDIC based system
8363 lt_SP2NL='tr \100 \n'
8364 lt_NL2SP='tr \r\n \100\100'
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
8377 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
8378 if ${lt_cv_to_host_file_cmd+:} false; then :
8379 $as_echo_n "(cached) " >&6
8384 *-*-mingw* ) # actually msys
8385 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
8388 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
8390 * ) # otherwise, assume *nix
8391 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
8397 *-*-mingw* ) # actually msys
8398 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
8401 lt_cv_to_host_file_cmd=func_convert_file_noop
8403 * ) # otherwise, assume *nix
8404 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
8408 * ) # unhandled hosts (and "normal" native builds)
8409 lt_cv_to_host_file_cmd=func_convert_file_noop
8415 to_host_file_cmd=$lt_cv_to_host_file_cmd
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
8417 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
8424 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
8425 if ${lt_cv_to_tool_file_cmd+:} false; then :
8426 $as_echo_n "(cached) " >&6
8428 #assume ordinary cross tools, or native build.
8429 lt_cv_to_tool_file_cmd=func_convert_file_noop
8433 *-*-mingw* ) # actually msys
8434 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
8442 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
8444 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
8451 $as_echo_n "checking for $LD option to reload object files... " >&6; }
8452 if ${lt_cv_ld_reload_flag+:} false; then :
8453 $as_echo_n "(cached) " >&6
8455 lt_cv_ld_reload_flag='-r'
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
8458 $as_echo "$lt_cv_ld_reload_flag" >&6; }
8459 reload_flag=$lt_cv_ld_reload_flag
8460 case $reload_flag in
8462 *) reload_flag=" $reload_flag" ;;
8464 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8466 cygwin* | mingw* | pw32* | cegcc*)
8467 if test "$GCC" != yes; then
8472 if test "$GCC" = yes; then
8473 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
8475 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8488 if test -n "$ac_tool_prefix"; then
8489 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8490 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8492 $as_echo_n "checking for $ac_word... " >&6; }
8493 if ${ac_cv_prog_OBJDUMP+:} false; then :
8494 $as_echo_n "(cached) " >&6
8496 if test -n "$OBJDUMP"; then
8497 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8503 test -z "$as_dir" && as_dir=.
8504 for ac_exec_ext in '' $ac_executable_extensions; do
8505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8506 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8516 OBJDUMP=$ac_cv_prog_OBJDUMP
8517 if test -n "$OBJDUMP"; then
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8519 $as_echo "$OBJDUMP" >&6; }
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8522 $as_echo "no" >&6; }
8527 if test -z "$ac_cv_prog_OBJDUMP"; then
8528 ac_ct_OBJDUMP=$OBJDUMP
8529 # Extract the first word of "objdump", so it can be a program name with args.
8530 set dummy objdump; ac_word=$2
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8532 $as_echo_n "checking for $ac_word... " >&6; }
8533 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8534 $as_echo_n "(cached) " >&6
8536 if test -n "$ac_ct_OBJDUMP"; then
8537 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8543 test -z "$as_dir" && as_dir=.
8544 for ac_exec_ext in '' $ac_executable_extensions; do
8545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8546 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8556 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8557 if test -n "$ac_ct_OBJDUMP"; then
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8559 $as_echo "$ac_ct_OBJDUMP" >&6; }
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8562 $as_echo "no" >&6; }
8565 if test "x$ac_ct_OBJDUMP" = x; then
8568 case $cross_compiling:$ac_tool_warned in
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8572 ac_tool_warned=yes ;;
8574 OBJDUMP=$ac_ct_OBJDUMP
8577 OBJDUMP="$ac_cv_prog_OBJDUMP"
8580 test -z "$OBJDUMP" && OBJDUMP=objdump
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8591 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
8592 if ${lt_cv_deplibs_check_method+:} false; then :
8593 $as_echo_n "(cached) " >&6
8595 lt_cv_file_magic_cmd='$MAGIC_CMD'
8596 lt_cv_file_magic_test_file=
8597 lt_cv_deplibs_check_method='unknown'
8598 # Need to set the preceding variable on all platforms that support
8599 # interlibrary dependencies.
8600 # 'none' -- dependencies not supported.
8601 # `unknown' -- same as none, but documents that we really don't know.
8602 # 'pass_all' -- all dependencies passed with no checks.
8603 # 'test_compile' -- check by making test program.
8604 # 'file_magic [[regex]]' -- check by looking for files in library path
8605 # which responds to the $file_magic_cmd with a given extended regex.
8606 # If you have `file' or equivalent on your system and you're not sure
8607 # whether `pass_all' will *always* work, you probably want this one.
8611 lt_cv_deplibs_check_method=pass_all
8615 lt_cv_deplibs_check_method=pass_all
8619 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8620 lt_cv_file_magic_cmd='/usr/bin/file -L'
8621 lt_cv_file_magic_test_file=/shlib/libc.so
8625 # func_win32_libid is a shell function defined in ltmain.sh
8626 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8627 lt_cv_file_magic_cmd='func_win32_libid'
8631 # Base MSYS/MinGW do not provide the 'file' command needed by
8632 # func_win32_libid shell function, so use a weaker test based on 'objdump',
8633 # unless we find 'file', for example because we are cross-compiling.
8634 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
8635 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
8636 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8637 lt_cv_file_magic_cmd='func_win32_libid'
8639 # Keep this pattern in sync with the one in func_win32_libid.
8640 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
8641 lt_cv_file_magic_cmd='$OBJDUMP -f'
8646 # use the weaker test based on 'objdump'. See mingw*.
8647 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8648 lt_cv_file_magic_cmd='$OBJDUMP -f'
8651 darwin* | rhapsody*)
8652 lt_cv_deplibs_check_method=pass_all
8655 freebsd* | dragonfly*)
8656 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8659 # Not sure whether the presence of OpenBSD here was a mistake.
8660 # Let's accept both of them until this is cleared up.
8661 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8662 lt_cv_file_magic_cmd=/usr/bin/file
8663 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8667 lt_cv_deplibs_check_method=pass_all
8672 lt_cv_deplibs_check_method=pass_all
8676 lt_cv_deplibs_check_method=pass_all
8679 hpux10.20* | hpux11*)
8680 lt_cv_file_magic_cmd=/usr/bin/file
8683 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8684 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8687 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]'
8688 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8691 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8692 lt_cv_file_magic_test_file=/usr/lib/libc.sl
8698 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8699 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8702 irix5* | irix6* | nonstopux*)
8704 *-32|*"-32 ") libmagic=32-bit;;
8705 *-n32|*"-n32 ") libmagic=N32;;
8706 *-64|*"-64 ") libmagic=64-bit;;
8707 *) libmagic=never-match;;
8709 lt_cv_deplibs_check_method=pass_all
8712 # This must be glibc/ELF.
8713 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8714 lt_cv_deplibs_check_method=pass_all
8718 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8719 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8721 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8726 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8727 lt_cv_file_magic_cmd=/usr/bin/file
8728 lt_cv_file_magic_test_file=/usr/lib/libnls.so
8732 lt_cv_deplibs_check_method=pass_all
8736 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8737 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8739 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8743 osf3* | osf4* | osf5*)
8744 lt_cv_deplibs_check_method=pass_all
8748 lt_cv_deplibs_check_method=pass_all
8752 lt_cv_deplibs_check_method=pass_all
8755 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8756 lt_cv_deplibs_check_method=pass_all
8760 case $host_vendor in
8762 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]'
8763 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8766 lt_cv_deplibs_check_method=pass_all
8769 lt_cv_file_magic_cmd='/bin/file'
8770 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8773 lt_cv_file_magic_cmd='/bin/file'
8774 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8775 lt_cv_file_magic_test_file=/lib/libc.so
8778 lt_cv_deplibs_check_method=pass_all
8781 lt_cv_deplibs_check_method=pass_all
8787 lt_cv_deplibs_check_method=pass_all
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8793 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8797 if test "$build" = "$host"; then
8800 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
8803 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
8809 file_magic_cmd=$lt_cv_file_magic_cmd
8810 deplibs_check_method=$lt_cv_deplibs_check_method
8811 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8834 if test -n "$ac_tool_prefix"; then
8835 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8836 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8838 $as_echo_n "checking for $ac_word... " >&6; }
8839 if ${ac_cv_prog_DLLTOOL+:} false; then :
8840 $as_echo_n "(cached) " >&6
8842 if test -n "$DLLTOOL"; then
8843 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8849 test -z "$as_dir" && as_dir=.
8850 for ac_exec_ext in '' $ac_executable_extensions; do
8851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8852 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8862 DLLTOOL=$ac_cv_prog_DLLTOOL
8863 if test -n "$DLLTOOL"; then
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8865 $as_echo "$DLLTOOL" >&6; }
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8868 $as_echo "no" >&6; }
8873 if test -z "$ac_cv_prog_DLLTOOL"; then
8874 ac_ct_DLLTOOL=$DLLTOOL
8875 # Extract the first word of "dlltool", so it can be a program name with args.
8876 set dummy dlltool; ac_word=$2
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8878 $as_echo_n "checking for $ac_word... " >&6; }
8879 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8880 $as_echo_n "(cached) " >&6
8882 if test -n "$ac_ct_DLLTOOL"; then
8883 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8889 test -z "$as_dir" && as_dir=.
8890 for ac_exec_ext in '' $ac_executable_extensions; do
8891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8892 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8902 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8903 if test -n "$ac_ct_DLLTOOL"; then
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8905 $as_echo "$ac_ct_DLLTOOL" >&6; }
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8908 $as_echo "no" >&6; }
8911 if test "x$ac_ct_DLLTOOL" = x; then
8914 case $cross_compiling:$ac_tool_warned in
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8917 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8918 ac_tool_warned=yes ;;
8920 DLLTOOL=$ac_ct_DLLTOOL
8923 DLLTOOL="$ac_cv_prog_DLLTOOL"
8926 test -z "$DLLTOOL" && DLLTOOL=dlltool
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8938 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
8939 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
8940 $as_echo_n "(cached) " >&6
8942 lt_cv_sharedlib_from_linklib_cmd='unknown'
8945 cygwin* | mingw* | pw32* | cegcc*)
8946 # two different shell functions defined in ltmain.sh
8947 # decide which to use based on capabilities of $DLLTOOL
8948 case `$DLLTOOL --help 2>&1` in
8949 *--identify-strict*)
8950 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
8953 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
8958 # fallback: assume linklib IS sharedlib
8959 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8965 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
8966 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
8967 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
8975 if test -n "$ac_tool_prefix"; then
8978 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8979 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8981 $as_echo_n "checking for $ac_word... " >&6; }
8982 if ${ac_cv_prog_AR+:} false; then :
8983 $as_echo_n "(cached) " >&6
8985 if test -n "$AR"; then
8986 ac_cv_prog_AR="$AR" # Let the user override the test.
8988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8992 test -z "$as_dir" && as_dir=.
8993 for ac_exec_ext in '' $ac_executable_extensions; do
8994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8995 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
8996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9006 if test -n "$AR"; then
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
9008 $as_echo "$AR" >&6; }
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9011 $as_echo "no" >&6; }
9015 test -n "$AR" && break
9018 if test -z "$AR"; then
9022 # Extract the first word of "$ac_prog", so it can be a program name with args.
9023 set dummy $ac_prog; ac_word=$2
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9025 $as_echo_n "checking for $ac_word... " >&6; }
9026 if ${ac_cv_prog_ac_ct_AR+:} false; then :
9027 $as_echo_n "(cached) " >&6
9029 if test -n "$ac_ct_AR"; then
9030 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9036 test -z "$as_dir" && as_dir=.
9037 for ac_exec_ext in '' $ac_executable_extensions; do
9038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9039 ac_cv_prog_ac_ct_AR="$ac_prog"
9040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9049 ac_ct_AR=$ac_cv_prog_ac_ct_AR
9050 if test -n "$ac_ct_AR"; then
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
9052 $as_echo "$ac_ct_AR" >&6; }
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9055 $as_echo "no" >&6; }
9059 test -n "$ac_ct_AR" && break
9062 if test "x$ac_ct_AR" = x; then
9065 case $cross_compiling:$ac_tool_warned in
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9069 ac_tool_warned=yes ;;
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
9089 $as_echo_n "checking for archiver @FILE support... " >&6; }
9090 if ${lt_cv_ar_at_file+:} false; then :
9091 $as_echo_n "(cached) " >&6
9094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9095 /* end confdefs.h. */
9105 if ac_fn_c_try_compile "$LINENO"; then :
9106 echo conftest.$ac_objext > conftest.lst
9107 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
9108 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9109 (eval $lt_ar_try) 2>&5
9111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9112 test $ac_status = 0; }
9113 if test "$ac_status" -eq 0; then
9114 # Ensure the archiver fails upon bogus file names.
9115 rm -f conftest.$ac_objext libconftest.a
9116 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9117 (eval $lt_ar_try) 2>&5
9119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9120 test $ac_status = 0; }
9121 if test "$ac_status" -ne 0; then
9125 rm -f conftest.* libconftest.a
9128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
9132 $as_echo "$lt_cv_ar_at_file" >&6; }
9134 if test "x$lt_cv_ar_at_file" = xno; then
9137 archiver_list_spec=$lt_cv_ar_at_file
9146 if test -n "$ac_tool_prefix"; then
9147 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9148 set dummy ${ac_tool_prefix}strip; ac_word=$2
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9150 $as_echo_n "checking for $ac_word... " >&6; }
9151 if ${ac_cv_prog_STRIP+:} false; then :
9152 $as_echo_n "(cached) " >&6
9154 if test -n "$STRIP"; then
9155 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9161 test -z "$as_dir" && as_dir=.
9162 for ac_exec_ext in '' $ac_executable_extensions; do
9163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9164 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
9165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9174 STRIP=$ac_cv_prog_STRIP
9175 if test -n "$STRIP"; then
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9177 $as_echo "$STRIP" >&6; }
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9180 $as_echo "no" >&6; }
9185 if test -z "$ac_cv_prog_STRIP"; then
9187 # Extract the first word of "strip", so it can be a program name with args.
9188 set dummy strip; ac_word=$2
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9190 $as_echo_n "checking for $ac_word... " >&6; }
9191 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
9192 $as_echo_n "(cached) " >&6
9194 if test -n "$ac_ct_STRIP"; then
9195 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
9197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9201 test -z "$as_dir" && as_dir=.
9202 for ac_exec_ext in '' $ac_executable_extensions; do
9203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9204 ac_cv_prog_ac_ct_STRIP="strip"
9205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9214 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
9215 if test -n "$ac_ct_STRIP"; then
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
9217 $as_echo "$ac_ct_STRIP" >&6; }
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9220 $as_echo "no" >&6; }
9223 if test "x$ac_ct_STRIP" = x; then
9226 case $cross_compiling:$ac_tool_warned in
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9229 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9230 ac_tool_warned=yes ;;
9235 STRIP="$ac_cv_prog_STRIP"
9238 test -z "$STRIP" && STRIP=:
9245 if test -n "$ac_tool_prefix"; then
9246 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9247 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9249 $as_echo_n "checking for $ac_word... " >&6; }
9250 if ${ac_cv_prog_RANLIB+:} false; then :
9251 $as_echo_n "(cached) " >&6
9253 if test -n "$RANLIB"; then
9254 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9260 test -z "$as_dir" && as_dir=.
9261 for ac_exec_ext in '' $ac_executable_extensions; do
9262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9263 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
9264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9273 RANLIB=$ac_cv_prog_RANLIB
9274 if test -n "$RANLIB"; then
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
9276 $as_echo "$RANLIB" >&6; }
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9279 $as_echo "no" >&6; }
9284 if test -z "$ac_cv_prog_RANLIB"; then
9285 ac_ct_RANLIB=$RANLIB
9286 # Extract the first word of "ranlib", so it can be a program name with args.
9287 set dummy ranlib; ac_word=$2
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9289 $as_echo_n "checking for $ac_word... " >&6; }
9290 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
9291 $as_echo_n "(cached) " >&6
9293 if test -n "$ac_ct_RANLIB"; then
9294 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
9296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9300 test -z "$as_dir" && as_dir=.
9301 for ac_exec_ext in '' $ac_executable_extensions; do
9302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9303 ac_cv_prog_ac_ct_RANLIB="ranlib"
9304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9313 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9314 if test -n "$ac_ct_RANLIB"; then
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
9316 $as_echo "$ac_ct_RANLIB" >&6; }
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9319 $as_echo "no" >&6; }
9322 if test "x$ac_ct_RANLIB" = x; then
9325 case $cross_compiling:$ac_tool_warned in
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9328 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9329 ac_tool_warned=yes ;;
9331 RANLIB=$ac_ct_RANLIB
9334 RANLIB="$ac_cv_prog_RANLIB"
9337 test -z "$RANLIB" && RANLIB=:
9344 # Determine commands to create old-style static archives.
9345 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
9346 old_postinstall_cmds='chmod 644 $oldlib'
9347 old_postuninstall_cmds=
9349 if test -n "$RANLIB"; then
9352 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
9355 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
9358 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
9363 lock_old_archive_extraction=yes ;;
9365 lock_old_archive_extraction=no ;;
9406 # If no C compiler was specified, use CC.
9409 # If no C compiler flags were specified, use CFLAGS.
9410 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9412 # Allow CC to be a program name with arguments.
9416 # Check for command to grab the raw symbol name followed by C symbol from nm.
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
9418 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
9419 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
9420 $as_echo_n "(cached) " >&6
9423 # These are sane defaults that work on at least a few old systems.
9424 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9426 # Character class describing NM global symbol codes.
9427 symcode='[BCDEGRST]'
9429 # Regexp to match symbols that can be accessed directly from C.
9430 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9432 # Define system-specific variables.
9437 cygwin* | mingw* | pw32* | cegcc*)
9438 symcode='[ABCDGISTW]'
9441 if test "$host_cpu" = ia64; then
9442 symcode='[ABCDEGRST]'
9446 symcode='[BCDEGRST]'
9449 symcode='[BCDEGQRST]'
9460 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9468 # If we're using GNU nm, then use its standard symbol codes.
9469 case `$NM -V 2>&1` in
9470 *GNU* | *'with BFD'*)
9471 symcode='[ABCDGIRSTW]' ;;
9474 # Transform an extracted symbol line into a proper C declaration.
9475 # Some systems (esp. on ia64) link data and code symbols differently,
9476 # so use this general approach.
9477 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9479 # Transform an extracted symbol line into symbol name and symbol address
9480 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
9481 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'"
9483 # Handle CRLF in mingw tool chain
9487 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9491 # Try without a prefix underscore, then with it.
9492 for ac_symprfx in "" "_"; do
9494 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9495 symxfrm="\\1 $ac_symprfx\\2 \\2"
9497 # Write the raw and C identifiers.
9498 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9499 # Fake it for dumpbin and say T for any non-static function
9500 # and D for any global variable.
9501 # Also find C++ and __fastcall symbols from MSVC++,
9502 # which start with @ or ?.
9503 lt_cv_sys_global_symbol_pipe="$AWK '"\
9504 " {last_section=section; section=\$ 3};"\
9505 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
9506 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
9507 " \$ 0!~/External *\|/{next};"\
9508 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
9509 " {if(hide[section]) next};"\
9510 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
9511 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
9512 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
9513 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
9514 " ' prfx=^$ac_symprfx"
9516 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9518 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
9520 # Check to see that the pipe works correctly.
9524 cat > conftest.$ac_ext <<_LT_EOF
9529 void nm_test_func(void);
9530 void nm_test_func(void){}
9534 int main(){nm_test_var='a';nm_test_func();return(0);}
9537 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9538 (eval $ac_compile) 2>&5
9540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9541 test $ac_status = 0; }; then
9542 # Now try to grab the symbols.
9544 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
9545 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
9547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9548 test $ac_status = 0; } && test -s "$nlist"; then
9549 # Try sorting and uniquifying the output.
9550 if sort "$nlist" | uniq > "$nlist"T; then
9551 mv -f "$nlist"T "$nlist"
9556 # Make sure that we snagged all the symbols we need.
9557 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
9558 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
9559 cat <<_LT_EOF > conftest.$ac_ext
9560 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
9561 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
9562 /* DATA imports from DLLs on WIN32 con't be const, because runtime
9563 relocations are performed -- see ld's documentation on pseudo-relocs. */
9564 # define LT_DLSYM_CONST
9565 #elif defined(__osf__)
9566 /* This system does not cope well with relocations in const data. */
9567 # define LT_DLSYM_CONST
9569 # define LT_DLSYM_CONST const
9577 # Now generate the symbol file.
9578 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9580 cat <<_LT_EOF >> conftest.$ac_ext
9582 /* The mapping between symbol names and symbols. */
9583 LT_DLSYM_CONST struct {
9587 lt__PROGRAM__LTX_preloaded_symbols[] =
9589 { "@PROGRAM@", (void *) 0 },
9591 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
9592 cat <<\_LT_EOF >> conftest.$ac_ext
9596 /* This works around a problem in FreeBSD linker */
9597 #ifdef FREEBSD_WORKAROUND
9598 static const void *lt_preloaded_setup() {
9599 return lt__PROGRAM__LTX_preloaded_symbols;
9607 # Now try linking the two files.
9608 mv conftest.$ac_objext conftstm.$ac_objext
9609 lt_globsym_save_LIBS=$LIBS
9610 lt_globsym_save_CFLAGS=$CFLAGS
9611 LIBS="conftstm.$ac_objext"
9612 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9613 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9614 (eval $ac_link) 2>&5
9616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9617 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
9620 LIBS=$lt_globsym_save_LIBS
9621 CFLAGS=$lt_globsym_save_CFLAGS
9623 echo "cannot find nm_test_func in $nlist" >&5
9626 echo "cannot find nm_test_var in $nlist" >&5
9629 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9632 echo "$progname: failed program was:" >&5
9633 cat conftest.$ac_ext >&5
9635 rm -rf conftest* conftst*
9637 # Do not use the global_symbol_pipe unless it works.
9638 if test "$pipe_works" = yes; then
9641 lt_cv_sys_global_symbol_pipe=
9647 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9648 lt_cv_sys_global_symbol_to_cdecl=
9650 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
9652 $as_echo "failed" >&6; }
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9655 $as_echo "ok" >&6; }
9658 # Response file support.
9659 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9660 nm_file_list_spec='@'
9661 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
9662 nm_file_list_spec='@'
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9692 $as_echo_n "checking for sysroot... " >&6; }
9694 # Check whether --with-sysroot was given.
9695 if test "${with_sysroot+set}" = set; then :
9696 withval=$with_sysroot;
9703 case ${with_sysroot} in #(
9705 if test "$GCC" = yes; then
9706 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
9710 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
9716 $as_echo "${with_sysroot}" >&6; }
9717 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9722 $as_echo "${lt_sysroot:-no}" >&6; }
9728 # Check whether --enable-libtool-lock was given.
9729 if test "${enable_libtool_lock+set}" = set; then :
9730 enableval=$enable_libtool_lock;
9733 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
9735 # Some flags need to be propagated to the compiler or linker for good
9739 # Find out which ABI we are using.
9740 echo 'int i;' > conftest.$ac_ext
9741 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9742 (eval $ac_compile) 2>&5
9744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9745 test $ac_status = 0; }; then
9746 case `/usr/bin/file conftest.$ac_objext` in
9758 # Find out which ABI we are using.
9759 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
9760 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9761 (eval $ac_compile) 2>&5
9763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9764 test $ac_status = 0; }; then
9765 if test "$lt_cv_prog_gnu_ld" = yes; then
9766 case `/usr/bin/file conftest.$ac_objext` in
9768 LD="${LD-ld} -melf32bsmip"
9771 LD="${LD-ld} -melf32bmipn32"
9774 LD="${LD-ld} -melf64bmip"
9778 case `/usr/bin/file conftest.$ac_objext` in
9794 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
9795 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
9796 # Find out which ABI we are using.
9797 echo 'int i;' > conftest.$ac_ext
9798 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9799 (eval $ac_compile) 2>&5
9801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9802 test $ac_status = 0; }; then
9803 case `/usr/bin/file conftest.o` in
9806 x86_64-*kfreebsd*-gnu)
9807 LD="${LD-ld} -m elf_i386_fbsd"
9810 LD="${LD-ld} -m elf_i386"
9812 ppc64-*linux*|powerpc64-*linux*)
9813 LD="${LD-ld} -m elf32ppclinux"
9816 LD="${LD-ld} -m elf_s390"
9819 LD="${LD-ld} -m elf32_sparc"
9825 x86_64-*kfreebsd*-gnu)
9826 LD="${LD-ld} -m elf_x86_64_fbsd"
9829 LD="${LD-ld} -m elf_x86_64"
9831 ppc*-*linux*|powerpc*-*linux*)
9832 LD="${LD-ld} -m elf64ppc"
9834 s390*-*linux*|s390*-*tpf*)
9835 LD="${LD-ld} -m elf64_s390"
9838 LD="${LD-ld} -m elf64_sparc"
9848 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9849 SAVE_CFLAGS="$CFLAGS"
9850 CFLAGS="$CFLAGS -belf"
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9852 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9853 if ${lt_cv_cc_needs_belf+:} false; then :
9854 $as_echo_n "(cached) " >&6
9857 ac_cpp='$CPP $CPPFLAGS'
9858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9862 if test x$ac_no_link = xyes; then
9863 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
9865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9866 /* end confdefs.h. */
9876 if ac_fn_c_try_link "$LINENO"; then :
9877 lt_cv_cc_needs_belf=yes
9879 lt_cv_cc_needs_belf=no
9881 rm -f core conftest.err conftest.$ac_objext \
9882 conftest$ac_exeext conftest.$ac_ext
9884 ac_cpp='$CPP $CPPFLAGS'
9885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9891 $as_echo "$lt_cv_cc_needs_belf" >&6; }
9892 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
9893 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9894 CFLAGS="$SAVE_CFLAGS"
9898 # Find out which ABI we are using.
9899 echo 'int i;' > conftest.$ac_ext
9900 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9901 (eval $ac_compile) 2>&5
9903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9904 test $ac_status = 0; }; then
9905 case `/usr/bin/file conftest.o` in
9907 case $lt_cv_prog_gnu_ld in
9911 LD="${LD-ld} -m elf_x86_64"
9914 LD="${LD-ld} -m elf64_sparc"
9917 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
9918 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
9923 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9935 need_locks="$enable_libtool_lock"
9937 if test -n "$ac_tool_prefix"; then
9938 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
9939 set dummy ${ac_tool_prefix}mt; ac_word=$2
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9941 $as_echo_n "checking for $ac_word... " >&6; }
9942 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
9943 $as_echo_n "(cached) " >&6
9945 if test -n "$MANIFEST_TOOL"; then
9946 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
9948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9952 test -z "$as_dir" && as_dir=.
9953 for ac_exec_ext in '' $ac_executable_extensions; do
9954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9955 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
9956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9965 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
9966 if test -n "$MANIFEST_TOOL"; then
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
9968 $as_echo "$MANIFEST_TOOL" >&6; }
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9971 $as_echo "no" >&6; }
9976 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
9977 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
9978 # Extract the first word of "mt", so it can be a program name with args.
9979 set dummy mt; ac_word=$2
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9981 $as_echo_n "checking for $ac_word... " >&6; }
9982 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
9983 $as_echo_n "(cached) " >&6
9985 if test -n "$ac_ct_MANIFEST_TOOL"; then
9986 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
9988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9992 test -z "$as_dir" && as_dir=.
9993 for ac_exec_ext in '' $ac_executable_extensions; do
9994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9995 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
9996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10005 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
10006 if test -n "$ac_ct_MANIFEST_TOOL"; then
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
10008 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10011 $as_echo "no" >&6; }
10014 if test "x$ac_ct_MANIFEST_TOOL" = x; then
10017 case $cross_compiling:$ac_tool_warned in
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10020 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10021 ac_tool_warned=yes ;;
10023 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
10026 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
10029 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
10031 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
10032 if ${lt_cv_path_mainfest_tool+:} false; then :
10033 $as_echo_n "(cached) " >&6
10035 lt_cv_path_mainfest_tool=no
10036 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
10037 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
10038 cat conftest.err >&5
10039 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
10040 lt_cv_path_mainfest_tool=yes
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
10045 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
10046 if test "x$lt_cv_path_mainfest_tool" != xyes; then
10056 rhapsody* | darwin*)
10057 if test -n "$ac_tool_prefix"; then
10058 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
10059 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10061 $as_echo_n "checking for $ac_word... " >&6; }
10062 if ${ac_cv_prog_DSYMUTIL+:} false; then :
10063 $as_echo_n "(cached) " >&6
10065 if test -n "$DSYMUTIL"; then
10066 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
10068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10069 for as_dir in $PATH
10072 test -z "$as_dir" && as_dir=.
10073 for ac_exec_ext in '' $ac_executable_extensions; do
10074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10075 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
10076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10085 DSYMUTIL=$ac_cv_prog_DSYMUTIL
10086 if test -n "$DSYMUTIL"; then
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
10088 $as_echo "$DSYMUTIL" >&6; }
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10091 $as_echo "no" >&6; }
10096 if test -z "$ac_cv_prog_DSYMUTIL"; then
10097 ac_ct_DSYMUTIL=$DSYMUTIL
10098 # Extract the first word of "dsymutil", so it can be a program name with args.
10099 set dummy dsymutil; ac_word=$2
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10101 $as_echo_n "checking for $ac_word... " >&6; }
10102 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
10103 $as_echo_n "(cached) " >&6
10105 if test -n "$ac_ct_DSYMUTIL"; then
10106 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
10108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10109 for as_dir in $PATH
10112 test -z "$as_dir" && as_dir=.
10113 for ac_exec_ext in '' $ac_executable_extensions; do
10114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10115 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
10116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10125 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
10126 if test -n "$ac_ct_DSYMUTIL"; then
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
10128 $as_echo "$ac_ct_DSYMUTIL" >&6; }
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10131 $as_echo "no" >&6; }
10134 if test "x$ac_ct_DSYMUTIL" = x; then
10137 case $cross_compiling:$ac_tool_warned in
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10141 ac_tool_warned=yes ;;
10143 DSYMUTIL=$ac_ct_DSYMUTIL
10146 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
10149 if test -n "$ac_tool_prefix"; then
10150 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
10151 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10153 $as_echo_n "checking for $ac_word... " >&6; }
10154 if ${ac_cv_prog_NMEDIT+:} false; then :
10155 $as_echo_n "(cached) " >&6
10157 if test -n "$NMEDIT"; then
10158 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
10160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10161 for as_dir in $PATH
10164 test -z "$as_dir" && as_dir=.
10165 for ac_exec_ext in '' $ac_executable_extensions; do
10166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10167 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
10168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10177 NMEDIT=$ac_cv_prog_NMEDIT
10178 if test -n "$NMEDIT"; then
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
10180 $as_echo "$NMEDIT" >&6; }
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10183 $as_echo "no" >&6; }
10188 if test -z "$ac_cv_prog_NMEDIT"; then
10189 ac_ct_NMEDIT=$NMEDIT
10190 # Extract the first word of "nmedit", so it can be a program name with args.
10191 set dummy nmedit; ac_word=$2
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10193 $as_echo_n "checking for $ac_word... " >&6; }
10194 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
10195 $as_echo_n "(cached) " >&6
10197 if test -n "$ac_ct_NMEDIT"; then
10198 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
10200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10201 for as_dir in $PATH
10204 test -z "$as_dir" && as_dir=.
10205 for ac_exec_ext in '' $ac_executable_extensions; do
10206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10207 ac_cv_prog_ac_ct_NMEDIT="nmedit"
10208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10217 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
10218 if test -n "$ac_ct_NMEDIT"; then
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
10220 $as_echo "$ac_ct_NMEDIT" >&6; }
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10223 $as_echo "no" >&6; }
10226 if test "x$ac_ct_NMEDIT" = x; then
10229 case $cross_compiling:$ac_tool_warned in
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10232 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10233 ac_tool_warned=yes ;;
10235 NMEDIT=$ac_ct_NMEDIT
10238 NMEDIT="$ac_cv_prog_NMEDIT"
10241 if test -n "$ac_tool_prefix"; then
10242 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
10243 set dummy ${ac_tool_prefix}lipo; ac_word=$2
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10245 $as_echo_n "checking for $ac_word... " >&6; }
10246 if ${ac_cv_prog_LIPO+:} false; then :
10247 $as_echo_n "(cached) " >&6
10249 if test -n "$LIPO"; then
10250 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
10252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10253 for as_dir in $PATH
10256 test -z "$as_dir" && as_dir=.
10257 for ac_exec_ext in '' $ac_executable_extensions; do
10258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10259 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
10260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10269 LIPO=$ac_cv_prog_LIPO
10270 if test -n "$LIPO"; then
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
10272 $as_echo "$LIPO" >&6; }
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10275 $as_echo "no" >&6; }
10280 if test -z "$ac_cv_prog_LIPO"; then
10282 # Extract the first word of "lipo", so it can be a program name with args.
10283 set dummy lipo; ac_word=$2
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10285 $as_echo_n "checking for $ac_word... " >&6; }
10286 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
10287 $as_echo_n "(cached) " >&6
10289 if test -n "$ac_ct_LIPO"; then
10290 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
10292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10293 for as_dir in $PATH
10296 test -z "$as_dir" && as_dir=.
10297 for ac_exec_ext in '' $ac_executable_extensions; do
10298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10299 ac_cv_prog_ac_ct_LIPO="lipo"
10300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10309 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
10310 if test -n "$ac_ct_LIPO"; then
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
10312 $as_echo "$ac_ct_LIPO" >&6; }
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10315 $as_echo "no" >&6; }
10318 if test "x$ac_ct_LIPO" = x; then
10321 case $cross_compiling:$ac_tool_warned in
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10324 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10325 ac_tool_warned=yes ;;
10330 LIPO="$ac_cv_prog_LIPO"
10333 if test -n "$ac_tool_prefix"; then
10334 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
10335 set dummy ${ac_tool_prefix}otool; ac_word=$2
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10337 $as_echo_n "checking for $ac_word... " >&6; }
10338 if ${ac_cv_prog_OTOOL+:} false; then :
10339 $as_echo_n "(cached) " >&6
10341 if test -n "$OTOOL"; then
10342 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
10344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10345 for as_dir in $PATH
10348 test -z "$as_dir" && as_dir=.
10349 for ac_exec_ext in '' $ac_executable_extensions; do
10350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10351 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
10352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10361 OTOOL=$ac_cv_prog_OTOOL
10362 if test -n "$OTOOL"; then
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10364 $as_echo "$OTOOL" >&6; }
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10367 $as_echo "no" >&6; }
10372 if test -z "$ac_cv_prog_OTOOL"; then
10374 # Extract the first word of "otool", so it can be a program name with args.
10375 set dummy otool; ac_word=$2
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10377 $as_echo_n "checking for $ac_word... " >&6; }
10378 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
10379 $as_echo_n "(cached) " >&6
10381 if test -n "$ac_ct_OTOOL"; then
10382 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
10384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10385 for as_dir in $PATH
10388 test -z "$as_dir" && as_dir=.
10389 for ac_exec_ext in '' $ac_executable_extensions; do
10390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10391 ac_cv_prog_ac_ct_OTOOL="otool"
10392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10401 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
10402 if test -n "$ac_ct_OTOOL"; then
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
10404 $as_echo "$ac_ct_OTOOL" >&6; }
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10407 $as_echo "no" >&6; }
10410 if test "x$ac_ct_OTOOL" = x; then
10413 case $cross_compiling:$ac_tool_warned in
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10416 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10417 ac_tool_warned=yes ;;
10422 OTOOL="$ac_cv_prog_OTOOL"
10425 if test -n "$ac_tool_prefix"; then
10426 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
10427 set dummy ${ac_tool_prefix}otool64; ac_word=$2
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10429 $as_echo_n "checking for $ac_word... " >&6; }
10430 if ${ac_cv_prog_OTOOL64+:} false; then :
10431 $as_echo_n "(cached) " >&6
10433 if test -n "$OTOOL64"; then
10434 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
10436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10437 for as_dir in $PATH
10440 test -z "$as_dir" && as_dir=.
10441 for ac_exec_ext in '' $ac_executable_extensions; do
10442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10443 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
10444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10453 OTOOL64=$ac_cv_prog_OTOOL64
10454 if test -n "$OTOOL64"; then
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
10456 $as_echo "$OTOOL64" >&6; }
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10459 $as_echo "no" >&6; }
10464 if test -z "$ac_cv_prog_OTOOL64"; then
10465 ac_ct_OTOOL64=$OTOOL64
10466 # Extract the first word of "otool64", so it can be a program name with args.
10467 set dummy otool64; ac_word=$2
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10469 $as_echo_n "checking for $ac_word... " >&6; }
10470 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
10471 $as_echo_n "(cached) " >&6
10473 if test -n "$ac_ct_OTOOL64"; then
10474 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
10476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10477 for as_dir in $PATH
10480 test -z "$as_dir" && as_dir=.
10481 for ac_exec_ext in '' $ac_executable_extensions; do
10482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10483 ac_cv_prog_ac_ct_OTOOL64="otool64"
10484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10493 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
10494 if test -n "$ac_ct_OTOOL64"; then
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
10496 $as_echo "$ac_ct_OTOOL64" >&6; }
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10499 $as_echo "no" >&6; }
10502 if test "x$ac_ct_OTOOL64" = x; then
10505 case $cross_compiling:$ac_tool_warned in
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10509 ac_tool_warned=yes ;;
10511 OTOOL64=$ac_ct_OTOOL64
10514 OTOOL64="$ac_cv_prog_OTOOL64"
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
10544 $as_echo_n "checking for -single_module linker flag... " >&6; }
10545 if ${lt_cv_apple_cc_single_mod+:} false; then :
10546 $as_echo_n "(cached) " >&6
10548 lt_cv_apple_cc_single_mod=no
10549 if test -z "${LT_MULTI_MODULE}"; then
10550 # By default we will add the -single_module flag. You can override
10551 # by either setting the environment variable LT_MULTI_MODULE
10552 # non-empty at configure time, or by adding -multi_module to the
10554 rm -rf libconftest.dylib*
10555 echo "int foo(void){return 1;}" > conftest.c
10556 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10557 -dynamiclib -Wl,-single_module conftest.c" >&5
10558 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10559 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
10561 # If there is a non-empty error log, and "single_module"
10562 # appears in it, assume the flag caused a linker warning
10563 if test -s conftest.err && $GREP single_module conftest.err; then
10564 cat conftest.err >&5
10565 # Otherwise, if the output was created with a 0 exit code from
10566 # the compiler, it worked.
10567 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
10568 lt_cv_apple_cc_single_mod=yes
10570 cat conftest.err >&5
10572 rm -rf libconftest.dylib*
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
10577 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
10580 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
10581 if ${lt_cv_ld_exported_symbols_list+:} false; then :
10582 $as_echo_n "(cached) " >&6
10584 lt_cv_ld_exported_symbols_list=no
10585 save_LDFLAGS=$LDFLAGS
10586 echo "_main" > conftest.sym
10587 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10588 if test x$ac_no_link = xyes; then
10589 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
10591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10592 /* end confdefs.h. */
10602 if ac_fn_c_try_link "$LINENO"; then :
10603 lt_cv_ld_exported_symbols_list=yes
10605 lt_cv_ld_exported_symbols_list=no
10607 rm -f core conftest.err conftest.$ac_objext \
10608 conftest$ac_exeext conftest.$ac_ext
10609 LDFLAGS="$save_LDFLAGS"
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
10613 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
10616 $as_echo_n "checking for -force_load linker flag... " >&6; }
10617 if ${lt_cv_ld_force_load+:} false; then :
10618 $as_echo_n "(cached) " >&6
10620 lt_cv_ld_force_load=no
10621 cat > conftest.c << _LT_EOF
10622 int forced_loaded() { return 2;}
10624 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
10625 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
10626 echo "$AR cru libconftest.a conftest.o" >&5
10627 $AR cru libconftest.a conftest.o 2>&5
10628 echo "$RANLIB libconftest.a" >&5
10629 $RANLIB libconftest.a 2>&5
10630 cat > conftest.c << _LT_EOF
10631 int main() { return 0;}
10633 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
10634 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
10636 if test -s conftest.err && $GREP force_load conftest.err; then
10637 cat conftest.err >&5
10638 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
10639 lt_cv_ld_force_load=yes
10641 cat conftest.err >&5
10643 rm -f conftest.err libconftest.a conftest conftest.c
10644 rm -rf conftest.dSYM
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
10648 $as_echo "$lt_cv_ld_force_load" >&6; }
10650 rhapsody* | darwin1.[012])
10651 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
10653 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10654 darwin*) # darwin 5.x on
10655 # if running on 10.5 or later, the deployment target defaults
10656 # to the OS version, if on x86, and 10.4, the deployment
10657 # target defaults to 10.4. Don't you love it?
10658 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10659 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
10660 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10662 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10664 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10668 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
10669 _lt_dar_single_mod='$single_module'
10671 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
10672 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
10674 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
10676 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
10677 _lt_dsymutil='~$DSYMUTIL $lib || :'
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
10686 $as_echo_n "checking for ANSI C header files... " >&6; }
10687 if ${ac_cv_header_stdc+:} false; then :
10688 $as_echo_n "(cached) " >&6
10690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10691 /* end confdefs.h. */
10692 #include <stdlib.h>
10693 #include <stdarg.h>
10694 #include <string.h>
10705 if ac_fn_c_try_compile "$LINENO"; then :
10706 ac_cv_header_stdc=yes
10708 ac_cv_header_stdc=no
10710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10712 if test $ac_cv_header_stdc = yes; then
10713 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10715 /* end confdefs.h. */
10716 #include <string.h>
10719 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10720 $EGREP "memchr" >/dev/null 2>&1; then :
10723 ac_cv_header_stdc=no
10729 if test $ac_cv_header_stdc = yes; then
10730 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10732 /* end confdefs.h. */
10733 #include <stdlib.h>
10736 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10737 $EGREP "free" >/dev/null 2>&1; then :
10740 ac_cv_header_stdc=no
10746 if test $ac_cv_header_stdc = yes; then
10747 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10748 if test "$cross_compiling" = yes; then :
10751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10752 /* end confdefs.h. */
10754 #include <stdlib.h>
10755 #if ((' ' & 0x0FF) == 0x020)
10756 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10757 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10759 # define ISLOWER(c) \
10760 (('a' <= (c) && (c) <= 'i') \
10761 || ('j' <= (c) && (c) <= 'r') \
10762 || ('s' <= (c) && (c) <= 'z'))
10763 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10766 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10771 for (i = 0; i < 256; i++)
10772 if (XOR (islower (i), ISLOWER (i))
10773 || toupper (i) != TOUPPER (i))
10778 if ac_fn_c_try_run "$LINENO"; then :
10781 ac_cv_header_stdc=no
10783 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10784 conftest.$ac_objext conftest.beam conftest.$ac_ext
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
10790 $as_echo "$ac_cv_header_stdc" >&6; }
10791 if test $ac_cv_header_stdc = yes; then
10793 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
10797 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
10798 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
10799 inttypes.h stdint.h unistd.h
10801 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10802 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
10804 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10805 cat >>confdefs.h <<_ACEOF
10806 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10814 for ac_header in dlfcn.h
10816 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10818 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
10819 cat >>confdefs.h <<_ACEOF
10820 #define HAVE_DLFCN_H 1
10829 func_stripname_cnf ()
10832 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
10833 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
10835 } # func_stripname_cnf
10848 enable_win32_dll=no
10851 # Check whether --enable-shared was given.
10852 if test "${enable_shared+set}" = set; then :
10853 enableval=$enable_shared; p=${PACKAGE-default}
10855 yes) enable_shared=yes ;;
10856 no) enable_shared=no ;;
10859 # Look at the argument we got. We use all the common list separators.
10860 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10861 for pkg in $enableval; do
10863 if test "X$pkg" = "X$p"; then
10882 # Check whether --enable-static was given.
10883 if test "${enable_static+set}" = set; then :
10884 enableval=$enable_static; p=${PACKAGE-default}
10886 yes) enable_static=yes ;;
10887 no) enable_static=no ;;
10890 # Look at the argument we got. We use all the common list separators.
10891 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10892 for pkg in $enableval; do
10894 if test "X$pkg" = "X$p"; then
10914 # Check whether --with-pic was given.
10915 if test "${with_pic+set}" = set; then :
10916 withval=$with_pic; lt_p=${PACKAGE-default}
10918 yes|no) pic_mode=$withval ;;
10921 # Look at the argument we got. We use all the common list separators.
10922 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10923 for lt_pkg in $withval; do
10925 if test "X$lt_pkg" = "X$lt_p"; then
10937 test -z "$pic_mode" && pic_mode=default
10945 # Check whether --enable-fast-install was given.
10946 if test "${enable_fast_install+set}" = set; then :
10947 enableval=$enable_fast_install; p=${PACKAGE-default}
10949 yes) enable_fast_install=yes ;;
10950 no) enable_fast_install=no ;;
10952 enable_fast_install=no
10953 # Look at the argument we got. We use all the common list separators.
10954 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10955 for pkg in $enableval; do
10957 if test "X$pkg" = "X$p"; then
10958 enable_fast_install=yes
10965 enable_fast_install=yes
10978 # This can be used to rebuild libtool when needed
10979 LIBTOOL_DEPS="$ltmain"
10981 # Always use our own libtool.
10982 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
11013 test -z "$LN_S" && LN_S="ln -s"
11028 if test -n "${ZSH_VERSION+set}" ; then
11029 setopt NO_GLOB_SUBST
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
11033 $as_echo_n "checking for objdir... " >&6; }
11034 if ${lt_cv_objdir+:} false; then :
11035 $as_echo_n "(cached) " >&6
11037 rm -f .libs 2>/dev/null
11038 mkdir .libs 2>/dev/null
11039 if test -d .libs; then
11042 # MS-DOS does not allow filenames that begin with a dot.
11045 rmdir .libs 2>/dev/null
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
11048 $as_echo "$lt_cv_objdir" >&6; }
11049 objdir=$lt_cv_objdir
11055 cat >>confdefs.h <<_ACEOF
11056 #define LT_OBJDIR "$lt_cv_objdir/"
11064 # AIX sometimes has problems with the GCC collect2 program. For some
11065 # reason, if we set the COLLECT_NAMES environment variable, the problems
11066 # vanish in a puff of smoke.
11067 if test "X${COLLECT_NAMES+set}" != Xset; then
11069 export COLLECT_NAMES
11074 # Global variables:
11076 can_build_shared=yes
11078 # All known linkers require a `.a' archive for static linking (except MSVC,
11079 # which needs '.lib').
11082 with_gnu_ld="$lt_cv_prog_gnu_ld"
11085 old_CFLAGS="$CFLAGS"
11087 # Set sane defaults for various variables
11088 test -z "$CC" && CC=cc
11089 test -z "$LTCC" && LTCC=$CC
11090 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
11091 test -z "$LD" && LD=ld
11092 test -z "$ac_objext" && ac_objext=o
11094 for cc_temp in $compiler""; do
11096 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11097 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11102 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11105 # Only perform the check for file, if the check method requires it
11106 test -z "$MAGIC_CMD" && MAGIC_CMD=file
11107 case $deplibs_check_method in
11109 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
11111 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
11112 if ${lt_cv_path_MAGIC_CMD+:} false; then :
11113 $as_echo_n "(cached) " >&6
11117 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11120 lt_save_MAGIC_CMD="$MAGIC_CMD"
11121 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11122 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11123 for ac_dir in $ac_dummy; do
11125 test -z "$ac_dir" && ac_dir=.
11126 if test -f $ac_dir/${ac_tool_prefix}file; then
11127 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
11128 if test -n "$file_magic_test_file"; then
11129 case $deplibs_check_method in
11131 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11132 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11133 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11134 $EGREP "$file_magic_regex" > /dev/null; then
11139 *** Warning: the command libtool uses to detect shared libraries,
11140 *** $file_magic_cmd, produces output that libtool cannot recognize.
11141 *** The result is that libtool may fail to recognize shared libraries
11142 *** as such. This will affect the creation of libtool libraries that
11143 *** depend on shared libraries, but programs linked with such libtool
11144 *** libraries will work regardless of this problem. Nevertheless, you
11145 *** may want to report the problem to your system manager and/or to
11146 *** bug-libtool@gnu.org
11156 MAGIC_CMD="$lt_save_MAGIC_CMD"
11161 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11162 if test -n "$MAGIC_CMD"; then
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11164 $as_echo "$MAGIC_CMD" >&6; }
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11167 $as_echo "no" >&6; }
11174 if test -z "$lt_cv_path_MAGIC_CMD"; then
11175 if test -n "$ac_tool_prefix"; then
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
11177 $as_echo_n "checking for file... " >&6; }
11178 if ${lt_cv_path_MAGIC_CMD+:} false; then :
11179 $as_echo_n "(cached) " >&6
11183 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11186 lt_save_MAGIC_CMD="$MAGIC_CMD"
11187 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11188 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11189 for ac_dir in $ac_dummy; do
11191 test -z "$ac_dir" && ac_dir=.
11192 if test -f $ac_dir/file; then
11193 lt_cv_path_MAGIC_CMD="$ac_dir/file"
11194 if test -n "$file_magic_test_file"; then
11195 case $deplibs_check_method in
11197 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11198 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11199 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11200 $EGREP "$file_magic_regex" > /dev/null; then
11205 *** Warning: the command libtool uses to detect shared libraries,
11206 *** $file_magic_cmd, produces output that libtool cannot recognize.
11207 *** The result is that libtool may fail to recognize shared libraries
11208 *** as such. This will affect the creation of libtool libraries that
11209 *** depend on shared libraries, but programs linked with such libtool
11210 *** libraries will work regardless of this problem. Nevertheless, you
11211 *** may want to report the problem to your system manager and/or to
11212 *** bug-libtool@gnu.org
11222 MAGIC_CMD="$lt_save_MAGIC_CMD"
11227 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11228 if test -n "$MAGIC_CMD"; then
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11230 $as_echo "$MAGIC_CMD" >&6; }
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11233 $as_echo "no" >&6; }
11246 # Use C for the default configuration in the libtool script
11250 ac_cpp='$CPP $CPPFLAGS'
11251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11256 # Source file extension for C test sources.
11259 # Object file extension for compiled C test sources.
11263 # Code to be used in simple compile tests
11264 lt_simple_compile_test_code="int some_variable = 0;"
11266 # Code to be used in simple link tests
11267 lt_simple_link_test_code='int main(){return(0);}'
11275 # If no C compiler was specified, use CC.
11278 # If no C compiler flags were specified, use CFLAGS.
11279 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11281 # Allow CC to be a program name with arguments.
11284 # Save the default compiler, since it gets overwritten when the other
11285 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
11286 compiler_DEFAULT=$CC
11288 # save warnings/boilerplate of simple test code
11289 ac_outfile=conftest.$ac_objext
11290 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11291 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11292 _lt_compiler_boilerplate=`cat conftest.err`
11295 ac_outfile=conftest.$ac_objext
11296 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11297 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11298 _lt_linker_boilerplate=`cat conftest.err`
11303 ## There is no encapsulation within the following macros, do not change
11304 ## the running order or otherwise move them around unless you know exactly
11305 ## what you are doing...
11306 if test -n "$compiler"; then
11308 lt_prog_compiler_no_builtin_flag=
11310 if test "$GCC" = yes; then
11311 case $cc_basename in
11313 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
11315 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11319 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11320 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
11321 $as_echo_n "(cached) " >&6
11323 lt_cv_prog_compiler_rtti_exceptions=no
11324 ac_outfile=conftest.$ac_objext
11325 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11326 lt_compiler_flag="-fno-rtti -fno-exceptions"
11327 # Insert the option either (1) after the last *FLAGS variable, or
11328 # (2) before a word containing "conftest.", or (3) at the end.
11329 # Note that $ac_compile itself does not contain backslashes and begins
11330 # with a dollar sign (not a hyphen), so the echo should work correctly.
11331 # The option is referenced via a variable to avoid confusing sed.
11332 lt_compile=`echo "$ac_compile" | $SED \
11333 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11334 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11335 -e 's:$: $lt_compiler_flag:'`
11336 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11337 (eval "$lt_compile" 2>conftest.err)
11339 cat conftest.err >&5
11340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11341 if (exit $ac_status) && test -s "$ac_outfile"; then
11342 # The compiler can only warn and ignore the option if not recognized
11343 # So say no if there are warnings other than the usual output.
11344 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11345 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11346 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11347 lt_cv_prog_compiler_rtti_exceptions=yes
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11354 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11356 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
11357 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11369 lt_prog_compiler_wl=
11370 lt_prog_compiler_pic=
11371 lt_prog_compiler_static=
11374 if test "$GCC" = yes; then
11375 lt_prog_compiler_wl='-Wl,'
11376 lt_prog_compiler_static='-static'
11380 # All AIX code is PIC.
11381 if test "$host_cpu" = ia64; then
11382 # AIX 5 now supports IA64 processor
11383 lt_prog_compiler_static='-Bstatic'
11390 # see comment about AmigaOS4 .so support
11391 lt_prog_compiler_pic='-fPIC'
11394 # FIXME: we need at least 68020 code to build shared libraries, but
11395 # adding the `-m68020' flag to GCC prevents building anything better,
11397 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
11402 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11403 # PIC is the default for these OSes.
11406 mingw* | cygwin* | pw32* | os2* | cegcc*)
11407 # This hack is so that the source file can tell whether it is being
11408 # built for inclusion in a dll (and should export symbols for example).
11409 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11410 # (--disable-auto-import) libraries
11411 lt_prog_compiler_pic='-DDLL_EXPORT'
11414 darwin* | rhapsody*)
11415 # PIC is the default on this platform
11416 # Common symbols not allowed in MH_DYLIB files
11417 lt_prog_compiler_pic='-fno-common'
11421 # PIC is the default for Haiku.
11422 # The "-static" flag exists, but is broken.
11423 lt_prog_compiler_static=
11427 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11428 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11429 # sets the default TLS model and affects inlining.
11435 lt_prog_compiler_pic='-fPIC'
11441 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11442 # Instead, we relocate shared libraries at runtime.
11446 # Just because we use GCC doesn't mean we suddenly get shared libraries
11447 # on systems that don't support them.
11448 lt_prog_compiler_can_build_shared=no
11453 # QNX uses GNU C++, but need to define -shared option too, otherwise
11454 # it will coredump.
11455 lt_prog_compiler_pic='-fPIC -shared'
11459 if test -d /usr/nec; then
11460 lt_prog_compiler_pic=-Kconform_pic
11465 lt_prog_compiler_pic='-fPIC'
11469 case $cc_basename in
11470 nvcc*) # Cuda Compiler Driver 2.2
11471 lt_prog_compiler_wl='-Xlinker '
11472 if test -n "$lt_prog_compiler_pic"; then
11473 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
11478 # PORTME Check for flag to pass linker flags through the system compiler.
11481 lt_prog_compiler_wl='-Wl,'
11482 if test "$host_cpu" = ia64; then
11483 # AIX 5 now supports IA64 processor
11484 lt_prog_compiler_static='-Bstatic'
11486 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
11490 mingw* | cygwin* | pw32* | os2* | cegcc*)
11491 # This hack is so that the source file can tell whether it is being
11492 # built for inclusion in a dll (and should export symbols for example).
11493 lt_prog_compiler_pic='-DDLL_EXPORT'
11496 hpux9* | hpux10* | hpux11*)
11497 lt_prog_compiler_wl='-Wl,'
11498 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11499 # not for PA HP-UX.
11505 lt_prog_compiler_pic='+Z'
11508 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11509 lt_prog_compiler_static='${wl}-a ${wl}archive'
11512 irix5* | irix6* | nonstopux*)
11513 lt_prog_compiler_wl='-Wl,'
11514 # PIC (with -KPIC) is the default.
11515 lt_prog_compiler_static='-non_shared'
11518 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11519 case $cc_basename in
11520 # old Intel for x86_64 which still supported -KPIC.
11522 lt_prog_compiler_wl='-Wl,'
11523 lt_prog_compiler_pic='-KPIC'
11524 lt_prog_compiler_static='-static'
11526 # icc used to be incompatible with GCC.
11527 # ICC 10 doesn't accept -KPIC any more.
11529 lt_prog_compiler_wl='-Wl,'
11530 lt_prog_compiler_pic='-fPIC'
11531 lt_prog_compiler_static='-static'
11533 # Lahey Fortran 8.1.
11535 lt_prog_compiler_wl='-Wl,'
11536 lt_prog_compiler_pic='--shared'
11537 lt_prog_compiler_static='--static'
11540 # NAG Fortran compiler
11541 lt_prog_compiler_wl='-Wl,-Wl,,'
11542 lt_prog_compiler_pic='-PIC'
11543 lt_prog_compiler_static='-Bstatic'
11545 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
11546 # Portland Group compilers (*not* the Pentium gcc compiler,
11547 # which looks to be a dead project)
11548 lt_prog_compiler_wl='-Wl,'
11549 lt_prog_compiler_pic='-fpic'
11550 lt_prog_compiler_static='-Bstatic'
11553 lt_prog_compiler_wl='-Wl,'
11554 # All Alpha code is PIC.
11555 lt_prog_compiler_static='-non_shared'
11557 xl* | bgxl* | bgf* | mpixl*)
11558 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11559 lt_prog_compiler_wl='-Wl,'
11560 lt_prog_compiler_pic='-qpic'
11561 lt_prog_compiler_static='-qstaticlink'
11564 case `$CC -V 2>&1 | sed 5q` in
11565 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
11566 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11567 lt_prog_compiler_pic='-KPIC'
11568 lt_prog_compiler_static='-Bstatic'
11569 lt_prog_compiler_wl=''
11571 *Sun\ F* | *Sun*Fortran*)
11572 lt_prog_compiler_pic='-KPIC'
11573 lt_prog_compiler_static='-Bstatic'
11574 lt_prog_compiler_wl='-Qoption ld '
11578 lt_prog_compiler_pic='-KPIC'
11579 lt_prog_compiler_static='-Bstatic'
11580 lt_prog_compiler_wl='-Wl,'
11582 *Intel*\ [CF]*Compiler*)
11583 lt_prog_compiler_wl='-Wl,'
11584 lt_prog_compiler_pic='-fPIC'
11585 lt_prog_compiler_static='-static'
11588 lt_prog_compiler_wl='-Wl,'
11589 lt_prog_compiler_pic='-fpic'
11590 lt_prog_compiler_static='-Bstatic'
11598 lt_prog_compiler_pic='-KPIC'
11599 lt_prog_compiler_static='-Bstatic'
11603 # QNX uses GNU C++, but need to define -shared option too, otherwise
11604 # it will coredump.
11605 lt_prog_compiler_pic='-fPIC -shared'
11608 osf3* | osf4* | osf5*)
11609 lt_prog_compiler_wl='-Wl,'
11610 # All OSF/1 code is PIC.
11611 lt_prog_compiler_static='-non_shared'
11615 lt_prog_compiler_static='-non_shared'
11619 lt_prog_compiler_pic='-KPIC'
11620 lt_prog_compiler_static='-Bstatic'
11621 case $cc_basename in
11622 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
11623 lt_prog_compiler_wl='-Qoption ld ';;
11625 lt_prog_compiler_wl='-Wl,';;
11630 lt_prog_compiler_wl='-Qoption ld '
11631 lt_prog_compiler_pic='-PIC'
11632 lt_prog_compiler_static='-Bstatic'
11635 sysv4 | sysv4.2uw2* | sysv4.3*)
11636 lt_prog_compiler_wl='-Wl,'
11637 lt_prog_compiler_pic='-KPIC'
11638 lt_prog_compiler_static='-Bstatic'
11642 if test -d /usr/nec ;then
11643 lt_prog_compiler_pic='-Kconform_pic'
11644 lt_prog_compiler_static='-Bstatic'
11648 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11649 lt_prog_compiler_wl='-Wl,'
11650 lt_prog_compiler_pic='-KPIC'
11651 lt_prog_compiler_static='-Bstatic'
11655 lt_prog_compiler_wl='-Wl,'
11656 lt_prog_compiler_can_build_shared=no
11660 lt_prog_compiler_pic='-pic'
11661 lt_prog_compiler_static='-Bstatic'
11665 lt_prog_compiler_can_build_shared=no
11671 # For platforms which do not support PIC, -DPIC is meaningless:
11673 lt_prog_compiler_pic=
11676 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11681 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11682 if ${lt_cv_prog_compiler_pic+:} false; then :
11683 $as_echo_n "(cached) " >&6
11685 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
11688 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
11689 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
11692 # Check to make sure the PIC flag actually works.
11694 if test -n "$lt_prog_compiler_pic"; then
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11696 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11697 if ${lt_cv_prog_compiler_pic_works+:} false; then :
11698 $as_echo_n "(cached) " >&6
11700 lt_cv_prog_compiler_pic_works=no
11701 ac_outfile=conftest.$ac_objext
11702 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11703 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
11704 # Insert the option either (1) after the last *FLAGS variable, or
11705 # (2) before a word containing "conftest.", or (3) at the end.
11706 # Note that $ac_compile itself does not contain backslashes and begins
11707 # with a dollar sign (not a hyphen), so the echo should work correctly.
11708 # The option is referenced via a variable to avoid confusing sed.
11709 lt_compile=`echo "$ac_compile" | $SED \
11710 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11711 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11712 -e 's:$: $lt_compiler_flag:'`
11713 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11714 (eval "$lt_compile" 2>conftest.err)
11716 cat conftest.err >&5
11717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11718 if (exit $ac_status) && test -s "$ac_outfile"; then
11719 # The compiler can only warn and ignore the option if not recognized
11720 # So say no if there are warnings other than the usual output.
11721 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11722 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11723 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11724 lt_cv_prog_compiler_pic_works=yes
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11731 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11733 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
11734 case $lt_prog_compiler_pic in
11736 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
11739 lt_prog_compiler_pic=
11740 lt_prog_compiler_can_build_shared=no
11756 # Check to make sure the static flag actually works.
11758 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11760 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11761 if ${lt_cv_prog_compiler_static_works+:} false; then :
11762 $as_echo_n "(cached) " >&6
11764 lt_cv_prog_compiler_static_works=no
11765 save_LDFLAGS="$LDFLAGS"
11766 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11767 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11768 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11769 # The linker can only warn and ignore the option if not recognized
11770 # So say no if there are warnings
11771 if test -s conftest.err; then
11772 # Append any errors to the config.log.
11773 cat conftest.err 1>&5
11774 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11775 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11776 if diff conftest.exp conftest.er2 >/dev/null; then
11777 lt_cv_prog_compiler_static_works=yes
11780 lt_cv_prog_compiler_static_works=yes
11784 LDFLAGS="$save_LDFLAGS"
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11788 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11790 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
11793 lt_prog_compiler_static=
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11803 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11804 if ${lt_cv_prog_compiler_c_o+:} false; then :
11805 $as_echo_n "(cached) " >&6
11807 lt_cv_prog_compiler_c_o=no
11808 $RM -r conftest 2>/dev/null
11812 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11814 lt_compiler_flag="-o out/conftest2.$ac_objext"
11815 # Insert the option either (1) after the last *FLAGS variable, or
11816 # (2) before a word containing "conftest.", or (3) at the end.
11817 # Note that $ac_compile itself does not contain backslashes and begins
11818 # with a dollar sign (not a hyphen), so the echo should work correctly.
11819 lt_compile=`echo "$ac_compile" | $SED \
11820 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11821 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11822 -e 's:$: $lt_compiler_flag:'`
11823 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11824 (eval "$lt_compile" 2>out/conftest.err)
11826 cat out/conftest.err >&5
11827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11828 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11830 # The compiler can only warn and ignore the option if not recognized
11831 # So say no if there are warnings
11832 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11833 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11834 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11835 lt_cv_prog_compiler_c_o=yes
11840 # SGI C++ compiler will create directory out/ii_files/ for
11841 # template instantiation
11842 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11843 $RM out/* && rmdir out
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11850 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11858 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11859 if ${lt_cv_prog_compiler_c_o+:} false; then :
11860 $as_echo_n "(cached) " >&6
11862 lt_cv_prog_compiler_c_o=no
11863 $RM -r conftest 2>/dev/null
11867 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11869 lt_compiler_flag="-o out/conftest2.$ac_objext"
11870 # Insert the option either (1) after the last *FLAGS variable, or
11871 # (2) before a word containing "conftest.", or (3) at the end.
11872 # Note that $ac_compile itself does not contain backslashes and begins
11873 # with a dollar sign (not a hyphen), so the echo should work correctly.
11874 lt_compile=`echo "$ac_compile" | $SED \
11875 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11876 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11877 -e 's:$: $lt_compiler_flag:'`
11878 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11879 (eval "$lt_compile" 2>out/conftest.err)
11881 cat out/conftest.err >&5
11882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11883 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11885 # The compiler can only warn and ignore the option if not recognized
11886 # So say no if there are warnings
11887 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11888 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11889 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11890 lt_cv_prog_compiler_c_o=yes
11895 # SGI C++ compiler will create directory out/ii_files/ for
11896 # template instantiation
11897 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11898 $RM out/* && rmdir out
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11905 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11910 hard_links="nottested"
11911 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
11912 # do not overwrite the value of need_locks provided by the user
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11914 $as_echo_n "checking if we can lock with hard links... " >&6; }
11917 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11919 ln conftest.a conftest.b 2>&5 || hard_links=no
11920 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11922 $as_echo "$hard_links" >&6; }
11923 if test "$hard_links" = no; then
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11925 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11938 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11941 allow_undefined_flag=
11942 always_export_symbols=no
11944 archive_expsym_cmds=
11945 compiler_needs_object=no
11946 enable_shared_with_static_runtimes=no
11947 export_dynamic_flag_spec=
11948 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11949 hardcode_automatic=no
11951 hardcode_direct_absolute=no
11952 hardcode_libdir_flag_spec=
11953 hardcode_libdir_separator=
11954 hardcode_minus_L=no
11955 hardcode_shlibpath_var=unsupported
11957 link_all_deplibs=unknown
11959 module_expsym_cmds=
11960 old_archive_from_new_cmds=
11961 old_archive_from_expsyms_cmds=
11962 thread_safe_flag_spec=
11963 whole_archive_flag_spec=
11964 # include_expsyms should be a list of space-separated symbols to be *always*
11965 # included in the symbol list
11967 # exclude_expsyms can be an extended regexp of symbols to exclude
11968 # it will be wrapped by ` (' and `)$', so one must not match beginning or
11969 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11970 # as well as any symbol that contains `d'.
11971 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11972 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11973 # platforms (ab)use it in PIC code, but their linkers get confused if
11974 # the symbol is explicitly referenced. Since portable code cannot
11975 # rely on this symbol name, it's probably fine to never include it in
11976 # preloaded symbol tables.
11977 # Exclude shared library initialization/finalization symbols.
11978 extract_expsyms_cmds=
11981 cygwin* | mingw* | pw32* | cegcc*)
11982 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11983 # When not using gcc, we currently assume that we are using
11984 # Microsoft Visual C++.
11985 if test "$GCC" != yes; then
11990 # we just hope/assume this is gcc and not c89 (= MSVC++)
12000 # On some targets, GNU ld is compatible enough with the native linker
12001 # that we're better off using the native interface for both.
12002 lt_use_gnu_ld_interface=no
12003 if test "$with_gnu_ld" = yes; then
12006 # The AIX port of GNU ld has always aspired to compatibility
12007 # with the native linker. However, as the warning in the GNU ld
12008 # block says, versions before 2.19.5* couldn't really create working
12009 # shared libraries, regardless of the interface used.
12010 case `$LD -v 2>&1` in
12011 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
12012 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
12013 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
12015 lt_use_gnu_ld_interface=yes
12020 lt_use_gnu_ld_interface=yes
12025 if test "$lt_use_gnu_ld_interface" = yes; then
12026 # If archive_cmds runs LD, not CC, wlarc should be empty
12029 # Set some defaults for GNU ld with shared library support. These
12030 # are reset later if shared libraries are not supported. Putting them
12031 # here allows them to be overridden if necessary.
12032 runpath_var=LD_RUN_PATH
12033 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12034 export_dynamic_flag_spec='${wl}--export-dynamic'
12035 # ancient GNU ld didn't support --whole-archive et. al.
12036 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12037 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12039 whole_archive_flag_spec=
12041 supports_anon_versioning=no
12042 case `$LD -v 2>&1` in
12043 *GNU\ gold*) supports_anon_versioning=yes ;;
12044 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12045 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12046 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12047 *\ 2.11.*) ;; # other 2.11 versions
12048 *) supports_anon_versioning=yes ;;
12051 # See if GNU ld supports shared libraries.
12054 # On AIX/PPC, the GNU linker is very broken
12055 if test "$host_cpu" != ia64; then
12059 *** Warning: the GNU linker, at least up to release 2.19, is reported
12060 *** to be unable to reliably create shared libraries on AIX.
12061 *** Therefore, libtool is disabling shared libraries support. If you
12062 *** really care for shared libraries, you may want to install binutils
12063 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12064 *** You will then need to restart the configuration process.
12073 # see comment about AmigaOS4 .so support
12074 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12075 archive_expsym_cmds=''
12078 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)'
12079 hardcode_libdir_flag_spec='-L$libdir'
12080 hardcode_minus_L=yes
12086 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12087 allow_undefined_flag=unsupported
12088 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12089 # support --undefined. This deserves some investigation. FIXME
12090 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12096 cygwin* | mingw* | pw32* | cegcc*)
12097 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
12098 # as there is no search path for DLLs.
12099 hardcode_libdir_flag_spec='-L$libdir'
12100 export_dynamic_flag_spec='${wl}--export-all-symbols'
12101 allow_undefined_flag=unsupported
12102 always_export_symbols=no
12103 enable_shared_with_static_runtimes=yes
12104 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'
12105 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
12107 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12108 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12109 # If the export-symbols file already is a .def file (1st line
12110 # is EXPORTS), use it as is; otherwise, prepend...
12111 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12112 cp $export_symbols $output_objdir/$soname.def;
12114 echo EXPORTS > $output_objdir/$soname.def;
12115 cat $export_symbols >> $output_objdir/$soname.def;
12117 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12124 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12125 link_all_deplibs=yes
12130 hardcode_shlibpath_var=no
12131 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12132 export_dynamic_flag_spec='${wl}-E'
12133 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12134 # Instead, shared libraries are loaded at an image base (0x10000000 by
12135 # default) and relocated if they conflict, which is a slow very memory
12136 # consuming and fragmenting process. To avoid this, we pick a random,
12137 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12138 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12139 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12140 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'
12143 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12145 if test "$host_os" = linux-dietlibc; then
12146 case $cc_basename in
12147 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
12150 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12151 && test "$tmp_diet" = no
12153 tmp_addflag=' $pic_flag'
12154 tmp_sharedflag='-shared'
12155 case $cc_basename,$host_cpu in
12156 pgcc*) # Portland Group C compiler
12157 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'
12158 tmp_addflag=' $pic_flag'
12160 pgf77* | pgf90* | pgf95* | pgfortran*)
12161 # Portland Group f77 and f90 compilers
12162 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'
12163 tmp_addflag=' $pic_flag -Mnomain' ;;
12164 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
12165 tmp_addflag=' -i_dynamic' ;;
12166 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
12167 tmp_addflag=' -i_dynamic -nofor_main' ;;
12168 ifc* | ifort*) # Intel Fortran compiler
12169 tmp_addflag=' -nofor_main' ;;
12170 lf95*) # Lahey Fortran 8.1
12171 whole_archive_flag_spec=
12172 tmp_sharedflag='--shared' ;;
12173 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12174 tmp_sharedflag='-qmkshrobj'
12176 nvcc*) # Cuda Compiler Driver 2.2
12177 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'
12178 compiler_needs_object=yes
12181 case `$CC -V 2>&1 | sed 5q` in
12182 *Sun\ C*) # Sun C 5.9
12183 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'
12184 compiler_needs_object=yes
12185 tmp_sharedflag='-G' ;;
12186 *Sun\ F*) # Sun Fortran 8.3
12187 tmp_sharedflag='-G' ;;
12189 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12191 if test "x$supports_anon_versioning" = xyes; then
12192 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12193 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12194 echo "local: *; };" >> $output_objdir/$libname.ver~
12195 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12198 case $cc_basename in
12199 xlf* | bgf* | bgxlf* | mpixlf*)
12200 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12201 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
12202 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12203 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
12204 if test "x$supports_anon_versioning" = xyes; then
12205 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12206 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12207 echo "local: *; };" >> $output_objdir/$libname.ver~
12208 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12218 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12219 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12222 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12223 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12228 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
12232 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12233 *** create shared libraries on Solaris systems. Therefore, libtool
12234 *** is disabling shared libraries support. We urge you to upgrade GNU
12235 *** binutils to release 2.9.1 or newer. Another option is to modify
12236 *** your PATH or compiler configuration so that the native linker is
12237 *** used, and then restart.
12240 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12241 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12242 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12248 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
12249 case `$LD -v 2>&1` in
12250 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
12254 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12255 *** reliably create shared libraries on SCO systems. Therefore, libtool
12256 *** is disabling shared libraries support. We urge you to upgrade GNU
12257 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12258 *** your PATH or compiler configuration so that the native linker is
12259 *** used, and then restart.
12264 # For security reasons, it is highly recommended that you always
12265 # use absolute paths for naming shared libraries, and exclude the
12266 # DT_RUNPATH tag from executables and libraries. But doing so
12267 # requires that you compile everything twice, which is a pain.
12268 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12269 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12270 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12271 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12280 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12282 hardcode_direct=yes
12283 hardcode_shlibpath_var=no
12287 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12288 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12289 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12296 if test "$ld_shlibs" = no; then
12298 hardcode_libdir_flag_spec=
12299 export_dynamic_flag_spec=
12300 whole_archive_flag_spec=
12303 # PORTME fill in a description of your system's linker (not GNU ld)
12306 allow_undefined_flag=unsupported
12307 always_export_symbols=yes
12308 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'
12309 # Note: this linker hardcodes the directories in LIBPATH if there
12310 # are no directories specified by -L.
12311 hardcode_minus_L=yes
12312 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12313 # Neither direct hardcoding nor static linking is supported with a
12315 hardcode_direct=unsupported
12320 if test "$host_cpu" = ia64; then
12321 # On IA64, the linker does run time linking by default, so we don't
12322 # have to do anything special.
12323 aix_use_runtimelinking=no
12324 exp_sym_flag='-Bexport'
12327 # If we're using GNU nm, then we don't want the "-C" option.
12328 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12329 # Also, AIX nm treats weak defined symbols like other global
12330 # defined symbols, whereas GNU nm marks them as "W".
12331 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12332 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'
12334 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'
12336 aix_use_runtimelinking=no
12338 # Test if we are trying to use run time linking or normal
12339 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12340 # need to do runtime linking.
12341 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12342 for ld_flag in $LDFLAGS; do
12343 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
12344 aix_use_runtimelinking=yes
12351 exp_sym_flag='-bexport'
12352 no_entry_flag='-bnoentry'
12355 # When large executables or shared objects are built, AIX ld can
12356 # have problems creating the table of contents. If linking a library
12357 # or program results in "error TOC overflow" add -mminimal-toc to
12358 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12359 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12362 hardcode_direct=yes
12363 hardcode_direct_absolute=yes
12364 hardcode_libdir_separator=':'
12365 link_all_deplibs=yes
12366 file_list_spec='${wl}-f,'
12368 if test "$GCC" = yes; then
12369 case $host_os in aix4.[012]|aix4.[012].*)
12370 # We only want to do this on AIX 4.2 and lower, the check
12371 # below for broken collect2 doesn't work under 4.3+
12372 collect2name=`${CC} -print-prog-name=collect2`
12373 if test -f "$collect2name" &&
12374 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12376 # We have reworked collect2
12379 # We have old collect2
12380 hardcode_direct=unsupported
12381 # It fails to find uninstalled libraries when the uninstalled
12382 # path is not listed in the libpath. Setting hardcode_minus_L
12383 # to unsupported forces relinking
12384 hardcode_minus_L=yes
12385 hardcode_libdir_flag_spec='-L$libdir'
12386 hardcode_libdir_separator=
12390 shared_flag='-shared'
12391 if test "$aix_use_runtimelinking" = yes; then
12392 shared_flag="$shared_flag "'${wl}-G'
12396 if test "$host_cpu" = ia64; then
12397 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12398 # chokes on -Wl,-G. The following line is correct:
12401 if test "$aix_use_runtimelinking" = yes; then
12402 shared_flag='${wl}-G'
12404 shared_flag='${wl}-bM:SRE'
12409 export_dynamic_flag_spec='${wl}-bexpall'
12410 # It seems that -bexpall does not export symbols beginning with
12411 # underscore (_), so it is better to generate a list of symbols to export.
12412 always_export_symbols=yes
12413 if test "$aix_use_runtimelinking" = yes; then
12414 # Warning - without using the other runtime loading flags (-brtl),
12415 # -berok will link without error, but may produce a broken library.
12416 allow_undefined_flag='-berok'
12417 # Determine the default libpath from the value encoded in an
12418 # empty executable.
12419 if test "${lt_cv_aix_libpath+set}" = set; then
12420 aix_libpath=$lt_cv_aix_libpath
12422 if ${lt_cv_aix_libpath_+:} false; then :
12423 $as_echo_n "(cached) " >&6
12425 if test x$ac_no_link = xyes; then
12426 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
12428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12429 /* end confdefs.h. */
12439 if ac_fn_c_try_link "$LINENO"; then :
12441 lt_aix_libpath_sed='
12442 /Import File Strings/,/^$/ {
12444 s/^0 *\([^ ]*\) *$/\1/
12448 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12449 # Check for a 64-bit object if we didn't find anything.
12450 if test -z "$lt_cv_aix_libpath_"; then
12451 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12454 rm -f core conftest.err conftest.$ac_objext \
12455 conftest$ac_exeext conftest.$ac_ext
12456 if test -z "$lt_cv_aix_libpath_"; then
12457 lt_cv_aix_libpath_="/usr/lib:/lib"
12462 aix_libpath=$lt_cv_aix_libpath_
12465 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12466 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"
12468 if test "$host_cpu" = ia64; then
12469 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
12470 allow_undefined_flag="-z nodefs"
12471 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"
12473 # Determine the default libpath from the value encoded in an
12474 # empty executable.
12475 if test "${lt_cv_aix_libpath+set}" = set; then
12476 aix_libpath=$lt_cv_aix_libpath
12478 if ${lt_cv_aix_libpath_+:} false; then :
12479 $as_echo_n "(cached) " >&6
12481 if test x$ac_no_link = xyes; then
12482 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
12484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12485 /* end confdefs.h. */
12495 if ac_fn_c_try_link "$LINENO"; then :
12497 lt_aix_libpath_sed='
12498 /Import File Strings/,/^$/ {
12500 s/^0 *\([^ ]*\) *$/\1/
12504 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12505 # Check for a 64-bit object if we didn't find anything.
12506 if test -z "$lt_cv_aix_libpath_"; then
12507 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12510 rm -f core conftest.err conftest.$ac_objext \
12511 conftest$ac_exeext conftest.$ac_ext
12512 if test -z "$lt_cv_aix_libpath_"; then
12513 lt_cv_aix_libpath_="/usr/lib:/lib"
12518 aix_libpath=$lt_cv_aix_libpath_
12521 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12522 # Warning - without using the other run time loading flags,
12523 # -berok will link without error, but may produce a broken library.
12524 no_undefined_flag=' ${wl}-bernotok'
12525 allow_undefined_flag=' ${wl}-berok'
12526 if test "$with_gnu_ld" = yes; then
12527 # We only use this code for GNU lds that support --whole-archive.
12528 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12530 # Exported symbols can be pulled into shared objects from archives
12531 whole_archive_flag_spec='$convenience'
12533 archive_cmds_need_lc=yes
12534 # This is similar to how AIX traditionally builds its shared libraries.
12535 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'
12543 # see comment about AmigaOS4 .so support
12544 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12545 archive_expsym_cmds=''
12548 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)'
12549 hardcode_libdir_flag_spec='-L$libdir'
12550 hardcode_minus_L=yes
12556 export_dynamic_flag_spec=-rdynamic
12559 cygwin* | mingw* | pw32* | cegcc*)
12560 # When not using gcc, we currently assume that we are using
12561 # Microsoft Visual C++.
12562 # hardcode_libdir_flag_spec is actually meaningless, as there is
12563 # no search path for DLLs.
12564 case $cc_basename in
12567 hardcode_libdir_flag_spec=' '
12568 allow_undefined_flag=unsupported
12569 always_export_symbols=yes
12571 # Tell ltmain to make .lib files, not .a files.
12573 # Tell ltmain to make .dll files, not .so files.
12575 # FIXME: Setting linknames here is a bad hack.
12576 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12577 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12578 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12580 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12582 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12584 # The linker will not automatically build a static lib if we build a DLL.
12585 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
12586 enable_shared_with_static_runtimes=yes
12587 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
12588 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12590 old_postinstall_cmds='chmod 644 $oldlib'
12591 postlink_cmds='lt_outputfile="@OUTPUT@"~
12592 lt_tool_outputfile="@TOOL_OUTPUT@"~
12593 case $lt_outputfile in
12596 lt_outputfile="$lt_outputfile.exe"
12597 lt_tool_outputfile="$lt_tool_outputfile.exe"
12600 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12601 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12602 $RM "$lt_outputfile.manifest";
12606 # Assume MSVC wrapper
12607 hardcode_libdir_flag_spec=' '
12608 allow_undefined_flag=unsupported
12609 # Tell ltmain to make .lib files, not .a files.
12611 # Tell ltmain to make .dll files, not .so files.
12613 # FIXME: Setting linknames here is a bad hack.
12614 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12615 # The linker will automatically build a .lib file if we build a DLL.
12616 old_archive_from_new_cmds='true'
12617 # FIXME: Should let the user specify the lib program.
12618 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
12619 enable_shared_with_static_runtimes=yes
12624 darwin* | rhapsody*)
12627 archive_cmds_need_lc=no
12629 hardcode_automatic=yes
12630 hardcode_shlibpath_var=unsupported
12631 if test "$lt_cv_ld_force_load" = "yes"; then
12632 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\"`'
12635 whole_archive_flag_spec=''
12637 link_all_deplibs=yes
12638 allow_undefined_flag="$_lt_dar_allow_undefined"
12639 case $cc_basename in
12640 ifort*) _lt_dar_can_shared=yes ;;
12641 *) _lt_dar_can_shared=$GCC ;;
12643 if test "$_lt_dar_can_shared" = "yes"; then
12644 output_verbose_link_cmd=func_echo_all
12645 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12646 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12647 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}"
12648 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}"
12657 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12658 hardcode_libdir_flag_spec='-L$libdir'
12659 hardcode_shlibpath_var=no
12662 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12663 # support. Future versions do this automatically, but an explicit c++rt0.o
12664 # does not break anything, and helps significantly (at the cost of a little
12667 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12668 hardcode_libdir_flag_spec='-R$libdir'
12669 hardcode_direct=yes
12670 hardcode_shlibpath_var=no
12673 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12675 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12676 hardcode_direct=yes
12677 hardcode_minus_L=yes
12678 hardcode_shlibpath_var=no
12681 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12682 freebsd* | dragonfly*)
12683 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12684 hardcode_libdir_flag_spec='-R$libdir'
12685 hardcode_direct=yes
12686 hardcode_shlibpath_var=no
12690 if test "$GCC" = yes; then
12691 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'
12693 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'
12695 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12696 hardcode_libdir_separator=:
12697 hardcode_direct=yes
12699 # hardcode_minus_L: Not really in the search PATH,
12700 # but as the default location of the library.
12701 hardcode_minus_L=yes
12702 export_dynamic_flag_spec='${wl}-E'
12706 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
12707 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12709 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12711 if test "$with_gnu_ld" = no; then
12712 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12713 hardcode_libdir_separator=:
12714 hardcode_direct=yes
12715 hardcode_direct_absolute=yes
12716 export_dynamic_flag_spec='${wl}-E'
12717 # hardcode_minus_L: Not really in the search PATH,
12718 # but as the default location of the library.
12719 hardcode_minus_L=yes
12724 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
12727 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12730 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12733 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12739 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12742 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12746 # Older versions of the 11.00 compiler do not understand -b yet
12747 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12749 $as_echo_n "checking if $CC understands -b... " >&6; }
12750 if ${lt_cv_prog_compiler__b+:} false; then :
12751 $as_echo_n "(cached) " >&6
12753 lt_cv_prog_compiler__b=no
12754 save_LDFLAGS="$LDFLAGS"
12755 LDFLAGS="$LDFLAGS -b"
12756 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12757 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12758 # The linker can only warn and ignore the option if not recognized
12759 # So say no if there are warnings
12760 if test -s conftest.err; then
12761 # Append any errors to the config.log.
12762 cat conftest.err 1>&5
12763 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12764 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12765 if diff conftest.exp conftest.er2 >/dev/null; then
12766 lt_cv_prog_compiler__b=yes
12769 lt_cv_prog_compiler__b=yes
12773 LDFLAGS="$save_LDFLAGS"
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12777 $as_echo "$lt_cv_prog_compiler__b" >&6; }
12779 if test x"$lt_cv_prog_compiler__b" = xyes; then
12780 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12782 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12788 if test "$with_gnu_ld" = no; then
12789 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12790 hardcode_libdir_separator=:
12795 hardcode_shlibpath_var=no
12798 hardcode_direct=yes
12799 hardcode_direct_absolute=yes
12800 export_dynamic_flag_spec='${wl}-E'
12802 # hardcode_minus_L: Not really in the search PATH,
12803 # but as the default location of the library.
12804 hardcode_minus_L=yes
12810 irix5* | irix6* | nonstopux*)
12811 if test "$GCC" = yes; then
12812 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'
12813 # Try to use the -exported_symbol ld option, if it does not
12814 # work, assume that -exports_file does not work either and
12815 # implicitly export all symbols.
12816 # This should be the same for all languages, so no per-tag cache variable.
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12818 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12819 if ${lt_cv_irix_exported_symbol+:} false; then :
12820 $as_echo_n "(cached) " >&6
12822 save_LDFLAGS="$LDFLAGS"
12823 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12824 if test x$ac_no_link = xyes; then
12825 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
12827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12828 /* end confdefs.h. */
12829 int foo (void) { return 0; }
12831 if ac_fn_c_try_link "$LINENO"; then :
12832 lt_cv_irix_exported_symbol=yes
12834 lt_cv_irix_exported_symbol=no
12836 rm -f core conftest.err conftest.$ac_objext \
12837 conftest$ac_exeext conftest.$ac_ext
12838 LDFLAGS="$save_LDFLAGS"
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12841 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
12842 if test "$lt_cv_irix_exported_symbol" = yes; then
12843 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'
12846 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'
12847 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'
12849 archive_cmds_need_lc='no'
12850 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12851 hardcode_libdir_separator=:
12853 link_all_deplibs=yes
12857 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12858 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12860 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12862 hardcode_libdir_flag_spec='-R$libdir'
12863 hardcode_direct=yes
12864 hardcode_shlibpath_var=no
12868 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12869 hardcode_direct=yes
12870 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12871 hardcode_libdir_separator=:
12872 hardcode_shlibpath_var=no
12879 if test -f /usr/libexec/ld.so; then
12880 hardcode_direct=yes
12881 hardcode_shlibpath_var=no
12882 hardcode_direct_absolute=yes
12883 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12884 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12885 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12886 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12887 export_dynamic_flag_spec='${wl}-E'
12890 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
12891 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12892 hardcode_libdir_flag_spec='-R$libdir'
12895 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12896 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12906 hardcode_libdir_flag_spec='-L$libdir'
12907 hardcode_minus_L=yes
12908 allow_undefined_flag=unsupported
12909 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'
12910 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12914 if test "$GCC" = yes; then
12915 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12916 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'
12918 allow_undefined_flag=' -expect_unresolved \*'
12919 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'
12921 archive_cmds_need_lc='no'
12922 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12923 hardcode_libdir_separator=:
12926 osf4* | osf5*) # as osf3* with the addition of -msym flag
12927 if test "$GCC" = yes; then
12928 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12929 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'
12930 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12932 allow_undefined_flag=' -expect_unresolved \*'
12933 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'
12934 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~
12935 $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'
12937 # Both c and cxx compiler support -rpath directly
12938 hardcode_libdir_flag_spec='-rpath $libdir'
12940 archive_cmds_need_lc='no'
12941 hardcode_libdir_separator=:
12945 no_undefined_flag=' -z defs'
12946 if test "$GCC" = yes; then
12948 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12949 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12950 $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'
12952 case `$CC -V 2>&1` in
12955 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12956 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12957 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12961 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12962 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12963 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12967 hardcode_libdir_flag_spec='-R$libdir'
12968 hardcode_shlibpath_var=no
12970 solaris2.[0-5] | solaris2.[0-5].*) ;;
12972 # The compiler driver will combine and reorder linker options,
12973 # but understands `-z linker_flag'. GCC discards it without `$wl',
12974 # but is careful enough not to reorder.
12975 # Supported since Solaris 2.6 (maybe 2.5.1?)
12976 if test "$GCC" = yes; then
12977 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12979 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12983 link_all_deplibs=yes
12987 if test "x$host_vendor" = xsequent; then
12988 # Use $CC to link under sequent, because it throws in some extra .o
12989 # files that make .init and .fini sections work.
12990 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12992 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12994 hardcode_libdir_flag_spec='-L$libdir'
12995 hardcode_direct=yes
12996 hardcode_minus_L=yes
12997 hardcode_shlibpath_var=no
13001 case $host_vendor in
13003 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13004 hardcode_direct=yes # is this really true???
13007 ## LD is ld it makes a PLAMLIB
13008 ## CC just makes a GrossModule.
13009 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13010 reload_cmds='$CC -r -o $output$reload_objs'
13014 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13015 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
13018 runpath_var='LD_RUN_PATH'
13019 hardcode_shlibpath_var=no
13023 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13024 hardcode_shlibpath_var=no
13025 export_dynamic_flag_spec='-Bexport'
13029 if test -d /usr/nec; then
13030 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13031 hardcode_shlibpath_var=no
13032 runpath_var=LD_RUN_PATH
13033 hardcode_runpath_var=yes
13038 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13039 no_undefined_flag='${wl}-z,text'
13040 archive_cmds_need_lc=no
13041 hardcode_shlibpath_var=no
13042 runpath_var='LD_RUN_PATH'
13044 if test "$GCC" = yes; then
13045 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13046 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13048 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13049 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13053 sysv5* | sco3.2v5* | sco5v6*)
13054 # Note: We can NOT use -z defs as we might desire, because we do not
13055 # link with -lc, and that would cause any symbols used from libc to
13056 # always be unresolved, which means just about no library would
13057 # ever link correctly. If we're not using GNU ld we use -z text
13058 # though, which does catch some bad symbols but isn't as heavy-handed
13060 no_undefined_flag='${wl}-z,text'
13061 allow_undefined_flag='${wl}-z,nodefs'
13062 archive_cmds_need_lc=no
13063 hardcode_shlibpath_var=no
13064 hardcode_libdir_flag_spec='${wl}-R,$libdir'
13065 hardcode_libdir_separator=':'
13066 link_all_deplibs=yes
13067 export_dynamic_flag_spec='${wl}-Bexport'
13068 runpath_var='LD_RUN_PATH'
13070 if test "$GCC" = yes; then
13071 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13072 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13074 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13075 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13080 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13081 hardcode_libdir_flag_spec='-L$libdir'
13082 hardcode_shlibpath_var=no
13090 if test x$host_vendor = xsni; then
13092 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13093 export_dynamic_flag_spec='${wl}-Blargedynsym'
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
13100 $as_echo "$ld_shlibs" >&6; }
13101 test "$ld_shlibs" = no && can_build_shared=no
13103 with_gnu_ld=$with_gnu_ld
13120 # Do we need to explicitly link libc?
13122 case "x$archive_cmds_need_lc" in
13124 # Assume -lc should be added
13125 archive_cmds_need_lc=yes
13127 if test "$enable_shared" = yes && test "$GCC" = yes; then
13128 case $archive_cmds in
13130 # FIXME: we may have to deal with multi-command sequences.
13133 # Test whether the compiler implicitly links with -lc since on some
13134 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13135 # to ld, don't add -lc before -lgcc.
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13137 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13138 if ${lt_cv_archive_cmds_need_lc+:} false; then :
13139 $as_echo_n "(cached) " >&6
13142 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13144 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13145 (eval $ac_compile) 2>&5
13147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13148 test $ac_status = 0; } 2>conftest.err; then
13151 libobjs=conftest.$ac_objext
13153 wl=$lt_prog_compiler_wl
13154 pic_flag=$lt_prog_compiler_pic
13160 lt_save_allow_undefined_flag=$allow_undefined_flag
13161 allow_undefined_flag=
13162 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13163 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13166 test $ac_status = 0; }
13168 lt_cv_archive_cmds_need_lc=no
13170 lt_cv_archive_cmds_need_lc=yes
13172 allow_undefined_flag=$lt_save_allow_undefined_flag
13174 cat conftest.err 1>&5
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
13180 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
13181 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13340 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13342 if test "$GCC" = yes; then
13344 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
13345 *) lt_awk_arg="/^libraries:/" ;;
13348 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
13349 *) lt_sed_strip_eq="s,=/,/,g" ;;
13351 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
13352 case $lt_search_path_spec in
13354 # if the path contains ";" then we assume it to be the separator
13355 # otherwise default to the standard path separator (i.e. ":") - it is
13356 # assumed that no part of a normal pathname contains ";" but that should
13357 # okay in the real world where ";" in dirpaths is itself problematic.
13358 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
13361 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
13364 # Ok, now we have the path, separated by spaces, we can step through it
13365 # and add multilib dir if necessary.
13366 lt_tmp_lt_search_path_spec=
13367 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
13368 for lt_sys_path in $lt_search_path_spec; do
13369 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
13370 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
13372 test -d "$lt_sys_path" && \
13373 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
13376 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
13377 BEGIN {RS=" "; FS="/|\n";} {
13380 for (lt_i = NF; lt_i > 0; lt_i--) {
13381 if ($lt_i != "" && $lt_i != ".") {
13382 if ($lt_i == "..") {
13385 if (lt_count == 0) {
13386 lt_foo="/" $lt_i lt_foo;
13393 if (lt_foo != "") { lt_freq[lt_foo]++; }
13394 if (lt_freq[lt_foo] == 1) { print lt_foo; }
13396 # AWK program above erroneously prepends '/' to C:/dos/paths
13399 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
13400 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
13402 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
13404 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13406 library_names_spec=
13407 libname_spec='lib$name'
13411 postuninstall_cmds=
13415 shlibpath_overrides_runpath=unknown
13417 dynamic_linker="$host_os ld.so"
13418 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13419 need_lib_prefix=unknown
13420 hardcode_into_libs=no
13422 # when you set need_version to no, make sure it does not cause -set_version
13423 # flags to be left without arguments
13424 need_version=unknown
13428 version_type=linux # correct to gnu/linux during the next big refactor
13429 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13430 shlibpath_var=LIBPATH
13432 # AIX 3 has no versioning support, so we append a major version to the name.
13433 soname_spec='${libname}${release}${shared_ext}$major'
13437 version_type=linux # correct to gnu/linux during the next big refactor
13440 hardcode_into_libs=yes
13441 if test "$host_cpu" = ia64; then
13442 # AIX 5 supports IA64
13443 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13444 shlibpath_var=LD_LIBRARY_PATH
13446 # With GCC up to 2.95.x, collect2 would create an import file
13447 # for dependence libraries. The import file would start with
13448 # the line `#! .'. This would cause the generated library to
13449 # depend on `.', always an invalid library. This was fixed in
13450 # development snapshots of GCC prior to 3.0.
13452 aix4 | aix4.[01] | aix4.[01].*)
13453 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13455 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13458 can_build_shared=no
13462 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13463 # soname into executable. Probably we can add versioning support to
13464 # collect2, so additional links can be useful in future.
13465 if test "$aix_use_runtimelinking" = yes; then
13466 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13467 # instead of lib<name>.a to let people know that these are not
13468 # typical AIX shared libraries.
13469 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13471 # We preserve .a as extension for shared libraries through AIX4.2
13472 # and later when we are not doing run time linking.
13473 library_names_spec='${libname}${release}.a $libname.a'
13474 soname_spec='${libname}${release}${shared_ext}$major'
13476 shlibpath_var=LIBPATH
13483 # Since July 2007 AmigaOS4 officially supports .so libraries.
13484 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13485 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13488 library_names_spec='$libname.ixlibrary $libname.a'
13489 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13490 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'
13496 library_names_spec='${libname}${shared_ext}'
13497 dynamic_linker="$host_os ld.so"
13498 shlibpath_var=LIBRARY_PATH
13502 version_type=linux # correct to gnu/linux during the next big refactor
13504 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13505 soname_spec='${libname}${release}${shared_ext}$major'
13506 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13507 shlibpath_var=LD_LIBRARY_PATH
13508 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13509 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13510 # the default ld.so.conf also contains /usr/contrib/lib and
13511 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13512 # libtool to hard-code these into programs
13515 cygwin* | mingw* | pw32* | cegcc*)
13516 version_type=windows
13521 case $GCC,$cc_basename in
13524 library_names_spec='$libname.dll.a'
13525 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13526 postinstall_cmds='base_file=`basename \${file}`~
13527 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13528 dldir=$destdir/`dirname \$dlpath`~
13529 test -d \$dldir || mkdir -p \$dldir~
13530 $install_prog $dir/$dlname \$dldir/$dlname~
13531 chmod a+x \$dldir/$dlname~
13532 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13533 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13535 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13536 dlpath=$dir/\$dldll~
13538 shlibpath_overrides_runpath=yes
13542 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13543 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13545 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
13548 # MinGW DLLs use traditional 'lib' prefix
13549 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13552 # pw32 DLLs use 'pw' prefix rather than 'lib'
13553 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13556 dynamic_linker='Win32 ld.exe'
13561 libname_spec='$name'
13562 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13563 library_names_spec='${libname}.dll.lib'
13567 sys_lib_search_path_spec=
13570 for lt_path in $LIB
13573 # Let DOS variable expansion print the short 8.3 style file name.
13574 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
13575 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
13578 # Convert to MSYS style.
13579 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
13582 # Convert to unix form, then to dos form, then back to unix form
13583 # but this time dos style (no spaces!) so that the unix form looks
13584 # like /cygdrive/c/PROGRA~1:/cygdr...
13585 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
13586 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
13587 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13590 sys_lib_search_path_spec="$LIB"
13591 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13592 # It is most probably a Windows format PATH.
13593 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13595 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13597 # FIXME: find the short name or the path components, as spaces are
13598 # common. (e.g. "Program Files" -> "PROGRA~1")
13602 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13603 postinstall_cmds='base_file=`basename \${file}`~
13604 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13605 dldir=$destdir/`dirname \$dlpath`~
13606 test -d \$dldir || mkdir -p \$dldir~
13607 $install_prog $dir/$dlname \$dldir/$dlname'
13608 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13609 dlpath=$dir/\$dldll~
13611 shlibpath_overrides_runpath=yes
13612 dynamic_linker='Win32 link.exe'
13616 # Assume MSVC wrapper
13617 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13618 dynamic_linker='Win32 ld.exe'
13621 # FIXME: first we should search . and the directory the executable is in
13625 darwin* | rhapsody*)
13626 dynamic_linker="$host_os dyld"
13627 version_type=darwin
13630 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13631 soname_spec='${libname}${release}${major}$shared_ext'
13632 shlibpath_overrides_runpath=yes
13633 shlibpath_var=DYLD_LIBRARY_PATH
13634 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13636 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
13637 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13641 version_type=linux # correct to gnu/linux during the next big refactor
13644 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13645 soname_spec='${libname}${release}${shared_ext}$major'
13646 shlibpath_var=LD_LIBRARY_PATH
13649 freebsd* | dragonfly*)
13650 # DragonFly does not have aout. When/if they implement a new
13651 # versioning mechanism, adjust this.
13652 if test -x /usr/bin/objformat; then
13653 objformat=`/usr/bin/objformat`
13656 freebsd[23].*) objformat=aout ;;
13657 *) objformat=elf ;;
13660 version_type=freebsd-$objformat
13661 case $version_type in
13663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13668 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13672 shlibpath_var=LD_LIBRARY_PATH
13675 shlibpath_overrides_runpath=yes
13677 freebsd3.[01]* | freebsdelf3.[01]*)
13678 shlibpath_overrides_runpath=yes
13679 hardcode_into_libs=yes
13681 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13682 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13683 shlibpath_overrides_runpath=no
13684 hardcode_into_libs=yes
13686 *) # from 4.6 on, and DragonFly
13687 shlibpath_overrides_runpath=yes
13688 hardcode_into_libs=yes
13694 version_type=linux # correct to gnu/linux during the next big refactor
13697 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13698 soname_spec='${libname}${release}${shared_ext}$major'
13699 shlibpath_var=LD_LIBRARY_PATH
13700 shlibpath_overrides_runpath=no
13701 hardcode_into_libs=yes
13705 version_type=linux # correct to gnu/linux during the next big refactor
13708 dynamic_linker="$host_os runtime_loader"
13709 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13710 soname_spec='${libname}${release}${shared_ext}$major'
13711 shlibpath_var=LIBRARY_PATH
13712 shlibpath_overrides_runpath=yes
13713 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13714 hardcode_into_libs=yes
13717 hpux9* | hpux10* | hpux11*)
13718 # Give a soname corresponding to the major version so that dld.sl refuses to
13719 # link against other versions.
13726 hardcode_into_libs=yes
13727 dynamic_linker="$host_os dld.so"
13728 shlibpath_var=LD_LIBRARY_PATH
13729 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13730 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13731 soname_spec='${libname}${release}${shared_ext}$major'
13732 if test "X$HPUX_IA64_MODE" = X32; then
13733 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13735 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13737 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13741 hardcode_into_libs=yes
13742 dynamic_linker="$host_os dld.sl"
13743 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13744 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13746 soname_spec='${libname}${release}${shared_ext}$major'
13747 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13748 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13752 dynamic_linker="$host_os dld.sl"
13753 shlibpath_var=SHLIB_PATH
13754 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13756 soname_spec='${libname}${release}${shared_ext}$major'
13759 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13760 postinstall_cmds='chmod 555 $lib'
13761 # or fails outright, so override atomically:
13762 install_override_mode=555
13766 version_type=linux # correct to gnu/linux during the next big refactor
13769 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13770 soname_spec='${libname}${release}${shared_ext}$major'
13771 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13772 shlibpath_var=LD_LIBRARY_PATH
13773 shlibpath_overrides_runpath=no
13774 hardcode_into_libs=yes
13777 irix5* | irix6* | nonstopux*)
13779 nonstopux*) version_type=nonstopux ;;
13781 if test "$lt_cv_prog_gnu_ld" = yes; then
13782 version_type=linux # correct to gnu/linux during the next big refactor
13789 soname_spec='${libname}${release}${shared_ext}$major'
13790 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13792 irix5* | nonstopux*)
13793 libsuff= shlibsuff=
13796 case $LD in # libtool.m4 will add one of these switches to LD
13797 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13798 libsuff= shlibsuff= libmagic=32-bit;;
13799 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13800 libsuff=32 shlibsuff=N32 libmagic=N32;;
13801 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13802 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13803 *) libsuff= shlibsuff= libmagic=never-match;;
13807 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13808 shlibpath_overrides_runpath=no
13809 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13810 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13811 hardcode_into_libs=yes
13814 # No shared lib support for Linux oldld, aout, or coff.
13815 linux*oldld* | linux*aout* | linux*coff*)
13819 # This must be glibc/ELF.
13820 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13821 version_type=linux # correct to gnu/linux during the next big refactor
13824 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13825 soname_spec='${libname}${release}${shared_ext}$major'
13826 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13827 shlibpath_var=LD_LIBRARY_PATH
13828 shlibpath_overrides_runpath=no
13830 # Some binutils ld are patched to set DT_RUNPATH
13831 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
13832 $as_echo_n "(cached) " >&6
13834 lt_cv_shlibpath_overrides_runpath=no
13835 save_LDFLAGS=$LDFLAGS
13836 save_libdir=$libdir
13837 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13838 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13839 if test x$ac_no_link = xyes; then
13840 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
13842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13843 /* end confdefs.h. */
13853 if ac_fn_c_try_link "$LINENO"; then :
13854 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
13855 lt_cv_shlibpath_overrides_runpath=yes
13858 rm -f core conftest.err conftest.$ac_objext \
13859 conftest$ac_exeext conftest.$ac_ext
13860 LDFLAGS=$save_LDFLAGS
13861 libdir=$save_libdir
13865 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13867 # This implies no fast_install, which is unacceptable.
13868 # Some rework will be needed to allow for fast_install
13869 # before this can be enabled.
13870 hardcode_into_libs=yes
13872 # Append ld.so.conf contents to the search path
13873 if test -f /etc/ld.so.conf; then
13874 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' ' '`
13875 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13878 # We used to test for /lib/ld.so.1 and disable shared libraries on
13879 # powerpc, because MkLinux only supported shared libraries with the
13880 # GNU dynamic linker. Since this was broken with cross compilers,
13881 # most powerpc-linux boxes support dynamic linking these days and
13882 # people can always --disable-shared, the test was removed, and we
13883 # assume the GNU/Linux dynamic linker is in use.
13884 dynamic_linker='GNU/Linux ld.so'
13891 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13893 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13894 dynamic_linker='NetBSD (a.out) ld.so'
13896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13897 soname_spec='${libname}${release}${shared_ext}$major'
13898 dynamic_linker='NetBSD ld.elf_so'
13900 shlibpath_var=LD_LIBRARY_PATH
13901 shlibpath_overrides_runpath=yes
13902 hardcode_into_libs=yes
13906 version_type=linux # correct to gnu/linux during the next big refactor
13907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13908 shlibpath_var=LD_LIBRARY_PATH
13909 shlibpath_overrides_runpath=yes
13916 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13917 soname_spec='${libname}${release}${shared_ext}$major'
13918 shlibpath_var=LD_LIBRARY_PATH
13919 shlibpath_overrides_runpath=no
13920 hardcode_into_libs=yes
13921 dynamic_linker='ldqnx.so'
13926 sys_lib_dlsearch_path_spec="/usr/lib"
13928 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13930 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13931 *) need_version=no ;;
13933 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13934 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13935 shlibpath_var=LD_LIBRARY_PATH
13936 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13938 openbsd2.[89] | openbsd2.[89].*)
13939 shlibpath_overrides_runpath=no
13942 shlibpath_overrides_runpath=yes
13946 shlibpath_overrides_runpath=yes
13951 libname_spec='$name'
13954 library_names_spec='$libname${shared_ext} $libname.a'
13955 dynamic_linker='OS/2 ld.exe'
13956 shlibpath_var=LIBPATH
13959 osf3* | osf4* | osf5*)
13963 soname_spec='${libname}${release}${shared_ext}$major'
13964 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13965 shlibpath_var=LD_LIBRARY_PATH
13966 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13967 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13975 version_type=linux # correct to gnu/linux during the next big refactor
13978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13979 soname_spec='${libname}${release}${shared_ext}$major'
13980 shlibpath_var=LD_LIBRARY_PATH
13981 shlibpath_overrides_runpath=yes
13982 hardcode_into_libs=yes
13983 # ldd complains unless libraries are executable
13984 postinstall_cmds='chmod +x $lib'
13989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13990 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13991 shlibpath_var=LD_LIBRARY_PATH
13992 shlibpath_overrides_runpath=yes
13993 if test "$with_gnu_ld" = yes; then
14000 version_type=linux # correct to gnu/linux during the next big refactor
14001 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14002 soname_spec='${libname}${release}${shared_ext}$major'
14003 shlibpath_var=LD_LIBRARY_PATH
14004 case $host_vendor in
14006 shlibpath_overrides_runpath=no
14008 runpath_var=LD_RUN_PATH
14016 shlibpath_overrides_runpath=no
14017 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14023 if test -d /usr/nec ;then
14024 version_type=linux # correct to gnu/linux during the next big refactor
14025 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14026 soname_spec='$libname${shared_ext}.$major'
14027 shlibpath_var=LD_LIBRARY_PATH
14031 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14032 version_type=freebsd-elf
14035 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14036 soname_spec='${libname}${release}${shared_ext}$major'
14037 shlibpath_var=LD_LIBRARY_PATH
14038 shlibpath_overrides_runpath=yes
14039 hardcode_into_libs=yes
14040 if test "$with_gnu_ld" = yes; then
14041 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14043 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14046 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14050 sys_lib_dlsearch_path_spec='/usr/lib'
14054 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14055 version_type=linux # correct to gnu/linux during the next big refactor
14058 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14059 shlibpath_var=LD_LIBRARY_PATH
14060 shlibpath_overrides_runpath=no
14061 hardcode_into_libs=yes
14065 version_type=linux # correct to gnu/linux during the next big refactor
14066 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14067 soname_spec='${libname}${release}${shared_ext}$major'
14068 shlibpath_var=LD_LIBRARY_PATH
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14076 $as_echo "$dynamic_linker" >&6; }
14077 test "$dynamic_linker" = no && can_build_shared=no
14079 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14080 if test "$GCC" = yes; then
14081 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14084 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14085 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14087 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14088 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14183 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14185 if test -n "$hardcode_libdir_flag_spec" ||
14186 test -n "$runpath_var" ||
14187 test "X$hardcode_automatic" = "Xyes" ; then
14189 # We can hardcode non-existent directories.
14190 if test "$hardcode_direct" != no &&
14191 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14192 # have to relink, otherwise we might link with an installed library
14193 # when we should be linking with a yet-to-be-installed one
14194 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
14195 test "$hardcode_minus_L" != no; then
14196 # Linking always hardcodes the temporary library directory.
14197 hardcode_action=relink
14199 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14200 hardcode_action=immediate
14203 # We cannot hardcode anything, or else we can only hardcode existing
14205 hardcode_action=unsupported
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14208 $as_echo "$hardcode_action" >&6; }
14210 if test "$hardcode_action" = relink ||
14211 test "$inherit_rpath" = yes; then
14212 # Fast installation is not supported
14213 enable_fast_install=no
14214 elif test "$shlibpath_overrides_runpath" = yes ||
14215 test "$enable_shared" = no; then
14216 # Fast installation is not necessary
14217 enable_fast_install=needless
14225 if test "x$enable_dlopen" != xyes; then
14226 enable_dlopen=unknown
14227 enable_dlopen_self=unknown
14228 enable_dlopen_self_static=unknown
14235 lt_cv_dlopen="load_add_on"
14237 lt_cv_dlopen_self=yes
14240 mingw* | pw32* | cegcc*)
14241 lt_cv_dlopen="LoadLibrary"
14246 lt_cv_dlopen="dlopen"
14251 # if libdl is installed we need to link against it
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14253 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14254 if ${ac_cv_lib_dl_dlopen+:} false; then :
14255 $as_echo_n "(cached) " >&6
14257 ac_check_lib_save_LIBS=$LIBS
14259 if test x$ac_no_link = xyes; then
14260 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
14262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14263 /* end confdefs.h. */
14265 /* Override any GCC internal prototype to avoid an error.
14266 Use char because int might match the return type of a GCC
14267 builtin and then its argument prototype would still apply. */
14280 if ac_fn_c_try_link "$LINENO"; then :
14281 ac_cv_lib_dl_dlopen=yes
14283 ac_cv_lib_dl_dlopen=no
14285 rm -f core conftest.err conftest.$ac_objext \
14286 conftest$ac_exeext conftest.$ac_ext
14287 LIBS=$ac_check_lib_save_LIBS
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14290 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14291 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14292 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14295 lt_cv_dlopen="dyld"
14297 lt_cv_dlopen_self=yes
14304 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
14305 if test "x$ac_cv_func_shl_load" = xyes; then :
14306 lt_cv_dlopen="shl_load"
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14309 $as_echo_n "checking for shl_load in -ldld... " >&6; }
14310 if ${ac_cv_lib_dld_shl_load+:} false; then :
14311 $as_echo_n "(cached) " >&6
14313 ac_check_lib_save_LIBS=$LIBS
14315 if test x$ac_no_link = xyes; then
14316 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
14318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14319 /* end confdefs.h. */
14321 /* Override any GCC internal prototype to avoid an error.
14322 Use char because int might match the return type of a GCC
14323 builtin and then its argument prototype would still apply. */
14331 return shl_load ();
14336 if ac_fn_c_try_link "$LINENO"; then :
14337 ac_cv_lib_dld_shl_load=yes
14339 ac_cv_lib_dld_shl_load=no
14341 rm -f core conftest.err conftest.$ac_objext \
14342 conftest$ac_exeext conftest.$ac_ext
14343 LIBS=$ac_check_lib_save_LIBS
14345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14346 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
14347 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
14348 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
14350 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14351 if test "x$ac_cv_func_dlopen" = xyes; then :
14352 lt_cv_dlopen="dlopen"
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14355 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14356 if ${ac_cv_lib_dl_dlopen+:} false; then :
14357 $as_echo_n "(cached) " >&6
14359 ac_check_lib_save_LIBS=$LIBS
14361 if test x$ac_no_link = xyes; then
14362 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
14364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14365 /* end confdefs.h. */
14367 /* Override any GCC internal prototype to avoid an error.
14368 Use char because int might match the return type of a GCC
14369 builtin and then its argument prototype would still apply. */
14382 if ac_fn_c_try_link "$LINENO"; then :
14383 ac_cv_lib_dl_dlopen=yes
14385 ac_cv_lib_dl_dlopen=no
14387 rm -f core conftest.err conftest.$ac_objext \
14388 conftest$ac_exeext conftest.$ac_ext
14389 LIBS=$ac_check_lib_save_LIBS
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14392 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14393 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14394 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14397 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
14398 if ${ac_cv_lib_svld_dlopen+:} false; then :
14399 $as_echo_n "(cached) " >&6
14401 ac_check_lib_save_LIBS=$LIBS
14402 LIBS="-lsvld $LIBS"
14403 if test x$ac_no_link = xyes; then
14404 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
14406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14407 /* end confdefs.h. */
14409 /* Override any GCC internal prototype to avoid an error.
14410 Use char because int might match the return type of a GCC
14411 builtin and then its argument prototype would still apply. */
14424 if ac_fn_c_try_link "$LINENO"; then :
14425 ac_cv_lib_svld_dlopen=yes
14427 ac_cv_lib_svld_dlopen=no
14429 rm -f core conftest.err conftest.$ac_objext \
14430 conftest$ac_exeext conftest.$ac_ext
14431 LIBS=$ac_check_lib_save_LIBS
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14434 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
14435 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
14436 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14439 $as_echo_n "checking for dld_link in -ldld... " >&6; }
14440 if ${ac_cv_lib_dld_dld_link+:} false; then :
14441 $as_echo_n "(cached) " >&6
14443 ac_check_lib_save_LIBS=$LIBS
14445 if test x$ac_no_link = xyes; then
14446 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
14448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14449 /* end confdefs.h. */
14451 /* Override any GCC internal prototype to avoid an error.
14452 Use char because int might match the return type of a GCC
14453 builtin and then its argument prototype would still apply. */
14461 return dld_link ();
14466 if ac_fn_c_try_link "$LINENO"; then :
14467 ac_cv_lib_dld_dld_link=yes
14469 ac_cv_lib_dld_dld_link=no
14471 rm -f core conftest.err conftest.$ac_objext \
14472 conftest$ac_exeext conftest.$ac_ext
14473 LIBS=$ac_check_lib_save_LIBS
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14476 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
14477 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
14478 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
14499 if test "x$lt_cv_dlopen" != xno; then
14505 case $lt_cv_dlopen in
14507 save_CPPFLAGS="$CPPFLAGS"
14508 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14510 save_LDFLAGS="$LDFLAGS"
14511 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14514 LIBS="$lt_cv_dlopen_libs $LIBS"
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14517 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
14518 if ${lt_cv_dlopen_self+:} false; then :
14519 $as_echo_n "(cached) " >&6
14521 if test "$cross_compiling" = yes; then :
14522 lt_cv_dlopen_self=cross
14524 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14525 lt_status=$lt_dlunknown
14526 cat > conftest.$ac_ext <<_LT_EOF
14527 #line $LINENO "configure"
14528 #include "confdefs.h"
14537 # define LT_DLGLOBAL RTLD_GLOBAL
14540 # define LT_DLGLOBAL DL_GLOBAL
14542 # define LT_DLGLOBAL 0
14546 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14547 find out it does not work in some platform. */
14548 #ifndef LT_DLLAZY_OR_NOW
14550 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14553 # define LT_DLLAZY_OR_NOW DL_LAZY
14556 # define LT_DLLAZY_OR_NOW RTLD_NOW
14559 # define LT_DLLAZY_OR_NOW DL_NOW
14561 # define LT_DLLAZY_OR_NOW 0
14568 /* When -fvisbility=hidden is used, assume the code has been annotated
14569 correspondingly for the symbols needed. */
14570 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14571 int fnord () __attribute__((visibility("default")));
14574 int fnord () { return 42; }
14577 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14578 int status = $lt_dlunknown;
14582 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14585 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14586 else puts (dlerror ());
14588 /* dlclose (self); */
14596 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14597 (eval $ac_link) 2>&5
14599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14600 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
14601 (./conftest; exit; ) >&5 2>/dev/null
14603 case x$lt_status in
14604 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14605 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14606 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
14609 # compilation failed
14610 lt_cv_dlopen_self=no
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14618 $as_echo "$lt_cv_dlopen_self" >&6; }
14620 if test "x$lt_cv_dlopen_self" = xyes; then
14621 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14623 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
14624 if ${lt_cv_dlopen_self_static+:} false; then :
14625 $as_echo_n "(cached) " >&6
14627 if test "$cross_compiling" = yes; then :
14628 lt_cv_dlopen_self_static=cross
14630 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14631 lt_status=$lt_dlunknown
14632 cat > conftest.$ac_ext <<_LT_EOF
14633 #line $LINENO "configure"
14634 #include "confdefs.h"
14643 # define LT_DLGLOBAL RTLD_GLOBAL
14646 # define LT_DLGLOBAL DL_GLOBAL
14648 # define LT_DLGLOBAL 0
14652 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14653 find out it does not work in some platform. */
14654 #ifndef LT_DLLAZY_OR_NOW
14656 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14659 # define LT_DLLAZY_OR_NOW DL_LAZY
14662 # define LT_DLLAZY_OR_NOW RTLD_NOW
14665 # define LT_DLLAZY_OR_NOW DL_NOW
14667 # define LT_DLLAZY_OR_NOW 0
14674 /* When -fvisbility=hidden is used, assume the code has been annotated
14675 correspondingly for the symbols needed. */
14676 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14677 int fnord () __attribute__((visibility("default")));
14680 int fnord () { return 42; }
14683 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14684 int status = $lt_dlunknown;
14688 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14691 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14692 else puts (dlerror ());
14694 /* dlclose (self); */
14702 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14703 (eval $ac_link) 2>&5
14705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14706 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
14707 (./conftest; exit; ) >&5 2>/dev/null
14709 case x$lt_status in
14710 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14711 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14712 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
14715 # compilation failed
14716 lt_cv_dlopen_self_static=no
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14724 $as_echo "$lt_cv_dlopen_self_static" >&6; }
14727 CPPFLAGS="$save_CPPFLAGS"
14728 LDFLAGS="$save_LDFLAGS"
14733 case $lt_cv_dlopen_self in
14734 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14735 *) enable_dlopen_self=unknown ;;
14738 case $lt_cv_dlopen_self_static in
14739 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14740 *) enable_dlopen_self_static=unknown ;;
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14763 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
14764 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
14765 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14766 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14768 $as_echo "yes" >&6; }
14770 # FIXME - insert some real tests, host_os isn't really good enough
14773 if test -n "$STRIP" ; then
14774 striplib="$STRIP -x"
14775 old_striplib="$STRIP -S"
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14777 $as_echo "yes" >&6; }
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14780 $as_echo "no" >&6; }
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14785 $as_echo "no" >&6; }
14801 # Report which library types will actually be built
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14803 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14805 $as_echo "$can_build_shared" >&6; }
14807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14808 $as_echo_n "checking whether to build shared libraries... " >&6; }
14809 test "$can_build_shared" = "no" && enable_shared=no
14811 # On AIX, shared libraries and static libraries use the same namespace, and
14812 # are all built from PIC.
14815 test "$enable_shared" = yes && enable_static=no
14816 if test -n "$RANLIB"; then
14817 archive_cmds="$archive_cmds~\$RANLIB \$lib"
14818 postinstall_cmds='$RANLIB $lib'
14823 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14824 test "$enable_shared" = yes && enable_static=no
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14829 $as_echo "$enable_shared" >&6; }
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14832 $as_echo_n "checking whether to build static libraries... " >&6; }
14833 # Make sure either enable_shared or enable_static is yes.
14834 test "$enable_shared" = yes || enable_static=yes
14835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14836 $as_echo "$enable_static" >&6; }
14843 ac_cpp='$CPP $CPPFLAGS'
14844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14850 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14851 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14852 (test "X$CXX" != "Xg++"))) ; then
14854 ac_cpp='$CXXCPP $CPPFLAGS'
14855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14859 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14860 if test -z "$CXXCPP"; then
14861 if ${ac_cv_prog_CXXCPP+:} false; then :
14862 $as_echo_n "(cached) " >&6
14864 # Double quotes because CXXCPP needs to be expanded
14865 for CXXCPP in "$CXX -E" "/lib/cpp"
14867 ac_preproc_ok=false
14868 for ac_cxx_preproc_warn_flag in '' yes
14870 # Use a header file that comes with gcc, so configuring glibc
14871 # with a fresh cross-compiler works.
14872 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14873 # <limits.h> exists even on freestanding compilers.
14874 # On the NeXT, cc -E runs the code through the compiler's parser,
14875 # not just through cpp. "Syntax error" is here to catch this case.
14876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14877 /* end confdefs.h. */
14879 # include <limits.h>
14881 # include <assert.h>
14885 if ac_fn_cxx_try_cpp "$LINENO"; then :
14888 # Broken: fails on valid input.
14891 rm -f conftest.err conftest.i conftest.$ac_ext
14893 # OK, works on sane cases. Now check whether nonexistent headers
14894 # can be detected and how.
14895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14896 /* end confdefs.h. */
14897 #include <ac_nonexistent.h>
14899 if ac_fn_cxx_try_cpp "$LINENO"; then :
14900 # Broken: success on invalid input.
14903 # Passes both tests.
14907 rm -f conftest.err conftest.i conftest.$ac_ext
14910 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14911 rm -f conftest.i conftest.err conftest.$ac_ext
14912 if $ac_preproc_ok; then :
14917 ac_cv_prog_CXXCPP=$CXXCPP
14920 CXXCPP=$ac_cv_prog_CXXCPP
14922 ac_cv_prog_CXXCPP=$CXXCPP
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14925 $as_echo "$CXXCPP" >&6; }
14926 ac_preproc_ok=false
14927 for ac_cxx_preproc_warn_flag in '' yes
14929 # Use a header file that comes with gcc, so configuring glibc
14930 # with a fresh cross-compiler works.
14931 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14932 # <limits.h> exists even on freestanding compilers.
14933 # On the NeXT, cc -E runs the code through the compiler's parser,
14934 # not just through cpp. "Syntax error" is here to catch this case.
14935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14936 /* end confdefs.h. */
14938 # include <limits.h>
14940 # include <assert.h>
14944 if ac_fn_cxx_try_cpp "$LINENO"; then :
14947 # Broken: fails on valid input.
14950 rm -f conftest.err conftest.i conftest.$ac_ext
14952 # OK, works on sane cases. Now check whether nonexistent headers
14953 # can be detected and how.
14954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14955 /* end confdefs.h. */
14956 #include <ac_nonexistent.h>
14958 if ac_fn_cxx_try_cpp "$LINENO"; then :
14959 # Broken: success on invalid input.
14962 # Passes both tests.
14966 rm -f conftest.err conftest.i conftest.$ac_ext
14969 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14970 rm -f conftest.i conftest.err conftest.$ac_ext
14971 if $ac_preproc_ok; then :
14974 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14975 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14976 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14977 See \`config.log' for more details" "$LINENO" 5; }
14981 ac_cpp='$CPP $CPPFLAGS'
14982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14987 _lt_caught_CXX_error=yes
14991 ac_cpp='$CXXCPP $CPPFLAGS'
14992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14996 archive_cmds_need_lc_CXX=no
14997 allow_undefined_flag_CXX=
14998 always_export_symbols_CXX=no
14999 archive_expsym_cmds_CXX=
15000 compiler_needs_object_CXX=no
15001 export_dynamic_flag_spec_CXX=
15002 hardcode_direct_CXX=no
15003 hardcode_direct_absolute_CXX=no
15004 hardcode_libdir_flag_spec_CXX=
15005 hardcode_libdir_separator_CXX=
15006 hardcode_minus_L_CXX=no
15007 hardcode_shlibpath_var_CXX=unsupported
15008 hardcode_automatic_CXX=no
15009 inherit_rpath_CXX=no
15011 module_expsym_cmds_CXX=
15012 link_all_deplibs_CXX=unknown
15013 old_archive_cmds_CXX=$old_archive_cmds
15014 reload_flag_CXX=$reload_flag
15015 reload_cmds_CXX=$reload_cmds
15016 no_undefined_flag_CXX=
15017 whole_archive_flag_spec_CXX=
15018 enable_shared_with_static_runtimes_CXX=no
15020 # Source file extension for C++ test sources.
15023 # Object file extension for compiled C++ test sources.
15027 # No sense in running all these tests if we already determined that
15028 # the CXX compiler isn't working. Some variables (like enable_shared)
15029 # are currently assumed to apply to all compilers on this platform,
15030 # and will be corrupted by setting them based on a non-working compiler.
15031 if test "$_lt_caught_CXX_error" != yes; then
15032 # Code to be used in simple compile tests
15033 lt_simple_compile_test_code="int some_variable = 0;"
15035 # Code to be used in simple link tests
15036 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
15038 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15045 # If no C compiler was specified, use CC.
15048 # If no C compiler flags were specified, use CFLAGS.
15049 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15051 # Allow CC to be a program name with arguments.
15055 # save warnings/boilerplate of simple test code
15056 ac_outfile=conftest.$ac_objext
15057 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15058 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15059 _lt_compiler_boilerplate=`cat conftest.err`
15062 ac_outfile=conftest.$ac_objext
15063 echo "$lt_simple_link_test_code" >conftest.$ac_ext
15064 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15065 _lt_linker_boilerplate=`cat conftest.err`
15069 # Allow CC to be a program name with arguments.
15071 lt_save_CFLAGS=$CFLAGS
15075 lt_save_with_gnu_ld=$with_gnu_ld
15076 lt_save_path_LD=$lt_cv_path_LD
15077 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
15078 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
15080 $as_unset lt_cv_prog_gnu_ld
15082 if test -n "${lt_cv_path_LDCXX+set}"; then
15083 lt_cv_path_LD=$lt_cv_path_LDCXX
15085 $as_unset lt_cv_path_LD
15087 test -z "${LDCXX+set}" || LD=$LDCXX
15092 for cc_temp in $compiler""; do
15094 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15095 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15100 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15103 if test -n "$compiler"; then
15104 # We don't want -fno-exception when compiling C++ code, so set the
15105 # no_builtin_flag separately
15106 if test "$GXX" = yes; then
15107 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
15109 lt_prog_compiler_no_builtin_flag_CXX=
15112 if test "$GXX" = yes; then
15113 # Set up default GNU C++ configuration
15117 # Check whether --with-gnu-ld was given.
15118 if test "${with_gnu_ld+set}" = set; then :
15119 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
15125 if test "$GCC" = yes; then
15126 # Check if gcc -print-prog-name=ld gives a path.
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
15128 $as_echo_n "checking for ld used by $CC... " >&6; }
15131 # gcc leaves a trailing carriage return which upsets mingw
15132 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15134 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
15137 # Accept absolute paths.
15139 re_direlt='/[^/][^/]*/\.\./'
15140 # Canonicalize the pathname of ld
15141 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
15142 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
15143 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
15145 test -z "$LD" && LD="$ac_prog"
15148 # If it fails, then pretend we aren't using GCC.
15152 # If it is relative, then search for the first ld in PATH.
15153 with_gnu_ld=unknown
15156 elif test "$with_gnu_ld" = yes; then
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15158 $as_echo_n "checking for GNU ld... " >&6; }
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15161 $as_echo_n "checking for non-GNU ld... " >&6; }
15163 if ${lt_cv_path_LD+:} false; then :
15164 $as_echo_n "(cached) " >&6
15166 if test -z "$LD"; then
15167 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
15168 for ac_dir in $PATH; do
15170 test -z "$ac_dir" && ac_dir=.
15171 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15172 lt_cv_path_LD="$ac_dir/$ac_prog"
15173 # Check to see if the program is GNU ld. I'd rather use --version,
15174 # but apparently some variants of GNU ld only accept -v.
15175 # Break only if it was the GNU/non-GNU ld that we prefer.
15176 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15177 *GNU* | *'with BFD'*)
15178 test "$with_gnu_ld" != no && break
15181 test "$with_gnu_ld" != yes && break
15188 lt_cv_path_LD="$LD" # Let the user override the test with a path.
15192 LD="$lt_cv_path_LD"
15193 if test -n "$LD"; then
15194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15195 $as_echo "$LD" >&6; }
15197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15198 $as_echo "no" >&6; }
15200 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
15201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15202 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15203 if ${lt_cv_prog_gnu_ld+:} false; then :
15204 $as_echo_n "(cached) " >&6
15206 # I'd rather use --version here, but apparently some GNU lds only accept -v.
15207 case `$LD -v 2>&1 </dev/null` in
15208 *GNU* | *'with BFD'*)
15209 lt_cv_prog_gnu_ld=yes
15212 lt_cv_prog_gnu_ld=no
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
15217 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
15218 with_gnu_ld=$lt_cv_prog_gnu_ld
15226 # Check if GNU C++ uses GNU ld as the underlying linker, since the
15227 # archiving commands below assume that GNU ld is being used.
15228 if test "$with_gnu_ld" = yes; then
15229 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15230 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15232 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15233 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15235 # If archive_cmds runs LD, not CC, wlarc should be empty
15236 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
15237 # investigate it a little bit more. (MM)
15240 # ancient GNU ld didn't support --whole-archive et. al.
15241 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
15242 $GREP 'no-whole-archive' > /dev/null; then
15243 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15245 whole_archive_flag_spec_CXX=
15251 # A generic and very simple default shared library creation
15252 # command for GNU C++ for the case where it uses the native
15253 # linker, instead of GNU ld. If possible, this setting should
15254 # overridden to take advantage of the native linker features on
15255 # the platform it is being used on.
15256 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15259 # Commands to make compiler produce verbose output that lists
15260 # what "hidden" libraries, object files and flags are used when
15261 # linking a shared library.
15262 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15270 # PORTME: fill in a description of your system's C++ link characteristics
15271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15272 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15276 # FIXME: insert proper C++ library support
15280 if test "$host_cpu" = ia64; then
15281 # On IA64, the linker does run time linking by default, so we don't
15282 # have to do anything special.
15283 aix_use_runtimelinking=no
15284 exp_sym_flag='-Bexport'
15287 aix_use_runtimelinking=no
15289 # Test if we are trying to use run time linking or normal
15290 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15291 # need to do runtime linking.
15292 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15293 for ld_flag in $LDFLAGS; do
15296 aix_use_runtimelinking=yes
15304 exp_sym_flag='-bexport'
15305 no_entry_flag='-bnoentry'
15308 # When large executables or shared objects are built, AIX ld can
15309 # have problems creating the table of contents. If linking a library
15310 # or program results in "error TOC overflow" add -mminimal-toc to
15311 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15312 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15314 archive_cmds_CXX=''
15315 hardcode_direct_CXX=yes
15316 hardcode_direct_absolute_CXX=yes
15317 hardcode_libdir_separator_CXX=':'
15318 link_all_deplibs_CXX=yes
15319 file_list_spec_CXX='${wl}-f,'
15321 if test "$GXX" = yes; then
15322 case $host_os in aix4.[012]|aix4.[012].*)
15323 # We only want to do this on AIX 4.2 and lower, the check
15324 # below for broken collect2 doesn't work under 4.3+
15325 collect2name=`${CC} -print-prog-name=collect2`
15326 if test -f "$collect2name" &&
15327 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
15329 # We have reworked collect2
15332 # We have old collect2
15333 hardcode_direct_CXX=unsupported
15334 # It fails to find uninstalled libraries when the uninstalled
15335 # path is not listed in the libpath. Setting hardcode_minus_L
15336 # to unsupported forces relinking
15337 hardcode_minus_L_CXX=yes
15338 hardcode_libdir_flag_spec_CXX='-L$libdir'
15339 hardcode_libdir_separator_CXX=
15342 shared_flag='-shared'
15343 if test "$aix_use_runtimelinking" = yes; then
15344 shared_flag="$shared_flag "'${wl}-G'
15348 if test "$host_cpu" = ia64; then
15349 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15350 # chokes on -Wl,-G. The following line is correct:
15353 if test "$aix_use_runtimelinking" = yes; then
15354 shared_flag='${wl}-G'
15356 shared_flag='${wl}-bM:SRE'
15361 export_dynamic_flag_spec_CXX='${wl}-bexpall'
15362 # It seems that -bexpall does not export symbols beginning with
15363 # underscore (_), so it is better to generate a list of symbols to
15365 always_export_symbols_CXX=yes
15366 if test "$aix_use_runtimelinking" = yes; then
15367 # Warning - without using the other runtime loading flags (-brtl),
15368 # -berok will link without error, but may produce a broken library.
15369 allow_undefined_flag_CXX='-berok'
15370 # Determine the default libpath from the value encoded in an empty
15372 if test "${lt_cv_aix_libpath+set}" = set; then
15373 aix_libpath=$lt_cv_aix_libpath
15375 if ${lt_cv_aix_libpath__CXX+:} false; then :
15376 $as_echo_n "(cached) " >&6
15378 if test x$ac_no_link = xyes; then
15379 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
15381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15382 /* end confdefs.h. */
15392 if ac_fn_cxx_try_link "$LINENO"; then :
15394 lt_aix_libpath_sed='
15395 /Import File Strings/,/^$/ {
15397 s/^0 *\([^ ]*\) *$/\1/
15401 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15402 # Check for a 64-bit object if we didn't find anything.
15403 if test -z "$lt_cv_aix_libpath__CXX"; then
15404 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15407 rm -f core conftest.err conftest.$ac_objext \
15408 conftest$ac_exeext conftest.$ac_ext
15409 if test -z "$lt_cv_aix_libpath__CXX"; then
15410 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
15415 aix_libpath=$lt_cv_aix_libpath__CXX
15418 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15420 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15422 if test "$host_cpu" = ia64; then
15423 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
15424 allow_undefined_flag_CXX="-z nodefs"
15425 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
15427 # Determine the default libpath from the value encoded in an
15428 # empty executable.
15429 if test "${lt_cv_aix_libpath+set}" = set; then
15430 aix_libpath=$lt_cv_aix_libpath
15432 if ${lt_cv_aix_libpath__CXX+:} false; then :
15433 $as_echo_n "(cached) " >&6
15435 if test x$ac_no_link = xyes; then
15436 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
15438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15439 /* end confdefs.h. */
15449 if ac_fn_cxx_try_link "$LINENO"; then :
15451 lt_aix_libpath_sed='
15452 /Import File Strings/,/^$/ {
15454 s/^0 *\([^ ]*\) *$/\1/
15458 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15459 # Check for a 64-bit object if we didn't find anything.
15460 if test -z "$lt_cv_aix_libpath__CXX"; then
15461 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15464 rm -f core conftest.err conftest.$ac_objext \
15465 conftest$ac_exeext conftest.$ac_ext
15466 if test -z "$lt_cv_aix_libpath__CXX"; then
15467 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
15472 aix_libpath=$lt_cv_aix_libpath__CXX
15475 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15476 # Warning - without using the other run time loading flags,
15477 # -berok will link without error, but may produce a broken library.
15478 no_undefined_flag_CXX=' ${wl}-bernotok'
15479 allow_undefined_flag_CXX=' ${wl}-berok'
15480 if test "$with_gnu_ld" = yes; then
15481 # We only use this code for GNU lds that support --whole-archive.
15482 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15484 # Exported symbols can be pulled into shared objects from archives
15485 whole_archive_flag_spec_CXX='$convenience'
15487 archive_cmds_need_lc_CXX=yes
15488 # This is similar to how AIX traditionally builds its shared
15490 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
15496 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15497 allow_undefined_flag_CXX=unsupported
15498 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15499 # support --undefined. This deserves some investigation. FIXME
15500 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15507 case $cc_basename in
15509 # FIXME: insert proper C++ library support
15515 cygwin* | mingw* | pw32* | cegcc*)
15516 case $GXX,$cc_basename in
15519 # hardcode_libdir_flag_spec is actually meaningless, as there is
15520 # no search path for DLLs.
15521 hardcode_libdir_flag_spec_CXX=' '
15522 allow_undefined_flag_CXX=unsupported
15523 always_export_symbols_CXX=yes
15524 file_list_spec_CXX='@'
15525 # Tell ltmain to make .lib files, not .a files.
15527 # Tell ltmain to make .dll files, not .so files.
15529 # FIXME: Setting linknames here is a bad hack.
15530 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
15531 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15532 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
15534 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
15536 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15538 # The linker will not automatically build a static lib if we build a DLL.
15539 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15540 enable_shared_with_static_runtimes_CXX=yes
15542 old_postinstall_cmds_CXX='chmod 644 $oldlib'
15543 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
15544 lt_tool_outputfile="@TOOL_OUTPUT@"~
15545 case $lt_outputfile in
15548 lt_outputfile="$lt_outputfile.exe"
15549 lt_tool_outputfile="$lt_tool_outputfile.exe"
15552 func_to_tool_file "$lt_outputfile"~
15553 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
15554 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15555 $RM "$lt_outputfile.manifest";
15560 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15561 # as there is no search path for DLLs.
15562 hardcode_libdir_flag_spec_CXX='-L$libdir'
15563 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
15564 allow_undefined_flag_CXX=unsupported
15565 always_export_symbols_CXX=no
15566 enable_shared_with_static_runtimes_CXX=yes
15568 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15569 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15570 # If the export-symbols file already is a .def file (1st line
15571 # is EXPORTS), use it as is; otherwise, prepend...
15572 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15573 cp $export_symbols $output_objdir/$soname.def;
15575 echo EXPORTS > $output_objdir/$soname.def;
15576 cat $export_symbols >> $output_objdir/$soname.def;
15578 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15585 darwin* | rhapsody*)
15588 archive_cmds_need_lc_CXX=no
15589 hardcode_direct_CXX=no
15590 hardcode_automatic_CXX=yes
15591 hardcode_shlibpath_var_CXX=unsupported
15592 if test "$lt_cv_ld_force_load" = "yes"; then
15593 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
15596 whole_archive_flag_spec_CXX=''
15598 link_all_deplibs_CXX=yes
15599 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
15600 case $cc_basename in
15601 ifort*) _lt_dar_can_shared=yes ;;
15602 *) _lt_dar_can_shared=$GCC ;;
15604 if test "$_lt_dar_can_shared" = "yes"; then
15605 output_verbose_link_cmd=func_echo_all
15606 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
15607 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15608 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
15609 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
15610 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
15611 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
15612 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
15622 case $cc_basename in
15624 # FIXME: insert proper C++ library support
15628 # Green Hills C++ Compiler
15629 # FIXME: insert proper C++ library support
15633 # FIXME: insert proper C++ library support
15640 # C++ shared libraries reported to be fairly broken before
15646 archive_cmds_need_lc_CXX=no
15649 freebsd* | dragonfly*)
15650 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15659 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15660 link_all_deplibs_CXX=yes
15664 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15665 hardcode_libdir_separator_CXX=:
15666 export_dynamic_flag_spec_CXX='${wl}-E'
15667 hardcode_direct_CXX=yes
15668 hardcode_minus_L_CXX=yes # Not in the search PATH,
15669 # but as the default
15670 # location of the library.
15672 case $cc_basename in
15674 # FIXME: insert proper C++ library support
15678 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15679 # Commands to make compiler produce verbose output that lists
15680 # what "hidden" libraries, object files and flags are used when
15681 # linking a shared library.
15683 # There doesn't appear to be a way to prevent this compiler from
15684 # explicitly linking system object files so we need to strip them
15685 # from the output so that they don't get included in the library
15687 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15690 if test "$GXX" = yes; then
15691 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15693 # FIXME: insert proper C++ library support
15701 if test $with_gnu_ld = no; then
15702 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15703 hardcode_libdir_separator_CXX=:
15709 export_dynamic_flag_spec_CXX='${wl}-E'
15715 hardcode_direct_CXX=no
15716 hardcode_shlibpath_var_CXX=no
15719 hardcode_direct_CXX=yes
15720 hardcode_direct_absolute_CXX=yes
15721 hardcode_minus_L_CXX=yes # Not in the search PATH,
15722 # but as the default
15723 # location of the library.
15727 case $cc_basename in
15729 # FIXME: insert proper C++ library support
15735 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15738 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15741 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15744 # Commands to make compiler produce verbose output that lists
15745 # what "hidden" libraries, object files and flags are used when
15746 # linking a shared library.
15748 # There doesn't appear to be a way to prevent this compiler from
15749 # explicitly linking system object files so we need to strip them
15750 # from the output so that they don't get included in the library
15752 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15755 if test "$GXX" = yes; then
15756 if test $with_gnu_ld = no; then
15759 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15762 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15765 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15770 # FIXME: insert proper C++ library support
15778 hardcode_direct_CXX=no
15779 hardcode_shlibpath_var_CXX=no
15780 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15781 export_dynamic_flag_spec_CXX='${wl}-E'
15782 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15783 # Instead, shared libraries are loaded at an image base (0x10000000 by
15784 # default) and relocated if they conflict, which is a slow very memory
15785 # consuming and fragmenting process. To avoid this, we pick a random,
15786 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15787 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15788 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15789 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15792 case $cc_basename in
15795 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15797 # Archives containing C++ object files must be created using
15798 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15799 # necessary to make sure instantiated templates are included
15801 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15804 if test "$GXX" = yes; then
15805 if test "$with_gnu_ld" = no; then
15806 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15808 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
15811 link_all_deplibs_CXX=yes
15814 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15815 hardcode_libdir_separator_CXX=:
15816 inherit_rpath_CXX=yes
15819 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15820 case $cc_basename in
15822 # Kuck and Associates, Inc. (KAI) C++ Compiler
15824 # KCC will only create a shared library if the output file
15825 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15826 # to its proper name (with version) after linking.
15827 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
15828 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
15829 # Commands to make compiler produce verbose output that lists
15830 # what "hidden" libraries, object files and flags are used when
15831 # linking a shared library.
15833 # There doesn't appear to be a way to prevent this compiler from
15834 # explicitly linking system object files so we need to strip them
15835 # from the output so that they don't get included in the library
15837 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15839 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15840 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15842 # Archives containing C++ object files must be created using
15843 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15844 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15849 # version 8.0 and above of icpc choke on multiply defined symbols
15850 # if we add $predep_objects and $postdep_objects, however 7.1 and
15851 # earlier do not add the objects themselves.
15852 case `$CC -V 2>&1` in
15854 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15855 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15857 *) # Version 8.0 or newer
15860 ia64*) tmp_idyn=' -i_dynamic';;
15862 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15863 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15866 archive_cmds_need_lc_CXX=no
15867 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15868 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15869 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15872 # Portland Group C++ compiler
15874 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15875 prelink_cmds_CXX='tpldir=Template.dir~
15877 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15878 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15879 old_archive_cmds_CXX='tpldir=Template.dir~
15881 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15882 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15884 archive_cmds_CXX='tpldir=Template.dir~
15886 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15887 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15888 archive_expsym_cmds_CXX='tpldir=Template.dir~
15890 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15891 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
15893 *) # Version 6 and above use weak symbols
15894 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15895 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
15899 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15900 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15901 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
15905 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15906 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
15908 runpath_var=LD_RUN_PATH
15909 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15910 hardcode_libdir_separator_CXX=:
15912 # Commands to make compiler produce verbose output that lists
15913 # what "hidden" libraries, object files and flags are used when
15914 # linking a shared library.
15916 # There doesn't appear to be a way to prevent this compiler from
15917 # explicitly linking system object files so we need to strip them
15918 # from the output so that they don't get included in the library
15920 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
15922 xl* | mpixl* | bgxl*)
15923 # IBM XL 8.0 on PPC, with GNU ld
15924 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15925 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15926 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15927 if test "x$supports_anon_versioning" = xyes; then
15928 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15929 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15930 echo "local: *; };" >> $output_objdir/$libname.ver~
15931 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15935 case `$CC -V 2>&1 | sed 5q` in
15938 no_undefined_flag_CXX=' -zdefs'
15939 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15940 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
15941 hardcode_libdir_flag_spec_CXX='-R$libdir'
15942 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
15943 compiler_needs_object_CXX=yes
15945 # Not sure whether something based on
15946 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15948 output_verbose_link_cmd='func_echo_all'
15950 # Archives containing C++ object files must be created using
15951 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15952 # necessary to make sure instantiated templates are included
15954 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15962 # FIXME: insert proper C++ library support
15967 # FIXME: insert proper C++ library support
15972 case $cc_basename in
15974 # FIXME: insert proper C++ library support
15978 # FIXME: insert proper C++ library support
15985 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15986 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15988 hardcode_libdir_flag_spec_CXX='-R$libdir'
15989 hardcode_direct_CXX=yes
15990 hardcode_shlibpath_var_CXX=no
15992 # Workaround some broken pre-1.5 toolchains
15993 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
16001 # C++ shared libraries are fairly broken
16006 if test -f /usr/libexec/ld.so; then
16007 hardcode_direct_CXX=yes
16008 hardcode_shlibpath_var_CXX=no
16009 hardcode_direct_absolute_CXX=yes
16010 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16011 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16012 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16013 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
16014 export_dynamic_flag_spec_CXX='${wl}-E'
16015 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16017 output_verbose_link_cmd=func_echo_all
16023 osf3* | osf4* | osf5*)
16024 case $cc_basename in
16026 # Kuck and Associates, Inc. (KAI) C++ Compiler
16028 # KCC will only create a shared library if the output file
16029 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16030 # to its proper name (with version) after linking.
16031 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
16033 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16034 hardcode_libdir_separator_CXX=:
16036 # Archives containing C++ object files must be created using
16037 # the KAI C++ compiler.
16039 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
16040 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
16044 # Rational C++ 2.4.1
16045 # FIXME: insert proper C++ library support
16051 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
16052 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
16053 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16056 allow_undefined_flag_CXX=' -expect_unresolved \*'
16057 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
16058 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
16059 echo "-hidden">> $lib.exp~
16060 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
16062 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16066 hardcode_libdir_separator_CXX=:
16068 # Commands to make compiler produce verbose output that lists
16069 # what "hidden" libraries, object files and flags are used when
16070 # linking a shared library.
16072 # There doesn't appear to be a way to prevent this compiler from
16073 # explicitly linking system object files so we need to strip them
16074 # from the output so that they don't get included in the library
16076 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
16079 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
16080 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
16083 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16086 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16090 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16091 hardcode_libdir_separator_CXX=:
16093 # Commands to make compiler produce verbose output that lists
16094 # what "hidden" libraries, object files and flags are used when
16095 # linking a shared library.
16096 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16099 # FIXME: insert proper C++ library support
16107 # FIXME: insert proper C++ library support
16112 case $cc_basename in
16115 # FIXME: insert proper C++ library support
16120 # FIXME: insert proper C++ library support
16124 # FIXME: insert proper C++ library support
16131 case $cc_basename in
16133 # Sun C++ 4.2, 5.x and Centerline C++
16134 archive_cmds_need_lc_CXX=yes
16135 no_undefined_flag_CXX=' -zdefs'
16136 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16137 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16138 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16140 hardcode_libdir_flag_spec_CXX='-R$libdir'
16141 hardcode_shlibpath_var_CXX=no
16143 solaris2.[0-5] | solaris2.[0-5].*) ;;
16145 # The compiler driver will combine and reorder linker options,
16146 # but understands `-z linker_flag'.
16147 # Supported since Solaris 2.6 (maybe 2.5.1?)
16148 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
16151 link_all_deplibs_CXX=yes
16153 output_verbose_link_cmd='func_echo_all'
16155 # Archives containing C++ object files must be created using
16156 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16157 # necessary to make sure instantiated templates are included
16159 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
16162 # Green Hills C++ Compiler
16163 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16165 # The C++ compiler must be used to create the archive.
16166 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
16169 # GNU C++ compiler with Solaris linker
16170 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
16171 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
16172 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
16173 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16174 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16175 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16177 # Commands to make compiler produce verbose output that lists
16178 # what "hidden" libraries, object files and flags are used when
16179 # linking a shared library.
16180 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16182 # g++ 2.7 appears to require `-G' NOT `-shared' on this
16184 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16185 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16186 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16188 # Commands to make compiler produce verbose output that lists
16189 # what "hidden" libraries, object files and flags are used when
16190 # linking a shared library.
16191 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16194 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
16196 solaris2.[0-5] | solaris2.[0-5].*) ;;
16198 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16206 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16207 no_undefined_flag_CXX='${wl}-z,text'
16208 archive_cmds_need_lc_CXX=no
16209 hardcode_shlibpath_var_CXX=no
16210 runpath_var='LD_RUN_PATH'
16212 case $cc_basename in
16214 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16215 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16218 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16219 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16224 sysv5* | sco3.2v5* | sco5v6*)
16225 # Note: We can NOT use -z defs as we might desire, because we do not
16226 # link with -lc, and that would cause any symbols used from libc to
16227 # always be unresolved, which means just about no library would
16228 # ever link correctly. If we're not using GNU ld we use -z text
16229 # though, which does catch some bad symbols but isn't as heavy-handed
16231 no_undefined_flag_CXX='${wl}-z,text'
16232 allow_undefined_flag_CXX='${wl}-z,nodefs'
16233 archive_cmds_need_lc_CXX=no
16234 hardcode_shlibpath_var_CXX=no
16235 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
16236 hardcode_libdir_separator_CXX=':'
16237 link_all_deplibs_CXX=yes
16238 export_dynamic_flag_spec_CXX='${wl}-Bexport'
16239 runpath_var='LD_RUN_PATH'
16241 case $cc_basename in
16243 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16244 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16245 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
16246 '"$old_archive_cmds_CXX"
16247 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
16248 '"$reload_cmds_CXX"
16251 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16252 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16258 case $cc_basename in
16260 # NonStop-UX NCC 3.20
16261 # FIXME: insert proper C++ library support
16265 # FIXME: insert proper C++ library support
16272 # FIXME: insert proper C++ library support
16277 # FIXME: insert proper C++ library support
16282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16283 $as_echo "$ld_shlibs_CXX" >&6; }
16284 test "$ld_shlibs_CXX" = no && can_build_shared=no
16290 ## There is no encapsulation within the following macros, do not change
16291 ## the running order or otherwise move them around unless you know exactly
16292 ## what you are doing...
16293 # Dependencies to place before and after the object being linked:
16294 predep_objects_CXX=
16295 postdep_objects_CXX=
16298 compiler_lib_search_path_CXX=
16300 cat > conftest.$ac_ext <<_LT_EOF
16304 Foo (void) { a = 0; }
16311 _lt_libdeps_save_CFLAGS=$CFLAGS
16312 case "$CC $CFLAGS " in #(
16313 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
16314 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
16315 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
16318 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16319 (eval $ac_compile) 2>&5
16321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16322 test $ac_status = 0; }; then
16323 # Parse the compiler output and extract the necessary
16324 # objects, libraries and library flags.
16326 # Sentinel used to keep track of whether or not we are before
16327 # the conftest object file.
16328 pre_test_object_deps_done=no
16330 for p in `eval "$output_verbose_link_cmd"`; do
16331 case ${prev}${p} in
16334 # Some compilers place space between "-{L,R}" and the path.
16335 # Remove the space.
16336 if test $p = "-L" ||
16337 test $p = "-R"; then
16342 # Expand the sysroot to ease extracting the directories later.
16343 if test -z "$prev"; then
16345 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
16346 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
16347 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
16351 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
16353 if test "$pre_test_object_deps_done" = no; then
16356 # Internal compiler library paths should come after those
16357 # provided the user. The postdeps already come after the
16358 # user supplied libs so there is no need to process them.
16359 if test -z "$compiler_lib_search_path_CXX"; then
16360 compiler_lib_search_path_CXX="${prev}${p}"
16362 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
16365 # The "-l" case would never come before the object being
16366 # linked, so don't bother handling this case.
16369 if test -z "$postdeps_CXX"; then
16370 postdeps_CXX="${prev}${p}"
16372 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
16378 *.lto.$objext) ;; # Ignore GCC LTO objects
16380 # This assumes that the test object file only shows up
16381 # once in the compiler output.
16382 if test "$p" = "conftest.$objext"; then
16383 pre_test_object_deps_done=yes
16387 if test "$pre_test_object_deps_done" = no; then
16388 if test -z "$predep_objects_CXX"; then
16389 predep_objects_CXX="$p"
16391 predep_objects_CXX="$predep_objects_CXX $p"
16394 if test -z "$postdep_objects_CXX"; then
16395 postdep_objects_CXX="$p"
16397 postdep_objects_CXX="$postdep_objects_CXX $p"
16402 *) ;; # Ignore the rest.
16410 echo "libtool.m4: error: problem compiling CXX test program"
16413 $RM -f confest.$objext
16414 CFLAGS=$_lt_libdeps_save_CFLAGS
16416 # PORTME: override above test on systems where it is broken
16419 # Interix 3.5 installs completely hosed .la files for C++, so rather than
16420 # hack all around it, let's just trust "g++" to DTRT.
16421 predep_objects_CXX=
16422 postdep_objects_CXX=
16427 case `$CC -V 2>&1 | sed 5q` in
16431 # The more standards-conforming stlport4 library is
16432 # incompatible with the Cstd library. Avoid specifying
16433 # it if it's in CXXFLAGS. Ignore libCrun as
16434 # -library=stlport4 depends on it.
16435 case " $CXX $CXXFLAGS " in
16436 *" -library=stlport4 "*)
16437 solaris_use_stlport4=yes
16441 if test "$solaris_use_stlport4" != yes; then
16442 postdeps_CXX='-library=Cstd -library=Crun'
16449 case $cc_basename in
16451 # The more standards-conforming stlport4 library is
16452 # incompatible with the Cstd library. Avoid specifying
16453 # it if it's in CXXFLAGS. Ignore libCrun as
16454 # -library=stlport4 depends on it.
16455 case " $CXX $CXXFLAGS " in
16456 *" -library=stlport4 "*)
16457 solaris_use_stlport4=yes
16461 # Adding this requires a known-good setup of shared libraries for
16462 # Sun compiler versions before 5.6, else PIC objects from an old
16463 # archive will be linked into the output, leading to subtle bugs.
16464 if test "$solaris_use_stlport4" != yes; then
16465 postdeps_CXX='-library=Cstd -library=Crun'
16473 case " $postdeps_CXX " in
16474 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
16476 compiler_lib_search_dirs_CXX=
16477 if test -n "${compiler_lib_search_path_CXX}"; then
16478 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
16511 lt_prog_compiler_wl_CXX=
16512 lt_prog_compiler_pic_CXX=
16513 lt_prog_compiler_static_CXX=
16516 # C++ specific cases for pic, static, wl, etc.
16517 if test "$GXX" = yes; then
16518 lt_prog_compiler_wl_CXX='-Wl,'
16519 lt_prog_compiler_static_CXX='-static'
16523 # All AIX code is PIC.
16524 if test "$host_cpu" = ia64; then
16525 # AIX 5 now supports IA64 processor
16526 lt_prog_compiler_static_CXX='-Bstatic'
16533 # see comment about AmigaOS4 .so support
16534 lt_prog_compiler_pic_CXX='-fPIC'
16537 # FIXME: we need at least 68020 code to build shared libraries, but
16538 # adding the `-m68020' flag to GCC prevents building anything better,
16540 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16545 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16546 # PIC is the default for these OSes.
16548 mingw* | cygwin* | os2* | pw32* | cegcc*)
16549 # This hack is so that the source file can tell whether it is being
16550 # built for inclusion in a dll (and should export symbols for example).
16551 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16552 # (--disable-auto-import) libraries
16553 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16555 darwin* | rhapsody*)
16556 # PIC is the default on this platform
16557 # Common symbols not allowed in MH_DYLIB files
16558 lt_prog_compiler_pic_CXX='-fno-common'
16561 # DJGPP does not support shared libraries at all
16562 lt_prog_compiler_pic_CXX=
16565 # PIC is the default for Haiku.
16566 # The "-static" flag exists, but is broken.
16567 lt_prog_compiler_static_CXX=
16570 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16571 # Instead, we relocate shared libraries at runtime.
16574 if test -d /usr/nec; then
16575 lt_prog_compiler_pic_CXX=-Kconform_pic
16579 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16580 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16581 # sets the default TLS model and affects inlining.
16586 lt_prog_compiler_pic_CXX='-fPIC'
16591 # QNX uses GNU C++, but need to define -shared option too, otherwise
16592 # it will coredump.
16593 lt_prog_compiler_pic_CXX='-fPIC -shared'
16596 lt_prog_compiler_pic_CXX='-fPIC'
16602 # All AIX code is PIC.
16603 if test "$host_cpu" = ia64; then
16604 # AIX 5 now supports IA64 processor
16605 lt_prog_compiler_static_CXX='-Bstatic'
16607 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16611 case $cc_basename in
16613 # Green Hills C++ Compiler
16614 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
16618 mingw* | cygwin* | os2* | pw32* | cegcc*)
16619 # This hack is so that the source file can tell whether it is being
16620 # built for inclusion in a dll (and should export symbols for example).
16621 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16624 case $cc_basename in
16626 lt_prog_compiler_pic_CXX='-KPIC'
16629 # Green Hills C++ Compiler
16630 lt_prog_compiler_pic_CXX='-pic'
16636 freebsd* | dragonfly*)
16637 # FreeBSD uses GNU C++
16639 hpux9* | hpux10* | hpux11*)
16640 case $cc_basename in
16642 lt_prog_compiler_wl_CXX='-Wl,'
16643 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16644 if test "$host_cpu" != ia64; then
16645 lt_prog_compiler_pic_CXX='+Z'
16649 lt_prog_compiler_wl_CXX='-Wl,'
16650 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16656 lt_prog_compiler_pic_CXX='+Z'
16665 # This is c89, which is MS Visual C++ (no shared libs)
16666 # Anyone wants to do a port?
16668 irix5* | irix6* | nonstopux*)
16669 case $cc_basename in
16671 lt_prog_compiler_wl_CXX='-Wl,'
16672 lt_prog_compiler_static_CXX='-non_shared'
16673 # CC pic flag -KPIC is the default.
16679 linux* | k*bsd*-gnu | kopensolaris*-gnu)
16680 case $cc_basename in
16683 lt_prog_compiler_wl_CXX='--backend -Wl,'
16684 lt_prog_compiler_pic_CXX='-fPIC'
16687 # old Intel C++ for x86_64 which still supported -KPIC.
16688 lt_prog_compiler_wl_CXX='-Wl,'
16689 lt_prog_compiler_pic_CXX='-KPIC'
16690 lt_prog_compiler_static_CXX='-static'
16693 # Intel C++, used to be incompatible with GCC.
16694 # ICC 10 doesn't accept -KPIC any more.
16695 lt_prog_compiler_wl_CXX='-Wl,'
16696 lt_prog_compiler_pic_CXX='-fPIC'
16697 lt_prog_compiler_static_CXX='-static'
16700 # Portland Group C++ compiler
16701 lt_prog_compiler_wl_CXX='-Wl,'
16702 lt_prog_compiler_pic_CXX='-fpic'
16703 lt_prog_compiler_static_CXX='-Bstatic'
16707 # Make sure the PIC flag is empty. It appears that all Alpha
16708 # Linux and Compaq Tru64 Unix objects are PIC.
16709 lt_prog_compiler_pic_CXX=
16710 lt_prog_compiler_static_CXX='-non_shared'
16712 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
16713 # IBM XL 8.0, 9.0 on PPC and BlueGene
16714 lt_prog_compiler_wl_CXX='-Wl,'
16715 lt_prog_compiler_pic_CXX='-qpic'
16716 lt_prog_compiler_static_CXX='-qstaticlink'
16719 case `$CC -V 2>&1 | sed 5q` in
16722 lt_prog_compiler_pic_CXX='-KPIC'
16723 lt_prog_compiler_static_CXX='-Bstatic'
16724 lt_prog_compiler_wl_CXX='-Qoption ld '
16735 case $cc_basename in
16737 lt_prog_compiler_pic_CXX='-W c,exportall'
16746 # QNX uses GNU C++, but need to define -shared option too, otherwise
16747 # it will coredump.
16748 lt_prog_compiler_pic_CXX='-fPIC -shared'
16750 osf3* | osf4* | osf5*)
16751 case $cc_basename in
16753 lt_prog_compiler_wl_CXX='--backend -Wl,'
16756 # Rational C++ 2.4.1
16757 lt_prog_compiler_pic_CXX='-pic'
16760 # Digital/Compaq C++
16761 lt_prog_compiler_wl_CXX='-Wl,'
16762 # Make sure the PIC flag is empty. It appears that all Alpha
16763 # Linux and Compaq Tru64 Unix objects are PIC.
16764 lt_prog_compiler_pic_CXX=
16765 lt_prog_compiler_static_CXX='-non_shared'
16774 case $cc_basename in
16776 # Sun C++ 4.2, 5.x and Centerline C++
16777 lt_prog_compiler_pic_CXX='-KPIC'
16778 lt_prog_compiler_static_CXX='-Bstatic'
16779 lt_prog_compiler_wl_CXX='-Qoption ld '
16782 # Green Hills C++ Compiler
16783 lt_prog_compiler_pic_CXX='-PIC'
16790 case $cc_basename in
16793 lt_prog_compiler_pic_CXX='-pic'
16794 lt_prog_compiler_static_CXX='-Bstatic'
16798 lt_prog_compiler_pic_CXX='-pic'
16804 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16805 case $cc_basename in
16807 lt_prog_compiler_wl_CXX='-Wl,'
16808 lt_prog_compiler_pic_CXX='-KPIC'
16809 lt_prog_compiler_static_CXX='-Bstatic'
16814 case $cc_basename in
16816 # NonStop-UX NCC 3.20
16817 lt_prog_compiler_pic_CXX='-KPIC'
16826 lt_prog_compiler_can_build_shared_CXX=no
16832 # For platforms which do not support PIC, -DPIC is meaningless:
16834 lt_prog_compiler_pic_CXX=
16837 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16842 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16843 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
16844 $as_echo_n "(cached) " >&6
16846 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
16848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16849 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16850 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
16853 # Check to make sure the PIC flag actually works.
16855 if test -n "$lt_prog_compiler_pic_CXX"; then
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16857 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16858 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
16859 $as_echo_n "(cached) " >&6
16861 lt_cv_prog_compiler_pic_works_CXX=no
16862 ac_outfile=conftest.$ac_objext
16863 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16864 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
16865 # Insert the option either (1) after the last *FLAGS variable, or
16866 # (2) before a word containing "conftest.", or (3) at the end.
16867 # Note that $ac_compile itself does not contain backslashes and begins
16868 # with a dollar sign (not a hyphen), so the echo should work correctly.
16869 # The option is referenced via a variable to avoid confusing sed.
16870 lt_compile=`echo "$ac_compile" | $SED \
16871 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16872 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16873 -e 's:$: $lt_compiler_flag:'`
16874 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16875 (eval "$lt_compile" 2>conftest.err)
16877 cat conftest.err >&5
16878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16879 if (exit $ac_status) && test -s "$ac_outfile"; then
16880 # The compiler can only warn and ignore the option if not recognized
16881 # So say no if there are warnings other than the usual output.
16882 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16883 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16884 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16885 lt_cv_prog_compiler_pic_works_CXX=yes
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16892 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16894 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
16895 case $lt_prog_compiler_pic_CXX in
16897 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16900 lt_prog_compiler_pic_CXX=
16901 lt_prog_compiler_can_build_shared_CXX=no
16911 # Check to make sure the static flag actually works.
16913 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16915 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16916 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
16917 $as_echo_n "(cached) " >&6
16919 lt_cv_prog_compiler_static_works_CXX=no
16920 save_LDFLAGS="$LDFLAGS"
16921 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16922 echo "$lt_simple_link_test_code" > conftest.$ac_ext
16923 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16924 # The linker can only warn and ignore the option if not recognized
16925 # So say no if there are warnings
16926 if test -s conftest.err; then
16927 # Append any errors to the config.log.
16928 cat conftest.err 1>&5
16929 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16930 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16931 if diff conftest.exp conftest.er2 >/dev/null; then
16932 lt_cv_prog_compiler_static_works_CXX=yes
16935 lt_cv_prog_compiler_static_works_CXX=yes
16939 LDFLAGS="$save_LDFLAGS"
16942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16943 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16945 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16948 lt_prog_compiler_static_CXX=
16954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16955 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16956 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16957 $as_echo_n "(cached) " >&6
16959 lt_cv_prog_compiler_c_o_CXX=no
16960 $RM -r conftest 2>/dev/null
16964 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16966 lt_compiler_flag="-o out/conftest2.$ac_objext"
16967 # Insert the option either (1) after the last *FLAGS variable, or
16968 # (2) before a word containing "conftest.", or (3) at the end.
16969 # Note that $ac_compile itself does not contain backslashes and begins
16970 # with a dollar sign (not a hyphen), so the echo should work correctly.
16971 lt_compile=`echo "$ac_compile" | $SED \
16972 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16973 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16974 -e 's:$: $lt_compiler_flag:'`
16975 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16976 (eval "$lt_compile" 2>out/conftest.err)
16978 cat out/conftest.err >&5
16979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16980 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16982 # The compiler can only warn and ignore the option if not recognized
16983 # So say no if there are warnings
16984 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16985 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16986 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16987 lt_cv_prog_compiler_c_o_CXX=yes
16992 # SGI C++ compiler will create directory out/ii_files/ for
16993 # template instantiation
16994 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16995 $RM out/* && rmdir out
17001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17002 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17007 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17008 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
17009 $as_echo_n "(cached) " >&6
17011 lt_cv_prog_compiler_c_o_CXX=no
17012 $RM -r conftest 2>/dev/null
17016 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17018 lt_compiler_flag="-o out/conftest2.$ac_objext"
17019 # Insert the option either (1) after the last *FLAGS variable, or
17020 # (2) before a word containing "conftest.", or (3) at the end.
17021 # Note that $ac_compile itself does not contain backslashes and begins
17022 # with a dollar sign (not a hyphen), so the echo should work correctly.
17023 lt_compile=`echo "$ac_compile" | $SED \
17024 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17025 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17026 -e 's:$: $lt_compiler_flag:'`
17027 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17028 (eval "$lt_compile" 2>out/conftest.err)
17030 cat out/conftest.err >&5
17031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17032 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17034 # The compiler can only warn and ignore the option if not recognized
17035 # So say no if there are warnings
17036 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
17037 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17038 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17039 lt_cv_prog_compiler_c_o_CXX=yes
17044 # SGI C++ compiler will create directory out/ii_files/ for
17045 # template instantiation
17046 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
17047 $RM out/* && rmdir out
17053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17054 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17059 hard_links="nottested"
17060 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
17061 # do not overwrite the value of need_locks provided by the user
17062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
17063 $as_echo_n "checking if we can lock with hard links... " >&6; }
17066 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17068 ln conftest.a conftest.b 2>&5 || hard_links=no
17069 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17071 $as_echo "$hard_links" >&6; }
17072 if test "$hard_links" = no; then
17073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17074 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17084 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17086 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17087 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17090 # If we're using GNU nm, then we don't want the "-C" option.
17091 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17092 # Also, AIX nm treats weak defined symbols like other global defined
17093 # symbols, whereas GNU nm marks them as "W".
17094 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
17095 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
17097 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
17101 export_symbols_cmds_CXX="$ltdll_cmds"
17103 cygwin* | mingw* | cegcc*)
17104 case $cc_basename in
17106 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
17109 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
17110 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
17115 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17120 $as_echo "$ld_shlibs_CXX" >&6; }
17121 test "$ld_shlibs_CXX" = no && can_build_shared=no
17123 with_gnu_ld_CXX=$with_gnu_ld
17131 # Do we need to explicitly link libc?
17133 case "x$archive_cmds_need_lc_CXX" in
17135 # Assume -lc should be added
17136 archive_cmds_need_lc_CXX=yes
17138 if test "$enable_shared" = yes && test "$GCC" = yes; then
17139 case $archive_cmds_CXX in
17141 # FIXME: we may have to deal with multi-command sequences.
17144 # Test whether the compiler implicitly links with -lc since on some
17145 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17146 # to ld, don't add -lc before -lgcc.
17147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
17148 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
17149 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
17150 $as_echo_n "(cached) " >&6
17153 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17155 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17156 (eval $ac_compile) 2>&5
17158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17159 test $ac_status = 0; } 2>conftest.err; then
17162 libobjs=conftest.$ac_objext
17164 wl=$lt_prog_compiler_wl_CXX
17165 pic_flag=$lt_prog_compiler_pic_CXX
17171 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
17172 allow_undefined_flag_CXX=
17173 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
17174 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
17176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17177 test $ac_status = 0; }
17179 lt_cv_archive_cmds_need_lc_CXX=no
17181 lt_cv_archive_cmds_need_lc_CXX=yes
17183 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
17185 cat conftest.err 1>&5
17190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
17191 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
17192 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17261 $as_echo_n "checking dynamic linker characteristics... " >&6; }
17263 library_names_spec=
17264 libname_spec='lib$name'
17268 postuninstall_cmds=
17272 shlibpath_overrides_runpath=unknown
17274 dynamic_linker="$host_os ld.so"
17275 sys_lib_dlsearch_path_spec="/lib /usr/lib"
17276 need_lib_prefix=unknown
17277 hardcode_into_libs=no
17279 # when you set need_version to no, make sure it does not cause -set_version
17280 # flags to be left without arguments
17281 need_version=unknown
17285 version_type=linux # correct to gnu/linux during the next big refactor
17286 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17287 shlibpath_var=LIBPATH
17289 # AIX 3 has no versioning support, so we append a major version to the name.
17290 soname_spec='${libname}${release}${shared_ext}$major'
17294 version_type=linux # correct to gnu/linux during the next big refactor
17297 hardcode_into_libs=yes
17298 if test "$host_cpu" = ia64; then
17299 # AIX 5 supports IA64
17300 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17301 shlibpath_var=LD_LIBRARY_PATH
17303 # With GCC up to 2.95.x, collect2 would create an import file
17304 # for dependence libraries. The import file would start with
17305 # the line `#! .'. This would cause the generated library to
17306 # depend on `.', always an invalid library. This was fixed in
17307 # development snapshots of GCC prior to 3.0.
17309 aix4 | aix4.[01] | aix4.[01].*)
17310 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17312 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
17315 can_build_shared=no
17319 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17320 # soname into executable. Probably we can add versioning support to
17321 # collect2, so additional links can be useful in future.
17322 if test "$aix_use_runtimelinking" = yes; then
17323 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17324 # instead of lib<name>.a to let people know that these are not
17325 # typical AIX shared libraries.
17326 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17328 # We preserve .a as extension for shared libraries through AIX4.2
17329 # and later when we are not doing run time linking.
17330 library_names_spec='${libname}${release}.a $libname.a'
17331 soname_spec='${libname}${release}${shared_ext}$major'
17333 shlibpath_var=LIBPATH
17340 # Since July 2007 AmigaOS4 officially supports .so libraries.
17341 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17342 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17345 library_names_spec='$libname.ixlibrary $libname.a'
17346 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17347 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'
17353 library_names_spec='${libname}${shared_ext}'
17354 dynamic_linker="$host_os ld.so"
17355 shlibpath_var=LIBRARY_PATH
17359 version_type=linux # correct to gnu/linux during the next big refactor
17361 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17362 soname_spec='${libname}${release}${shared_ext}$major'
17363 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17364 shlibpath_var=LD_LIBRARY_PATH
17365 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17366 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17367 # the default ld.so.conf also contains /usr/contrib/lib and
17368 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17369 # libtool to hard-code these into programs
17372 cygwin* | mingw* | pw32* | cegcc*)
17373 version_type=windows
17378 case $GCC,$cc_basename in
17381 library_names_spec='$libname.dll.a'
17382 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17383 postinstall_cmds='base_file=`basename \${file}`~
17384 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17385 dldir=$destdir/`dirname \$dlpath`~
17386 test -d \$dldir || mkdir -p \$dldir~
17387 $install_prog $dir/$dlname \$dldir/$dlname~
17388 chmod a+x \$dldir/$dlname~
17389 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17390 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17392 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17393 dlpath=$dir/\$dldll~
17395 shlibpath_overrides_runpath=yes
17399 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17400 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17404 # MinGW DLLs use traditional 'lib' prefix
17405 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17408 # pw32 DLLs use 'pw' prefix rather than 'lib'
17409 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17412 dynamic_linker='Win32 ld.exe'
17417 libname_spec='$name'
17418 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17419 library_names_spec='${libname}.dll.lib'
17423 sys_lib_search_path_spec=
17426 for lt_path in $LIB
17429 # Let DOS variable expansion print the short 8.3 style file name.
17430 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
17431 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
17434 # Convert to MSYS style.
17435 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
17438 # Convert to unix form, then to dos form, then back to unix form
17439 # but this time dos style (no spaces!) so that the unix form looks
17440 # like /cygdrive/c/PROGRA~1:/cygdr...
17441 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
17442 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
17443 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17446 sys_lib_search_path_spec="$LIB"
17447 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
17448 # It is most probably a Windows format PATH.
17449 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17451 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17453 # FIXME: find the short name or the path components, as spaces are
17454 # common. (e.g. "Program Files" -> "PROGRA~1")
17458 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17459 postinstall_cmds='base_file=`basename \${file}`~
17460 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17461 dldir=$destdir/`dirname \$dlpath`~
17462 test -d \$dldir || mkdir -p \$dldir~
17463 $install_prog $dir/$dlname \$dldir/$dlname'
17464 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17465 dlpath=$dir/\$dldll~
17467 shlibpath_overrides_runpath=yes
17468 dynamic_linker='Win32 link.exe'
17472 # Assume MSVC wrapper
17473 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17474 dynamic_linker='Win32 ld.exe'
17477 # FIXME: first we should search . and the directory the executable is in
17481 darwin* | rhapsody*)
17482 dynamic_linker="$host_os dyld"
17483 version_type=darwin
17486 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17487 soname_spec='${libname}${release}${major}$shared_ext'
17488 shlibpath_overrides_runpath=yes
17489 shlibpath_var=DYLD_LIBRARY_PATH
17490 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17492 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17496 version_type=linux # correct to gnu/linux during the next big refactor
17499 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17500 soname_spec='${libname}${release}${shared_ext}$major'
17501 shlibpath_var=LD_LIBRARY_PATH
17504 freebsd* | dragonfly*)
17505 # DragonFly does not have aout. When/if they implement a new
17506 # versioning mechanism, adjust this.
17507 if test -x /usr/bin/objformat; then
17508 objformat=`/usr/bin/objformat`
17511 freebsd[23].*) objformat=aout ;;
17512 *) objformat=elf ;;
17515 version_type=freebsd-$objformat
17516 case $version_type in
17518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17523 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17527 shlibpath_var=LD_LIBRARY_PATH
17530 shlibpath_overrides_runpath=yes
17532 freebsd3.[01]* | freebsdelf3.[01]*)
17533 shlibpath_overrides_runpath=yes
17534 hardcode_into_libs=yes
17536 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17537 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17538 shlibpath_overrides_runpath=no
17539 hardcode_into_libs=yes
17541 *) # from 4.6 on, and DragonFly
17542 shlibpath_overrides_runpath=yes
17543 hardcode_into_libs=yes
17549 version_type=linux # correct to gnu/linux during the next big refactor
17552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17553 soname_spec='${libname}${release}${shared_ext}$major'
17554 shlibpath_var=LD_LIBRARY_PATH
17555 shlibpath_overrides_runpath=no
17556 hardcode_into_libs=yes
17560 version_type=linux # correct to gnu/linux during the next big refactor
17563 dynamic_linker="$host_os runtime_loader"
17564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17565 soname_spec='${libname}${release}${shared_ext}$major'
17566 shlibpath_var=LIBRARY_PATH
17567 shlibpath_overrides_runpath=yes
17568 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17569 hardcode_into_libs=yes
17572 hpux9* | hpux10* | hpux11*)
17573 # Give a soname corresponding to the major version so that dld.sl refuses to
17574 # link against other versions.
17581 hardcode_into_libs=yes
17582 dynamic_linker="$host_os dld.so"
17583 shlibpath_var=LD_LIBRARY_PATH
17584 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17585 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17586 soname_spec='${libname}${release}${shared_ext}$major'
17587 if test "X$HPUX_IA64_MODE" = X32; then
17588 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17590 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17592 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17596 hardcode_into_libs=yes
17597 dynamic_linker="$host_os dld.sl"
17598 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17599 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17601 soname_spec='${libname}${release}${shared_ext}$major'
17602 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17603 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17607 dynamic_linker="$host_os dld.sl"
17608 shlibpath_var=SHLIB_PATH
17609 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17610 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17611 soname_spec='${libname}${release}${shared_ext}$major'
17614 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17615 postinstall_cmds='chmod 555 $lib'
17616 # or fails outright, so override atomically:
17617 install_override_mode=555
17621 version_type=linux # correct to gnu/linux during the next big refactor
17624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17625 soname_spec='${libname}${release}${shared_ext}$major'
17626 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17627 shlibpath_var=LD_LIBRARY_PATH
17628 shlibpath_overrides_runpath=no
17629 hardcode_into_libs=yes
17632 irix5* | irix6* | nonstopux*)
17634 nonstopux*) version_type=nonstopux ;;
17636 if test "$lt_cv_prog_gnu_ld" = yes; then
17637 version_type=linux # correct to gnu/linux during the next big refactor
17644 soname_spec='${libname}${release}${shared_ext}$major'
17645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17647 irix5* | nonstopux*)
17648 libsuff= shlibsuff=
17651 case $LD in # libtool.m4 will add one of these switches to LD
17652 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17653 libsuff= shlibsuff= libmagic=32-bit;;
17654 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17655 libsuff=32 shlibsuff=N32 libmagic=N32;;
17656 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17657 libsuff=64 shlibsuff=64 libmagic=64-bit;;
17658 *) libsuff= shlibsuff= libmagic=never-match;;
17662 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17663 shlibpath_overrides_runpath=no
17664 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17665 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17666 hardcode_into_libs=yes
17669 # No shared lib support for Linux oldld, aout, or coff.
17670 linux*oldld* | linux*aout* | linux*coff*)
17674 # This must be glibc/ELF.
17675 linux* | k*bsd*-gnu | kopensolaris*-gnu)
17676 version_type=linux # correct to gnu/linux during the next big refactor
17679 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17680 soname_spec='${libname}${release}${shared_ext}$major'
17681 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17682 shlibpath_var=LD_LIBRARY_PATH
17683 shlibpath_overrides_runpath=no
17685 # Some binutils ld are patched to set DT_RUNPATH
17686 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
17687 $as_echo_n "(cached) " >&6
17689 lt_cv_shlibpath_overrides_runpath=no
17690 save_LDFLAGS=$LDFLAGS
17691 save_libdir=$libdir
17692 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17693 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17694 if test x$ac_no_link = xyes; then
17695 as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
17697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17698 /* end confdefs.h. */
17708 if ac_fn_cxx_try_link "$LINENO"; then :
17709 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
17710 lt_cv_shlibpath_overrides_runpath=yes
17713 rm -f core conftest.err conftest.$ac_objext \
17714 conftest$ac_exeext conftest.$ac_ext
17715 LDFLAGS=$save_LDFLAGS
17716 libdir=$save_libdir
17720 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
17722 # This implies no fast_install, which is unacceptable.
17723 # Some rework will be needed to allow for fast_install
17724 # before this can be enabled.
17725 hardcode_into_libs=yes
17727 # Append ld.so.conf contents to the search path
17728 if test -f /etc/ld.so.conf; then
17729 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' ' '`
17730 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17733 # We used to test for /lib/ld.so.1 and disable shared libraries on
17734 # powerpc, because MkLinux only supported shared libraries with the
17735 # GNU dynamic linker. Since this was broken with cross compilers,
17736 # most powerpc-linux boxes support dynamic linking these days and
17737 # people can always --disable-shared, the test was removed, and we
17738 # assume the GNU/Linux dynamic linker is in use.
17739 dynamic_linker='GNU/Linux ld.so'
17746 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17747 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17748 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17749 dynamic_linker='NetBSD (a.out) ld.so'
17751 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17752 soname_spec='${libname}${release}${shared_ext}$major'
17753 dynamic_linker='NetBSD ld.elf_so'
17755 shlibpath_var=LD_LIBRARY_PATH
17756 shlibpath_overrides_runpath=yes
17757 hardcode_into_libs=yes
17761 version_type=linux # correct to gnu/linux during the next big refactor
17762 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17763 shlibpath_var=LD_LIBRARY_PATH
17764 shlibpath_overrides_runpath=yes
17771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17772 soname_spec='${libname}${release}${shared_ext}$major'
17773 shlibpath_var=LD_LIBRARY_PATH
17774 shlibpath_overrides_runpath=no
17775 hardcode_into_libs=yes
17776 dynamic_linker='ldqnx.so'
17781 sys_lib_dlsearch_path_spec="/usr/lib"
17783 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17785 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17786 *) need_version=no ;;
17788 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17789 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17790 shlibpath_var=LD_LIBRARY_PATH
17791 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17793 openbsd2.[89] | openbsd2.[89].*)
17794 shlibpath_overrides_runpath=no
17797 shlibpath_overrides_runpath=yes
17801 shlibpath_overrides_runpath=yes
17806 libname_spec='$name'
17809 library_names_spec='$libname${shared_ext} $libname.a'
17810 dynamic_linker='OS/2 ld.exe'
17811 shlibpath_var=LIBPATH
17814 osf3* | osf4* | osf5*)
17818 soname_spec='${libname}${release}${shared_ext}$major'
17819 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17820 shlibpath_var=LD_LIBRARY_PATH
17821 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17822 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17830 version_type=linux # correct to gnu/linux during the next big refactor
17833 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17834 soname_spec='${libname}${release}${shared_ext}$major'
17835 shlibpath_var=LD_LIBRARY_PATH
17836 shlibpath_overrides_runpath=yes
17837 hardcode_into_libs=yes
17838 # ldd complains unless libraries are executable
17839 postinstall_cmds='chmod +x $lib'
17844 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17845 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17846 shlibpath_var=LD_LIBRARY_PATH
17847 shlibpath_overrides_runpath=yes
17848 if test "$with_gnu_ld" = yes; then
17855 version_type=linux # correct to gnu/linux during the next big refactor
17856 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17857 soname_spec='${libname}${release}${shared_ext}$major'
17858 shlibpath_var=LD_LIBRARY_PATH
17859 case $host_vendor in
17861 shlibpath_overrides_runpath=no
17863 runpath_var=LD_RUN_PATH
17871 shlibpath_overrides_runpath=no
17872 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17878 if test -d /usr/nec ;then
17879 version_type=linux # correct to gnu/linux during the next big refactor
17880 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17881 soname_spec='$libname${shared_ext}.$major'
17882 shlibpath_var=LD_LIBRARY_PATH
17886 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17887 version_type=freebsd-elf
17890 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17891 soname_spec='${libname}${release}${shared_ext}$major'
17892 shlibpath_var=LD_LIBRARY_PATH
17893 shlibpath_overrides_runpath=yes
17894 hardcode_into_libs=yes
17895 if test "$with_gnu_ld" = yes; then
17896 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17898 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17901 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17905 sys_lib_dlsearch_path_spec='/usr/lib'
17909 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17910 version_type=linux # correct to gnu/linux during the next big refactor
17913 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17914 shlibpath_var=LD_LIBRARY_PATH
17915 shlibpath_overrides_runpath=no
17916 hardcode_into_libs=yes
17920 version_type=linux # correct to gnu/linux during the next big refactor
17921 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17922 soname_spec='${libname}${release}${shared_ext}$major'
17923 shlibpath_var=LD_LIBRARY_PATH
17930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17931 $as_echo "$dynamic_linker" >&6; }
17932 test "$dynamic_linker" = no && can_build_shared=no
17934 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17935 if test "$GCC" = yes; then
17936 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17939 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17940 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17942 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17943 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17984 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17985 hardcode_action_CXX=
17986 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17987 test -n "$runpath_var_CXX" ||
17988 test "X$hardcode_automatic_CXX" = "Xyes" ; then
17990 # We can hardcode non-existent directories.
17991 if test "$hardcode_direct_CXX" != no &&
17992 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17993 # have to relink, otherwise we might link with an installed library
17994 # when we should be linking with a yet-to-be-installed one
17995 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17996 test "$hardcode_minus_L_CXX" != no; then
17997 # Linking always hardcodes the temporary library directory.
17998 hardcode_action_CXX=relink
18000 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18001 hardcode_action_CXX=immediate
18004 # We cannot hardcode anything, or else we can only hardcode existing
18006 hardcode_action_CXX=unsupported
18008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
18009 $as_echo "$hardcode_action_CXX" >&6; }
18011 if test "$hardcode_action_CXX" = relink ||
18012 test "$inherit_rpath_CXX" = yes; then
18013 # Fast installation is not supported
18014 enable_fast_install=no
18015 elif test "$shlibpath_overrides_runpath" = yes ||
18016 test "$enable_shared" = no; then
18017 # Fast installation is not necessary
18018 enable_fast_install=needless
18027 fi # test -n "$compiler"
18030 CFLAGS=$lt_save_CFLAGS
18034 with_gnu_ld=$lt_save_with_gnu_ld
18035 lt_cv_path_LDCXX=$lt_cv_path_LD
18036 lt_cv_path_LD=$lt_save_path_LD
18037 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
18038 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
18039 fi # test "$_lt_caught_CXX_error" != yes
18042 ac_cpp='$CPP $CPPFLAGS'
18043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18061 ac_config_commands="$ac_config_commands libtool"
18066 # Only expand once:
18073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build debug instances" >&5
18074 $as_echo "$as_me: checking whether to build debug instances" >&6;}
18079 # Check whether or not a default value has been passed in.
18083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build debug instances of programs and libraries" >&5
18084 $as_echo_n "checking whether to build debug instances of programs and libraries... " >&6; }
18085 if ${nl_cv_build_debug+:} false; then :
18086 $as_echo_n "(cached) " >&6
18089 # Check whether --enable-debug was given.
18090 if test "${enable_debug+set}" = set; then :
18091 enableval=$enable_debug;
18092 case "${enableval}" in
18095 nl_cv_build_debug=${enableval}
18099 as_fn_error $? "Invalid value ${enableval} for --enable-debug" "$LINENO" 5
18106 nl_cv_build_debug=no
18112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_debug" >&5
18113 $as_echo "$nl_cv_build_debug" >&6; }
18115 if test "${nl_cv_build_debug}" = "yes"; then
18116 CFLAGS="${CFLAGS} -DDEBUG"
18117 CXXFLAGS="${CXXFLAGS} -DDEBUG"
18118 OBJCFLAGS="${OBJCFLAGS} -DDEBUG"
18119 OBJCXXFLAGS="${OBJCXXFLAGS} -DDEBUG"
18124 if test "${nl_cv_build_debug}" = "yes"; then
18125 NLIO_BUILD_DEBUG_TRUE=
18126 NLIO_BUILD_DEBUG_FALSE='#'
18128 NLIO_BUILD_DEBUG_TRUE='#'
18129 NLIO_BUILD_DEBUG_FALSE=
18134 # Code coverage and compiler optimization
18140 # Check whether or not a default value has been passed in.
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build code-coverage instances of programs and libraries" >&5
18145 $as_echo_n "checking whether to build code-coverage instances of programs and libraries... " >&6; }
18146 if ${nl_cv_build_coverage+:} false; then :
18147 $as_echo_n "(cached) " >&6
18150 # Check whether --enable-coverage was given.
18151 if test "${enable_coverage+set}" = set; then :
18152 enableval=$enable_coverage;
18153 case "${enableval}" in
18156 nl_cv_build_coverage=${enableval}
18158 if test "${nl_cv_build_optimized}" = "yes"; then
18159 as_fn_error $? "both --enable-optimization and --enable-coverage cannot used. Please, choose one or the other to enable." "$LINENO" 5
18164 as_fn_error $? "Invalid value ${enableval} for --enable-coverage" "$LINENO" 5
18171 if test "${nl_cv_build_optimized}" = "yes"; then
18172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-optimization was specified, coverage disabled" >&5
18173 $as_echo "$as_me: WARNING: --enable-optimization was specified, coverage disabled" >&2;}
18174 nl_cv_build_coverage=no
18177 nl_cv_build_coverage=no
18185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_coverage" >&5
18186 $as_echo "$nl_cv_build_coverage" >&6; }
18188 if test "${nl_cv_build_coverage}" = "yes"; then
18189 if test "${GCC}" != "yes"; then
18190 as_fn_error $? "GCC or a GCC-compatible toolchain is required for --enable-coverage" "$LINENO" 5
18192 NL_COVERAGE_CPPFLAGS="--coverage"
18193 if ${CC} --version | grep -q clang; then
18194 NL_COVERAGE_LDFLAGS="--coverage"
18196 NL_COVERAGE_LIBS="-lgcov"
18203 if test "${nl_cv_build_coverage}" = "yes"; then
18204 NLIO_BUILD_COVERAGE_TRUE=
18205 NLIO_BUILD_COVERAGE_FALSE='#'
18207 NLIO_BUILD_COVERAGE_TRUE='#'
18208 NLIO_BUILD_COVERAGE_FALSE=
18213 # Check whether or not a default value has been passed in.
18217 # Check for the presence of lcov and genhtml, required
18218 # to build and generate the coverage reports.
18220 # Extract the first word of "lcov", so it can be a program name with args.
18221 set dummy lcov; ac_word=$2
18222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18223 $as_echo_n "checking for $ac_word... " >&6; }
18224 if ${ac_cv_path_LCOV+:} false; then :
18225 $as_echo_n "(cached) " >&6
18229 ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path.
18232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18233 for as_dir in $PATH
18236 test -z "$as_dir" && as_dir=.
18237 for ac_exec_ext in '' $ac_executable_extensions; do
18238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18239 ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext"
18240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18250 LCOV=$ac_cv_path_LCOV
18251 if test -n "$LCOV"; then
18252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
18253 $as_echo "$LCOV" >&6; }
18255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18256 $as_echo "no" >&6; }
18260 # Extract the first word of "genhtml", so it can be a program name with args.
18261 set dummy genhtml; ac_word=$2
18262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18263 $as_echo_n "checking for $ac_word... " >&6; }
18264 if ${ac_cv_path_GENHTML+:} false; then :
18265 $as_echo_n "(cached) " >&6
18269 ac_cv_path_GENHTML="$GENHTML" # Let the user override the test with a path.
18272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18273 for as_dir in $PATH
18276 test -z "$as_dir" && as_dir=.
18277 for ac_exec_ext in '' $ac_executable_extensions; do
18278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18279 ac_cv_path_GENHTML="$as_dir/$ac_word$ac_exec_ext"
18280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18290 GENHTML=$ac_cv_path_GENHTML
18291 if test -n "$GENHTML"; then
18292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
18293 $as_echo "$GENHTML" >&6; }
18295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18296 $as_echo "no" >&6; }
18301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build graphical code coverage reports" >&5
18302 $as_echo_n "checking whether to build graphical code coverage reports... " >&6; }
18303 if ${nl_cv_build_coverage_reports+:} false; then :
18304 $as_echo_n "(cached) " >&6
18307 # Check whether --enable-coverage-reports was given.
18308 if test "${enable_coverage_reports+set}" = set; then :
18309 enableval=$enable_coverage_reports;
18310 case "${enableval}" in
18313 nl_cv_build_coverage_reports=${enableval}
18317 as_fn_error $? "Invalid value ${enableval} for --enable-coverage" "$LINENO" 5
18324 nl_cv_build_coverage_reports=auto
18329 # If coverage is not enabled, then coverage reports
18330 # defaults to 'no' if it is 'auto' or fails if it is
18331 # 'yes'. Otherwise, availability of lcov and genhtml
18332 # condition behavior. Lack of availability for 'yes'
18333 # results in failure; however, for 'auto' then coverage
18334 # reports default to 'no'.
18336 case "${nl_cv_build_coverage}" in
18339 case "${nl_cv_build_coverage_reports}" in
18342 nl_cv_build_coverage_reports="no"
18346 as_fn_error $? "--enable-coverage must be asserted to use --enable-coverage-reports." "$LINENO" 5
18356 case "${nl_cv_build_coverage_reports}" in
18359 # Both lcov and genhtml must exist to successfully
18360 # enable coverage reports.
18362 if test "x${LCOV}" = "x" || test "x${GENHTML}" = "x"; then
18363 nl_cv_build_coverage_reports="no"
18366 nl_cv_build_coverage_reports="yes"
18372 # Both lcov and genhtml must exist to successfully
18373 # enable coverage reports. Since the default or user
18374 # ask is 'yes', we must fail if lcov or genhtml cannot
18377 if test "x${LCOV}" = "x"; then
18378 as_fn_error $? "Cannot find 'lcov'. You must have the lcov package installed to use coverage reports." "$LINENO" 5
18380 elif test "x${GENHTML}" = "x"; then
18381 as_fn_error $? "Cannot find 'genhtml'. You must have the lcov package installed to use coverage reports." "$LINENO" 5
18383 elif test "${nl_cv_build_coverage_reports}" = "auto"; then
18384 nl_cv_build_coverage_reports="yes"
18398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_coverage_reports" >&5
18399 $as_echo "$nl_cv_build_coverage_reports" >&6; }
18402 if test "${nl_cv_build_coverage_reports}" = "yes"; then
18403 NLIO_BUILD_COVERAGE_REPORTS_TRUE=
18404 NLIO_BUILD_COVERAGE_REPORTS_FALSE='#'
18406 NLIO_BUILD_COVERAGE_REPORTS_TRUE='#'
18407 NLIO_BUILD_COVERAGE_REPORTS_FALSE=
18414 # Check whether or not a default value has been passed in.
18418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build code-optimized instances of programs and libraries" >&5
18419 $as_echo_n "checking whether to build code-optimized instances of programs and libraries... " >&6; }
18420 if ${nl_cv_build_optimized+:} false; then :
18421 $as_echo_n "(cached) " >&6
18424 # Check whether --enable-optimization was given.
18425 if test "${enable_optimization+set}" = set; then :
18426 enableval=$enable_optimization;
18427 case "${enableval}" in
18430 nl_cv_build_optimized=${enableval}
18432 if test "${nl_cv_build_coverage}" = "yes" && test "${nl_cv_build_optimized}" = "yes"; then
18433 as_fn_error $? "both --enable-optimization and --enable-coverage cannot used. Please, choose one or the other to enable." "$LINENO" 5
18438 as_fn_error $? "Invalid value ${enableval} for --enable-optimized" "$LINENO" 5
18445 if test "${nl_cv_build_coverage}" = "yes"; then
18446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-coverage was specified, optimization disabled" >&5
18447 $as_echo "$as_me: WARNING: --enable-coverage was specified, optimization disabled" >&2;}
18448 nl_cv_build_optimized=no
18451 nl_cv_build_optimized=yes
18459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_optimized" >&5
18460 $as_echo "$nl_cv_build_optimized" >&6; }
18462 if test "${nl_cv_build_optimized}" = "no"; then
18463 CFLAGS="`echo ${CFLAGS} | sed -e 's,-O[[:alnum:]]*,-O0,g'`"
18464 CXXFLAGS="`echo ${CXXFLAGS} | sed -e 's,-O[[:alnum:]]*,-O0,g'`"
18465 OBJCFLAGS="`echo ${OBJCFLAGS} | sed -e 's,-O[[:alnum:]]*,-O0,g'`"
18466 OBJCXXFLAGS="`echo ${OBJCXXFLAGS} | sed -e 's,-O[[:alnum:]]*,-O0,g'`"
18471 if test "${nl_cv_build_optimized}" = "yes"; then
18472 NLIO_BUILD_OPTIMIZED_TRUE=
18473 NLIO_BUILD_OPTIMIZED_FALSE='#'
18475 NLIO_BUILD_OPTIMIZED_TRUE='#'
18476 NLIO_BUILD_OPTIMIZED_FALSE=
18483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build tests" >&5
18484 $as_echo "$as_me: checking whether to build tests" >&6;}
18489 # Check whether or not a default value has been passed in.
18493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build tests" >&5
18494 $as_echo_n "checking whether to build tests... " >&6; }
18495 if ${nl_cv_build_tests+:} false; then :
18496 $as_echo_n "(cached) " >&6
18499 # Check whether --enable-tests was given.
18500 if test "${enable_tests+set}" = set; then :
18501 enableval=$enable_tests;
18502 case "${enableval}" in
18505 nl_cv_build_tests=${enableval}
18509 as_fn_error $? "Invalid value ${enableval} for --enable-tests" "$LINENO" 5
18516 nl_cv_build_tests=yes
18522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_tests" >&5
18523 $as_echo "$nl_cv_build_tests" >&6; }
18526 if test "${nl_cv_build_tests}" = "yes"; then
18527 NLIO_BUILD_TESTS_TRUE=
18528 NLIO_BUILD_TESTS_FALSE='#'
18530 NLIO_BUILD_TESTS_TRUE='#'
18531 NLIO_BUILD_TESTS_FALSE=
18539 # Determine whether or not documentation (via Doxygen) should be built
18540 # or not, with 'auto' as the default and establish a default support
18541 # value for GraphViz 'dot' support.
18544 # Check whether or not the 'default' value is sane.
18548 # Check whether or not the 'dot_default' value is sane.
18557 # Extract the first word of "doxygen", so it can be a program name with args.
18558 set dummy doxygen; ac_word=$2
18559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18560 $as_echo_n "checking for $ac_word... " >&6; }
18561 if ${ac_cv_path_DOXYGEN+:} false; then :
18562 $as_echo_n "(cached) " >&6
18566 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
18569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18570 for as_dir in $PATH
18573 test -z "$as_dir" && as_dir=.
18574 for ac_exec_ext in '' $ac_executable_extensions; do
18575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18576 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
18577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18587 DOXYGEN=$ac_cv_path_DOXYGEN
18588 if test -n "$DOXYGEN"; then
18589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
18590 $as_echo "$DOXYGEN" >&6; }
18592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18593 $as_echo "no" >&6; }
18597 # Extract the first word of "dot", so it can be a program name with args.
18598 set dummy dot; ac_word=$2
18599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18600 $as_echo_n "checking for $ac_word... " >&6; }
18601 if ${ac_cv_path_DOT+:} false; then :
18602 $as_echo_n "(cached) " >&6
18606 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18610 for as_dir in $PATH
18613 test -z "$as_dir" && as_dir=.
18614 for ac_exec_ext in '' $ac_executable_extensions; do
18615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18616 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18627 DOT=$ac_cv_path_DOT
18628 if test -n "$DOT"; then
18629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
18630 $as_echo "$DOT" >&6; }
18632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18633 $as_echo "no" >&6; }
18638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
18639 $as_echo_n "checking whether to build documentation... " >&6; }
18640 if ${nl_cv_build_docs+:} false; then :
18641 $as_echo_n "(cached) " >&6
18644 # Check whether --enable-docs was given.
18645 if test "${enable_docs+set}" = set; then :
18646 enableval=$enable_docs;
18647 case "${enableval}" in
18650 nl_cv_build_docs=${enableval}
18654 as_fn_error $? "Invalid value ${enableval} for --disable-docs" "$LINENO" 5
18660 nl_cv_build_docs=auto
18664 if test "x${DOXYGEN}" != "x"; then
18665 nl_cv_have_doxygen=yes
18667 nl_cv_have_doxygen=no
18670 if test "${nl_cv_build_docs}" = "auto"; then
18671 if test "${nl_cv_have_doxygen}" = "no"; then
18672 nl_cv_build_docs=no
18674 nl_cv_build_docs=yes
18678 if test "${nl_cv_build_docs}" = "yes"; then
18679 if test "${nl_cv_have_doxygen}" = "no"; then
18680 as_fn_error $? "Building docs was explicitly requested but Doxygen cannot be found" "$LINENO" 5
18681 elif test "${nl_cv_have_doxygen}" = "yes"; then
18682 if test "x${DOT}" != "x"; then
18683 DOXYGEN_USE_DOT=YES
18689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_docs" >&5
18690 $as_echo "$nl_cv_build_docs" >&6; }
18695 if test "${nl_cv_build_docs}" = "yes"; then
18696 NLIO_BUILD_DOCS_TRUE=
18697 NLIO_BUILD_DOCS_FALSE='#'
18699 NLIO_BUILD_DOCS_TRUE='#'
18700 NLIO_BUILD_DOCS_FALSE=
18705 # Checks for libraries and packages.
18707 # At minimum, the following packages are optional, depending on
18712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking required package dependencies" >&5
18713 $as_echo "$as_me: checking required package dependencies" >&6;}
18715 # Check if the build host has pkg-config
18717 # Extract the first word of "pkg-config", so it can be a program name with args.
18718 set dummy pkg-config; ac_word=$2
18719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18720 $as_echo_n "checking for $ac_word... " >&6; }
18721 if ${ac_cv_path_PKG_CONFIG+:} false; then :
18722 $as_echo_n "(cached) " >&6
18724 case $PKG_CONFIG in
18726 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18730 for as_dir in $PATH
18733 test -z "$as_dir" && as_dir=.
18734 for ac_exec_ext in '' $ac_executable_extensions; do
18735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18736 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18747 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18748 if test -n "$PKG_CONFIG"; then
18749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18750 $as_echo "$PKG_CONFIG" >&6; }
18752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18753 $as_echo "no" >&6; }
18762 if test "${nl_cv_build_tests}" = "yes"; then
18768 # Influential external variables for the package support
18774 # Allow the user to specify both external headers and libraries
18775 # together (or internal).
18779 # Check whether --with-nlunit_test was given.
18780 if test "${with_nlunit_test+set}" = set; then :
18781 withval=$with_nlunit_test;
18782 if test "${withval}" = "no"; then
18783 as_fn_error $? "${PACKAGE_NAME} requires the Nlunit-test package." "$LINENO" 5
18784 elif test "${withval}" = "internal"; then
18785 nlunit_test_dir=${withval}
18786 nl_with_nlunit_test=${withval}
18788 nlunit_test_dir=${withval}
18789 nl_with_nlunit_test=external
18793 nlunit_test_dir=; nl_with_nlunit_test=internal
18797 # Allow users to specify external headers and libraries independently.
18808 # Check whether --with-nlunit_test-includes was given.
18809 if test "${with_nlunit_test_includes+set}" = set; then :
18810 withval=$with_nlunit_test_includes;
18811 if test "${withval}" = "no"; then
18812 as_fn_error $? "${PACKAGE_NAME} requires the Nlunit-test package." "$LINENO" 5
18815 if test "x${nlunit_test_dir}" != "x"; then
18816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: overriding --with-nlunit_test=${nlunit_test_dir}" >&5
18817 $as_echo "$as_me: WARNING: overriding --with-nlunit_test=${nlunit_test_dir}" >&2;}
18820 if test "${withval}" = "internal"; then
18821 nlunit_test_header_dir=${withval}
18822 nl_with_nlunit_test=${withval}
18824 nlunit_test_header_dir=${withval}
18825 nl_with_nlunit_test=external
18830 nlunit_test_header_dir=;
18831 if test "x${nl_with_nlunit_test}" = "x"; then
18832 nl_with_nlunit_test=internal
18847 # Check whether --with-nlunit_test-libs was given.
18848 if test "${with_nlunit_test_libs+set}" = set; then :
18849 withval=$with_nlunit_test_libs;
18850 if test "${withval}" = "no"; then
18851 as_fn_error $? "${PACKAGE_NAME} requires the Nlunit-test package." "$LINENO" 5
18854 if test "x${nlunit_test_dir}" != "x"; then
18855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: overriding --with-nlunit_test=${nlunit_test_dir}" >&5
18856 $as_echo "$as_me: WARNING: overriding --with-nlunit_test=${nlunit_test_dir}" >&2;}
18859 if test "${withval}" = "internal"; then
18860 nlunit_test_library_dir=${withval}
18861 nl_with_nlunit_test=${withval}
18863 nlunit_test_library_dir=${withval}
18864 nl_with_nlunit_test=external
18869 nlunit_test_library_dir=;
18870 if test "x${nl_with_nlunit_test}" = "x"; then
18871 nl_with_nlunit_test=internal
18877 if test "${nl_with_nlunit_test}" == "no"; then
18878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use the Nlunit-test package" >&5
18879 $as_echo_n "checking whether to use the Nlunit-test package... " >&6; }
18880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${nl_with_nlunit_test}" >&5
18881 $as_echo "${nl_with_nlunit_test}" >&6; }
18884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking source of the Nlunit-test package" >&5
18885 $as_echo_n "checking source of the Nlunit-test package... " >&6; }
18886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${nl_with_nlunit_test}" >&5
18887 $as_echo "${nl_with_nlunit_test}" >&6; }
18889 # If the user has selected or has defaulted into the internal Nlunit-test
18890 # package, set the values appropriately. Otherwise, run through the
18893 if test "${nl_with_nlunit_test}" = "internal"; then
18895 # At this point, the internal Nlunit-test package will be neither
18896 # configured nor built, so the normal checks we undertake for an
18897 # external package cannot be run here. Simply set the appropriate
18898 # variables and trust all will be well.
18900 NLUNIT_TEST_CPPFLAGS="-I\${abs_top_srcdir}/third_party/nlunit-test/repo/src"
18901 NLUNIT_TEST_LDFLAGS="-L${ac_pwd}/third_party/nlunit-test/repo/src"
18902 NLUNIT_TEST_LIBS="-lnlunit-test"
18906 # We always prefer checking the values of the various '--with-nlunit_test-...'
18907 # options first to using pkg-config because the former might be used
18908 # in a cross-compilation environment on a system that also contains
18909 # pkg-config. In such a case, the user wants what he/she specified
18910 # rather than what pkg-config indicates.
18912 if test "x${nlunit_test_dir}" != "x" -o "x${nlunit_test_header_dir}" != "x" -o "x${nlunit_test_library_dir}" != "x"; then
18913 if test "x${nlunit_test_dir}" != "x"; then
18914 if test -d "${nlunit_test_dir}"; then
18915 if test -d "${nlunit_test_dir}/include"; then
18916 NLUNIT_TEST_CPPFLAGS="-I${nlunit_test_dir}/include"
18918 NLUNIT_TEST_CPPFLAGS="-I${nlunit_test_dir}"
18921 if test -d "${nlunit_test_dir}/lib"; then
18922 NLUNIT_TEST_LDFLAGS="-L${nlunit_test_dir}/lib"
18924 NLUNIT_TEST_LDFLAGS="-L${nlunit_test_dir}"
18927 as_fn_error $? "No such directory ${nlunit_test_dir}" "$LINENO" 5
18931 if test "x${nlunit_test_header_dir}" != "x"; then
18932 if test -d "${nlunit_test_header_dir}"; then
18933 NLUNIT_TEST_CPPFLAGS="-I${nlunit_test_header_dir}"
18935 as_fn_error $? "No such directory ${nlunit_test_header_dir}" "$LINENO" 5
18939 if test "x${nlunit_test_library_dir}" != "x"; then
18940 if test -d "${nlunit_test_library_dir}"; then
18941 NLUNIT_TEST_LDFLAGS="-L${nlunit_test_library_dir}"
18943 as_fn_error $? "No such directory ${nlunit_test_library_dir}" "$LINENO" 5
18947 NLUNIT_TEST_LIBS="${NLUNIT_TEST_LDFLAGS} -lnlunit-test"
18949 elif test "x${PKG_CONFIG}" != "x"; then
18950 if ${PKG_CONFIG} --exists "nlunit_test"; then
18951 NLUNIT_TEST_CPPFLAGS="`${PKG_CONFIG} --cflags nlunit_test`"
18952 NLUNIT_TEST_LDFLAGS="`${PKG_CONFIG} --libs-only-L nlunit_test`"
18953 NLUNIT_TEST_LIBS="`${PKG_CONFIG} --libs-only-l nlunit_test`"
18955 as_fn_error $? "Cannot find the nlunit_test package with ${PKG_CONFIG}. ${PACKAGE_NAME} requires the nlunit_test package. Try installing the package or use the relevant --with options to configure." "$LINENO" 5
18959 as_fn_error $? "Cannot find the Nlunit-test package. ${PACKAGE_NAME} requires the Nlunit-test package." "$LINENO" 5
18967 if test "${nl_with_nlunit_test}" != "internal" -a "${nl_with_nlunit_test}" != "no"; then
18968 nl_saved_CPPFLAGS="${CPPFLAGS}"
18969 nl_saved_LDFLAGS="${LDFLAGS}"
18970 nl_saved_LIBS="${LIBS}"
18972 CPPFLAGS="${CPPFLAGS} ${NLUNIT_TEST_CPPFLAGS}"
18973 LDFLAGS="${LDFLAGS} ${NLUNIT_TEST_LDFLAGS}"
18974 LIBS="${LIBS} ${NLUNIT_TEST_LIBS}"
18977 # Check for required nlunit-test headers.
18979 for ac_header in nlunit-test.h
18981 ac_fn_c_check_header_mongrel "$LINENO" "nlunit-test.h" "ac_cv_header_nlunit_test_h" "$ac_includes_default"
18982 if test "x$ac_cv_header_nlunit_test_h" = xyes; then :
18983 cat >>confdefs.h <<_ACEOF
18984 #define HAVE_NLUNIT_TEST_H 1
18989 as_fn_error $? "The nlunit-test header \"$ac_header\" is required but cannot be found." "$LINENO" 5
18997 CPPFLAGS="${nl_saved_CPPFLAGS}"
18998 LDFLAGS="${nl_saved_LDFLAGS}"
18999 LIBS="${nl_saved_LIBS}"
19005 # Depending on whether nlunit-test has been configured for an internal
19006 # location, its directory stem within this package needs to be set
19007 # accordingly. In addition, if the location is internal, then we need
19008 # to attempt to pull it down using the bootstrap makefile.
19010 if test "${nl_with_nlunit_test}" = "internal"; then
19011 maybe_nlunit_test_dirstem="nlunit-test/repo"
19012 nlunit_test_dirstem="third_party/${maybe_nlunit_test_dirstem}"
19014 { $as_echo "$as_me:${as_lineno-$LINENO}: attempting to create internal ${nlunit_test_dirstem}" >&5
19015 $as_echo "$as_me: attempting to create internal ${nlunit_test_dirstem}" >&6;}
19017 ${MAKE-make} --no-print-directory -C ${srcdir} -f Makefile-bootstrap ${nlunit_test_dirstem}
19019 if test $? -ne 0; then
19020 as_fn_error $? "failed to create ${nlunit_test_dirstem}. Please check your network connection or the correctness of 'repos.conf'" "$LINENO" 5
19023 maybe_nlunit_test_dirstem=""
19026 NLUNIT_TEST_SUBDIRS=${maybe_nlunit_test_dirstem}
19028 if test "${nl_with_nlunit_test}" = "internal"; then
19029 NLIO_WITH_NLUNIT_TEST_INTERNAL_TRUE=
19030 NLIO_WITH_NLUNIT_TEST_INTERNAL_FALSE='#'
19032 NLIO_WITH_NLUNIT_TEST_INTERNAL_TRUE='#'
19033 NLIO_WITH_NLUNIT_TEST_INTERNAL_FALSE=
19038 # Check for headers
19040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
19041 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
19042 if ${ac_cv_header_stdbool_h+:} false; then :
19043 $as_echo_n "(cached) " >&6
19045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19046 /* end confdefs.h. */
19048 #include <stdbool.h>
19050 "error: bool is not defined"
19053 "error: false is not defined"
19056 "error: false is not 0"
19059 "error: true is not defined"
19062 "error: true is not 1"
19064 #ifndef __bool_true_false_are_defined
19065 "error: __bool_true_false_are_defined is not defined"
19068 struct s { _Bool s: 1; _Bool t; } s;
19070 char a[true == 1 ? 1 : -1];
19071 char b[false == 0 ? 1 : -1];
19072 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
19073 char d[(bool) 0.5 == true ? 1 : -1];
19074 /* See body of main program for 'e'. */
19075 char f[(_Bool) 0.0 == false ? 1 : -1];
19077 char h[sizeof (_Bool)];
19078 char i[sizeof s.t];
19079 enum { j = false, k = true, l = false * true, m = true * 256 };
19080 /* The following fails for
19081 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
19083 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
19084 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
19085 /* Catch a bug in an HP-UX C compiler. See
19086 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
19087 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
19099 /* Refer to every declared value, to avoid compiler optimizations. */
19100 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
19101 + !m + !n + !o + !p + !q + !pq);
19107 if ac_fn_c_try_compile "$LINENO"; then :
19108 ac_cv_header_stdbool_h=yes
19110 ac_cv_header_stdbool_h=no
19112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
19115 $as_echo "$ac_cv_header_stdbool_h" >&6; }
19116 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
19117 if test "x$ac_cv_type__Bool" = xyes; then :
19119 cat >>confdefs.h <<_ACEOF
19120 #define HAVE__BOOL 1
19126 if test $ac_cv_header_stdbool_h = yes; then
19128 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
19132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19133 $as_echo_n "checking for ANSI C header files... " >&6; }
19134 if ${ac_cv_header_stdc+:} false; then :
19135 $as_echo_n "(cached) " >&6
19137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19138 /* end confdefs.h. */
19139 #include <stdlib.h>
19140 #include <stdarg.h>
19141 #include <string.h>
19152 if ac_fn_c_try_compile "$LINENO"; then :
19153 ac_cv_header_stdc=yes
19155 ac_cv_header_stdc=no
19157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19159 if test $ac_cv_header_stdc = yes; then
19160 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19162 /* end confdefs.h. */
19163 #include <string.h>
19166 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19167 $EGREP "memchr" >/dev/null 2>&1; then :
19170 ac_cv_header_stdc=no
19176 if test $ac_cv_header_stdc = yes; then
19177 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19179 /* end confdefs.h. */
19180 #include <stdlib.h>
19183 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19184 $EGREP "free" >/dev/null 2>&1; then :
19187 ac_cv_header_stdc=no
19193 if test $ac_cv_header_stdc = yes; then
19194 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19195 if test "$cross_compiling" = yes; then :
19198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19199 /* end confdefs.h. */
19201 #include <stdlib.h>
19202 #if ((' ' & 0x0FF) == 0x020)
19203 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19204 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19206 # define ISLOWER(c) \
19207 (('a' <= (c) && (c) <= 'i') \
19208 || ('j' <= (c) && (c) <= 'r') \
19209 || ('s' <= (c) && (c) <= 'z'))
19210 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19213 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19218 for (i = 0; i < 256; i++)
19219 if (XOR (islower (i), ISLOWER (i))
19220 || toupper (i) != TOUPPER (i))
19225 if ac_fn_c_try_run "$LINENO"; then :
19228 ac_cv_header_stdc=no
19230 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19231 conftest.$ac_objext conftest.beam conftest.$ac_ext
19236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19237 $as_echo "$ac_cv_header_stdc" >&6; }
19238 if test $ac_cv_header_stdc = yes; then
19240 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19245 for ac_header in stdint.h
19247 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
19248 if test "x$ac_cv_header_stdint_h" = xyes; then :
19249 cat >>confdefs.h <<_ACEOF
19250 #define HAVE_STDINT_H 1
19257 for ac_header in string.h
19259 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
19260 if test "x$ac_cv_header_string_h" = xyes; then :
19261 cat >>confdefs.h <<_ACEOF
19262 #define HAVE_STRING_H 1
19271 # Figure out whether the target uses endian.h or machine/endian.h.
19273 for ac_header in endian.h
19275 ac_fn_c_check_header_mongrel "$LINENO" "endian.h" "ac_cv_header_endian_h" "$ac_includes_default"
19276 if test "x$ac_cv_header_endian_h" = xyes; then :
19277 cat >>confdefs.h <<_ACEOF
19278 #define HAVE_ENDIAN_H 1
19285 for ac_header in machine/endian.h
19287 ac_fn_c_check_header_mongrel "$LINENO" "machine/endian.h" "ac_cv_header_machine_endian_h" "$ac_includes_default"
19288 if test "x$ac_cv_header_machine_endian_h" = xyes; then :
19289 cat >>confdefs.h <<_ACEOF
19290 #define HAVE_MACHINE_ENDIAN_H 1
19299 # Check for types and structures
19301 ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t"
19302 case $ac_cv_c_int8_t in #(
19306 cat >>confdefs.h <<_ACEOF
19307 #define int8_t $ac_cv_c_int8_t
19312 ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t"
19313 case $ac_cv_c_int16_t in #(
19317 cat >>confdefs.h <<_ACEOF
19318 #define int16_t $ac_cv_c_int16_t
19323 ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
19324 case $ac_cv_c_int32_t in #(
19328 cat >>confdefs.h <<_ACEOF
19329 #define int32_t $ac_cv_c_int32_t
19334 ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
19335 case $ac_cv_c_int64_t in #(
19339 cat >>confdefs.h <<_ACEOF
19340 #define int64_t $ac_cv_c_int64_t
19345 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
19346 case $ac_cv_c_uint8_t in #(
19350 $as_echo "#define _UINT8_T 1" >>confdefs.h
19353 cat >>confdefs.h <<_ACEOF
19354 #define uint8_t $ac_cv_c_uint8_t
19359 ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
19360 case $ac_cv_c_uint16_t in #(
19365 cat >>confdefs.h <<_ACEOF
19366 #define uint16_t $ac_cv_c_uint16_t
19371 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
19372 case $ac_cv_c_uint32_t in #(
19376 $as_echo "#define _UINT32_T 1" >>confdefs.h
19379 cat >>confdefs.h <<_ACEOF
19380 #define uint32_t $ac_cv_c_uint32_t
19385 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
19386 case $ac_cv_c_uint64_t in #(
19390 $as_echo "#define _UINT64_T 1" >>confdefs.h
19393 cat >>confdefs.h <<_ACEOF
19394 #define uint64_t $ac_cv_c_uint64_t
19401 # Checks for library functions
19404 if test "${ac_no_link}" != "yes"; then
19405 for ac_func in memcpy
19407 ac_fn_c_check_func "$LINENO" "memcpy" "ac_cv_func_memcpy"
19408 if test "x$ac_cv_func_memcpy" = xyes; then :
19409 cat >>confdefs.h <<_ACEOF
19410 #define HAVE_MEMCPY 1
19418 # Add any nlunit-test CPPFLAGS, LDFLAGS, and LIBS
19420 CPPFLAGS="${CPPFLAGS} ${NLUNIT_TEST_CPPFLAGS}"
19421 LDFLAGS="${LDFLAGS} ${NLUNIT_TEST_LDFLAGS}"
19422 LIBS="${LIBS} ${NLUNIT_TEST_LIBS}"
19424 # Add any code coverage CPPFLAGS and LIBS
19426 CPPFLAGS="${CPPFLAGS} ${NL_COVERAGE_CPPFLAGS}"
19427 LDFLAGS="${LDFLAGS} ${NL_COVERAGE_LDFLAGS}"
19428 LIBS="${LIBS} ${NL_COVERAGE_LIBS}"
19430 # At this point, we can restore the compiler flags to whatever the
19431 # user passed in, now that we're clear of any -Werror issues by
19432 # transforming -Wno-error back to -Werror.
19436 if test "${nl_had_OBJCXXFLAGS_werror}" = "yes"; then
19437 OBJCXXFLAGS="`echo ${OBJCXXFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
19440 unset nl_had_OBJCXXFLAGS_werror
19443 if test "${nl_had_OBJCFLAGS_werror}" = "yes"; then
19444 OBJCFLAGS="`echo ${OBJCFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
19447 unset nl_had_OBJCFLAGS_werror
19450 if test "${nl_had_CXXFLAGS_werror}" = "yes"; then
19451 CXXFLAGS="`echo ${CXXFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
19454 unset nl_had_CXXFLAGS_werror
19457 if test "${nl_had_CFLAGS_werror}" = "yes"; then
19458 CFLAGS="`echo ${CFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
19461 unset nl_had_CFLAGS_werror
19464 if test "${nl_had_CPPFLAGS_werror}" = "yes"; then
19465 CPPFLAGS="`echo ${CPPFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
19468 unset nl_had_CPPFLAGS_werror
19472 # Configure any autotools-based subdirectories
19474 if test "${nl_with_nlunit_test}" = "internal"; then
19477 subdirs="$subdirs third_party/nlunit-test/repo"
19479 NLUNIT_TEST_FOREIGN_SUBDIR_DEPENDENCY="${ac_pwd}/third_party/nlunit-test/repo/src"
19484 # Identify the various makefiles and auto-generated files for the package
19486 ac_config_files="$ac_config_files Makefile third_party/Makefile include/Makefile tests/Makefile doc/Makefile"
19490 # Generate the auto-generated files for the package
19492 cat >confcache <<\_ACEOF
19493 # This file is a shell script that caches the results of configure
19494 # tests run on this system so they can be shared between configure
19495 # scripts and configure runs, see configure's option --config-cache.
19496 # It is not useful on other systems. If it contains results you don't
19497 # want to keep, you may remove or edit it.
19499 # config.status only pays attention to the cache file if you give it
19500 # the --recheck option to rerun configure.
19502 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19503 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19504 # following values.
19508 # The following way of writing the cache mishandles newlines in values,
19509 # but we know of no workaround that is simple, portable, and efficient.
19510 # So, we kill variables containing newlines.
19511 # Ultrix sh set writes to stderr and can't be redirected directly,
19512 # and sets the high bit in the cache file unless we assign to the vars.
19514 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19515 eval ac_val=\$$ac_var
19519 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19520 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19523 _ | IFS | as_nl) ;; #(
19524 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19525 *) { eval $ac_var=; unset $ac_var;} ;;
19531 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19532 *${as_nl}ac_space=\ *)
19533 # `set' does not quote correctly, so add quotes: double-quote
19534 # substitution turns \\\\ into \\, and sed turns \\ into \.
19537 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19540 # `set' quotes correctly as required by POSIX, so do not add quotes.
19541 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19550 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19552 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19554 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19555 if test -w "$cache_file"; then
19556 if test "x$cache_file" != "x/dev/null"; then
19557 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19558 $as_echo "$as_me: updating cache $cache_file" >&6;}
19559 if test ! -f "$cache_file" || test -h "$cache_file"; then
19560 cat confcache >"$cache_file"
19562 case $cache_file in #(
19564 mv -f confcache "$cache_file"$$ &&
19565 mv -f "$cache_file"$$ "$cache_file" ;; #(
19567 mv -f confcache "$cache_file" ;;
19572 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19573 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19578 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19579 # Let make expand exec_prefix.
19580 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19582 DEFS=-DHAVE_CONFIG_H
19587 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19588 # 1. Remove the extension, and $U if already installed.
19589 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19590 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19591 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19592 # will be set to the directory where LIBOBJS objects are built.
19593 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19594 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19596 LIBOBJS=$ac_libobjs
19598 LTLIBOBJS=$ac_ltlibobjs
19601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
19602 $as_echo_n "checking that generated files are newer than configure... " >&6; }
19603 if test -n "$am_sleep_pid"; then
19604 # Hide warnings about reused PIDs.
19605 wait $am_sleep_pid 2>/dev/null
19607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
19608 $as_echo "done" >&6; }
19609 if test -n "$EXEEXT"; then
19611 am__EXEEXT_FALSE='#'
19613 am__EXEEXT_TRUE='#'
19617 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19618 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
19619 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19621 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19622 as_fn_error $? "conditional \"AMDEP\" was never defined.
19623 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19625 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19626 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19627 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19629 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19630 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19631 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19633 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19634 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19635 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19637 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19638 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19639 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19641 if test -z "${NLIO_BUILD_DEBUG_TRUE}" && test -z "${NLIO_BUILD_DEBUG_FALSE}"; then
19642 as_fn_error $? "conditional \"NLIO_BUILD_DEBUG\" was never defined.
19643 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19645 if test -z "${NLIO_BUILD_COVERAGE_TRUE}" && test -z "${NLIO_BUILD_COVERAGE_FALSE}"; then
19646 as_fn_error $? "conditional \"NLIO_BUILD_COVERAGE\" was never defined.
19647 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19649 if test -z "${NLIO_BUILD_COVERAGE_REPORTS_TRUE}" && test -z "${NLIO_BUILD_COVERAGE_REPORTS_FALSE}"; then
19650 as_fn_error $? "conditional \"NLIO_BUILD_COVERAGE_REPORTS\" was never defined.
19651 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19653 if test -z "${NLIO_BUILD_OPTIMIZED_TRUE}" && test -z "${NLIO_BUILD_OPTIMIZED_FALSE}"; then
19654 as_fn_error $? "conditional \"NLIO_BUILD_OPTIMIZED\" was never defined.
19655 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19657 if test -z "${NLIO_BUILD_TESTS_TRUE}" && test -z "${NLIO_BUILD_TESTS_FALSE}"; then
19658 as_fn_error $? "conditional \"NLIO_BUILD_TESTS\" was never defined.
19659 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19661 if test -z "${NLIO_BUILD_DOCS_TRUE}" && test -z "${NLIO_BUILD_DOCS_FALSE}"; then
19662 as_fn_error $? "conditional \"NLIO_BUILD_DOCS\" was never defined.
19663 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19665 if test -z "${NLIO_WITH_NLUNIT_TEST_INTERNAL_TRUE}" && test -z "${NLIO_WITH_NLUNIT_TEST_INTERNAL_FALSE}"; then
19666 as_fn_error $? "conditional \"NLIO_WITH_NLUNIT_TEST_INTERNAL\" was never defined.
19667 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19670 : "${CONFIG_STATUS=./config.status}"
19672 ac_clean_files_save=$ac_clean_files
19673 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19674 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19675 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19677 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19679 # Generated by $as_me.
19680 # Run this file to recreate the current configuration.
19681 # Compiler output produced by configure, useful for debugging
19682 # configure, is in config.log if it exists.
19685 ac_cs_recheck=false
19688 SHELL=\${CONFIG_SHELL-$SHELL}
19691 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19692 ## -------------------- ##
19693 ## M4sh Initialization. ##
19694 ## -------------------- ##
19696 # Be more Bourne compatible
19697 DUALCASE=1; export DUALCASE # for MKS sh
19698 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19701 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19702 # is contrary to our usage. Disable this feature.
19703 alias -g '${1+"$@"}'='"$@"'
19704 setopt NO_GLOB_SUBST
19706 case `(set -o) 2>/dev/null` in #(
19718 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19719 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19720 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19721 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19722 # Prefer a ksh shell builtin over an external printf program on Solaris,
19723 # but without wasting forks for bash or zsh.
19724 if test -z "$BASH_VERSION$ZSH_VERSION" \
19725 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19726 as_echo='print -r --'
19727 as_echo_n='print -rn --'
19728 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19729 as_echo='printf %s\n'
19730 as_echo_n='printf %s'
19732 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19733 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19734 as_echo_n='/usr/ucb/echo -n'
19736 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19737 as_echo_n_body='eval
19741 expr "X$arg" : "X\\(.*\\)$as_nl";
19742 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19744 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19746 export as_echo_n_body
19747 as_echo_n='sh -c $as_echo_n_body as_echo'
19749 export as_echo_body
19750 as_echo='sh -c $as_echo_body as_echo'
19753 # The user is always right.
19754 if test "${PATH_SEPARATOR+set}" != set; then
19756 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19757 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19764 # We need space, tab and new line, in precisely that order. Quoting is
19765 # there to prevent editors from complaining about space-tab.
19766 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19767 # splitting by setting IFS to empty value.)
19770 # Find who we are. Look in the path if we contain no directory separator.
19773 *[\\/]* ) as_myself=$0 ;;
19774 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19775 for as_dir in $PATH
19778 test -z "$as_dir" && as_dir=.
19779 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19785 # We did not find ourselves, most probably we were run as `sh COMMAND'
19786 # in which case we are not to be found in the path.
19787 if test "x$as_myself" = x; then
19790 if test ! -f "$as_myself"; then
19791 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19795 # Unset variables that we do not need and which cause bugs (e.g. in
19796 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19797 # suppresses any "Segmentation fault" message there. '((' could
19798 # trigger a bug in pdksh 5.2.14.
19799 for as_var in BASH_ENV ENV MAIL MAILPATH
19800 do eval test x\${$as_var+set} = xset \
19801 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19814 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19817 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19818 # ----------------------------------------
19819 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19820 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19821 # script with STATUS, using 1 if that was 0.
19824 as_status=$1; test $as_status -eq 0 && as_status=1
19826 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19827 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19829 $as_echo "$as_me: error: $2" >&2
19830 as_fn_exit $as_status
19834 # as_fn_set_status STATUS
19835 # -----------------------
19836 # Set $? to STATUS, without forking.
19837 as_fn_set_status ()
19840 } # as_fn_set_status
19842 # as_fn_exit STATUS
19843 # -----------------
19844 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19848 as_fn_set_status $1
19854 # Portably unset VAR.
19857 { eval $1=; unset $1;}
19859 as_unset=as_fn_unset
19860 # as_fn_append VAR VALUE
19861 # ----------------------
19862 # Append the text in VALUE to the end of the definition contained in VAR. Take
19863 # advantage of any shell optimizations that allow amortized linear growth over
19864 # repeated appends, instead of the typical quadratic growth present in naive
19866 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19867 eval 'as_fn_append ()
19878 # as_fn_arith ARG...
19879 # ------------------
19880 # Perform arithmetic evaluation on the ARGs, and store the result in the
19881 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19882 # must be portable across $(()) and expr.
19883 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19884 eval 'as_fn_arith ()
19891 as_val=`expr "$@" || test $? -eq 1`
19896 if expr a : '\(a\)' >/dev/null 2>&1 &&
19897 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19903 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19904 as_basename=basename
19909 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19915 as_me=`$as_basename -- "$0" ||
19916 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19917 X"$0" : 'X\(//\)$' \| \
19918 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19920 sed '/^.*\/\([^/][^/]*\)\/*$/{
19934 # Avoid depending upon Character Ranges.
19935 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19936 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19937 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19938 as_cr_digits='0123456789'
19939 as_cr_alnum=$as_cr_Letters$as_cr_digits
19941 ECHO_C= ECHO_N= ECHO_T=
19942 case `echo -n x` in #(((((
19944 case `echo 'xy\c'` in
19945 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19947 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19954 rm -f conf$$ conf$$.exe conf$$.file
19955 if test -d conf$$.dir; then
19956 rm -f conf$$.dir/conf$$.file
19959 mkdir conf$$.dir 2>/dev/null
19961 if (echo >conf$$.file) 2>/dev/null; then
19962 if ln -s conf$$.file conf$$ 2>/dev/null; then
19964 # ... but there are two gotchas:
19965 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19966 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19967 # In both cases, we have to default to `cp -p'.
19968 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19970 elif ln conf$$.file conf$$ 2>/dev/null; then
19978 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19979 rmdir conf$$.dir 2>/dev/null
19984 # Create "$as_dir" as a directory, including parents if necessary.
19989 -*) as_dir=./$as_dir;;
19991 test -d "$as_dir" || eval $as_mkdir_p || {
19995 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19996 *) as_qdir=$as_dir;;
19998 as_dirs="'$as_qdir' $as_dirs"
19999 as_dir=`$as_dirname -- "$as_dir" ||
20000 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20001 X"$as_dir" : 'X\(//\)[^/]' \| \
20002 X"$as_dir" : 'X\(//\)$' \| \
20003 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20004 $as_echo X"$as_dir" |
20005 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20009 /^X\(\/\/\)[^/].*/{
20022 test -d "$as_dir" && break
20024 test -z "$as_dirs" || eval "mkdir $as_dirs"
20025 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20029 if mkdir -p . 2>/dev/null; then
20030 as_mkdir_p='mkdir -p "$as_dir"'
20032 test -d ./-p && rmdir ./-p
20036 if test -x / >/dev/null 2>&1; then
20037 as_test_x='test -x'
20039 if ls -dL / >/dev/null 2>&1; then
20046 if test -d "$1"; then
20052 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
20053 ???[sx]*):;;*)false;;esac;fi
20057 as_executable_p=$as_test_x
20059 # Sed expression to map a string onto a valid CPP name.
20060 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20062 # Sed expression to map a string onto a valid variable name.
20063 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20067 ## ----------------------------------- ##
20068 ## Main body of $CONFIG_STATUS script. ##
20069 ## ----------------------------------- ##
20071 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20073 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20074 # Save the log message, to keep $0 and so on meaningful, and to
20075 # report actual input values of CONFIG_FILES etc. instead of their
20076 # values after options handling.
20078 This file was extended by nlio $as_me gf493c3b, which was
20079 generated by GNU Autoconf 2.68. Invocation command line was
20081 CONFIG_FILES = $CONFIG_FILES
20082 CONFIG_HEADERS = $CONFIG_HEADERS
20083 CONFIG_LINKS = $CONFIG_LINKS
20084 CONFIG_COMMANDS = $CONFIG_COMMANDS
20087 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20092 case $ac_config_files in *"
20093 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20096 case $ac_config_headers in *"
20097 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20101 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20102 # Files that config.status was made for.
20103 config_files="$ac_config_files"
20104 config_headers="$ac_config_headers"
20105 config_commands="$ac_config_commands"
20109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20111 \`$as_me' instantiates files and other configuration actions
20112 from templates according to the current configuration. Unless the files
20113 and actions are specified as TAGs, all are instantiated by default.
20115 Usage: $0 [OPTION]... [TAG]...
20117 -h, --help print this help, then exit
20118 -V, --version print version number and configuration settings, then exit
20119 --config print configuration, then exit
20120 -q, --quiet, --silent
20121 do not print progress messages
20122 -d, --debug don't remove temporary files
20123 --recheck update $as_me by reconfiguring in the same conditions
20124 --file=FILE[:TEMPLATE]
20125 instantiate the configuration file FILE
20126 --header=FILE[:TEMPLATE]
20127 instantiate the configuration header FILE
20129 Configuration files:
20132 Configuration headers:
20135 Configuration commands:
20138 Report bugs to <nlio-users@google.com>.
20139 nlio home page: <https://github.com/nestlabs/nlio/>."
20142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20143 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20145 nlio config.status gf493c3b
20146 configured by $0, generated by GNU Autoconf 2.68,
20147 with options \\"\$ac_cs_config\\"
20149 Copyright (C) 2010 Free Software Foundation, Inc.
20150 This config.status script is free software; the Free Software Foundation
20151 gives unlimited permission to copy, distribute and modify it."
20158 test -n "\$AWK" || AWK=awk
20161 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20162 # The default lists apply if the user does not specify any file.
20168 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20169 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20173 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20185 # Handling of the options.
20186 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20188 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20189 $as_echo "$ac_cs_version"; exit ;;
20190 --config | --confi | --conf | --con | --co | --c )
20191 $as_echo "$ac_cs_config"; exit ;;
20192 --debug | --debu | --deb | --de | --d | -d )
20194 --file | --fil | --fi | --f )
20197 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20198 '') as_fn_error $? "missing file argument" ;;
20200 as_fn_append CONFIG_FILES " '$ac_optarg'"
20201 ac_need_defaults=false;;
20202 --header | --heade | --head | --hea )
20205 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20207 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20208 ac_need_defaults=false;;
20210 # Conflict between --help and --header
20211 as_fn_error $? "ambiguous option: \`$1'
20212 Try \`$0 --help' for more information.";;
20213 --help | --hel | -h )
20214 $as_echo "$ac_cs_usage"; exit ;;
20215 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20216 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20219 # This is an error.
20220 -*) as_fn_error $? "unrecognized option: \`$1'
20221 Try \`$0 --help' for more information." ;;
20223 *) as_fn_append ac_config_targets " $1"
20224 ac_need_defaults=false ;;
20230 ac_configure_extra_args=
20232 if $ac_cs_silent; then
20234 ac_configure_extra_args="$ac_configure_extra_args --silent"
20238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20239 if \$ac_cs_recheck; then
20240 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20242 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20243 CONFIG_SHELL='$SHELL'
20244 export CONFIG_SHELL
20249 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20253 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20254 ## Running $as_me. ##
20260 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20264 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20267 # The HP-UX ksh and POSIX shell print the target directory to stdout
20268 # if CDPATH is set.
20269 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20271 sed_quote_subst='$sed_quote_subst'
20272 double_quote_subst='$double_quote_subst'
20273 delay_variable_subst='$delay_variable_subst'
20274 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20275 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20276 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20277 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20278 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20279 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20280 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20281 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20282 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
20283 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20284 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20285 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20286 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20287 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20288 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20289 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20290 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20291 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20292 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20293 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20294 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20295 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20296 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20297 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20298 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20299 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20300 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20301 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20302 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20303 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20304 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20305 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20306 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20307 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20308 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20309 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20310 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20311 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20312 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20313 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20314 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20315 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20316 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20317 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20318 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20319 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20320 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20321 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20322 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20323 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20324 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20325 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20326 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20327 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20328 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20329 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20330 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"`'
20331 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20332 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20333 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20334 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20335 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20336 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20337 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20338 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20339 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20340 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20341 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20342 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20343 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20344 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20345 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20346 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20347 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20348 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20349 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20350 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20351 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20352 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20353 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20354 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20355 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20356 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20357 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20358 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20359 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20360 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20361 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20362 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20363 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20364 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20365 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20366 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20367 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20368 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20369 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20370 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20371 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20372 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20373 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20374 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20375 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20376 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20377 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20378 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20379 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20380 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20381 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20382 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20383 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20384 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20385 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20386 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20387 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20388 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20389 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20390 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20391 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20392 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20393 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20394 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20395 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20396 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20397 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20398 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20399 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20400 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20401 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20402 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20403 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20404 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20405 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20406 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20407 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20408 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20409 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20410 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20411 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20412 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20413 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20414 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20415 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20416 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20417 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20418 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20419 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20420 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20421 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20422 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20423 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20424 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20425 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20426 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20427 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20428 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20429 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20430 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20431 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20432 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20433 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20434 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20435 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20436 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20437 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20438 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20439 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20440 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20441 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20442 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20443 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20444 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20445 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20446 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20447 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20448 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20449 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20450 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20451 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20452 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20453 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20454 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20455 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20456 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20457 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20460 LTCFLAGS='$LTCFLAGS'
20461 compiler='$compiler_DEFAULT'
20463 # A function that is used when there is no print builtin or printf.
20464 func_fallback_echo ()
20466 eval 'cat <<_LTECHO_EOF
20471 # Quote evaled strings.
20486 deplibs_check_method \
20491 sharedlib_from_linklib_cmd \
20494 archiver_list_spec \
20500 lt_cv_sys_global_symbol_pipe \
20501 lt_cv_sys_global_symbol_to_cdecl \
20502 lt_cv_sys_global_symbol_to_c_name_address \
20503 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20504 nm_file_list_spec \
20505 lt_prog_compiler_no_builtin_flag \
20506 lt_prog_compiler_pic \
20507 lt_prog_compiler_wl \
20508 lt_prog_compiler_static \
20509 lt_cv_prog_compiler_c_o \
20518 export_dynamic_flag_spec \
20519 whole_archive_flag_spec \
20520 compiler_needs_object \
20522 allow_undefined_flag \
20523 no_undefined_flag \
20524 hardcode_libdir_flag_spec \
20525 hardcode_libdir_separator \
20529 variables_saved_for_relink \
20531 library_names_spec \
20533 install_override_mode \
20537 compiler_lib_search_dirs \
20542 compiler_lib_search_path \
20546 lt_prog_compiler_no_builtin_flag_CXX \
20547 lt_prog_compiler_pic_CXX \
20548 lt_prog_compiler_wl_CXX \
20549 lt_prog_compiler_static_CXX \
20550 lt_cv_prog_compiler_c_o_CXX \
20551 export_dynamic_flag_spec_CXX \
20552 whole_archive_flag_spec_CXX \
20553 compiler_needs_object_CXX \
20555 allow_undefined_flag_CXX \
20556 no_undefined_flag_CXX \
20557 hardcode_libdir_flag_spec_CXX \
20558 hardcode_libdir_separator_CXX \
20559 exclude_expsyms_CXX \
20560 include_expsyms_CXX \
20561 file_list_spec_CXX \
20562 compiler_lib_search_dirs_CXX \
20563 predep_objects_CXX \
20564 postdep_objects_CXX \
20567 compiler_lib_search_path_CXX; do
20568 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20569 *[\\\\\\\`\\"\\\$]*)
20570 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20573 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20578 # Double-quote double-evaled strings.
20579 for var in reload_cmds \
20580 old_postinstall_cmds \
20581 old_postuninstall_cmds \
20583 extract_expsyms_cmds \
20584 old_archive_from_new_cmds \
20585 old_archive_from_expsyms_cmds \
20587 archive_expsym_cmds \
20589 module_expsym_cmds \
20590 export_symbols_cmds \
20594 postuninstall_cmds \
20596 sys_lib_search_path_spec \
20597 sys_lib_dlsearch_path_spec \
20599 old_archive_cmds_CXX \
20600 old_archive_from_new_cmds_CXX \
20601 old_archive_from_expsyms_cmds_CXX \
20603 archive_expsym_cmds_CXX \
20605 module_expsym_cmds_CXX \
20606 export_symbols_cmds_CXX \
20608 postlink_cmds_CXX; do
20609 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20610 *[\\\\\\\`\\"\\\$]*)
20611 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20614 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20619 ac_aux_dir='$ac_aux_dir'
20620 xsi_shell='$xsi_shell'
20621 lt_shell_append='$lt_shell_append'
20623 # See if we are running on zsh, and set the options which allow our
20624 # commands through without removal of \ escapes INIT.
20625 if test -n "\${ZSH_VERSION+set}" ; then
20626 setopt NO_GLOB_SUBST
20632 TIMESTAMP='$TIMESTAMP'
20643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20645 # Handling of arguments.
20646 for ac_config_target in $ac_config_targets
20648 case $ac_config_target in
20649 "include/nlio-config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/nlio-config.h" ;;
20650 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20651 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20652 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20653 "third_party/Makefile") CONFIG_FILES="$CONFIG_FILES third_party/Makefile" ;;
20654 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
20655 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
20656 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
20658 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20663 # If the user did not use the arguments to specify the items to instantiate,
20664 # then the envvar interface is used. Set only those that are not.
20665 # We use the long form for the default assignment because of an extremely
20666 # bizarre bug on SunOS 4.1.3.
20667 if $ac_need_defaults; then
20668 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20669 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20670 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20673 # Have a temporary directory for convenience. Make it in the build tree
20674 # simply because there is no reason against having it here, and in addition,
20675 # creating and moving files from /tmp can sometimes cause problems.
20676 # Hook for its removal unless debugging.
20677 # Note that there is a small window in which the directory will not be cleaned:
20678 # after its creation but before its name has been assigned to `$tmp'.
20682 trap 'exit_status=$?
20683 : "${ac_tmp:=$tmp}"
20684 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20686 trap 'as_fn_exit 1' 1 2 13 15
20688 # Create a (secure) tmp directory for tmp files.
20691 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20695 tmp=./conf$$-$RANDOM
20696 (umask 077 && mkdir "$tmp")
20697 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20700 # Set up the scripts for CONFIG_FILES section.
20701 # No need to generate them if there are no CONFIG_FILES.
20702 # This happens for instance with `./config.status config.h'.
20703 if test -n "$CONFIG_FILES"; then
20706 ac_cr=`echo X | tr X '\015'`
20707 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20708 # But we know of no other shell where ac_cr would be empty at this
20709 # point, so we can use a bashism as a fallback.
20710 if test "x$ac_cr" = x; then
20711 eval ac_cr=\$\'\\r\'
20713 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20714 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20717 ac_cs_awk_cr=$ac_cr
20720 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20725 echo "cat >conf$$subs.awk <<_ACEOF" &&
20726 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20728 } >conf$$subs.sh ||
20729 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20730 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20732 for ac_last_try in false false false false false :; do
20733 . ./conf$$subs.sh ||
20734 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20736 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20737 if test $ac_delim_n = $ac_delim_num; then
20739 elif $ac_last_try; then
20740 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20742 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20745 rm -f conf$$subs.sh
20747 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20748 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20752 s/^/S["/; s/!.*/"]=/
20762 s/\(.\{148\}\)..*/\1/
20764 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20769 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20776 s/\(.\{148\}\)..*/\1/
20778 s/["\\]/\\&/g; s/^/"/; s/$/"/
20782 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20787 ' <conf$$subs.awk | sed '
20792 ' >>$CONFIG_STATUS || ac_write_fail=1
20793 rm -f conf$$subs.awk
20794 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20796 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20797 for (key in S) S_is_set[key] = 1
20803 nfields = split(line, field, "@")
20805 len = length(field[1])
20806 for (i = 2; i < nfields; i++) {
20808 keylen = length(key)
20809 if (S_is_set[key]) {
20811 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20812 len += length(value) + length(field[++i])
20823 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20824 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20825 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20828 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20829 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20832 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20833 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20834 # trailing colons and then remove the whole line if VPATH becomes empty
20835 # (actually we leave an empty line to preserve line numbers).
20836 if test "x$srcdir" = x.; then
20837 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20856 fi # test -n "$CONFIG_FILES"
20858 # Set up the scripts for CONFIG_HEADERS section.
20859 # No need to generate them if there are no CONFIG_HEADERS.
20860 # This happens for instance with `./config.status Makefile'.
20861 if test -n "$CONFIG_HEADERS"; then
20862 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20866 # Transform confdefs.h into an awk script `defines.awk', embedded as
20867 # here-document in config.status, that substitutes the proper values into
20868 # config.h.in to produce config.h.
20870 # Create a delimiter string that does not exist in confdefs.h, to ease
20871 # handling of long lines.
20873 for ac_last_try in false false :; do
20874 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20875 if test -z "$ac_tt"; then
20877 elif $ac_last_try; then
20878 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20880 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20884 # For the awk script, D is an array of macro values keyed by name,
20885 # likewise P contains macro parameters if any. Preserve backslash
20886 # newline sequences.
20888 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20890 s/.\{148\}/&'"$ac_delim"'/g
20893 s/^[ ]*#[ ]*define[ ][ ]*/ /
20900 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20902 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20906 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20907 D["\1"]=" \3\\\\\\n"\\/p
20909 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20914 s/.\{148\}/&'"$ac_delim"'/g
20919 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20922 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20924 ' <confdefs.h | sed '
20925 s/'"$ac_delim"'/"\\\
20926 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20928 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20929 for (key in D) D_is_set[key] = 1
20932 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20934 split(line, arg, " ")
20935 if (arg[1] == "#") {
20939 defundef = substr(arg[1], 2)
20942 split(mac1, mac2, "(") #)
20944 prefix = substr(line, 1, index(line, defundef) - 1)
20945 if (D_is_set[macro]) {
20946 # Preserve the white space surrounding the "#".
20947 print prefix "define", macro P[macro] D[macro]
20950 # Replace #undef with comments. This is necessary, for example,
20951 # in the case of _POSIX_SOURCE, which is predefined and required
20952 # on some systems where configure will not decide to define it.
20953 if (defundef == "undef") {
20954 print "/*", prefix defundef, macro, "*/"
20962 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20963 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20964 fi # test -n "$CONFIG_HEADERS"
20967 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20972 :[FHLC]) ac_mode=$ac_tag; continue;;
20974 case $ac_mode$ac_tag in
20976 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20977 :[FH]-) ac_tag=-:-;;
20978 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20995 -) ac_f="$ac_tmp/stdin";;
20996 *) # Look for the file first in the build tree, then in the source tree
20997 # (if the path is not absolute). The absolute path cannot be DOS-style,
20998 # because $ac_f cannot contain `:'.
21002 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21004 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21006 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21007 as_fn_append ac_file_inputs " '$ac_f'"
21010 # Let's still pretend it is `configure' which instantiates (i.e., don't
21011 # use $as_me), people would be surprised to read:
21012 # /* config.h. Generated by config.status. */
21013 configure_input='Generated from '`
21014 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21016 if test x"$ac_file" != x-; then
21017 configure_input="$ac_file. $configure_input"
21018 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21019 $as_echo "$as_me: creating $ac_file" >&6;}
21021 # Neutralize special characters interpreted by sed in replacement strings.
21022 case $configure_input in #(
21023 *\&* | *\|* | *\\* )
21024 ac_sed_conf_input=`$as_echo "$configure_input" |
21025 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21026 *) ac_sed_conf_input=$configure_input;;
21030 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21031 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21036 ac_dir=`$as_dirname -- "$ac_file" ||
21037 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21038 X"$ac_file" : 'X\(//\)[^/]' \| \
21039 X"$ac_file" : 'X\(//\)$' \| \
21040 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21041 $as_echo X"$ac_file" |
21042 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21046 /^X\(\/\/\)[^/].*/{
21059 as_dir="$ac_dir"; as_fn_mkdir_p
21063 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21065 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21066 # A ".." for each directory in $ac_dir_suffix.
21067 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21068 case $ac_top_builddir_sub in
21069 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21070 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21073 ac_abs_top_builddir=$ac_pwd
21074 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21075 # for backward compatibility:
21076 ac_top_builddir=$ac_top_build_prefix
21079 .) # We are building in place.
21081 ac_top_srcdir=$ac_top_builddir_sub
21082 ac_abs_top_srcdir=$ac_pwd ;;
21083 [\\/]* | ?:[\\/]* ) # Absolute name.
21084 ac_srcdir=$srcdir$ac_dir_suffix;
21085 ac_top_srcdir=$srcdir
21086 ac_abs_top_srcdir=$srcdir ;;
21087 *) # Relative name.
21088 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21089 ac_top_srcdir=$ac_top_build_prefix$srcdir
21090 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21092 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21102 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21103 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21105 ac_MKDIR_P=$MKDIR_P
21107 [\\/$]* | ?:[\\/]* ) ;;
21108 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
21112 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21113 # If the template does not know about datarootdir, expand it.
21114 # FIXME: This hack should be removed a few years after 2.60.
21115 ac_datarootdir_hack=; ac_datarootdir_seen=
21126 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21127 *datarootdir*) ac_datarootdir_seen=yes;;
21128 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21130 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21132 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21133 ac_datarootdir_hack='
21134 s&@datadir@&$datadir&g
21135 s&@docdir@&$docdir&g
21136 s&@infodir@&$infodir&g
21137 s&@localedir@&$localedir&g
21138 s&@mandir@&$mandir&g
21139 s&\\\${datarootdir}&$datarootdir&g' ;;
21143 # Neutralize VPATH when `$srcdir' = `.'.
21144 # Shell code in configure.ac might set extrasub.
21145 # FIXME: do we really want to maintain this feature?
21146 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21147 ac_sed_extra="$ac_vpsub
21150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21152 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21153 s|@configure_input@|$ac_sed_conf_input|;t t
21154 s&@top_builddir@&$ac_top_builddir_sub&;t t
21155 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21156 s&@srcdir@&$ac_srcdir&;t t
21157 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21158 s&@top_srcdir@&$ac_top_srcdir&;t t
21159 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21160 s&@builddir@&$ac_builddir&;t t
21161 s&@abs_builddir@&$ac_abs_builddir&;t t
21162 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21163 s&@INSTALL@&$ac_INSTALL&;t t
21164 s&@MKDIR_P@&$ac_MKDIR_P&;t t
21165 $ac_datarootdir_hack
21167 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21168 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21170 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21171 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21172 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21173 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21175 which seems to be undefined. Please make sure it is defined" >&5
21176 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21177 which seems to be undefined. Please make sure it is defined" >&2;}
21179 rm -f "$ac_tmp/stdin"
21181 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21182 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21184 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21190 if test x"$ac_file" != x-; then
21192 $as_echo "/* $configure_input */" \
21193 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21194 } >"$ac_tmp/config.h" \
21195 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21196 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21197 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21198 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21201 mv "$ac_tmp/config.h" "$ac_file" \
21202 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21205 $as_echo "/* $configure_input */" \
21206 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21207 || as_fn_error $? "could not create -" "$LINENO" 5
21209 # Compute "$ac_file"'s index in $config_headers.
21212 for _am_header in $config_headers :; do
21213 case $_am_header in
21214 $_am_arg | $_am_arg:* )
21217 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21220 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21221 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21222 X"$_am_arg" : 'X\(//\)[^/]' \| \
21223 X"$_am_arg" : 'X\(//\)$' \| \
21224 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21225 $as_echo X"$_am_arg" |
21226 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21230 /^X\(\/\/\)[^/].*/{
21242 s/.*/./; q'`/stamp-h$_am_stamp_count
21245 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21246 $as_echo "$as_me: executing $ac_file commands" >&6;}
21251 case $ac_file$ac_mode in
21252 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
21253 # Older Autoconf quotes --file arguments for eval, but not when files
21254 # are listed without --file. Let's play safe and only enable the eval
21255 # if we detect the quoting.
21256 case $CONFIG_FILES in
21257 *\'*) eval set x "$CONFIG_FILES" ;;
21258 *) set x $CONFIG_FILES ;;
21263 # Strip MF so we end up with the name of the file.
21264 mf=`echo "$mf" | sed -e 's/:.*$//'`
21265 # Check whether this is an Automake generated Makefile or not.
21266 # We used to match only the files named 'Makefile.in', but
21267 # some people rename them; so instead we look at the file content.
21268 # Grep'ing the first line is not enough: some people post-process
21269 # each Makefile.in and add a new line on top of each file to say so.
21270 # Grep'ing the whole file is not good either: AIX grep has a line
21271 # limit of 2048, but all sed's we know have understand at least 4000.
21272 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
21273 dirpart=`$as_dirname -- "$mf" ||
21274 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21275 X"$mf" : 'X\(//\)[^/]' \| \
21276 X"$mf" : 'X\(//\)$' \| \
21277 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21279 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21283 /^X\(\/\/\)[^/].*/{
21299 # Extract the definition of DEPDIR, am__include, and am__quote
21300 # from the Makefile without running 'make'.
21301 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21302 test -z "$DEPDIR" && continue
21303 am__include=`sed -n 's/^am__include = //p' < "$mf"`
21304 test -z "$am__include" && continue
21305 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21306 # Find all dependency output files, they are included files with
21307 # $(DEPDIR) in their names. We invoke sed twice because it is the
21308 # simplest approach to changing $(DEPDIR) to its actual value in the
21310 for file in `sed -n "
21311 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21312 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
21313 # Make sure the directory exists.
21314 test -f "$dirpart/$file" && continue
21315 fdir=`$as_dirname -- "$file" ||
21316 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21317 X"$file" : 'X\(//\)[^/]' \| \
21318 X"$file" : 'X\(//\)$' \| \
21319 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21320 $as_echo X"$file" |
21321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21325 /^X\(\/\/\)[^/].*/{
21338 as_dir=$dirpart/$fdir; as_fn_mkdir_p
21339 # echo "creating $dirpart/$file"
21340 echo '# dummy' > "$dirpart/$file"
21347 # See if we are running on zsh, and set the options which allow our
21348 # commands through without removal of \ escapes.
21349 if test -n "${ZSH_VERSION+set}" ; then
21350 setopt NO_GLOB_SUBST
21353 cfgfile="${ofile}T"
21354 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21357 cat <<_LT_EOF >> "$cfgfile"
21360 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21361 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21362 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21363 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21365 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21366 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
21368 # Written by Gordon Matzigkeit, 1996
21370 # This file is part of GNU Libtool.
21372 # GNU Libtool is free software; you can redistribute it and/or
21373 # modify it under the terms of the GNU General Public License as
21374 # published by the Free Software Foundation; either version 2 of
21375 # the License, or (at your option) any later version.
21377 # As a special exception to the GNU General Public License,
21378 # if you distribute this file as part of a program or library that
21379 # is built using GNU Libtool, you may include this file under the
21380 # same distribution terms that you use for the rest of that program.
21382 # GNU Libtool is distributed in the hope that it will be useful,
21383 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21384 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21385 # GNU General Public License for more details.
21387 # You should have received a copy of the GNU General Public License
21388 # along with GNU Libtool; see the file COPYING. If not, a copy
21389 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21390 # obtained by writing to the Free Software Foundation, Inc.,
21391 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21394 # The names of the tagged configurations supported by this script.
21395 available_tags="CXX "
21397 # ### BEGIN LIBTOOL CONFIG
21399 # Which release of libtool.m4 was used?
21400 macro_version=$macro_version
21401 macro_revision=$macro_revision
21403 # Whether or not to build shared libraries.
21404 build_libtool_libs=$enable_shared
21406 # Whether or not to build static libraries.
21407 build_old_libs=$enable_static
21409 # What type of objects to build.
21412 # Whether or not to optimize for fast installation.
21413 fast_install=$enable_fast_install
21415 # Shell to use when invoking shell scripts.
21418 # An echo program that protects backslashes.
21421 # The PATH separator for the build system.
21422 PATH_SEPARATOR=$lt_PATH_SEPARATOR
21425 host_alias=$host_alias
21429 # The build system.
21430 build_alias=$build_alias
21434 # A sed program that does not truncate output.
21437 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21438 Xsed="\$SED -e 1s/^X//"
21440 # A grep program that handles long lines.
21446 # A literal string matcher.
21449 # A BSD- or MS-compatible name lister.
21452 # Whether we need soft or hard links.
21455 # What is the maximum length of a command?
21456 max_cmd_len=$max_cmd_len
21458 # Object file suffix (normally "o").
21461 # Executable file suffix (normally "").
21464 # whether the shell understands "unset".
21467 # turn spaces into newlines.
21470 # turn newlines into spaces.
21473 # convert \$build file names to \$host format.
21474 to_host_file_cmd=$lt_cv_to_host_file_cmd
21476 # convert \$build files to toolchain format.
21477 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21479 # An object symbol dumper.
21480 OBJDUMP=$lt_OBJDUMP
21482 # Method to check whether dependent libraries are shared objects.
21483 deplibs_check_method=$lt_deplibs_check_method
21485 # Command to use when deplibs_check_method = "file_magic".
21486 file_magic_cmd=$lt_file_magic_cmd
21488 # How to find potential files when deplibs_check_method = "file_magic".
21489 file_magic_glob=$lt_file_magic_glob
21491 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21492 want_nocaseglob=$lt_want_nocaseglob
21494 # DLL creation program.
21495 DLLTOOL=$lt_DLLTOOL
21497 # Command to associate shared and link libraries.
21498 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21503 # Flags to create an archive.
21504 AR_FLAGS=$lt_AR_FLAGS
21506 # How to feed a file listing to the archiver.
21507 archiver_list_spec=$lt_archiver_list_spec
21509 # A symbol stripping program.
21512 # Commands used to install an old-style archive.
21514 old_postinstall_cmds=$lt_old_postinstall_cmds
21515 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21517 # Whether to use a lock for old archive extraction.
21518 lock_old_archive_extraction=$lock_old_archive_extraction
21523 # LTCC compiler flags.
21524 LTCFLAGS=$lt_CFLAGS
21526 # Take the output of nm and produce a listing of raw symbols and C names.
21527 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21529 # Transform the output of nm in a proper C declaration.
21530 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21532 # Transform the output of nm in a C name address pair.
21533 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21535 # Transform the output of nm in a C name address pair when lib prefix is needed.
21536 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21538 # Specify filename containing input files for \$NM.
21539 nm_file_list_spec=$lt_nm_file_list_spec
21541 # The root where to search for dependent libraries,and in which our libraries should be installed.
21542 lt_sysroot=$lt_sysroot
21544 # The name of the directory that contains temporary libtool files.
21547 # Used to examine libraries when file_magic_cmd begins with "file".
21548 MAGIC_CMD=$MAGIC_CMD
21550 # Must we lock files when doing compilation?
21551 need_locks=$lt_need_locks
21554 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21556 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21557 DSYMUTIL=$lt_DSYMUTIL
21559 # Tool to change global to local symbols on Mac OS X.
21562 # Tool to manipulate fat objects and archives on Mac OS X.
21565 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21568 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21569 OTOOL64=$lt_OTOOL64
21571 # Old archive suffix (normally "a").
21574 # Shared library suffix (normally ".so").
21575 shrext_cmds=$lt_shrext_cmds
21577 # The commands to extract the exported symbol list from a shared archive.
21578 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21580 # Variables whose values should be saved in libtool wrapper scripts and
21581 # restored at link time.
21582 variables_saved_for_relink=$lt_variables_saved_for_relink
21584 # Do we need the "lib" prefix for modules?
21585 need_lib_prefix=$need_lib_prefix
21587 # Do we need a version for libraries?
21588 need_version=$need_version
21590 # Library versioning type.
21591 version_type=$version_type
21593 # Shared library runtime path variable.
21594 runpath_var=$runpath_var
21596 # Shared library path variable.
21597 shlibpath_var=$shlibpath_var
21599 # Is shlibpath searched before the hard-coded library search path?
21600 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21602 # Format of library name prefix.
21603 libname_spec=$lt_libname_spec
21605 # List of archive names. First name is the real one, the rest are links.
21606 # The last name is the one that the linker finds with -lNAME
21607 library_names_spec=$lt_library_names_spec
21609 # The coded name of the library, if different from the real name.
21610 soname_spec=$lt_soname_spec
21612 # Permission mode override for installation of shared libraries.
21613 install_override_mode=$lt_install_override_mode
21615 # Command to use after installation of a shared archive.
21616 postinstall_cmds=$lt_postinstall_cmds
21618 # Command to use after uninstallation of a shared archive.
21619 postuninstall_cmds=$lt_postuninstall_cmds
21621 # Commands used to finish a libtool library installation in a directory.
21622 finish_cmds=$lt_finish_cmds
21624 # As "finish_cmds", except a single script fragment to be evaled but
21626 finish_eval=$lt_finish_eval
21628 # Whether we should hardcode library paths into libraries.
21629 hardcode_into_libs=$hardcode_into_libs
21631 # Compile-time system search path for libraries.
21632 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21634 # Run-time system search path for libraries.
21635 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21637 # Whether dlopen is supported.
21638 dlopen_support=$enable_dlopen
21640 # Whether dlopen of programs is supported.
21641 dlopen_self=$enable_dlopen_self
21643 # Whether dlopen of statically linked programs is supported.
21644 dlopen_self_static=$enable_dlopen_self_static
21646 # Commands to strip libraries.
21647 old_striplib=$lt_old_striplib
21648 striplib=$lt_striplib
21651 # The linker used to build libraries.
21654 # How to create reloadable object files.
21655 reload_flag=$lt_reload_flag
21656 reload_cmds=$lt_reload_cmds
21658 # Commands used to build an old-style archive.
21659 old_archive_cmds=$lt_old_archive_cmds
21661 # A language specific compiler.
21664 # Is the compiler the GNU compiler?
21667 # Compiler flag to turn off builtin functions.
21668 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21670 # Additional compiler flags for building library objects.
21671 pic_flag=$lt_lt_prog_compiler_pic
21673 # How to pass a linker flag through the compiler.
21674 wl=$lt_lt_prog_compiler_wl
21676 # Compiler flag to prevent dynamic linking.
21677 link_static_flag=$lt_lt_prog_compiler_static
21679 # Does compiler simultaneously support -c and -o options?
21680 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21682 # Whether or not to add -lc for building shared libraries.
21683 build_libtool_need_lc=$archive_cmds_need_lc
21685 # Whether or not to disallow shared libs when runtime libs are static.
21686 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21688 # Compiler flag to allow reflexive dlopens.
21689 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21691 # Compiler flag to generate shared objects directly from archives.
21692 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21694 # Whether the compiler copes with passing no objects directly.
21695 compiler_needs_object=$lt_compiler_needs_object
21697 # Create an old-style archive from a shared archive.
21698 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21700 # Create a temporary old-style archive to link instead of a shared archive.
21701 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21703 # Commands used to build a shared archive.
21704 archive_cmds=$lt_archive_cmds
21705 archive_expsym_cmds=$lt_archive_expsym_cmds
21707 # Commands used to build a loadable module if different from building
21708 # a shared archive.
21709 module_cmds=$lt_module_cmds
21710 module_expsym_cmds=$lt_module_expsym_cmds
21712 # Whether we are building with GNU ld or not.
21713 with_gnu_ld=$lt_with_gnu_ld
21715 # Flag that allows shared libraries with undefined symbols to be built.
21716 allow_undefined_flag=$lt_allow_undefined_flag
21718 # Flag that enforces no undefined symbols.
21719 no_undefined_flag=$lt_no_undefined_flag
21721 # Flag to hardcode \$libdir into a binary during linking.
21722 # This must work even if \$libdir does not exist
21723 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21725 # Whether we need a single "-rpath" flag with a separated argument.
21726 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21728 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21729 # DIR into the resulting binary.
21730 hardcode_direct=$hardcode_direct
21732 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21733 # DIR into the resulting binary and the resulting library dependency is
21734 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21735 # library is relocated.
21736 hardcode_direct_absolute=$hardcode_direct_absolute
21738 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21739 # into the resulting binary.
21740 hardcode_minus_L=$hardcode_minus_L
21742 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21743 # into the resulting binary.
21744 hardcode_shlibpath_var=$hardcode_shlibpath_var
21746 # Set to "yes" if building a shared library automatically hardcodes DIR
21747 # into the library and all subsequent libraries and executables linked
21749 hardcode_automatic=$hardcode_automatic
21751 # Set to yes if linker adds runtime paths of dependent libraries
21752 # to runtime path list.
21753 inherit_rpath=$inherit_rpath
21755 # Whether libtool must link a program against all its dependency libraries.
21756 link_all_deplibs=$link_all_deplibs
21758 # Set to "yes" if exported symbols are required.
21759 always_export_symbols=$always_export_symbols
21761 # The commands to list exported symbols.
21762 export_symbols_cmds=$lt_export_symbols_cmds
21764 # Symbols that should not be listed in the preloaded symbols.
21765 exclude_expsyms=$lt_exclude_expsyms
21767 # Symbols that must always be exported.
21768 include_expsyms=$lt_include_expsyms
21770 # Commands necessary for linking programs (against libraries) with templates.
21771 prelink_cmds=$lt_prelink_cmds
21773 # Commands necessary for finishing linking programs.
21774 postlink_cmds=$lt_postlink_cmds
21776 # Specify filename containing input files.
21777 file_list_spec=$lt_file_list_spec
21779 # How to hardcode a shared library path into an executable.
21780 hardcode_action=$hardcode_action
21782 # The directories searched by this compiler when creating a shared library.
21783 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21785 # Dependencies to place before and after the objects being linked to
21786 # create a shared library.
21787 predep_objects=$lt_predep_objects
21788 postdep_objects=$lt_postdep_objects
21789 predeps=$lt_predeps
21790 postdeps=$lt_postdeps
21792 # The library search path used internally by the compiler when linking
21793 # a shared library.
21794 compiler_lib_search_path=$lt_compiler_lib_search_path
21796 # ### END LIBTOOL CONFIG
21802 cat <<\_LT_EOF >> "$cfgfile"
21803 # AIX sometimes has problems with the GCC collect2 program. For some
21804 # reason, if we set the COLLECT_NAMES environment variable, the problems
21805 # vanish in a puff of smoke.
21806 if test "X${COLLECT_NAMES+set}" != Xset; then
21808 export COLLECT_NAMES
21815 ltmain="$ac_aux_dir/ltmain.sh"
21818 # We use sed instead of cat because bash on DJGPP gets confused if
21819 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21820 # text mode, it properly converts lines to CR/LF. This bash problem
21821 # is reportedly fixed, but why not run on old versions too?
21822 sed '$q' "$ltmain" >> "$cfgfile" \
21823 || (rm -f "$cfgfile"; exit 1)
21825 if test x"$xsi_shell" = xyes; then
21826 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21830 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21831 \ * ) func_dirname_result="${3}" ;;\
21833 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21834 && mv -f "$cfgfile.tmp" "$cfgfile" \
21835 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21836 test 0 -eq $? || _lt_function_replace_fail=:
21839 sed -e '/^func_basename ()$/,/^} # func_basename /c\
21842 \ func_basename_result="${1##*/}"\
21843 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21844 && mv -f "$cfgfile.tmp" "$cfgfile" \
21845 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21846 test 0 -eq $? || _lt_function_replace_fail=:
21849 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21850 func_dirname_and_basename ()\
21853 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21854 \ * ) func_dirname_result="${3}" ;;\
21856 \ func_basename_result="${1##*/}"\
21857 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21858 && mv -f "$cfgfile.tmp" "$cfgfile" \
21859 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21860 test 0 -eq $? || _lt_function_replace_fail=:
21863 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21866 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21867 \ # positional parameters, so assign one to ordinary parameter first.\
21868 \ func_stripname_result=${3}\
21869 \ func_stripname_result=${func_stripname_result#"${1}"}\
21870 \ func_stripname_result=${func_stripname_result%"${2}"}\
21871 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21872 && mv -f "$cfgfile.tmp" "$cfgfile" \
21873 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21874 test 0 -eq $? || _lt_function_replace_fail=:
21877 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21878 func_split_long_opt ()\
21880 \ func_split_long_opt_name=${1%%=*}\
21881 \ func_split_long_opt_arg=${1#*=}\
21882 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21883 && mv -f "$cfgfile.tmp" "$cfgfile" \
21884 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21885 test 0 -eq $? || _lt_function_replace_fail=:
21888 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21889 func_split_short_opt ()\
21891 \ func_split_short_opt_arg=${1#??}\
21892 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21893 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21894 && mv -f "$cfgfile.tmp" "$cfgfile" \
21895 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21896 test 0 -eq $? || _lt_function_replace_fail=:
21899 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21903 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21904 \ *) func_lo2o_result=${1} ;;\
21906 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
21907 && mv -f "$cfgfile.tmp" "$cfgfile" \
21908 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21909 test 0 -eq $? || _lt_function_replace_fail=:
21912 sed -e '/^func_xform ()$/,/^} # func_xform /c\
21915 func_xform_result=${1%.*}.lo\
21916 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21917 && mv -f "$cfgfile.tmp" "$cfgfile" \
21918 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21919 test 0 -eq $? || _lt_function_replace_fail=:
21922 sed -e '/^func_arith ()$/,/^} # func_arith /c\
21925 func_arith_result=$(( $* ))\
21926 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
21927 && mv -f "$cfgfile.tmp" "$cfgfile" \
21928 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21929 test 0 -eq $? || _lt_function_replace_fail=:
21932 sed -e '/^func_len ()$/,/^} # func_len /c\
21935 func_len_result=${#1}\
21936 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
21937 && mv -f "$cfgfile.tmp" "$cfgfile" \
21938 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21939 test 0 -eq $? || _lt_function_replace_fail=:
21943 if test x"$lt_shell_append" = xyes; then
21944 sed -e '/^func_append ()$/,/^} # func_append /c\
21947 eval "${1}+=\\${2}"\
21948 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21949 && mv -f "$cfgfile.tmp" "$cfgfile" \
21950 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21951 test 0 -eq $? || _lt_function_replace_fail=:
21954 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21955 func_append_quoted ()\
21957 \ func_quote_for_eval "${2}"\
21958 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21959 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21960 && mv -f "$cfgfile.tmp" "$cfgfile" \
21961 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21962 test 0 -eq $? || _lt_function_replace_fail=:
21965 # Save a `func_append' function call where possible by direct use of '+='
21966 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
21967 && mv -f "$cfgfile.tmp" "$cfgfile" \
21968 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21969 test 0 -eq $? || _lt_function_replace_fail=:
21971 # Save a `func_append' function call even when '+=' is not available
21972 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21973 && mv -f "$cfgfile.tmp" "$cfgfile" \
21974 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21975 test 0 -eq $? || _lt_function_replace_fail=:
21978 if test x"$_lt_function_replace_fail" = x":"; then
21979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21980 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21984 mv -f "$cfgfile" "$ofile" ||
21985 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21989 cat <<_LT_EOF >> "$ofile"
21991 # ### BEGIN LIBTOOL TAG CONFIG: CXX
21993 # The linker used to build libraries.
21996 # How to create reloadable object files.
21997 reload_flag=$lt_reload_flag_CXX
21998 reload_cmds=$lt_reload_cmds_CXX
22000 # Commands used to build an old-style archive.
22001 old_archive_cmds=$lt_old_archive_cmds_CXX
22003 # A language specific compiler.
22004 CC=$lt_compiler_CXX
22006 # Is the compiler the GNU compiler?
22009 # Compiler flag to turn off builtin functions.
22010 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22012 # Additional compiler flags for building library objects.
22013 pic_flag=$lt_lt_prog_compiler_pic_CXX
22015 # How to pass a linker flag through the compiler.
22016 wl=$lt_lt_prog_compiler_wl_CXX
22018 # Compiler flag to prevent dynamic linking.
22019 link_static_flag=$lt_lt_prog_compiler_static_CXX
22021 # Does compiler simultaneously support -c and -o options?
22022 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22024 # Whether or not to add -lc for building shared libraries.
22025 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22027 # Whether or not to disallow shared libs when runtime libs are static.
22028 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22030 # Compiler flag to allow reflexive dlopens.
22031 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22033 # Compiler flag to generate shared objects directly from archives.
22034 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22036 # Whether the compiler copes with passing no objects directly.
22037 compiler_needs_object=$lt_compiler_needs_object_CXX
22039 # Create an old-style archive from a shared archive.
22040 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22042 # Create a temporary old-style archive to link instead of a shared archive.
22043 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22045 # Commands used to build a shared archive.
22046 archive_cmds=$lt_archive_cmds_CXX
22047 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22049 # Commands used to build a loadable module if different from building
22050 # a shared archive.
22051 module_cmds=$lt_module_cmds_CXX
22052 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22054 # Whether we are building with GNU ld or not.
22055 with_gnu_ld=$lt_with_gnu_ld_CXX
22057 # Flag that allows shared libraries with undefined symbols to be built.
22058 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22060 # Flag that enforces no undefined symbols.
22061 no_undefined_flag=$lt_no_undefined_flag_CXX
22063 # Flag to hardcode \$libdir into a binary during linking.
22064 # This must work even if \$libdir does not exist
22065 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22067 # Whether we need a single "-rpath" flag with a separated argument.
22068 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22070 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22071 # DIR into the resulting binary.
22072 hardcode_direct=$hardcode_direct_CXX
22074 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22075 # DIR into the resulting binary and the resulting library dependency is
22076 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22077 # library is relocated.
22078 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22080 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22081 # into the resulting binary.
22082 hardcode_minus_L=$hardcode_minus_L_CXX
22084 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22085 # into the resulting binary.
22086 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22088 # Set to "yes" if building a shared library automatically hardcodes DIR
22089 # into the library and all subsequent libraries and executables linked
22091 hardcode_automatic=$hardcode_automatic_CXX
22093 # Set to yes if linker adds runtime paths of dependent libraries
22094 # to runtime path list.
22095 inherit_rpath=$inherit_rpath_CXX
22097 # Whether libtool must link a program against all its dependency libraries.
22098 link_all_deplibs=$link_all_deplibs_CXX
22100 # Set to "yes" if exported symbols are required.
22101 always_export_symbols=$always_export_symbols_CXX
22103 # The commands to list exported symbols.
22104 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22106 # Symbols that should not be listed in the preloaded symbols.
22107 exclude_expsyms=$lt_exclude_expsyms_CXX
22109 # Symbols that must always be exported.
22110 include_expsyms=$lt_include_expsyms_CXX
22112 # Commands necessary for linking programs (against libraries) with templates.
22113 prelink_cmds=$lt_prelink_cmds_CXX
22115 # Commands necessary for finishing linking programs.
22116 postlink_cmds=$lt_postlink_cmds_CXX
22118 # Specify filename containing input files.
22119 file_list_spec=$lt_file_list_spec_CXX
22121 # How to hardcode a shared library path into an executable.
22122 hardcode_action=$hardcode_action_CXX
22124 # The directories searched by this compiler when creating a shared library.
22125 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22127 # Dependencies to place before and after the objects being linked to
22128 # create a shared library.
22129 predep_objects=$lt_predep_objects_CXX
22130 postdep_objects=$lt_postdep_objects_CXX
22131 predeps=$lt_predeps_CXX
22132 postdeps=$lt_postdeps_CXX
22134 # The library search path used internally by the compiler when linking
22135 # a shared library.
22136 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22138 # ### END LIBTOOL TAG CONFIG: CXX
22149 ac_clean_files=$ac_clean_files_save
22151 test $ac_write_fail = 0 ||
22152 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22155 # configure is writing to config.log, and then calls config.status.
22156 # config.status does its own redirection, appending to config.log.
22157 # Unfortunately, on DOS this fails, as config.log is still kept open
22158 # by configure, so config.status won't be able to write to it; its
22159 # output is simply discarded. So we exec the FD to /dev/null,
22160 # effectively closing config.log, so it can be properly (re)opened and
22161 # appended to by config.status. When coming back to configure, we
22162 # need to make the FD available again.
22163 if test "$no_create" != yes; then
22165 ac_config_status_args=
22166 test "$silent" = yes &&
22167 ac_config_status_args="$ac_config_status_args --quiet"
22169 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22171 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22172 # would make configure fail if this is the last instruction.
22173 $ac_cs_success || as_fn_exit 1
22177 # CONFIG_SUBDIRS section.
22179 if test "$no_recursion" != yes; then
22181 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
22182 # so they do not pile up.
22183 ac_sub_configure_args=
22185 eval "set x $ac_configure_args"
22189 if test -n "$ac_prev"; then
22194 -cache-file | --cache-file | --cache-fil | --cache-fi \
22195 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
22196 ac_prev=cache_file ;;
22197 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
22198 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
22201 --config-cache | -C)
22203 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
22205 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
22207 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
22209 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
22211 --disable-option-checking)
22215 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
22217 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
22221 # Always prepend --prefix to ensure using the same prefix
22222 # in subdir configurations.
22223 ac_arg="--prefix=$prefix"
22225 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
22227 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
22230 if test "$silent" = yes; then
22231 ac_sub_configure_args="--silent $ac_sub_configure_args"
22234 # Always prepend --disable-option-checking to silence warnings, since
22235 # different subdirs can have different --enable and --with options.
22236 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
22239 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
22241 # Do not complain, so a configure script can configure whichever
22242 # parts of a large source tree are present.
22243 test -d "$srcdir/$ac_dir" || continue
22245 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
22246 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
22247 $as_echo "$ac_msg" >&6
22248 as_dir="$ac_dir"; as_fn_mkdir_p
22252 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22254 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22255 # A ".." for each directory in $ac_dir_suffix.
22256 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22257 case $ac_top_builddir_sub in
22258 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22259 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22262 ac_abs_top_builddir=$ac_pwd
22263 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22264 # for backward compatibility:
22265 ac_top_builddir=$ac_top_build_prefix
22268 .) # We are building in place.
22270 ac_top_srcdir=$ac_top_builddir_sub
22271 ac_abs_top_srcdir=$ac_pwd ;;
22272 [\\/]* | ?:[\\/]* ) # Absolute name.
22273 ac_srcdir=$srcdir$ac_dir_suffix;
22274 ac_top_srcdir=$srcdir
22275 ac_abs_top_srcdir=$srcdir ;;
22276 *) # Relative name.
22277 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22278 ac_top_srcdir=$ac_top_build_prefix$srcdir
22279 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22281 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22286 # Check for guested configure; otherwise get Cygnus style configure.
22287 if test -f "$ac_srcdir/configure.gnu"; then
22288 ac_sub_configure=$ac_srcdir/configure.gnu
22289 elif test -f "$ac_srcdir/configure"; then
22290 ac_sub_configure=$ac_srcdir/configure
22291 elif test -f "$ac_srcdir/configure.in"; then
22292 # This should be Cygnus configure.
22293 ac_sub_configure=$ac_aux_dir/configure
22295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
22296 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
22300 # The recursion is here.
22301 if test -n "$ac_sub_configure"; then
22302 # Make the cache file name correct relative to the subdirectory.
22303 case $cache_file in
22304 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
22305 *) # Relative name.
22306 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
22309 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
22310 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
22311 # The eval makes quoting arguments work.
22312 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
22313 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
22314 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
22320 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22322 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22327 # Summarize the package configuration
22330 { $as_echo "$as_me:${as_lineno-$LINENO}:
22332 Configuration Summary
22333 ---------------------
22334 Package : ${PACKAGE_NAME}
22335 Version : ${PACKAGE_VERSION}
22336 Interface : ${LIBNLIO_VERSION_INFO//:/.}
22337 Build system : ${build}
22338 Host system : ${host}
22339 Target system : ${target}
22340 Target architecture : ${target_cpu}
22341 Target OS : ${target_os}
22342 Cross compiling : ${cross_compiling}
22343 Build shared libraries : ${enable_shared}
22344 Build static libraries : ${enable_static}
22345 Build debug libraries : ${nl_cv_build_debug}
22346 Build optimized libraries : ${nl_cv_build_optimized}
22347 Build coverage libraries : ${nl_cv_build_coverage}
22348 Build coverage reports : ${nl_cv_build_coverage_reports}
22350 Genhtml : ${GENHTML:--}
22351 Build tests : ${nl_cv_build_tests}
22353 Shadow directory program : ${LNDIR}
22354 Documentation support : ${nl_cv_build_docs}
22355 Doxygen : ${DOXYGEN:--}
22356 GraphViz dot : ${DOT:--}
22358 Nlunit-test source : ${nl_with_nlunit_test:--}
22359 Nlunit-test compile flags : ${NLUNIT_TEST_CPPFLAGS:--}
22360 Nlunit-test link flags : ${NLUNIT_TEST_LDFLAGS:--}
22361 Nlunit-test link libraries : ${NLUNIT_TEST_LIBS:--}
22362 Nlunit-test foreign subdirectory dependency : ${NLUNIT_TEST_FOREIGN_SUBDIR_DEPENDENCY:--}
22363 C Preprocessor : ${CPP}
22365 C++ Preprocessor : ${CXXCPP}
22366 C++ Compiler : ${CXX}
22368 Archive Indexer : ${RANLIB}
22369 Symbol Stripper : ${STRIP}
22370 Object Copier : ${OBJCOPY}
22371 C Preprocessor flags : ${CPPFLAGS:--}
22372 C Compile flags : ${CFLAGS:--}
22373 C++ Compile flags : ${CXXFLAGS:--}
22374 Link flags : ${LDFLAGS:--}
22375 Link libraries : ${LIBS}
22379 Configuration Summary
22380 ---------------------
22381 Package : ${PACKAGE_NAME}
22382 Version : ${PACKAGE_VERSION}
22383 Interface : ${LIBNLIO_VERSION_INFO//:/.}
22384 Build system : ${build}
22385 Host system : ${host}
22386 Target system : ${target}
22387 Target architecture : ${target_cpu}
22388 Target OS : ${target_os}
22389 Cross compiling : ${cross_compiling}
22390 Build shared libraries : ${enable_shared}
22391 Build static libraries : ${enable_static}
22392 Build debug libraries : ${nl_cv_build_debug}
22393 Build optimized libraries : ${nl_cv_build_optimized}
22394 Build coverage libraries : ${nl_cv_build_coverage}
22395 Build coverage reports : ${nl_cv_build_coverage_reports}
22397 Genhtml : ${GENHTML:--}
22398 Build tests : ${nl_cv_build_tests}
22400 Shadow directory program : ${LNDIR}
22401 Documentation support : ${nl_cv_build_docs}
22402 Doxygen : ${DOXYGEN:--}
22403 GraphViz dot : ${DOT:--}
22405 Nlunit-test source : ${nl_with_nlunit_test:--}
22406 Nlunit-test compile flags : ${NLUNIT_TEST_CPPFLAGS:--}
22407 Nlunit-test link flags : ${NLUNIT_TEST_LDFLAGS:--}
22408 Nlunit-test link libraries : ${NLUNIT_TEST_LIBS:--}
22409 Nlunit-test foreign subdirectory dependency : ${NLUNIT_TEST_FOREIGN_SUBDIR_DEPENDENCY:--}
22410 C Preprocessor : ${CPP}
22412 C++ Preprocessor : ${CXXCPP}
22413 C++ Compiler : ${CXX}
22415 Archive Indexer : ${RANLIB}
22416 Symbol Stripper : ${STRIP}
22417 Object Copier : ${OBJCOPY}
22418 C Preprocessor flags : ${CPPFLAGS:--}
22419 C Compile flags : ${CFLAGS:--}
22420 C++ Compile flags : ${CXXFLAGS:--}
22421 Link flags : ${LDFLAGS:--}
22422 Link libraries : ${LIBS}