2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for yaml 0.2.2.
5 # Report bugs to <https://github.com/yaml/libyaml/issues/new>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and https://github.com/yaml/libyaml/issues/new about
278 $0: your system, including any error possibly output before
279 $0: this message. Then install a modern shell, or manually
280 $0: run the script under such a shell if you do have one."
286 SHELL=${CONFIG_SHELL-/bin/sh}
288 # Unset more variables known to interfere with behavior of common tools.
289 CLICOLOR_FORCE= GREP_OPTIONS=
290 unset CLICOLOR_FORCE GREP_OPTIONS
292 ## --------------------- ##
293 ## M4sh Shell Functions. ##
294 ## --------------------- ##
297 # Portably unset VAR.
300 { eval $1=; unset $1;}
304 # as_fn_set_status STATUS
305 # -----------------------
306 # Set $? to STATUS, without forking.
314 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
324 # Create "$as_dir" as a directory, including parents if necessary.
329 -*) as_dir=./$as_dir;;
331 test -d "$as_dir" || eval $as_mkdir_p || {
335 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338 as_dirs="'$as_qdir' $as_dirs"
339 as_dir=`$as_dirname -- "$as_dir" ||
340 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
341 X"$as_dir" : 'X\(//\)[^/]' \| \
342 X"$as_dir" : 'X\(//\)$' \| \
343 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
344 $as_echo X"$as_dir" |
345 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
362 test -d "$as_dir" && break
364 test -z "$as_dirs" || eval "mkdir $as_dirs"
365 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
370 # as_fn_executable_p FILE
371 # -----------------------
372 # Test if FILE is an executable regular file.
373 as_fn_executable_p ()
375 test -f "$1" && test -x "$1"
376 } # as_fn_executable_p
377 # as_fn_append VAR VALUE
378 # ----------------------
379 # Append the text in VALUE to the end of the definition contained in VAR. Take
380 # advantage of any shell optimizations that allow amortized linear growth over
381 # repeated appends, instead of the typical quadratic growth present in naive
383 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
384 eval 'as_fn_append ()
397 # Perform arithmetic evaluation on the ARGs, and store the result in the
398 # global $as_val. Take advantage of shells that can avoid forks. The arguments
399 # must be portable across $(()) and expr.
400 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
408 as_val=`expr "$@" || test $? -eq 1`
413 # as_fn_error STATUS ERROR [LINENO LOG_FD]
414 # ----------------------------------------
415 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
416 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
417 # script with STATUS, using 1 if that was 0.
420 as_status=$1; test $as_status -eq 0 && as_status=1
422 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
423 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425 $as_echo "$as_me: error: $2" >&2
426 as_fn_exit $as_status
429 if expr a : '\(a\)' >/dev/null 2>&1 &&
430 test "X`expr 00001 : '.*\(...\)'`" = X001; then
436 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
442 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
448 as_me=`$as_basename -- "$0" ||
449 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
450 X"$0" : 'X\(//\)$' \| \
451 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453 sed '/^.*\/\([^/][^/]*\)\/*$/{
467 # Avoid depending upon Character Ranges.
468 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
469 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
470 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
471 as_cr_digits='0123456789'
472 as_cr_alnum=$as_cr_Letters$as_cr_digits
475 as_lineno_1=$LINENO as_lineno_1a=$LINENO
476 as_lineno_2=$LINENO as_lineno_2a=$LINENO
477 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
478 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
479 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
491 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
495 chmod +x "$as_me.lineno" ||
496 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
499 # already done that, so ensure we don't try to do so again and fall
500 # in an infinite loop. This has already happened in practice.
501 _as_can_reexec=no; export _as_can_reexec
502 # Don't try to exec as it changes $[0], causing all sort of problems
503 # (the dirname of $[0] is not the place where we might find the
504 # original and so on. Autoconf is especially sensitive to this).
506 # Exit status is that of the last command.
510 ECHO_C= ECHO_N= ECHO_T=
511 case `echo -n x` in #(((((
513 case `echo 'xy\c'` in
514 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
516 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
523 rm -f conf$$ conf$$.exe conf$$.file
524 if test -d conf$$.dir; then
525 rm -f conf$$.dir/conf$$.file
528 mkdir conf$$.dir 2>/dev/null
530 if (echo >conf$$.file) 2>/dev/null; then
531 if ln -s conf$$.file conf$$ 2>/dev/null; then
533 # ... but there are two gotchas:
534 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
535 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
536 # In both cases, we have to default to `cp -pR'.
537 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539 elif ln conf$$.file conf$$ 2>/dev/null; then
547 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
548 rmdir conf$$.dir 2>/dev/null
550 if mkdir -p . 2>/dev/null; then
551 as_mkdir_p='mkdir -p "$as_dir"'
553 test -d ./-p && rmdir ./-p
558 as_executable_p=as_fn_executable_p
560 # Sed expression to map a string onto a valid CPP name.
561 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563 # Sed expression to map a string onto a valid variable name.
564 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566 SHELL=${CONFIG_SHELL-/bin/sh}
569 test -n "$DJDIR" || exec 7<&0 </dev/null
573 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
574 # so uname gets run too.
575 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
580 ac_default_prefix=/usr/local
582 ac_config_libobj_dir=.
589 # Identity of this package.
591 PACKAGE_TARNAME='yaml'
592 PACKAGE_VERSION='0.2.2'
593 PACKAGE_STRING='yaml 0.2.2'
594 PACKAGE_BUGREPORT='https://github.com/yaml/libyaml/issues/new'
597 # Factoring default headers for most tests.
598 ac_includes_default="\
600 #ifdef HAVE_SYS_TYPES_H
601 # include <sys/types.h>
603 #ifdef HAVE_SYS_STAT_H
604 # include <sys/stat.h>
610 # ifdef HAVE_STDLIB_H
615 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
620 #ifdef HAVE_STRINGS_H
621 # include <strings.h>
623 #ifdef HAVE_INTTYPES_H
624 # include <inttypes.h>
633 ac_subst_vars='am__EXEEXT_FALSE
704 INSTALL_STRIP_PROGRAM
747 program_transform_name
760 enable_option_checking
762 enable_dependency_tracking
772 ac_precious_vars='build_alias
784 # Initialize some variables set by options.
786 ac_init_version=false
787 ac_unrecognized_opts=
789 # The variables have the same names as the options, with
790 # dashes changed to underlines.
798 program_transform_name=s,x,x,
806 # Installation directory options.
807 # These are left unexpanded so users can "make install exec_prefix=/foo"
808 # and all the variables that are supposed to be based on exec_prefix
809 # by default will actually change.
810 # Use braces instead of parens because sh, perl, etc. also accept them.
811 # (The list follows the same order as the GNU Coding Standards.)
812 bindir='${exec_prefix}/bin'
813 sbindir='${exec_prefix}/sbin'
814 libexecdir='${exec_prefix}/libexec'
815 datarootdir='${prefix}/share'
816 datadir='${datarootdir}'
817 sysconfdir='${prefix}/etc'
818 sharedstatedir='${prefix}/com'
819 localstatedir='${prefix}/var'
820 runstatedir='${localstatedir}/run'
821 includedir='${prefix}/include'
822 oldincludedir='/usr/include'
823 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
824 infodir='${datarootdir}/info'
829 libdir='${exec_prefix}/lib'
830 localedir='${datarootdir}/locale'
831 mandir='${datarootdir}/man'
837 # If the previous option needs an argument, assign it.
838 if test -n "$ac_prev"; then
839 eval $ac_prev=\$ac_option
845 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
850 # Accept the important Cygnus configure options, so we can diagnose typos.
852 case $ac_dashdash$ac_option in
856 -bindir | --bindir | --bindi | --bind | --bin | --bi)
858 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
861 -build | --build | --buil | --bui | --bu)
862 ac_prev=build_alias ;;
863 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
864 build_alias=$ac_optarg ;;
866 -cache-file | --cache-file | --cache-fil | --cache-fi \
867 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
868 ac_prev=cache_file ;;
869 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
870 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
871 cache_file=$ac_optarg ;;
874 cache_file=config.cache ;;
876 -datadir | --datadir | --datadi | --datad)
878 -datadir=* | --datadir=* | --datadi=* | --datad=*)
879 datadir=$ac_optarg ;;
881 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
882 | --dataroo | --dataro | --datar)
883 ac_prev=datarootdir ;;
884 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
885 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
886 datarootdir=$ac_optarg ;;
888 -disable-* | --disable-*)
889 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
890 # Reject names that are not valid shell variable names.
891 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
892 as_fn_error $? "invalid feature name: $ac_useropt"
893 ac_useropt_orig=$ac_useropt
894 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
895 case $ac_user_opts in
899 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
900 ac_unrecognized_sep=', ';;
902 eval enable_$ac_useropt=no ;;
904 -docdir | --docdir | --docdi | --doc | --do)
906 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
909 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
911 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
914 -enable-* | --enable-*)
915 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
916 # Reject names that are not valid shell variable names.
917 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
918 as_fn_error $? "invalid feature name: $ac_useropt"
919 ac_useropt_orig=$ac_useropt
920 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
921 case $ac_user_opts in
925 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
926 ac_unrecognized_sep=', ';;
928 eval enable_$ac_useropt=\$ac_optarg ;;
930 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
931 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
932 | --exec | --exe | --ex)
933 ac_prev=exec_prefix ;;
934 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
935 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
936 | --exec=* | --exe=* | --ex=*)
937 exec_prefix=$ac_optarg ;;
939 -gas | --gas | --ga | --g)
940 # Obsolete; use --with-gas.
943 -help | --help | --hel | --he | -h)
945 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
946 ac_init_help=recursive ;;
947 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
948 ac_init_help=short ;;
950 -host | --host | --hos | --ho)
951 ac_prev=host_alias ;;
952 -host=* | --host=* | --hos=* | --ho=*)
953 host_alias=$ac_optarg ;;
955 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
957 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
959 htmldir=$ac_optarg ;;
961 -includedir | --includedir | --includedi | --included | --include \
962 | --includ | --inclu | --incl | --inc)
963 ac_prev=includedir ;;
964 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
965 | --includ=* | --inclu=* | --incl=* | --inc=*)
966 includedir=$ac_optarg ;;
968 -infodir | --infodir | --infodi | --infod | --info | --inf)
970 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
971 infodir=$ac_optarg ;;
973 -libdir | --libdir | --libdi | --libd)
975 -libdir=* | --libdir=* | --libdi=* | --libd=*)
978 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
979 | --libexe | --libex | --libe)
980 ac_prev=libexecdir ;;
981 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
982 | --libexe=* | --libex=* | --libe=*)
983 libexecdir=$ac_optarg ;;
985 -localedir | --localedir | --localedi | --localed | --locale)
987 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
988 localedir=$ac_optarg ;;
990 -localstatedir | --localstatedir | --localstatedi | --localstated \
991 | --localstate | --localstat | --localsta | --localst | --locals)
992 ac_prev=localstatedir ;;
993 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
994 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
995 localstatedir=$ac_optarg ;;
997 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
999 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1000 mandir=$ac_optarg ;;
1002 -nfp | --nfp | --nf)
1003 # Obsolete; use --without-fp.
1006 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1007 | --no-cr | --no-c | -n)
1010 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1011 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1014 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1015 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1016 | --oldin | --oldi | --old | --ol | --o)
1017 ac_prev=oldincludedir ;;
1018 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1019 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1020 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1021 oldincludedir=$ac_optarg ;;
1023 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1025 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1026 prefix=$ac_optarg ;;
1028 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1029 | --program-pre | --program-pr | --program-p)
1030 ac_prev=program_prefix ;;
1031 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1032 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1033 program_prefix=$ac_optarg ;;
1035 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1036 | --program-suf | --program-su | --program-s)
1037 ac_prev=program_suffix ;;
1038 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1039 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1040 program_suffix=$ac_optarg ;;
1042 -program-transform-name | --program-transform-name \
1043 | --program-transform-nam | --program-transform-na \
1044 | --program-transform-n | --program-transform- \
1045 | --program-transform | --program-transfor \
1046 | --program-transfo | --program-transf \
1047 | --program-trans | --program-tran \
1048 | --progr-tra | --program-tr | --program-t)
1049 ac_prev=program_transform_name ;;
1050 -program-transform-name=* | --program-transform-name=* \
1051 | --program-transform-nam=* | --program-transform-na=* \
1052 | --program-transform-n=* | --program-transform-=* \
1053 | --program-transform=* | --program-transfor=* \
1054 | --program-transfo=* | --program-transf=* \
1055 | --program-trans=* | --program-tran=* \
1056 | --progr-tra=* | --program-tr=* | --program-t=*)
1057 program_transform_name=$ac_optarg ;;
1059 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1061 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1062 pdfdir=$ac_optarg ;;
1064 -psdir | --psdir | --psdi | --psd | --ps)
1066 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1069 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1070 | -silent | --silent | --silen | --sile | --sil)
1073 -runstatedir | --runstatedir | --runstatedi | --runstated \
1074 | --runstate | --runstat | --runsta | --runst | --runs \
1075 | --run | --ru | --r)
1076 ac_prev=runstatedir ;;
1077 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1078 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1079 | --run=* | --ru=* | --r=*)
1080 runstatedir=$ac_optarg ;;
1082 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1084 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1086 sbindir=$ac_optarg ;;
1088 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1089 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1090 | --sharedst | --shareds | --shared | --share | --shar \
1092 ac_prev=sharedstatedir ;;
1093 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1094 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1095 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1097 sharedstatedir=$ac_optarg ;;
1099 -site | --site | --sit)
1101 -site=* | --site=* | --sit=*)
1104 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1106 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1107 srcdir=$ac_optarg ;;
1109 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1110 | --syscon | --sysco | --sysc | --sys | --sy)
1111 ac_prev=sysconfdir ;;
1112 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1113 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1114 sysconfdir=$ac_optarg ;;
1116 -target | --target | --targe | --targ | --tar | --ta | --t)
1117 ac_prev=target_alias ;;
1118 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1119 target_alias=$ac_optarg ;;
1121 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1124 -version | --version | --versio | --versi | --vers | -V)
1125 ac_init_version=: ;;
1128 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1129 # Reject names that are not valid shell variable names.
1130 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1131 as_fn_error $? "invalid package name: $ac_useropt"
1132 ac_useropt_orig=$ac_useropt
1133 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1134 case $ac_user_opts in
1138 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1139 ac_unrecognized_sep=', ';;
1141 eval with_$ac_useropt=\$ac_optarg ;;
1143 -without-* | --without-*)
1144 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1145 # Reject names that are not valid shell variable names.
1146 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1147 as_fn_error $? "invalid package name: $ac_useropt"
1148 ac_useropt_orig=$ac_useropt
1149 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1150 case $ac_user_opts in
1154 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1155 ac_unrecognized_sep=', ';;
1157 eval with_$ac_useropt=no ;;
1160 # Obsolete; use --with-x.
1163 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1164 | --x-incl | --x-inc | --x-in | --x-i)
1165 ac_prev=x_includes ;;
1166 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1167 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1168 x_includes=$ac_optarg ;;
1170 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1171 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1172 ac_prev=x_libraries ;;
1173 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1174 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1175 x_libraries=$ac_optarg ;;
1177 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1178 Try \`$0 --help' for more information"
1182 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1183 # Reject names that are not valid shell variable names.
1184 case $ac_envvar in #(
1185 '' | [0-9]* | *[!_$as_cr_alnum]* )
1186 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1188 eval $ac_envvar=\$ac_optarg
1189 export $ac_envvar ;;
1192 # FIXME: should be removed in autoconf 3.0.
1193 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1194 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1195 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1196 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1202 if test -n "$ac_prev"; then
1203 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1204 as_fn_error $? "missing argument to $ac_option"
1207 if test -n "$ac_unrecognized_opts"; then
1208 case $enable_option_checking in
1210 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1211 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1215 # Check all directory arguments for consistency.
1216 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1217 datadir sysconfdir sharedstatedir localstatedir includedir \
1218 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1219 libdir localedir mandir runstatedir
1221 eval ac_val=\$$ac_var
1222 # Remove trailing slashes.
1225 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1226 eval $ac_var=\$ac_val;;
1228 # Be sure to have absolute directory names.
1230 [\\/$]* | ?:[\\/]* ) continue;;
1231 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1233 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1236 # There might be people who depend on the old broken behavior: `$host'
1237 # used to hold the argument of --host etc.
1238 # FIXME: To remove some day.
1241 target=$target_alias
1243 # FIXME: To remove some day.
1244 if test "x$host_alias" != x; then
1245 if test "x$build_alias" = x; then
1246 cross_compiling=maybe
1247 elif test "x$build_alias" != "x$host_alias"; then
1253 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1255 test "$silent" = yes && exec 6>/dev/null
1258 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1259 ac_ls_di=`ls -di .` &&
1260 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1261 as_fn_error $? "working directory cannot be determined"
1262 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1263 as_fn_error $? "pwd does not report name of working directory"
1266 # Find the source files, if location was not specified.
1267 if test -z "$srcdir"; then
1268 ac_srcdir_defaulted=yes
1269 # Try the directory containing this script, then the parent directory.
1270 ac_confdir=`$as_dirname -- "$as_myself" ||
1271 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1272 X"$as_myself" : 'X\(//\)[^/]' \| \
1273 X"$as_myself" : 'X\(//\)$' \| \
1274 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1275 $as_echo X"$as_myself" |
1276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1294 if test ! -r "$srcdir/$ac_unique_file"; then
1298 ac_srcdir_defaulted=no
1300 if test ! -r "$srcdir/$ac_unique_file"; then
1301 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1302 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1304 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1306 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1308 # When building in place, set srcdir=.
1309 if test "$ac_abs_confdir" = "$ac_pwd"; then
1312 # Remove unnecessary trailing slashes from srcdir.
1313 # Double slashes in file names in object file debugging info
1314 # mess up M-x gdb in Emacs.
1316 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1318 for ac_var in $ac_precious_vars; do
1319 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1320 eval ac_env_${ac_var}_value=\$${ac_var}
1321 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1322 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1326 # Report the --help message.
1328 if test "$ac_init_help" = "long"; then
1329 # Omit some internal or obsolete options to make the list less imposing.
1330 # This message is too long to be a string in the A/UX 3.1 sh.
1332 \`configure' configures yaml 0.2.2 to adapt to many kinds of systems.
1334 Usage: $0 [OPTION]... [VAR=VALUE]...
1336 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1337 VAR=VALUE. See below for descriptions of some of the useful variables.
1339 Defaults for the options are specified in brackets.
1342 -h, --help display this help and exit
1343 --help=short display options specific to this package
1344 --help=recursive display the short help of all the included packages
1345 -V, --version display version information and exit
1346 -q, --quiet, --silent do not print \`checking ...' messages
1347 --cache-file=FILE cache test results in FILE [disabled]
1348 -C, --config-cache alias for \`--cache-file=config.cache'
1349 -n, --no-create do not create output files
1350 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1352 Installation directories:
1353 --prefix=PREFIX install architecture-independent files in PREFIX
1354 [$ac_default_prefix]
1355 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1358 By default, \`make install' will install all the files in
1359 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1360 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1361 for instance \`--prefix=\$HOME'.
1363 For better control, use the options below.
1365 Fine tuning of the installation directories:
1366 --bindir=DIR user executables [EPREFIX/bin]
1367 --sbindir=DIR system admin executables [EPREFIX/sbin]
1368 --libexecdir=DIR program executables [EPREFIX/libexec]
1369 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1370 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1371 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1372 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1373 --libdir=DIR object code libraries [EPREFIX/lib]
1374 --includedir=DIR C header files [PREFIX/include]
1375 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1376 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1377 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1378 --infodir=DIR info documentation [DATAROOTDIR/info]
1379 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1380 --mandir=DIR man documentation [DATAROOTDIR/man]
1381 --docdir=DIR documentation root [DATAROOTDIR/doc/yaml]
1382 --htmldir=DIR html documentation [DOCDIR]
1383 --dvidir=DIR dvi documentation [DOCDIR]
1384 --pdfdir=DIR pdf documentation [DOCDIR]
1385 --psdir=DIR ps documentation [DOCDIR]
1391 --program-prefix=PREFIX prepend PREFIX to installed program names
1392 --program-suffix=SUFFIX append SUFFIX to installed program names
1393 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1396 --build=BUILD configure for building on BUILD [guessed]
1397 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1401 if test -n "$ac_init_help"; then
1402 case $ac_init_help in
1403 short | recursive ) echo "Configuration of yaml 0.2.2:";;
1408 --disable-option-checking ignore unrecognized --enable/--with options
1409 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1410 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1411 --enable-silent-rules less verbose build output (undo: "make V=1")
1412 --disable-silent-rules verbose build output (undo: "make V=0")
1413 --enable-dependency-tracking
1414 do not reject slow dependency extractors
1415 --disable-dependency-tracking
1416 speeds up one-time build
1417 --enable-shared[=PKGS] build shared libraries [default=yes]
1418 --enable-static[=PKGS] build static libraries [default=yes]
1419 --enable-fast-install[=PKGS]
1420 optimize for fast installation [default=yes]
1421 --disable-libtool-lock avoid locking (might break parallel builds)
1424 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1425 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1426 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1428 --with-aix-soname=aix|svr4|both
1429 shared library versioning (aka "SONAME") variant to
1430 provide on AIX, [default=aix].
1431 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1432 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1433 compiler's sysroot if not specified).
1435 Some influential environment variables:
1436 CC C compiler command
1437 CFLAGS C compiler flags
1438 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1439 nonstandard directory <lib dir>
1440 LIBS libraries to pass to the linker, e.g. -l<library>
1441 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1442 you have headers in a nonstandard directory <include dir>
1445 User-defined run-time library search path.
1447 Use these variables to override the choices made by `configure' or to help
1448 it to find libraries and programs with nonstandard names/locations.
1450 Report bugs to <https://github.com/yaml/libyaml/issues/new>.
1455 if test "$ac_init_help" = "recursive"; then
1456 # If there are subdirs, report their specific --help.
1457 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1458 test -d "$ac_dir" ||
1459 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1464 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1466 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1467 # A ".." for each directory in $ac_dir_suffix.
1468 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1469 case $ac_top_builddir_sub in
1470 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1471 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1474 ac_abs_top_builddir=$ac_pwd
1475 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1476 # for backward compatibility:
1477 ac_top_builddir=$ac_top_build_prefix
1480 .) # We are building in place.
1482 ac_top_srcdir=$ac_top_builddir_sub
1483 ac_abs_top_srcdir=$ac_pwd ;;
1484 [\\/]* | ?:[\\/]* ) # Absolute name.
1485 ac_srcdir=$srcdir$ac_dir_suffix;
1486 ac_top_srcdir=$srcdir
1487 ac_abs_top_srcdir=$srcdir ;;
1489 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1490 ac_top_srcdir=$ac_top_build_prefix$srcdir
1491 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1493 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1495 cd "$ac_dir" || { ac_status=$?; continue; }
1496 # Check for guested configure.
1497 if test -f "$ac_srcdir/configure.gnu"; then
1499 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1500 elif test -f "$ac_srcdir/configure"; then
1502 $SHELL "$ac_srcdir/configure" --help=recursive
1504 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1506 cd "$ac_pwd" || { ac_status=$?; break; }
1510 test -n "$ac_init_help" && exit $ac_status
1511 if $ac_init_version; then
1513 yaml configure 0.2.2
1514 generated by GNU Autoconf 2.69
1516 Copyright (C) 2012 Free Software Foundation, Inc.
1517 This configure script is free software; the Free Software Foundation
1518 gives unlimited permission to copy, distribute and modify it.
1523 ## ------------------------ ##
1524 ## Autoconf initialization. ##
1525 ## ------------------------ ##
1527 # ac_fn_c_try_compile LINENO
1528 # --------------------------
1529 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1530 ac_fn_c_try_compile ()
1532 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1533 rm -f conftest.$ac_objext
1534 if { { ac_try="$ac_compile"
1536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1537 *) ac_try_echo=$ac_try;;
1539 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1540 $as_echo "$ac_try_echo"; } >&5
1541 (eval "$ac_compile") 2>conftest.err
1543 if test -s conftest.err; then
1544 grep -v '^ *+' conftest.err >conftest.er1
1545 cat conftest.er1 >&5
1546 mv -f conftest.er1 conftest.err
1548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1549 test $ac_status = 0; } && {
1550 test -z "$ac_c_werror_flag" ||
1551 test ! -s conftest.err
1552 } && test -s conftest.$ac_objext; then :
1555 $as_echo "$as_me: failed program was:" >&5
1556 sed 's/^/| /' conftest.$ac_ext >&5
1560 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1561 as_fn_set_status $ac_retval
1563 } # ac_fn_c_try_compile
1565 # ac_fn_c_try_cpp LINENO
1566 # ----------------------
1567 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1570 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1571 if { { ac_try="$ac_cpp conftest.$ac_ext"
1573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1574 *) ac_try_echo=$ac_try;;
1576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1577 $as_echo "$ac_try_echo"; } >&5
1578 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1580 if test -s conftest.err; then
1581 grep -v '^ *+' conftest.err >conftest.er1
1582 cat conftest.er1 >&5
1583 mv -f conftest.er1 conftest.err
1585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1586 test $ac_status = 0; } > conftest.i && {
1587 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1588 test ! -s conftest.err
1592 $as_echo "$as_me: failed program was:" >&5
1593 sed 's/^/| /' conftest.$ac_ext >&5
1597 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1598 as_fn_set_status $ac_retval
1602 # ac_fn_c_try_link LINENO
1603 # -----------------------
1604 # Try to link conftest.$ac_ext, and return whether this succeeded.
1607 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1608 rm -f conftest.$ac_objext conftest$ac_exeext
1609 if { { ac_try="$ac_link"
1611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1612 *) ac_try_echo=$ac_try;;
1614 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1615 $as_echo "$ac_try_echo"; } >&5
1616 (eval "$ac_link") 2>conftest.err
1618 if test -s conftest.err; then
1619 grep -v '^ *+' conftest.err >conftest.er1
1620 cat conftest.er1 >&5
1621 mv -f conftest.er1 conftest.err
1623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1624 test $ac_status = 0; } && {
1625 test -z "$ac_c_werror_flag" ||
1626 test ! -s conftest.err
1627 } && test -s conftest$ac_exeext && {
1628 test "$cross_compiling" = yes ||
1629 test -x conftest$ac_exeext
1633 $as_echo "$as_me: failed program was:" >&5
1634 sed 's/^/| /' conftest.$ac_ext >&5
1638 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1639 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1640 # interfere with the next link command; also delete a directory that is
1641 # left behind by Apple's compiler. We do this before executing the actions.
1642 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1643 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1644 as_fn_set_status $ac_retval
1646 } # ac_fn_c_try_link
1648 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1649 # -------------------------------------------------------
1650 # Tests whether HEADER exists and can be compiled using the include files in
1651 # INCLUDES, setting the cache variable VAR accordingly.
1652 ac_fn_c_check_header_compile ()
1654 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1656 $as_echo_n "checking for $2... " >&6; }
1657 if eval \${$3+:} false; then :
1658 $as_echo_n "(cached) " >&6
1660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1661 /* end confdefs.h. */
1665 if ac_fn_c_try_compile "$LINENO"; then :
1670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1674 $as_echo "$ac_res" >&6; }
1675 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1677 } # ac_fn_c_check_header_compile
1679 # ac_fn_c_try_run LINENO
1680 # ----------------------
1681 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1682 # that executables *can* be run.
1685 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1686 if { { ac_try="$ac_link"
1688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1689 *) ac_try_echo=$ac_try;;
1691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1692 $as_echo "$ac_try_echo"; } >&5
1693 (eval "$ac_link") 2>&5
1695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1696 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1697 { { case "(($ac_try" in
1698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1699 *) ac_try_echo=$ac_try;;
1701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1702 $as_echo "$ac_try_echo"; } >&5
1703 (eval "$ac_try") 2>&5
1705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706 test $ac_status = 0; }; }; then :
1709 $as_echo "$as_me: program exited with status $ac_status" >&5
1710 $as_echo "$as_me: failed program was:" >&5
1711 sed 's/^/| /' conftest.$ac_ext >&5
1713 ac_retval=$ac_status
1715 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1716 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1717 as_fn_set_status $ac_retval
1721 # ac_fn_c_check_func LINENO FUNC VAR
1722 # ----------------------------------
1723 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1724 ac_fn_c_check_func ()
1726 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1728 $as_echo_n "checking for $2... " >&6; }
1729 if eval \${$3+:} false; then :
1730 $as_echo_n "(cached) " >&6
1732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1733 /* end confdefs.h. */
1734 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1736 #define $2 innocuous_$2
1738 /* System header to define __stub macros and hopefully few prototypes,
1739 which can conflict with char $2 (); below.
1740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1741 <limits.h> exists even on freestanding compilers. */
1744 # include <limits.h>
1746 # include <assert.h>
1751 /* Override any GCC internal prototype to avoid an error.
1752 Use char because int might match the return type of a GCC
1753 builtin and then its argument prototype would still apply. */
1758 /* The GNU C library defines this for functions which it implements
1759 to always fail with ENOSYS. Some functions are actually named
1760 something starting with __ and the normal name is an alias. */
1761 #if defined __stub_$2 || defined __stub___$2
1773 if ac_fn_c_try_link "$LINENO"; then :
1778 rm -f core conftest.err conftest.$ac_objext \
1779 conftest$ac_exeext conftest.$ac_ext
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1783 $as_echo "$ac_res" >&6; }
1784 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1786 } # ac_fn_c_check_func
1788 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1789 # -------------------------------------------------------
1790 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1791 # the include files in INCLUDES and setting the cache variable VAR
1793 ac_fn_c_check_header_mongrel ()
1795 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1796 if eval \${$3+:} false; then :
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1798 $as_echo_n "checking for $2... " >&6; }
1799 if eval \${$3+:} false; then :
1800 $as_echo_n "(cached) " >&6
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1804 $as_echo "$ac_res" >&6; }
1806 # Is the header compilable?
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1808 $as_echo_n "checking $2 usability... " >&6; }
1809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1810 /* end confdefs.h. */
1814 if ac_fn_c_try_compile "$LINENO"; then :
1815 ac_header_compiler=yes
1817 ac_header_compiler=no
1819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1821 $as_echo "$ac_header_compiler" >&6; }
1823 # Is the header present?
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1825 $as_echo_n "checking $2 presence... " >&6; }
1826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1827 /* end confdefs.h. */
1830 if ac_fn_c_try_cpp "$LINENO"; then :
1831 ac_header_preproc=yes
1833 ac_header_preproc=no
1835 rm -f conftest.err conftest.i conftest.$ac_ext
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1837 $as_echo "$ac_header_preproc" >&6; }
1839 # So? What about this header?
1840 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1843 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1845 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1849 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1851 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1853 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1855 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1857 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1858 ( $as_echo "## --------------------------------------------------------- ##
1859 ## Report this to https://github.com/yaml/libyaml/issues/new ##
1860 ## --------------------------------------------------------- ##"
1861 ) | sed "s/^/$as_me: WARNING: /" >&2
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1865 $as_echo_n "checking for $2... " >&6; }
1866 if eval \${$3+:} false; then :
1867 $as_echo_n "(cached) " >&6
1869 eval "$3=\$ac_header_compiler"
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1873 $as_echo "$ac_res" >&6; }
1875 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1877 } # ac_fn_c_check_header_mongrel
1879 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1880 # -------------------------------------------
1881 # Tests whether TYPE exists after having included INCLUDES, setting cache
1882 # variable VAR accordingly.
1883 ac_fn_c_check_type ()
1885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1887 $as_echo_n "checking for $2... " >&6; }
1888 if eval \${$3+:} false; then :
1889 $as_echo_n "(cached) " >&6
1892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1893 /* end confdefs.h. */
1904 if ac_fn_c_try_compile "$LINENO"; then :
1905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1906 /* end confdefs.h. */
1917 if ac_fn_c_try_compile "$LINENO"; then :
1922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1928 $as_echo "$ac_res" >&6; }
1929 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1931 } # ac_fn_c_check_type
1932 cat >config.log <<_ACEOF
1933 This file contains any messages produced by compilers while
1934 running configure, to aid debugging if configure makes a mistake.
1936 It was created by yaml $as_me 0.2.2, which was
1937 generated by GNU Autoconf 2.69. Invocation command line was
1949 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1950 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1951 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1952 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1953 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1955 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1956 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1958 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1959 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1960 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1961 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1962 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1963 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1964 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1972 test -z "$as_dir" && as_dir=.
1973 $as_echo "PATH: $as_dir"
1989 # Keep a trace of the command line.
1990 # Strip out --no-create and --no-recursion so they do not pile up.
1991 # Strip out --silent because we don't want to record it for future runs.
1992 # Also quote any args containing shell meta-characters.
1993 # Make two passes to allow for proper duplicate-argument suppression.
1997 ac_must_keep_next=false
2003 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2004 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2005 | -silent | --silent | --silen | --sile | --sil)
2008 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2011 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2013 as_fn_append ac_configure_args1 " '$ac_arg'"
2014 if test $ac_must_keep_next = true; then
2015 ac_must_keep_next=false # Got value, back to normal.
2018 *=* | --config-cache | -C | -disable-* | --disable-* \
2019 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2020 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2021 | -with-* | --with-* | -without-* | --without-* | --x)
2022 case "$ac_configure_args0 " in
2023 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2026 -* ) ac_must_keep_next=true ;;
2029 as_fn_append ac_configure_args " '$ac_arg'"
2034 { ac_configure_args0=; unset ac_configure_args0;}
2035 { ac_configure_args1=; unset ac_configure_args1;}
2037 # When interrupted or exit'd, cleanup temporary files, and complete
2038 # config.log. We remove comments because anyway the quotes in there
2039 # would cause problems or look ugly.
2040 # WARNING: Use '\'' to represent an apostrophe within the trap.
2041 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2042 trap 'exit_status=$?
2043 # Save into config.log some information that might help in debugging.
2047 $as_echo "## ---------------- ##
2048 ## Cache variables. ##
2049 ## ---------------- ##"
2051 # The following way of writing the cache mishandles newlines in values,
2053 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2054 eval ac_val=\$$ac_var
2058 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2059 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2062 _ | IFS | as_nl) ;; #(
2063 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2064 *) { eval $ac_var=; unset $ac_var;} ;;
2069 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2070 *${as_nl}ac_space=\ *)
2072 "s/'\''/'\''\\\\'\'''\''/g;
2073 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2076 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2083 $as_echo "## ----------------- ##
2084 ## Output variables. ##
2085 ## ----------------- ##"
2087 for ac_var in $ac_subst_vars
2089 eval ac_val=\$$ac_var
2091 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2093 $as_echo "$ac_var='\''$ac_val'\''"
2097 if test -n "$ac_subst_files"; then
2098 $as_echo "## ------------------- ##
2099 ## File substitutions. ##
2100 ## ------------------- ##"
2102 for ac_var in $ac_subst_files
2104 eval ac_val=\$$ac_var
2106 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2108 $as_echo "$ac_var='\''$ac_val'\''"
2113 if test -s confdefs.h; then
2114 $as_echo "## ----------- ##
2121 test "$ac_signal" != 0 &&
2122 $as_echo "$as_me: caught signal $ac_signal"
2123 $as_echo "$as_me: exit $exit_status"
2125 rm -f core *.core core.conftest.* &&
2126 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2129 for ac_signal in 1 2 13 15; do
2130 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2134 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2135 rm -f -r conftest* confdefs.h
2137 $as_echo "/* confdefs.h */" > confdefs.h
2139 # Predefined preprocessor variables.
2141 cat >>confdefs.h <<_ACEOF
2142 #define PACKAGE_NAME "$PACKAGE_NAME"
2145 cat >>confdefs.h <<_ACEOF
2146 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2149 cat >>confdefs.h <<_ACEOF
2150 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2153 cat >>confdefs.h <<_ACEOF
2154 #define PACKAGE_STRING "$PACKAGE_STRING"
2157 cat >>confdefs.h <<_ACEOF
2158 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2161 cat >>confdefs.h <<_ACEOF
2162 #define PACKAGE_URL "$PACKAGE_URL"
2166 # Let the site file select an alternate cache file if it wants to.
2167 # Prefer an explicitly selected file to automatically selected ones.
2170 if test -n "$CONFIG_SITE"; then
2171 # We do not want a PATH search for config.site.
2172 case $CONFIG_SITE in #((
2173 -*) ac_site_file1=./$CONFIG_SITE;;
2174 */*) ac_site_file1=$CONFIG_SITE;;
2175 *) ac_site_file1=./$CONFIG_SITE;;
2177 elif test "x$prefix" != xNONE; then
2178 ac_site_file1=$prefix/share/config.site
2179 ac_site_file2=$prefix/etc/config.site
2181 ac_site_file1=$ac_default_prefix/share/config.site
2182 ac_site_file2=$ac_default_prefix/etc/config.site
2184 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2186 test "x$ac_site_file" = xNONE && continue
2187 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2189 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2190 sed 's/^/| /' "$ac_site_file" >&5
2192 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2194 as_fn_error $? "failed to load site script $ac_site_file
2195 See \`config.log' for more details" "$LINENO" 5; }
2199 if test -r "$cache_file"; then
2200 # Some versions of bash will fail to source /dev/null (special files
2201 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2202 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2204 $as_echo "$as_me: loading cache $cache_file" >&6;}
2206 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2207 *) . "./$cache_file";;
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2212 $as_echo "$as_me: creating cache $cache_file" >&6;}
2216 # Check that the precious variables saved in the cache have kept the same
2218 ac_cache_corrupted=false
2219 for ac_var in $ac_precious_vars; do
2220 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2221 eval ac_new_set=\$ac_env_${ac_var}_set
2222 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2223 eval ac_new_val=\$ac_env_${ac_var}_value
2224 case $ac_old_set,$ac_new_set in
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2227 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2228 ac_cache_corrupted=: ;;
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2231 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2232 ac_cache_corrupted=: ;;
2235 if test "x$ac_old_val" != "x$ac_new_val"; then
2236 # differences in whitespace do not lead to failure.
2237 ac_old_val_w=`echo x $ac_old_val`
2238 ac_new_val_w=`echo x $ac_new_val`
2239 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2241 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2242 ac_cache_corrupted=:
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2245 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2246 eval $ac_var=\$ac_old_val
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2249 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2251 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2254 # Pass precious variables to config.status.
2255 if test "$ac_new_set" = set; then
2257 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2258 *) ac_arg=$ac_var=$ac_new_val ;;
2260 case " $ac_configure_args " in
2261 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2262 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2266 if $ac_cache_corrupted; then
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2270 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2271 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2273 ## -------------------- ##
2274 ## Main body of script. ##
2275 ## -------------------- ##
2278 ac_cpp='$CPP $CPPFLAGS'
2279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2285 for ac_dir in config "$srcdir"/config; do
2286 if test -f "$ac_dir/install-sh"; then
2288 ac_install_sh="$ac_aux_dir/install-sh -c"
2290 elif test -f "$ac_dir/install.sh"; then
2292 ac_install_sh="$ac_aux_dir/install.sh -c"
2294 elif test -f "$ac_dir/shtool"; then
2296 ac_install_sh="$ac_aux_dir/shtool install -c"
2300 if test -z "$ac_aux_dir"; then
2301 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2304 # These three variables are undocumented and unsupported,
2305 # and are intended to be withdrawn in a future Autoconf release.
2306 # They can cause serious problems if a builder's source tree is in a directory
2307 # whose full name contains unusual characters.
2308 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2309 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2310 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2313 ac_config_headers="$ac_config_headers include/config.h"
2315 am__api_version='1.15'
2317 # Find a good install program. We prefer a C program (faster),
2318 # so one script is as good as another. But avoid the broken or
2319 # incompatible versions:
2320 # SysV /etc/install, /usr/sbin/install
2321 # SunOS /usr/etc/install
2322 # IRIX /sbin/install
2324 # AmigaOS /C/install, which installs bootblocks on floppy discs
2325 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2326 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2327 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2328 # OS/2's system install, which has a completely different semantic
2329 # ./install, which can be erroneously created by make from ./install.sh.
2330 # Reject install programs that cannot install multiple files.
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2332 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2333 if test -z "$INSTALL"; then
2334 if ${ac_cv_path_install+:} false; then :
2335 $as_echo_n "(cached) " >&6
2337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2341 test -z "$as_dir" && as_dir=.
2342 # Account for people who put trailing slashes in PATH elements.
2343 case $as_dir/ in #((
2344 ./ | .// | /[cC]/* | \
2345 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2346 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2349 # OSF1 and SCO ODT 3.0 have their own names for install.
2350 # Don't use installbsd from OSF since it installs stuff as root
2352 for ac_prog in ginstall scoinst install; do
2353 for ac_exec_ext in '' $ac_executable_extensions; do
2354 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2355 if test $ac_prog = install &&
2356 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2357 # AIX install. It has an incompatible calling convention.
2359 elif test $ac_prog = install &&
2360 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2361 # program-specific install script used by HP pwplus--don't use.
2364 rm -rf conftest.one conftest.two conftest.dir
2365 echo one > conftest.one
2366 echo two > conftest.two
2368 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2369 test -s conftest.one && test -s conftest.two &&
2370 test -s conftest.dir/conftest.one &&
2371 test -s conftest.dir/conftest.two
2373 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2386 rm -rf conftest.one conftest.two conftest.dir
2389 if test "${ac_cv_path_install+set}" = set; then
2390 INSTALL=$ac_cv_path_install
2392 # As a last resort, use the slow shell script. Don't cache a
2393 # value for INSTALL within a source directory, because that will
2394 # break other packages using the cache if that directory is
2395 # removed, or if the value is a relative name.
2396 INSTALL=$ac_install_sh
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2400 $as_echo "$INSTALL" >&6; }
2402 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2403 # It thinks the first close brace ends the variable substitution.
2404 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2406 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2408 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2411 $as_echo_n "checking whether build environment is sane... " >&6; }
2412 # Reject unsafe characters in $srcdir or the absolute working directory
2413 # name. Accept space and tab only in the latter.
2417 *[\\\"\#\$\&\'\`$am_lf]*)
2418 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2421 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2422 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2425 # Do 'set' in a subshell so we don't clobber the current shell's
2426 # arguments. Must try -L first in case configure is actually a
2427 # symlink; some systems play weird games with the mod time of symlinks
2428 # (eg FreeBSD returns the mod time of the symlink's containing
2432 for am_try in 1 2; do
2433 echo "timestamp, slept: $am_has_slept" > conftest.file
2434 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2435 if test "$*" = "X"; then
2437 set X `ls -t "$srcdir/configure" conftest.file`
2439 if test "$*" != "X $srcdir/configure conftest.file" \
2440 && test "$*" != "X conftest.file $srcdir/configure"; then
2442 # If neither matched, then we have a broken ls. This can happen
2443 # if, for instance, CONFIG_SHELL is bash and it inherits a
2444 # broken ls alias from the environment. This has actually
2445 # happened. Such a system could not be considered "sane".
2446 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2447 alias in your environment" "$LINENO" 5
2449 if test "$2" = conftest.file || test $am_try -eq 2; then
2456 test "$2" = conftest.file
2462 as_fn_error $? "newly created file is older than distributed files!
2463 Check your system clock" "$LINENO" 5
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2466 $as_echo "yes" >&6; }
2467 # If we didn't sleep, we still need to ensure time stamps of config.status and
2468 # generated files are strictly newer.
2470 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2477 test "$program_prefix" != NONE &&
2478 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2479 # Use a double $ so make ignores it.
2480 test "$program_suffix" != NONE &&
2481 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2482 # Double any \ or $.
2483 # By default was `s,x,x', remove it if useless.
2484 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2485 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2487 # Expand $ac_aux_dir to an absolute path.
2488 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2490 if test x"${MISSING+set}" != xset; then
2493 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2495 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2498 # Use eval to expand $SHELL
2499 if eval "$MISSING --is-lightweight"; then
2500 am_missing_run="$MISSING "
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2504 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2507 if test x"${install_sh+set}" != xset; then
2510 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2512 install_sh="\${SHELL} $am_aux_dir/install-sh"
2516 # Installed binaries are usually stripped using 'strip' when the user
2517 # run "make install-strip". However 'strip' might not be the right
2518 # tool to use in cross-compilation environments, therefore Automake
2519 # will honor the 'STRIP' environment variable to overrule this program.
2520 if test "$cross_compiling" != no; then
2521 if test -n "$ac_tool_prefix"; then
2522 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2523 set dummy ${ac_tool_prefix}strip; ac_word=$2
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2525 $as_echo_n "checking for $ac_word... " >&6; }
2526 if ${ac_cv_prog_STRIP+:} false; then :
2527 $as_echo_n "(cached) " >&6
2529 if test -n "$STRIP"; then
2530 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2536 test -z "$as_dir" && as_dir=.
2537 for ac_exec_ext in '' $ac_executable_extensions; do
2538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2539 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2549 STRIP=$ac_cv_prog_STRIP
2550 if test -n "$STRIP"; then
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2552 $as_echo "$STRIP" >&6; }
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2555 $as_echo "no" >&6; }
2560 if test -z "$ac_cv_prog_STRIP"; then
2562 # Extract the first word of "strip", so it can be a program name with args.
2563 set dummy strip; ac_word=$2
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2565 $as_echo_n "checking for $ac_word... " >&6; }
2566 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2567 $as_echo_n "(cached) " >&6
2569 if test -n "$ac_ct_STRIP"; then
2570 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2576 test -z "$as_dir" && as_dir=.
2577 for ac_exec_ext in '' $ac_executable_extensions; do
2578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2579 ac_cv_prog_ac_ct_STRIP="strip"
2580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2589 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2590 if test -n "$ac_ct_STRIP"; then
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2592 $as_echo "$ac_ct_STRIP" >&6; }
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2595 $as_echo "no" >&6; }
2598 if test "x$ac_ct_STRIP" = x; then
2601 case $cross_compiling:$ac_tool_warned in
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2605 ac_tool_warned=yes ;;
2610 STRIP="$ac_cv_prog_STRIP"
2614 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2617 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2618 if test -z "$MKDIR_P"; then
2619 if ${ac_cv_path_mkdir+:} false; then :
2620 $as_echo_n "(cached) " >&6
2622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2623 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2626 test -z "$as_dir" && as_dir=.
2627 for ac_prog in mkdir gmkdir; do
2628 for ac_exec_ext in '' $ac_executable_extensions; do
2629 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2630 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2631 'mkdir (GNU coreutils) '* | \
2632 'mkdir (coreutils) '* | \
2633 'mkdir (fileutils) '4.1*)
2634 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2644 test -d ./--version && rmdir ./--version
2645 if test "${ac_cv_path_mkdir+set}" = set; then
2646 MKDIR_P="$ac_cv_path_mkdir -p"
2648 # As a last resort, use the slow shell script. Don't cache a
2649 # value for MKDIR_P within a source directory, because that will
2650 # break other packages using the cache if that directory is
2651 # removed, or if the value is a relative name.
2652 MKDIR_P="$ac_install_sh -d"
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2656 $as_echo "$MKDIR_P" >&6; }
2658 for ac_prog in gawk mawk nawk awk
2660 # Extract the first word of "$ac_prog", so it can be a program name with args.
2661 set dummy $ac_prog; ac_word=$2
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2663 $as_echo_n "checking for $ac_word... " >&6; }
2664 if ${ac_cv_prog_AWK+:} false; then :
2665 $as_echo_n "(cached) " >&6
2667 if test -n "$AWK"; then
2668 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2674 test -z "$as_dir" && as_dir=.
2675 for ac_exec_ext in '' $ac_executable_extensions; do
2676 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2677 ac_cv_prog_AWK="$ac_prog"
2678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2688 if test -n "$AWK"; then
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2690 $as_echo "$AWK" >&6; }
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2693 $as_echo "no" >&6; }
2697 test -n "$AWK" && break
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2701 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2703 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2704 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2705 $as_echo_n "(cached) " >&6
2707 cat >conftest.make <<\_ACEOF
2710 @echo '@@@%%%=$(MAKE)=@@@%%%'
2712 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2713 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2715 eval ac_cv_prog_make_${ac_make}_set=yes;;
2717 eval ac_cv_prog_make_${ac_make}_set=no;;
2721 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2723 $as_echo "yes" >&6; }
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2727 $as_echo "no" >&6; }
2728 SET_MAKE="MAKE=${MAKE-make}"
2731 rm -rf .tst 2>/dev/null
2732 mkdir .tst 2>/dev/null
2733 if test -d .tst; then
2738 rmdir .tst 2>/dev/null
2740 # Check whether --enable-silent-rules was given.
2741 if test "${enable_silent_rules+set}" = set; then :
2742 enableval=$enable_silent_rules;
2745 case $enable_silent_rules in # (((
2746 yes) AM_DEFAULT_VERBOSITY=0;;
2747 no) AM_DEFAULT_VERBOSITY=1;;
2748 *) AM_DEFAULT_VERBOSITY=1;;
2750 am_make=${MAKE-make}
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2752 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2753 if ${am_cv_make_support_nested_variables+:} false; then :
2754 $as_echo_n "(cached) " >&6
2756 if $as_echo 'TRUE=$(BAR$(V))
2762 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2763 am_cv_make_support_nested_variables=yes
2765 am_cv_make_support_nested_variables=no
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2769 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2770 if test $am_cv_make_support_nested_variables = yes; then
2772 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2774 AM_V=$AM_DEFAULT_VERBOSITY
2775 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2779 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2780 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2781 # is not polluted with repeated "-I."
2782 am__isrc=' -I$(srcdir)'
2783 # test to see if srcdir already configured
2784 if test -f $srcdir/config.status; then
2785 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2789 # test whether we have cygpath
2790 if test -z "$CYGPATH_W"; then
2791 if (cygpath --version) >/dev/null 2>/dev/null; then
2792 CYGPATH_W='cygpath -w'
2799 # Define the identity of the package.
2804 cat >>confdefs.h <<_ACEOF
2805 #define PACKAGE "$PACKAGE"
2809 cat >>confdefs.h <<_ACEOF
2810 #define VERSION "$VERSION"
2813 # Some tools Automake needs.
2815 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2818 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2821 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2824 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2827 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2829 # For better backward compatibility. To be removed once Automake 1.9.x
2830 # dies out for good. For more background, see:
2831 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2832 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2833 mkdir_p='$(MKDIR_P)'
2835 # We need awk for the "check" target (and possibly the TAP driver). The
2836 # system "awk" is bad on some platforms.
2837 # Always define AMTAR for backward compatibility. Yes, it's still used
2838 # in the wild :-( We should find a proper way to deprecate it ...
2842 # We'll loop over all known methods to create a tar archive until one works.
2843 _am_tools='gnutar pax cpio none'
2845 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2852 # POSIX will say in a future version that running "rm -f" with no argument
2853 # is OK; and we want to be able to make that assumption in our Makefile
2854 # recipes. So use an aggressive probe to check that the usage we want is
2855 # actually supported "in the wild" to an acceptable degree.
2856 # See automake bug#10828.
2857 # To make any issue more visible, cause the running configure to be aborted
2858 # by default if the 'rm' program in use doesn't match our expectations; the
2859 # user can still override this though.
2860 if rm -f && rm -fr && rm -rf; then : OK; else
2864 Your 'rm' program seems unable to run without file operands specified
2865 on the command line, even when the '-f' option is present. This is contrary
2866 to the behaviour of most rm programs out there, and not conforming with
2867 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2869 Please tell bug-automake@gnu.org about your system, including the value
2870 of your $PATH and any error possibly output before this message. This
2871 can help us improve future automake versions.
2874 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2875 echo 'Configuration will proceed anyway, since you have set the' >&2
2876 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2880 Aborting the configuration process, to ensure you take notice of the issue.
2882 You can download and install GNU coreutils to get an 'rm' implementation
2883 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2885 If you want to complete the configuration process using your problematic
2886 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2887 to "yes", and re-run configure.
2890 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2895 # Define macro variables for the package version numbers.
2897 $as_echo "#define YAML_VERSION_MAJOR 0" >>confdefs.h
2900 $as_echo "#define YAML_VERSION_MINOR 2" >>confdefs.h
2903 $as_echo "#define YAML_VERSION_PATCH 2" >>confdefs.h
2906 $as_echo "#define YAML_VERSION_STRING \"0.2.2\"" >>confdefs.h
2909 # Define substitutions for the libtool version numbers.
2919 # Note: in order to update checks, run `autoscan` and look through "configure.scan".
2921 # Checks for programs.
2923 ac_cpp='$CPP $CPPFLAGS'
2924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2927 if test -n "$ac_tool_prefix"; then
2928 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2929 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2931 $as_echo_n "checking for $ac_word... " >&6; }
2932 if ${ac_cv_prog_CC+:} false; then :
2933 $as_echo_n "(cached) " >&6
2935 if test -n "$CC"; then
2936 ac_cv_prog_CC="$CC" # Let the user override the test.
2938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2942 test -z "$as_dir" && as_dir=.
2943 for ac_exec_ext in '' $ac_executable_extensions; do
2944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2945 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2956 if test -n "$CC"; then
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2958 $as_echo "$CC" >&6; }
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2961 $as_echo "no" >&6; }
2966 if test -z "$ac_cv_prog_CC"; then
2968 # Extract the first word of "gcc", so it can be a program name with args.
2969 set dummy gcc; ac_word=$2
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2971 $as_echo_n "checking for $ac_word... " >&6; }
2972 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2973 $as_echo_n "(cached) " >&6
2975 if test -n "$ac_ct_CC"; then
2976 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2982 test -z "$as_dir" && as_dir=.
2983 for ac_exec_ext in '' $ac_executable_extensions; do
2984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2985 ac_cv_prog_ac_ct_CC="gcc"
2986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2995 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2996 if test -n "$ac_ct_CC"; then
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2998 $as_echo "$ac_ct_CC" >&6; }
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3001 $as_echo "no" >&6; }
3004 if test "x$ac_ct_CC" = x; then
3007 case $cross_compiling:$ac_tool_warned in
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3011 ac_tool_warned=yes ;;
3019 if test -z "$CC"; then
3020 if test -n "$ac_tool_prefix"; then
3021 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3022 set dummy ${ac_tool_prefix}cc; ac_word=$2
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3024 $as_echo_n "checking for $ac_word... " >&6; }
3025 if ${ac_cv_prog_CC+:} false; then :
3026 $as_echo_n "(cached) " >&6
3028 if test -n "$CC"; then
3029 ac_cv_prog_CC="$CC" # Let the user override the test.
3031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3035 test -z "$as_dir" && as_dir=.
3036 for ac_exec_ext in '' $ac_executable_extensions; do
3037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3038 ac_cv_prog_CC="${ac_tool_prefix}cc"
3039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3049 if test -n "$CC"; then
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3051 $as_echo "$CC" >&6; }
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3054 $as_echo "no" >&6; }
3060 if test -z "$CC"; then
3061 # Extract the first word of "cc", so it can be a program name with args.
3062 set dummy cc; ac_word=$2
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3064 $as_echo_n "checking for $ac_word... " >&6; }
3065 if ${ac_cv_prog_CC+:} false; then :
3066 $as_echo_n "(cached) " >&6
3068 if test -n "$CC"; then
3069 ac_cv_prog_CC="$CC" # Let the user override the test.
3072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3076 test -z "$as_dir" && as_dir=.
3077 for ac_exec_ext in '' $ac_executable_extensions; do
3078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3079 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3080 ac_prog_rejected=yes
3084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3091 if test $ac_prog_rejected = yes; then
3092 # We found a bogon in the path, so make sure we never use it.
3093 set dummy $ac_cv_prog_CC
3095 if test $# != 0; then
3096 # We chose a different compiler from the bogus one.
3097 # However, it has the same basename, so the bogon will be chosen
3098 # first if we set CC to just the basename; use the full file name.
3100 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3106 if test -n "$CC"; then
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3108 $as_echo "$CC" >&6; }
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3111 $as_echo "no" >&6; }
3116 if test -z "$CC"; then
3117 if test -n "$ac_tool_prefix"; then
3118 for ac_prog in cl.exe
3120 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3121 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3123 $as_echo_n "checking for $ac_word... " >&6; }
3124 if ${ac_cv_prog_CC+:} false; then :
3125 $as_echo_n "(cached) " >&6
3127 if test -n "$CC"; then
3128 ac_cv_prog_CC="$CC" # Let the user override the test.
3130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3134 test -z "$as_dir" && as_dir=.
3135 for ac_exec_ext in '' $ac_executable_extensions; do
3136 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3137 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3148 if test -n "$CC"; then
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3150 $as_echo "$CC" >&6; }
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3153 $as_echo "no" >&6; }
3157 test -n "$CC" && break
3160 if test -z "$CC"; then
3162 for ac_prog in cl.exe
3164 # Extract the first word of "$ac_prog", so it can be a program name with args.
3165 set dummy $ac_prog; ac_word=$2
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3167 $as_echo_n "checking for $ac_word... " >&6; }
3168 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3169 $as_echo_n "(cached) " >&6
3171 if test -n "$ac_ct_CC"; then
3172 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3178 test -z "$as_dir" && as_dir=.
3179 for ac_exec_ext in '' $ac_executable_extensions; do
3180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3181 ac_cv_prog_ac_ct_CC="$ac_prog"
3182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3191 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3192 if test -n "$ac_ct_CC"; then
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3194 $as_echo "$ac_ct_CC" >&6; }
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3197 $as_echo "no" >&6; }
3201 test -n "$ac_ct_CC" && break
3204 if test "x$ac_ct_CC" = x; then
3207 case $cross_compiling:$ac_tool_warned in
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3210 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3211 ac_tool_warned=yes ;;
3220 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3221 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3222 as_fn_error $? "no acceptable C compiler found in \$PATH
3223 See \`config.log' for more details" "$LINENO" 5; }
3225 # Provide some information about the compiler.
3226 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3229 for ac_option in --version -v -V -qversion; do
3230 { { ac_try="$ac_compiler $ac_option >&5"
3232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3233 *) ac_try_echo=$ac_try;;
3235 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3236 $as_echo "$ac_try_echo"; } >&5
3237 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3239 if test -s conftest.err; then
3241 ... rest of stderr output deleted ...
3242 10q' conftest.err >conftest.er1
3243 cat conftest.er1 >&5
3245 rm -f conftest.er1 conftest.err
3246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3247 test $ac_status = 0; }
3250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3251 /* end confdefs.h. */
3261 ac_clean_files_save=$ac_clean_files
3262 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3263 # Try to create an executable without -o first, disregard a.out.
3264 # It will help us diagnose broken compilers, and finding out an intuition
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3267 $as_echo_n "checking whether the C compiler works... " >&6; }
3268 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3270 # The possible output files:
3271 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3274 for ac_file in $ac_files
3277 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3278 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3283 if { { ac_try="$ac_link_default"
3285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3286 *) ac_try_echo=$ac_try;;
3288 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3289 $as_echo "$ac_try_echo"; } >&5
3290 (eval "$ac_link_default") 2>&5
3292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3293 test $ac_status = 0; }; then :
3294 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3295 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3296 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3297 # so that the user can short-circuit this test for compilers unknown to
3299 for ac_file in $ac_files ''
3301 test -f "$ac_file" || continue
3303 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3306 # We found the default executable, but exeext='' is most
3310 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3312 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3314 # We set ac_cv_exeext here because the later test for it is not
3315 # safe: cross compilers may not add the suffix if given an `-o'
3316 # argument, so we may need to know it at that point already.
3317 # Even if this section looks crufty: it has the advantage of
3324 test "$ac_cv_exeext" = no && ac_cv_exeext=
3329 if test -z "$ac_file"; then :
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3331 $as_echo "no" >&6; }
3332 $as_echo "$as_me: failed program was:" >&5
3333 sed 's/^/| /' conftest.$ac_ext >&5
3335 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3336 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3337 as_fn_error 77 "C compiler cannot create executables
3338 See \`config.log' for more details" "$LINENO" 5; }
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3341 $as_echo "yes" >&6; }
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3344 $as_echo_n "checking for C compiler default output file name... " >&6; }
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3346 $as_echo "$ac_file" >&6; }
3347 ac_exeext=$ac_cv_exeext
3349 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3350 ac_clean_files=$ac_clean_files_save
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3352 $as_echo_n "checking for suffix of executables... " >&6; }
3353 if { { ac_try="$ac_link"
3355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3356 *) ac_try_echo=$ac_try;;
3358 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3359 $as_echo "$ac_try_echo"; } >&5
3360 (eval "$ac_link") 2>&5
3362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3363 test $ac_status = 0; }; then :
3364 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3365 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3366 # work properly (i.e., refer to `conftest.exe'), while it won't with
3368 for ac_file in conftest.exe conftest conftest.*; do
3369 test -f "$ac_file" || continue
3371 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3372 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3378 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3380 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3381 See \`config.log' for more details" "$LINENO" 5; }
3383 rm -f conftest conftest$ac_cv_exeext
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3385 $as_echo "$ac_cv_exeext" >&6; }
3387 rm -f conftest.$ac_ext
3388 EXEEXT=$ac_cv_exeext
3390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3391 /* end confdefs.h. */
3396 FILE *f = fopen ("conftest.out", "w");
3397 return ferror (f) || fclose (f) != 0;
3403 ac_clean_files="$ac_clean_files conftest.out"
3404 # Check that the compiler produces executables we can run. If not, either
3405 # the compiler is broken, or we cross compile.
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3407 $as_echo_n "checking whether we are cross compiling... " >&6; }
3408 if test "$cross_compiling" != yes; then
3409 { { ac_try="$ac_link"
3411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3412 *) ac_try_echo=$ac_try;;
3414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3415 $as_echo "$ac_try_echo"; } >&5
3416 (eval "$ac_link") 2>&5
3418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3419 test $ac_status = 0; }
3420 if { ac_try='./conftest$ac_cv_exeext'
3421 { { case "(($ac_try" in
3422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3423 *) ac_try_echo=$ac_try;;
3425 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3426 $as_echo "$ac_try_echo"; } >&5
3427 (eval "$ac_try") 2>&5
3429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3430 test $ac_status = 0; }; }; then
3433 if test "$cross_compiling" = maybe; then
3436 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3437 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3438 as_fn_error $? "cannot run C compiled programs.
3439 If you meant to cross compile, use \`--host'.
3440 See \`config.log' for more details" "$LINENO" 5; }
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3445 $as_echo "$cross_compiling" >&6; }
3447 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3448 ac_clean_files=$ac_clean_files_save
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3450 $as_echo_n "checking for suffix of object files... " >&6; }
3451 if ${ac_cv_objext+:} false; then :
3452 $as_echo_n "(cached) " >&6
3454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3455 /* end confdefs.h. */
3465 rm -f conftest.o conftest.obj
3466 if { { ac_try="$ac_compile"
3468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3469 *) ac_try_echo=$ac_try;;
3471 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3472 $as_echo "$ac_try_echo"; } >&5
3473 (eval "$ac_compile") 2>&5
3475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3476 test $ac_status = 0; }; then :
3477 for ac_file in conftest.o conftest.obj conftest.*; do
3478 test -f "$ac_file" || continue;
3480 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3481 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3486 $as_echo "$as_me: failed program was:" >&5
3487 sed 's/^/| /' conftest.$ac_ext >&5
3489 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3491 as_fn_error $? "cannot compute suffix of object files: cannot compile
3492 See \`config.log' for more details" "$LINENO" 5; }
3494 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3497 $as_echo "$ac_cv_objext" >&6; }
3498 OBJEXT=$ac_cv_objext
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3501 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3502 if ${ac_cv_c_compiler_gnu+:} false; then :
3503 $as_echo_n "(cached) " >&6
3505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3506 /* end confdefs.h. */
3519 if ac_fn_c_try_compile "$LINENO"; then :
3524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3525 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3529 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3530 if test $ac_compiler_gnu = yes; then
3535 ac_test_CFLAGS=${CFLAGS+set}
3536 ac_save_CFLAGS=$CFLAGS
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3538 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3539 if ${ac_cv_prog_cc_g+:} false; then :
3540 $as_echo_n "(cached) " >&6
3542 ac_save_c_werror_flag=$ac_c_werror_flag
3543 ac_c_werror_flag=yes
3546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3547 /* end confdefs.h. */
3557 if ac_fn_c_try_compile "$LINENO"; then :
3561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3562 /* end confdefs.h. */
3572 if ac_fn_c_try_compile "$LINENO"; then :
3575 ac_c_werror_flag=$ac_save_c_werror_flag
3577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3578 /* end confdefs.h. */
3588 if ac_fn_c_try_compile "$LINENO"; then :
3591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3596 ac_c_werror_flag=$ac_save_c_werror_flag
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3599 $as_echo "$ac_cv_prog_cc_g" >&6; }
3600 if test "$ac_test_CFLAGS" = set; then
3601 CFLAGS=$ac_save_CFLAGS
3602 elif test $ac_cv_prog_cc_g = yes; then
3603 if test "$GCC" = yes; then
3609 if test "$GCC" = yes; then
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3616 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3617 if ${ac_cv_prog_cc_c89+:} false; then :
3618 $as_echo_n "(cached) " >&6
3620 ac_cv_prog_cc_c89=no
3622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3623 /* end confdefs.h. */
3627 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3628 struct buf { int x; };
3629 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3630 static char *e (p, i)
3636 static char *f (char * (*g) (char **, int), char **p, ...)
3641 s = g (p, va_arg (v,int));
3646 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3647 function prototypes and stuff, but not '\xHH' hex character constants.
3648 These don't provoke an error unfortunately, instead are silently treated
3649 as 'x'. The following induces an error, until -std is added to get
3650 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3651 array size at least. It's necessary to write '\x00'==0 to get something
3652 that's true only with -std. */
3653 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3655 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3656 inside strings and character constants. */
3658 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3660 int test (int i, double x);
3661 struct s1 {int (*f) (int a);};
3662 struct s2 {int (*f) (double a);};
3663 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3669 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3674 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3675 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3677 CC="$ac_save_CC $ac_arg"
3678 if ac_fn_c_try_compile "$LINENO"; then :
3679 ac_cv_prog_cc_c89=$ac_arg
3681 rm -f core conftest.err conftest.$ac_objext
3682 test "x$ac_cv_prog_cc_c89" != "xno" && break
3684 rm -f conftest.$ac_ext
3689 case "x$ac_cv_prog_cc_c89" in
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3692 $as_echo "none needed" >&6; } ;;
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3695 $as_echo "unsupported" >&6; } ;;
3697 CC="$CC $ac_cv_prog_cc_c89"
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3699 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3701 if test "x$ac_cv_prog_cc_c89" != xno; then :
3706 ac_cpp='$CPP $CPPFLAGS'
3707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3712 ac_cpp='$CPP $CPPFLAGS'
3713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3717 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3718 if ${am_cv_prog_cc_c_o+:} false; then :
3719 $as_echo_n "(cached) " >&6
3721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3722 /* end confdefs.h. */
3732 # Make sure it works both with $CC and with simple cc.
3733 # Following AC_PROG_CC_C_O, we do the test twice because some
3734 # compilers refuse to overwrite an existing .o file with -o,
3735 # though they will create one.
3736 am_cv_prog_cc_c_o=yes
3738 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3739 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3742 (exit $ac_status); } \
3743 && test -f conftest2.$ac_objext; then
3746 am_cv_prog_cc_c_o=no
3750 rm -f core conftest*
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3754 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3755 if test "$am_cv_prog_cc_c_o" != yes; then
3756 # Losing compiler, so override with the script.
3757 # FIXME: It is wrong to rewrite CC.
3758 # But if we don't then we get into trouble of one sort or another.
3759 # A longer-term fix would be to have automake use am__CC in this case,
3760 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3761 CC="$am_aux_dir/compile $CC"
3764 ac_cpp='$CPP $CPPFLAGS'
3765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3769 DEPDIR="${am__leading_dot}deps"
3771 ac_config_commands="$ac_config_commands depfiles"
3774 am_make=${MAKE-make}
3775 cat > confinc << 'END'
3777 @echo this is the am__doit target
3780 # If we don't find an include directive, just comment out the code.
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3782 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3786 # First try GNU make style include.
3787 echo "include confinc" > confmf
3788 # Ignore all kinds of additional output from 'make'.
3789 case `$am_make -s -f confmf 2> /dev/null` in #(
3790 *the\ am__doit\ target*)
3796 # Now try BSD make style include.
3797 if test "$am__include" = "#"; then
3798 echo '.include "confinc"' > confmf
3799 case `$am_make -s -f confmf 2> /dev/null` in #(
3800 *the\ am__doit\ target*)
3801 am__include=.include
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3810 $as_echo "$_am_result" >&6; }
3811 rm -f confinc confmf
3813 # Check whether --enable-dependency-tracking was given.
3814 if test "${enable_dependency_tracking+set}" = set; then :
3815 enableval=$enable_dependency_tracking;
3818 if test "x$enable_dependency_tracking" != xno; then
3819 am_depcomp="$ac_aux_dir/depcomp"
3823 if test "x$enable_dependency_tracking" != xno; then
3833 depcc="$CC" am_compiler_list=
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3836 $as_echo_n "checking dependency style of $depcc... " >&6; }
3837 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3838 $as_echo_n "(cached) " >&6
3840 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3841 # We make a subdir and do the tests there. Otherwise we can end up
3842 # making bogus files that we don't know about and never remove. For
3843 # instance it was reported that on HP-UX the gcc test will end up
3844 # making a dummy file named 'D' -- because '-MD' means "put the output
3848 # Copy depcomp to subdir because otherwise we won't find it if we're
3849 # using a relative directory.
3850 cp "$am_depcomp" conftest.dir
3852 # We will build objects and dependencies in a subdirectory because
3853 # it helps to detect inapplicable dependency modes. For instance
3854 # both Tru64's cc and ICC support -MD to output dependencies as a
3855 # side effect of compilation, but ICC will put the dependencies in
3856 # the current directory while Tru64 will put them in the object
3860 am_cv_CC_dependencies_compiler_type=none
3861 if test "$am_compiler_list" = ""; then
3862 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3865 case " $depcc " in #(
3866 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3869 for depmode in $am_compiler_list; do
3870 # Setup a source with many dependencies, because some compilers
3871 # like to wrap large dependency lists on column 80 (with \), and
3872 # we should not choose a depcomp mode which is confused by this.
3874 # We need to recreate these files for each test, as the compiler may
3875 # overwrite some of them when testing with obscure command lines.
3876 # This happens at least with the AIX C compiler.
3878 for i in 1 2 3 4 5 6; do
3879 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3880 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3881 # Solaris 10 /bin/sh.
3882 echo '/* dummy */' > sub/conftst$i.h
3884 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3886 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3887 # mode. It turns out that the SunPro C++ compiler does not properly
3888 # handle '-M -o', and we need to detect this. Also, some Intel
3889 # versions had trouble with output in subdirs.
3890 am__obj=sub/conftest.${OBJEXT-o}
3891 am__minus_obj="-o $am__obj"
3894 # This depmode causes a compiler race in universal mode.
3895 test "$am__universal" = false || continue
3898 # After this tag, mechanisms are not by side-effect, so they'll
3899 # only be used when explicitly requested.
3900 if test "x$enable_dependency_tracking" = xyes; then
3906 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3907 # This compiler won't grok '-c -o', but also, the minuso test has
3908 # not run yet. These depmodes are late enough in the game, and
3909 # so weak that their functioning should not be impacted.
3910 am__obj=conftest.${OBJEXT-o}
3915 if depmode=$depmode \
3916 source=sub/conftest.c object=$am__obj \
3917 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3918 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3919 >/dev/null 2>conftest.err &&
3920 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3921 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3922 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3923 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3924 # icc doesn't choke on unknown options, it will just issue warnings
3925 # or remarks (even with -Werror). So we grep stderr for any message
3926 # that says an option was ignored or not supported.
3927 # When given -MP, icc 7.0 and 7.1 complain thusly:
3928 # icc: Command line warning: ignoring option '-M'; no argument required
3929 # The diagnosis changed in icc 8.0:
3930 # icc: Command line remark: option '-MP' not supported
3931 if (grep 'ignoring option' conftest.err ||
3932 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3933 am_cv_CC_dependencies_compiler_type=$depmode
3942 am_cv_CC_dependencies_compiler_type=none
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3947 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3948 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3951 test "x$enable_dependency_tracking" != xno \
3952 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3954 am__fastdepCC_FALSE='#'
3956 am__fastdepCC_TRUE='#'
3957 am__fastdepCC_FALSE=
3962 ac_cpp='$CPP $CPPFLAGS'
3963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3967 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3968 # On Suns, sometimes $CPP names a directory.
3969 if test -n "$CPP" && test -d "$CPP"; then
3972 if test -z "$CPP"; then
3973 if ${ac_cv_prog_CPP+:} false; then :
3974 $as_echo_n "(cached) " >&6
3976 # Double quotes because CPP needs to be expanded
3977 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3980 for ac_c_preproc_warn_flag in '' yes
3982 # Use a header file that comes with gcc, so configuring glibc
3983 # with a fresh cross-compiler works.
3984 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3985 # <limits.h> exists even on freestanding compilers.
3986 # On the NeXT, cc -E runs the code through the compiler's parser,
3987 # not just through cpp. "Syntax error" is here to catch this case.
3988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3989 /* end confdefs.h. */
3991 # include <limits.h>
3993 # include <assert.h>
3997 if ac_fn_c_try_cpp "$LINENO"; then :
4000 # Broken: fails on valid input.
4003 rm -f conftest.err conftest.i conftest.$ac_ext
4005 # OK, works on sane cases. Now check whether nonexistent headers
4006 # can be detected and how.
4007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4008 /* end confdefs.h. */
4009 #include <ac_nonexistent.h>
4011 if ac_fn_c_try_cpp "$LINENO"; then :
4012 # Broken: success on invalid input.
4015 # Passes both tests.
4019 rm -f conftest.err conftest.i conftest.$ac_ext
4022 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4023 rm -f conftest.i conftest.err conftest.$ac_ext
4024 if $ac_preproc_ok; then :
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4037 $as_echo "$CPP" >&6; }
4039 for ac_c_preproc_warn_flag in '' yes
4041 # Use a header file that comes with gcc, so configuring glibc
4042 # with a fresh cross-compiler works.
4043 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4044 # <limits.h> exists even on freestanding compilers.
4045 # On the NeXT, cc -E runs the code through the compiler's parser,
4046 # not just through cpp. "Syntax error" is here to catch this case.
4047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4048 /* end confdefs.h. */
4050 # include <limits.h>
4052 # include <assert.h>
4056 if ac_fn_c_try_cpp "$LINENO"; then :
4059 # Broken: fails on valid input.
4062 rm -f conftest.err conftest.i conftest.$ac_ext
4064 # OK, works on sane cases. Now check whether nonexistent headers
4065 # can be detected and how.
4066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4067 /* end confdefs.h. */
4068 #include <ac_nonexistent.h>
4070 if ac_fn_c_try_cpp "$LINENO"; then :
4071 # Broken: success on invalid input.
4074 # Passes both tests.
4078 rm -f conftest.err conftest.i conftest.$ac_ext
4081 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4082 rm -f conftest.i conftest.err conftest.$ac_ext
4083 if $ac_preproc_ok; then :
4086 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4087 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4088 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4089 See \`config.log' for more details" "$LINENO" 5; }
4093 ac_cpp='$CPP $CPPFLAGS'
4094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4100 $as_echo_n "checking whether ln -s works... " >&6; }
4102 if test "$LN_S" = "ln -s"; then
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4104 $as_echo "yes" >&6; }
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4107 $as_echo "no, using $LN_S" >&6; }
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4111 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4113 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4114 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4115 $as_echo_n "(cached) " >&6
4117 cat >conftest.make <<\_ACEOF
4120 @echo '@@@%%%=$(MAKE)=@@@%%%'
4122 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4123 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4125 eval ac_cv_prog_make_${ac_make}_set=yes;;
4127 eval ac_cv_prog_make_${ac_make}_set=no;;
4131 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4133 $as_echo "yes" >&6; }
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4137 $as_echo "no" >&6; }
4138 SET_MAKE="MAKE=${MAKE-make}"
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4144 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4149 macro_version='2.4.6'
4150 macro_revision='2.4.6'
4164 ltmain=$ac_aux_dir/ltmain.sh
4166 # Make sure we can run config.sub.
4167 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4168 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4171 $as_echo_n "checking build system type... " >&6; }
4172 if ${ac_cv_build+:} false; then :
4173 $as_echo_n "(cached) " >&6
4175 ac_build_alias=$build_alias
4176 test "x$ac_build_alias" = x &&
4177 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4178 test "x$ac_build_alias" = x &&
4179 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4180 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4181 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4185 $as_echo "$ac_cv_build" >&6; }
4186 case $ac_cv_build in
4188 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4191 ac_save_IFS=$IFS; IFS='-'
4197 # Remember, the first character of IFS is used to create $*,
4198 # except with old shells:
4201 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4205 $as_echo_n "checking host system type... " >&6; }
4206 if ${ac_cv_host+:} false; then :
4207 $as_echo_n "(cached) " >&6
4209 if test "x$host_alias" = x; then
4210 ac_cv_host=$ac_cv_build
4212 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4213 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4218 $as_echo "$ac_cv_host" >&6; }
4221 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4224 ac_save_IFS=$IFS; IFS='-'
4230 # Remember, the first character of IFS is used to create $*,
4231 # except with old shells:
4234 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4237 # Backslashify metacharacters that are still active within
4238 # double-quoted strings.
4239 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4241 # Same as above, but do not quote variable references.
4242 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4244 # Sed substitution to delay expansion of an escaped shell variable in a
4245 # double_quote_subst'ed string.
4246 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4248 # Sed substitution to delay expansion of an escaped single quote.
4249 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4251 # Sed substitution to avoid accidental globbing in evaled expressions
4252 no_glob_subst='s/\*/\\\*/g'
4254 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4255 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4256 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4259 $as_echo_n "checking how to print strings... " >&6; }
4260 # Test print first, because it will be a builtin if present.
4261 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4262 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4264 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4267 # Use this function as a fallback that always works.
4268 func_fallback_echo ()
4270 eval 'cat <<_LTECHO_EOF
4274 ECHO='func_fallback_echo'
4277 # func_echo_all arg...
4278 # Invoke $ECHO with all args, space-separated.
4285 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4286 $as_echo "printf" >&6; } ;;
4287 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4288 $as_echo "print -r" >&6; } ;;
4289 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4290 $as_echo "cat" >&6; } ;;
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4307 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4308 if ${ac_cv_path_SED+:} false; then :
4309 $as_echo_n "(cached) " >&6
4311 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4312 for ac_i in 1 2 3 4 5 6 7; do
4313 ac_script="$ac_script$as_nl$ac_script"
4315 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4316 { ac_script=; unset ac_script;}
4317 if test -z "$SED"; then
4318 ac_path_SED_found=false
4319 # Loop through the user's path and test for each of PROGNAME-LIST
4320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4324 test -z "$as_dir" && as_dir=.
4325 for ac_prog in sed gsed; do
4326 for ac_exec_ext in '' $ac_executable_extensions; do
4327 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4328 as_fn_executable_p "$ac_path_SED" || continue
4329 # Check for GNU ac_path_SED and select it if it is found.
4330 # Check for GNU $ac_path_SED
4331 case `"$ac_path_SED" --version 2>&1` in
4333 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4336 $as_echo_n 0123456789 >"conftest.in"
4339 cat "conftest.in" "conftest.in" >"conftest.tmp"
4340 mv "conftest.tmp" "conftest.in"
4341 cp "conftest.in" "conftest.nl"
4342 $as_echo '' >> "conftest.nl"
4343 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4344 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4345 as_fn_arith $ac_count + 1 && ac_count=$as_val
4346 if test $ac_count -gt ${ac_path_SED_max-0}; then
4347 # Best one so far, save it but keep looking for a better one
4348 ac_cv_path_SED="$ac_path_SED"
4349 ac_path_SED_max=$ac_count
4351 # 10*(2^10) chars as input seems more than enough
4352 test $ac_count -gt 10 && break
4354 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4357 $ac_path_SED_found && break 3
4362 if test -z "$ac_cv_path_SED"; then
4363 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4371 $as_echo "$ac_cv_path_SED" >&6; }
4372 SED="$ac_cv_path_SED"
4375 test -z "$SED" && SED=sed
4376 Xsed="$SED -e 1s/^X//"
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4389 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4390 if ${ac_cv_path_GREP+:} false; then :
4391 $as_echo_n "(cached) " >&6
4393 if test -z "$GREP"; then
4394 ac_path_GREP_found=false
4395 # Loop through the user's path and test for each of PROGNAME-LIST
4396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4397 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4400 test -z "$as_dir" && as_dir=.
4401 for ac_prog in grep ggrep; do
4402 for ac_exec_ext in '' $ac_executable_extensions; do
4403 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4404 as_fn_executable_p "$ac_path_GREP" || continue
4405 # Check for GNU ac_path_GREP and select it if it is found.
4406 # Check for GNU $ac_path_GREP
4407 case `"$ac_path_GREP" --version 2>&1` in
4409 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4412 $as_echo_n 0123456789 >"conftest.in"
4415 cat "conftest.in" "conftest.in" >"conftest.tmp"
4416 mv "conftest.tmp" "conftest.in"
4417 cp "conftest.in" "conftest.nl"
4418 $as_echo 'GREP' >> "conftest.nl"
4419 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4420 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4421 as_fn_arith $ac_count + 1 && ac_count=$as_val
4422 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4423 # Best one so far, save it but keep looking for a better one
4424 ac_cv_path_GREP="$ac_path_GREP"
4425 ac_path_GREP_max=$ac_count
4427 # 10*(2^10) chars as input seems more than enough
4428 test $ac_count -gt 10 && break
4430 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4433 $ac_path_GREP_found && break 3
4438 if test -z "$ac_cv_path_GREP"; then
4439 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4442 ac_cv_path_GREP=$GREP
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4447 $as_echo "$ac_cv_path_GREP" >&6; }
4448 GREP="$ac_cv_path_GREP"
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4452 $as_echo_n "checking for egrep... " >&6; }
4453 if ${ac_cv_path_EGREP+:} false; then :
4454 $as_echo_n "(cached) " >&6
4456 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4457 then ac_cv_path_EGREP="$GREP -E"
4459 if test -z "$EGREP"; then
4460 ac_path_EGREP_found=false
4461 # Loop through the user's path and test for each of PROGNAME-LIST
4462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4463 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4466 test -z "$as_dir" && as_dir=.
4467 for ac_prog in egrep; do
4468 for ac_exec_ext in '' $ac_executable_extensions; do
4469 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4470 as_fn_executable_p "$ac_path_EGREP" || continue
4471 # Check for GNU ac_path_EGREP and select it if it is found.
4472 # Check for GNU $ac_path_EGREP
4473 case `"$ac_path_EGREP" --version 2>&1` in
4475 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4478 $as_echo_n 0123456789 >"conftest.in"
4481 cat "conftest.in" "conftest.in" >"conftest.tmp"
4482 mv "conftest.tmp" "conftest.in"
4483 cp "conftest.in" "conftest.nl"
4484 $as_echo 'EGREP' >> "conftest.nl"
4485 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4486 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4487 as_fn_arith $ac_count + 1 && ac_count=$as_val
4488 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4489 # Best one so far, save it but keep looking for a better one
4490 ac_cv_path_EGREP="$ac_path_EGREP"
4491 ac_path_EGREP_max=$ac_count
4493 # 10*(2^10) chars as input seems more than enough
4494 test $ac_count -gt 10 && break
4496 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4499 $ac_path_EGREP_found && break 3
4504 if test -z "$ac_cv_path_EGREP"; then
4505 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4508 ac_cv_path_EGREP=$EGREP
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4514 $as_echo "$ac_cv_path_EGREP" >&6; }
4515 EGREP="$ac_cv_path_EGREP"
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4519 $as_echo_n "checking for fgrep... " >&6; }
4520 if ${ac_cv_path_FGREP+:} false; then :
4521 $as_echo_n "(cached) " >&6
4523 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4524 then ac_cv_path_FGREP="$GREP -F"
4526 if test -z "$FGREP"; then
4527 ac_path_FGREP_found=false
4528 # Loop through the user's path and test for each of PROGNAME-LIST
4529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4530 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4533 test -z "$as_dir" && as_dir=.
4534 for ac_prog in fgrep; do
4535 for ac_exec_ext in '' $ac_executable_extensions; do
4536 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4537 as_fn_executable_p "$ac_path_FGREP" || continue
4538 # Check for GNU ac_path_FGREP and select it if it is found.
4539 # Check for GNU $ac_path_FGREP
4540 case `"$ac_path_FGREP" --version 2>&1` in
4542 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4545 $as_echo_n 0123456789 >"conftest.in"
4548 cat "conftest.in" "conftest.in" >"conftest.tmp"
4549 mv "conftest.tmp" "conftest.in"
4550 cp "conftest.in" "conftest.nl"
4551 $as_echo 'FGREP' >> "conftest.nl"
4552 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4553 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4554 as_fn_arith $ac_count + 1 && ac_count=$as_val
4555 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4556 # Best one so far, save it but keep looking for a better one
4557 ac_cv_path_FGREP="$ac_path_FGREP"
4558 ac_path_FGREP_max=$ac_count
4560 # 10*(2^10) chars as input seems more than enough
4561 test $ac_count -gt 10 && break
4563 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4566 $ac_path_FGREP_found && break 3
4571 if test -z "$ac_cv_path_FGREP"; then
4572 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4575 ac_cv_path_FGREP=$FGREP
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4581 $as_echo "$ac_cv_path_FGREP" >&6; }
4582 FGREP="$ac_cv_path_FGREP"
4585 test -z "$GREP" && GREP=grep
4605 # Check whether --with-gnu-ld was given.
4606 if test "${with_gnu_ld+set}" = set; then :
4607 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4613 if test yes = "$GCC"; then
4614 # Check if gcc -print-prog-name=ld gives a path.
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4616 $as_echo_n "checking for ld used by $CC... " >&6; }
4619 # gcc leaves a trailing carriage return, which upsets mingw
4620 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4622 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4625 # Accept absolute paths.
4627 re_direlt='/[^/][^/]*/\.\./'
4628 # Canonicalize the pathname of ld
4629 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4630 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4631 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4633 test -z "$LD" && LD=$ac_prog
4636 # If it fails, then pretend we aren't using GCC.
4640 # If it is relative, then search for the first ld in PATH.
4644 elif test yes = "$with_gnu_ld"; then
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4646 $as_echo_n "checking for GNU ld... " >&6; }
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4649 $as_echo_n "checking for non-GNU ld... " >&6; }
4651 if ${lt_cv_path_LD+:} false; then :
4652 $as_echo_n "(cached) " >&6
4654 if test -z "$LD"; then
4655 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4656 for ac_dir in $PATH; do
4658 test -z "$ac_dir" && ac_dir=.
4659 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4660 lt_cv_path_LD=$ac_dir/$ac_prog
4661 # Check to see if the program is GNU ld. I'd rather use --version,
4662 # but apparently some variants of GNU ld only accept -v.
4663 # Break only if it was the GNU/non-GNU ld that we prefer.
4664 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4665 *GNU* | *'with BFD'*)
4666 test no != "$with_gnu_ld" && break
4669 test yes != "$with_gnu_ld" && break
4676 lt_cv_path_LD=$LD # Let the user override the test with a path.
4681 if test -n "$LD"; then
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4683 $as_echo "$LD" >&6; }
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4686 $as_echo "no" >&6; }
4688 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4690 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4691 if ${lt_cv_prog_gnu_ld+:} false; then :
4692 $as_echo_n "(cached) " >&6
4694 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4695 case `$LD -v 2>&1 </dev/null` in
4696 *GNU* | *'with BFD'*)
4697 lt_cv_prog_gnu_ld=yes
4700 lt_cv_prog_gnu_ld=no
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4705 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4706 with_gnu_ld=$lt_cv_prog_gnu_ld
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4717 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4718 if ${lt_cv_path_NM+:} false; then :
4719 $as_echo_n "(cached) " >&6
4721 if test -n "$NM"; then
4722 # Let the user override the test.
4725 lt_nm_to_check=${ac_tool_prefix}nm
4726 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4727 lt_nm_to_check="$lt_nm_to_check nm"
4729 for lt_tmp_nm in $lt_nm_to_check; do
4730 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4731 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4733 test -z "$ac_dir" && ac_dir=.
4734 tmp_nm=$ac_dir/$lt_tmp_nm
4735 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4736 # Check to see if the nm accepts a BSD-compat flag.
4737 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4738 # nm: unknown option "B" ignored
4739 # Tru64's nm complains that /dev/null is an invalid object file
4740 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4742 mingw*) lt_bad_file=conftest.nm/nofile ;;
4743 *) lt_bad_file=/dev/null ;;
4745 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4746 *$lt_bad_file* | *'Invalid file or object type'*)
4747 lt_cv_path_NM="$tmp_nm -B"
4751 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4753 lt_cv_path_NM="$tmp_nm -p"
4757 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4758 continue # so that we can try to find one that supports BSD flags
4767 : ${lt_cv_path_NM=no}
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4771 $as_echo "$lt_cv_path_NM" >&6; }
4772 if test no != "$lt_cv_path_NM"; then
4775 # Didn't find any BSD compatible name lister, look for dumpbin.
4776 if test -n "$DUMPBIN"; then :
4777 # Let the user override the test.
4779 if test -n "$ac_tool_prefix"; then
4780 for ac_prog in dumpbin "link -dump"
4782 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4783 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4785 $as_echo_n "checking for $ac_word... " >&6; }
4786 if ${ac_cv_prog_DUMPBIN+:} false; then :
4787 $as_echo_n "(cached) " >&6
4789 if test -n "$DUMPBIN"; then
4790 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4796 test -z "$as_dir" && as_dir=.
4797 for ac_exec_ext in '' $ac_executable_extensions; do
4798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4799 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4809 DUMPBIN=$ac_cv_prog_DUMPBIN
4810 if test -n "$DUMPBIN"; then
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4812 $as_echo "$DUMPBIN" >&6; }
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4815 $as_echo "no" >&6; }
4819 test -n "$DUMPBIN" && break
4822 if test -z "$DUMPBIN"; then
4823 ac_ct_DUMPBIN=$DUMPBIN
4824 for ac_prog in dumpbin "link -dump"
4826 # Extract the first word of "$ac_prog", so it can be a program name with args.
4827 set dummy $ac_prog; ac_word=$2
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4829 $as_echo_n "checking for $ac_word... " >&6; }
4830 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4831 $as_echo_n "(cached) " >&6
4833 if test -n "$ac_ct_DUMPBIN"; then
4834 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4840 test -z "$as_dir" && as_dir=.
4841 for ac_exec_ext in '' $ac_executable_extensions; do
4842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4843 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4853 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4854 if test -n "$ac_ct_DUMPBIN"; then
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4856 $as_echo "$ac_ct_DUMPBIN" >&6; }
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4859 $as_echo "no" >&6; }
4863 test -n "$ac_ct_DUMPBIN" && break
4866 if test "x$ac_ct_DUMPBIN" = x; then
4869 case $cross_compiling:$ac_tool_warned in
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4872 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4873 ac_tool_warned=yes ;;
4875 DUMPBIN=$ac_ct_DUMPBIN
4879 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4881 DUMPBIN="$DUMPBIN -symbols -headers"
4889 if test : != "$DUMPBIN"; then
4893 test -z "$NM" && NM=nm
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4901 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4902 if ${lt_cv_nm_interface+:} false; then :
4903 $as_echo_n "(cached) " >&6
4905 lt_cv_nm_interface="BSD nm"
4906 echo "int some_variable = 0;" > conftest.$ac_ext
4907 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4908 (eval "$ac_compile" 2>conftest.err)
4909 cat conftest.err >&5
4910 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4911 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4912 cat conftest.err >&5
4913 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4914 cat conftest.out >&5
4915 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4916 lt_cv_nm_interface="MS dumpbin"
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4921 $as_echo "$lt_cv_nm_interface" >&6; }
4923 # find the maximum length of command line arguments
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4925 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4926 if ${lt_cv_sys_max_cmd_len+:} false; then :
4927 $as_echo_n "(cached) " >&6
4934 # On DJGPP, this test can blow up pretty badly due to problems in libc
4935 # (any single argument exceeding 2000 bytes causes a buffer overrun
4936 # during glob expansion). Even if it were fixed, the result of this
4937 # check would be larger than it should be.
4938 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4942 # Under GNU Hurd, this test is not required because there is
4943 # no limit to the length of command line arguments.
4944 # Libtool will interpret -1 as no limit whatsoever
4945 lt_cv_sys_max_cmd_len=-1;
4948 cygwin* | mingw* | cegcc*)
4949 # On Win9x/ME, this test blows up -- it succeeds, but takes
4950 # about 5 minutes as the teststring grows exponentially.
4951 # Worse, since 9x/ME are not pre-emptively multitasking,
4952 # you end up with a "frozen" computer, even though with patience
4953 # the test eventually succeeds (with a max line length of 256k).
4954 # Instead, let's just punt: use the minimum linelength reported by
4955 # all of the supported platforms: 8192 (on NT/2K/XP).
4956 lt_cv_sys_max_cmd_len=8192;
4960 # On MiNT this can take a long time and run out of memory.
4961 lt_cv_sys_max_cmd_len=8192;
4965 # On AmigaOS with pdksh, this test takes hours, literally.
4966 # So we just punt and use a minimum line length of 8192.
4967 lt_cv_sys_max_cmd_len=8192;
4970 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4971 # This has been around since 386BSD, at least. Likely further.
4972 if test -x /sbin/sysctl; then
4973 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4974 elif test -x /usr/sbin/sysctl; then
4975 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4977 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4979 # And add a safety zone
4980 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4981 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4985 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4986 lt_cv_sys_max_cmd_len=196608
4990 # The test takes a long time on OS/2.
4991 lt_cv_sys_max_cmd_len=8192
4995 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4996 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4997 # nice to cause kernel panics so lets avoid the loop below.
4998 # First set a reasonable default.
4999 lt_cv_sys_max_cmd_len=16384
5001 if test -x /sbin/sysconfig; then
5002 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5003 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5008 lt_cv_sys_max_cmd_len=102400
5010 sysv5* | sco5v6* | sysv4.2uw2*)
5011 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5012 if test -n "$kargmax"; then
5013 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5015 lt_cv_sys_max_cmd_len=32768
5019 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5020 if test -n "$lt_cv_sys_max_cmd_len" && \
5021 test undefined != "$lt_cv_sys_max_cmd_len"; then
5022 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5023 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5025 # Make teststring a little bigger before we do anything with it.
5026 # a 1K string should be a reasonable start.
5027 for i in 1 2 3 4 5 6 7 8; do
5028 teststring=$teststring$teststring
5030 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5031 # If test is not a shell built-in, we'll probably end up computing a
5032 # maximum length that is only half of the actual maximum length, but
5034 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5035 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5036 test 17 != "$i" # 1/2 MB should be enough
5039 teststring=$teststring$teststring
5041 # Only check the string length outside the loop.
5042 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5044 # Add a significant safety factor because C++ compilers can tack on
5045 # massive amounts of additional arguments before passing them to the
5046 # linker. It appears as though 1/2 is a usable value.
5047 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5054 if test -n "$lt_cv_sys_max_cmd_len"; then
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5056 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5059 $as_echo "none" >&6; }
5061 max_cmd_len=$lt_cv_sys_max_cmd_len
5072 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5082 # test EBCDIC or ASCII
5083 case `echo X|tr X '\101'` in
5084 A) # ASCII based system
5085 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5086 lt_SP2NL='tr \040 \012'
5087 lt_NL2SP='tr \015\012 \040\040'
5089 *) # EBCDIC based system
5090 lt_SP2NL='tr \100 \n'
5091 lt_NL2SP='tr \r\n \100\100'
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5104 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5105 if ${lt_cv_to_host_file_cmd+:} false; then :
5106 $as_echo_n "(cached) " >&6
5111 *-*-mingw* ) # actually msys
5112 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5115 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5117 * ) # otherwise, assume *nix
5118 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5124 *-*-mingw* ) # actually msys
5125 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5128 lt_cv_to_host_file_cmd=func_convert_file_noop
5130 * ) # otherwise, assume *nix
5131 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5135 * ) # unhandled hosts (and "normal" native builds)
5136 lt_cv_to_host_file_cmd=func_convert_file_noop
5142 to_host_file_cmd=$lt_cv_to_host_file_cmd
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5144 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5151 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5152 if ${lt_cv_to_tool_file_cmd+:} false; then :
5153 $as_echo_n "(cached) " >&6
5155 #assume ordinary cross tools, or native build.
5156 lt_cv_to_tool_file_cmd=func_convert_file_noop
5160 *-*-mingw* ) # actually msys
5161 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5169 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5171 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5178 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5179 if ${lt_cv_ld_reload_flag+:} false; then :
5180 $as_echo_n "(cached) " >&6
5182 lt_cv_ld_reload_flag='-r'
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5185 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5186 reload_flag=$lt_cv_ld_reload_flag
5187 case $reload_flag in
5189 *) reload_flag=" $reload_flag" ;;
5191 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5193 cygwin* | mingw* | pw32* | cegcc*)
5194 if test yes != "$GCC"; then
5199 if test yes = "$GCC"; then
5200 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5202 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5215 if test -n "$ac_tool_prefix"; then
5216 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5217 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5219 $as_echo_n "checking for $ac_word... " >&6; }
5220 if ${ac_cv_prog_OBJDUMP+:} false; then :
5221 $as_echo_n "(cached) " >&6
5223 if test -n "$OBJDUMP"; then
5224 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5230 test -z "$as_dir" && as_dir=.
5231 for ac_exec_ext in '' $ac_executable_extensions; do
5232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5233 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5243 OBJDUMP=$ac_cv_prog_OBJDUMP
5244 if test -n "$OBJDUMP"; then
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5246 $as_echo "$OBJDUMP" >&6; }
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5249 $as_echo "no" >&6; }
5254 if test -z "$ac_cv_prog_OBJDUMP"; then
5255 ac_ct_OBJDUMP=$OBJDUMP
5256 # Extract the first word of "objdump", so it can be a program name with args.
5257 set dummy objdump; ac_word=$2
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5259 $as_echo_n "checking for $ac_word... " >&6; }
5260 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5261 $as_echo_n "(cached) " >&6
5263 if test -n "$ac_ct_OBJDUMP"; then
5264 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5270 test -z "$as_dir" && as_dir=.
5271 for ac_exec_ext in '' $ac_executable_extensions; do
5272 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5273 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5283 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5284 if test -n "$ac_ct_OBJDUMP"; then
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5286 $as_echo "$ac_ct_OBJDUMP" >&6; }
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5289 $as_echo "no" >&6; }
5292 if test "x$ac_ct_OBJDUMP" = x; then
5295 case $cross_compiling:$ac_tool_warned in
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5299 ac_tool_warned=yes ;;
5301 OBJDUMP=$ac_ct_OBJDUMP
5304 OBJDUMP="$ac_cv_prog_OBJDUMP"
5307 test -z "$OBJDUMP" && OBJDUMP=objdump
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5318 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5319 if ${lt_cv_deplibs_check_method+:} false; then :
5320 $as_echo_n "(cached) " >&6
5322 lt_cv_file_magic_cmd='$MAGIC_CMD'
5323 lt_cv_file_magic_test_file=
5324 lt_cv_deplibs_check_method='unknown'
5325 # Need to set the preceding variable on all platforms that support
5326 # interlibrary dependencies.
5327 # 'none' -- dependencies not supported.
5328 # 'unknown' -- same as none, but documents that we really don't know.
5329 # 'pass_all' -- all dependencies passed with no checks.
5330 # 'test_compile' -- check by making test program.
5331 # 'file_magic [[regex]]' -- check by looking for files in library path
5332 # that responds to the $file_magic_cmd with a given extended regex.
5333 # If you have 'file' or equivalent on your system and you're not sure
5334 # whether 'pass_all' will *always* work, you probably want this one.
5338 lt_cv_deplibs_check_method=pass_all
5342 lt_cv_deplibs_check_method=pass_all
5346 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5347 lt_cv_file_magic_cmd='/usr/bin/file -L'
5348 lt_cv_file_magic_test_file=/shlib/libc.so
5352 # func_win32_libid is a shell function defined in ltmain.sh
5353 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5354 lt_cv_file_magic_cmd='func_win32_libid'
5358 # Base MSYS/MinGW do not provide the 'file' command needed by
5359 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5360 # unless we find 'file', for example because we are cross-compiling.
5361 if ( file / ) >/dev/null 2>&1; then
5362 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5363 lt_cv_file_magic_cmd='func_win32_libid'
5365 # Keep this pattern in sync with the one in func_win32_libid.
5366 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5367 lt_cv_file_magic_cmd='$OBJDUMP -f'
5372 # use the weaker test based on 'objdump'. See mingw*.
5373 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5374 lt_cv_file_magic_cmd='$OBJDUMP -f'
5377 darwin* | rhapsody*)
5378 lt_cv_deplibs_check_method=pass_all
5381 freebsd* | dragonfly*)
5382 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5385 # Not sure whether the presence of OpenBSD here was a mistake.
5386 # Let's accept both of them until this is cleared up.
5387 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5388 lt_cv_file_magic_cmd=/usr/bin/file
5389 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5393 lt_cv_deplibs_check_method=pass_all
5398 lt_cv_deplibs_check_method=pass_all
5401 hpux10.20* | hpux11*)
5402 lt_cv_file_magic_cmd=/usr/bin/file
5405 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5406 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5409 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]'
5410 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5413 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5414 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5420 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5421 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5424 irix5* | irix6* | nonstopux*)
5426 *-32|*"-32 ") libmagic=32-bit;;
5427 *-n32|*"-n32 ") libmagic=N32;;
5428 *-64|*"-64 ") libmagic=64-bit;;
5429 *) libmagic=never-match;;
5431 lt_cv_deplibs_check_method=pass_all
5434 # This must be glibc/ELF.
5435 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5436 lt_cv_deplibs_check_method=pass_all
5439 netbsd* | netbsdelf*-gnu)
5440 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5441 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5443 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5448 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5449 lt_cv_file_magic_cmd=/usr/bin/file
5450 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5454 lt_cv_deplibs_check_method=pass_all
5458 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5459 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5461 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5465 osf3* | osf4* | osf5*)
5466 lt_cv_deplibs_check_method=pass_all
5470 lt_cv_deplibs_check_method=pass_all
5474 lt_cv_deplibs_check_method=pass_all
5477 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5478 lt_cv_deplibs_check_method=pass_all
5482 case $host_vendor in
5484 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]'
5485 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5488 lt_cv_deplibs_check_method=pass_all
5491 lt_cv_file_magic_cmd='/bin/file'
5492 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5495 lt_cv_file_magic_cmd='/bin/file'
5496 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5497 lt_cv_file_magic_test_file=/lib/libc.so
5500 lt_cv_deplibs_check_method=pass_all
5503 lt_cv_deplibs_check_method=pass_all
5509 lt_cv_deplibs_check_method=pass_all
5512 lt_cv_deplibs_check_method=pass_all
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5518 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5522 if test "$build" = "$host"; then
5525 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5528 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5534 file_magic_cmd=$lt_cv_file_magic_cmd
5535 deplibs_check_method=$lt_cv_deplibs_check_method
5536 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5559 if test -n "$ac_tool_prefix"; then
5560 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5561 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5563 $as_echo_n "checking for $ac_word... " >&6; }
5564 if ${ac_cv_prog_DLLTOOL+:} false; then :
5565 $as_echo_n "(cached) " >&6
5567 if test -n "$DLLTOOL"; then
5568 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5574 test -z "$as_dir" && as_dir=.
5575 for ac_exec_ext in '' $ac_executable_extensions; do
5576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5577 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5587 DLLTOOL=$ac_cv_prog_DLLTOOL
5588 if test -n "$DLLTOOL"; then
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5590 $as_echo "$DLLTOOL" >&6; }
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5593 $as_echo "no" >&6; }
5598 if test -z "$ac_cv_prog_DLLTOOL"; then
5599 ac_ct_DLLTOOL=$DLLTOOL
5600 # Extract the first word of "dlltool", so it can be a program name with args.
5601 set dummy dlltool; ac_word=$2
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5603 $as_echo_n "checking for $ac_word... " >&6; }
5604 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5605 $as_echo_n "(cached) " >&6
5607 if test -n "$ac_ct_DLLTOOL"; then
5608 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5614 test -z "$as_dir" && as_dir=.
5615 for ac_exec_ext in '' $ac_executable_extensions; do
5616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5617 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5627 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5628 if test -n "$ac_ct_DLLTOOL"; then
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5630 $as_echo "$ac_ct_DLLTOOL" >&6; }
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5633 $as_echo "no" >&6; }
5636 if test "x$ac_ct_DLLTOOL" = x; then
5639 case $cross_compiling:$ac_tool_warned in
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5643 ac_tool_warned=yes ;;
5645 DLLTOOL=$ac_ct_DLLTOOL
5648 DLLTOOL="$ac_cv_prog_DLLTOOL"
5651 test -z "$DLLTOOL" && DLLTOOL=dlltool
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5663 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5664 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5665 $as_echo_n "(cached) " >&6
5667 lt_cv_sharedlib_from_linklib_cmd='unknown'
5670 cygwin* | mingw* | pw32* | cegcc*)
5671 # two different shell functions defined in ltmain.sh;
5672 # decide which one to use based on capabilities of $DLLTOOL
5673 case `$DLLTOOL --help 2>&1` in
5674 *--identify-strict*)
5675 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5678 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5683 # fallback: assume linklib IS sharedlib
5684 lt_cv_sharedlib_from_linklib_cmd=$ECHO
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5690 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5691 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5692 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5701 if test -n "$ac_tool_prefix"; then
5704 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5705 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5707 $as_echo_n "checking for $ac_word... " >&6; }
5708 if ${ac_cv_prog_AR+:} false; then :
5709 $as_echo_n "(cached) " >&6
5711 if test -n "$AR"; then
5712 ac_cv_prog_AR="$AR" # Let the user override the test.
5714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5718 test -z "$as_dir" && as_dir=.
5719 for ac_exec_ext in '' $ac_executable_extensions; do
5720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5721 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5732 if test -n "$AR"; then
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5734 $as_echo "$AR" >&6; }
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5737 $as_echo "no" >&6; }
5741 test -n "$AR" && break
5744 if test -z "$AR"; then
5748 # Extract the first word of "$ac_prog", so it can be a program name with args.
5749 set dummy $ac_prog; ac_word=$2
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5751 $as_echo_n "checking for $ac_word... " >&6; }
5752 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5753 $as_echo_n "(cached) " >&6
5755 if test -n "$ac_ct_AR"; then
5756 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5762 test -z "$as_dir" && as_dir=.
5763 for ac_exec_ext in '' $ac_executable_extensions; do
5764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5765 ac_cv_prog_ac_ct_AR="$ac_prog"
5766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5775 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5776 if test -n "$ac_ct_AR"; then
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5778 $as_echo "$ac_ct_AR" >&6; }
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5781 $as_echo "no" >&6; }
5785 test -n "$ac_ct_AR" && break
5788 if test "x$ac_ct_AR" = x; then
5791 case $cross_compiling:$ac_tool_warned in
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5794 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5795 ac_tool_warned=yes ;;
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5815 $as_echo_n "checking for archiver @FILE support... " >&6; }
5816 if ${lt_cv_ar_at_file+:} false; then :
5817 $as_echo_n "(cached) " >&6
5820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5821 /* end confdefs.h. */
5831 if ac_fn_c_try_compile "$LINENO"; then :
5832 echo conftest.$ac_objext > conftest.lst
5833 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5834 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5835 (eval $lt_ar_try) 2>&5
5837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5838 test $ac_status = 0; }
5839 if test 0 -eq "$ac_status"; then
5840 # Ensure the archiver fails upon bogus file names.
5841 rm -f conftest.$ac_objext libconftest.a
5842 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5843 (eval $lt_ar_try) 2>&5
5845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5846 test $ac_status = 0; }
5847 if test 0 -ne "$ac_status"; then
5851 rm -f conftest.* libconftest.a
5854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5858 $as_echo "$lt_cv_ar_at_file" >&6; }
5860 if test no = "$lt_cv_ar_at_file"; then
5863 archiver_list_spec=$lt_cv_ar_at_file
5872 if test -n "$ac_tool_prefix"; then
5873 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5874 set dummy ${ac_tool_prefix}strip; ac_word=$2
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5876 $as_echo_n "checking for $ac_word... " >&6; }
5877 if ${ac_cv_prog_STRIP+:} false; then :
5878 $as_echo_n "(cached) " >&6
5880 if test -n "$STRIP"; then
5881 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5887 test -z "$as_dir" && as_dir=.
5888 for ac_exec_ext in '' $ac_executable_extensions; do
5889 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5890 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5900 STRIP=$ac_cv_prog_STRIP
5901 if test -n "$STRIP"; then
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5903 $as_echo "$STRIP" >&6; }
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5906 $as_echo "no" >&6; }
5911 if test -z "$ac_cv_prog_STRIP"; then
5913 # Extract the first word of "strip", so it can be a program name with args.
5914 set dummy strip; ac_word=$2
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5916 $as_echo_n "checking for $ac_word... " >&6; }
5917 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5918 $as_echo_n "(cached) " >&6
5920 if test -n "$ac_ct_STRIP"; then
5921 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5927 test -z "$as_dir" && as_dir=.
5928 for ac_exec_ext in '' $ac_executable_extensions; do
5929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5930 ac_cv_prog_ac_ct_STRIP="strip"
5931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5940 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5941 if test -n "$ac_ct_STRIP"; then
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5943 $as_echo "$ac_ct_STRIP" >&6; }
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5946 $as_echo "no" >&6; }
5949 if test "x$ac_ct_STRIP" = x; then
5952 case $cross_compiling:$ac_tool_warned in
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5955 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5956 ac_tool_warned=yes ;;
5961 STRIP="$ac_cv_prog_STRIP"
5964 test -z "$STRIP" && STRIP=:
5971 if test -n "$ac_tool_prefix"; then
5972 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5973 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5975 $as_echo_n "checking for $ac_word... " >&6; }
5976 if ${ac_cv_prog_RANLIB+:} false; then :
5977 $as_echo_n "(cached) " >&6
5979 if test -n "$RANLIB"; then
5980 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5986 test -z "$as_dir" && as_dir=.
5987 for ac_exec_ext in '' $ac_executable_extensions; do
5988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5989 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5999 RANLIB=$ac_cv_prog_RANLIB
6000 if test -n "$RANLIB"; then
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6002 $as_echo "$RANLIB" >&6; }
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6005 $as_echo "no" >&6; }
6010 if test -z "$ac_cv_prog_RANLIB"; then
6011 ac_ct_RANLIB=$RANLIB
6012 # Extract the first word of "ranlib", so it can be a program name with args.
6013 set dummy ranlib; ac_word=$2
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6015 $as_echo_n "checking for $ac_word... " >&6; }
6016 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6017 $as_echo_n "(cached) " >&6
6019 if test -n "$ac_ct_RANLIB"; then
6020 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6026 test -z "$as_dir" && as_dir=.
6027 for ac_exec_ext in '' $ac_executable_extensions; do
6028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6029 ac_cv_prog_ac_ct_RANLIB="ranlib"
6030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6039 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6040 if test -n "$ac_ct_RANLIB"; then
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6042 $as_echo "$ac_ct_RANLIB" >&6; }
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6045 $as_echo "no" >&6; }
6048 if test "x$ac_ct_RANLIB" = x; then
6051 case $cross_compiling:$ac_tool_warned in
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6055 ac_tool_warned=yes ;;
6057 RANLIB=$ac_ct_RANLIB
6060 RANLIB="$ac_cv_prog_RANLIB"
6063 test -z "$RANLIB" && RANLIB=:
6070 # Determine commands to create old-style static archives.
6071 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6072 old_postinstall_cmds='chmod 644 $oldlib'
6073 old_postuninstall_cmds=
6075 if test -n "$RANLIB"; then
6078 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6081 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6084 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6089 lock_old_archive_extraction=yes ;;
6091 lock_old_archive_extraction=no ;;
6132 # If no C compiler was specified, use CC.
6135 # If no C compiler flags were specified, use CFLAGS.
6136 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6138 # Allow CC to be a program name with arguments.
6142 # Check for command to grab the raw symbol name followed by C symbol from nm.
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6144 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6145 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6146 $as_echo_n "(cached) " >&6
6149 # These are sane defaults that work on at least a few old systems.
6150 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6152 # Character class describing NM global symbol codes.
6153 symcode='[BCDEGRST]'
6155 # Regexp to match symbols that can be accessed directly from C.
6156 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6158 # Define system-specific variables.
6163 cygwin* | mingw* | pw32* | cegcc*)
6164 symcode='[ABCDGISTW]'
6167 if test ia64 = "$host_cpu"; then
6168 symcode='[ABCDEGRST]'
6172 symcode='[BCDEGRST]'
6175 symcode='[BCDEGQRST]'
6186 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6194 # If we're using GNU nm, then use its standard symbol codes.
6195 case `$NM -V 2>&1` in
6196 *GNU* | *'with BFD'*)
6197 symcode='[ABCDGIRSTW]' ;;
6200 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6201 # Gets list of data symbols to import.
6202 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6203 # Adjust the below global symbol transforms to fixup imported variables.
6204 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6205 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6206 lt_c_name_lib_hook="\
6207 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6208 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6210 # Disable hooks by default.
6211 lt_cv_sys_global_symbol_to_import=
6217 # Transform an extracted symbol line into a proper C declaration.
6218 # Some systems (esp. on ia64) link data and code symbols differently,
6219 # so use this general approach.
6220 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6222 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6223 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6225 # Transform an extracted symbol line into symbol name and symbol address
6226 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6228 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6229 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6231 # Transform an extracted symbol line into symbol name with lib prefix and
6233 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6234 $lt_c_name_lib_hook\
6235 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6236 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6237 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6239 # Handle CRLF in mingw tool chain
6243 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6247 # Try without a prefix underscore, then with it.
6248 for ac_symprfx in "" "_"; do
6250 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6251 symxfrm="\\1 $ac_symprfx\\2 \\2"
6253 # Write the raw and C identifiers.
6254 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6255 # Fake it for dumpbin and say T for any non-static function,
6256 # D for any global variable and I for any imported variable.
6257 # Also find C++ and __fastcall symbols from MSVC++,
6258 # which start with @ or ?.
6259 lt_cv_sys_global_symbol_pipe="$AWK '"\
6260 " {last_section=section; section=\$ 3};"\
6261 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6262 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6263 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6264 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6265 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6266 " \$ 0!~/External *\|/{next};"\
6267 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6268 " {if(hide[section]) next};"\
6269 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6270 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6271 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6272 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6273 " ' prfx=^$ac_symprfx"
6275 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6277 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6279 # Check to see that the pipe works correctly.
6283 cat > conftest.$ac_ext <<_LT_EOF
6288 void nm_test_func(void);
6289 void nm_test_func(void){}
6293 int main(){nm_test_var='a';nm_test_func();return(0);}
6296 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6297 (eval $ac_compile) 2>&5
6299 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6300 test $ac_status = 0; }; then
6301 # Now try to grab the symbols.
6303 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6304 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6307 test $ac_status = 0; } && test -s "$nlist"; then
6308 # Try sorting and uniquifying the output.
6309 if sort "$nlist" | uniq > "$nlist"T; then
6310 mv -f "$nlist"T "$nlist"
6315 # Make sure that we snagged all the symbols we need.
6316 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6317 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6318 cat <<_LT_EOF > conftest.$ac_ext
6319 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6320 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6321 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6322 relocations are performed -- see ld's documentation on pseudo-relocs. */
6323 # define LT_DLSYM_CONST
6324 #elif defined __osf__
6325 /* This system does not cope well with relocations in const data. */
6326 # define LT_DLSYM_CONST
6328 # define LT_DLSYM_CONST const
6336 # Now generate the symbol file.
6337 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6339 cat <<_LT_EOF >> conftest.$ac_ext
6341 /* The mapping between symbol names and symbols. */
6342 LT_DLSYM_CONST struct {
6346 lt__PROGRAM__LTX_preloaded_symbols[] =
6348 { "@PROGRAM@", (void *) 0 },
6350 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6351 cat <<\_LT_EOF >> conftest.$ac_ext
6355 /* This works around a problem in FreeBSD linker */
6356 #ifdef FREEBSD_WORKAROUND
6357 static const void *lt_preloaded_setup() {
6358 return lt__PROGRAM__LTX_preloaded_symbols;
6366 # Now try linking the two files.
6367 mv conftest.$ac_objext conftstm.$ac_objext
6368 lt_globsym_save_LIBS=$LIBS
6369 lt_globsym_save_CFLAGS=$CFLAGS
6370 LIBS=conftstm.$ac_objext
6371 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6372 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6373 (eval $ac_link) 2>&5
6375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6376 test $ac_status = 0; } && test -s conftest$ac_exeext; then
6379 LIBS=$lt_globsym_save_LIBS
6380 CFLAGS=$lt_globsym_save_CFLAGS
6382 echo "cannot find nm_test_func in $nlist" >&5
6385 echo "cannot find nm_test_var in $nlist" >&5
6388 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6391 echo "$progname: failed program was:" >&5
6392 cat conftest.$ac_ext >&5
6394 rm -rf conftest* conftst*
6396 # Do not use the global_symbol_pipe unless it works.
6397 if test yes = "$pipe_works"; then
6400 lt_cv_sys_global_symbol_pipe=
6406 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6407 lt_cv_sys_global_symbol_to_cdecl=
6409 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6411 $as_echo "failed" >&6; }
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6414 $as_echo "ok" >&6; }
6417 # Response file support.
6418 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6419 nm_file_list_spec='@'
6420 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6421 nm_file_list_spec='@'
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6461 $as_echo_n "checking for sysroot... " >&6; }
6463 # Check whether --with-sysroot was given.
6464 if test "${with_sysroot+set}" = set; then :
6465 withval=$with_sysroot;
6472 case $with_sysroot in #(
6474 if test yes = "$GCC"; then
6475 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6479 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6485 $as_echo "$with_sysroot" >&6; }
6486 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6491 $as_echo "${lt_sysroot:-no}" >&6; }
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6498 $as_echo_n "checking for a working dd... " >&6; }
6499 if ${ac_cv_path_lt_DD+:} false; then :
6500 $as_echo_n "(cached) " >&6
6502 printf 0123456789abcdef0123456789abcdef >conftest.i
6503 cat conftest.i conftest.i >conftest2.i
6505 if test -z "$lt_DD"; then
6506 ac_path_lt_DD_found=false
6507 # Loop through the user's path and test for each of PROGNAME-LIST
6508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6512 test -z "$as_dir" && as_dir=.
6513 for ac_prog in dd; do
6514 for ac_exec_ext in '' $ac_executable_extensions; do
6515 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6516 as_fn_executable_p "$ac_path_lt_DD" || continue
6517 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6518 cmp -s conftest.i conftest.out \
6519 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6521 $ac_path_lt_DD_found && break 3
6526 if test -z "$ac_cv_path_lt_DD"; then
6530 ac_cv_path_lt_DD=$lt_DD
6533 rm -f conftest.i conftest2.i conftest.out
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6536 $as_echo "$ac_cv_path_lt_DD" >&6; }
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6540 $as_echo_n "checking how to truncate binary pipes... " >&6; }
6541 if ${lt_cv_truncate_bin+:} false; then :
6542 $as_echo_n "(cached) " >&6
6544 printf 0123456789abcdef0123456789abcdef >conftest.i
6545 cat conftest.i conftest.i >conftest2.i
6547 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6548 cmp -s conftest.i conftest.out \
6549 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6551 rm -f conftest.i conftest2.i conftest.out
6552 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6555 $as_echo "$lt_cv_truncate_bin" >&6; }
6563 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
6566 for cc_temp in $*""; do
6568 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6569 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6574 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6577 # Check whether --enable-libtool-lock was given.
6578 if test "${enable_libtool_lock+set}" = set; then :
6579 enableval=$enable_libtool_lock;
6582 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6584 # Some flags need to be propagated to the compiler or linker for good
6588 # Find out what ABI is being produced by ac_compile, and set mode
6589 # options accordingly.
6590 echo 'int i;' > conftest.$ac_ext
6591 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6592 (eval $ac_compile) 2>&5
6594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6595 test $ac_status = 0; }; then
6596 case `/usr/bin/file conftest.$ac_objext` in
6608 # Find out what ABI is being produced by ac_compile, and set linker
6609 # options accordingly.
6610 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6611 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6612 (eval $ac_compile) 2>&5
6614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6615 test $ac_status = 0; }; then
6616 if test yes = "$lt_cv_prog_gnu_ld"; then
6617 case `/usr/bin/file conftest.$ac_objext` in
6619 LD="${LD-ld} -melf32bsmip"
6622 LD="${LD-ld} -melf32bmipn32"
6625 LD="${LD-ld} -melf64bmip"
6629 case `/usr/bin/file conftest.$ac_objext` in
6646 # Find out what ABI is being produced by ac_compile, and set linker
6647 # options accordingly.
6648 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6649 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6650 (eval $ac_compile) 2>&5
6652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6653 test $ac_status = 0; }; then
6655 case `/usr/bin/file conftest.$ac_objext` in
6663 case `/usr/bin/file conftest.$ac_objext` in
6665 emul="${emul}btsmip"
6668 emul="${emul}ltsmip"
6671 case `/usr/bin/file conftest.$ac_objext` in
6676 LD="${LD-ld} -m $emul"
6681 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6682 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6683 # Find out what ABI is being produced by ac_compile, and set linker
6684 # options accordingly. Note that the listed cases only cover the
6685 # situations where additional linker options are needed (such as when
6686 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6687 # vice versa); the common cases where no linker options are needed do
6688 # not appear in the list.
6689 echo 'int i;' > conftest.$ac_ext
6690 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6691 (eval $ac_compile) 2>&5
6693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6694 test $ac_status = 0; }; then
6695 case `/usr/bin/file conftest.o` in
6698 x86_64-*kfreebsd*-gnu)
6699 LD="${LD-ld} -m elf_i386_fbsd"
6702 case `/usr/bin/file conftest.o` in
6704 LD="${LD-ld} -m elf32_x86_64"
6707 LD="${LD-ld} -m elf_i386"
6711 powerpc64le-*linux*)
6712 LD="${LD-ld} -m elf32lppclinux"
6715 LD="${LD-ld} -m elf32ppclinux"
6718 LD="${LD-ld} -m elf_s390"
6721 LD="${LD-ld} -m elf32_sparc"
6727 x86_64-*kfreebsd*-gnu)
6728 LD="${LD-ld} -m elf_x86_64_fbsd"
6731 LD="${LD-ld} -m elf_x86_64"
6734 LD="${LD-ld} -m elf64lppc"
6737 LD="${LD-ld} -m elf64ppc"
6739 s390*-*linux*|s390*-*tpf*)
6740 LD="${LD-ld} -m elf64_s390"
6743 LD="${LD-ld} -m elf64_sparc"
6753 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6755 CFLAGS="$CFLAGS -belf"
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6757 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6758 if ${lt_cv_cc_needs_belf+:} false; then :
6759 $as_echo_n "(cached) " >&6
6762 ac_cpp='$CPP $CPPFLAGS'
6763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6768 /* end confdefs.h. */
6778 if ac_fn_c_try_link "$LINENO"; then :
6779 lt_cv_cc_needs_belf=yes
6781 lt_cv_cc_needs_belf=no
6783 rm -f core conftest.err conftest.$ac_objext \
6784 conftest$ac_exeext conftest.$ac_ext
6786 ac_cpp='$CPP $CPPFLAGS'
6787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6793 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6794 if test yes != "$lt_cv_cc_needs_belf"; then
6795 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6800 # Find out what ABI is being produced by ac_compile, and set linker
6801 # options accordingly.
6802 echo 'int i;' > conftest.$ac_ext
6803 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6804 (eval $ac_compile) 2>&5
6806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6807 test $ac_status = 0; }; then
6808 case `/usr/bin/file conftest.o` in
6810 case $lt_cv_prog_gnu_ld in
6813 i?86-*-solaris*|x86_64-*-solaris*)
6814 LD="${LD-ld} -m elf_x86_64"
6817 LD="${LD-ld} -m elf64_sparc"
6820 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6821 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6826 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6838 need_locks=$enable_libtool_lock
6840 if test -n "$ac_tool_prefix"; then
6841 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6842 set dummy ${ac_tool_prefix}mt; ac_word=$2
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6844 $as_echo_n "checking for $ac_word... " >&6; }
6845 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6846 $as_echo_n "(cached) " >&6
6848 if test -n "$MANIFEST_TOOL"; then
6849 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6855 test -z "$as_dir" && as_dir=.
6856 for ac_exec_ext in '' $ac_executable_extensions; do
6857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6858 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6868 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6869 if test -n "$MANIFEST_TOOL"; then
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6871 $as_echo "$MANIFEST_TOOL" >&6; }
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6874 $as_echo "no" >&6; }
6879 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6880 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6881 # Extract the first word of "mt", so it can be a program name with args.
6882 set dummy mt; ac_word=$2
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6884 $as_echo_n "checking for $ac_word... " >&6; }
6885 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6886 $as_echo_n "(cached) " >&6
6888 if test -n "$ac_ct_MANIFEST_TOOL"; then
6889 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6895 test -z "$as_dir" && as_dir=.
6896 for ac_exec_ext in '' $ac_executable_extensions; do
6897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6898 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6908 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6909 if test -n "$ac_ct_MANIFEST_TOOL"; then
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6911 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6914 $as_echo "no" >&6; }
6917 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6920 case $cross_compiling:$ac_tool_warned in
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6923 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6924 ac_tool_warned=yes ;;
6926 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6929 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6932 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6934 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6935 if ${lt_cv_path_mainfest_tool+:} false; then :
6936 $as_echo_n "(cached) " >&6
6938 lt_cv_path_mainfest_tool=no
6939 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6940 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6941 cat conftest.err >&5
6942 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6943 lt_cv_path_mainfest_tool=yes
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6948 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6949 if test yes != "$lt_cv_path_mainfest_tool"; then
6959 rhapsody* | darwin*)
6960 if test -n "$ac_tool_prefix"; then
6961 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6962 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6964 $as_echo_n "checking for $ac_word... " >&6; }
6965 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6966 $as_echo_n "(cached) " >&6
6968 if test -n "$DSYMUTIL"; then
6969 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6975 test -z "$as_dir" && as_dir=.
6976 for ac_exec_ext in '' $ac_executable_extensions; do
6977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6978 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6988 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6989 if test -n "$DSYMUTIL"; then
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6991 $as_echo "$DSYMUTIL" >&6; }
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6994 $as_echo "no" >&6; }
6999 if test -z "$ac_cv_prog_DSYMUTIL"; then
7000 ac_ct_DSYMUTIL=$DSYMUTIL
7001 # Extract the first word of "dsymutil", so it can be a program name with args.
7002 set dummy dsymutil; ac_word=$2
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7004 $as_echo_n "checking for $ac_word... " >&6; }
7005 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7006 $as_echo_n "(cached) " >&6
7008 if test -n "$ac_ct_DSYMUTIL"; then
7009 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7015 test -z "$as_dir" && as_dir=.
7016 for ac_exec_ext in '' $ac_executable_extensions; do
7017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7018 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7028 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7029 if test -n "$ac_ct_DSYMUTIL"; then
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7031 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7034 $as_echo "no" >&6; }
7037 if test "x$ac_ct_DSYMUTIL" = x; then
7040 case $cross_compiling:$ac_tool_warned in
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7043 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7044 ac_tool_warned=yes ;;
7046 DSYMUTIL=$ac_ct_DSYMUTIL
7049 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7052 if test -n "$ac_tool_prefix"; then
7053 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7054 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7056 $as_echo_n "checking for $ac_word... " >&6; }
7057 if ${ac_cv_prog_NMEDIT+:} false; then :
7058 $as_echo_n "(cached) " >&6
7060 if test -n "$NMEDIT"; then
7061 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7067 test -z "$as_dir" && as_dir=.
7068 for ac_exec_ext in '' $ac_executable_extensions; do
7069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7070 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7080 NMEDIT=$ac_cv_prog_NMEDIT
7081 if test -n "$NMEDIT"; then
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7083 $as_echo "$NMEDIT" >&6; }
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7086 $as_echo "no" >&6; }
7091 if test -z "$ac_cv_prog_NMEDIT"; then
7092 ac_ct_NMEDIT=$NMEDIT
7093 # Extract the first word of "nmedit", so it can be a program name with args.
7094 set dummy nmedit; ac_word=$2
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7096 $as_echo_n "checking for $ac_word... " >&6; }
7097 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7098 $as_echo_n "(cached) " >&6
7100 if test -n "$ac_ct_NMEDIT"; then
7101 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7107 test -z "$as_dir" && as_dir=.
7108 for ac_exec_ext in '' $ac_executable_extensions; do
7109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7110 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7120 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7121 if test -n "$ac_ct_NMEDIT"; then
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7123 $as_echo "$ac_ct_NMEDIT" >&6; }
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7126 $as_echo "no" >&6; }
7129 if test "x$ac_ct_NMEDIT" = x; then
7132 case $cross_compiling:$ac_tool_warned in
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7135 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7136 ac_tool_warned=yes ;;
7138 NMEDIT=$ac_ct_NMEDIT
7141 NMEDIT="$ac_cv_prog_NMEDIT"
7144 if test -n "$ac_tool_prefix"; then
7145 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7146 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7148 $as_echo_n "checking for $ac_word... " >&6; }
7149 if ${ac_cv_prog_LIPO+:} false; then :
7150 $as_echo_n "(cached) " >&6
7152 if test -n "$LIPO"; then
7153 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7159 test -z "$as_dir" && as_dir=.
7160 for ac_exec_ext in '' $ac_executable_extensions; do
7161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7162 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7172 LIPO=$ac_cv_prog_LIPO
7173 if test -n "$LIPO"; then
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7175 $as_echo "$LIPO" >&6; }
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7178 $as_echo "no" >&6; }
7183 if test -z "$ac_cv_prog_LIPO"; then
7185 # Extract the first word of "lipo", so it can be a program name with args.
7186 set dummy lipo; ac_word=$2
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7188 $as_echo_n "checking for $ac_word... " >&6; }
7189 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7190 $as_echo_n "(cached) " >&6
7192 if test -n "$ac_ct_LIPO"; then
7193 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7199 test -z "$as_dir" && as_dir=.
7200 for ac_exec_ext in '' $ac_executable_extensions; do
7201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7202 ac_cv_prog_ac_ct_LIPO="lipo"
7203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7212 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7213 if test -n "$ac_ct_LIPO"; then
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7215 $as_echo "$ac_ct_LIPO" >&6; }
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7218 $as_echo "no" >&6; }
7221 if test "x$ac_ct_LIPO" = x; then
7224 case $cross_compiling:$ac_tool_warned in
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7228 ac_tool_warned=yes ;;
7233 LIPO="$ac_cv_prog_LIPO"
7236 if test -n "$ac_tool_prefix"; then
7237 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7238 set dummy ${ac_tool_prefix}otool; ac_word=$2
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7240 $as_echo_n "checking for $ac_word... " >&6; }
7241 if ${ac_cv_prog_OTOOL+:} false; then :
7242 $as_echo_n "(cached) " >&6
7244 if test -n "$OTOOL"; then
7245 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7251 test -z "$as_dir" && as_dir=.
7252 for ac_exec_ext in '' $ac_executable_extensions; do
7253 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7254 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7264 OTOOL=$ac_cv_prog_OTOOL
7265 if test -n "$OTOOL"; then
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7267 $as_echo "$OTOOL" >&6; }
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7270 $as_echo "no" >&6; }
7275 if test -z "$ac_cv_prog_OTOOL"; then
7277 # Extract the first word of "otool", so it can be a program name with args.
7278 set dummy otool; ac_word=$2
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7280 $as_echo_n "checking for $ac_word... " >&6; }
7281 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7282 $as_echo_n "(cached) " >&6
7284 if test -n "$ac_ct_OTOOL"; then
7285 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7291 test -z "$as_dir" && as_dir=.
7292 for ac_exec_ext in '' $ac_executable_extensions; do
7293 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7294 ac_cv_prog_ac_ct_OTOOL="otool"
7295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7304 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7305 if test -n "$ac_ct_OTOOL"; then
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7307 $as_echo "$ac_ct_OTOOL" >&6; }
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7310 $as_echo "no" >&6; }
7313 if test "x$ac_ct_OTOOL" = x; then
7316 case $cross_compiling:$ac_tool_warned in
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7319 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7320 ac_tool_warned=yes ;;
7325 OTOOL="$ac_cv_prog_OTOOL"
7328 if test -n "$ac_tool_prefix"; then
7329 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7330 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7332 $as_echo_n "checking for $ac_word... " >&6; }
7333 if ${ac_cv_prog_OTOOL64+:} false; then :
7334 $as_echo_n "(cached) " >&6
7336 if test -n "$OTOOL64"; then
7337 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7343 test -z "$as_dir" && as_dir=.
7344 for ac_exec_ext in '' $ac_executable_extensions; do
7345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7346 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7356 OTOOL64=$ac_cv_prog_OTOOL64
7357 if test -n "$OTOOL64"; then
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7359 $as_echo "$OTOOL64" >&6; }
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7362 $as_echo "no" >&6; }
7367 if test -z "$ac_cv_prog_OTOOL64"; then
7368 ac_ct_OTOOL64=$OTOOL64
7369 # Extract the first word of "otool64", so it can be a program name with args.
7370 set dummy otool64; ac_word=$2
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7372 $as_echo_n "checking for $ac_word... " >&6; }
7373 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7374 $as_echo_n "(cached) " >&6
7376 if test -n "$ac_ct_OTOOL64"; then
7377 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7383 test -z "$as_dir" && as_dir=.
7384 for ac_exec_ext in '' $ac_executable_extensions; do
7385 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7386 ac_cv_prog_ac_ct_OTOOL64="otool64"
7387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7396 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7397 if test -n "$ac_ct_OTOOL64"; then
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7399 $as_echo "$ac_ct_OTOOL64" >&6; }
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7402 $as_echo "no" >&6; }
7405 if test "x$ac_ct_OTOOL64" = x; then
7408 case $cross_compiling:$ac_tool_warned in
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7411 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7412 ac_tool_warned=yes ;;
7414 OTOOL64=$ac_ct_OTOOL64
7417 OTOOL64="$ac_cv_prog_OTOOL64"
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7447 $as_echo_n "checking for -single_module linker flag... " >&6; }
7448 if ${lt_cv_apple_cc_single_mod+:} false; then :
7449 $as_echo_n "(cached) " >&6
7451 lt_cv_apple_cc_single_mod=no
7452 if test -z "$LT_MULTI_MODULE"; then
7453 # By default we will add the -single_module flag. You can override
7454 # by either setting the environment variable LT_MULTI_MODULE
7455 # non-empty at configure time, or by adding -multi_module to the
7457 rm -rf libconftest.dylib*
7458 echo "int foo(void){return 1;}" > conftest.c
7459 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7460 -dynamiclib -Wl,-single_module conftest.c" >&5
7461 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7462 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7464 # If there is a non-empty error log, and "single_module"
7465 # appears in it, assume the flag caused a linker warning
7466 if test -s conftest.err && $GREP single_module conftest.err; then
7467 cat conftest.err >&5
7468 # Otherwise, if the output was created with a 0 exit code from
7469 # the compiler, it worked.
7470 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7471 lt_cv_apple_cc_single_mod=yes
7473 cat conftest.err >&5
7475 rm -rf libconftest.dylib*
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7480 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7483 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7484 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7485 $as_echo_n "(cached) " >&6
7487 lt_cv_ld_exported_symbols_list=no
7488 save_LDFLAGS=$LDFLAGS
7489 echo "_main" > conftest.sym
7490 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7492 /* end confdefs.h. */
7502 if ac_fn_c_try_link "$LINENO"; then :
7503 lt_cv_ld_exported_symbols_list=yes
7505 lt_cv_ld_exported_symbols_list=no
7507 rm -f core conftest.err conftest.$ac_objext \
7508 conftest$ac_exeext conftest.$ac_ext
7509 LDFLAGS=$save_LDFLAGS
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7513 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7516 $as_echo_n "checking for -force_load linker flag... " >&6; }
7517 if ${lt_cv_ld_force_load+:} false; then :
7518 $as_echo_n "(cached) " >&6
7520 lt_cv_ld_force_load=no
7521 cat > conftest.c << _LT_EOF
7522 int forced_loaded() { return 2;}
7524 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7525 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7526 echo "$AR cru libconftest.a conftest.o" >&5
7527 $AR cru libconftest.a conftest.o 2>&5
7528 echo "$RANLIB libconftest.a" >&5
7529 $RANLIB libconftest.a 2>&5
7530 cat > conftest.c << _LT_EOF
7531 int main() { return 0;}
7533 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7534 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7536 if test -s conftest.err && $GREP force_load conftest.err; then
7537 cat conftest.err >&5
7538 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7539 lt_cv_ld_force_load=yes
7541 cat conftest.err >&5
7543 rm -f conftest.err libconftest.a conftest conftest.c
7544 rm -rf conftest.dSYM
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7548 $as_echo "$lt_cv_ld_force_load" >&6; }
7550 rhapsody* | darwin1.[012])
7551 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7553 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7554 darwin*) # darwin 5.x on
7555 # if running on 10.5 or later, the deployment target defaults
7556 # to the OS version, if on x86, and 10.4, the deployment
7557 # target defaults to 10.4. Don't you love it?
7558 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7559 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7560 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7562 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7564 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7568 if test yes = "$lt_cv_apple_cc_single_mod"; then
7569 _lt_dar_single_mod='$single_module'
7571 if test yes = "$lt_cv_ld_exported_symbols_list"; then
7572 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7574 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7576 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7577 _lt_dsymutil='~$DSYMUTIL $lib || :'
7584 # func_munge_path_list VARIABLE PATH
7585 # -----------------------------------
7586 # VARIABLE is name of variable containing _space_ separated list of
7587 # directories to be munged by the contents of PATH, which is string
7590 # string "DIR[ DIR]" will be prepended to VARIABLE
7592 # string "DIR[ DIR]" will be appended to VARIABLE
7593 # "DIRP[:DIRP]::[DIRA:]DIRA"
7594 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7595 # "DIRA[ DIRA]" will be appended to VARIABLE
7597 # VARIABLE will be replaced by "DIR[ DIR]"
7598 func_munge_path_list ()
7604 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7607 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7610 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7611 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7614 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7621 $as_echo_n "checking for ANSI C header files... " >&6; }
7622 if ${ac_cv_header_stdc+:} false; then :
7623 $as_echo_n "(cached) " >&6
7625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7626 /* end confdefs.h. */
7640 if ac_fn_c_try_compile "$LINENO"; then :
7641 ac_cv_header_stdc=yes
7643 ac_cv_header_stdc=no
7645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7647 if test $ac_cv_header_stdc = yes; then
7648 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7650 /* end confdefs.h. */
7654 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7655 $EGREP "memchr" >/dev/null 2>&1; then :
7658 ac_cv_header_stdc=no
7664 if test $ac_cv_header_stdc = yes; then
7665 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7667 /* end confdefs.h. */
7671 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7672 $EGREP "free" >/dev/null 2>&1; then :
7675 ac_cv_header_stdc=no
7681 if test $ac_cv_header_stdc = yes; then
7682 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7683 if test "$cross_compiling" = yes; then :
7686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7687 /* end confdefs.h. */
7690 #if ((' ' & 0x0FF) == 0x020)
7691 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7692 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7694 # define ISLOWER(c) \
7695 (('a' <= (c) && (c) <= 'i') \
7696 || ('j' <= (c) && (c) <= 'r') \
7697 || ('s' <= (c) && (c) <= 'z'))
7698 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7701 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7706 for (i = 0; i < 256; i++)
7707 if (XOR (islower (i), ISLOWER (i))
7708 || toupper (i) != TOUPPER (i))
7713 if ac_fn_c_try_run "$LINENO"; then :
7716 ac_cv_header_stdc=no
7718 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7719 conftest.$ac_objext conftest.beam conftest.$ac_ext
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7725 $as_echo "$ac_cv_header_stdc" >&6; }
7726 if test $ac_cv_header_stdc = yes; then
7728 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7732 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7733 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7734 inttypes.h stdint.h unistd.h
7736 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7737 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7739 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7740 cat >>confdefs.h <<_ACEOF
7741 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7749 for ac_header in dlfcn.h
7751 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7753 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7754 cat >>confdefs.h <<_ACEOF
7755 #define HAVE_DLFCN_H 1
7776 # Check whether --enable-shared was given.
7777 if test "${enable_shared+set}" = set; then :
7778 enableval=$enable_shared; p=${PACKAGE-default}
7780 yes) enable_shared=yes ;;
7781 no) enable_shared=no ;;
7784 # Look at the argument we got. We use all the common list separators.
7785 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7786 for pkg in $enableval; do
7788 if test "X$pkg" = "X$p"; then
7807 # Check whether --enable-static was given.
7808 if test "${enable_static+set}" = set; then :
7809 enableval=$enable_static; p=${PACKAGE-default}
7811 yes) enable_static=yes ;;
7812 no) enable_static=no ;;
7815 # Look at the argument we got. We use all the common list separators.
7816 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7817 for pkg in $enableval; do
7819 if test "X$pkg" = "X$p"; then
7839 # Check whether --with-pic was given.
7840 if test "${with_pic+set}" = set; then :
7841 withval=$with_pic; lt_p=${PACKAGE-default}
7843 yes|no) pic_mode=$withval ;;
7846 # Look at the argument we got. We use all the common list separators.
7847 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7848 for lt_pkg in $withval; do
7850 if test "X$lt_pkg" = "X$lt_p"; then
7868 # Check whether --enable-fast-install was given.
7869 if test "${enable_fast_install+set}" = set; then :
7870 enableval=$enable_fast_install; p=${PACKAGE-default}
7872 yes) enable_fast_install=yes ;;
7873 no) enable_fast_install=no ;;
7875 enable_fast_install=no
7876 # Look at the argument we got. We use all the common list separators.
7877 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7878 for pkg in $enableval; do
7880 if test "X$pkg" = "X$p"; then
7881 enable_fast_install=yes
7888 enable_fast_install=yes
7898 shared_archive_member_spec=
7899 case $host,$enable_shared in
7900 power*-*-aix[5-9]*,yes)
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7902 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7904 # Check whether --with-aix-soname was given.
7905 if test "${with_aix_soname+set}" = set; then :
7906 withval=$with_aix_soname; case $withval in
7910 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
7913 lt_cv_with_aix_soname=$with_aix_soname
7915 if ${lt_cv_with_aix_soname+:} false; then :
7916 $as_echo_n "(cached) " >&6
7918 lt_cv_with_aix_soname=aix
7921 with_aix_soname=$lt_cv_with_aix_soname
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7925 $as_echo "$with_aix_soname" >&6; }
7926 if test aix != "$with_aix_soname"; then
7927 # For the AIX way of multilib, we name the shared archive member
7928 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
7929 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
7930 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
7931 # the AIX toolchain works better with OBJECT_MODE set (default 32).
7932 if test 64 = "${OBJECT_MODE-32}"; then
7933 shared_archive_member_spec=shr_64
7935 shared_archive_member_spec=shr
7953 # This can be used to rebuild libtool when needed
7954 LIBTOOL_DEPS=$ltmain
7956 # Always use our own libtool.
7957 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7988 test -z "$LN_S" && LN_S="ln -s"
8003 if test -n "${ZSH_VERSION+set}"; then
8004 setopt NO_GLOB_SUBST
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8008 $as_echo_n "checking for objdir... " >&6; }
8009 if ${lt_cv_objdir+:} false; then :
8010 $as_echo_n "(cached) " >&6
8012 rm -f .libs 2>/dev/null
8013 mkdir .libs 2>/dev/null
8014 if test -d .libs; then
8017 # MS-DOS does not allow filenames that begin with a dot.
8020 rmdir .libs 2>/dev/null
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8023 $as_echo "$lt_cv_objdir" >&6; }
8024 objdir=$lt_cv_objdir
8030 cat >>confdefs.h <<_ACEOF
8031 #define LT_OBJDIR "$lt_cv_objdir/"
8039 # AIX sometimes has problems with the GCC collect2 program. For some
8040 # reason, if we set the COLLECT_NAMES environment variable, the problems
8041 # vanish in a puff of smoke.
8042 if test set != "${COLLECT_NAMES+set}"; then
8044 export COLLECT_NAMES
8051 can_build_shared=yes
8053 # All known linkers require a '.a' archive for static linking (except MSVC,
8054 # which needs '.lib').
8057 with_gnu_ld=$lt_cv_prog_gnu_ld
8062 # Set sane defaults for various variables
8063 test -z "$CC" && CC=cc
8064 test -z "$LTCC" && LTCC=$CC
8065 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8066 test -z "$LD" && LD=ld
8067 test -z "$ac_objext" && ac_objext=o
8069 func_cc_basename $compiler
8070 cc_basename=$func_cc_basename_result
8073 # Only perform the check for file, if the check method requires it
8074 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8075 case $deplibs_check_method in
8077 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8079 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8080 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8081 $as_echo_n "(cached) " >&6
8085 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8088 lt_save_MAGIC_CMD=$MAGIC_CMD
8089 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8090 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8091 for ac_dir in $ac_dummy; do
8093 test -z "$ac_dir" && ac_dir=.
8094 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8095 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8096 if test -n "$file_magic_test_file"; then
8097 case $deplibs_check_method in
8099 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8100 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8101 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8102 $EGREP "$file_magic_regex" > /dev/null; then
8107 *** Warning: the command libtool uses to detect shared libraries,
8108 *** $file_magic_cmd, produces output that libtool cannot recognize.
8109 *** The result is that libtool may fail to recognize shared libraries
8110 *** as such. This will affect the creation of libtool libraries that
8111 *** depend on shared libraries, but programs linked with such libtool
8112 *** libraries will work regardless of this problem. Nevertheless, you
8113 *** may want to report the problem to your system manager and/or to
8114 *** bug-libtool@gnu.org
8124 MAGIC_CMD=$lt_save_MAGIC_CMD
8129 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8130 if test -n "$MAGIC_CMD"; then
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8132 $as_echo "$MAGIC_CMD" >&6; }
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8135 $as_echo "no" >&6; }
8142 if test -z "$lt_cv_path_MAGIC_CMD"; then
8143 if test -n "$ac_tool_prefix"; then
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8145 $as_echo_n "checking for file... " >&6; }
8146 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8147 $as_echo_n "(cached) " >&6
8151 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8154 lt_save_MAGIC_CMD=$MAGIC_CMD
8155 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8156 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8157 for ac_dir in $ac_dummy; do
8159 test -z "$ac_dir" && ac_dir=.
8160 if test -f "$ac_dir/file"; then
8161 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8162 if test -n "$file_magic_test_file"; then
8163 case $deplibs_check_method in
8165 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8166 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8167 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8168 $EGREP "$file_magic_regex" > /dev/null; then
8173 *** Warning: the command libtool uses to detect shared libraries,
8174 *** $file_magic_cmd, produces output that libtool cannot recognize.
8175 *** The result is that libtool may fail to recognize shared libraries
8176 *** as such. This will affect the creation of libtool libraries that
8177 *** depend on shared libraries, but programs linked with such libtool
8178 *** libraries will work regardless of this problem. Nevertheless, you
8179 *** may want to report the problem to your system manager and/or to
8180 *** bug-libtool@gnu.org
8190 MAGIC_CMD=$lt_save_MAGIC_CMD
8195 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8196 if test -n "$MAGIC_CMD"; then
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8198 $as_echo "$MAGIC_CMD" >&6; }
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8201 $as_echo "no" >&6; }
8214 # Use C for the default configuration in the libtool script
8218 ac_cpp='$CPP $CPPFLAGS'
8219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8224 # Source file extension for C test sources.
8227 # Object file extension for compiled C test sources.
8231 # Code to be used in simple compile tests
8232 lt_simple_compile_test_code="int some_variable = 0;"
8234 # Code to be used in simple link tests
8235 lt_simple_link_test_code='int main(){return(0);}'
8243 # If no C compiler was specified, use CC.
8246 # If no C compiler flags were specified, use CFLAGS.
8247 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8249 # Allow CC to be a program name with arguments.
8252 # Save the default compiler, since it gets overwritten when the other
8253 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8254 compiler_DEFAULT=$CC
8256 # save warnings/boilerplate of simple test code
8257 ac_outfile=conftest.$ac_objext
8258 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8259 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8260 _lt_compiler_boilerplate=`cat conftest.err`
8263 ac_outfile=conftest.$ac_objext
8264 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8265 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8266 _lt_linker_boilerplate=`cat conftest.err`
8270 if test -n "$compiler"; then
8272 lt_prog_compiler_no_builtin_flag=
8274 if test yes = "$GCC"; then
8275 case $cc_basename in
8277 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8279 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8283 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8284 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8285 $as_echo_n "(cached) " >&6
8287 lt_cv_prog_compiler_rtti_exceptions=no
8288 ac_outfile=conftest.$ac_objext
8289 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8290 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8291 # Insert the option either (1) after the last *FLAGS variable, or
8292 # (2) before a word containing "conftest.", or (3) at the end.
8293 # Note that $ac_compile itself does not contain backslashes and begins
8294 # with a dollar sign (not a hyphen), so the echo should work correctly.
8295 # The option is referenced via a variable to avoid confusing sed.
8296 lt_compile=`echo "$ac_compile" | $SED \
8297 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8298 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8299 -e 's:$: $lt_compiler_flag:'`
8300 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8301 (eval "$lt_compile" 2>conftest.err)
8303 cat conftest.err >&5
8304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8305 if (exit $ac_status) && test -s "$ac_outfile"; then
8306 # The compiler can only warn and ignore the option if not recognized
8307 # So say no if there are warnings other than the usual output.
8308 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8309 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8310 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8311 lt_cv_prog_compiler_rtti_exceptions=yes
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8318 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8320 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8321 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8333 lt_prog_compiler_wl=
8334 lt_prog_compiler_pic=
8335 lt_prog_compiler_static=
8338 if test yes = "$GCC"; then
8339 lt_prog_compiler_wl='-Wl,'
8340 lt_prog_compiler_static='-static'
8344 # All AIX code is PIC.
8345 if test ia64 = "$host_cpu"; then
8346 # AIX 5 now supports IA64 processor
8347 lt_prog_compiler_static='-Bstatic'
8349 lt_prog_compiler_pic='-fPIC'
8355 # see comment about AmigaOS4 .so support
8356 lt_prog_compiler_pic='-fPIC'
8359 # FIXME: we need at least 68020 code to build shared libraries, but
8360 # adding the '-m68020' flag to GCC prevents building anything better,
8362 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8367 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8368 # PIC is the default for these OSes.
8371 mingw* | cygwin* | pw32* | os2* | cegcc*)
8372 # This hack is so that the source file can tell whether it is being
8373 # built for inclusion in a dll (and should export symbols for example).
8374 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8375 # (--disable-auto-import) libraries
8376 lt_prog_compiler_pic='-DDLL_EXPORT'
8379 lt_prog_compiler_static='$wl-static'
8384 darwin* | rhapsody*)
8385 # PIC is the default on this platform
8386 # Common symbols not allowed in MH_DYLIB files
8387 lt_prog_compiler_pic='-fno-common'
8391 # PIC is the default for Haiku.
8392 # The "-static" flag exists, but is broken.
8393 lt_prog_compiler_static=
8397 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8398 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8399 # sets the default TLS model and affects inlining.
8405 lt_prog_compiler_pic='-fPIC'
8411 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8412 # Instead, we relocate shared libraries at runtime.
8416 # Just because we use GCC doesn't mean we suddenly get shared libraries
8417 # on systems that don't support them.
8418 lt_prog_compiler_can_build_shared=no
8423 # QNX uses GNU C++, but need to define -shared option too, otherwise
8425 lt_prog_compiler_pic='-fPIC -shared'
8429 if test -d /usr/nec; then
8430 lt_prog_compiler_pic=-Kconform_pic
8435 lt_prog_compiler_pic='-fPIC'
8439 case $cc_basename in
8440 nvcc*) # Cuda Compiler Driver 2.2
8441 lt_prog_compiler_wl='-Xlinker '
8442 if test -n "$lt_prog_compiler_pic"; then
8443 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8448 # PORTME Check for flag to pass linker flags through the system compiler.
8451 lt_prog_compiler_wl='-Wl,'
8452 if test ia64 = "$host_cpu"; then
8453 # AIX 5 now supports IA64 processor
8454 lt_prog_compiler_static='-Bstatic'
8456 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8460 darwin* | rhapsody*)
8461 # PIC is the default on this platform
8462 # Common symbols not allowed in MH_DYLIB files
8463 lt_prog_compiler_pic='-fno-common'
8464 case $cc_basename in
8466 # NAG Fortran compiler
8467 lt_prog_compiler_wl='-Wl,-Wl,,'
8468 lt_prog_compiler_pic='-PIC'
8469 lt_prog_compiler_static='-Bstatic'
8474 mingw* | cygwin* | pw32* | os2* | cegcc*)
8475 # This hack is so that the source file can tell whether it is being
8476 # built for inclusion in a dll (and should export symbols for example).
8477 lt_prog_compiler_pic='-DDLL_EXPORT'
8480 lt_prog_compiler_static='$wl-static'
8485 hpux9* | hpux10* | hpux11*)
8486 lt_prog_compiler_wl='-Wl,'
8487 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8494 lt_prog_compiler_pic='+Z'
8497 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8498 lt_prog_compiler_static='$wl-a ${wl}archive'
8501 irix5* | irix6* | nonstopux*)
8502 lt_prog_compiler_wl='-Wl,'
8503 # PIC (with -KPIC) is the default.
8504 lt_prog_compiler_static='-non_shared'
8507 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8508 case $cc_basename in
8509 # old Intel for x86_64, which still supported -KPIC.
8511 lt_prog_compiler_wl='-Wl,'
8512 lt_prog_compiler_pic='-KPIC'
8513 lt_prog_compiler_static='-static'
8515 # icc used to be incompatible with GCC.
8516 # ICC 10 doesn't accept -KPIC any more.
8518 lt_prog_compiler_wl='-Wl,'
8519 lt_prog_compiler_pic='-fPIC'
8520 lt_prog_compiler_static='-static'
8522 # Lahey Fortran 8.1.
8524 lt_prog_compiler_wl='-Wl,'
8525 lt_prog_compiler_pic='--shared'
8526 lt_prog_compiler_static='--static'
8529 # NAG Fortran compiler
8530 lt_prog_compiler_wl='-Wl,-Wl,,'
8531 lt_prog_compiler_pic='-PIC'
8532 lt_prog_compiler_static='-Bstatic'
8535 # Fabrice Bellard et al's Tiny C Compiler
8536 lt_prog_compiler_wl='-Wl,'
8537 lt_prog_compiler_pic='-fPIC'
8538 lt_prog_compiler_static='-static'
8540 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8541 # Portland Group compilers (*not* the Pentium gcc compiler,
8542 # which looks to be a dead project)
8543 lt_prog_compiler_wl='-Wl,'
8544 lt_prog_compiler_pic='-fpic'
8545 lt_prog_compiler_static='-Bstatic'
8548 lt_prog_compiler_wl='-Wl,'
8549 # All Alpha code is PIC.
8550 lt_prog_compiler_static='-non_shared'
8552 xl* | bgxl* | bgf* | mpixl*)
8553 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8554 lt_prog_compiler_wl='-Wl,'
8555 lt_prog_compiler_pic='-qpic'
8556 lt_prog_compiler_static='-qstaticlink'
8559 case `$CC -V 2>&1 | sed 5q` in
8560 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8561 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8562 lt_prog_compiler_pic='-KPIC'
8563 lt_prog_compiler_static='-Bstatic'
8564 lt_prog_compiler_wl=''
8566 *Sun\ F* | *Sun*Fortran*)
8567 lt_prog_compiler_pic='-KPIC'
8568 lt_prog_compiler_static='-Bstatic'
8569 lt_prog_compiler_wl='-Qoption ld '
8573 lt_prog_compiler_pic='-KPIC'
8574 lt_prog_compiler_static='-Bstatic'
8575 lt_prog_compiler_wl='-Wl,'
8577 *Intel*\ [CF]*Compiler*)
8578 lt_prog_compiler_wl='-Wl,'
8579 lt_prog_compiler_pic='-fPIC'
8580 lt_prog_compiler_static='-static'
8583 lt_prog_compiler_wl='-Wl,'
8584 lt_prog_compiler_pic='-fpic'
8585 lt_prog_compiler_static='-Bstatic'
8593 lt_prog_compiler_pic='-KPIC'
8594 lt_prog_compiler_static='-Bstatic'
8598 # QNX uses GNU C++, but need to define -shared option too, otherwise
8600 lt_prog_compiler_pic='-fPIC -shared'
8603 osf3* | osf4* | osf5*)
8604 lt_prog_compiler_wl='-Wl,'
8605 # All OSF/1 code is PIC.
8606 lt_prog_compiler_static='-non_shared'
8610 lt_prog_compiler_static='-non_shared'
8614 lt_prog_compiler_pic='-KPIC'
8615 lt_prog_compiler_static='-Bstatic'
8616 case $cc_basename in
8617 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8618 lt_prog_compiler_wl='-Qoption ld ';;
8620 lt_prog_compiler_wl='-Wl,';;
8625 lt_prog_compiler_wl='-Qoption ld '
8626 lt_prog_compiler_pic='-PIC'
8627 lt_prog_compiler_static='-Bstatic'
8630 sysv4 | sysv4.2uw2* | sysv4.3*)
8631 lt_prog_compiler_wl='-Wl,'
8632 lt_prog_compiler_pic='-KPIC'
8633 lt_prog_compiler_static='-Bstatic'
8637 if test -d /usr/nec; then
8638 lt_prog_compiler_pic='-Kconform_pic'
8639 lt_prog_compiler_static='-Bstatic'
8643 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8644 lt_prog_compiler_wl='-Wl,'
8645 lt_prog_compiler_pic='-KPIC'
8646 lt_prog_compiler_static='-Bstatic'
8650 lt_prog_compiler_wl='-Wl,'
8651 lt_prog_compiler_can_build_shared=no
8655 lt_prog_compiler_pic='-pic'
8656 lt_prog_compiler_static='-Bstatic'
8660 lt_prog_compiler_can_build_shared=no
8666 # For platforms that do not support PIC, -DPIC is meaningless:
8668 lt_prog_compiler_pic=
8671 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8676 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8677 if ${lt_cv_prog_compiler_pic+:} false; then :
8678 $as_echo_n "(cached) " >&6
8680 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8683 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8684 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8687 # Check to make sure the PIC flag actually works.
8689 if test -n "$lt_prog_compiler_pic"; then
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8691 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8692 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8693 $as_echo_n "(cached) " >&6
8695 lt_cv_prog_compiler_pic_works=no
8696 ac_outfile=conftest.$ac_objext
8697 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8698 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
8699 # Insert the option either (1) after the last *FLAGS variable, or
8700 # (2) before a word containing "conftest.", or (3) at the end.
8701 # Note that $ac_compile itself does not contain backslashes and begins
8702 # with a dollar sign (not a hyphen), so the echo should work correctly.
8703 # The option is referenced via a variable to avoid confusing sed.
8704 lt_compile=`echo "$ac_compile" | $SED \
8705 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8706 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8707 -e 's:$: $lt_compiler_flag:'`
8708 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8709 (eval "$lt_compile" 2>conftest.err)
8711 cat conftest.err >&5
8712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8713 if (exit $ac_status) && test -s "$ac_outfile"; then
8714 # The compiler can only warn and ignore the option if not recognized
8715 # So say no if there are warnings other than the usual output.
8716 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8717 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8718 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8719 lt_cv_prog_compiler_pic_works=yes
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8726 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8728 if test yes = "$lt_cv_prog_compiler_pic_works"; then
8729 case $lt_prog_compiler_pic in
8731 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8734 lt_prog_compiler_pic=
8735 lt_prog_compiler_can_build_shared=no
8751 # Check to make sure the static flag actually works.
8753 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8755 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8756 if ${lt_cv_prog_compiler_static_works+:} false; then :
8757 $as_echo_n "(cached) " >&6
8759 lt_cv_prog_compiler_static_works=no
8760 save_LDFLAGS=$LDFLAGS
8761 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8762 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8763 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8764 # The linker can only warn and ignore the option if not recognized
8765 # So say no if there are warnings
8766 if test -s conftest.err; then
8767 # Append any errors to the config.log.
8768 cat conftest.err 1>&5
8769 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8770 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8771 if diff conftest.exp conftest.er2 >/dev/null; then
8772 lt_cv_prog_compiler_static_works=yes
8775 lt_cv_prog_compiler_static_works=yes
8779 LDFLAGS=$save_LDFLAGS
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8783 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8785 if test yes = "$lt_cv_prog_compiler_static_works"; then
8788 lt_prog_compiler_static=
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8798 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8799 if ${lt_cv_prog_compiler_c_o+:} false; then :
8800 $as_echo_n "(cached) " >&6
8802 lt_cv_prog_compiler_c_o=no
8803 $RM -r conftest 2>/dev/null
8807 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8809 lt_compiler_flag="-o out/conftest2.$ac_objext"
8810 # Insert the option either (1) after the last *FLAGS variable, or
8811 # (2) before a word containing "conftest.", or (3) at the end.
8812 # Note that $ac_compile itself does not contain backslashes and begins
8813 # with a dollar sign (not a hyphen), so the echo should work correctly.
8814 lt_compile=`echo "$ac_compile" | $SED \
8815 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8816 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8817 -e 's:$: $lt_compiler_flag:'`
8818 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8819 (eval "$lt_compile" 2>out/conftest.err)
8821 cat out/conftest.err >&5
8822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8823 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8825 # The compiler can only warn and ignore the option if not recognized
8826 # So say no if there are warnings
8827 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8828 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8829 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8830 lt_cv_prog_compiler_c_o=yes
8835 # SGI C++ compiler will create directory out/ii_files/ for
8836 # template instantiation
8837 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8838 $RM out/* && rmdir out
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8845 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8853 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8854 if ${lt_cv_prog_compiler_c_o+:} false; then :
8855 $as_echo_n "(cached) " >&6
8857 lt_cv_prog_compiler_c_o=no
8858 $RM -r conftest 2>/dev/null
8862 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8864 lt_compiler_flag="-o out/conftest2.$ac_objext"
8865 # Insert the option either (1) after the last *FLAGS variable, or
8866 # (2) before a word containing "conftest.", or (3) at the end.
8867 # Note that $ac_compile itself does not contain backslashes and begins
8868 # with a dollar sign (not a hyphen), so the echo should work correctly.
8869 lt_compile=`echo "$ac_compile" | $SED \
8870 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8871 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8872 -e 's:$: $lt_compiler_flag:'`
8873 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8874 (eval "$lt_compile" 2>out/conftest.err)
8876 cat out/conftest.err >&5
8877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8878 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8880 # The compiler can only warn and ignore the option if not recognized
8881 # So say no if there are warnings
8882 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8883 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8884 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8885 lt_cv_prog_compiler_c_o=yes
8890 # SGI C++ compiler will create directory out/ii_files/ for
8891 # template instantiation
8892 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8893 $RM out/* && rmdir out
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8900 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8905 hard_links=nottested
8906 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
8907 # do not overwrite the value of need_locks provided by the user
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8909 $as_echo_n "checking if we can lock with hard links... " >&6; }
8912 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8914 ln conftest.a conftest.b 2>&5 || hard_links=no
8915 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8917 $as_echo "$hard_links" >&6; }
8918 if test no = "$hard_links"; then
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8920 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8933 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8936 allow_undefined_flag=
8937 always_export_symbols=no
8939 archive_expsym_cmds=
8940 compiler_needs_object=no
8941 enable_shared_with_static_runtimes=no
8942 export_dynamic_flag_spec=
8943 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8944 hardcode_automatic=no
8946 hardcode_direct_absolute=no
8947 hardcode_libdir_flag_spec=
8948 hardcode_libdir_separator=
8950 hardcode_shlibpath_var=unsupported
8952 link_all_deplibs=unknown
8955 old_archive_from_new_cmds=
8956 old_archive_from_expsyms_cmds=
8957 thread_safe_flag_spec=
8958 whole_archive_flag_spec=
8959 # include_expsyms should be a list of space-separated symbols to be *always*
8960 # included in the symbol list
8962 # exclude_expsyms can be an extended regexp of symbols to exclude
8963 # it will be wrapped by ' (' and ')$', so one must not match beginning or
8964 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
8965 # as well as any symbol that contains 'd'.
8966 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8967 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8968 # platforms (ab)use it in PIC code, but their linkers get confused if
8969 # the symbol is explicitly referenced. Since portable code cannot
8970 # rely on this symbol name, it's probably fine to never include it in
8971 # preloaded symbol tables.
8972 # Exclude shared library initialization/finalization symbols.
8973 extract_expsyms_cmds=
8976 cygwin* | mingw* | pw32* | cegcc*)
8977 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8978 # When not using gcc, we currently assume that we are using
8979 # Microsoft Visual C++.
8980 if test yes != "$GCC"; then
8985 # we just hope/assume this is gcc and not c89 (= MSVC++)
8991 linux* | k*bsd*-gnu | gnu*)
8998 # On some targets, GNU ld is compatible enough with the native linker
8999 # that we're better off using the native interface for both.
9000 lt_use_gnu_ld_interface=no
9001 if test yes = "$with_gnu_ld"; then
9004 # The AIX port of GNU ld has always aspired to compatibility
9005 # with the native linker. However, as the warning in the GNU ld
9006 # block says, versions before 2.19.5* couldn't really create working
9007 # shared libraries, regardless of the interface used.
9008 case `$LD -v 2>&1` in
9009 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9010 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9011 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9013 lt_use_gnu_ld_interface=yes
9018 lt_use_gnu_ld_interface=yes
9023 if test yes = "$lt_use_gnu_ld_interface"; then
9024 # If archive_cmds runs LD, not CC, wlarc should be empty
9027 # Set some defaults for GNU ld with shared library support. These
9028 # are reset later if shared libraries are not supported. Putting them
9029 # here allows them to be overridden if necessary.
9030 runpath_var=LD_RUN_PATH
9031 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9032 export_dynamic_flag_spec='$wl--export-dynamic'
9033 # ancient GNU ld didn't support --whole-archive et. al.
9034 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9035 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9037 whole_archive_flag_spec=
9039 supports_anon_versioning=no
9040 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9041 *GNU\ gold*) supports_anon_versioning=yes ;;
9042 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9043 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9044 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9045 *\ 2.11.*) ;; # other 2.11 versions
9046 *) supports_anon_versioning=yes ;;
9049 # See if GNU ld supports shared libraries.
9052 # On AIX/PPC, the GNU linker is very broken
9053 if test ia64 != "$host_cpu"; then
9057 *** Warning: the GNU linker, at least up to release 2.19, is reported
9058 *** to be unable to reliably create shared libraries on AIX.
9059 *** Therefore, libtool is disabling shared libraries support. If you
9060 *** really care for shared libraries, you may want to install binutils
9061 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9062 *** You will then need to restart the configuration process.
9071 # see comment about AmigaOS4 .so support
9072 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9073 archive_expsym_cmds=''
9076 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)'
9077 hardcode_libdir_flag_spec='-L$libdir'
9078 hardcode_minus_L=yes
9084 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9085 allow_undefined_flag=unsupported
9086 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9087 # support --undefined. This deserves some investigation. FIXME
9088 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9094 cygwin* | mingw* | pw32* | cegcc*)
9095 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9096 # as there is no search path for DLLs.
9097 hardcode_libdir_flag_spec='-L$libdir'
9098 export_dynamic_flag_spec='$wl--export-all-symbols'
9099 allow_undefined_flag=unsupported
9100 always_export_symbols=no
9101 enable_shared_with_static_runtimes=yes
9102 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'
9103 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9105 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9106 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9107 # If the export-symbols file already is a .def file, use it as
9108 # is; otherwise, prepend EXPORTS...
9109 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9110 cp $export_symbols $output_objdir/$soname.def;
9112 echo EXPORTS > $output_objdir/$soname.def;
9113 cat $export_symbols >> $output_objdir/$soname.def;
9115 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9122 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9123 link_all_deplibs=yes
9127 hardcode_libdir_flag_spec='-L$libdir'
9128 hardcode_minus_L=yes
9129 allow_undefined_flag=unsupported
9131 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9132 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9133 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9134 $ECHO EXPORTS >> $output_objdir/$libname.def~
9135 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9136 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9137 emximp -o $lib $output_objdir/$libname.def'
9138 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9139 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9140 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9141 $ECHO EXPORTS >> $output_objdir/$libname.def~
9143 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9144 prefix_cmds="$prefix_cmds -e 1d";
9146 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9147 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9148 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9149 emximp -o $lib $output_objdir/$libname.def'
9150 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9151 enable_shared_with_static_runtimes=yes
9156 hardcode_shlibpath_var=no
9157 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9158 export_dynamic_flag_spec='$wl-E'
9159 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9160 # Instead, shared libraries are loaded at an image base (0x10000000 by
9161 # default) and relocated if they conflict, which is a slow very memory
9162 # consuming and fragmenting process. To avoid this, we pick a random,
9163 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9164 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9165 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9166 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'
9169 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9171 if test linux-dietlibc = "$host_os"; then
9172 case $cc_basename in
9173 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9176 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9177 && test no = "$tmp_diet"
9179 tmp_addflag=' $pic_flag'
9180 tmp_sharedflag='-shared'
9181 case $cc_basename,$host_cpu in
9182 pgcc*) # Portland Group C compiler
9183 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'
9184 tmp_addflag=' $pic_flag'
9186 pgf77* | pgf90* | pgf95* | pgfortran*)
9187 # Portland Group f77 and f90 compilers
9188 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'
9189 tmp_addflag=' $pic_flag -Mnomain' ;;
9190 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9191 tmp_addflag=' -i_dynamic' ;;
9192 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9193 tmp_addflag=' -i_dynamic -nofor_main' ;;
9194 ifc* | ifort*) # Intel Fortran compiler
9195 tmp_addflag=' -nofor_main' ;;
9196 lf95*) # Lahey Fortran 8.1
9197 whole_archive_flag_spec=
9198 tmp_sharedflag='--shared' ;;
9199 nagfor*) # NAGFOR 5.3
9200 tmp_sharedflag='-Wl,-shared' ;;
9201 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9202 tmp_sharedflag='-qmkshrobj'
9204 nvcc*) # Cuda Compiler Driver 2.2
9205 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'
9206 compiler_needs_object=yes
9209 case `$CC -V 2>&1 | sed 5q` in
9210 *Sun\ C*) # Sun C 5.9
9211 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'
9212 compiler_needs_object=yes
9213 tmp_sharedflag='-G' ;;
9214 *Sun\ F*) # Sun Fortran 8.3
9215 tmp_sharedflag='-G' ;;
9217 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9219 if test yes = "$supports_anon_versioning"; then
9220 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9221 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9222 echo "local: *; };" >> $output_objdir/$libname.ver~
9223 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9226 case $cc_basename in
9228 export_dynamic_flag_spec='-rdynamic'
9230 xlf* | bgf* | bgxlf* | mpixlf*)
9231 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9232 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9233 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9234 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9235 if test yes = "$supports_anon_versioning"; then
9236 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9237 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9238 echo "local: *; };" >> $output_objdir/$libname.ver~
9239 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9248 netbsd* | netbsdelf*-gnu)
9249 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9250 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9253 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9254 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9259 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9263 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9264 *** create shared libraries on Solaris systems. Therefore, libtool
9265 *** is disabling shared libraries support. We urge you to upgrade GNU
9266 *** binutils to release 2.9.1 or newer. Another option is to modify
9267 *** your PATH or compiler configuration so that the native linker is
9268 *** used, and then restart.
9271 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9272 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9273 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9279 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9280 case `$LD -v 2>&1` in
9281 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9285 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9286 *** reliably create shared libraries on SCO systems. Therefore, libtool
9287 *** is disabling shared libraries support. We urge you to upgrade GNU
9288 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9289 *** your PATH or compiler configuration so that the native linker is
9290 *** used, and then restart.
9295 # For security reasons, it is highly recommended that you always
9296 # use absolute paths for naming shared libraries, and exclude the
9297 # DT_RUNPATH tag from executables and libraries. But doing so
9298 # requires that you compile everything twice, which is a pain.
9299 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9300 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9301 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9302 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9311 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9314 hardcode_shlibpath_var=no
9318 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9319 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9320 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9327 if test no = "$ld_shlibs"; then
9329 hardcode_libdir_flag_spec=
9330 export_dynamic_flag_spec=
9331 whole_archive_flag_spec=
9334 # PORTME fill in a description of your system's linker (not GNU ld)
9337 allow_undefined_flag=unsupported
9338 always_export_symbols=yes
9339 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'
9340 # Note: this linker hardcodes the directories in LIBPATH if there
9341 # are no directories specified by -L.
9342 hardcode_minus_L=yes
9343 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9344 # Neither direct hardcoding nor static linking is supported with a
9346 hardcode_direct=unsupported
9351 if test ia64 = "$host_cpu"; then
9352 # On IA64, the linker does run time linking by default, so we don't
9353 # have to do anything special.
9354 aix_use_runtimelinking=no
9355 exp_sym_flag='-Bexport'
9358 # If we're using GNU nm, then we don't want the "-C" option.
9359 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9360 # Without the "-l" option, or with the "-B" option, AIX nm treats
9361 # weak defined symbols like other global defined symbols, whereas
9362 # GNU nm marks them as "W".
9363 # While the 'weak' keyword is ignored in the Export File, we need
9364 # it in the Import File for the 'aix-soname' feature, so we have
9365 # to replace the "-B" option with "-P" for AIX nm.
9366 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9367 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
9369 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
9371 aix_use_runtimelinking=no
9373 # Test if we are trying to use run time linking or normal
9374 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9375 # have runtime linking enabled, and use it for executables.
9376 # For shared libraries, we enable/disable runtime linking
9377 # depending on the kind of the shared library created -
9378 # when "with_aix_soname,aix_use_runtimelinking" is:
9379 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
9380 # "aix,yes" lib.so shared, rtl:yes, for executables
9381 # lib.a static archive
9382 # "both,no" lib.so.V(shr.o) shared, rtl:yes
9383 # lib.a(lib.so.V) shared, rtl:no, for executables
9384 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9385 # lib.a(lib.so.V) shared, rtl:no
9386 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
9387 # lib.a static archive
9388 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9389 for ld_flag in $LDFLAGS; do
9390 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9391 aix_use_runtimelinking=yes
9395 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9396 # With aix-soname=svr4, we create the lib.so.V shared archives only,
9397 # so we don't have lib.a shared libs to link our executables.
9398 # We have to force runtime linking in this case.
9399 aix_use_runtimelinking=yes
9400 LDFLAGS="$LDFLAGS -Wl,-brtl"
9405 exp_sym_flag='-bexport'
9406 no_entry_flag='-bnoentry'
9409 # When large executables or shared objects are built, AIX ld can
9410 # have problems creating the table of contents. If linking a library
9411 # or program results in "error TOC overflow" add -mminimal-toc to
9412 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9413 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9417 hardcode_direct_absolute=yes
9418 hardcode_libdir_separator=':'
9419 link_all_deplibs=yes
9420 file_list_spec='$wl-f,'
9421 case $with_aix_soname,$aix_use_runtimelinking in
9422 aix,*) ;; # traditional, no import file
9423 svr4,* | *,yes) # use import file
9424 # The Import File defines what to hardcode.
9426 hardcode_direct_absolute=no
9430 if test yes = "$GCC"; then
9431 case $host_os in aix4.[012]|aix4.[012].*)
9432 # We only want to do this on AIX 4.2 and lower, the check
9433 # below for broken collect2 doesn't work under 4.3+
9434 collect2name=`$CC -print-prog-name=collect2`
9435 if test -f "$collect2name" &&
9436 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9438 # We have reworked collect2
9441 # We have old collect2
9442 hardcode_direct=unsupported
9443 # It fails to find uninstalled libraries when the uninstalled
9444 # path is not listed in the libpath. Setting hardcode_minus_L
9445 # to unsupported forces relinking
9446 hardcode_minus_L=yes
9447 hardcode_libdir_flag_spec='-L$libdir'
9448 hardcode_libdir_separator=
9452 shared_flag='-shared'
9453 if test yes = "$aix_use_runtimelinking"; then
9454 shared_flag="$shared_flag "'$wl-G'
9456 # Need to ensure runtime linking is disabled for the traditional
9457 # shared library, or the linker may eventually find shared libraries
9458 # /with/ Import File - we do not want to mix them.
9459 shared_flag_aix='-shared'
9460 shared_flag_svr4='-shared $wl-G'
9463 if test ia64 = "$host_cpu"; then
9464 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9465 # chokes on -Wl,-G. The following line is correct:
9468 if test yes = "$aix_use_runtimelinking"; then
9471 shared_flag='$wl-bM:SRE'
9473 shared_flag_aix='$wl-bM:SRE'
9474 shared_flag_svr4='$wl-G'
9478 export_dynamic_flag_spec='$wl-bexpall'
9479 # It seems that -bexpall does not export symbols beginning with
9480 # underscore (_), so it is better to generate a list of symbols to export.
9481 always_export_symbols=yes
9482 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9483 # Warning - without using the other runtime loading flags (-brtl),
9484 # -berok will link without error, but may produce a broken library.
9485 allow_undefined_flag='-berok'
9486 # Determine the default libpath from the value encoded in an
9488 if test set = "${lt_cv_aix_libpath+set}"; then
9489 aix_libpath=$lt_cv_aix_libpath
9491 if ${lt_cv_aix_libpath_+:} false; then :
9492 $as_echo_n "(cached) " >&6
9494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9495 /* end confdefs.h. */
9505 if ac_fn_c_try_link "$LINENO"; then :
9507 lt_aix_libpath_sed='
9508 /Import File Strings/,/^$/ {
9510 s/^0 *\([^ ]*\) *$/\1/
9514 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9515 # Check for a 64-bit object if we didn't find anything.
9516 if test -z "$lt_cv_aix_libpath_"; then
9517 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9520 rm -f core conftest.err conftest.$ac_objext \
9521 conftest$ac_exeext conftest.$ac_ext
9522 if test -z "$lt_cv_aix_libpath_"; then
9523 lt_cv_aix_libpath_=/usr/lib:/lib
9528 aix_libpath=$lt_cv_aix_libpath_
9531 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9532 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
9534 if test ia64 = "$host_cpu"; then
9535 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9536 allow_undefined_flag="-z nodefs"
9537 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"
9539 # Determine the default libpath from the value encoded in an
9541 if test set = "${lt_cv_aix_libpath+set}"; then
9542 aix_libpath=$lt_cv_aix_libpath
9544 if ${lt_cv_aix_libpath_+:} false; then :
9545 $as_echo_n "(cached) " >&6
9547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9548 /* end confdefs.h. */
9558 if ac_fn_c_try_link "$LINENO"; then :
9560 lt_aix_libpath_sed='
9561 /Import File Strings/,/^$/ {
9563 s/^0 *\([^ ]*\) *$/\1/
9567 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9568 # Check for a 64-bit object if we didn't find anything.
9569 if test -z "$lt_cv_aix_libpath_"; then
9570 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9573 rm -f core conftest.err conftest.$ac_objext \
9574 conftest$ac_exeext conftest.$ac_ext
9575 if test -z "$lt_cv_aix_libpath_"; then
9576 lt_cv_aix_libpath_=/usr/lib:/lib
9581 aix_libpath=$lt_cv_aix_libpath_
9584 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9585 # Warning - without using the other run time loading flags,
9586 # -berok will link without error, but may produce a broken library.
9587 no_undefined_flag=' $wl-bernotok'
9588 allow_undefined_flag=' $wl-berok'
9589 if test yes = "$with_gnu_ld"; then
9590 # We only use this code for GNU lds that support --whole-archive.
9591 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9593 # Exported symbols can be pulled into shared objects from archives
9594 whole_archive_flag_spec='$convenience'
9596 archive_cmds_need_lc=yes
9597 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9598 # -brtl affects multiple linker settings, -berok does not and is overridden later
9599 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9600 if test svr4 != "$with_aix_soname"; then
9601 # This is similar to how AIX traditionally builds its shared libraries.
9602 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
9604 if test aix != "$with_aix_soname"; then
9605 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
9607 # used by -dlpreopen to get the symbols
9608 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
9610 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9618 # see comment about AmigaOS4 .so support
9619 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9620 archive_expsym_cmds=''
9623 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)'
9624 hardcode_libdir_flag_spec='-L$libdir'
9625 hardcode_minus_L=yes
9631 export_dynamic_flag_spec=-rdynamic
9634 cygwin* | mingw* | pw32* | cegcc*)
9635 # When not using gcc, we currently assume that we are using
9636 # Microsoft Visual C++.
9637 # hardcode_libdir_flag_spec is actually meaningless, as there is
9638 # no search path for DLLs.
9639 case $cc_basename in
9642 hardcode_libdir_flag_spec=' '
9643 allow_undefined_flag=unsupported
9644 always_export_symbols=yes
9646 # Tell ltmain to make .lib files, not .a files.
9648 # Tell ltmain to make .dll files, not .so files.
9650 # FIXME: Setting linknames here is a bad hack.
9651 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9652 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9653 cp "$export_symbols" "$output_objdir/$soname.def";
9654 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9656 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9658 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9660 # The linker will not automatically build a static lib if we build a DLL.
9661 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9662 enable_shared_with_static_runtimes=yes
9663 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9664 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9666 old_postinstall_cmds='chmod 644 $oldlib'
9667 postlink_cmds='lt_outputfile="@OUTPUT@"~
9668 lt_tool_outputfile="@TOOL_OUTPUT@"~
9669 case $lt_outputfile in
9672 lt_outputfile=$lt_outputfile.exe
9673 lt_tool_outputfile=$lt_tool_outputfile.exe
9676 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9677 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9678 $RM "$lt_outputfile.manifest";
9682 # Assume MSVC wrapper
9683 hardcode_libdir_flag_spec=' '
9684 allow_undefined_flag=unsupported
9685 # Tell ltmain to make .lib files, not .a files.
9687 # Tell ltmain to make .dll files, not .so files.
9689 # FIXME: Setting linknames here is a bad hack.
9690 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9691 # The linker will automatically build a .lib file if we build a DLL.
9692 old_archive_from_new_cmds='true'
9693 # FIXME: Should let the user specify the lib program.
9694 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9695 enable_shared_with_static_runtimes=yes
9700 darwin* | rhapsody*)
9703 archive_cmds_need_lc=no
9705 hardcode_automatic=yes
9706 hardcode_shlibpath_var=unsupported
9707 if test yes = "$lt_cv_ld_force_load"; then
9708 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\"`'
9711 whole_archive_flag_spec=''
9713 link_all_deplibs=yes
9714 allow_undefined_flag=$_lt_dar_allow_undefined
9715 case $cc_basename in
9716 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
9717 *) _lt_dar_can_shared=$GCC ;;
9719 if test yes = "$_lt_dar_can_shared"; then
9720 output_verbose_link_cmd=func_echo_all
9721 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9722 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9723 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"
9724 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"
9733 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9734 hardcode_libdir_flag_spec='-L$libdir'
9735 hardcode_shlibpath_var=no
9738 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9739 # support. Future versions do this automatically, but an explicit c++rt0.o
9740 # does not break anything, and helps significantly (at the cost of a little
9743 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9744 hardcode_libdir_flag_spec='-R$libdir'
9746 hardcode_shlibpath_var=no
9749 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9751 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9753 hardcode_minus_L=yes
9754 hardcode_shlibpath_var=no
9757 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9758 freebsd* | dragonfly*)
9759 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9760 hardcode_libdir_flag_spec='-R$libdir'
9762 hardcode_shlibpath_var=no
9766 if test yes = "$GCC"; then
9767 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9769 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9771 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9772 hardcode_libdir_separator=:
9775 # hardcode_minus_L: Not really in the search PATH,
9776 # but as the default location of the library.
9777 hardcode_minus_L=yes
9778 export_dynamic_flag_spec='$wl-E'
9782 if test yes,no = "$GCC,$with_gnu_ld"; then
9783 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9785 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9787 if test no = "$with_gnu_ld"; then
9788 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9789 hardcode_libdir_separator=:
9791 hardcode_direct_absolute=yes
9792 export_dynamic_flag_spec='$wl-E'
9793 # hardcode_minus_L: Not really in the search PATH,
9794 # but as the default location of the library.
9795 hardcode_minus_L=yes
9800 if test yes,no = "$GCC,$with_gnu_ld"; then
9803 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9806 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9809 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9815 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9818 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9822 # Older versions of the 11.00 compiler do not understand -b yet
9823 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9825 $as_echo_n "checking if $CC understands -b... " >&6; }
9826 if ${lt_cv_prog_compiler__b+:} false; then :
9827 $as_echo_n "(cached) " >&6
9829 lt_cv_prog_compiler__b=no
9830 save_LDFLAGS=$LDFLAGS
9831 LDFLAGS="$LDFLAGS -b"
9832 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9833 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9834 # The linker can only warn and ignore the option if not recognized
9835 # So say no if there are warnings
9836 if test -s conftest.err; then
9837 # Append any errors to the config.log.
9838 cat conftest.err 1>&5
9839 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9840 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9841 if diff conftest.exp conftest.er2 >/dev/null; then
9842 lt_cv_prog_compiler__b=yes
9845 lt_cv_prog_compiler__b=yes
9849 LDFLAGS=$save_LDFLAGS
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9853 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9855 if test yes = "$lt_cv_prog_compiler__b"; then
9856 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9858 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9864 if test no = "$with_gnu_ld"; then
9865 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9866 hardcode_libdir_separator=:
9871 hardcode_shlibpath_var=no
9875 hardcode_direct_absolute=yes
9876 export_dynamic_flag_spec='$wl-E'
9878 # hardcode_minus_L: Not really in the search PATH,
9879 # but as the default location of the library.
9880 hardcode_minus_L=yes
9886 irix5* | irix6* | nonstopux*)
9887 if test yes = "$GCC"; then
9888 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'
9889 # Try to use the -exported_symbol ld option, if it does not
9890 # work, assume that -exports_file does not work either and
9891 # implicitly export all symbols.
9892 # This should be the same for all languages, so no per-tag cache variable.
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9894 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9895 if ${lt_cv_irix_exported_symbol+:} false; then :
9896 $as_echo_n "(cached) " >&6
9898 save_LDFLAGS=$LDFLAGS
9899 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9901 /* end confdefs.h. */
9902 int foo (void) { return 0; }
9904 if ac_fn_c_try_link "$LINENO"; then :
9905 lt_cv_irix_exported_symbol=yes
9907 lt_cv_irix_exported_symbol=no
9909 rm -f core conftest.err conftest.$ac_objext \
9910 conftest$ac_exeext conftest.$ac_ext
9911 LDFLAGS=$save_LDFLAGS
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9914 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9915 if test yes = "$lt_cv_irix_exported_symbol"; then
9916 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'
9920 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'
9921 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'
9923 archive_cmds_need_lc='no'
9924 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9925 hardcode_libdir_separator=:
9927 link_all_deplibs=yes
9931 case $cc_basename in
9933 # Fabrice Bellard et al's Tiny C Compiler
9935 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9940 netbsd* | netbsdelf*-gnu)
9941 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9942 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9944 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9946 hardcode_libdir_flag_spec='-R$libdir'
9948 hardcode_shlibpath_var=no
9952 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9954 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9955 hardcode_libdir_separator=:
9956 hardcode_shlibpath_var=no
9963 if test -f /usr/libexec/ld.so; then
9965 hardcode_shlibpath_var=no
9966 hardcode_direct_absolute=yes
9967 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
9968 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9969 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
9970 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9971 export_dynamic_flag_spec='$wl-E'
9973 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9974 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9982 hardcode_libdir_flag_spec='-L$libdir'
9983 hardcode_minus_L=yes
9984 allow_undefined_flag=unsupported
9986 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9987 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9988 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9989 $ECHO EXPORTS >> $output_objdir/$libname.def~
9990 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9991 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9992 emximp -o $lib $output_objdir/$libname.def'
9993 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9994 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9995 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9996 $ECHO EXPORTS >> $output_objdir/$libname.def~
9998 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9999 prefix_cmds="$prefix_cmds -e 1d";
10001 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10002 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10003 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10004 emximp -o $lib $output_objdir/$libname.def'
10005 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10006 enable_shared_with_static_runtimes=yes
10010 if test yes = "$GCC"; then
10011 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10012 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'
10014 allow_undefined_flag=' -expect_unresolved \*'
10015 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'
10017 archive_cmds_need_lc='no'
10018 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10019 hardcode_libdir_separator=:
10022 osf4* | osf5*) # as osf3* with the addition of -msym flag
10023 if test yes = "$GCC"; then
10024 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10025 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'
10026 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10028 allow_undefined_flag=' -expect_unresolved \*'
10029 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'
10030 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~
10031 $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'
10033 # Both c and cxx compiler support -rpath directly
10034 hardcode_libdir_flag_spec='-rpath $libdir'
10036 archive_cmds_need_lc='no'
10037 hardcode_libdir_separator=:
10041 no_undefined_flag=' -z defs'
10042 if test yes = "$GCC"; then
10044 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10045 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10046 $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'
10048 case `$CC -V 2>&1` in
10051 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10052 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10053 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10057 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10058 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10059 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10063 hardcode_libdir_flag_spec='-R$libdir'
10064 hardcode_shlibpath_var=no
10066 solaris2.[0-5] | solaris2.[0-5].*) ;;
10068 # The compiler driver will combine and reorder linker options,
10069 # but understands '-z linker_flag'. GCC discards it without '$wl',
10070 # but is careful enough not to reorder.
10071 # Supported since Solaris 2.6 (maybe 2.5.1?)
10072 if test yes = "$GCC"; then
10073 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10075 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10079 link_all_deplibs=yes
10083 if test sequent = "$host_vendor"; then
10084 # Use $CC to link under sequent, because it throws in some extra .o
10085 # files that make .init and .fini sections work.
10086 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10088 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10090 hardcode_libdir_flag_spec='-L$libdir'
10091 hardcode_direct=yes
10092 hardcode_minus_L=yes
10093 hardcode_shlibpath_var=no
10097 case $host_vendor in
10099 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10100 hardcode_direct=yes # is this really true???
10103 ## LD is ld it makes a PLAMLIB
10104 ## CC just makes a GrossModule.
10105 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10106 reload_cmds='$CC -r -o $output$reload_objs'
10110 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10111 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10114 runpath_var='LD_RUN_PATH'
10115 hardcode_shlibpath_var=no
10119 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10120 hardcode_shlibpath_var=no
10121 export_dynamic_flag_spec='-Bexport'
10125 if test -d /usr/nec; then
10126 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10127 hardcode_shlibpath_var=no
10128 runpath_var=LD_RUN_PATH
10129 hardcode_runpath_var=yes
10134 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10135 no_undefined_flag='$wl-z,text'
10136 archive_cmds_need_lc=no
10137 hardcode_shlibpath_var=no
10138 runpath_var='LD_RUN_PATH'
10140 if test yes = "$GCC"; then
10141 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10142 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10144 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10145 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10149 sysv5* | sco3.2v5* | sco5v6*)
10150 # Note: We CANNOT use -z defs as we might desire, because we do not
10151 # link with -lc, and that would cause any symbols used from libc to
10152 # always be unresolved, which means just about no library would
10153 # ever link correctly. If we're not using GNU ld we use -z text
10154 # though, which does catch some bad symbols but isn't as heavy-handed
10156 no_undefined_flag='$wl-z,text'
10157 allow_undefined_flag='$wl-z,nodefs'
10158 archive_cmds_need_lc=no
10159 hardcode_shlibpath_var=no
10160 hardcode_libdir_flag_spec='$wl-R,$libdir'
10161 hardcode_libdir_separator=':'
10162 link_all_deplibs=yes
10163 export_dynamic_flag_spec='$wl-Bexport'
10164 runpath_var='LD_RUN_PATH'
10166 if test yes = "$GCC"; then
10167 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10168 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10170 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10171 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10176 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10177 hardcode_libdir_flag_spec='-L$libdir'
10178 hardcode_shlibpath_var=no
10186 if test sni = "$host_vendor"; then
10188 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10189 export_dynamic_flag_spec='$wl-Blargedynsym'
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10196 $as_echo "$ld_shlibs" >&6; }
10197 test no = "$ld_shlibs" && can_build_shared=no
10199 with_gnu_ld=$with_gnu_ld
10216 # Do we need to explicitly link libc?
10218 case "x$archive_cmds_need_lc" in
10220 # Assume -lc should be added
10221 archive_cmds_need_lc=yes
10223 if test yes,yes = "$GCC,$enable_shared"; then
10224 case $archive_cmds in
10226 # FIXME: we may have to deal with multi-command sequences.
10229 # Test whether the compiler implicitly links with -lc since on some
10230 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10231 # to ld, don't add -lc before -lgcc.
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10233 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10234 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10235 $as_echo_n "(cached) " >&6
10238 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10240 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10241 (eval $ac_compile) 2>&5
10243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10244 test $ac_status = 0; } 2>conftest.err; then
10247 libobjs=conftest.$ac_objext
10249 wl=$lt_prog_compiler_wl
10250 pic_flag=$lt_prog_compiler_pic
10256 lt_save_allow_undefined_flag=$allow_undefined_flag
10257 allow_undefined_flag=
10258 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10259 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10262 test $ac_status = 0; }
10264 lt_cv_archive_cmds_need_lc=no
10266 lt_cv_archive_cmds_need_lc=yes
10268 allow_undefined_flag=$lt_save_allow_undefined_flag
10270 cat conftest.err 1>&5
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10276 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10277 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10436 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10438 if test yes = "$GCC"; then
10440 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10441 *) lt_awk_arg='/^libraries:/' ;;
10444 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10445 *) lt_sed_strip_eq='s|=/|/|g' ;;
10447 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10448 case $lt_search_path_spec in
10450 # if the path contains ";" then we assume it to be the separator
10451 # otherwise default to the standard path separator (i.e. ":") - it is
10452 # assumed that no part of a normal pathname contains ";" but that should
10453 # okay in the real world where ";" in dirpaths is itself problematic.
10454 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10457 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10460 # Ok, now we have the path, separated by spaces, we can step through it
10461 # and add multilib dir if necessary...
10462 lt_tmp_lt_search_path_spec=
10463 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10464 # ...but if some path component already ends with the multilib dir we assume
10465 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10466 case "$lt_multi_os_dir; $lt_search_path_spec " in
10467 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10471 for lt_sys_path in $lt_search_path_spec; do
10472 if test -d "$lt_sys_path$lt_multi_os_dir"; then
10473 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10474 elif test -n "$lt_multi_os_dir"; then
10475 test -d "$lt_sys_path" && \
10476 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10479 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10480 BEGIN {RS = " "; FS = "/|\n";} {
10483 for (lt_i = NF; lt_i > 0; lt_i--) {
10484 if ($lt_i != "" && $lt_i != ".") {
10485 if ($lt_i == "..") {
10488 if (lt_count == 0) {
10489 lt_foo = "/" $lt_i lt_foo;
10496 if (lt_foo != "") { lt_freq[lt_foo]++; }
10497 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10499 # AWK program above erroneously prepends '/' to C:/dos/paths
10502 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10503 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10505 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10507 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10509 library_names_spec=
10510 libname_spec='lib$name'
10514 postuninstall_cmds=
10518 shlibpath_overrides_runpath=unknown
10520 dynamic_linker="$host_os ld.so"
10521 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10522 need_lib_prefix=unknown
10523 hardcode_into_libs=no
10525 # when you set need_version to no, make sure it does not cause -set_version
10526 # flags to be left without arguments
10527 need_version=unknown
10533 version_type=linux # correct to gnu/linux during the next big refactor
10534 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10535 shlibpath_var=LIBPATH
10537 # AIX 3 has no versioning support, so we append a major version to the name.
10538 soname_spec='$libname$release$shared_ext$major'
10542 version_type=linux # correct to gnu/linux during the next big refactor
10545 hardcode_into_libs=yes
10546 if test ia64 = "$host_cpu"; then
10547 # AIX 5 supports IA64
10548 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10549 shlibpath_var=LD_LIBRARY_PATH
10551 # With GCC up to 2.95.x, collect2 would create an import file
10552 # for dependence libraries. The import file would start with
10553 # the line '#! .'. This would cause the generated library to
10554 # depend on '.', always an invalid library. This was fixed in
10555 # development snapshots of GCC prior to 3.0.
10557 aix4 | aix4.[01] | aix4.[01].*)
10558 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10560 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10563 can_build_shared=no
10567 # Using Import Files as archive members, it is possible to support
10568 # filename-based versioning of shared library archives on AIX. While
10569 # this would work for both with and without runtime linking, it will
10570 # prevent static linking of such archives. So we do filename-based
10571 # shared library versioning with .so extension only, which is used
10572 # when both runtime linking and shared linking is enabled.
10573 # Unfortunately, runtime linking may impact performance, so we do
10574 # not want this to be the default eventually. Also, we use the
10575 # versioned .so libs for executables only if there is the -brtl
10576 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10577 # To allow for filename-based versioning support, we need to create
10578 # libNAME.so.V as an archive file, containing:
10579 # *) an Import File, referring to the versioned filename of the
10580 # archive as well as the shared archive member, telling the
10581 # bitwidth (32 or 64) of that shared object, and providing the
10582 # list of exported symbols of that shared object, eventually
10583 # decorated with the 'weak' keyword
10584 # *) the shared object with the F_LOADONLY flag set, to really avoid
10585 # it being seen by the linker.
10586 # At run time we better use the real file rather than another symlink,
10587 # but for link time we create the symlink libNAME.so -> libNAME.so.V
10589 case $with_aix_soname,$aix_use_runtimelinking in
10590 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10591 # soname into executable. Probably we can add versioning support to
10592 # collect2, so additional links can be useful in future.
10593 aix,yes) # traditional libtool
10594 dynamic_linker='AIX unversionable lib.so'
10595 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10596 # instead of lib<name>.a to let people know that these are not
10597 # typical AIX shared libraries.
10598 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10600 aix,no) # traditional AIX only
10601 dynamic_linker='AIX lib.a(lib.so.V)'
10602 # We preserve .a as extension for shared libraries through AIX4.2
10603 # and later when we are not doing run time linking.
10604 library_names_spec='$libname$release.a $libname.a'
10605 soname_spec='$libname$release$shared_ext$major'
10607 svr4,*) # full svr4 only
10608 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
10609 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10610 # We do not specify a path in Import Files, so LIBPATH fires.
10611 shlibpath_overrides_runpath=yes
10613 *,yes) # both, prefer svr4
10614 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10615 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10616 # unpreferred sharedlib libNAME.a needs extra handling
10617 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
10618 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
10619 # We do not specify a path in Import Files, so LIBPATH fires.
10620 shlibpath_overrides_runpath=yes
10622 *,no) # both, prefer aix
10623 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10624 library_names_spec='$libname$release.a $libname.a'
10625 soname_spec='$libname$release$shared_ext$major'
10626 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10627 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
10628 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
10631 shlibpath_var=LIBPATH
10638 # Since July 2007 AmigaOS4 officially supports .so libraries.
10639 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10640 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10643 library_names_spec='$libname.ixlibrary $libname.a'
10644 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10645 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
10651 library_names_spec='$libname$shared_ext'
10652 dynamic_linker="$host_os ld.so"
10653 shlibpath_var=LIBRARY_PATH
10657 version_type=linux # correct to gnu/linux during the next big refactor
10659 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10660 soname_spec='$libname$release$shared_ext$major'
10661 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10662 shlibpath_var=LD_LIBRARY_PATH
10663 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10664 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10665 # the default ld.so.conf also contains /usr/contrib/lib and
10666 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10667 # libtool to hard-code these into programs
10670 cygwin* | mingw* | pw32* | cegcc*)
10671 version_type=windows
10676 case $GCC,$cc_basename in
10679 library_names_spec='$libname.dll.a'
10680 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10681 postinstall_cmds='base_file=`basename \$file`~
10682 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10683 dldir=$destdir/`dirname \$dlpath`~
10684 test -d \$dldir || mkdir -p \$dldir~
10685 $install_prog $dir/$dlname \$dldir/$dlname~
10686 chmod a+x \$dldir/$dlname~
10687 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10688 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10690 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10691 dlpath=$dir/\$dldll~
10693 shlibpath_overrides_runpath=yes
10697 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10698 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10700 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10703 # MinGW DLLs use traditional 'lib' prefix
10704 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10707 # pw32 DLLs use 'pw' prefix rather than 'lib'
10708 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10711 dynamic_linker='Win32 ld.exe'
10716 libname_spec='$name'
10717 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10718 library_names_spec='$libname.dll.lib'
10722 sys_lib_search_path_spec=
10725 for lt_path in $LIB
10728 # Let DOS variable expansion print the short 8.3 style file name.
10729 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10730 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10733 # Convert to MSYS style.
10734 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10737 # Convert to unix form, then to dos form, then back to unix form
10738 # but this time dos style (no spaces!) so that the unix form looks
10739 # like /cygdrive/c/PROGRA~1:/cygdr...
10740 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10741 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10742 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10745 sys_lib_search_path_spec=$LIB
10746 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10747 # It is most probably a Windows format PATH.
10748 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10750 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10752 # FIXME: find the short name or the path components, as spaces are
10753 # common. (e.g. "Program Files" -> "PROGRA~1")
10757 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10758 postinstall_cmds='base_file=`basename \$file`~
10759 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10760 dldir=$destdir/`dirname \$dlpath`~
10761 test -d \$dldir || mkdir -p \$dldir~
10762 $install_prog $dir/$dlname \$dldir/$dlname'
10763 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10764 dlpath=$dir/\$dldll~
10766 shlibpath_overrides_runpath=yes
10767 dynamic_linker='Win32 link.exe'
10771 # Assume MSVC wrapper
10772 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
10773 dynamic_linker='Win32 ld.exe'
10776 # FIXME: first we should search . and the directory the executable is in
10780 darwin* | rhapsody*)
10781 dynamic_linker="$host_os dyld"
10782 version_type=darwin
10785 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
10786 soname_spec='$libname$release$major$shared_ext'
10787 shlibpath_overrides_runpath=yes
10788 shlibpath_var=DYLD_LIBRARY_PATH
10789 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10791 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10792 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10796 version_type=linux # correct to gnu/linux during the next big refactor
10799 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10800 soname_spec='$libname$release$shared_ext$major'
10801 shlibpath_var=LD_LIBRARY_PATH
10804 freebsd* | dragonfly*)
10805 # DragonFly does not have aout. When/if they implement a new
10806 # versioning mechanism, adjust this.
10807 if test -x /usr/bin/objformat; then
10808 objformat=`/usr/bin/objformat`
10811 freebsd[23].*) objformat=aout ;;
10812 *) objformat=elf ;;
10815 version_type=freebsd-$objformat
10816 case $version_type in
10818 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10819 soname_spec='$libname$release$shared_ext$major'
10824 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10828 shlibpath_var=LD_LIBRARY_PATH
10831 shlibpath_overrides_runpath=yes
10833 freebsd3.[01]* | freebsdelf3.[01]*)
10834 shlibpath_overrides_runpath=yes
10835 hardcode_into_libs=yes
10837 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10838 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10839 shlibpath_overrides_runpath=no
10840 hardcode_into_libs=yes
10842 *) # from 4.6 on, and DragonFly
10843 shlibpath_overrides_runpath=yes
10844 hardcode_into_libs=yes
10850 version_type=linux # correct to gnu/linux during the next big refactor
10853 dynamic_linker="$host_os runtime_loader"
10854 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10855 soname_spec='$libname$release$shared_ext$major'
10856 shlibpath_var=LIBRARY_PATH
10857 shlibpath_overrides_runpath=no
10858 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10859 hardcode_into_libs=yes
10862 hpux9* | hpux10* | hpux11*)
10863 # Give a soname corresponding to the major version so that dld.sl refuses to
10864 # link against other versions.
10871 hardcode_into_libs=yes
10872 dynamic_linker="$host_os dld.so"
10873 shlibpath_var=LD_LIBRARY_PATH
10874 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10875 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10876 soname_spec='$libname$release$shared_ext$major'
10877 if test 32 = "$HPUX_IA64_MODE"; then
10878 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10879 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
10881 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10882 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
10887 hardcode_into_libs=yes
10888 dynamic_linker="$host_os dld.sl"
10889 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10890 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10891 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10892 soname_spec='$libname$release$shared_ext$major'
10893 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10894 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10898 dynamic_linker="$host_os dld.sl"
10899 shlibpath_var=SHLIB_PATH
10900 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10901 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10902 soname_spec='$libname$release$shared_ext$major'
10905 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10906 postinstall_cmds='chmod 555 $lib'
10907 # or fails outright, so override atomically:
10908 install_override_mode=555
10912 version_type=linux # correct to gnu/linux during the next big refactor
10915 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10916 soname_spec='$libname$release$shared_ext$major'
10917 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10918 shlibpath_var=LD_LIBRARY_PATH
10919 shlibpath_overrides_runpath=no
10920 hardcode_into_libs=yes
10923 irix5* | irix6* | nonstopux*)
10925 nonstopux*) version_type=nonstopux ;;
10927 if test yes = "$lt_cv_prog_gnu_ld"; then
10928 version_type=linux # correct to gnu/linux during the next big refactor
10935 soname_spec='$libname$release$shared_ext$major'
10936 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
10938 irix5* | nonstopux*)
10939 libsuff= shlibsuff=
10942 case $LD in # libtool.m4 will add one of these switches to LD
10943 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10944 libsuff= shlibsuff= libmagic=32-bit;;
10945 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10946 libsuff=32 shlibsuff=N32 libmagic=N32;;
10947 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10948 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10949 *) libsuff= shlibsuff= libmagic=never-match;;
10953 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10954 shlibpath_overrides_runpath=no
10955 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
10956 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
10957 hardcode_into_libs=yes
10960 # No shared lib support for Linux oldld, aout, or coff.
10961 linux*oldld* | linux*aout* | linux*coff*)
10966 version_type=none # Android doesn't support versioned libraries.
10969 library_names_spec='$libname$release$shared_ext'
10970 soname_spec='$libname$release$shared_ext'
10972 shlibpath_var=LD_LIBRARY_PATH
10973 shlibpath_overrides_runpath=yes
10975 # This implies no fast_install, which is unacceptable.
10976 # Some rework will be needed to allow for fast_install
10977 # before this can be enabled.
10978 hardcode_into_libs=yes
10980 dynamic_linker='Android linker'
10981 # Don't embed -rpath directories since the linker doesn't support them.
10982 hardcode_libdir_flag_spec='-L$libdir'
10985 # This must be glibc/ELF.
10986 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10987 version_type=linux # correct to gnu/linux during the next big refactor
10990 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10991 soname_spec='$libname$release$shared_ext$major'
10992 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10993 shlibpath_var=LD_LIBRARY_PATH
10994 shlibpath_overrides_runpath=no
10996 # Some binutils ld are patched to set DT_RUNPATH
10997 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10998 $as_echo_n "(cached) " >&6
11000 lt_cv_shlibpath_overrides_runpath=no
11001 save_LDFLAGS=$LDFLAGS
11002 save_libdir=$libdir
11003 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11004 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11006 /* end confdefs.h. */
11016 if ac_fn_c_try_link "$LINENO"; then :
11017 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11018 lt_cv_shlibpath_overrides_runpath=yes
11021 rm -f core conftest.err conftest.$ac_objext \
11022 conftest$ac_exeext conftest.$ac_ext
11023 LDFLAGS=$save_LDFLAGS
11024 libdir=$save_libdir
11028 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11030 # This implies no fast_install, which is unacceptable.
11031 # Some rework will be needed to allow for fast_install
11032 # before this can be enabled.
11033 hardcode_into_libs=yes
11035 # Ideally, we could use ldconfig to report *all* directores which are
11036 # searched for libraries, however this is still not possible. Aside from not
11037 # being certain /sbin/ldconfig is available, command
11038 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11039 # even though it is searched at run-time. Try to do the best guess by
11040 # appending ld.so.conf contents (and includes) to the search path.
11041 if test -f /etc/ld.so.conf; then
11042 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' ' '`
11043 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11046 # We used to test for /lib/ld.so.1 and disable shared libraries on
11047 # powerpc, because MkLinux only supported shared libraries with the
11048 # GNU dynamic linker. Since this was broken with cross compilers,
11049 # most powerpc-linux boxes support dynamic linking these days and
11050 # people can always --disable-shared, the test was removed, and we
11051 # assume the GNU/Linux dynamic linker is in use.
11052 dynamic_linker='GNU/Linux ld.so'
11059 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11060 soname_spec='${libname}${release}${shared_ext}$major'
11061 shlibpath_var=LD_LIBRARY_PATH
11062 shlibpath_overrides_runpath=no
11063 hardcode_into_libs=yes
11064 dynamic_linker='NetBSD ld.elf_so'
11071 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11072 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11073 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11074 dynamic_linker='NetBSD (a.out) ld.so'
11076 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11077 soname_spec='$libname$release$shared_ext$major'
11078 dynamic_linker='NetBSD ld.elf_so'
11080 shlibpath_var=LD_LIBRARY_PATH
11081 shlibpath_overrides_runpath=yes
11082 hardcode_into_libs=yes
11086 version_type=linux # correct to gnu/linux during the next big refactor
11087 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11088 shlibpath_var=LD_LIBRARY_PATH
11089 shlibpath_overrides_runpath=yes
11096 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11097 soname_spec='$libname$release$shared_ext$major'
11098 shlibpath_var=LD_LIBRARY_PATH
11099 shlibpath_overrides_runpath=no
11100 hardcode_into_libs=yes
11101 dynamic_linker='ldqnx.so'
11104 openbsd* | bitrig*)
11106 sys_lib_dlsearch_path_spec=/usr/lib
11108 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11113 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11114 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11115 shlibpath_var=LD_LIBRARY_PATH
11116 shlibpath_overrides_runpath=yes
11120 libname_spec='$name'
11121 version_type=windows
11125 # OS/2 can only load a DLL with a base name of 8 characters or less.
11126 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11127 v=$($ECHO $release$versuffix | tr -d .-);
11128 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11129 $ECHO $n$v`$shared_ext'
11130 library_names_spec='${libname}_dll.$libext'
11131 dynamic_linker='OS/2 ld.exe'
11132 shlibpath_var=BEGINLIBPATH
11133 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11134 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11135 postinstall_cmds='base_file=`basename \$file`~
11136 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11137 dldir=$destdir/`dirname \$dlpath`~
11138 test -d \$dldir || mkdir -p \$dldir~
11139 $install_prog $dir/$dlname \$dldir/$dlname~
11140 chmod a+x \$dldir/$dlname~
11141 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11142 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11144 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11145 dlpath=$dir/\$dldll~
11149 osf3* | osf4* | osf5*)
11153 soname_spec='$libname$release$shared_ext$major'
11154 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11155 shlibpath_var=LD_LIBRARY_PATH
11156 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11157 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11165 version_type=linux # correct to gnu/linux during the next big refactor
11168 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11169 soname_spec='$libname$release$shared_ext$major'
11170 shlibpath_var=LD_LIBRARY_PATH
11171 shlibpath_overrides_runpath=yes
11172 hardcode_into_libs=yes
11173 # ldd complains unless libraries are executable
11174 postinstall_cmds='chmod +x $lib'
11179 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11180 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11181 shlibpath_var=LD_LIBRARY_PATH
11182 shlibpath_overrides_runpath=yes
11183 if test yes = "$with_gnu_ld"; then
11190 version_type=linux # correct to gnu/linux during the next big refactor
11191 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11192 soname_spec='$libname$release$shared_ext$major'
11193 shlibpath_var=LD_LIBRARY_PATH
11194 case $host_vendor in
11196 shlibpath_overrides_runpath=no
11198 runpath_var=LD_RUN_PATH
11206 shlibpath_overrides_runpath=no
11207 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11213 if test -d /usr/nec; then
11214 version_type=linux # correct to gnu/linux during the next big refactor
11215 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11216 soname_spec='$libname$shared_ext.$major'
11217 shlibpath_var=LD_LIBRARY_PATH
11221 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11225 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11226 soname_spec='$libname$release$shared_ext$major'
11227 shlibpath_var=LD_LIBRARY_PATH
11228 shlibpath_overrides_runpath=yes
11229 hardcode_into_libs=yes
11230 if test yes = "$with_gnu_ld"; then
11231 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11233 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11236 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11240 sys_lib_dlsearch_path_spec='/usr/lib'
11244 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11245 version_type=linux # correct to gnu/linux during the next big refactor
11248 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11249 shlibpath_var=LD_LIBRARY_PATH
11250 shlibpath_overrides_runpath=no
11251 hardcode_into_libs=yes
11255 version_type=linux # correct to gnu/linux during the next big refactor
11256 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11257 soname_spec='$libname$release$shared_ext$major'
11258 shlibpath_var=LD_LIBRARY_PATH
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11266 $as_echo "$dynamic_linker" >&6; }
11267 test no = "$dynamic_linker" && can_build_shared=no
11269 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11270 if test yes = "$GCC"; then
11271 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11274 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11275 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11278 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11279 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11282 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11283 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11285 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11286 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11288 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11289 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11388 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11390 if test -n "$hardcode_libdir_flag_spec" ||
11391 test -n "$runpath_var" ||
11392 test yes = "$hardcode_automatic"; then
11394 # We can hardcode non-existent directories.
11395 if test no != "$hardcode_direct" &&
11396 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11397 # have to relink, otherwise we might link with an installed library
11398 # when we should be linking with a yet-to-be-installed one
11399 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11400 test no != "$hardcode_minus_L"; then
11401 # Linking always hardcodes the temporary library directory.
11402 hardcode_action=relink
11404 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11405 hardcode_action=immediate
11408 # We cannot hardcode anything, or else we can only hardcode existing
11410 hardcode_action=unsupported
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11413 $as_echo "$hardcode_action" >&6; }
11415 if test relink = "$hardcode_action" ||
11416 test yes = "$inherit_rpath"; then
11417 # Fast installation is not supported
11418 enable_fast_install=no
11419 elif test yes = "$shlibpath_overrides_runpath" ||
11420 test no = "$enable_shared"; then
11421 # Fast installation is not necessary
11422 enable_fast_install=needless
11430 if test yes != "$enable_dlopen"; then
11431 enable_dlopen=unknown
11432 enable_dlopen_self=unknown
11433 enable_dlopen_self_static=unknown
11440 lt_cv_dlopen=load_add_on
11442 lt_cv_dlopen_self=yes
11445 mingw* | pw32* | cegcc*)
11446 lt_cv_dlopen=LoadLibrary
11451 lt_cv_dlopen=dlopen
11456 # if libdl is installed we need to link against it
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11458 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11459 if ${ac_cv_lib_dl_dlopen+:} false; then :
11460 $as_echo_n "(cached) " >&6
11462 ac_check_lib_save_LIBS=$LIBS
11464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11465 /* end confdefs.h. */
11467 /* Override any GCC internal prototype to avoid an error.
11468 Use char because int might match the return type of a GCC
11469 builtin and then its argument prototype would still apply. */
11482 if ac_fn_c_try_link "$LINENO"; then :
11483 ac_cv_lib_dl_dlopen=yes
11485 ac_cv_lib_dl_dlopen=no
11487 rm -f core conftest.err conftest.$ac_objext \
11488 conftest$ac_exeext conftest.$ac_ext
11489 LIBS=$ac_check_lib_save_LIBS
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11492 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11493 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11494 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11499 lt_cv_dlopen_self=yes
11506 # Don't try to run any link tests for TPF. We know it's impossible
11507 # because TPF is a cross-compiler, and we know how we open DSOs.
11508 lt_cv_dlopen=dlopen
11510 lt_cv_dlopen_self=no
11514 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11515 if test "x$ac_cv_func_shl_load" = xyes; then :
11516 lt_cv_dlopen=shl_load
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11519 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11520 if ${ac_cv_lib_dld_shl_load+:} false; then :
11521 $as_echo_n "(cached) " >&6
11523 ac_check_lib_save_LIBS=$LIBS
11525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11526 /* end confdefs.h. */
11528 /* Override any GCC internal prototype to avoid an error.
11529 Use char because int might match the return type of a GCC
11530 builtin and then its argument prototype would still apply. */
11538 return shl_load ();
11543 if ac_fn_c_try_link "$LINENO"; then :
11544 ac_cv_lib_dld_shl_load=yes
11546 ac_cv_lib_dld_shl_load=no
11548 rm -f core conftest.err conftest.$ac_objext \
11549 conftest$ac_exeext conftest.$ac_ext
11550 LIBS=$ac_check_lib_save_LIBS
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11553 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11554 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11555 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11557 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11558 if test "x$ac_cv_func_dlopen" = xyes; then :
11559 lt_cv_dlopen=dlopen
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11562 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11563 if ${ac_cv_lib_dl_dlopen+:} false; then :
11564 $as_echo_n "(cached) " >&6
11566 ac_check_lib_save_LIBS=$LIBS
11568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11569 /* end confdefs.h. */
11571 /* Override any GCC internal prototype to avoid an error.
11572 Use char because int might match the return type of a GCC
11573 builtin and then its argument prototype would still apply. */
11586 if ac_fn_c_try_link "$LINENO"; then :
11587 ac_cv_lib_dl_dlopen=yes
11589 ac_cv_lib_dl_dlopen=no
11591 rm -f core conftest.err conftest.$ac_objext \
11592 conftest$ac_exeext conftest.$ac_ext
11593 LIBS=$ac_check_lib_save_LIBS
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11596 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11597 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11598 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11601 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11602 if ${ac_cv_lib_svld_dlopen+:} false; then :
11603 $as_echo_n "(cached) " >&6
11605 ac_check_lib_save_LIBS=$LIBS
11606 LIBS="-lsvld $LIBS"
11607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11608 /* end confdefs.h. */
11610 /* Override any GCC internal prototype to avoid an error.
11611 Use char because int might match the return type of a GCC
11612 builtin and then its argument prototype would still apply. */
11625 if ac_fn_c_try_link "$LINENO"; then :
11626 ac_cv_lib_svld_dlopen=yes
11628 ac_cv_lib_svld_dlopen=no
11630 rm -f core conftest.err conftest.$ac_objext \
11631 conftest$ac_exeext conftest.$ac_ext
11632 LIBS=$ac_check_lib_save_LIBS
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11635 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11636 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11637 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11640 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11641 if ${ac_cv_lib_dld_dld_link+:} false; then :
11642 $as_echo_n "(cached) " >&6
11644 ac_check_lib_save_LIBS=$LIBS
11646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11647 /* end confdefs.h. */
11649 /* Override any GCC internal prototype to avoid an error.
11650 Use char because int might match the return type of a GCC
11651 builtin and then its argument prototype would still apply. */
11659 return dld_link ();
11664 if ac_fn_c_try_link "$LINENO"; then :
11665 ac_cv_lib_dld_dld_link=yes
11667 ac_cv_lib_dld_dld_link=no
11669 rm -f core conftest.err conftest.$ac_objext \
11670 conftest$ac_exeext conftest.$ac_ext
11671 LIBS=$ac_check_lib_save_LIBS
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11674 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11675 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11676 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
11697 if test no = "$lt_cv_dlopen"; then
11703 case $lt_cv_dlopen in
11705 save_CPPFLAGS=$CPPFLAGS
11706 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11708 save_LDFLAGS=$LDFLAGS
11709 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11712 LIBS="$lt_cv_dlopen_libs $LIBS"
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11715 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11716 if ${lt_cv_dlopen_self+:} false; then :
11717 $as_echo_n "(cached) " >&6
11719 if test yes = "$cross_compiling"; then :
11720 lt_cv_dlopen_self=cross
11722 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11723 lt_status=$lt_dlunknown
11724 cat > conftest.$ac_ext <<_LT_EOF
11725 #line $LINENO "configure"
11726 #include "confdefs.h"
11735 # define LT_DLGLOBAL RTLD_GLOBAL
11738 # define LT_DLGLOBAL DL_GLOBAL
11740 # define LT_DLGLOBAL 0
11744 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11745 find out it does not work in some platform. */
11746 #ifndef LT_DLLAZY_OR_NOW
11748 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11751 # define LT_DLLAZY_OR_NOW DL_LAZY
11754 # define LT_DLLAZY_OR_NOW RTLD_NOW
11757 # define LT_DLLAZY_OR_NOW DL_NOW
11759 # define LT_DLLAZY_OR_NOW 0
11766 /* When -fvisibility=hidden is used, assume the code has been annotated
11767 correspondingly for the symbols needed. */
11768 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11769 int fnord () __attribute__((visibility("default")));
11772 int fnord () { return 42; }
11775 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11776 int status = $lt_dlunknown;
11780 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11783 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11784 else puts (dlerror ());
11786 /* dlclose (self); */
11794 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11795 (eval $ac_link) 2>&5
11797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11798 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11799 (./conftest; exit; ) >&5 2>/dev/null
11801 case x$lt_status in
11802 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11803 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11804 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11807 # compilation failed
11808 lt_cv_dlopen_self=no
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11816 $as_echo "$lt_cv_dlopen_self" >&6; }
11818 if test yes = "$lt_cv_dlopen_self"; then
11819 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11821 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11822 if ${lt_cv_dlopen_self_static+:} false; then :
11823 $as_echo_n "(cached) " >&6
11825 if test yes = "$cross_compiling"; then :
11826 lt_cv_dlopen_self_static=cross
11828 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11829 lt_status=$lt_dlunknown
11830 cat > conftest.$ac_ext <<_LT_EOF
11831 #line $LINENO "configure"
11832 #include "confdefs.h"
11841 # define LT_DLGLOBAL RTLD_GLOBAL
11844 # define LT_DLGLOBAL DL_GLOBAL
11846 # define LT_DLGLOBAL 0
11850 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11851 find out it does not work in some platform. */
11852 #ifndef LT_DLLAZY_OR_NOW
11854 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11857 # define LT_DLLAZY_OR_NOW DL_LAZY
11860 # define LT_DLLAZY_OR_NOW RTLD_NOW
11863 # define LT_DLLAZY_OR_NOW DL_NOW
11865 # define LT_DLLAZY_OR_NOW 0
11872 /* When -fvisibility=hidden is used, assume the code has been annotated
11873 correspondingly for the symbols needed. */
11874 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11875 int fnord () __attribute__((visibility("default")));
11878 int fnord () { return 42; }
11881 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11882 int status = $lt_dlunknown;
11886 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11889 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11890 else puts (dlerror ());
11892 /* dlclose (self); */
11900 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11901 (eval $ac_link) 2>&5
11903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11904 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11905 (./conftest; exit; ) >&5 2>/dev/null
11907 case x$lt_status in
11908 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11909 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11910 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11913 # compilation failed
11914 lt_cv_dlopen_self_static=no
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11922 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11925 CPPFLAGS=$save_CPPFLAGS
11926 LDFLAGS=$save_LDFLAGS
11931 case $lt_cv_dlopen_self in
11932 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11933 *) enable_dlopen_self=unknown ;;
11936 case $lt_cv_dlopen_self_static in
11937 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11938 *) enable_dlopen_self_static=unknown ;;
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11961 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11962 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11963 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11964 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11966 $as_echo "yes" >&6; }
11968 # FIXME - insert some real tests, host_os isn't really good enough
11971 if test -n "$STRIP"; then
11972 striplib="$STRIP -x"
11973 old_striplib="$STRIP -S"
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11975 $as_echo "yes" >&6; }
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11978 $as_echo "no" >&6; }
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11983 $as_echo "no" >&6; }
11999 # Report what library types will actually be built
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12001 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12003 $as_echo "$can_build_shared" >&6; }
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12006 $as_echo_n "checking whether to build shared libraries... " >&6; }
12007 test no = "$can_build_shared" && enable_shared=no
12009 # On AIX, shared libraries and static libraries use the same namespace, and
12010 # are all built from PIC.
12013 test yes = "$enable_shared" && enable_static=no
12014 if test -n "$RANLIB"; then
12015 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12016 postinstall_cmds='$RANLIB $lib'
12021 if test ia64 != "$host_cpu"; then
12022 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12023 yes,aix,yes) ;; # shared object as lib.so file only
12024 yes,svr4,*) ;; # shared object as lib.so archive member only
12025 yes,*) enable_static=no ;; # shared object in lib.a archive as well
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12031 $as_echo "$enable_shared" >&6; }
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12034 $as_echo_n "checking whether to build static libraries... " >&6; }
12035 # Make sure either enable_shared or enable_static is yes.
12036 test yes = "$enable_shared" || enable_static=yes
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12038 $as_echo "$enable_static" >&6; }
12045 ac_cpp='$CPP $CPPFLAGS'
12046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12066 ac_config_commands="$ac_config_commands libtool"
12071 # Only expand once:
12075 # Extract the first word of "doxygen", so it can be a program name with args.
12076 set dummy doxygen; ac_word=$2
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12078 $as_echo_n "checking for $ac_word... " >&6; }
12079 if ${ac_cv_prog_DOXYGEN+:} false; then :
12080 $as_echo_n "(cached) " >&6
12082 if test -n "$DOXYGEN"; then
12083 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
12085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12086 for as_dir in $PATH
12089 test -z "$as_dir" && as_dir=.
12090 for ac_exec_ext in '' $ac_executable_extensions; do
12091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12092 ac_cv_prog_DOXYGEN="true"
12093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12100 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="false"
12103 DOXYGEN=$ac_cv_prog_DOXYGEN
12104 if test -n "$DOXYGEN"; then
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
12106 $as_echo "$DOXYGEN" >&6; }
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12109 $as_echo "no" >&6; }
12113 if test "$DOXYGEN" = true; then
12122 # Checks for header files.
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12124 $as_echo_n "checking for ANSI C header files... " >&6; }
12125 if ${ac_cv_header_stdc+:} false; then :
12126 $as_echo_n "(cached) " >&6
12128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12129 /* end confdefs.h. */
12130 #include <stdlib.h>
12131 #include <stdarg.h>
12132 #include <string.h>
12143 if ac_fn_c_try_compile "$LINENO"; then :
12144 ac_cv_header_stdc=yes
12146 ac_cv_header_stdc=no
12148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12150 if test $ac_cv_header_stdc = yes; then
12151 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12153 /* end confdefs.h. */
12154 #include <string.h>
12157 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12158 $EGREP "memchr" >/dev/null 2>&1; then :
12161 ac_cv_header_stdc=no
12167 if test $ac_cv_header_stdc = yes; then
12168 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12170 /* end confdefs.h. */
12171 #include <stdlib.h>
12174 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12175 $EGREP "free" >/dev/null 2>&1; then :
12178 ac_cv_header_stdc=no
12184 if test $ac_cv_header_stdc = yes; then
12185 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12186 if test "$cross_compiling" = yes; then :
12189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12190 /* end confdefs.h. */
12192 #include <stdlib.h>
12193 #if ((' ' & 0x0FF) == 0x020)
12194 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12195 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12197 # define ISLOWER(c) \
12198 (('a' <= (c) && (c) <= 'i') \
12199 || ('j' <= (c) && (c) <= 'r') \
12200 || ('s' <= (c) && (c) <= 'z'))
12201 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12204 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12209 for (i = 0; i < 256; i++)
12210 if (XOR (islower (i), ISLOWER (i))
12211 || toupper (i) != TOUPPER (i))
12216 if ac_fn_c_try_run "$LINENO"; then :
12219 ac_cv_header_stdc=no
12221 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12222 conftest.$ac_objext conftest.beam conftest.$ac_ext
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12228 $as_echo "$ac_cv_header_stdc" >&6; }
12229 if test $ac_cv_header_stdc = yes; then
12231 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12235 for ac_header in stdlib.h
12237 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12238 if test "x$ac_cv_header_stdlib_h" = xyes; then :
12239 cat >>confdefs.h <<_ACEOF
12240 #define HAVE_STDLIB_H 1
12248 # Checks for typedefs, structures, and compiler characteristics.
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12250 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12251 if ${ac_cv_c_const+:} false; then :
12252 $as_echo_n "(cached) " >&6
12254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12255 /* end confdefs.h. */
12261 #ifndef __cplusplus
12262 /* Ultrix mips cc rejects this sort of thing. */
12263 typedef int charset[2];
12264 const charset cs = { 0, 0 };
12265 /* SunOS 4.1.1 cc rejects this. */
12266 char const *const *pcpcc;
12268 /* NEC SVR4.0.2 mips cc rejects this. */
12269 struct point {int x, y;};
12270 static struct point const zero = {0,0};
12271 /* AIX XL C 1.02.0.0 rejects this.
12272 It does not let you subtract one const X* pointer from another in
12273 an arm of an if-expression whose if-part is not a constant
12275 const char *g = "string";
12276 pcpcc = &g + (g ? g-g : 0);
12277 /* HPUX 7.0 cc rejects these. */
12279 ppc = (char**) pcpcc;
12280 pcpcc = (char const *const *) ppc;
12281 { /* SCO 3.2v4 cc rejects this sort of thing. */
12284 char const *s = 0 ? (char *) 0 : (char const *) 0;
12289 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12290 int x[] = {25, 17};
12291 const int *foo = &x[0];
12294 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12295 typedef const int *iptr;
12299 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
12300 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12301 struct s { int j; const int *ap[3]; } bx;
12302 struct s *b = &bx; b->j = 5;
12304 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12305 const int foo = 10;
12306 if (!foo) return 0;
12308 return !cs[0] && !zero.x;
12315 if ac_fn_c_try_compile "$LINENO"; then :
12320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12323 $as_echo "$ac_cv_c_const" >&6; }
12324 if test $ac_cv_c_const = no; then
12326 $as_echo "#define const /**/" >>confdefs.h
12330 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12331 if test "x$ac_cv_type_size_t" = xyes; then :
12335 cat >>confdefs.h <<_ACEOF
12336 #define size_t unsigned int
12342 # Define Makefiles.
12343 ac_config_files="$ac_config_files yaml-0.1.pc include/Makefile src/Makefile Makefile tests/Makefile"
12346 # Generate the "configure" script.
12347 cat >confcache <<\_ACEOF
12348 # This file is a shell script that caches the results of configure
12349 # tests run on this system so they can be shared between configure
12350 # scripts and configure runs, see configure's option --config-cache.
12351 # It is not useful on other systems. If it contains results you don't
12352 # want to keep, you may remove or edit it.
12354 # config.status only pays attention to the cache file if you give it
12355 # the --recheck option to rerun configure.
12357 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12358 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12359 # following values.
12363 # The following way of writing the cache mishandles newlines in values,
12364 # but we know of no workaround that is simple, portable, and efficient.
12365 # So, we kill variables containing newlines.
12366 # Ultrix sh set writes to stderr and can't be redirected directly,
12367 # and sets the high bit in the cache file unless we assign to the vars.
12369 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12370 eval ac_val=\$$ac_var
12374 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12375 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12378 _ | IFS | as_nl) ;; #(
12379 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12380 *) { eval $ac_var=; unset $ac_var;} ;;
12386 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12387 *${as_nl}ac_space=\ *)
12388 # `set' does not quote correctly, so add quotes: double-quote
12389 # substitution turns \\\\ into \\, and sed turns \\ into \.
12392 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12395 # `set' quotes correctly as required by POSIX, so do not add quotes.
12396 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12405 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12407 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12409 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12410 if test -w "$cache_file"; then
12411 if test "x$cache_file" != "x/dev/null"; then
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12413 $as_echo "$as_me: updating cache $cache_file" >&6;}
12414 if test ! -f "$cache_file" || test -h "$cache_file"; then
12415 cat confcache >"$cache_file"
12417 case $cache_file in #(
12419 mv -f confcache "$cache_file"$$ &&
12420 mv -f "$cache_file"$$ "$cache_file" ;; #(
12422 mv -f confcache "$cache_file" ;;
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12428 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12433 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12434 # Let make expand exec_prefix.
12435 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12437 DEFS=-DHAVE_CONFIG_H
12442 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12443 # 1. Remove the extension, and $U if already installed.
12444 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12445 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12446 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12447 # will be set to the directory where LIBOBJS objects are built.
12448 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12449 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12451 LIBOBJS=$ac_libobjs
12453 LTLIBOBJS=$ac_ltlibobjs
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12457 $as_echo_n "checking that generated files are newer than configure... " >&6; }
12458 if test -n "$am_sleep_pid"; then
12459 # Hide warnings about reused PIDs.
12460 wait $am_sleep_pid 2>/dev/null
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12463 $as_echo "done" >&6; }
12464 if test -n "$EXEEXT"; then
12466 am__EXEEXT_FALSE='#'
12468 am__EXEEXT_TRUE='#'
12472 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12473 as_fn_error $? "conditional \"AMDEP\" was never defined.
12474 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12476 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12477 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12478 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12480 if test -z "${DOXYGEN_TRUE}" && test -z "${DOXYGEN_FALSE}"; then
12481 as_fn_error $? "conditional \"DOXYGEN\" was never defined.
12482 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12485 : "${CONFIG_STATUS=./config.status}"
12487 ac_clean_files_save=$ac_clean_files
12488 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12490 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12492 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12494 # Generated by $as_me.
12495 # Run this file to recreate the current configuration.
12496 # Compiler output produced by configure, useful for debugging
12497 # configure, is in config.log if it exists.
12500 ac_cs_recheck=false
12503 SHELL=\${CONFIG_SHELL-$SHELL}
12506 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12507 ## -------------------- ##
12508 ## M4sh Initialization. ##
12509 ## -------------------- ##
12511 # Be more Bourne compatible
12512 DUALCASE=1; export DUALCASE # for MKS sh
12513 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12516 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12517 # is contrary to our usage. Disable this feature.
12518 alias -g '${1+"$@"}'='"$@"'
12519 setopt NO_GLOB_SUBST
12521 case `(set -o) 2>/dev/null` in #(
12533 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12534 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12535 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12536 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12537 # Prefer a ksh shell builtin over an external printf program on Solaris,
12538 # but without wasting forks for bash or zsh.
12539 if test -z "$BASH_VERSION$ZSH_VERSION" \
12540 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12541 as_echo='print -r --'
12542 as_echo_n='print -rn --'
12543 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12544 as_echo='printf %s\n'
12545 as_echo_n='printf %s'
12547 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12548 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12549 as_echo_n='/usr/ucb/echo -n'
12551 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12552 as_echo_n_body='eval
12556 expr "X$arg" : "X\\(.*\\)$as_nl";
12557 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12559 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12561 export as_echo_n_body
12562 as_echo_n='sh -c $as_echo_n_body as_echo'
12564 export as_echo_body
12565 as_echo='sh -c $as_echo_body as_echo'
12568 # The user is always right.
12569 if test "${PATH_SEPARATOR+set}" != set; then
12571 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12572 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12579 # We need space, tab and new line, in precisely that order. Quoting is
12580 # there to prevent editors from complaining about space-tab.
12581 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12582 # splitting by setting IFS to empty value.)
12585 # Find who we are. Look in the path if we contain no directory separator.
12588 *[\\/]* ) as_myself=$0 ;;
12589 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12590 for as_dir in $PATH
12593 test -z "$as_dir" && as_dir=.
12594 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12600 # We did not find ourselves, most probably we were run as `sh COMMAND'
12601 # in which case we are not to be found in the path.
12602 if test "x$as_myself" = x; then
12605 if test ! -f "$as_myself"; then
12606 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12610 # Unset variables that we do not need and which cause bugs (e.g. in
12611 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12612 # suppresses any "Segmentation fault" message there. '((' could
12613 # trigger a bug in pdksh 5.2.14.
12614 for as_var in BASH_ENV ENV MAIL MAILPATH
12615 do eval test x\${$as_var+set} = xset \
12616 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12629 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12632 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12633 # ----------------------------------------
12634 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12635 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12636 # script with STATUS, using 1 if that was 0.
12639 as_status=$1; test $as_status -eq 0 && as_status=1
12641 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12642 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12644 $as_echo "$as_me: error: $2" >&2
12645 as_fn_exit $as_status
12649 # as_fn_set_status STATUS
12650 # -----------------------
12651 # Set $? to STATUS, without forking.
12652 as_fn_set_status ()
12655 } # as_fn_set_status
12657 # as_fn_exit STATUS
12658 # -----------------
12659 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12663 as_fn_set_status $1
12669 # Portably unset VAR.
12672 { eval $1=; unset $1;}
12674 as_unset=as_fn_unset
12675 # as_fn_append VAR VALUE
12676 # ----------------------
12677 # Append the text in VALUE to the end of the definition contained in VAR. Take
12678 # advantage of any shell optimizations that allow amortized linear growth over
12679 # repeated appends, instead of the typical quadratic growth present in naive
12681 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12682 eval 'as_fn_append ()
12693 # as_fn_arith ARG...
12694 # ------------------
12695 # Perform arithmetic evaluation on the ARGs, and store the result in the
12696 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12697 # must be portable across $(()) and expr.
12698 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12699 eval 'as_fn_arith ()
12706 as_val=`expr "$@" || test $? -eq 1`
12711 if expr a : '\(a\)' >/dev/null 2>&1 &&
12712 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12718 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12719 as_basename=basename
12724 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12730 as_me=`$as_basename -- "$0" ||
12731 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12732 X"$0" : 'X\(//\)$' \| \
12733 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12735 sed '/^.*\/\([^/][^/]*\)\/*$/{
12749 # Avoid depending upon Character Ranges.
12750 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12751 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12752 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12753 as_cr_digits='0123456789'
12754 as_cr_alnum=$as_cr_Letters$as_cr_digits
12756 ECHO_C= ECHO_N= ECHO_T=
12757 case `echo -n x` in #(((((
12759 case `echo 'xy\c'` in
12760 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12762 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12769 rm -f conf$$ conf$$.exe conf$$.file
12770 if test -d conf$$.dir; then
12771 rm -f conf$$.dir/conf$$.file
12774 mkdir conf$$.dir 2>/dev/null
12776 if (echo >conf$$.file) 2>/dev/null; then
12777 if ln -s conf$$.file conf$$ 2>/dev/null; then
12779 # ... but there are two gotchas:
12780 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12781 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12782 # In both cases, we have to default to `cp -pR'.
12783 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12785 elif ln conf$$.file conf$$ 2>/dev/null; then
12793 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12794 rmdir conf$$.dir 2>/dev/null
12799 # Create "$as_dir" as a directory, including parents if necessary.
12804 -*) as_dir=./$as_dir;;
12806 test -d "$as_dir" || eval $as_mkdir_p || {
12810 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12811 *) as_qdir=$as_dir;;
12813 as_dirs="'$as_qdir' $as_dirs"
12814 as_dir=`$as_dirname -- "$as_dir" ||
12815 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12816 X"$as_dir" : 'X\(//\)[^/]' \| \
12817 X"$as_dir" : 'X\(//\)$' \| \
12818 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12819 $as_echo X"$as_dir" |
12820 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12824 /^X\(\/\/\)[^/].*/{
12837 test -d "$as_dir" && break
12839 test -z "$as_dirs" || eval "mkdir $as_dirs"
12840 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12844 if mkdir -p . 2>/dev/null; then
12845 as_mkdir_p='mkdir -p "$as_dir"'
12847 test -d ./-p && rmdir ./-p
12852 # as_fn_executable_p FILE
12853 # -----------------------
12854 # Test if FILE is an executable regular file.
12855 as_fn_executable_p ()
12857 test -f "$1" && test -x "$1"
12858 } # as_fn_executable_p
12859 as_test_x='test -x'
12860 as_executable_p=as_fn_executable_p
12862 # Sed expression to map a string onto a valid CPP name.
12863 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12865 # Sed expression to map a string onto a valid variable name.
12866 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12870 ## ----------------------------------- ##
12871 ## Main body of $CONFIG_STATUS script. ##
12872 ## ----------------------------------- ##
12874 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12876 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12877 # Save the log message, to keep $0 and so on meaningful, and to
12878 # report actual input values of CONFIG_FILES etc. instead of their
12879 # values after options handling.
12881 This file was extended by yaml $as_me 0.2.2, which was
12882 generated by GNU Autoconf 2.69. Invocation command line was
12884 CONFIG_FILES = $CONFIG_FILES
12885 CONFIG_HEADERS = $CONFIG_HEADERS
12886 CONFIG_LINKS = $CONFIG_LINKS
12887 CONFIG_COMMANDS = $CONFIG_COMMANDS
12890 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12895 case $ac_config_files in *"
12896 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12899 case $ac_config_headers in *"
12900 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12904 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12905 # Files that config.status was made for.
12906 config_files="$ac_config_files"
12907 config_headers="$ac_config_headers"
12908 config_commands="$ac_config_commands"
12912 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12914 \`$as_me' instantiates files and other configuration actions
12915 from templates according to the current configuration. Unless the files
12916 and actions are specified as TAGs, all are instantiated by default.
12918 Usage: $0 [OPTION]... [TAG]...
12920 -h, --help print this help, then exit
12921 -V, --version print version number and configuration settings, then exit
12922 --config print configuration, then exit
12923 -q, --quiet, --silent
12924 do not print progress messages
12925 -d, --debug don't remove temporary files
12926 --recheck update $as_me by reconfiguring in the same conditions
12927 --file=FILE[:TEMPLATE]
12928 instantiate the configuration file FILE
12929 --header=FILE[:TEMPLATE]
12930 instantiate the configuration header FILE
12932 Configuration files:
12935 Configuration headers:
12938 Configuration commands:
12941 Report bugs to <https://github.com/yaml/libyaml/issues/new>."
12944 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12945 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12947 yaml config.status 0.2.2
12948 configured by $0, generated by GNU Autoconf 2.69,
12949 with options \\"\$ac_cs_config\\"
12951 Copyright (C) 2012 Free Software Foundation, Inc.
12952 This config.status script is free software; the Free Software Foundation
12953 gives unlimited permission to copy, distribute and modify it."
12960 test -n "\$AWK" || AWK=awk
12963 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12964 # The default lists apply if the user does not specify any file.
12970 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12971 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12975 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12987 # Handling of the options.
12988 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12990 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12991 $as_echo "$ac_cs_version"; exit ;;
12992 --config | --confi | --conf | --con | --co | --c )
12993 $as_echo "$ac_cs_config"; exit ;;
12994 --debug | --debu | --deb | --de | --d | -d )
12996 --file | --fil | --fi | --f )
12999 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13000 '') as_fn_error $? "missing file argument" ;;
13002 as_fn_append CONFIG_FILES " '$ac_optarg'"
13003 ac_need_defaults=false;;
13004 --header | --heade | --head | --hea )
13007 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13009 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13010 ac_need_defaults=false;;
13012 # Conflict between --help and --header
13013 as_fn_error $? "ambiguous option: \`$1'
13014 Try \`$0 --help' for more information.";;
13015 --help | --hel | -h )
13016 $as_echo "$ac_cs_usage"; exit ;;
13017 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13018 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13021 # This is an error.
13022 -*) as_fn_error $? "unrecognized option: \`$1'
13023 Try \`$0 --help' for more information." ;;
13025 *) as_fn_append ac_config_targets " $1"
13026 ac_need_defaults=false ;;
13032 ac_configure_extra_args=
13034 if $ac_cs_silent; then
13036 ac_configure_extra_args="$ac_configure_extra_args --silent"
13040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13041 if \$ac_cs_recheck; then
13042 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13044 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13045 CONFIG_SHELL='$SHELL'
13046 export CONFIG_SHELL
13051 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13055 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13056 ## Running $as_me. ##
13062 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13066 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13069 # The HP-UX ksh and POSIX shell print the target directory to stdout
13070 # if CDPATH is set.
13071 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13073 sed_quote_subst='$sed_quote_subst'
13074 double_quote_subst='$double_quote_subst'
13075 delay_variable_subst='$delay_variable_subst'
13076 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13077 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13078 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13079 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13080 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13081 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13082 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
13083 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13084 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13085 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13086 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13087 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13088 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13089 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13090 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13091 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13092 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13093 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13094 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13095 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13096 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13097 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13098 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13099 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13100 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13101 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13102 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13103 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13104 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13105 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13106 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13107 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13108 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13109 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13110 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13111 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13112 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13113 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13114 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13115 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13116 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13117 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13118 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13119 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13120 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13121 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13122 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13123 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13124 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13125 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13126 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13127 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13128 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13129 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13130 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13131 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13132 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
13133 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13134 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"`'
13135 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
13136 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13137 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13138 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
13139 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13140 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13141 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13142 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13143 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13144 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13145 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13146 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13147 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13148 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13149 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13150 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13151 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13152 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13153 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13154 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13155 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13156 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13157 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13158 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13159 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13160 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13161 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13162 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13163 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13164 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13165 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13166 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13167 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13168 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13169 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13170 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13171 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13172 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13173 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13174 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13175 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13176 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13177 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13178 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13179 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13180 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13181 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13182 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13183 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13184 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13185 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13186 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13187 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13188 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13189 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13190 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13191 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13192 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13193 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13194 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13195 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13196 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13197 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13198 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13199 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13200 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13201 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13202 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13203 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
13204 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
13205 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13206 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13207 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13208 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13209 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13210 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13213 LTCFLAGS='$LTCFLAGS'
13214 compiler='$compiler_DEFAULT'
13216 # A function that is used when there is no print builtin or printf.
13217 func_fallback_echo ()
13219 eval 'cat <<_LTECHO_EOF
13224 # Quote evaled strings.
13239 deplibs_check_method \
13244 sharedlib_from_linklib_cmd \
13247 archiver_list_spec \
13253 lt_cv_sys_global_symbol_pipe \
13254 lt_cv_sys_global_symbol_to_cdecl \
13255 lt_cv_sys_global_symbol_to_import \
13256 lt_cv_sys_global_symbol_to_c_name_address \
13257 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13258 lt_cv_nm_interface \
13259 nm_file_list_spec \
13260 lt_cv_truncate_bin \
13261 lt_prog_compiler_no_builtin_flag \
13262 lt_prog_compiler_pic \
13263 lt_prog_compiler_wl \
13264 lt_prog_compiler_static \
13265 lt_cv_prog_compiler_c_o \
13274 export_dynamic_flag_spec \
13275 whole_archive_flag_spec \
13276 compiler_needs_object \
13278 allow_undefined_flag \
13279 no_undefined_flag \
13280 hardcode_libdir_flag_spec \
13281 hardcode_libdir_separator \
13285 variables_saved_for_relink \
13287 library_names_spec \
13289 install_override_mode \
13293 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13294 *[\\\\\\\`\\"\\\$]*)
13295 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
13298 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13303 # Double-quote double-evaled strings.
13304 for var in reload_cmds \
13305 old_postinstall_cmds \
13306 old_postuninstall_cmds \
13308 extract_expsyms_cmds \
13309 old_archive_from_new_cmds \
13310 old_archive_from_expsyms_cmds \
13312 archive_expsym_cmds \
13314 module_expsym_cmds \
13315 export_symbols_cmds \
13319 postuninstall_cmds \
13321 sys_lib_search_path_spec \
13322 configure_time_dlsearch_path \
13323 configure_time_lt_sys_library_path; do
13324 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13325 *[\\\\\\\`\\"\\\$]*)
13326 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
13329 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13334 ac_aux_dir='$ac_aux_dir'
13336 # See if we are running on zsh, and set the options that allow our
13337 # commands through without removal of \ escapes INIT.
13338 if test -n "\${ZSH_VERSION+set}"; then
13339 setopt NO_GLOB_SUBST
13353 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13355 # Handling of arguments.
13356 for ac_config_target in $ac_config_targets
13358 case $ac_config_target in
13359 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
13360 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13361 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13362 "yaml-0.1.pc") CONFIG_FILES="$CONFIG_FILES yaml-0.1.pc" ;;
13363 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
13364 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13365 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13366 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
13368 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13373 # If the user did not use the arguments to specify the items to instantiate,
13374 # then the envvar interface is used. Set only those that are not.
13375 # We use the long form for the default assignment because of an extremely
13376 # bizarre bug on SunOS 4.1.3.
13377 if $ac_need_defaults; then
13378 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13379 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13380 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13383 # Have a temporary directory for convenience. Make it in the build tree
13384 # simply because there is no reason against having it here, and in addition,
13385 # creating and moving files from /tmp can sometimes cause problems.
13386 # Hook for its removal unless debugging.
13387 # Note that there is a small window in which the directory will not be cleaned:
13388 # after its creation but before its name has been assigned to `$tmp'.
13392 trap 'exit_status=$?
13393 : "${ac_tmp:=$tmp}"
13394 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13396 trap 'as_fn_exit 1' 1 2 13 15
13398 # Create a (secure) tmp directory for tmp files.
13401 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13405 tmp=./conf$$-$RANDOM
13406 (umask 077 && mkdir "$tmp")
13407 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13410 # Set up the scripts for CONFIG_FILES section.
13411 # No need to generate them if there are no CONFIG_FILES.
13412 # This happens for instance with `./config.status config.h'.
13413 if test -n "$CONFIG_FILES"; then
13416 ac_cr=`echo X | tr X '\015'`
13417 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13418 # But we know of no other shell where ac_cr would be empty at this
13419 # point, so we can use a bashism as a fallback.
13420 if test "x$ac_cr" = x; then
13421 eval ac_cr=\$\'\\r\'
13423 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13424 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13427 ac_cs_awk_cr=$ac_cr
13430 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13435 echo "cat >conf$$subs.awk <<_ACEOF" &&
13436 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13438 } >conf$$subs.sh ||
13439 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13440 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13442 for ac_last_try in false false false false false :; do
13443 . ./conf$$subs.sh ||
13444 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13446 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13447 if test $ac_delim_n = $ac_delim_num; then
13449 elif $ac_last_try; then
13450 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13452 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13455 rm -f conf$$subs.sh
13457 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13458 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13462 s/^/S["/; s/!.*/"]=/
13472 s/\(.\{148\}\)..*/\1/
13474 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13479 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13486 s/\(.\{148\}\)..*/\1/
13488 s/["\\]/\\&/g; s/^/"/; s/$/"/
13492 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13497 ' <conf$$subs.awk | sed '
13502 ' >>$CONFIG_STATUS || ac_write_fail=1
13503 rm -f conf$$subs.awk
13504 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13506 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13507 for (key in S) S_is_set[key] = 1
13513 nfields = split(line, field, "@")
13515 len = length(field[1])
13516 for (i = 2; i < nfields; i++) {
13518 keylen = length(key)
13519 if (S_is_set[key]) {
13521 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13522 len += length(value) + length(field[++i])
13533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13534 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13535 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13538 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13539 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13542 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13543 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13544 # trailing colons and then remove the whole line if VPATH becomes empty
13545 # (actually we leave an empty line to preserve line numbers).
13546 if test "x$srcdir" = x.; then
13547 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13565 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13566 fi # test -n "$CONFIG_FILES"
13568 # Set up the scripts for CONFIG_HEADERS section.
13569 # No need to generate them if there are no CONFIG_HEADERS.
13570 # This happens for instance with `./config.status Makefile'.
13571 if test -n "$CONFIG_HEADERS"; then
13572 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13576 # Transform confdefs.h into an awk script `defines.awk', embedded as
13577 # here-document in config.status, that substitutes the proper values into
13578 # config.h.in to produce config.h.
13580 # Create a delimiter string that does not exist in confdefs.h, to ease
13581 # handling of long lines.
13583 for ac_last_try in false false :; do
13584 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13585 if test -z "$ac_tt"; then
13587 elif $ac_last_try; then
13588 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13590 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13594 # For the awk script, D is an array of macro values keyed by name,
13595 # likewise P contains macro parameters if any. Preserve backslash
13596 # newline sequences.
13598 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13600 s/.\{148\}/&'"$ac_delim"'/g
13603 s/^[ ]*#[ ]*define[ ][ ]*/ /
13610 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13612 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13616 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13617 D["\1"]=" \3\\\\\\n"\\/p
13619 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13624 s/.\{148\}/&'"$ac_delim"'/g
13629 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13632 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13634 ' <confdefs.h | sed '
13635 s/'"$ac_delim"'/"\\\
13636 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13638 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13639 for (key in D) D_is_set[key] = 1
13642 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13644 split(line, arg, " ")
13645 if (arg[1] == "#") {
13649 defundef = substr(arg[1], 2)
13652 split(mac1, mac2, "(") #)
13654 prefix = substr(line, 1, index(line, defundef) - 1)
13655 if (D_is_set[macro]) {
13656 # Preserve the white space surrounding the "#".
13657 print prefix "define", macro P[macro] D[macro]
13660 # Replace #undef with comments. This is necessary, for example,
13661 # in the case of _POSIX_SOURCE, which is predefined and required
13662 # on some systems where configure will not decide to define it.
13663 if (defundef == "undef") {
13664 print "/*", prefix defundef, macro, "*/"
13672 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13673 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13674 fi # test -n "$CONFIG_HEADERS"
13677 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13682 :[FHLC]) ac_mode=$ac_tag; continue;;
13684 case $ac_mode$ac_tag in
13686 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13687 :[FH]-) ac_tag=-:-;;
13688 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13705 -) ac_f="$ac_tmp/stdin";;
13706 *) # Look for the file first in the build tree, then in the source tree
13707 # (if the path is not absolute). The absolute path cannot be DOS-style,
13708 # because $ac_f cannot contain `:'.
13712 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13714 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13716 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13717 as_fn_append ac_file_inputs " '$ac_f'"
13720 # Let's still pretend it is `configure' which instantiates (i.e., don't
13721 # use $as_me), people would be surprised to read:
13722 # /* config.h. Generated by config.status. */
13723 configure_input='Generated from '`
13724 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13726 if test x"$ac_file" != x-; then
13727 configure_input="$ac_file. $configure_input"
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13729 $as_echo "$as_me: creating $ac_file" >&6;}
13731 # Neutralize special characters interpreted by sed in replacement strings.
13732 case $configure_input in #(
13733 *\&* | *\|* | *\\* )
13734 ac_sed_conf_input=`$as_echo "$configure_input" |
13735 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13736 *) ac_sed_conf_input=$configure_input;;
13740 *:-:* | *:-) cat >"$ac_tmp/stdin" \
13741 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13746 ac_dir=`$as_dirname -- "$ac_file" ||
13747 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13748 X"$ac_file" : 'X\(//\)[^/]' \| \
13749 X"$ac_file" : 'X\(//\)$' \| \
13750 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13751 $as_echo X"$ac_file" |
13752 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13756 /^X\(\/\/\)[^/].*/{
13769 as_dir="$ac_dir"; as_fn_mkdir_p
13773 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13775 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13776 # A ".." for each directory in $ac_dir_suffix.
13777 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13778 case $ac_top_builddir_sub in
13779 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13780 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13783 ac_abs_top_builddir=$ac_pwd
13784 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13785 # for backward compatibility:
13786 ac_top_builddir=$ac_top_build_prefix
13789 .) # We are building in place.
13791 ac_top_srcdir=$ac_top_builddir_sub
13792 ac_abs_top_srcdir=$ac_pwd ;;
13793 [\\/]* | ?:[\\/]* ) # Absolute name.
13794 ac_srcdir=$srcdir$ac_dir_suffix;
13795 ac_top_srcdir=$srcdir
13796 ac_abs_top_srcdir=$srcdir ;;
13797 *) # Relative name.
13798 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13799 ac_top_srcdir=$ac_top_build_prefix$srcdir
13800 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13802 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13812 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13813 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13815 ac_MKDIR_P=$MKDIR_P
13817 [\\/$]* | ?:[\\/]* ) ;;
13818 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13822 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13823 # If the template does not know about datarootdir, expand it.
13824 # FIXME: This hack should be removed a few years after 2.60.
13825 ac_datarootdir_hack=; ac_datarootdir_seen=
13836 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13837 *datarootdir*) ac_datarootdir_seen=yes;;
13838 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13840 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13843 ac_datarootdir_hack='
13844 s&@datadir@&$datadir&g
13845 s&@docdir@&$docdir&g
13846 s&@infodir@&$infodir&g
13847 s&@localedir@&$localedir&g
13848 s&@mandir@&$mandir&g
13849 s&\\\${datarootdir}&$datarootdir&g' ;;
13853 # Neutralize VPATH when `$srcdir' = `.'.
13854 # Shell code in configure.ac might set extrasub.
13855 # FIXME: do we really want to maintain this feature?
13856 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13857 ac_sed_extra="$ac_vpsub
13860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13862 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13863 s|@configure_input@|$ac_sed_conf_input|;t t
13864 s&@top_builddir@&$ac_top_builddir_sub&;t t
13865 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13866 s&@srcdir@&$ac_srcdir&;t t
13867 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13868 s&@top_srcdir@&$ac_top_srcdir&;t t
13869 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13870 s&@builddir@&$ac_builddir&;t t
13871 s&@abs_builddir@&$ac_abs_builddir&;t t
13872 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13873 s&@INSTALL@&$ac_INSTALL&;t t
13874 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13875 $ac_datarootdir_hack
13877 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13878 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13880 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13881 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13882 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13883 "$ac_tmp/out"`; test -z "$ac_out"; } &&
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13885 which seems to be undefined. Please make sure it is defined" >&5
13886 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13887 which seems to be undefined. Please make sure it is defined" >&2;}
13889 rm -f "$ac_tmp/stdin"
13891 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13892 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13894 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13900 if test x"$ac_file" != x-; then
13902 $as_echo "/* $configure_input */" \
13903 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13904 } >"$ac_tmp/config.h" \
13905 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13906 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13908 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13911 mv "$ac_tmp/config.h" "$ac_file" \
13912 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13915 $as_echo "/* $configure_input */" \
13916 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13917 || as_fn_error $? "could not create -" "$LINENO" 5
13919 # Compute "$ac_file"'s index in $config_headers.
13922 for _am_header in $config_headers :; do
13923 case $_am_header in
13924 $_am_arg | $_am_arg:* )
13927 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13930 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13931 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13932 X"$_am_arg" : 'X\(//\)[^/]' \| \
13933 X"$_am_arg" : 'X\(//\)$' \| \
13934 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13935 $as_echo X"$_am_arg" |
13936 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13940 /^X\(\/\/\)[^/].*/{
13952 s/.*/./; q'`/stamp-h$_am_stamp_count
13955 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13956 $as_echo "$as_me: executing $ac_file commands" >&6;}
13961 case $ac_file$ac_mode in
13962 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13963 # Older Autoconf quotes --file arguments for eval, but not when files
13964 # are listed without --file. Let's play safe and only enable the eval
13965 # if we detect the quoting.
13966 case $CONFIG_FILES in
13967 *\'*) eval set x "$CONFIG_FILES" ;;
13968 *) set x $CONFIG_FILES ;;
13973 # Strip MF so we end up with the name of the file.
13974 mf=`echo "$mf" | sed -e 's/:.*$//'`
13975 # Check whether this is an Automake generated Makefile or not.
13976 # We used to match only the files named 'Makefile.in', but
13977 # some people rename them; so instead we look at the file content.
13978 # Grep'ing the first line is not enough: some people post-process
13979 # each Makefile.in and add a new line on top of each file to say so.
13980 # Grep'ing the whole file is not good either: AIX grep has a line
13981 # limit of 2048, but all sed's we know have understand at least 4000.
13982 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13983 dirpart=`$as_dirname -- "$mf" ||
13984 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13985 X"$mf" : 'X\(//\)[^/]' \| \
13986 X"$mf" : 'X\(//\)$' \| \
13987 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13989 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13993 /^X\(\/\/\)[^/].*/{
14009 # Extract the definition of DEPDIR, am__include, and am__quote
14010 # from the Makefile without running 'make'.
14011 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14012 test -z "$DEPDIR" && continue
14013 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14014 test -z "$am__include" && continue
14015 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14016 # Find all dependency output files, they are included files with
14017 # $(DEPDIR) in their names. We invoke sed twice because it is the
14018 # simplest approach to changing $(DEPDIR) to its actual value in the
14020 for file in `sed -n "
14021 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14022 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14023 # Make sure the directory exists.
14024 test -f "$dirpart/$file" && continue
14025 fdir=`$as_dirname -- "$file" ||
14026 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14027 X"$file" : 'X\(//\)[^/]' \| \
14028 X"$file" : 'X\(//\)$' \| \
14029 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14030 $as_echo X"$file" |
14031 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14035 /^X\(\/\/\)[^/].*/{
14048 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14049 # echo "creating $dirpart/$file"
14050 echo '# dummy' > "$dirpart/$file"
14057 # See if we are running on zsh, and set the options that allow our
14058 # commands through without removal of \ escapes.
14059 if test -n "${ZSH_VERSION+set}"; then
14060 setopt NO_GLOB_SUBST
14064 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14067 cat <<_LT_EOF >> "$cfgfile"
14069 # Generated automatically by $as_me ($PACKAGE) $VERSION
14070 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14072 # Provide generalized library-building support services.
14073 # Written by Gordon Matzigkeit, 1996
14075 # Copyright (C) 2014 Free Software Foundation, Inc.
14076 # This is free software; see the source for copying conditions. There is NO
14077 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14079 # GNU Libtool is free software; you can redistribute it and/or modify
14080 # it under the terms of the GNU General Public License as published by
14081 # the Free Software Foundation; either version 2 of of the License, or
14082 # (at your option) any later version.
14084 # As a special exception to the GNU General Public License, if you
14085 # distribute this file as part of a program or library that is built
14086 # using GNU Libtool, you may include this file under the same
14087 # distribution terms that you use for the rest of that program.
14089 # GNU Libtool is distributed in the hope that it will be useful, but
14090 # WITHOUT ANY WARRANTY; without even the implied warranty of
14091 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14092 # GNU General Public License for more details.
14094 # You should have received a copy of the GNU General Public License
14095 # along with this program. If not, see <http://www.gnu.org/licenses/>.
14098 # The names of the tagged configurations supported by this script.
14101 # Configured defaults for sys_lib_dlsearch_path munging.
14102 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
14104 # ### BEGIN LIBTOOL CONFIG
14106 # Which release of libtool.m4 was used?
14107 macro_version=$macro_version
14108 macro_revision=$macro_revision
14110 # Whether or not to build shared libraries.
14111 build_libtool_libs=$enable_shared
14113 # Whether or not to build static libraries.
14114 build_old_libs=$enable_static
14116 # What type of objects to build.
14119 # Whether or not to optimize for fast installation.
14120 fast_install=$enable_fast_install
14122 # Shared archive member basename,for filename based shared library versioning on AIX.
14123 shared_archive_member_spec=$shared_archive_member_spec
14125 # Shell to use when invoking shell scripts.
14128 # An echo program that protects backslashes.
14131 # The PATH separator for the build system.
14132 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14135 host_alias=$host_alias
14139 # The build system.
14140 build_alias=$build_alias
14144 # A sed program that does not truncate output.
14147 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14148 Xsed="\$SED -e 1s/^X//"
14150 # A grep program that handles long lines.
14156 # A literal string matcher.
14159 # A BSD- or MS-compatible name lister.
14162 # Whether we need soft or hard links.
14165 # What is the maximum length of a command?
14166 max_cmd_len=$max_cmd_len
14168 # Object file suffix (normally "o").
14171 # Executable file suffix (normally "").
14174 # whether the shell understands "unset".
14177 # turn spaces into newlines.
14180 # turn newlines into spaces.
14183 # convert \$build file names to \$host format.
14184 to_host_file_cmd=$lt_cv_to_host_file_cmd
14186 # convert \$build files to toolchain format.
14187 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14189 # An object symbol dumper.
14190 OBJDUMP=$lt_OBJDUMP
14192 # Method to check whether dependent libraries are shared objects.
14193 deplibs_check_method=$lt_deplibs_check_method
14195 # Command to use when deplibs_check_method = "file_magic".
14196 file_magic_cmd=$lt_file_magic_cmd
14198 # How to find potential files when deplibs_check_method = "file_magic".
14199 file_magic_glob=$lt_file_magic_glob
14201 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14202 want_nocaseglob=$lt_want_nocaseglob
14204 # DLL creation program.
14205 DLLTOOL=$lt_DLLTOOL
14207 # Command to associate shared and link libraries.
14208 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14213 # Flags to create an archive.
14214 AR_FLAGS=$lt_AR_FLAGS
14216 # How to feed a file listing to the archiver.
14217 archiver_list_spec=$lt_archiver_list_spec
14219 # A symbol stripping program.
14222 # Commands used to install an old-style archive.
14224 old_postinstall_cmds=$lt_old_postinstall_cmds
14225 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14227 # Whether to use a lock for old archive extraction.
14228 lock_old_archive_extraction=$lock_old_archive_extraction
14233 # LTCC compiler flags.
14234 LTCFLAGS=$lt_CFLAGS
14236 # Take the output of nm and produce a listing of raw symbols and C names.
14237 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14239 # Transform the output of nm in a proper C declaration.
14240 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14242 # Transform the output of nm into a list of symbols to manually relocate.
14243 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
14245 # Transform the output of nm in a C name address pair.
14246 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14248 # Transform the output of nm in a C name address pair when lib prefix is needed.
14249 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14251 # The name lister interface.
14252 nm_interface=$lt_lt_cv_nm_interface
14254 # Specify filename containing input files for \$NM.
14255 nm_file_list_spec=$lt_nm_file_list_spec
14257 # The root where to search for dependent libraries,and where our libraries should be installed.
14258 lt_sysroot=$lt_sysroot
14260 # Command to truncate a binary pipe.
14261 lt_truncate_bin=$lt_lt_cv_truncate_bin
14263 # The name of the directory that contains temporary libtool files.
14266 # Used to examine libraries when file_magic_cmd begins with "file".
14267 MAGIC_CMD=$MAGIC_CMD
14269 # Must we lock files when doing compilation?
14270 need_locks=$lt_need_locks
14273 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14275 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14276 DSYMUTIL=$lt_DSYMUTIL
14278 # Tool to change global to local symbols on Mac OS X.
14281 # Tool to manipulate fat objects and archives on Mac OS X.
14284 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14287 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14288 OTOOL64=$lt_OTOOL64
14290 # Old archive suffix (normally "a").
14293 # Shared library suffix (normally ".so").
14294 shrext_cmds=$lt_shrext_cmds
14296 # The commands to extract the exported symbol list from a shared archive.
14297 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14299 # Variables whose values should be saved in libtool wrapper scripts and
14300 # restored at link time.
14301 variables_saved_for_relink=$lt_variables_saved_for_relink
14303 # Do we need the "lib" prefix for modules?
14304 need_lib_prefix=$need_lib_prefix
14306 # Do we need a version for libraries?
14307 need_version=$need_version
14309 # Library versioning type.
14310 version_type=$version_type
14312 # Shared library runtime path variable.
14313 runpath_var=$runpath_var
14315 # Shared library path variable.
14316 shlibpath_var=$shlibpath_var
14318 # Is shlibpath searched before the hard-coded library search path?
14319 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14321 # Format of library name prefix.
14322 libname_spec=$lt_libname_spec
14324 # List of archive names. First name is the real one, the rest are links.
14325 # The last name is the one that the linker finds with -lNAME
14326 library_names_spec=$lt_library_names_spec
14328 # The coded name of the library, if different from the real name.
14329 soname_spec=$lt_soname_spec
14331 # Permission mode override for installation of shared libraries.
14332 install_override_mode=$lt_install_override_mode
14334 # Command to use after installation of a shared archive.
14335 postinstall_cmds=$lt_postinstall_cmds
14337 # Command to use after uninstallation of a shared archive.
14338 postuninstall_cmds=$lt_postuninstall_cmds
14340 # Commands used to finish a libtool library installation in a directory.
14341 finish_cmds=$lt_finish_cmds
14343 # As "finish_cmds", except a single script fragment to be evaled but
14345 finish_eval=$lt_finish_eval
14347 # Whether we should hardcode library paths into libraries.
14348 hardcode_into_libs=$hardcode_into_libs
14350 # Compile-time system search path for libraries.
14351 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14353 # Detected run-time system search path for libraries.
14354 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
14356 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
14357 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
14359 # Whether dlopen is supported.
14360 dlopen_support=$enable_dlopen
14362 # Whether dlopen of programs is supported.
14363 dlopen_self=$enable_dlopen_self
14365 # Whether dlopen of statically linked programs is supported.
14366 dlopen_self_static=$enable_dlopen_self_static
14368 # Commands to strip libraries.
14369 old_striplib=$lt_old_striplib
14370 striplib=$lt_striplib
14373 # The linker used to build libraries.
14376 # How to create reloadable object files.
14377 reload_flag=$lt_reload_flag
14378 reload_cmds=$lt_reload_cmds
14380 # Commands used to build an old-style archive.
14381 old_archive_cmds=$lt_old_archive_cmds
14383 # A language specific compiler.
14386 # Is the compiler the GNU compiler?
14389 # Compiler flag to turn off builtin functions.
14390 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14392 # Additional compiler flags for building library objects.
14393 pic_flag=$lt_lt_prog_compiler_pic
14395 # How to pass a linker flag through the compiler.
14396 wl=$lt_lt_prog_compiler_wl
14398 # Compiler flag to prevent dynamic linking.
14399 link_static_flag=$lt_lt_prog_compiler_static
14401 # Does compiler simultaneously support -c and -o options?
14402 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14404 # Whether or not to add -lc for building shared libraries.
14405 build_libtool_need_lc=$archive_cmds_need_lc
14407 # Whether or not to disallow shared libs when runtime libs are static.
14408 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14410 # Compiler flag to allow reflexive dlopens.
14411 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14413 # Compiler flag to generate shared objects directly from archives.
14414 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14416 # Whether the compiler copes with passing no objects directly.
14417 compiler_needs_object=$lt_compiler_needs_object
14419 # Create an old-style archive from a shared archive.
14420 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14422 # Create a temporary old-style archive to link instead of a shared archive.
14423 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14425 # Commands used to build a shared archive.
14426 archive_cmds=$lt_archive_cmds
14427 archive_expsym_cmds=$lt_archive_expsym_cmds
14429 # Commands used to build a loadable module if different from building
14430 # a shared archive.
14431 module_cmds=$lt_module_cmds
14432 module_expsym_cmds=$lt_module_expsym_cmds
14434 # Whether we are building with GNU ld or not.
14435 with_gnu_ld=$lt_with_gnu_ld
14437 # Flag that allows shared libraries with undefined symbols to be built.
14438 allow_undefined_flag=$lt_allow_undefined_flag
14440 # Flag that enforces no undefined symbols.
14441 no_undefined_flag=$lt_no_undefined_flag
14443 # Flag to hardcode \$libdir into a binary during linking.
14444 # This must work even if \$libdir does not exist
14445 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14447 # Whether we need a single "-rpath" flag with a separated argument.
14448 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14450 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
14451 # DIR into the resulting binary.
14452 hardcode_direct=$hardcode_direct
14454 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
14455 # DIR into the resulting binary and the resulting library dependency is
14456 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
14457 # library is relocated.
14458 hardcode_direct_absolute=$hardcode_direct_absolute
14460 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14461 # into the resulting binary.
14462 hardcode_minus_L=$hardcode_minus_L
14464 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14465 # into the resulting binary.
14466 hardcode_shlibpath_var=$hardcode_shlibpath_var
14468 # Set to "yes" if building a shared library automatically hardcodes DIR
14469 # into the library and all subsequent libraries and executables linked
14471 hardcode_automatic=$hardcode_automatic
14473 # Set to yes if linker adds runtime paths of dependent libraries
14474 # to runtime path list.
14475 inherit_rpath=$inherit_rpath
14477 # Whether libtool must link a program against all its dependency libraries.
14478 link_all_deplibs=$link_all_deplibs
14480 # Set to "yes" if exported symbols are required.
14481 always_export_symbols=$always_export_symbols
14483 # The commands to list exported symbols.
14484 export_symbols_cmds=$lt_export_symbols_cmds
14486 # Symbols that should not be listed in the preloaded symbols.
14487 exclude_expsyms=$lt_exclude_expsyms
14489 # Symbols that must always be exported.
14490 include_expsyms=$lt_include_expsyms
14492 # Commands necessary for linking programs (against libraries) with templates.
14493 prelink_cmds=$lt_prelink_cmds
14495 # Commands necessary for finishing linking programs.
14496 postlink_cmds=$lt_postlink_cmds
14498 # Specify filename containing input files.
14499 file_list_spec=$lt_file_list_spec
14501 # How to hardcode a shared library path into an executable.
14502 hardcode_action=$hardcode_action
14504 # ### END LIBTOOL CONFIG
14508 cat <<'_LT_EOF' >> "$cfgfile"
14510 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
14512 # func_munge_path_list VARIABLE PATH
14513 # -----------------------------------
14514 # VARIABLE is name of variable containing _space_ separated list of
14515 # directories to be munged by the contents of PATH, which is string
14518 # string "DIR[ DIR]" will be prepended to VARIABLE
14520 # string "DIR[ DIR]" will be appended to VARIABLE
14521 # "DIRP[:DIRP]::[DIRA:]DIRA"
14522 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
14523 # "DIRA[ DIRA]" will be appended to VARIABLE
14525 # VARIABLE will be replaced by "DIR[ DIR]"
14526 func_munge_path_list ()
14532 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
14535 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
14538 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
14539 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
14542 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
14548 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
14549 func_cc_basename ()
14551 for cc_temp in $*""; do
14553 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14554 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14559 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14563 # ### END FUNCTIONS SHARED WITH CONFIGURE
14569 cat <<\_LT_EOF >> "$cfgfile"
14570 # AIX sometimes has problems with the GCC collect2 program. For some
14571 # reason, if we set the COLLECT_NAMES environment variable, the problems
14572 # vanish in a puff of smoke.
14573 if test set != "${COLLECT_NAMES+set}"; then
14575 export COLLECT_NAMES
14582 ltmain=$ac_aux_dir/ltmain.sh
14585 # We use sed instead of cat because bash on DJGPP gets confused if
14586 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14587 # text mode, it properly converts lines to CR/LF. This bash problem
14588 # is reportedly fixed, but why not run on old versions too?
14589 sed '$q' "$ltmain" >> "$cfgfile" \
14590 || (rm -f "$cfgfile"; exit 1)
14592 mv -f "$cfgfile" "$ofile" ||
14593 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14604 ac_clean_files=$ac_clean_files_save
14606 test $ac_write_fail = 0 ||
14607 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14610 # configure is writing to config.log, and then calls config.status.
14611 # config.status does its own redirection, appending to config.log.
14612 # Unfortunately, on DOS this fails, as config.log is still kept open
14613 # by configure, so config.status won't be able to write to it; its
14614 # output is simply discarded. So we exec the FD to /dev/null,
14615 # effectively closing config.log, so it can be properly (re)opened and
14616 # appended to by config.status. When coming back to configure, we
14617 # need to make the FD available again.
14618 if test "$no_create" != yes; then
14620 ac_config_status_args=
14621 test "$silent" = yes &&
14622 ac_config_status_args="$ac_config_status_args --quiet"
14624 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14626 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14627 # would make configure fail if this is the last instruction.
14628 $ac_cs_success || as_fn_exit 1
14630 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14632 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}