2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for yaml 0.2.1.
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.1'
593 PACKAGE_STRING='yaml 0.2.1'
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
746 program_transform_name
759 enable_option_checking
761 enable_dependency_tracking
771 ac_precious_vars='build_alias
783 # Initialize some variables set by options.
785 ac_init_version=false
786 ac_unrecognized_opts=
788 # The variables have the same names as the options, with
789 # dashes changed to underlines.
797 program_transform_name=s,x,x,
805 # Installation directory options.
806 # These are left unexpanded so users can "make install exec_prefix=/foo"
807 # and all the variables that are supposed to be based on exec_prefix
808 # by default will actually change.
809 # Use braces instead of parens because sh, perl, etc. also accept them.
810 # (The list follows the same order as the GNU Coding Standards.)
811 bindir='${exec_prefix}/bin'
812 sbindir='${exec_prefix}/sbin'
813 libexecdir='${exec_prefix}/libexec'
814 datarootdir='${prefix}/share'
815 datadir='${datarootdir}'
816 sysconfdir='${prefix}/etc'
817 sharedstatedir='${prefix}/com'
818 localstatedir='${prefix}/var'
819 includedir='${prefix}/include'
820 oldincludedir='/usr/include'
821 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
822 infodir='${datarootdir}/info'
827 libdir='${exec_prefix}/lib'
828 localedir='${datarootdir}/locale'
829 mandir='${datarootdir}/man'
835 # If the previous option needs an argument, assign it.
836 if test -n "$ac_prev"; then
837 eval $ac_prev=\$ac_option
843 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
848 # Accept the important Cygnus configure options, so we can diagnose typos.
850 case $ac_dashdash$ac_option in
854 -bindir | --bindir | --bindi | --bind | --bin | --bi)
856 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
859 -build | --build | --buil | --bui | --bu)
860 ac_prev=build_alias ;;
861 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
862 build_alias=$ac_optarg ;;
864 -cache-file | --cache-file | --cache-fil | --cache-fi \
865 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
866 ac_prev=cache_file ;;
867 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
868 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
869 cache_file=$ac_optarg ;;
872 cache_file=config.cache ;;
874 -datadir | --datadir | --datadi | --datad)
876 -datadir=* | --datadir=* | --datadi=* | --datad=*)
877 datadir=$ac_optarg ;;
879 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
880 | --dataroo | --dataro | --datar)
881 ac_prev=datarootdir ;;
882 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
883 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
884 datarootdir=$ac_optarg ;;
886 -disable-* | --disable-*)
887 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
888 # Reject names that are not valid shell variable names.
889 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
890 as_fn_error $? "invalid feature name: $ac_useropt"
891 ac_useropt_orig=$ac_useropt
892 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
893 case $ac_user_opts in
897 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
898 ac_unrecognized_sep=', ';;
900 eval enable_$ac_useropt=no ;;
902 -docdir | --docdir | --docdi | --doc | --do)
904 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
907 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
909 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
912 -enable-* | --enable-*)
913 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
914 # Reject names that are not valid shell variable names.
915 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
916 as_fn_error $? "invalid feature name: $ac_useropt"
917 ac_useropt_orig=$ac_useropt
918 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
919 case $ac_user_opts in
923 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
924 ac_unrecognized_sep=', ';;
926 eval enable_$ac_useropt=\$ac_optarg ;;
928 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
929 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
930 | --exec | --exe | --ex)
931 ac_prev=exec_prefix ;;
932 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
933 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
934 | --exec=* | --exe=* | --ex=*)
935 exec_prefix=$ac_optarg ;;
937 -gas | --gas | --ga | --g)
938 # Obsolete; use --with-gas.
941 -help | --help | --hel | --he | -h)
943 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
944 ac_init_help=recursive ;;
945 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
946 ac_init_help=short ;;
948 -host | --host | --hos | --ho)
949 ac_prev=host_alias ;;
950 -host=* | --host=* | --hos=* | --ho=*)
951 host_alias=$ac_optarg ;;
953 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
955 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
957 htmldir=$ac_optarg ;;
959 -includedir | --includedir | --includedi | --included | --include \
960 | --includ | --inclu | --incl | --inc)
961 ac_prev=includedir ;;
962 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
963 | --includ=* | --inclu=* | --incl=* | --inc=*)
964 includedir=$ac_optarg ;;
966 -infodir | --infodir | --infodi | --infod | --info | --inf)
968 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
969 infodir=$ac_optarg ;;
971 -libdir | --libdir | --libdi | --libd)
973 -libdir=* | --libdir=* | --libdi=* | --libd=*)
976 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
977 | --libexe | --libex | --libe)
978 ac_prev=libexecdir ;;
979 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
980 | --libexe=* | --libex=* | --libe=*)
981 libexecdir=$ac_optarg ;;
983 -localedir | --localedir | --localedi | --localed | --locale)
985 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
986 localedir=$ac_optarg ;;
988 -localstatedir | --localstatedir | --localstatedi | --localstated \
989 | --localstate | --localstat | --localsta | --localst | --locals)
990 ac_prev=localstatedir ;;
991 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
992 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
993 localstatedir=$ac_optarg ;;
995 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
997 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1000 -nfp | --nfp | --nf)
1001 # Obsolete; use --without-fp.
1004 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1005 | --no-cr | --no-c | -n)
1008 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1009 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1012 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1013 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1014 | --oldin | --oldi | --old | --ol | --o)
1015 ac_prev=oldincludedir ;;
1016 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1017 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1018 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1019 oldincludedir=$ac_optarg ;;
1021 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1023 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1024 prefix=$ac_optarg ;;
1026 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1027 | --program-pre | --program-pr | --program-p)
1028 ac_prev=program_prefix ;;
1029 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1030 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1031 program_prefix=$ac_optarg ;;
1033 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1034 | --program-suf | --program-su | --program-s)
1035 ac_prev=program_suffix ;;
1036 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1037 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1038 program_suffix=$ac_optarg ;;
1040 -program-transform-name | --program-transform-name \
1041 | --program-transform-nam | --program-transform-na \
1042 | --program-transform-n | --program-transform- \
1043 | --program-transform | --program-transfor \
1044 | --program-transfo | --program-transf \
1045 | --program-trans | --program-tran \
1046 | --progr-tra | --program-tr | --program-t)
1047 ac_prev=program_transform_name ;;
1048 -program-transform-name=* | --program-transform-name=* \
1049 | --program-transform-nam=* | --program-transform-na=* \
1050 | --program-transform-n=* | --program-transform-=* \
1051 | --program-transform=* | --program-transfor=* \
1052 | --program-transfo=* | --program-transf=* \
1053 | --program-trans=* | --program-tran=* \
1054 | --progr-tra=* | --program-tr=* | --program-t=*)
1055 program_transform_name=$ac_optarg ;;
1057 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1059 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1060 pdfdir=$ac_optarg ;;
1062 -psdir | --psdir | --psdi | --psd | --ps)
1064 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1067 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1068 | -silent | --silent | --silen | --sile | --sil)
1071 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1073 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1075 sbindir=$ac_optarg ;;
1077 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1078 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1079 | --sharedst | --shareds | --shared | --share | --shar \
1081 ac_prev=sharedstatedir ;;
1082 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1083 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1084 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1086 sharedstatedir=$ac_optarg ;;
1088 -site | --site | --sit)
1090 -site=* | --site=* | --sit=*)
1093 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1095 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1096 srcdir=$ac_optarg ;;
1098 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1099 | --syscon | --sysco | --sysc | --sys | --sy)
1100 ac_prev=sysconfdir ;;
1101 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1102 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1103 sysconfdir=$ac_optarg ;;
1105 -target | --target | --targe | --targ | --tar | --ta | --t)
1106 ac_prev=target_alias ;;
1107 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1108 target_alias=$ac_optarg ;;
1110 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1113 -version | --version | --versio | --versi | --vers | -V)
1114 ac_init_version=: ;;
1117 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1118 # Reject names that are not valid shell variable names.
1119 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1120 as_fn_error $? "invalid package name: $ac_useropt"
1121 ac_useropt_orig=$ac_useropt
1122 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1123 case $ac_user_opts in
1127 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1128 ac_unrecognized_sep=', ';;
1130 eval with_$ac_useropt=\$ac_optarg ;;
1132 -without-* | --without-*)
1133 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1134 # Reject names that are not valid shell variable names.
1135 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1136 as_fn_error $? "invalid package name: $ac_useropt"
1137 ac_useropt_orig=$ac_useropt
1138 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1139 case $ac_user_opts in
1143 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1144 ac_unrecognized_sep=', ';;
1146 eval with_$ac_useropt=no ;;
1149 # Obsolete; use --with-x.
1152 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1153 | --x-incl | --x-inc | --x-in | --x-i)
1154 ac_prev=x_includes ;;
1155 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1156 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1157 x_includes=$ac_optarg ;;
1159 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1160 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1161 ac_prev=x_libraries ;;
1162 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1163 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1164 x_libraries=$ac_optarg ;;
1166 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1167 Try \`$0 --help' for more information"
1171 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1172 # Reject names that are not valid shell variable names.
1173 case $ac_envvar in #(
1174 '' | [0-9]* | *[!_$as_cr_alnum]* )
1175 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1177 eval $ac_envvar=\$ac_optarg
1178 export $ac_envvar ;;
1181 # FIXME: should be removed in autoconf 3.0.
1182 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1183 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1184 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1185 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1191 if test -n "$ac_prev"; then
1192 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1193 as_fn_error $? "missing argument to $ac_option"
1196 if test -n "$ac_unrecognized_opts"; then
1197 case $enable_option_checking in
1199 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1200 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1204 # Check all directory arguments for consistency.
1205 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1206 datadir sysconfdir sharedstatedir localstatedir includedir \
1207 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1208 libdir localedir mandir
1210 eval ac_val=\$$ac_var
1211 # Remove trailing slashes.
1214 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1215 eval $ac_var=\$ac_val;;
1217 # Be sure to have absolute directory names.
1219 [\\/$]* | ?:[\\/]* ) continue;;
1220 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1222 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1225 # There might be people who depend on the old broken behavior: `$host'
1226 # used to hold the argument of --host etc.
1227 # FIXME: To remove some day.
1230 target=$target_alias
1232 # FIXME: To remove some day.
1233 if test "x$host_alias" != x; then
1234 if test "x$build_alias" = x; then
1235 cross_compiling=maybe
1236 elif test "x$build_alias" != "x$host_alias"; then
1242 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1244 test "$silent" = yes && exec 6>/dev/null
1247 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1248 ac_ls_di=`ls -di .` &&
1249 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1250 as_fn_error $? "working directory cannot be determined"
1251 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1252 as_fn_error $? "pwd does not report name of working directory"
1255 # Find the source files, if location was not specified.
1256 if test -z "$srcdir"; then
1257 ac_srcdir_defaulted=yes
1258 # Try the directory containing this script, then the parent directory.
1259 ac_confdir=`$as_dirname -- "$as_myself" ||
1260 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1261 X"$as_myself" : 'X\(//\)[^/]' \| \
1262 X"$as_myself" : 'X\(//\)$' \| \
1263 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1264 $as_echo X"$as_myself" |
1265 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1283 if test ! -r "$srcdir/$ac_unique_file"; then
1287 ac_srcdir_defaulted=no
1289 if test ! -r "$srcdir/$ac_unique_file"; then
1290 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1291 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1293 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1295 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1297 # When building in place, set srcdir=.
1298 if test "$ac_abs_confdir" = "$ac_pwd"; then
1301 # Remove unnecessary trailing slashes from srcdir.
1302 # Double slashes in file names in object file debugging info
1303 # mess up M-x gdb in Emacs.
1305 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1307 for ac_var in $ac_precious_vars; do
1308 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1309 eval ac_env_${ac_var}_value=\$${ac_var}
1310 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1311 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1315 # Report the --help message.
1317 if test "$ac_init_help" = "long"; then
1318 # Omit some internal or obsolete options to make the list less imposing.
1319 # This message is too long to be a string in the A/UX 3.1 sh.
1321 \`configure' configures yaml 0.2.1 to adapt to many kinds of systems.
1323 Usage: $0 [OPTION]... [VAR=VALUE]...
1325 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1326 VAR=VALUE. See below for descriptions of some of the useful variables.
1328 Defaults for the options are specified in brackets.
1331 -h, --help display this help and exit
1332 --help=short display options specific to this package
1333 --help=recursive display the short help of all the included packages
1334 -V, --version display version information and exit
1335 -q, --quiet, --silent do not print \`checking ...' messages
1336 --cache-file=FILE cache test results in FILE [disabled]
1337 -C, --config-cache alias for \`--cache-file=config.cache'
1338 -n, --no-create do not create output files
1339 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1341 Installation directories:
1342 --prefix=PREFIX install architecture-independent files in PREFIX
1343 [$ac_default_prefix]
1344 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1347 By default, \`make install' will install all the files in
1348 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1349 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1350 for instance \`--prefix=\$HOME'.
1352 For better control, use the options below.
1354 Fine tuning of the installation directories:
1355 --bindir=DIR user executables [EPREFIX/bin]
1356 --sbindir=DIR system admin executables [EPREFIX/sbin]
1357 --libexecdir=DIR program executables [EPREFIX/libexec]
1358 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1359 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1360 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1361 --libdir=DIR object code libraries [EPREFIX/lib]
1362 --includedir=DIR C header files [PREFIX/include]
1363 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1364 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1365 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1366 --infodir=DIR info documentation [DATAROOTDIR/info]
1367 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1368 --mandir=DIR man documentation [DATAROOTDIR/man]
1369 --docdir=DIR documentation root [DATAROOTDIR/doc/yaml]
1370 --htmldir=DIR html documentation [DOCDIR]
1371 --dvidir=DIR dvi documentation [DOCDIR]
1372 --pdfdir=DIR pdf documentation [DOCDIR]
1373 --psdir=DIR ps documentation [DOCDIR]
1379 --program-prefix=PREFIX prepend PREFIX to installed program names
1380 --program-suffix=SUFFIX append SUFFIX to installed program names
1381 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1384 --build=BUILD configure for building on BUILD [guessed]
1385 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1389 if test -n "$ac_init_help"; then
1390 case $ac_init_help in
1391 short | recursive ) echo "Configuration of yaml 0.2.1:";;
1396 --disable-option-checking ignore unrecognized --enable/--with options
1397 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1398 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1399 --enable-silent-rules less verbose build output (undo: "make V=1")
1400 --disable-silent-rules verbose build output (undo: "make V=0")
1401 --enable-dependency-tracking
1402 do not reject slow dependency extractors
1403 --disable-dependency-tracking
1404 speeds up one-time build
1405 --enable-shared[=PKGS] build shared libraries [default=yes]
1406 --enable-static[=PKGS] build static libraries [default=yes]
1407 --enable-fast-install[=PKGS]
1408 optimize for fast installation [default=yes]
1409 --disable-libtool-lock avoid locking (might break parallel builds)
1412 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1413 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1414 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1416 --with-aix-soname=aix|svr4|both
1417 shared library versioning (aka "SONAME") variant to
1418 provide on AIX, [default=aix].
1419 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1420 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1421 compiler's sysroot if not specified).
1423 Some influential environment variables:
1424 CC C compiler command
1425 CFLAGS C compiler flags
1426 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1427 nonstandard directory <lib dir>
1428 LIBS libraries to pass to the linker, e.g. -l<library>
1429 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1430 you have headers in a nonstandard directory <include dir>
1433 User-defined run-time library search path.
1435 Use these variables to override the choices made by `configure' or to help
1436 it to find libraries and programs with nonstandard names/locations.
1438 Report bugs to <https://github.com/yaml/libyaml/issues/new>.
1443 if test "$ac_init_help" = "recursive"; then
1444 # If there are subdirs, report their specific --help.
1445 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1446 test -d "$ac_dir" ||
1447 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1452 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1454 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1455 # A ".." for each directory in $ac_dir_suffix.
1456 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1457 case $ac_top_builddir_sub in
1458 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1459 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1462 ac_abs_top_builddir=$ac_pwd
1463 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1464 # for backward compatibility:
1465 ac_top_builddir=$ac_top_build_prefix
1468 .) # We are building in place.
1470 ac_top_srcdir=$ac_top_builddir_sub
1471 ac_abs_top_srcdir=$ac_pwd ;;
1472 [\\/]* | ?:[\\/]* ) # Absolute name.
1473 ac_srcdir=$srcdir$ac_dir_suffix;
1474 ac_top_srcdir=$srcdir
1475 ac_abs_top_srcdir=$srcdir ;;
1477 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1478 ac_top_srcdir=$ac_top_build_prefix$srcdir
1479 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1481 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1483 cd "$ac_dir" || { ac_status=$?; continue; }
1484 # Check for guested configure.
1485 if test -f "$ac_srcdir/configure.gnu"; then
1487 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1488 elif test -f "$ac_srcdir/configure"; then
1490 $SHELL "$ac_srcdir/configure" --help=recursive
1492 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1494 cd "$ac_pwd" || { ac_status=$?; break; }
1498 test -n "$ac_init_help" && exit $ac_status
1499 if $ac_init_version; then
1501 yaml configure 0.2.1
1502 generated by GNU Autoconf 2.69
1504 Copyright (C) 2012 Free Software Foundation, Inc.
1505 This configure script is free software; the Free Software Foundation
1506 gives unlimited permission to copy, distribute and modify it.
1511 ## ------------------------ ##
1512 ## Autoconf initialization. ##
1513 ## ------------------------ ##
1515 # ac_fn_c_try_compile LINENO
1516 # --------------------------
1517 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1518 ac_fn_c_try_compile ()
1520 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1521 rm -f conftest.$ac_objext
1522 if { { ac_try="$ac_compile"
1524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1525 *) ac_try_echo=$ac_try;;
1527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1528 $as_echo "$ac_try_echo"; } >&5
1529 (eval "$ac_compile") 2>conftest.err
1531 if test -s conftest.err; then
1532 grep -v '^ *+' conftest.err >conftest.er1
1533 cat conftest.er1 >&5
1534 mv -f conftest.er1 conftest.err
1536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1537 test $ac_status = 0; } && {
1538 test -z "$ac_c_werror_flag" ||
1539 test ! -s conftest.err
1540 } && test -s conftest.$ac_objext; then :
1543 $as_echo "$as_me: failed program was:" >&5
1544 sed 's/^/| /' conftest.$ac_ext >&5
1548 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1549 as_fn_set_status $ac_retval
1551 } # ac_fn_c_try_compile
1553 # ac_fn_c_try_cpp LINENO
1554 # ----------------------
1555 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1558 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1559 if { { ac_try="$ac_cpp conftest.$ac_ext"
1561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1562 *) ac_try_echo=$ac_try;;
1564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1565 $as_echo "$ac_try_echo"; } >&5
1566 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1568 if test -s conftest.err; then
1569 grep -v '^ *+' conftest.err >conftest.er1
1570 cat conftest.er1 >&5
1571 mv -f conftest.er1 conftest.err
1573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1574 test $ac_status = 0; } > conftest.i && {
1575 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1576 test ! -s conftest.err
1580 $as_echo "$as_me: failed program was:" >&5
1581 sed 's/^/| /' conftest.$ac_ext >&5
1585 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1586 as_fn_set_status $ac_retval
1590 # ac_fn_c_try_link LINENO
1591 # -----------------------
1592 # Try to link conftest.$ac_ext, and return whether this succeeded.
1595 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1596 rm -f conftest.$ac_objext conftest$ac_exeext
1597 if { { ac_try="$ac_link"
1599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1600 *) ac_try_echo=$ac_try;;
1602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1603 $as_echo "$ac_try_echo"; } >&5
1604 (eval "$ac_link") 2>conftest.err
1606 if test -s conftest.err; then
1607 grep -v '^ *+' conftest.err >conftest.er1
1608 cat conftest.er1 >&5
1609 mv -f conftest.er1 conftest.err
1611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1612 test $ac_status = 0; } && {
1613 test -z "$ac_c_werror_flag" ||
1614 test ! -s conftest.err
1615 } && test -s conftest$ac_exeext && {
1616 test "$cross_compiling" = yes ||
1617 test -x conftest$ac_exeext
1621 $as_echo "$as_me: failed program was:" >&5
1622 sed 's/^/| /' conftest.$ac_ext >&5
1626 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1627 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1628 # interfere with the next link command; also delete a directory that is
1629 # left behind by Apple's compiler. We do this before executing the actions.
1630 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1631 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1632 as_fn_set_status $ac_retval
1634 } # ac_fn_c_try_link
1636 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1637 # -------------------------------------------------------
1638 # Tests whether HEADER exists and can be compiled using the include files in
1639 # INCLUDES, setting the cache variable VAR accordingly.
1640 ac_fn_c_check_header_compile ()
1642 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1644 $as_echo_n "checking for $2... " >&6; }
1645 if eval \${$3+:} false; then :
1646 $as_echo_n "(cached) " >&6
1648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1649 /* end confdefs.h. */
1653 if ac_fn_c_try_compile "$LINENO"; then :
1658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1662 $as_echo "$ac_res" >&6; }
1663 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1665 } # ac_fn_c_check_header_compile
1667 # ac_fn_c_try_run LINENO
1668 # ----------------------
1669 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1670 # that executables *can* be run.
1673 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1674 if { { ac_try="$ac_link"
1676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1677 *) ac_try_echo=$ac_try;;
1679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1680 $as_echo "$ac_try_echo"; } >&5
1681 (eval "$ac_link") 2>&5
1683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1684 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1685 { { case "(($ac_try" in
1686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1687 *) ac_try_echo=$ac_try;;
1689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1690 $as_echo "$ac_try_echo"; } >&5
1691 (eval "$ac_try") 2>&5
1693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1694 test $ac_status = 0; }; }; then :
1697 $as_echo "$as_me: program exited with status $ac_status" >&5
1698 $as_echo "$as_me: failed program was:" >&5
1699 sed 's/^/| /' conftest.$ac_ext >&5
1701 ac_retval=$ac_status
1703 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1704 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1705 as_fn_set_status $ac_retval
1709 # ac_fn_c_check_func LINENO FUNC VAR
1710 # ----------------------------------
1711 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1712 ac_fn_c_check_func ()
1714 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1716 $as_echo_n "checking for $2... " >&6; }
1717 if eval \${$3+:} false; then :
1718 $as_echo_n "(cached) " >&6
1720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1721 /* end confdefs.h. */
1722 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1724 #define $2 innocuous_$2
1726 /* System header to define __stub macros and hopefully few prototypes,
1727 which can conflict with char $2 (); below.
1728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1729 <limits.h> exists even on freestanding compilers. */
1732 # include <limits.h>
1734 # include <assert.h>
1739 /* Override any GCC internal prototype to avoid an error.
1740 Use char because int might match the return type of a GCC
1741 builtin and then its argument prototype would still apply. */
1746 /* The GNU C library defines this for functions which it implements
1747 to always fail with ENOSYS. Some functions are actually named
1748 something starting with __ and the normal name is an alias. */
1749 #if defined __stub_$2 || defined __stub___$2
1761 if ac_fn_c_try_link "$LINENO"; then :
1766 rm -f core conftest.err conftest.$ac_objext \
1767 conftest$ac_exeext conftest.$ac_ext
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1771 $as_echo "$ac_res" >&6; }
1772 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1774 } # ac_fn_c_check_func
1776 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1777 # -------------------------------------------------------
1778 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1779 # the include files in INCLUDES and setting the cache variable VAR
1781 ac_fn_c_check_header_mongrel ()
1783 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1784 if eval \${$3+:} false; then :
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1786 $as_echo_n "checking for $2... " >&6; }
1787 if eval \${$3+:} false; then :
1788 $as_echo_n "(cached) " >&6
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1792 $as_echo "$ac_res" >&6; }
1794 # Is the header compilable?
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1796 $as_echo_n "checking $2 usability... " >&6; }
1797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1798 /* end confdefs.h. */
1802 if ac_fn_c_try_compile "$LINENO"; then :
1803 ac_header_compiler=yes
1805 ac_header_compiler=no
1807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1809 $as_echo "$ac_header_compiler" >&6; }
1811 # Is the header present?
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1813 $as_echo_n "checking $2 presence... " >&6; }
1814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1815 /* end confdefs.h. */
1818 if ac_fn_c_try_cpp "$LINENO"; then :
1819 ac_header_preproc=yes
1821 ac_header_preproc=no
1823 rm -f conftest.err conftest.i conftest.$ac_ext
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1825 $as_echo "$ac_header_preproc" >&6; }
1827 # So? What about this header?
1828 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1831 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1833 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1837 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1839 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1841 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1843 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&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;}
1846 ( $as_echo "## --------------------------------------------------------- ##
1847 ## Report this to https://github.com/yaml/libyaml/issues/new ##
1848 ## --------------------------------------------------------- ##"
1849 ) | sed "s/^/$as_me: WARNING: /" >&2
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1853 $as_echo_n "checking for $2... " >&6; }
1854 if eval \${$3+:} false; then :
1855 $as_echo_n "(cached) " >&6
1857 eval "$3=\$ac_header_compiler"
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1861 $as_echo "$ac_res" >&6; }
1863 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1865 } # ac_fn_c_check_header_mongrel
1867 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1868 # -------------------------------------------
1869 # Tests whether TYPE exists after having included INCLUDES, setting cache
1870 # variable VAR accordingly.
1871 ac_fn_c_check_type ()
1873 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1875 $as_echo_n "checking for $2... " >&6; }
1876 if eval \${$3+:} false; then :
1877 $as_echo_n "(cached) " >&6
1880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1881 /* end confdefs.h. */
1892 if ac_fn_c_try_compile "$LINENO"; then :
1893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1894 /* end confdefs.h. */
1905 if ac_fn_c_try_compile "$LINENO"; then :
1910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1916 $as_echo "$ac_res" >&6; }
1917 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1919 } # ac_fn_c_check_type
1920 cat >config.log <<_ACEOF
1921 This file contains any messages produced by compilers while
1922 running configure, to aid debugging if configure makes a mistake.
1924 It was created by yaml $as_me 0.2.1, which was
1925 generated by GNU Autoconf 2.69. Invocation command line was
1937 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1938 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1939 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1940 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1941 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1943 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1944 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1946 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1947 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1948 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1949 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1950 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1951 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1952 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1960 test -z "$as_dir" && as_dir=.
1961 $as_echo "PATH: $as_dir"
1977 # Keep a trace of the command line.
1978 # Strip out --no-create and --no-recursion so they do not pile up.
1979 # Strip out --silent because we don't want to record it for future runs.
1980 # Also quote any args containing shell meta-characters.
1981 # Make two passes to allow for proper duplicate-argument suppression.
1985 ac_must_keep_next=false
1991 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1992 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1993 | -silent | --silent | --silen | --sile | --sil)
1996 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1999 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2001 as_fn_append ac_configure_args1 " '$ac_arg'"
2002 if test $ac_must_keep_next = true; then
2003 ac_must_keep_next=false # Got value, back to normal.
2006 *=* | --config-cache | -C | -disable-* | --disable-* \
2007 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2008 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2009 | -with-* | --with-* | -without-* | --without-* | --x)
2010 case "$ac_configure_args0 " in
2011 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2014 -* ) ac_must_keep_next=true ;;
2017 as_fn_append ac_configure_args " '$ac_arg'"
2022 { ac_configure_args0=; unset ac_configure_args0;}
2023 { ac_configure_args1=; unset ac_configure_args1;}
2025 # When interrupted or exit'd, cleanup temporary files, and complete
2026 # config.log. We remove comments because anyway the quotes in there
2027 # would cause problems or look ugly.
2028 # WARNING: Use '\'' to represent an apostrophe within the trap.
2029 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2030 trap 'exit_status=$?
2031 # Save into config.log some information that might help in debugging.
2035 $as_echo "## ---------------- ##
2036 ## Cache variables. ##
2037 ## ---------------- ##"
2039 # The following way of writing the cache mishandles newlines in values,
2041 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2042 eval ac_val=\$$ac_var
2046 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2047 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2050 _ | IFS | as_nl) ;; #(
2051 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2052 *) { eval $ac_var=; unset $ac_var;} ;;
2057 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2058 *${as_nl}ac_space=\ *)
2060 "s/'\''/'\''\\\\'\'''\''/g;
2061 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2064 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2071 $as_echo "## ----------------- ##
2072 ## Output variables. ##
2073 ## ----------------- ##"
2075 for ac_var in $ac_subst_vars
2077 eval ac_val=\$$ac_var
2079 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2081 $as_echo "$ac_var='\''$ac_val'\''"
2085 if test -n "$ac_subst_files"; then
2086 $as_echo "## ------------------- ##
2087 ## File substitutions. ##
2088 ## ------------------- ##"
2090 for ac_var in $ac_subst_files
2092 eval ac_val=\$$ac_var
2094 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2096 $as_echo "$ac_var='\''$ac_val'\''"
2101 if test -s confdefs.h; then
2102 $as_echo "## ----------- ##
2109 test "$ac_signal" != 0 &&
2110 $as_echo "$as_me: caught signal $ac_signal"
2111 $as_echo "$as_me: exit $exit_status"
2113 rm -f core *.core core.conftest.* &&
2114 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2117 for ac_signal in 1 2 13 15; do
2118 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2122 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2123 rm -f -r conftest* confdefs.h
2125 $as_echo "/* confdefs.h */" > confdefs.h
2127 # Predefined preprocessor variables.
2129 cat >>confdefs.h <<_ACEOF
2130 #define PACKAGE_NAME "$PACKAGE_NAME"
2133 cat >>confdefs.h <<_ACEOF
2134 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2137 cat >>confdefs.h <<_ACEOF
2138 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2141 cat >>confdefs.h <<_ACEOF
2142 #define PACKAGE_STRING "$PACKAGE_STRING"
2145 cat >>confdefs.h <<_ACEOF
2146 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2149 cat >>confdefs.h <<_ACEOF
2150 #define PACKAGE_URL "$PACKAGE_URL"
2154 # Let the site file select an alternate cache file if it wants to.
2155 # Prefer an explicitly selected file to automatically selected ones.
2158 if test -n "$CONFIG_SITE"; then
2159 # We do not want a PATH search for config.site.
2160 case $CONFIG_SITE in #((
2161 -*) ac_site_file1=./$CONFIG_SITE;;
2162 */*) ac_site_file1=$CONFIG_SITE;;
2163 *) ac_site_file1=./$CONFIG_SITE;;
2165 elif test "x$prefix" != xNONE; then
2166 ac_site_file1=$prefix/share/config.site
2167 ac_site_file2=$prefix/etc/config.site
2169 ac_site_file1=$ac_default_prefix/share/config.site
2170 ac_site_file2=$ac_default_prefix/etc/config.site
2172 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2174 test "x$ac_site_file" = xNONE && continue
2175 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2177 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2178 sed 's/^/| /' "$ac_site_file" >&5
2180 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2181 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2182 as_fn_error $? "failed to load site script $ac_site_file
2183 See \`config.log' for more details" "$LINENO" 5; }
2187 if test -r "$cache_file"; then
2188 # Some versions of bash will fail to source /dev/null (special files
2189 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2190 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2192 $as_echo "$as_me: loading cache $cache_file" >&6;}
2194 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2195 *) . "./$cache_file";;
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2200 $as_echo "$as_me: creating cache $cache_file" >&6;}
2204 # Check that the precious variables saved in the cache have kept the same
2206 ac_cache_corrupted=false
2207 for ac_var in $ac_precious_vars; do
2208 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2209 eval ac_new_set=\$ac_env_${ac_var}_set
2210 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2211 eval ac_new_val=\$ac_env_${ac_var}_value
2212 case $ac_old_set,$ac_new_set in
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2215 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2216 ac_cache_corrupted=: ;;
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2219 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2220 ac_cache_corrupted=: ;;
2223 if test "x$ac_old_val" != "x$ac_new_val"; then
2224 # differences in whitespace do not lead to failure.
2225 ac_old_val_w=`echo x $ac_old_val`
2226 ac_new_val_w=`echo x $ac_new_val`
2227 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2229 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2230 ac_cache_corrupted=:
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2233 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2234 eval $ac_var=\$ac_old_val
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2237 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2239 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2242 # Pass precious variables to config.status.
2243 if test "$ac_new_set" = set; then
2245 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2246 *) ac_arg=$ac_var=$ac_new_val ;;
2248 case " $ac_configure_args " in
2249 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2250 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2254 if $ac_cache_corrupted; then
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2256 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2258 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2259 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2261 ## -------------------- ##
2262 ## Main body of script. ##
2263 ## -------------------- ##
2266 ac_cpp='$CPP $CPPFLAGS'
2267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2273 for ac_dir in config "$srcdir"/config; do
2274 if test -f "$ac_dir/install-sh"; then
2276 ac_install_sh="$ac_aux_dir/install-sh -c"
2278 elif test -f "$ac_dir/install.sh"; then
2280 ac_install_sh="$ac_aux_dir/install.sh -c"
2282 elif test -f "$ac_dir/shtool"; then
2284 ac_install_sh="$ac_aux_dir/shtool install -c"
2288 if test -z "$ac_aux_dir"; then
2289 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2292 # These three variables are undocumented and unsupported,
2293 # and are intended to be withdrawn in a future Autoconf release.
2294 # They can cause serious problems if a builder's source tree is in a directory
2295 # whose full name contains unusual characters.
2296 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2297 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2298 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2301 ac_config_headers="$ac_config_headers config.h"
2303 am__api_version='1.15'
2305 # Find a good install program. We prefer a C program (faster),
2306 # so one script is as good as another. But avoid the broken or
2307 # incompatible versions:
2308 # SysV /etc/install, /usr/sbin/install
2309 # SunOS /usr/etc/install
2310 # IRIX /sbin/install
2312 # AmigaOS /C/install, which installs bootblocks on floppy discs
2313 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2314 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2315 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2316 # OS/2's system install, which has a completely different semantic
2317 # ./install, which can be erroneously created by make from ./install.sh.
2318 # Reject install programs that cannot install multiple files.
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2320 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2321 if test -z "$INSTALL"; then
2322 if ${ac_cv_path_install+:} false; then :
2323 $as_echo_n "(cached) " >&6
2325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2329 test -z "$as_dir" && as_dir=.
2330 # Account for people who put trailing slashes in PATH elements.
2331 case $as_dir/ in #((
2332 ./ | .// | /[cC]/* | \
2333 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2334 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2337 # OSF1 and SCO ODT 3.0 have their own names for install.
2338 # Don't use installbsd from OSF since it installs stuff as root
2340 for ac_prog in ginstall scoinst install; do
2341 for ac_exec_ext in '' $ac_executable_extensions; do
2342 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2343 if test $ac_prog = install &&
2344 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2345 # AIX install. It has an incompatible calling convention.
2347 elif test $ac_prog = install &&
2348 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2349 # program-specific install script used by HP pwplus--don't use.
2352 rm -rf conftest.one conftest.two conftest.dir
2353 echo one > conftest.one
2354 echo two > conftest.two
2356 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2357 test -s conftest.one && test -s conftest.two &&
2358 test -s conftest.dir/conftest.one &&
2359 test -s conftest.dir/conftest.two
2361 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2374 rm -rf conftest.one conftest.two conftest.dir
2377 if test "${ac_cv_path_install+set}" = set; then
2378 INSTALL=$ac_cv_path_install
2380 # As a last resort, use the slow shell script. Don't cache a
2381 # value for INSTALL within a source directory, because that will
2382 # break other packages using the cache if that directory is
2383 # removed, or if the value is a relative name.
2384 INSTALL=$ac_install_sh
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2388 $as_echo "$INSTALL" >&6; }
2390 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2391 # It thinks the first close brace ends the variable substitution.
2392 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2394 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2396 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2399 $as_echo_n "checking whether build environment is sane... " >&6; }
2400 # Reject unsafe characters in $srcdir or the absolute working directory
2401 # name. Accept space and tab only in the latter.
2405 *[\\\"\#\$\&\'\`$am_lf]*)
2406 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2409 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2410 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2413 # Do 'set' in a subshell so we don't clobber the current shell's
2414 # arguments. Must try -L first in case configure is actually a
2415 # symlink; some systems play weird games with the mod time of symlinks
2416 # (eg FreeBSD returns the mod time of the symlink's containing
2420 for am_try in 1 2; do
2421 echo "timestamp, slept: $am_has_slept" > conftest.file
2422 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2423 if test "$*" = "X"; then
2425 set X `ls -t "$srcdir/configure" conftest.file`
2427 if test "$*" != "X $srcdir/configure conftest.file" \
2428 && test "$*" != "X conftest.file $srcdir/configure"; then
2430 # If neither matched, then we have a broken ls. This can happen
2431 # if, for instance, CONFIG_SHELL is bash and it inherits a
2432 # broken ls alias from the environment. This has actually
2433 # happened. Such a system could not be considered "sane".
2434 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2435 alias in your environment" "$LINENO" 5
2437 if test "$2" = conftest.file || test $am_try -eq 2; then
2444 test "$2" = conftest.file
2450 as_fn_error $? "newly created file is older than distributed files!
2451 Check your system clock" "$LINENO" 5
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2454 $as_echo "yes" >&6; }
2455 # If we didn't sleep, we still need to ensure time stamps of config.status and
2456 # generated files are strictly newer.
2458 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2465 test "$program_prefix" != NONE &&
2466 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2467 # Use a double $ so make ignores it.
2468 test "$program_suffix" != NONE &&
2469 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2470 # Double any \ or $.
2471 # By default was `s,x,x', remove it if useless.
2472 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2473 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2475 # Expand $ac_aux_dir to an absolute path.
2476 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2478 if test x"${MISSING+set}" != xset; then
2481 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2483 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2486 # Use eval to expand $SHELL
2487 if eval "$MISSING --is-lightweight"; then
2488 am_missing_run="$MISSING "
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2492 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2495 if test x"${install_sh+set}" != xset; then
2498 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2500 install_sh="\${SHELL} $am_aux_dir/install-sh"
2504 # Installed binaries are usually stripped using 'strip' when the user
2505 # run "make install-strip". However 'strip' might not be the right
2506 # tool to use in cross-compilation environments, therefore Automake
2507 # will honor the 'STRIP' environment variable to overrule this program.
2508 if test "$cross_compiling" != no; then
2509 if test -n "$ac_tool_prefix"; then
2510 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2511 set dummy ${ac_tool_prefix}strip; ac_word=$2
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2513 $as_echo_n "checking for $ac_word... " >&6; }
2514 if ${ac_cv_prog_STRIP+:} false; then :
2515 $as_echo_n "(cached) " >&6
2517 if test -n "$STRIP"; then
2518 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2524 test -z "$as_dir" && as_dir=.
2525 for ac_exec_ext in '' $ac_executable_extensions; do
2526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2527 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2537 STRIP=$ac_cv_prog_STRIP
2538 if test -n "$STRIP"; then
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2540 $as_echo "$STRIP" >&6; }
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2543 $as_echo "no" >&6; }
2548 if test -z "$ac_cv_prog_STRIP"; then
2550 # Extract the first word of "strip", so it can be a program name with args.
2551 set dummy strip; ac_word=$2
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2553 $as_echo_n "checking for $ac_word... " >&6; }
2554 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2555 $as_echo_n "(cached) " >&6
2557 if test -n "$ac_ct_STRIP"; then
2558 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2564 test -z "$as_dir" && as_dir=.
2565 for ac_exec_ext in '' $ac_executable_extensions; do
2566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2567 ac_cv_prog_ac_ct_STRIP="strip"
2568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2577 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2578 if test -n "$ac_ct_STRIP"; then
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2580 $as_echo "$ac_ct_STRIP" >&6; }
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2583 $as_echo "no" >&6; }
2586 if test "x$ac_ct_STRIP" = x; then
2589 case $cross_compiling:$ac_tool_warned in
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2592 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2593 ac_tool_warned=yes ;;
2598 STRIP="$ac_cv_prog_STRIP"
2602 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2605 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2606 if test -z "$MKDIR_P"; then
2607 if ${ac_cv_path_mkdir+:} false; then :
2608 $as_echo_n "(cached) " >&6
2610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2611 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2614 test -z "$as_dir" && as_dir=.
2615 for ac_prog in mkdir gmkdir; do
2616 for ac_exec_ext in '' $ac_executable_extensions; do
2617 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2618 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2619 'mkdir (GNU coreutils) '* | \
2620 'mkdir (coreutils) '* | \
2621 'mkdir (fileutils) '4.1*)
2622 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2632 test -d ./--version && rmdir ./--version
2633 if test "${ac_cv_path_mkdir+set}" = set; then
2634 MKDIR_P="$ac_cv_path_mkdir -p"
2636 # As a last resort, use the slow shell script. Don't cache a
2637 # value for MKDIR_P within a source directory, because that will
2638 # break other packages using the cache if that directory is
2639 # removed, or if the value is a relative name.
2640 MKDIR_P="$ac_install_sh -d"
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2644 $as_echo "$MKDIR_P" >&6; }
2646 for ac_prog in gawk mawk nawk awk
2648 # Extract the first word of "$ac_prog", so it can be a program name with args.
2649 set dummy $ac_prog; ac_word=$2
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2651 $as_echo_n "checking for $ac_word... " >&6; }
2652 if ${ac_cv_prog_AWK+:} false; then :
2653 $as_echo_n "(cached) " >&6
2655 if test -n "$AWK"; then
2656 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2662 test -z "$as_dir" && as_dir=.
2663 for ac_exec_ext in '' $ac_executable_extensions; do
2664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2665 ac_cv_prog_AWK="$ac_prog"
2666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2676 if test -n "$AWK"; then
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2678 $as_echo "$AWK" >&6; }
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2681 $as_echo "no" >&6; }
2685 test -n "$AWK" && break
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2689 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2691 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2692 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2693 $as_echo_n "(cached) " >&6
2695 cat >conftest.make <<\_ACEOF
2698 @echo '@@@%%%=$(MAKE)=@@@%%%'
2700 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2701 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2703 eval ac_cv_prog_make_${ac_make}_set=yes;;
2705 eval ac_cv_prog_make_${ac_make}_set=no;;
2709 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2711 $as_echo "yes" >&6; }
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2715 $as_echo "no" >&6; }
2716 SET_MAKE="MAKE=${MAKE-make}"
2719 rm -rf .tst 2>/dev/null
2720 mkdir .tst 2>/dev/null
2721 if test -d .tst; then
2726 rmdir .tst 2>/dev/null
2728 # Check whether --enable-silent-rules was given.
2729 if test "${enable_silent_rules+set}" = set; then :
2730 enableval=$enable_silent_rules;
2733 case $enable_silent_rules in # (((
2734 yes) AM_DEFAULT_VERBOSITY=0;;
2735 no) AM_DEFAULT_VERBOSITY=1;;
2736 *) AM_DEFAULT_VERBOSITY=1;;
2738 am_make=${MAKE-make}
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2740 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2741 if ${am_cv_make_support_nested_variables+:} false; then :
2742 $as_echo_n "(cached) " >&6
2744 if $as_echo 'TRUE=$(BAR$(V))
2750 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2751 am_cv_make_support_nested_variables=yes
2753 am_cv_make_support_nested_variables=no
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2757 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2758 if test $am_cv_make_support_nested_variables = yes; then
2760 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2762 AM_V=$AM_DEFAULT_VERBOSITY
2763 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2767 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2768 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2769 # is not polluted with repeated "-I."
2770 am__isrc=' -I$(srcdir)'
2771 # test to see if srcdir already configured
2772 if test -f $srcdir/config.status; then
2773 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2777 # test whether we have cygpath
2778 if test -z "$CYGPATH_W"; then
2779 if (cygpath --version) >/dev/null 2>/dev/null; then
2780 CYGPATH_W='cygpath -w'
2787 # Define the identity of the package.
2792 cat >>confdefs.h <<_ACEOF
2793 #define PACKAGE "$PACKAGE"
2797 cat >>confdefs.h <<_ACEOF
2798 #define VERSION "$VERSION"
2801 # Some tools Automake needs.
2803 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2806 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2809 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2812 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2815 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2817 # For better backward compatibility. To be removed once Automake 1.9.x
2818 # dies out for good. For more background, see:
2819 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2820 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2821 mkdir_p='$(MKDIR_P)'
2823 # We need awk for the "check" target (and possibly the TAP driver). The
2824 # system "awk" is bad on some platforms.
2825 # Always define AMTAR for backward compatibility. Yes, it's still used
2826 # in the wild :-( We should find a proper way to deprecate it ...
2830 # We'll loop over all known methods to create a tar archive until one works.
2831 _am_tools='gnutar pax cpio none'
2833 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2840 # POSIX will say in a future version that running "rm -f" with no argument
2841 # is OK; and we want to be able to make that assumption in our Makefile
2842 # recipes. So use an aggressive probe to check that the usage we want is
2843 # actually supported "in the wild" to an acceptable degree.
2844 # See automake bug#10828.
2845 # To make any issue more visible, cause the running configure to be aborted
2846 # by default if the 'rm' program in use doesn't match our expectations; the
2847 # user can still override this though.
2848 if rm -f && rm -fr && rm -rf; then : OK; else
2852 Your 'rm' program seems unable to run without file operands specified
2853 on the command line, even when the '-f' option is present. This is contrary
2854 to the behaviour of most rm programs out there, and not conforming with
2855 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2857 Please tell bug-automake@gnu.org about your system, including the value
2858 of your $PATH and any error possibly output before this message. This
2859 can help us improve future automake versions.
2862 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2863 echo 'Configuration will proceed anyway, since you have set the' >&2
2864 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2868 Aborting the configuration process, to ensure you take notice of the issue.
2870 You can download and install GNU coreutils to get an 'rm' implementation
2871 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2873 If you want to complete the configuration process using your problematic
2874 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2875 to "yes", and re-run configure.
2878 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2883 # Define macro variables for the package version numbers.
2885 $as_echo "#define YAML_VERSION_MAJOR 0" >>confdefs.h
2888 $as_echo "#define YAML_VERSION_MINOR 2" >>confdefs.h
2891 $as_echo "#define YAML_VERSION_PATCH 1" >>confdefs.h
2894 $as_echo "#define YAML_VERSION_STRING \"0.2.1\"" >>confdefs.h
2897 # Define substitutions for the libtool version numbers.
2907 # Note: in order to update checks, run `autoscan` and look through "configure.scan".
2909 # Checks for programs.
2911 ac_cpp='$CPP $CPPFLAGS'
2912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2915 if test -n "$ac_tool_prefix"; then
2916 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2917 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2919 $as_echo_n "checking for $ac_word... " >&6; }
2920 if ${ac_cv_prog_CC+:} false; then :
2921 $as_echo_n "(cached) " >&6
2923 if test -n "$CC"; then
2924 ac_cv_prog_CC="$CC" # Let the user override the test.
2926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2930 test -z "$as_dir" && as_dir=.
2931 for ac_exec_ext in '' $ac_executable_extensions; do
2932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2933 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2944 if test -n "$CC"; then
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2946 $as_echo "$CC" >&6; }
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2949 $as_echo "no" >&6; }
2954 if test -z "$ac_cv_prog_CC"; then
2956 # Extract the first word of "gcc", so it can be a program name with args.
2957 set dummy gcc; ac_word=$2
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2959 $as_echo_n "checking for $ac_word... " >&6; }
2960 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2961 $as_echo_n "(cached) " >&6
2963 if test -n "$ac_ct_CC"; then
2964 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2970 test -z "$as_dir" && as_dir=.
2971 for ac_exec_ext in '' $ac_executable_extensions; do
2972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2973 ac_cv_prog_ac_ct_CC="gcc"
2974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2983 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2984 if test -n "$ac_ct_CC"; then
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2986 $as_echo "$ac_ct_CC" >&6; }
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2989 $as_echo "no" >&6; }
2992 if test "x$ac_ct_CC" = x; then
2995 case $cross_compiling:$ac_tool_warned in
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2998 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2999 ac_tool_warned=yes ;;
3007 if test -z "$CC"; then
3008 if test -n "$ac_tool_prefix"; then
3009 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3010 set dummy ${ac_tool_prefix}cc; ac_word=$2
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3012 $as_echo_n "checking for $ac_word... " >&6; }
3013 if ${ac_cv_prog_CC+:} false; then :
3014 $as_echo_n "(cached) " >&6
3016 if test -n "$CC"; then
3017 ac_cv_prog_CC="$CC" # Let the user override the test.
3019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3023 test -z "$as_dir" && as_dir=.
3024 for ac_exec_ext in '' $ac_executable_extensions; do
3025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3026 ac_cv_prog_CC="${ac_tool_prefix}cc"
3027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3037 if test -n "$CC"; then
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3039 $as_echo "$CC" >&6; }
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3042 $as_echo "no" >&6; }
3048 if test -z "$CC"; then
3049 # Extract the first word of "cc", so it can be a program name with args.
3050 set dummy cc; ac_word=$2
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3052 $as_echo_n "checking for $ac_word... " >&6; }
3053 if ${ac_cv_prog_CC+:} false; then :
3054 $as_echo_n "(cached) " >&6
3056 if test -n "$CC"; then
3057 ac_cv_prog_CC="$CC" # Let the user override the test.
3060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3064 test -z "$as_dir" && as_dir=.
3065 for ac_exec_ext in '' $ac_executable_extensions; do
3066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3067 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3068 ac_prog_rejected=yes
3072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3079 if test $ac_prog_rejected = yes; then
3080 # We found a bogon in the path, so make sure we never use it.
3081 set dummy $ac_cv_prog_CC
3083 if test $# != 0; then
3084 # We chose a different compiler from the bogus one.
3085 # However, it has the same basename, so the bogon will be chosen
3086 # first if we set CC to just the basename; use the full file name.
3088 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3094 if test -n "$CC"; then
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3096 $as_echo "$CC" >&6; }
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3099 $as_echo "no" >&6; }
3104 if test -z "$CC"; then
3105 if test -n "$ac_tool_prefix"; then
3106 for ac_prog in cl.exe
3108 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3109 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3111 $as_echo_n "checking for $ac_word... " >&6; }
3112 if ${ac_cv_prog_CC+:} false; then :
3113 $as_echo_n "(cached) " >&6
3115 if test -n "$CC"; then
3116 ac_cv_prog_CC="$CC" # Let the user override the test.
3118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3122 test -z "$as_dir" && as_dir=.
3123 for ac_exec_ext in '' $ac_executable_extensions; do
3124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3125 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3136 if test -n "$CC"; then
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3138 $as_echo "$CC" >&6; }
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3141 $as_echo "no" >&6; }
3145 test -n "$CC" && break
3148 if test -z "$CC"; then
3150 for ac_prog in cl.exe
3152 # Extract the first word of "$ac_prog", so it can be a program name with args.
3153 set dummy $ac_prog; ac_word=$2
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3155 $as_echo_n "checking for $ac_word... " >&6; }
3156 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3157 $as_echo_n "(cached) " >&6
3159 if test -n "$ac_ct_CC"; then
3160 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3166 test -z "$as_dir" && as_dir=.
3167 for ac_exec_ext in '' $ac_executable_extensions; do
3168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3169 ac_cv_prog_ac_ct_CC="$ac_prog"
3170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3179 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3180 if test -n "$ac_ct_CC"; then
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3182 $as_echo "$ac_ct_CC" >&6; }
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3185 $as_echo "no" >&6; }
3189 test -n "$ac_ct_CC" && break
3192 if test "x$ac_ct_CC" = x; then
3195 case $cross_compiling:$ac_tool_warned in
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3198 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3199 ac_tool_warned=yes ;;
3208 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3209 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3210 as_fn_error $? "no acceptable C compiler found in \$PATH
3211 See \`config.log' for more details" "$LINENO" 5; }
3213 # Provide some information about the compiler.
3214 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3217 for ac_option in --version -v -V -qversion; do
3218 { { ac_try="$ac_compiler $ac_option >&5"
3220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3221 *) ac_try_echo=$ac_try;;
3223 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3224 $as_echo "$ac_try_echo"; } >&5
3225 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3227 if test -s conftest.err; then
3229 ... rest of stderr output deleted ...
3230 10q' conftest.err >conftest.er1
3231 cat conftest.er1 >&5
3233 rm -f conftest.er1 conftest.err
3234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3235 test $ac_status = 0; }
3238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3239 /* end confdefs.h. */
3249 ac_clean_files_save=$ac_clean_files
3250 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3251 # Try to create an executable without -o first, disregard a.out.
3252 # It will help us diagnose broken compilers, and finding out an intuition
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3255 $as_echo_n "checking whether the C compiler works... " >&6; }
3256 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3258 # The possible output files:
3259 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3262 for ac_file in $ac_files
3265 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3266 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3271 if { { ac_try="$ac_link_default"
3273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3274 *) ac_try_echo=$ac_try;;
3276 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3277 $as_echo "$ac_try_echo"; } >&5
3278 (eval "$ac_link_default") 2>&5
3280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3281 test $ac_status = 0; }; then :
3282 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3283 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3284 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3285 # so that the user can short-circuit this test for compilers unknown to
3287 for ac_file in $ac_files ''
3289 test -f "$ac_file" || continue
3291 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3294 # We found the default executable, but exeext='' is most
3298 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3300 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3302 # We set ac_cv_exeext here because the later test for it is not
3303 # safe: cross compilers may not add the suffix if given an `-o'
3304 # argument, so we may need to know it at that point already.
3305 # Even if this section looks crufty: it has the advantage of
3312 test "$ac_cv_exeext" = no && ac_cv_exeext=
3317 if test -z "$ac_file"; then :
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3319 $as_echo "no" >&6; }
3320 $as_echo "$as_me: failed program was:" >&5
3321 sed 's/^/| /' conftest.$ac_ext >&5
3323 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3325 as_fn_error 77 "C compiler cannot create executables
3326 See \`config.log' for more details" "$LINENO" 5; }
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3329 $as_echo "yes" >&6; }
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3332 $as_echo_n "checking for C compiler default output file name... " >&6; }
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3334 $as_echo "$ac_file" >&6; }
3335 ac_exeext=$ac_cv_exeext
3337 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3338 ac_clean_files=$ac_clean_files_save
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3340 $as_echo_n "checking for suffix of executables... " >&6; }
3341 if { { ac_try="$ac_link"
3343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3344 *) ac_try_echo=$ac_try;;
3346 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3347 $as_echo "$ac_try_echo"; } >&5
3348 (eval "$ac_link") 2>&5
3350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3351 test $ac_status = 0; }; then :
3352 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3353 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3354 # work properly (i.e., refer to `conftest.exe'), while it won't with
3356 for ac_file in conftest.exe conftest conftest.*; do
3357 test -f "$ac_file" || continue
3359 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3360 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3366 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3368 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3369 See \`config.log' for more details" "$LINENO" 5; }
3371 rm -f conftest conftest$ac_cv_exeext
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3373 $as_echo "$ac_cv_exeext" >&6; }
3375 rm -f conftest.$ac_ext
3376 EXEEXT=$ac_cv_exeext
3378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3379 /* end confdefs.h. */
3384 FILE *f = fopen ("conftest.out", "w");
3385 return ferror (f) || fclose (f) != 0;
3391 ac_clean_files="$ac_clean_files conftest.out"
3392 # Check that the compiler produces executables we can run. If not, either
3393 # the compiler is broken, or we cross compile.
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3395 $as_echo_n "checking whether we are cross compiling... " >&6; }
3396 if test "$cross_compiling" != yes; then
3397 { { ac_try="$ac_link"
3399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3400 *) ac_try_echo=$ac_try;;
3402 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3403 $as_echo "$ac_try_echo"; } >&5
3404 (eval "$ac_link") 2>&5
3406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3407 test $ac_status = 0; }
3408 if { ac_try='./conftest$ac_cv_exeext'
3409 { { case "(($ac_try" in
3410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3411 *) ac_try_echo=$ac_try;;
3413 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3414 $as_echo "$ac_try_echo"; } >&5
3415 (eval "$ac_try") 2>&5
3417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3418 test $ac_status = 0; }; }; then
3421 if test "$cross_compiling" = maybe; then
3424 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3425 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3426 as_fn_error $? "cannot run C compiled programs.
3427 If you meant to cross compile, use \`--host'.
3428 See \`config.log' for more details" "$LINENO" 5; }
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3433 $as_echo "$cross_compiling" >&6; }
3435 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3436 ac_clean_files=$ac_clean_files_save
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3438 $as_echo_n "checking for suffix of object files... " >&6; }
3439 if ${ac_cv_objext+:} false; then :
3440 $as_echo_n "(cached) " >&6
3442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3443 /* end confdefs.h. */
3453 rm -f conftest.o conftest.obj
3454 if { { ac_try="$ac_compile"
3456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3457 *) ac_try_echo=$ac_try;;
3459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3460 $as_echo "$ac_try_echo"; } >&5
3461 (eval "$ac_compile") 2>&5
3463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3464 test $ac_status = 0; }; then :
3465 for ac_file in conftest.o conftest.obj conftest.*; do
3466 test -f "$ac_file" || continue;
3468 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3469 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3474 $as_echo "$as_me: failed program was:" >&5
3475 sed 's/^/| /' conftest.$ac_ext >&5
3477 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3478 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3479 as_fn_error $? "cannot compute suffix of object files: cannot compile
3480 See \`config.log' for more details" "$LINENO" 5; }
3482 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3485 $as_echo "$ac_cv_objext" >&6; }
3486 OBJEXT=$ac_cv_objext
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3489 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3490 if ${ac_cv_c_compiler_gnu+:} false; then :
3491 $as_echo_n "(cached) " >&6
3493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3494 /* end confdefs.h. */
3507 if ac_fn_c_try_compile "$LINENO"; then :
3512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3513 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3517 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3518 if test $ac_compiler_gnu = yes; then
3523 ac_test_CFLAGS=${CFLAGS+set}
3524 ac_save_CFLAGS=$CFLAGS
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3526 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3527 if ${ac_cv_prog_cc_g+:} false; then :
3528 $as_echo_n "(cached) " >&6
3530 ac_save_c_werror_flag=$ac_c_werror_flag
3531 ac_c_werror_flag=yes
3534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3535 /* end confdefs.h. */
3545 if ac_fn_c_try_compile "$LINENO"; then :
3549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3550 /* end confdefs.h. */
3560 if ac_fn_c_try_compile "$LINENO"; then :
3563 ac_c_werror_flag=$ac_save_c_werror_flag
3565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3566 /* end confdefs.h. */
3576 if ac_fn_c_try_compile "$LINENO"; then :
3579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3584 ac_c_werror_flag=$ac_save_c_werror_flag
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3587 $as_echo "$ac_cv_prog_cc_g" >&6; }
3588 if test "$ac_test_CFLAGS" = set; then
3589 CFLAGS=$ac_save_CFLAGS
3590 elif test $ac_cv_prog_cc_g = yes; then
3591 if test "$GCC" = yes; then
3597 if test "$GCC" = yes; then
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3604 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3605 if ${ac_cv_prog_cc_c89+:} false; then :
3606 $as_echo_n "(cached) " >&6
3608 ac_cv_prog_cc_c89=no
3610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3611 /* end confdefs.h. */
3615 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3616 struct buf { int x; };
3617 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3618 static char *e (p, i)
3624 static char *f (char * (*g) (char **, int), char **p, ...)
3629 s = g (p, va_arg (v,int));
3634 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3635 function prototypes and stuff, but not '\xHH' hex character constants.
3636 These don't provoke an error unfortunately, instead are silently treated
3637 as 'x'. The following induces an error, until -std is added to get
3638 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3639 array size at least. It's necessary to write '\x00'==0 to get something
3640 that's true only with -std. */
3641 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3643 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3644 inside strings and character constants. */
3646 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3648 int test (int i, double x);
3649 struct s1 {int (*f) (int a);};
3650 struct s2 {int (*f) (double a);};
3651 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3657 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3662 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3663 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3665 CC="$ac_save_CC $ac_arg"
3666 if ac_fn_c_try_compile "$LINENO"; then :
3667 ac_cv_prog_cc_c89=$ac_arg
3669 rm -f core conftest.err conftest.$ac_objext
3670 test "x$ac_cv_prog_cc_c89" != "xno" && break
3672 rm -f conftest.$ac_ext
3677 case "x$ac_cv_prog_cc_c89" in
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3680 $as_echo "none needed" >&6; } ;;
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3683 $as_echo "unsupported" >&6; } ;;
3685 CC="$CC $ac_cv_prog_cc_c89"
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3687 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3689 if test "x$ac_cv_prog_cc_c89" != xno; then :
3694 ac_cpp='$CPP $CPPFLAGS'
3695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3700 ac_cpp='$CPP $CPPFLAGS'
3701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3705 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3706 if ${am_cv_prog_cc_c_o+:} false; then :
3707 $as_echo_n "(cached) " >&6
3709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3710 /* end confdefs.h. */
3720 # Make sure it works both with $CC and with simple cc.
3721 # Following AC_PROG_CC_C_O, we do the test twice because some
3722 # compilers refuse to overwrite an existing .o file with -o,
3723 # though they will create one.
3724 am_cv_prog_cc_c_o=yes
3726 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3727 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3730 (exit $ac_status); } \
3731 && test -f conftest2.$ac_objext; then
3734 am_cv_prog_cc_c_o=no
3738 rm -f core conftest*
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3742 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3743 if test "$am_cv_prog_cc_c_o" != yes; then
3744 # Losing compiler, so override with the script.
3745 # FIXME: It is wrong to rewrite CC.
3746 # But if we don't then we get into trouble of one sort or another.
3747 # A longer-term fix would be to have automake use am__CC in this case,
3748 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3749 CC="$am_aux_dir/compile $CC"
3752 ac_cpp='$CPP $CPPFLAGS'
3753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3757 DEPDIR="${am__leading_dot}deps"
3759 ac_config_commands="$ac_config_commands depfiles"
3762 am_make=${MAKE-make}
3763 cat > confinc << 'END'
3765 @echo this is the am__doit target
3768 # If we don't find an include directive, just comment out the code.
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3770 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3774 # First try GNU make style include.
3775 echo "include confinc" > confmf
3776 # Ignore all kinds of additional output from 'make'.
3777 case `$am_make -s -f confmf 2> /dev/null` in #(
3778 *the\ am__doit\ target*)
3784 # Now try BSD make style include.
3785 if test "$am__include" = "#"; then
3786 echo '.include "confinc"' > confmf
3787 case `$am_make -s -f confmf 2> /dev/null` in #(
3788 *the\ am__doit\ target*)
3789 am__include=.include
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3798 $as_echo "$_am_result" >&6; }
3799 rm -f confinc confmf
3801 # Check whether --enable-dependency-tracking was given.
3802 if test "${enable_dependency_tracking+set}" = set; then :
3803 enableval=$enable_dependency_tracking;
3806 if test "x$enable_dependency_tracking" != xno; then
3807 am_depcomp="$ac_aux_dir/depcomp"
3811 if test "x$enable_dependency_tracking" != xno; then
3821 depcc="$CC" am_compiler_list=
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3824 $as_echo_n "checking dependency style of $depcc... " >&6; }
3825 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3826 $as_echo_n "(cached) " >&6
3828 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3829 # We make a subdir and do the tests there. Otherwise we can end up
3830 # making bogus files that we don't know about and never remove. For
3831 # instance it was reported that on HP-UX the gcc test will end up
3832 # making a dummy file named 'D' -- because '-MD' means "put the output
3836 # Copy depcomp to subdir because otherwise we won't find it if we're
3837 # using a relative directory.
3838 cp "$am_depcomp" conftest.dir
3840 # We will build objects and dependencies in a subdirectory because
3841 # it helps to detect inapplicable dependency modes. For instance
3842 # both Tru64's cc and ICC support -MD to output dependencies as a
3843 # side effect of compilation, but ICC will put the dependencies in
3844 # the current directory while Tru64 will put them in the object
3848 am_cv_CC_dependencies_compiler_type=none
3849 if test "$am_compiler_list" = ""; then
3850 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3853 case " $depcc " in #(
3854 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3857 for depmode in $am_compiler_list; do
3858 # Setup a source with many dependencies, because some compilers
3859 # like to wrap large dependency lists on column 80 (with \), and
3860 # we should not choose a depcomp mode which is confused by this.
3862 # We need to recreate these files for each test, as the compiler may
3863 # overwrite some of them when testing with obscure command lines.
3864 # This happens at least with the AIX C compiler.
3866 for i in 1 2 3 4 5 6; do
3867 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3868 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3869 # Solaris 10 /bin/sh.
3870 echo '/* dummy */' > sub/conftst$i.h
3872 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3874 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3875 # mode. It turns out that the SunPro C++ compiler does not properly
3876 # handle '-M -o', and we need to detect this. Also, some Intel
3877 # versions had trouble with output in subdirs.
3878 am__obj=sub/conftest.${OBJEXT-o}
3879 am__minus_obj="-o $am__obj"
3882 # This depmode causes a compiler race in universal mode.
3883 test "$am__universal" = false || continue
3886 # After this tag, mechanisms are not by side-effect, so they'll
3887 # only be used when explicitly requested.
3888 if test "x$enable_dependency_tracking" = xyes; then
3894 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3895 # This compiler won't grok '-c -o', but also, the minuso test has
3896 # not run yet. These depmodes are late enough in the game, and
3897 # so weak that their functioning should not be impacted.
3898 am__obj=conftest.${OBJEXT-o}
3903 if depmode=$depmode \
3904 source=sub/conftest.c object=$am__obj \
3905 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3906 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3907 >/dev/null 2>conftest.err &&
3908 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3909 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3910 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3911 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3912 # icc doesn't choke on unknown options, it will just issue warnings
3913 # or remarks (even with -Werror). So we grep stderr for any message
3914 # that says an option was ignored or not supported.
3915 # When given -MP, icc 7.0 and 7.1 complain thusly:
3916 # icc: Command line warning: ignoring option '-M'; no argument required
3917 # The diagnosis changed in icc 8.0:
3918 # icc: Command line remark: option '-MP' not supported
3919 if (grep 'ignoring option' conftest.err ||
3920 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3921 am_cv_CC_dependencies_compiler_type=$depmode
3930 am_cv_CC_dependencies_compiler_type=none
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3935 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3936 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3939 test "x$enable_dependency_tracking" != xno \
3940 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3942 am__fastdepCC_FALSE='#'
3944 am__fastdepCC_TRUE='#'
3945 am__fastdepCC_FALSE=
3950 ac_cpp='$CPP $CPPFLAGS'
3951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3955 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3956 # On Suns, sometimes $CPP names a directory.
3957 if test -n "$CPP" && test -d "$CPP"; then
3960 if test -z "$CPP"; then
3961 if ${ac_cv_prog_CPP+:} false; then :
3962 $as_echo_n "(cached) " >&6
3964 # Double quotes because CPP needs to be expanded
3965 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3968 for ac_c_preproc_warn_flag in '' yes
3970 # Use a header file that comes with gcc, so configuring glibc
3971 # with a fresh cross-compiler works.
3972 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3973 # <limits.h> exists even on freestanding compilers.
3974 # On the NeXT, cc -E runs the code through the compiler's parser,
3975 # not just through cpp. "Syntax error" is here to catch this case.
3976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3977 /* end confdefs.h. */
3979 # include <limits.h>
3981 # include <assert.h>
3985 if ac_fn_c_try_cpp "$LINENO"; then :
3988 # Broken: fails on valid input.
3991 rm -f conftest.err conftest.i conftest.$ac_ext
3993 # OK, works on sane cases. Now check whether nonexistent headers
3994 # can be detected and how.
3995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3996 /* end confdefs.h. */
3997 #include <ac_nonexistent.h>
3999 if ac_fn_c_try_cpp "$LINENO"; then :
4000 # Broken: success on invalid input.
4003 # Passes both tests.
4007 rm -f conftest.err conftest.i conftest.$ac_ext
4010 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4011 rm -f conftest.i conftest.err conftest.$ac_ext
4012 if $ac_preproc_ok; then :
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4025 $as_echo "$CPP" >&6; }
4027 for ac_c_preproc_warn_flag in '' yes
4029 # Use a header file that comes with gcc, so configuring glibc
4030 # with a fresh cross-compiler works.
4031 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4032 # <limits.h> exists even on freestanding compilers.
4033 # On the NeXT, cc -E runs the code through the compiler's parser,
4034 # not just through cpp. "Syntax error" is here to catch this case.
4035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4036 /* end confdefs.h. */
4038 # include <limits.h>
4040 # include <assert.h>
4044 if ac_fn_c_try_cpp "$LINENO"; then :
4047 # Broken: fails on valid input.
4050 rm -f conftest.err conftest.i conftest.$ac_ext
4052 # OK, works on sane cases. Now check whether nonexistent headers
4053 # can be detected and how.
4054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4055 /* end confdefs.h. */
4056 #include <ac_nonexistent.h>
4058 if ac_fn_c_try_cpp "$LINENO"; then :
4059 # Broken: success on invalid input.
4062 # Passes both tests.
4066 rm -f conftest.err conftest.i conftest.$ac_ext
4069 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4070 rm -f conftest.i conftest.err conftest.$ac_ext
4071 if $ac_preproc_ok; then :
4074 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4075 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4076 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4077 See \`config.log' for more details" "$LINENO" 5; }
4081 ac_cpp='$CPP $CPPFLAGS'
4082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4088 $as_echo_n "checking whether ln -s works... " >&6; }
4090 if test "$LN_S" = "ln -s"; then
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4092 $as_echo "yes" >&6; }
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4095 $as_echo "no, using $LN_S" >&6; }
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4099 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4101 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4102 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4103 $as_echo_n "(cached) " >&6
4105 cat >conftest.make <<\_ACEOF
4108 @echo '@@@%%%=$(MAKE)=@@@%%%'
4110 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4111 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4113 eval ac_cv_prog_make_${ac_make}_set=yes;;
4115 eval ac_cv_prog_make_${ac_make}_set=no;;
4119 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4121 $as_echo "yes" >&6; }
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4125 $as_echo "no" >&6; }
4126 SET_MAKE="MAKE=${MAKE-make}"
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4132 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4137 macro_version='2.4.6'
4138 macro_revision='2.4.6'
4152 ltmain=$ac_aux_dir/ltmain.sh
4154 # Make sure we can run config.sub.
4155 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4156 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4159 $as_echo_n "checking build system type... " >&6; }
4160 if ${ac_cv_build+:} false; then :
4161 $as_echo_n "(cached) " >&6
4163 ac_build_alias=$build_alias
4164 test "x$ac_build_alias" = x &&
4165 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4166 test "x$ac_build_alias" = x &&
4167 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4168 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4169 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4173 $as_echo "$ac_cv_build" >&6; }
4174 case $ac_cv_build in
4176 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4179 ac_save_IFS=$IFS; IFS='-'
4185 # Remember, the first character of IFS is used to create $*,
4186 # except with old shells:
4189 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4193 $as_echo_n "checking host system type... " >&6; }
4194 if ${ac_cv_host+:} false; then :
4195 $as_echo_n "(cached) " >&6
4197 if test "x$host_alias" = x; then
4198 ac_cv_host=$ac_cv_build
4200 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4201 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4206 $as_echo "$ac_cv_host" >&6; }
4209 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4212 ac_save_IFS=$IFS; IFS='-'
4218 # Remember, the first character of IFS is used to create $*,
4219 # except with old shells:
4222 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4225 # Backslashify metacharacters that are still active within
4226 # double-quoted strings.
4227 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4229 # Same as above, but do not quote variable references.
4230 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4232 # Sed substitution to delay expansion of an escaped shell variable in a
4233 # double_quote_subst'ed string.
4234 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4236 # Sed substitution to delay expansion of an escaped single quote.
4237 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4239 # Sed substitution to avoid accidental globbing in evaled expressions
4240 no_glob_subst='s/\*/\\\*/g'
4242 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4243 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4244 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4247 $as_echo_n "checking how to print strings... " >&6; }
4248 # Test print first, because it will be a builtin if present.
4249 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4250 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4252 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4255 # Use this function as a fallback that always works.
4256 func_fallback_echo ()
4258 eval 'cat <<_LTECHO_EOF
4262 ECHO='func_fallback_echo'
4265 # func_echo_all arg...
4266 # Invoke $ECHO with all args, space-separated.
4273 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4274 $as_echo "printf" >&6; } ;;
4275 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4276 $as_echo "print -r" >&6; } ;;
4277 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4278 $as_echo "cat" >&6; } ;;
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4295 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4296 if ${ac_cv_path_SED+:} false; then :
4297 $as_echo_n "(cached) " >&6
4299 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4300 for ac_i in 1 2 3 4 5 6 7; do
4301 ac_script="$ac_script$as_nl$ac_script"
4303 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4304 { ac_script=; unset ac_script;}
4305 if test -z "$SED"; then
4306 ac_path_SED_found=false
4307 # Loop through the user's path and test for each of PROGNAME-LIST
4308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4312 test -z "$as_dir" && as_dir=.
4313 for ac_prog in sed gsed; do
4314 for ac_exec_ext in '' $ac_executable_extensions; do
4315 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4316 as_fn_executable_p "$ac_path_SED" || continue
4317 # Check for GNU ac_path_SED and select it if it is found.
4318 # Check for GNU $ac_path_SED
4319 case `"$ac_path_SED" --version 2>&1` in
4321 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4324 $as_echo_n 0123456789 >"conftest.in"
4327 cat "conftest.in" "conftest.in" >"conftest.tmp"
4328 mv "conftest.tmp" "conftest.in"
4329 cp "conftest.in" "conftest.nl"
4330 $as_echo '' >> "conftest.nl"
4331 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4332 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4333 as_fn_arith $ac_count + 1 && ac_count=$as_val
4334 if test $ac_count -gt ${ac_path_SED_max-0}; then
4335 # Best one so far, save it but keep looking for a better one
4336 ac_cv_path_SED="$ac_path_SED"
4337 ac_path_SED_max=$ac_count
4339 # 10*(2^10) chars as input seems more than enough
4340 test $ac_count -gt 10 && break
4342 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4345 $ac_path_SED_found && break 3
4350 if test -z "$ac_cv_path_SED"; then
4351 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4359 $as_echo "$ac_cv_path_SED" >&6; }
4360 SED="$ac_cv_path_SED"
4363 test -z "$SED" && SED=sed
4364 Xsed="$SED -e 1s/^X//"
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4377 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4378 if ${ac_cv_path_GREP+:} false; then :
4379 $as_echo_n "(cached) " >&6
4381 if test -z "$GREP"; then
4382 ac_path_GREP_found=false
4383 # Loop through the user's path and test for each of PROGNAME-LIST
4384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4385 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4388 test -z "$as_dir" && as_dir=.
4389 for ac_prog in grep ggrep; do
4390 for ac_exec_ext in '' $ac_executable_extensions; do
4391 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4392 as_fn_executable_p "$ac_path_GREP" || continue
4393 # Check for GNU ac_path_GREP and select it if it is found.
4394 # Check for GNU $ac_path_GREP
4395 case `"$ac_path_GREP" --version 2>&1` in
4397 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4400 $as_echo_n 0123456789 >"conftest.in"
4403 cat "conftest.in" "conftest.in" >"conftest.tmp"
4404 mv "conftest.tmp" "conftest.in"
4405 cp "conftest.in" "conftest.nl"
4406 $as_echo 'GREP' >> "conftest.nl"
4407 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4408 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4409 as_fn_arith $ac_count + 1 && ac_count=$as_val
4410 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4411 # Best one so far, save it but keep looking for a better one
4412 ac_cv_path_GREP="$ac_path_GREP"
4413 ac_path_GREP_max=$ac_count
4415 # 10*(2^10) chars as input seems more than enough
4416 test $ac_count -gt 10 && break
4418 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4421 $ac_path_GREP_found && break 3
4426 if test -z "$ac_cv_path_GREP"; then
4427 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4430 ac_cv_path_GREP=$GREP
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4435 $as_echo "$ac_cv_path_GREP" >&6; }
4436 GREP="$ac_cv_path_GREP"
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4440 $as_echo_n "checking for egrep... " >&6; }
4441 if ${ac_cv_path_EGREP+:} false; then :
4442 $as_echo_n "(cached) " >&6
4444 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4445 then ac_cv_path_EGREP="$GREP -E"
4447 if test -z "$EGREP"; then
4448 ac_path_EGREP_found=false
4449 # Loop through the user's path and test for each of PROGNAME-LIST
4450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4451 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4454 test -z "$as_dir" && as_dir=.
4455 for ac_prog in egrep; do
4456 for ac_exec_ext in '' $ac_executable_extensions; do
4457 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4458 as_fn_executable_p "$ac_path_EGREP" || continue
4459 # Check for GNU ac_path_EGREP and select it if it is found.
4460 # Check for GNU $ac_path_EGREP
4461 case `"$ac_path_EGREP" --version 2>&1` in
4463 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4466 $as_echo_n 0123456789 >"conftest.in"
4469 cat "conftest.in" "conftest.in" >"conftest.tmp"
4470 mv "conftest.tmp" "conftest.in"
4471 cp "conftest.in" "conftest.nl"
4472 $as_echo 'EGREP' >> "conftest.nl"
4473 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4474 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4475 as_fn_arith $ac_count + 1 && ac_count=$as_val
4476 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4477 # Best one so far, save it but keep looking for a better one
4478 ac_cv_path_EGREP="$ac_path_EGREP"
4479 ac_path_EGREP_max=$ac_count
4481 # 10*(2^10) chars as input seems more than enough
4482 test $ac_count -gt 10 && break
4484 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4487 $ac_path_EGREP_found && break 3
4492 if test -z "$ac_cv_path_EGREP"; then
4493 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4496 ac_cv_path_EGREP=$EGREP
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4502 $as_echo "$ac_cv_path_EGREP" >&6; }
4503 EGREP="$ac_cv_path_EGREP"
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4507 $as_echo_n "checking for fgrep... " >&6; }
4508 if ${ac_cv_path_FGREP+:} false; then :
4509 $as_echo_n "(cached) " >&6
4511 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4512 then ac_cv_path_FGREP="$GREP -F"
4514 if test -z "$FGREP"; then
4515 ac_path_FGREP_found=false
4516 # Loop through the user's path and test for each of PROGNAME-LIST
4517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4518 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4521 test -z "$as_dir" && as_dir=.
4522 for ac_prog in fgrep; do
4523 for ac_exec_ext in '' $ac_executable_extensions; do
4524 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4525 as_fn_executable_p "$ac_path_FGREP" || continue
4526 # Check for GNU ac_path_FGREP and select it if it is found.
4527 # Check for GNU $ac_path_FGREP
4528 case `"$ac_path_FGREP" --version 2>&1` in
4530 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4533 $as_echo_n 0123456789 >"conftest.in"
4536 cat "conftest.in" "conftest.in" >"conftest.tmp"
4537 mv "conftest.tmp" "conftest.in"
4538 cp "conftest.in" "conftest.nl"
4539 $as_echo 'FGREP' >> "conftest.nl"
4540 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4541 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4542 as_fn_arith $ac_count + 1 && ac_count=$as_val
4543 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4544 # Best one so far, save it but keep looking for a better one
4545 ac_cv_path_FGREP="$ac_path_FGREP"
4546 ac_path_FGREP_max=$ac_count
4548 # 10*(2^10) chars as input seems more than enough
4549 test $ac_count -gt 10 && break
4551 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4554 $ac_path_FGREP_found && break 3
4559 if test -z "$ac_cv_path_FGREP"; then
4560 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4563 ac_cv_path_FGREP=$FGREP
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4569 $as_echo "$ac_cv_path_FGREP" >&6; }
4570 FGREP="$ac_cv_path_FGREP"
4573 test -z "$GREP" && GREP=grep
4593 # Check whether --with-gnu-ld was given.
4594 if test "${with_gnu_ld+set}" = set; then :
4595 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4601 if test yes = "$GCC"; then
4602 # Check if gcc -print-prog-name=ld gives a path.
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4604 $as_echo_n "checking for ld used by $CC... " >&6; }
4607 # gcc leaves a trailing carriage return, which upsets mingw
4608 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4610 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4613 # Accept absolute paths.
4615 re_direlt='/[^/][^/]*/\.\./'
4616 # Canonicalize the pathname of ld
4617 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4618 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4619 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4621 test -z "$LD" && LD=$ac_prog
4624 # If it fails, then pretend we aren't using GCC.
4628 # If it is relative, then search for the first ld in PATH.
4632 elif test yes = "$with_gnu_ld"; then
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4634 $as_echo_n "checking for GNU ld... " >&6; }
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4637 $as_echo_n "checking for non-GNU ld... " >&6; }
4639 if ${lt_cv_path_LD+:} false; then :
4640 $as_echo_n "(cached) " >&6
4642 if test -z "$LD"; then
4643 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4644 for ac_dir in $PATH; do
4646 test -z "$ac_dir" && ac_dir=.
4647 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4648 lt_cv_path_LD=$ac_dir/$ac_prog
4649 # Check to see if the program is GNU ld. I'd rather use --version,
4650 # but apparently some variants of GNU ld only accept -v.
4651 # Break only if it was the GNU/non-GNU ld that we prefer.
4652 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4653 *GNU* | *'with BFD'*)
4654 test no != "$with_gnu_ld" && break
4657 test yes != "$with_gnu_ld" && break
4664 lt_cv_path_LD=$LD # Let the user override the test with a path.
4669 if test -n "$LD"; then
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4671 $as_echo "$LD" >&6; }
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4674 $as_echo "no" >&6; }
4676 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4678 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4679 if ${lt_cv_prog_gnu_ld+:} false; then :
4680 $as_echo_n "(cached) " >&6
4682 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4683 case `$LD -v 2>&1 </dev/null` in
4684 *GNU* | *'with BFD'*)
4685 lt_cv_prog_gnu_ld=yes
4688 lt_cv_prog_gnu_ld=no
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4693 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4694 with_gnu_ld=$lt_cv_prog_gnu_ld
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4705 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4706 if ${lt_cv_path_NM+:} false; then :
4707 $as_echo_n "(cached) " >&6
4709 if test -n "$NM"; then
4710 # Let the user override the test.
4713 lt_nm_to_check=${ac_tool_prefix}nm
4714 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4715 lt_nm_to_check="$lt_nm_to_check nm"
4717 for lt_tmp_nm in $lt_nm_to_check; do
4718 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4719 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4721 test -z "$ac_dir" && ac_dir=.
4722 tmp_nm=$ac_dir/$lt_tmp_nm
4723 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4724 # Check to see if the nm accepts a BSD-compat flag.
4725 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4726 # nm: unknown option "B" ignored
4727 # Tru64's nm complains that /dev/null is an invalid object file
4728 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4730 mingw*) lt_bad_file=conftest.nm/nofile ;;
4731 *) lt_bad_file=/dev/null ;;
4733 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4734 *$lt_bad_file* | *'Invalid file or object type'*)
4735 lt_cv_path_NM="$tmp_nm -B"
4739 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4741 lt_cv_path_NM="$tmp_nm -p"
4745 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4746 continue # so that we can try to find one that supports BSD flags
4755 : ${lt_cv_path_NM=no}
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4759 $as_echo "$lt_cv_path_NM" >&6; }
4760 if test no != "$lt_cv_path_NM"; then
4763 # Didn't find any BSD compatible name lister, look for dumpbin.
4764 if test -n "$DUMPBIN"; then :
4765 # Let the user override the test.
4767 if test -n "$ac_tool_prefix"; then
4768 for ac_prog in dumpbin "link -dump"
4770 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4771 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4773 $as_echo_n "checking for $ac_word... " >&6; }
4774 if ${ac_cv_prog_DUMPBIN+:} false; then :
4775 $as_echo_n "(cached) " >&6
4777 if test -n "$DUMPBIN"; then
4778 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4784 test -z "$as_dir" && as_dir=.
4785 for ac_exec_ext in '' $ac_executable_extensions; do
4786 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4787 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4797 DUMPBIN=$ac_cv_prog_DUMPBIN
4798 if test -n "$DUMPBIN"; then
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4800 $as_echo "$DUMPBIN" >&6; }
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4803 $as_echo "no" >&6; }
4807 test -n "$DUMPBIN" && break
4810 if test -z "$DUMPBIN"; then
4811 ac_ct_DUMPBIN=$DUMPBIN
4812 for ac_prog in dumpbin "link -dump"
4814 # Extract the first word of "$ac_prog", so it can be a program name with args.
4815 set dummy $ac_prog; ac_word=$2
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4817 $as_echo_n "checking for $ac_word... " >&6; }
4818 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4819 $as_echo_n "(cached) " >&6
4821 if test -n "$ac_ct_DUMPBIN"; then
4822 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4828 test -z "$as_dir" && as_dir=.
4829 for ac_exec_ext in '' $ac_executable_extensions; do
4830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4831 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4841 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4842 if test -n "$ac_ct_DUMPBIN"; then
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4844 $as_echo "$ac_ct_DUMPBIN" >&6; }
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4847 $as_echo "no" >&6; }
4851 test -n "$ac_ct_DUMPBIN" && break
4854 if test "x$ac_ct_DUMPBIN" = x; then
4857 case $cross_compiling:$ac_tool_warned in
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4860 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4861 ac_tool_warned=yes ;;
4863 DUMPBIN=$ac_ct_DUMPBIN
4867 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4869 DUMPBIN="$DUMPBIN -symbols -headers"
4877 if test : != "$DUMPBIN"; then
4881 test -z "$NM" && NM=nm
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4889 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4890 if ${lt_cv_nm_interface+:} false; then :
4891 $as_echo_n "(cached) " >&6
4893 lt_cv_nm_interface="BSD nm"
4894 echo "int some_variable = 0;" > conftest.$ac_ext
4895 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4896 (eval "$ac_compile" 2>conftest.err)
4897 cat conftest.err >&5
4898 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4899 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4900 cat conftest.err >&5
4901 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4902 cat conftest.out >&5
4903 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4904 lt_cv_nm_interface="MS dumpbin"
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4909 $as_echo "$lt_cv_nm_interface" >&6; }
4911 # find the maximum length of command line arguments
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4913 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4914 if ${lt_cv_sys_max_cmd_len+:} false; then :
4915 $as_echo_n "(cached) " >&6
4922 # On DJGPP, this test can blow up pretty badly due to problems in libc
4923 # (any single argument exceeding 2000 bytes causes a buffer overrun
4924 # during glob expansion). Even if it were fixed, the result of this
4925 # check would be larger than it should be.
4926 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4930 # Under GNU Hurd, this test is not required because there is
4931 # no limit to the length of command line arguments.
4932 # Libtool will interpret -1 as no limit whatsoever
4933 lt_cv_sys_max_cmd_len=-1;
4936 cygwin* | mingw* | cegcc*)
4937 # On Win9x/ME, this test blows up -- it succeeds, but takes
4938 # about 5 minutes as the teststring grows exponentially.
4939 # Worse, since 9x/ME are not pre-emptively multitasking,
4940 # you end up with a "frozen" computer, even though with patience
4941 # the test eventually succeeds (with a max line length of 256k).
4942 # Instead, let's just punt: use the minimum linelength reported by
4943 # all of the supported platforms: 8192 (on NT/2K/XP).
4944 lt_cv_sys_max_cmd_len=8192;
4948 # On MiNT this can take a long time and run out of memory.
4949 lt_cv_sys_max_cmd_len=8192;
4953 # On AmigaOS with pdksh, this test takes hours, literally.
4954 # So we just punt and use a minimum line length of 8192.
4955 lt_cv_sys_max_cmd_len=8192;
4958 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4959 # This has been around since 386BSD, at least. Likely further.
4960 if test -x /sbin/sysctl; then
4961 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4962 elif test -x /usr/sbin/sysctl; then
4963 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4965 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4967 # And add a safety zone
4968 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4969 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4973 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4974 lt_cv_sys_max_cmd_len=196608
4978 # The test takes a long time on OS/2.
4979 lt_cv_sys_max_cmd_len=8192
4983 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4984 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4985 # nice to cause kernel panics so lets avoid the loop below.
4986 # First set a reasonable default.
4987 lt_cv_sys_max_cmd_len=16384
4989 if test -x /sbin/sysconfig; then
4990 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4991 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4996 lt_cv_sys_max_cmd_len=102400
4998 sysv5* | sco5v6* | sysv4.2uw2*)
4999 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5000 if test -n "$kargmax"; then
5001 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5003 lt_cv_sys_max_cmd_len=32768
5007 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5008 if test -n "$lt_cv_sys_max_cmd_len" && \
5009 test undefined != "$lt_cv_sys_max_cmd_len"; then
5010 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5011 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5013 # Make teststring a little bigger before we do anything with it.
5014 # a 1K string should be a reasonable start.
5015 for i in 1 2 3 4 5 6 7 8; do
5016 teststring=$teststring$teststring
5018 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5019 # If test is not a shell built-in, we'll probably end up computing a
5020 # maximum length that is only half of the actual maximum length, but
5022 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5023 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5024 test 17 != "$i" # 1/2 MB should be enough
5027 teststring=$teststring$teststring
5029 # Only check the string length outside the loop.
5030 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5032 # Add a significant safety factor because C++ compilers can tack on
5033 # massive amounts of additional arguments before passing them to the
5034 # linker. It appears as though 1/2 is a usable value.
5035 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5042 if test -n "$lt_cv_sys_max_cmd_len"; then
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5044 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5047 $as_echo "none" >&6; }
5049 max_cmd_len=$lt_cv_sys_max_cmd_len
5060 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5070 # test EBCDIC or ASCII
5071 case `echo X|tr X '\101'` in
5072 A) # ASCII based system
5073 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5074 lt_SP2NL='tr \040 \012'
5075 lt_NL2SP='tr \015\012 \040\040'
5077 *) # EBCDIC based system
5078 lt_SP2NL='tr \100 \n'
5079 lt_NL2SP='tr \r\n \100\100'
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5092 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5093 if ${lt_cv_to_host_file_cmd+:} false; then :
5094 $as_echo_n "(cached) " >&6
5099 *-*-mingw* ) # actually msys
5100 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5103 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5105 * ) # otherwise, assume *nix
5106 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5112 *-*-mingw* ) # actually msys
5113 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5116 lt_cv_to_host_file_cmd=func_convert_file_noop
5118 * ) # otherwise, assume *nix
5119 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5123 * ) # unhandled hosts (and "normal" native builds)
5124 lt_cv_to_host_file_cmd=func_convert_file_noop
5130 to_host_file_cmd=$lt_cv_to_host_file_cmd
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5132 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5139 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5140 if ${lt_cv_to_tool_file_cmd+:} false; then :
5141 $as_echo_n "(cached) " >&6
5143 #assume ordinary cross tools, or native build.
5144 lt_cv_to_tool_file_cmd=func_convert_file_noop
5148 *-*-mingw* ) # actually msys
5149 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5157 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5159 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5166 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5167 if ${lt_cv_ld_reload_flag+:} false; then :
5168 $as_echo_n "(cached) " >&6
5170 lt_cv_ld_reload_flag='-r'
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5173 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5174 reload_flag=$lt_cv_ld_reload_flag
5175 case $reload_flag in
5177 *) reload_flag=" $reload_flag" ;;
5179 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5181 cygwin* | mingw* | pw32* | cegcc*)
5182 if test yes != "$GCC"; then
5187 if test yes = "$GCC"; then
5188 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5190 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5203 if test -n "$ac_tool_prefix"; then
5204 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5205 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5207 $as_echo_n "checking for $ac_word... " >&6; }
5208 if ${ac_cv_prog_OBJDUMP+:} false; then :
5209 $as_echo_n "(cached) " >&6
5211 if test -n "$OBJDUMP"; then
5212 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5218 test -z "$as_dir" && as_dir=.
5219 for ac_exec_ext in '' $ac_executable_extensions; do
5220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5221 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5231 OBJDUMP=$ac_cv_prog_OBJDUMP
5232 if test -n "$OBJDUMP"; then
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5234 $as_echo "$OBJDUMP" >&6; }
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5237 $as_echo "no" >&6; }
5242 if test -z "$ac_cv_prog_OBJDUMP"; then
5243 ac_ct_OBJDUMP=$OBJDUMP
5244 # Extract the first word of "objdump", so it can be a program name with args.
5245 set dummy objdump; ac_word=$2
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5247 $as_echo_n "checking for $ac_word... " >&6; }
5248 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5249 $as_echo_n "(cached) " >&6
5251 if test -n "$ac_ct_OBJDUMP"; then
5252 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5258 test -z "$as_dir" && as_dir=.
5259 for ac_exec_ext in '' $ac_executable_extensions; do
5260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5261 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5271 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5272 if test -n "$ac_ct_OBJDUMP"; then
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5274 $as_echo "$ac_ct_OBJDUMP" >&6; }
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5277 $as_echo "no" >&6; }
5280 if test "x$ac_ct_OBJDUMP" = x; then
5283 case $cross_compiling:$ac_tool_warned in
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5286 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5287 ac_tool_warned=yes ;;
5289 OBJDUMP=$ac_ct_OBJDUMP
5292 OBJDUMP="$ac_cv_prog_OBJDUMP"
5295 test -z "$OBJDUMP" && OBJDUMP=objdump
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5306 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5307 if ${lt_cv_deplibs_check_method+:} false; then :
5308 $as_echo_n "(cached) " >&6
5310 lt_cv_file_magic_cmd='$MAGIC_CMD'
5311 lt_cv_file_magic_test_file=
5312 lt_cv_deplibs_check_method='unknown'
5313 # Need to set the preceding variable on all platforms that support
5314 # interlibrary dependencies.
5315 # 'none' -- dependencies not supported.
5316 # 'unknown' -- same as none, but documents that we really don't know.
5317 # 'pass_all' -- all dependencies passed with no checks.
5318 # 'test_compile' -- check by making test program.
5319 # 'file_magic [[regex]]' -- check by looking for files in library path
5320 # that responds to the $file_magic_cmd with a given extended regex.
5321 # If you have 'file' or equivalent on your system and you're not sure
5322 # whether 'pass_all' will *always* work, you probably want this one.
5326 lt_cv_deplibs_check_method=pass_all
5330 lt_cv_deplibs_check_method=pass_all
5334 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5335 lt_cv_file_magic_cmd='/usr/bin/file -L'
5336 lt_cv_file_magic_test_file=/shlib/libc.so
5340 # func_win32_libid is a shell function defined in ltmain.sh
5341 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5342 lt_cv_file_magic_cmd='func_win32_libid'
5346 # Base MSYS/MinGW do not provide the 'file' command needed by
5347 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5348 # unless we find 'file', for example because we are cross-compiling.
5349 if ( file / ) >/dev/null 2>&1; then
5350 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5351 lt_cv_file_magic_cmd='func_win32_libid'
5353 # Keep this pattern in sync with the one in func_win32_libid.
5354 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5355 lt_cv_file_magic_cmd='$OBJDUMP -f'
5360 # use the weaker test based on 'objdump'. See mingw*.
5361 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5362 lt_cv_file_magic_cmd='$OBJDUMP -f'
5365 darwin* | rhapsody*)
5366 lt_cv_deplibs_check_method=pass_all
5369 freebsd* | dragonfly*)
5370 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5373 # Not sure whether the presence of OpenBSD here was a mistake.
5374 # Let's accept both of them until this is cleared up.
5375 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5376 lt_cv_file_magic_cmd=/usr/bin/file
5377 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5381 lt_cv_deplibs_check_method=pass_all
5386 lt_cv_deplibs_check_method=pass_all
5389 hpux10.20* | hpux11*)
5390 lt_cv_file_magic_cmd=/usr/bin/file
5393 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5394 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5397 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]'
5398 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5401 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5402 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5408 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5409 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5412 irix5* | irix6* | nonstopux*)
5414 *-32|*"-32 ") libmagic=32-bit;;
5415 *-n32|*"-n32 ") libmagic=N32;;
5416 *-64|*"-64 ") libmagic=64-bit;;
5417 *) libmagic=never-match;;
5419 lt_cv_deplibs_check_method=pass_all
5422 # This must be glibc/ELF.
5423 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5424 lt_cv_deplibs_check_method=pass_all
5428 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5429 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5431 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5436 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5437 lt_cv_file_magic_cmd=/usr/bin/file
5438 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5442 lt_cv_deplibs_check_method=pass_all
5446 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5447 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5449 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5453 osf3* | osf4* | osf5*)
5454 lt_cv_deplibs_check_method=pass_all
5458 lt_cv_deplibs_check_method=pass_all
5462 lt_cv_deplibs_check_method=pass_all
5465 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5466 lt_cv_deplibs_check_method=pass_all
5470 case $host_vendor in
5472 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]'
5473 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5476 lt_cv_deplibs_check_method=pass_all
5479 lt_cv_file_magic_cmd='/bin/file'
5480 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5483 lt_cv_file_magic_cmd='/bin/file'
5484 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5485 lt_cv_file_magic_test_file=/lib/libc.so
5488 lt_cv_deplibs_check_method=pass_all
5491 lt_cv_deplibs_check_method=pass_all
5497 lt_cv_deplibs_check_method=pass_all
5500 lt_cv_deplibs_check_method=pass_all
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5506 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5510 if test "$build" = "$host"; then
5513 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5516 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5522 file_magic_cmd=$lt_cv_file_magic_cmd
5523 deplibs_check_method=$lt_cv_deplibs_check_method
5524 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5547 if test -n "$ac_tool_prefix"; then
5548 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5549 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5551 $as_echo_n "checking for $ac_word... " >&6; }
5552 if ${ac_cv_prog_DLLTOOL+:} false; then :
5553 $as_echo_n "(cached) " >&6
5555 if test -n "$DLLTOOL"; then
5556 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5562 test -z "$as_dir" && as_dir=.
5563 for ac_exec_ext in '' $ac_executable_extensions; do
5564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5565 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5575 DLLTOOL=$ac_cv_prog_DLLTOOL
5576 if test -n "$DLLTOOL"; then
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5578 $as_echo "$DLLTOOL" >&6; }
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5581 $as_echo "no" >&6; }
5586 if test -z "$ac_cv_prog_DLLTOOL"; then
5587 ac_ct_DLLTOOL=$DLLTOOL
5588 # Extract the first word of "dlltool", so it can be a program name with args.
5589 set dummy dlltool; ac_word=$2
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5591 $as_echo_n "checking for $ac_word... " >&6; }
5592 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5593 $as_echo_n "(cached) " >&6
5595 if test -n "$ac_ct_DLLTOOL"; then
5596 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5602 test -z "$as_dir" && as_dir=.
5603 for ac_exec_ext in '' $ac_executable_extensions; do
5604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5605 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5615 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5616 if test -n "$ac_ct_DLLTOOL"; then
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5618 $as_echo "$ac_ct_DLLTOOL" >&6; }
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5621 $as_echo "no" >&6; }
5624 if test "x$ac_ct_DLLTOOL" = x; then
5627 case $cross_compiling:$ac_tool_warned in
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5631 ac_tool_warned=yes ;;
5633 DLLTOOL=$ac_ct_DLLTOOL
5636 DLLTOOL="$ac_cv_prog_DLLTOOL"
5639 test -z "$DLLTOOL" && DLLTOOL=dlltool
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5651 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5652 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5653 $as_echo_n "(cached) " >&6
5655 lt_cv_sharedlib_from_linklib_cmd='unknown'
5658 cygwin* | mingw* | pw32* | cegcc*)
5659 # two different shell functions defined in ltmain.sh;
5660 # decide which one to use based on capabilities of $DLLTOOL
5661 case `$DLLTOOL --help 2>&1` in
5662 *--identify-strict*)
5663 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5666 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5671 # fallback: assume linklib IS sharedlib
5672 lt_cv_sharedlib_from_linklib_cmd=$ECHO
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5678 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5679 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5680 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5689 if test -n "$ac_tool_prefix"; then
5692 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5693 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5695 $as_echo_n "checking for $ac_word... " >&6; }
5696 if ${ac_cv_prog_AR+:} false; then :
5697 $as_echo_n "(cached) " >&6
5699 if test -n "$AR"; then
5700 ac_cv_prog_AR="$AR" # Let the user override the test.
5702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5706 test -z "$as_dir" && as_dir=.
5707 for ac_exec_ext in '' $ac_executable_extensions; do
5708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5709 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5720 if test -n "$AR"; then
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5722 $as_echo "$AR" >&6; }
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5725 $as_echo "no" >&6; }
5729 test -n "$AR" && break
5732 if test -z "$AR"; then
5736 # Extract the first word of "$ac_prog", so it can be a program name with args.
5737 set dummy $ac_prog; ac_word=$2
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5739 $as_echo_n "checking for $ac_word... " >&6; }
5740 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5741 $as_echo_n "(cached) " >&6
5743 if test -n "$ac_ct_AR"; then
5744 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5750 test -z "$as_dir" && as_dir=.
5751 for ac_exec_ext in '' $ac_executable_extensions; do
5752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5753 ac_cv_prog_ac_ct_AR="$ac_prog"
5754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5763 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5764 if test -n "$ac_ct_AR"; then
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5766 $as_echo "$ac_ct_AR" >&6; }
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5769 $as_echo "no" >&6; }
5773 test -n "$ac_ct_AR" && break
5776 if test "x$ac_ct_AR" = x; then
5779 case $cross_compiling:$ac_tool_warned in
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5782 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5783 ac_tool_warned=yes ;;
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5803 $as_echo_n "checking for archiver @FILE support... " >&6; }
5804 if ${lt_cv_ar_at_file+:} false; then :
5805 $as_echo_n "(cached) " >&6
5808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5809 /* end confdefs.h. */
5819 if ac_fn_c_try_compile "$LINENO"; then :
5820 echo conftest.$ac_objext > conftest.lst
5821 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5822 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5823 (eval $lt_ar_try) 2>&5
5825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5826 test $ac_status = 0; }
5827 if test 0 -eq "$ac_status"; then
5828 # Ensure the archiver fails upon bogus file names.
5829 rm -f conftest.$ac_objext libconftest.a
5830 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5831 (eval $lt_ar_try) 2>&5
5833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5834 test $ac_status = 0; }
5835 if test 0 -ne "$ac_status"; then
5839 rm -f conftest.* libconftest.a
5842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5846 $as_echo "$lt_cv_ar_at_file" >&6; }
5848 if test no = "$lt_cv_ar_at_file"; then
5851 archiver_list_spec=$lt_cv_ar_at_file
5860 if test -n "$ac_tool_prefix"; then
5861 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5862 set dummy ${ac_tool_prefix}strip; ac_word=$2
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5864 $as_echo_n "checking for $ac_word... " >&6; }
5865 if ${ac_cv_prog_STRIP+:} false; then :
5866 $as_echo_n "(cached) " >&6
5868 if test -n "$STRIP"; then
5869 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5875 test -z "$as_dir" && as_dir=.
5876 for ac_exec_ext in '' $ac_executable_extensions; do
5877 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5878 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5888 STRIP=$ac_cv_prog_STRIP
5889 if test -n "$STRIP"; then
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5891 $as_echo "$STRIP" >&6; }
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5894 $as_echo "no" >&6; }
5899 if test -z "$ac_cv_prog_STRIP"; then
5901 # Extract the first word of "strip", so it can be a program name with args.
5902 set dummy strip; ac_word=$2
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5904 $as_echo_n "checking for $ac_word... " >&6; }
5905 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5906 $as_echo_n "(cached) " >&6
5908 if test -n "$ac_ct_STRIP"; then
5909 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5915 test -z "$as_dir" && as_dir=.
5916 for ac_exec_ext in '' $ac_executable_extensions; do
5917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5918 ac_cv_prog_ac_ct_STRIP="strip"
5919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5928 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5929 if test -n "$ac_ct_STRIP"; then
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5931 $as_echo "$ac_ct_STRIP" >&6; }
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5934 $as_echo "no" >&6; }
5937 if test "x$ac_ct_STRIP" = x; then
5940 case $cross_compiling:$ac_tool_warned in
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5943 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5944 ac_tool_warned=yes ;;
5949 STRIP="$ac_cv_prog_STRIP"
5952 test -z "$STRIP" && STRIP=:
5959 if test -n "$ac_tool_prefix"; then
5960 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5961 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5963 $as_echo_n "checking for $ac_word... " >&6; }
5964 if ${ac_cv_prog_RANLIB+:} false; then :
5965 $as_echo_n "(cached) " >&6
5967 if test -n "$RANLIB"; then
5968 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5974 test -z "$as_dir" && as_dir=.
5975 for ac_exec_ext in '' $ac_executable_extensions; do
5976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5977 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5987 RANLIB=$ac_cv_prog_RANLIB
5988 if test -n "$RANLIB"; then
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5990 $as_echo "$RANLIB" >&6; }
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5993 $as_echo "no" >&6; }
5998 if test -z "$ac_cv_prog_RANLIB"; then
5999 ac_ct_RANLIB=$RANLIB
6000 # Extract the first word of "ranlib", so it can be a program name with args.
6001 set dummy ranlib; ac_word=$2
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6003 $as_echo_n "checking for $ac_word... " >&6; }
6004 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6005 $as_echo_n "(cached) " >&6
6007 if test -n "$ac_ct_RANLIB"; then
6008 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6014 test -z "$as_dir" && as_dir=.
6015 for ac_exec_ext in '' $ac_executable_extensions; do
6016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6017 ac_cv_prog_ac_ct_RANLIB="ranlib"
6018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6027 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6028 if test -n "$ac_ct_RANLIB"; then
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6030 $as_echo "$ac_ct_RANLIB" >&6; }
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6033 $as_echo "no" >&6; }
6036 if test "x$ac_ct_RANLIB" = x; then
6039 case $cross_compiling:$ac_tool_warned in
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6042 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6043 ac_tool_warned=yes ;;
6045 RANLIB=$ac_ct_RANLIB
6048 RANLIB="$ac_cv_prog_RANLIB"
6051 test -z "$RANLIB" && RANLIB=:
6058 # Determine commands to create old-style static archives.
6059 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6060 old_postinstall_cmds='chmod 644 $oldlib'
6061 old_postuninstall_cmds=
6063 if test -n "$RANLIB"; then
6066 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6069 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6072 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6077 lock_old_archive_extraction=yes ;;
6079 lock_old_archive_extraction=no ;;
6120 # If no C compiler was specified, use CC.
6123 # If no C compiler flags were specified, use CFLAGS.
6124 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6126 # Allow CC to be a program name with arguments.
6130 # Check for command to grab the raw symbol name followed by C symbol from nm.
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6132 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6133 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6134 $as_echo_n "(cached) " >&6
6137 # These are sane defaults that work on at least a few old systems.
6138 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6140 # Character class describing NM global symbol codes.
6141 symcode='[BCDEGRST]'
6143 # Regexp to match symbols that can be accessed directly from C.
6144 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6146 # Define system-specific variables.
6151 cygwin* | mingw* | pw32* | cegcc*)
6152 symcode='[ABCDGISTW]'
6155 if test ia64 = "$host_cpu"; then
6156 symcode='[ABCDEGRST]'
6160 symcode='[BCDEGRST]'
6163 symcode='[BCDEGQRST]'
6174 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6182 # If we're using GNU nm, then use its standard symbol codes.
6183 case `$NM -V 2>&1` in
6184 *GNU* | *'with BFD'*)
6185 symcode='[ABCDGIRSTW]' ;;
6188 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6189 # Gets list of data symbols to import.
6190 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6191 # Adjust the below global symbol transforms to fixup imported variables.
6192 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6193 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6194 lt_c_name_lib_hook="\
6195 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6196 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6198 # Disable hooks by default.
6199 lt_cv_sys_global_symbol_to_import=
6205 # Transform an extracted symbol line into a proper C declaration.
6206 # Some systems (esp. on ia64) link data and code symbols differently,
6207 # so use this general approach.
6208 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6210 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6211 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6213 # Transform an extracted symbol line into symbol name and symbol address
6214 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6216 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6217 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6219 # Transform an extracted symbol line into symbol name with lib prefix and
6221 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6222 $lt_c_name_lib_hook\
6223 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6224 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6225 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6227 # Handle CRLF in mingw tool chain
6231 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6235 # Try without a prefix underscore, then with it.
6236 for ac_symprfx in "" "_"; do
6238 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6239 symxfrm="\\1 $ac_symprfx\\2 \\2"
6241 # Write the raw and C identifiers.
6242 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6243 # Fake it for dumpbin and say T for any non-static function,
6244 # D for any global variable and I for any imported variable.
6245 # Also find C++ and __fastcall symbols from MSVC++,
6246 # which start with @ or ?.
6247 lt_cv_sys_global_symbol_pipe="$AWK '"\
6248 " {last_section=section; section=\$ 3};"\
6249 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6250 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6251 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6252 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6253 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6254 " \$ 0!~/External *\|/{next};"\
6255 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6256 " {if(hide[section]) next};"\
6257 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6258 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6259 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6260 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6261 " ' prfx=^$ac_symprfx"
6263 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6265 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6267 # Check to see that the pipe works correctly.
6271 cat > conftest.$ac_ext <<_LT_EOF
6276 void nm_test_func(void);
6277 void nm_test_func(void){}
6281 int main(){nm_test_var='a';nm_test_func();return(0);}
6284 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6285 (eval $ac_compile) 2>&5
6287 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6288 test $ac_status = 0; }; then
6289 # Now try to grab the symbols.
6291 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6292 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6295 test $ac_status = 0; } && test -s "$nlist"; then
6296 # Try sorting and uniquifying the output.
6297 if sort "$nlist" | uniq > "$nlist"T; then
6298 mv -f "$nlist"T "$nlist"
6303 # Make sure that we snagged all the symbols we need.
6304 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6305 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6306 cat <<_LT_EOF > conftest.$ac_ext
6307 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6308 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6309 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6310 relocations are performed -- see ld's documentation on pseudo-relocs. */
6311 # define LT_DLSYM_CONST
6312 #elif defined __osf__
6313 /* This system does not cope well with relocations in const data. */
6314 # define LT_DLSYM_CONST
6316 # define LT_DLSYM_CONST const
6324 # Now generate the symbol file.
6325 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6327 cat <<_LT_EOF >> conftest.$ac_ext
6329 /* The mapping between symbol names and symbols. */
6330 LT_DLSYM_CONST struct {
6334 lt__PROGRAM__LTX_preloaded_symbols[] =
6336 { "@PROGRAM@", (void *) 0 },
6338 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6339 cat <<\_LT_EOF >> conftest.$ac_ext
6343 /* This works around a problem in FreeBSD linker */
6344 #ifdef FREEBSD_WORKAROUND
6345 static const void *lt_preloaded_setup() {
6346 return lt__PROGRAM__LTX_preloaded_symbols;
6354 # Now try linking the two files.
6355 mv conftest.$ac_objext conftstm.$ac_objext
6356 lt_globsym_save_LIBS=$LIBS
6357 lt_globsym_save_CFLAGS=$CFLAGS
6358 LIBS=conftstm.$ac_objext
6359 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6360 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6361 (eval $ac_link) 2>&5
6363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6364 test $ac_status = 0; } && test -s conftest$ac_exeext; then
6367 LIBS=$lt_globsym_save_LIBS
6368 CFLAGS=$lt_globsym_save_CFLAGS
6370 echo "cannot find nm_test_func in $nlist" >&5
6373 echo "cannot find nm_test_var in $nlist" >&5
6376 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6379 echo "$progname: failed program was:" >&5
6380 cat conftest.$ac_ext >&5
6382 rm -rf conftest* conftst*
6384 # Do not use the global_symbol_pipe unless it works.
6385 if test yes = "$pipe_works"; then
6388 lt_cv_sys_global_symbol_pipe=
6394 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6395 lt_cv_sys_global_symbol_to_cdecl=
6397 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6399 $as_echo "failed" >&6; }
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6402 $as_echo "ok" >&6; }
6405 # Response file support.
6406 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6407 nm_file_list_spec='@'
6408 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6409 nm_file_list_spec='@'
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6449 $as_echo_n "checking for sysroot... " >&6; }
6451 # Check whether --with-sysroot was given.
6452 if test "${with_sysroot+set}" = set; then :
6453 withval=$with_sysroot;
6460 case $with_sysroot in #(
6462 if test yes = "$GCC"; then
6463 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6467 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6473 $as_echo "$with_sysroot" >&6; }
6474 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6479 $as_echo "${lt_sysroot:-no}" >&6; }
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6486 $as_echo_n "checking for a working dd... " >&6; }
6487 if ${ac_cv_path_lt_DD+:} false; then :
6488 $as_echo_n "(cached) " >&6
6490 printf 0123456789abcdef0123456789abcdef >conftest.i
6491 cat conftest.i conftest.i >conftest2.i
6493 if test -z "$lt_DD"; then
6494 ac_path_lt_DD_found=false
6495 # Loop through the user's path and test for each of PROGNAME-LIST
6496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6500 test -z "$as_dir" && as_dir=.
6501 for ac_prog in dd; do
6502 for ac_exec_ext in '' $ac_executable_extensions; do
6503 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6504 as_fn_executable_p "$ac_path_lt_DD" || continue
6505 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6506 cmp -s conftest.i conftest.out \
6507 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6509 $ac_path_lt_DD_found && break 3
6514 if test -z "$ac_cv_path_lt_DD"; then
6518 ac_cv_path_lt_DD=$lt_DD
6521 rm -f conftest.i conftest2.i conftest.out
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6524 $as_echo "$ac_cv_path_lt_DD" >&6; }
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6528 $as_echo_n "checking how to truncate binary pipes... " >&6; }
6529 if ${lt_cv_truncate_bin+:} false; then :
6530 $as_echo_n "(cached) " >&6
6532 printf 0123456789abcdef0123456789abcdef >conftest.i
6533 cat conftest.i conftest.i >conftest2.i
6535 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6536 cmp -s conftest.i conftest.out \
6537 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6539 rm -f conftest.i conftest2.i conftest.out
6540 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6543 $as_echo "$lt_cv_truncate_bin" >&6; }
6551 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
6554 for cc_temp in $*""; do
6556 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6557 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6562 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6565 # Check whether --enable-libtool-lock was given.
6566 if test "${enable_libtool_lock+set}" = set; then :
6567 enableval=$enable_libtool_lock;
6570 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6572 # Some flags need to be propagated to the compiler or linker for good
6576 # Find out what ABI is being produced by ac_compile, and set mode
6577 # options accordingly.
6578 echo 'int i;' > conftest.$ac_ext
6579 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6580 (eval $ac_compile) 2>&5
6582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6583 test $ac_status = 0; }; then
6584 case `/usr/bin/file conftest.$ac_objext` in
6596 # Find out what ABI is being produced by ac_compile, and set linker
6597 # options accordingly.
6598 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6599 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6600 (eval $ac_compile) 2>&5
6602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6603 test $ac_status = 0; }; then
6604 if test yes = "$lt_cv_prog_gnu_ld"; then
6605 case `/usr/bin/file conftest.$ac_objext` in
6607 LD="${LD-ld} -melf32bsmip"
6610 LD="${LD-ld} -melf32bmipn32"
6613 LD="${LD-ld} -melf64bmip"
6617 case `/usr/bin/file conftest.$ac_objext` in
6634 # Find out what ABI is being produced by ac_compile, and set linker
6635 # options accordingly.
6636 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6637 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6638 (eval $ac_compile) 2>&5
6640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6641 test $ac_status = 0; }; then
6643 case `/usr/bin/file conftest.$ac_objext` in
6651 case `/usr/bin/file conftest.$ac_objext` in
6653 emul="${emul}btsmip"
6656 emul="${emul}ltsmip"
6659 case `/usr/bin/file conftest.$ac_objext` in
6664 LD="${LD-ld} -m $emul"
6669 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6670 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6671 # Find out what ABI is being produced by ac_compile, and set linker
6672 # options accordingly. Note that the listed cases only cover the
6673 # situations where additional linker options are needed (such as when
6674 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6675 # vice versa); the common cases where no linker options are needed do
6676 # not appear in the list.
6677 echo 'int i;' > conftest.$ac_ext
6678 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6679 (eval $ac_compile) 2>&5
6681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6682 test $ac_status = 0; }; then
6683 case `/usr/bin/file conftest.o` in
6686 x86_64-*kfreebsd*-gnu)
6687 LD="${LD-ld} -m elf_i386_fbsd"
6690 case `/usr/bin/file conftest.o` in
6692 LD="${LD-ld} -m elf32_x86_64"
6695 LD="${LD-ld} -m elf_i386"
6699 powerpc64le-*linux*)
6700 LD="${LD-ld} -m elf32lppclinux"
6703 LD="${LD-ld} -m elf32ppclinux"
6706 LD="${LD-ld} -m elf_s390"
6709 LD="${LD-ld} -m elf32_sparc"
6715 x86_64-*kfreebsd*-gnu)
6716 LD="${LD-ld} -m elf_x86_64_fbsd"
6719 LD="${LD-ld} -m elf_x86_64"
6722 LD="${LD-ld} -m elf64lppc"
6725 LD="${LD-ld} -m elf64ppc"
6727 s390*-*linux*|s390*-*tpf*)
6728 LD="${LD-ld} -m elf64_s390"
6731 LD="${LD-ld} -m elf64_sparc"
6741 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6743 CFLAGS="$CFLAGS -belf"
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6745 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6746 if ${lt_cv_cc_needs_belf+:} false; then :
6747 $as_echo_n "(cached) " >&6
6750 ac_cpp='$CPP $CPPFLAGS'
6751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6756 /* end confdefs.h. */
6766 if ac_fn_c_try_link "$LINENO"; then :
6767 lt_cv_cc_needs_belf=yes
6769 lt_cv_cc_needs_belf=no
6771 rm -f core conftest.err conftest.$ac_objext \
6772 conftest$ac_exeext conftest.$ac_ext
6774 ac_cpp='$CPP $CPPFLAGS'
6775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6781 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6782 if test yes != "$lt_cv_cc_needs_belf"; then
6783 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6788 # Find out what ABI is being produced by ac_compile, and set linker
6789 # options accordingly.
6790 echo 'int i;' > conftest.$ac_ext
6791 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6792 (eval $ac_compile) 2>&5
6794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6795 test $ac_status = 0; }; then
6796 case `/usr/bin/file conftest.o` in
6798 case $lt_cv_prog_gnu_ld in
6801 i?86-*-solaris*|x86_64-*-solaris*)
6802 LD="${LD-ld} -m elf_x86_64"
6805 LD="${LD-ld} -m elf64_sparc"
6808 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6809 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6814 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6826 need_locks=$enable_libtool_lock
6828 if test -n "$ac_tool_prefix"; then
6829 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6830 set dummy ${ac_tool_prefix}mt; ac_word=$2
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6832 $as_echo_n "checking for $ac_word... " >&6; }
6833 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6834 $as_echo_n "(cached) " >&6
6836 if test -n "$MANIFEST_TOOL"; then
6837 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6843 test -z "$as_dir" && as_dir=.
6844 for ac_exec_ext in '' $ac_executable_extensions; do
6845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6846 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6856 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6857 if test -n "$MANIFEST_TOOL"; then
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6859 $as_echo "$MANIFEST_TOOL" >&6; }
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6862 $as_echo "no" >&6; }
6867 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6868 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6869 # Extract the first word of "mt", so it can be a program name with args.
6870 set dummy mt; ac_word=$2
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6872 $as_echo_n "checking for $ac_word... " >&6; }
6873 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6874 $as_echo_n "(cached) " >&6
6876 if test -n "$ac_ct_MANIFEST_TOOL"; then
6877 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6883 test -z "$as_dir" && as_dir=.
6884 for ac_exec_ext in '' $ac_executable_extensions; do
6885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6886 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6896 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6897 if test -n "$ac_ct_MANIFEST_TOOL"; then
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6899 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6902 $as_echo "no" >&6; }
6905 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6908 case $cross_compiling:$ac_tool_warned in
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6912 ac_tool_warned=yes ;;
6914 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6917 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6920 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6922 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6923 if ${lt_cv_path_mainfest_tool+:} false; then :
6924 $as_echo_n "(cached) " >&6
6926 lt_cv_path_mainfest_tool=no
6927 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6928 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6929 cat conftest.err >&5
6930 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6931 lt_cv_path_mainfest_tool=yes
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6936 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6937 if test yes != "$lt_cv_path_mainfest_tool"; then
6947 rhapsody* | darwin*)
6948 if test -n "$ac_tool_prefix"; then
6949 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6950 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6952 $as_echo_n "checking for $ac_word... " >&6; }
6953 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6954 $as_echo_n "(cached) " >&6
6956 if test -n "$DSYMUTIL"; then
6957 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6963 test -z "$as_dir" && as_dir=.
6964 for ac_exec_ext in '' $ac_executable_extensions; do
6965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6966 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6976 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6977 if test -n "$DSYMUTIL"; then
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6979 $as_echo "$DSYMUTIL" >&6; }
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6982 $as_echo "no" >&6; }
6987 if test -z "$ac_cv_prog_DSYMUTIL"; then
6988 ac_ct_DSYMUTIL=$DSYMUTIL
6989 # Extract the first word of "dsymutil", so it can be a program name with args.
6990 set dummy dsymutil; ac_word=$2
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6992 $as_echo_n "checking for $ac_word... " >&6; }
6993 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6994 $as_echo_n "(cached) " >&6
6996 if test -n "$ac_ct_DSYMUTIL"; then
6997 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7003 test -z "$as_dir" && as_dir=.
7004 for ac_exec_ext in '' $ac_executable_extensions; do
7005 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7006 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7016 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7017 if test -n "$ac_ct_DSYMUTIL"; then
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7019 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7022 $as_echo "no" >&6; }
7025 if test "x$ac_ct_DSYMUTIL" = x; then
7028 case $cross_compiling:$ac_tool_warned in
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7031 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7032 ac_tool_warned=yes ;;
7034 DSYMUTIL=$ac_ct_DSYMUTIL
7037 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7040 if test -n "$ac_tool_prefix"; then
7041 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7042 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7044 $as_echo_n "checking for $ac_word... " >&6; }
7045 if ${ac_cv_prog_NMEDIT+:} false; then :
7046 $as_echo_n "(cached) " >&6
7048 if test -n "$NMEDIT"; then
7049 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7055 test -z "$as_dir" && as_dir=.
7056 for ac_exec_ext in '' $ac_executable_extensions; do
7057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7058 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7068 NMEDIT=$ac_cv_prog_NMEDIT
7069 if test -n "$NMEDIT"; then
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7071 $as_echo "$NMEDIT" >&6; }
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7074 $as_echo "no" >&6; }
7079 if test -z "$ac_cv_prog_NMEDIT"; then
7080 ac_ct_NMEDIT=$NMEDIT
7081 # Extract the first word of "nmedit", so it can be a program name with args.
7082 set dummy nmedit; ac_word=$2
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7084 $as_echo_n "checking for $ac_word... " >&6; }
7085 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7086 $as_echo_n "(cached) " >&6
7088 if test -n "$ac_ct_NMEDIT"; then
7089 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7095 test -z "$as_dir" && as_dir=.
7096 for ac_exec_ext in '' $ac_executable_extensions; do
7097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7098 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7108 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7109 if test -n "$ac_ct_NMEDIT"; then
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7111 $as_echo "$ac_ct_NMEDIT" >&6; }
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7114 $as_echo "no" >&6; }
7117 if test "x$ac_ct_NMEDIT" = x; then
7120 case $cross_compiling:$ac_tool_warned in
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7123 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7124 ac_tool_warned=yes ;;
7126 NMEDIT=$ac_ct_NMEDIT
7129 NMEDIT="$ac_cv_prog_NMEDIT"
7132 if test -n "$ac_tool_prefix"; then
7133 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7134 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7136 $as_echo_n "checking for $ac_word... " >&6; }
7137 if ${ac_cv_prog_LIPO+:} false; then :
7138 $as_echo_n "(cached) " >&6
7140 if test -n "$LIPO"; then
7141 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7147 test -z "$as_dir" && as_dir=.
7148 for ac_exec_ext in '' $ac_executable_extensions; do
7149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7150 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7160 LIPO=$ac_cv_prog_LIPO
7161 if test -n "$LIPO"; then
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7163 $as_echo "$LIPO" >&6; }
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7166 $as_echo "no" >&6; }
7171 if test -z "$ac_cv_prog_LIPO"; then
7173 # Extract the first word of "lipo", so it can be a program name with args.
7174 set dummy lipo; ac_word=$2
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7176 $as_echo_n "checking for $ac_word... " >&6; }
7177 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7178 $as_echo_n "(cached) " >&6
7180 if test -n "$ac_ct_LIPO"; then
7181 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7187 test -z "$as_dir" && as_dir=.
7188 for ac_exec_ext in '' $ac_executable_extensions; do
7189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7190 ac_cv_prog_ac_ct_LIPO="lipo"
7191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7200 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7201 if test -n "$ac_ct_LIPO"; then
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7203 $as_echo "$ac_ct_LIPO" >&6; }
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7206 $as_echo "no" >&6; }
7209 if test "x$ac_ct_LIPO" = x; then
7212 case $cross_compiling:$ac_tool_warned in
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7216 ac_tool_warned=yes ;;
7221 LIPO="$ac_cv_prog_LIPO"
7224 if test -n "$ac_tool_prefix"; then
7225 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7226 set dummy ${ac_tool_prefix}otool; ac_word=$2
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7228 $as_echo_n "checking for $ac_word... " >&6; }
7229 if ${ac_cv_prog_OTOOL+:} false; then :
7230 $as_echo_n "(cached) " >&6
7232 if test -n "$OTOOL"; then
7233 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7239 test -z "$as_dir" && as_dir=.
7240 for ac_exec_ext in '' $ac_executable_extensions; do
7241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7242 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7252 OTOOL=$ac_cv_prog_OTOOL
7253 if test -n "$OTOOL"; then
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7255 $as_echo "$OTOOL" >&6; }
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7258 $as_echo "no" >&6; }
7263 if test -z "$ac_cv_prog_OTOOL"; then
7265 # Extract the first word of "otool", so it can be a program name with args.
7266 set dummy otool; ac_word=$2
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7268 $as_echo_n "checking for $ac_word... " >&6; }
7269 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7270 $as_echo_n "(cached) " >&6
7272 if test -n "$ac_ct_OTOOL"; then
7273 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7279 test -z "$as_dir" && as_dir=.
7280 for ac_exec_ext in '' $ac_executable_extensions; do
7281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7282 ac_cv_prog_ac_ct_OTOOL="otool"
7283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7292 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7293 if test -n "$ac_ct_OTOOL"; then
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7295 $as_echo "$ac_ct_OTOOL" >&6; }
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7298 $as_echo "no" >&6; }
7301 if test "x$ac_ct_OTOOL" = x; then
7304 case $cross_compiling:$ac_tool_warned in
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7307 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7308 ac_tool_warned=yes ;;
7313 OTOOL="$ac_cv_prog_OTOOL"
7316 if test -n "$ac_tool_prefix"; then
7317 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7318 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7320 $as_echo_n "checking for $ac_word... " >&6; }
7321 if ${ac_cv_prog_OTOOL64+:} false; then :
7322 $as_echo_n "(cached) " >&6
7324 if test -n "$OTOOL64"; then
7325 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7331 test -z "$as_dir" && as_dir=.
7332 for ac_exec_ext in '' $ac_executable_extensions; do
7333 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7334 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7344 OTOOL64=$ac_cv_prog_OTOOL64
7345 if test -n "$OTOOL64"; then
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7347 $as_echo "$OTOOL64" >&6; }
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7350 $as_echo "no" >&6; }
7355 if test -z "$ac_cv_prog_OTOOL64"; then
7356 ac_ct_OTOOL64=$OTOOL64
7357 # Extract the first word of "otool64", so it can be a program name with args.
7358 set dummy otool64; ac_word=$2
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7360 $as_echo_n "checking for $ac_word... " >&6; }
7361 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7362 $as_echo_n "(cached) " >&6
7364 if test -n "$ac_ct_OTOOL64"; then
7365 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7371 test -z "$as_dir" && as_dir=.
7372 for ac_exec_ext in '' $ac_executable_extensions; do
7373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7374 ac_cv_prog_ac_ct_OTOOL64="otool64"
7375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7384 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7385 if test -n "$ac_ct_OTOOL64"; then
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7387 $as_echo "$ac_ct_OTOOL64" >&6; }
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7390 $as_echo "no" >&6; }
7393 if test "x$ac_ct_OTOOL64" = x; then
7396 case $cross_compiling:$ac_tool_warned in
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7400 ac_tool_warned=yes ;;
7402 OTOOL64=$ac_ct_OTOOL64
7405 OTOOL64="$ac_cv_prog_OTOOL64"
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7435 $as_echo_n "checking for -single_module linker flag... " >&6; }
7436 if ${lt_cv_apple_cc_single_mod+:} false; then :
7437 $as_echo_n "(cached) " >&6
7439 lt_cv_apple_cc_single_mod=no
7440 if test -z "$LT_MULTI_MODULE"; then
7441 # By default we will add the -single_module flag. You can override
7442 # by either setting the environment variable LT_MULTI_MODULE
7443 # non-empty at configure time, or by adding -multi_module to the
7445 rm -rf libconftest.dylib*
7446 echo "int foo(void){return 1;}" > conftest.c
7447 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7448 -dynamiclib -Wl,-single_module conftest.c" >&5
7449 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7450 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7452 # If there is a non-empty error log, and "single_module"
7453 # appears in it, assume the flag caused a linker warning
7454 if test -s conftest.err && $GREP single_module conftest.err; then
7455 cat conftest.err >&5
7456 # Otherwise, if the output was created with a 0 exit code from
7457 # the compiler, it worked.
7458 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7459 lt_cv_apple_cc_single_mod=yes
7461 cat conftest.err >&5
7463 rm -rf libconftest.dylib*
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7468 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7471 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7472 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7473 $as_echo_n "(cached) " >&6
7475 lt_cv_ld_exported_symbols_list=no
7476 save_LDFLAGS=$LDFLAGS
7477 echo "_main" > conftest.sym
7478 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7480 /* end confdefs.h. */
7490 if ac_fn_c_try_link "$LINENO"; then :
7491 lt_cv_ld_exported_symbols_list=yes
7493 lt_cv_ld_exported_symbols_list=no
7495 rm -f core conftest.err conftest.$ac_objext \
7496 conftest$ac_exeext conftest.$ac_ext
7497 LDFLAGS=$save_LDFLAGS
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7501 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7504 $as_echo_n "checking for -force_load linker flag... " >&6; }
7505 if ${lt_cv_ld_force_load+:} false; then :
7506 $as_echo_n "(cached) " >&6
7508 lt_cv_ld_force_load=no
7509 cat > conftest.c << _LT_EOF
7510 int forced_loaded() { return 2;}
7512 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7513 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7514 echo "$AR cru libconftest.a conftest.o" >&5
7515 $AR cru libconftest.a conftest.o 2>&5
7516 echo "$RANLIB libconftest.a" >&5
7517 $RANLIB libconftest.a 2>&5
7518 cat > conftest.c << _LT_EOF
7519 int main() { return 0;}
7521 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7522 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7524 if test -s conftest.err && $GREP force_load conftest.err; then
7525 cat conftest.err >&5
7526 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7527 lt_cv_ld_force_load=yes
7529 cat conftest.err >&5
7531 rm -f conftest.err libconftest.a conftest conftest.c
7532 rm -rf conftest.dSYM
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7536 $as_echo "$lt_cv_ld_force_load" >&6; }
7538 rhapsody* | darwin1.[012])
7539 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7541 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7542 darwin*) # darwin 5.x on
7543 # if running on 10.5 or later, the deployment target defaults
7544 # to the OS version, if on x86, and 10.4, the deployment
7545 # target defaults to 10.4. Don't you love it?
7546 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7547 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7548 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7550 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7552 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7556 if test yes = "$lt_cv_apple_cc_single_mod"; then
7557 _lt_dar_single_mod='$single_module'
7559 if test yes = "$lt_cv_ld_exported_symbols_list"; then
7560 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7562 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7564 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7565 _lt_dsymutil='~$DSYMUTIL $lib || :'
7572 # func_munge_path_list VARIABLE PATH
7573 # -----------------------------------
7574 # VARIABLE is name of variable containing _space_ separated list of
7575 # directories to be munged by the contents of PATH, which is string
7578 # string "DIR[ DIR]" will be prepended to VARIABLE
7580 # string "DIR[ DIR]" will be appended to VARIABLE
7581 # "DIRP[:DIRP]::[DIRA:]DIRA"
7582 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7583 # "DIRA[ DIRA]" will be appended to VARIABLE
7585 # VARIABLE will be replaced by "DIR[ DIR]"
7586 func_munge_path_list ()
7592 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7595 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7598 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7599 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7602 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7609 $as_echo_n "checking for ANSI C header files... " >&6; }
7610 if ${ac_cv_header_stdc+:} false; then :
7611 $as_echo_n "(cached) " >&6
7613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7614 /* end confdefs.h. */
7628 if ac_fn_c_try_compile "$LINENO"; then :
7629 ac_cv_header_stdc=yes
7631 ac_cv_header_stdc=no
7633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7635 if test $ac_cv_header_stdc = yes; then
7636 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7638 /* end confdefs.h. */
7642 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7643 $EGREP "memchr" >/dev/null 2>&1; then :
7646 ac_cv_header_stdc=no
7652 if test $ac_cv_header_stdc = yes; then
7653 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7655 /* end confdefs.h. */
7659 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7660 $EGREP "free" >/dev/null 2>&1; then :
7663 ac_cv_header_stdc=no
7669 if test $ac_cv_header_stdc = yes; then
7670 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7671 if test "$cross_compiling" = yes; then :
7674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7675 /* end confdefs.h. */
7678 #if ((' ' & 0x0FF) == 0x020)
7679 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7680 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7682 # define ISLOWER(c) \
7683 (('a' <= (c) && (c) <= 'i') \
7684 || ('j' <= (c) && (c) <= 'r') \
7685 || ('s' <= (c) && (c) <= 'z'))
7686 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7689 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7694 for (i = 0; i < 256; i++)
7695 if (XOR (islower (i), ISLOWER (i))
7696 || toupper (i) != TOUPPER (i))
7701 if ac_fn_c_try_run "$LINENO"; then :
7704 ac_cv_header_stdc=no
7706 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7707 conftest.$ac_objext conftest.beam conftest.$ac_ext
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7713 $as_echo "$ac_cv_header_stdc" >&6; }
7714 if test $ac_cv_header_stdc = yes; then
7716 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7720 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7721 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7722 inttypes.h stdint.h unistd.h
7724 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7725 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7727 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7728 cat >>confdefs.h <<_ACEOF
7729 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7737 for ac_header in dlfcn.h
7739 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7741 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7742 cat >>confdefs.h <<_ACEOF
7743 #define HAVE_DLFCN_H 1
7764 # Check whether --enable-shared was given.
7765 if test "${enable_shared+set}" = set; then :
7766 enableval=$enable_shared; p=${PACKAGE-default}
7768 yes) enable_shared=yes ;;
7769 no) enable_shared=no ;;
7772 # Look at the argument we got. We use all the common list separators.
7773 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7774 for pkg in $enableval; do
7776 if test "X$pkg" = "X$p"; then
7795 # Check whether --enable-static was given.
7796 if test "${enable_static+set}" = set; then :
7797 enableval=$enable_static; p=${PACKAGE-default}
7799 yes) enable_static=yes ;;
7800 no) enable_static=no ;;
7803 # Look at the argument we got. We use all the common list separators.
7804 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7805 for pkg in $enableval; do
7807 if test "X$pkg" = "X$p"; then
7827 # Check whether --with-pic was given.
7828 if test "${with_pic+set}" = set; then :
7829 withval=$with_pic; lt_p=${PACKAGE-default}
7831 yes|no) pic_mode=$withval ;;
7834 # Look at the argument we got. We use all the common list separators.
7835 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7836 for lt_pkg in $withval; do
7838 if test "X$lt_pkg" = "X$lt_p"; then
7856 # Check whether --enable-fast-install was given.
7857 if test "${enable_fast_install+set}" = set; then :
7858 enableval=$enable_fast_install; p=${PACKAGE-default}
7860 yes) enable_fast_install=yes ;;
7861 no) enable_fast_install=no ;;
7863 enable_fast_install=no
7864 # Look at the argument we got. We use all the common list separators.
7865 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7866 for pkg in $enableval; do
7868 if test "X$pkg" = "X$p"; then
7869 enable_fast_install=yes
7876 enable_fast_install=yes
7886 shared_archive_member_spec=
7887 case $host,$enable_shared in
7888 power*-*-aix[5-9]*,yes)
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7890 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7892 # Check whether --with-aix-soname was given.
7893 if test "${with_aix_soname+set}" = set; then :
7894 withval=$with_aix_soname; case $withval in
7898 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
7901 lt_cv_with_aix_soname=$with_aix_soname
7903 if ${lt_cv_with_aix_soname+:} false; then :
7904 $as_echo_n "(cached) " >&6
7906 lt_cv_with_aix_soname=aix
7909 with_aix_soname=$lt_cv_with_aix_soname
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7913 $as_echo "$with_aix_soname" >&6; }
7914 if test aix != "$with_aix_soname"; then
7915 # For the AIX way of multilib, we name the shared archive member
7916 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
7917 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
7918 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
7919 # the AIX toolchain works better with OBJECT_MODE set (default 32).
7920 if test 64 = "${OBJECT_MODE-32}"; then
7921 shared_archive_member_spec=shr_64
7923 shared_archive_member_spec=shr
7941 # This can be used to rebuild libtool when needed
7942 LIBTOOL_DEPS=$ltmain
7944 # Always use our own libtool.
7945 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7976 test -z "$LN_S" && LN_S="ln -s"
7991 if test -n "${ZSH_VERSION+set}"; then
7992 setopt NO_GLOB_SUBST
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7996 $as_echo_n "checking for objdir... " >&6; }
7997 if ${lt_cv_objdir+:} false; then :
7998 $as_echo_n "(cached) " >&6
8000 rm -f .libs 2>/dev/null
8001 mkdir .libs 2>/dev/null
8002 if test -d .libs; then
8005 # MS-DOS does not allow filenames that begin with a dot.
8008 rmdir .libs 2>/dev/null
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8011 $as_echo "$lt_cv_objdir" >&6; }
8012 objdir=$lt_cv_objdir
8018 cat >>confdefs.h <<_ACEOF
8019 #define LT_OBJDIR "$lt_cv_objdir/"
8027 # AIX sometimes has problems with the GCC collect2 program. For some
8028 # reason, if we set the COLLECT_NAMES environment variable, the problems
8029 # vanish in a puff of smoke.
8030 if test set != "${COLLECT_NAMES+set}"; then
8032 export COLLECT_NAMES
8039 can_build_shared=yes
8041 # All known linkers require a '.a' archive for static linking (except MSVC,
8042 # which needs '.lib').
8045 with_gnu_ld=$lt_cv_prog_gnu_ld
8050 # Set sane defaults for various variables
8051 test -z "$CC" && CC=cc
8052 test -z "$LTCC" && LTCC=$CC
8053 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8054 test -z "$LD" && LD=ld
8055 test -z "$ac_objext" && ac_objext=o
8057 func_cc_basename $compiler
8058 cc_basename=$func_cc_basename_result
8061 # Only perform the check for file, if the check method requires it
8062 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8063 case $deplibs_check_method in
8065 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8067 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8068 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8069 $as_echo_n "(cached) " >&6
8073 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8076 lt_save_MAGIC_CMD=$MAGIC_CMD
8077 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8078 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8079 for ac_dir in $ac_dummy; do
8081 test -z "$ac_dir" && ac_dir=.
8082 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8083 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8084 if test -n "$file_magic_test_file"; then
8085 case $deplibs_check_method in
8087 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8088 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8089 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8090 $EGREP "$file_magic_regex" > /dev/null; then
8095 *** Warning: the command libtool uses to detect shared libraries,
8096 *** $file_magic_cmd, produces output that libtool cannot recognize.
8097 *** The result is that libtool may fail to recognize shared libraries
8098 *** as such. This will affect the creation of libtool libraries that
8099 *** depend on shared libraries, but programs linked with such libtool
8100 *** libraries will work regardless of this problem. Nevertheless, you
8101 *** may want to report the problem to your system manager and/or to
8102 *** bug-libtool@gnu.org
8112 MAGIC_CMD=$lt_save_MAGIC_CMD
8117 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8118 if test -n "$MAGIC_CMD"; then
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8120 $as_echo "$MAGIC_CMD" >&6; }
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8123 $as_echo "no" >&6; }
8130 if test -z "$lt_cv_path_MAGIC_CMD"; then
8131 if test -n "$ac_tool_prefix"; then
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8133 $as_echo_n "checking for file... " >&6; }
8134 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8135 $as_echo_n "(cached) " >&6
8139 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8142 lt_save_MAGIC_CMD=$MAGIC_CMD
8143 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8144 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8145 for ac_dir in $ac_dummy; do
8147 test -z "$ac_dir" && ac_dir=.
8148 if test -f "$ac_dir/file"; then
8149 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8150 if test -n "$file_magic_test_file"; then
8151 case $deplibs_check_method in
8153 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8154 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8155 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8156 $EGREP "$file_magic_regex" > /dev/null; then
8161 *** Warning: the command libtool uses to detect shared libraries,
8162 *** $file_magic_cmd, produces output that libtool cannot recognize.
8163 *** The result is that libtool may fail to recognize shared libraries
8164 *** as such. This will affect the creation of libtool libraries that
8165 *** depend on shared libraries, but programs linked with such libtool
8166 *** libraries will work regardless of this problem. Nevertheless, you
8167 *** may want to report the problem to your system manager and/or to
8168 *** bug-libtool@gnu.org
8178 MAGIC_CMD=$lt_save_MAGIC_CMD
8183 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8184 if test -n "$MAGIC_CMD"; then
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8186 $as_echo "$MAGIC_CMD" >&6; }
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8189 $as_echo "no" >&6; }
8202 # Use C for the default configuration in the libtool script
8206 ac_cpp='$CPP $CPPFLAGS'
8207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8212 # Source file extension for C test sources.
8215 # Object file extension for compiled C test sources.
8219 # Code to be used in simple compile tests
8220 lt_simple_compile_test_code="int some_variable = 0;"
8222 # Code to be used in simple link tests
8223 lt_simple_link_test_code='int main(){return(0);}'
8231 # If no C compiler was specified, use CC.
8234 # If no C compiler flags were specified, use CFLAGS.
8235 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8237 # Allow CC to be a program name with arguments.
8240 # Save the default compiler, since it gets overwritten when the other
8241 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8242 compiler_DEFAULT=$CC
8244 # save warnings/boilerplate of simple test code
8245 ac_outfile=conftest.$ac_objext
8246 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8247 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8248 _lt_compiler_boilerplate=`cat conftest.err`
8251 ac_outfile=conftest.$ac_objext
8252 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8253 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8254 _lt_linker_boilerplate=`cat conftest.err`
8258 if test -n "$compiler"; then
8260 lt_prog_compiler_no_builtin_flag=
8262 if test yes = "$GCC"; then
8263 case $cc_basename in
8265 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8267 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8271 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8272 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8273 $as_echo_n "(cached) " >&6
8275 lt_cv_prog_compiler_rtti_exceptions=no
8276 ac_outfile=conftest.$ac_objext
8277 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8278 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8279 # Insert the option either (1) after the last *FLAGS variable, or
8280 # (2) before a word containing "conftest.", or (3) at the end.
8281 # Note that $ac_compile itself does not contain backslashes and begins
8282 # with a dollar sign (not a hyphen), so the echo should work correctly.
8283 # The option is referenced via a variable to avoid confusing sed.
8284 lt_compile=`echo "$ac_compile" | $SED \
8285 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8286 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8287 -e 's:$: $lt_compiler_flag:'`
8288 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8289 (eval "$lt_compile" 2>conftest.err)
8291 cat conftest.err >&5
8292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8293 if (exit $ac_status) && test -s "$ac_outfile"; then
8294 # The compiler can only warn and ignore the option if not recognized
8295 # So say no if there are warnings other than the usual output.
8296 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8297 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8298 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8299 lt_cv_prog_compiler_rtti_exceptions=yes
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8306 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8308 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8309 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8321 lt_prog_compiler_wl=
8322 lt_prog_compiler_pic=
8323 lt_prog_compiler_static=
8326 if test yes = "$GCC"; then
8327 lt_prog_compiler_wl='-Wl,'
8328 lt_prog_compiler_static='-static'
8332 # All AIX code is PIC.
8333 if test ia64 = "$host_cpu"; then
8334 # AIX 5 now supports IA64 processor
8335 lt_prog_compiler_static='-Bstatic'
8337 lt_prog_compiler_pic='-fPIC'
8343 # see comment about AmigaOS4 .so support
8344 lt_prog_compiler_pic='-fPIC'
8347 # FIXME: we need at least 68020 code to build shared libraries, but
8348 # adding the '-m68020' flag to GCC prevents building anything better,
8350 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8355 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8356 # PIC is the default for these OSes.
8359 mingw* | cygwin* | pw32* | os2* | cegcc*)
8360 # This hack is so that the source file can tell whether it is being
8361 # built for inclusion in a dll (and should export symbols for example).
8362 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8363 # (--disable-auto-import) libraries
8364 lt_prog_compiler_pic='-DDLL_EXPORT'
8367 lt_prog_compiler_static='$wl-static'
8372 darwin* | rhapsody*)
8373 # PIC is the default on this platform
8374 # Common symbols not allowed in MH_DYLIB files
8375 lt_prog_compiler_pic='-fno-common'
8379 # PIC is the default for Haiku.
8380 # The "-static" flag exists, but is broken.
8381 lt_prog_compiler_static=
8385 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8386 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8387 # sets the default TLS model and affects inlining.
8393 lt_prog_compiler_pic='-fPIC'
8399 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8400 # Instead, we relocate shared libraries at runtime.
8404 # Just because we use GCC doesn't mean we suddenly get shared libraries
8405 # on systems that don't support them.
8406 lt_prog_compiler_can_build_shared=no
8411 # QNX uses GNU C++, but need to define -shared option too, otherwise
8413 lt_prog_compiler_pic='-fPIC -shared'
8417 if test -d /usr/nec; then
8418 lt_prog_compiler_pic=-Kconform_pic
8423 lt_prog_compiler_pic='-fPIC'
8427 case $cc_basename in
8428 nvcc*) # Cuda Compiler Driver 2.2
8429 lt_prog_compiler_wl='-Xlinker '
8430 if test -n "$lt_prog_compiler_pic"; then
8431 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8436 # PORTME Check for flag to pass linker flags through the system compiler.
8439 lt_prog_compiler_wl='-Wl,'
8440 if test ia64 = "$host_cpu"; then
8441 # AIX 5 now supports IA64 processor
8442 lt_prog_compiler_static='-Bstatic'
8444 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8448 darwin* | rhapsody*)
8449 # PIC is the default on this platform
8450 # Common symbols not allowed in MH_DYLIB files
8451 lt_prog_compiler_pic='-fno-common'
8452 case $cc_basename in
8454 # NAG Fortran compiler
8455 lt_prog_compiler_wl='-Wl,-Wl,,'
8456 lt_prog_compiler_pic='-PIC'
8457 lt_prog_compiler_static='-Bstatic'
8462 mingw* | cygwin* | pw32* | os2* | cegcc*)
8463 # This hack is so that the source file can tell whether it is being
8464 # built for inclusion in a dll (and should export symbols for example).
8465 lt_prog_compiler_pic='-DDLL_EXPORT'
8468 lt_prog_compiler_static='$wl-static'
8473 hpux9* | hpux10* | hpux11*)
8474 lt_prog_compiler_wl='-Wl,'
8475 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8482 lt_prog_compiler_pic='+Z'
8485 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8486 lt_prog_compiler_static='$wl-a ${wl}archive'
8489 irix5* | irix6* | nonstopux*)
8490 lt_prog_compiler_wl='-Wl,'
8491 # PIC (with -KPIC) is the default.
8492 lt_prog_compiler_static='-non_shared'
8495 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8496 case $cc_basename in
8497 # old Intel for x86_64, which still supported -KPIC.
8499 lt_prog_compiler_wl='-Wl,'
8500 lt_prog_compiler_pic='-KPIC'
8501 lt_prog_compiler_static='-static'
8503 # icc used to be incompatible with GCC.
8504 # ICC 10 doesn't accept -KPIC any more.
8506 lt_prog_compiler_wl='-Wl,'
8507 lt_prog_compiler_pic='-fPIC'
8508 lt_prog_compiler_static='-static'
8510 # Lahey Fortran 8.1.
8512 lt_prog_compiler_wl='-Wl,'
8513 lt_prog_compiler_pic='--shared'
8514 lt_prog_compiler_static='--static'
8517 # NAG Fortran compiler
8518 lt_prog_compiler_wl='-Wl,-Wl,,'
8519 lt_prog_compiler_pic='-PIC'
8520 lt_prog_compiler_static='-Bstatic'
8523 # Fabrice Bellard et al's Tiny C Compiler
8524 lt_prog_compiler_wl='-Wl,'
8525 lt_prog_compiler_pic='-fPIC'
8526 lt_prog_compiler_static='-static'
8528 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8529 # Portland Group compilers (*not* the Pentium gcc compiler,
8530 # which looks to be a dead project)
8531 lt_prog_compiler_wl='-Wl,'
8532 lt_prog_compiler_pic='-fpic'
8533 lt_prog_compiler_static='-Bstatic'
8536 lt_prog_compiler_wl='-Wl,'
8537 # All Alpha code is PIC.
8538 lt_prog_compiler_static='-non_shared'
8540 xl* | bgxl* | bgf* | mpixl*)
8541 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8542 lt_prog_compiler_wl='-Wl,'
8543 lt_prog_compiler_pic='-qpic'
8544 lt_prog_compiler_static='-qstaticlink'
8547 case `$CC -V 2>&1 | sed 5q` in
8548 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8549 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8550 lt_prog_compiler_pic='-KPIC'
8551 lt_prog_compiler_static='-Bstatic'
8552 lt_prog_compiler_wl=''
8554 *Sun\ F* | *Sun*Fortran*)
8555 lt_prog_compiler_pic='-KPIC'
8556 lt_prog_compiler_static='-Bstatic'
8557 lt_prog_compiler_wl='-Qoption ld '
8561 lt_prog_compiler_pic='-KPIC'
8562 lt_prog_compiler_static='-Bstatic'
8563 lt_prog_compiler_wl='-Wl,'
8565 *Intel*\ [CF]*Compiler*)
8566 lt_prog_compiler_wl='-Wl,'
8567 lt_prog_compiler_pic='-fPIC'
8568 lt_prog_compiler_static='-static'
8571 lt_prog_compiler_wl='-Wl,'
8572 lt_prog_compiler_pic='-fpic'
8573 lt_prog_compiler_static='-Bstatic'
8581 lt_prog_compiler_pic='-KPIC'
8582 lt_prog_compiler_static='-Bstatic'
8586 # QNX uses GNU C++, but need to define -shared option too, otherwise
8588 lt_prog_compiler_pic='-fPIC -shared'
8591 osf3* | osf4* | osf5*)
8592 lt_prog_compiler_wl='-Wl,'
8593 # All OSF/1 code is PIC.
8594 lt_prog_compiler_static='-non_shared'
8598 lt_prog_compiler_static='-non_shared'
8602 lt_prog_compiler_pic='-KPIC'
8603 lt_prog_compiler_static='-Bstatic'
8604 case $cc_basename in
8605 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8606 lt_prog_compiler_wl='-Qoption ld ';;
8608 lt_prog_compiler_wl='-Wl,';;
8613 lt_prog_compiler_wl='-Qoption ld '
8614 lt_prog_compiler_pic='-PIC'
8615 lt_prog_compiler_static='-Bstatic'
8618 sysv4 | sysv4.2uw2* | sysv4.3*)
8619 lt_prog_compiler_wl='-Wl,'
8620 lt_prog_compiler_pic='-KPIC'
8621 lt_prog_compiler_static='-Bstatic'
8625 if test -d /usr/nec; then
8626 lt_prog_compiler_pic='-Kconform_pic'
8627 lt_prog_compiler_static='-Bstatic'
8631 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8632 lt_prog_compiler_wl='-Wl,'
8633 lt_prog_compiler_pic='-KPIC'
8634 lt_prog_compiler_static='-Bstatic'
8638 lt_prog_compiler_wl='-Wl,'
8639 lt_prog_compiler_can_build_shared=no
8643 lt_prog_compiler_pic='-pic'
8644 lt_prog_compiler_static='-Bstatic'
8648 lt_prog_compiler_can_build_shared=no
8654 # For platforms that do not support PIC, -DPIC is meaningless:
8656 lt_prog_compiler_pic=
8659 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8664 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8665 if ${lt_cv_prog_compiler_pic+:} false; then :
8666 $as_echo_n "(cached) " >&6
8668 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8671 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8672 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8675 # Check to make sure the PIC flag actually works.
8677 if test -n "$lt_prog_compiler_pic"; then
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8679 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8680 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8681 $as_echo_n "(cached) " >&6
8683 lt_cv_prog_compiler_pic_works=no
8684 ac_outfile=conftest.$ac_objext
8685 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8686 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
8687 # Insert the option either (1) after the last *FLAGS variable, or
8688 # (2) before a word containing "conftest.", or (3) at the end.
8689 # Note that $ac_compile itself does not contain backslashes and begins
8690 # with a dollar sign (not a hyphen), so the echo should work correctly.
8691 # The option is referenced via a variable to avoid confusing sed.
8692 lt_compile=`echo "$ac_compile" | $SED \
8693 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8694 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8695 -e 's:$: $lt_compiler_flag:'`
8696 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8697 (eval "$lt_compile" 2>conftest.err)
8699 cat conftest.err >&5
8700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8701 if (exit $ac_status) && test -s "$ac_outfile"; then
8702 # The compiler can only warn and ignore the option if not recognized
8703 # So say no if there are warnings other than the usual output.
8704 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8705 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8706 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8707 lt_cv_prog_compiler_pic_works=yes
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8714 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8716 if test yes = "$lt_cv_prog_compiler_pic_works"; then
8717 case $lt_prog_compiler_pic in
8719 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8722 lt_prog_compiler_pic=
8723 lt_prog_compiler_can_build_shared=no
8739 # Check to make sure the static flag actually works.
8741 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8743 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8744 if ${lt_cv_prog_compiler_static_works+:} false; then :
8745 $as_echo_n "(cached) " >&6
8747 lt_cv_prog_compiler_static_works=no
8748 save_LDFLAGS=$LDFLAGS
8749 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8750 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8751 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8752 # The linker can only warn and ignore the option if not recognized
8753 # So say no if there are warnings
8754 if test -s conftest.err; then
8755 # Append any errors to the config.log.
8756 cat conftest.err 1>&5
8757 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8758 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8759 if diff conftest.exp conftest.er2 >/dev/null; then
8760 lt_cv_prog_compiler_static_works=yes
8763 lt_cv_prog_compiler_static_works=yes
8767 LDFLAGS=$save_LDFLAGS
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8771 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8773 if test yes = "$lt_cv_prog_compiler_static_works"; then
8776 lt_prog_compiler_static=
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8786 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8787 if ${lt_cv_prog_compiler_c_o+:} false; then :
8788 $as_echo_n "(cached) " >&6
8790 lt_cv_prog_compiler_c_o=no
8791 $RM -r conftest 2>/dev/null
8795 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8797 lt_compiler_flag="-o out/conftest2.$ac_objext"
8798 # Insert the option either (1) after the last *FLAGS variable, or
8799 # (2) before a word containing "conftest.", or (3) at the end.
8800 # Note that $ac_compile itself does not contain backslashes and begins
8801 # with a dollar sign (not a hyphen), so the echo should work correctly.
8802 lt_compile=`echo "$ac_compile" | $SED \
8803 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8804 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8805 -e 's:$: $lt_compiler_flag:'`
8806 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8807 (eval "$lt_compile" 2>out/conftest.err)
8809 cat out/conftest.err >&5
8810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8811 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8813 # The compiler can only warn and ignore the option if not recognized
8814 # So say no if there are warnings
8815 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8816 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8817 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8818 lt_cv_prog_compiler_c_o=yes
8823 # SGI C++ compiler will create directory out/ii_files/ for
8824 # template instantiation
8825 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8826 $RM out/* && rmdir out
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8833 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8841 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8842 if ${lt_cv_prog_compiler_c_o+:} false; then :
8843 $as_echo_n "(cached) " >&6
8845 lt_cv_prog_compiler_c_o=no
8846 $RM -r conftest 2>/dev/null
8850 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8852 lt_compiler_flag="-o out/conftest2.$ac_objext"
8853 # Insert the option either (1) after the last *FLAGS variable, or
8854 # (2) before a word containing "conftest.", or (3) at the end.
8855 # Note that $ac_compile itself does not contain backslashes and begins
8856 # with a dollar sign (not a hyphen), so the echo should work correctly.
8857 lt_compile=`echo "$ac_compile" | $SED \
8858 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8859 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8860 -e 's:$: $lt_compiler_flag:'`
8861 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8862 (eval "$lt_compile" 2>out/conftest.err)
8864 cat out/conftest.err >&5
8865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8866 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8868 # The compiler can only warn and ignore the option if not recognized
8869 # So say no if there are warnings
8870 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8871 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8872 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8873 lt_cv_prog_compiler_c_o=yes
8878 # SGI C++ compiler will create directory out/ii_files/ for
8879 # template instantiation
8880 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8881 $RM out/* && rmdir out
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8888 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8893 hard_links=nottested
8894 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
8895 # do not overwrite the value of need_locks provided by the user
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8897 $as_echo_n "checking if we can lock with hard links... " >&6; }
8900 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8902 ln conftest.a conftest.b 2>&5 || hard_links=no
8903 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8905 $as_echo "$hard_links" >&6; }
8906 if test no = "$hard_links"; then
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8908 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8921 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8924 allow_undefined_flag=
8925 always_export_symbols=no
8927 archive_expsym_cmds=
8928 compiler_needs_object=no
8929 enable_shared_with_static_runtimes=no
8930 export_dynamic_flag_spec=
8931 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8932 hardcode_automatic=no
8934 hardcode_direct_absolute=no
8935 hardcode_libdir_flag_spec=
8936 hardcode_libdir_separator=
8938 hardcode_shlibpath_var=unsupported
8940 link_all_deplibs=unknown
8943 old_archive_from_new_cmds=
8944 old_archive_from_expsyms_cmds=
8945 thread_safe_flag_spec=
8946 whole_archive_flag_spec=
8947 # include_expsyms should be a list of space-separated symbols to be *always*
8948 # included in the symbol list
8950 # exclude_expsyms can be an extended regexp of symbols to exclude
8951 # it will be wrapped by ' (' and ')$', so one must not match beginning or
8952 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
8953 # as well as any symbol that contains 'd'.
8954 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8955 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8956 # platforms (ab)use it in PIC code, but their linkers get confused if
8957 # the symbol is explicitly referenced. Since portable code cannot
8958 # rely on this symbol name, it's probably fine to never include it in
8959 # preloaded symbol tables.
8960 # Exclude shared library initialization/finalization symbols.
8961 extract_expsyms_cmds=
8964 cygwin* | mingw* | pw32* | cegcc*)
8965 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8966 # When not using gcc, we currently assume that we are using
8967 # Microsoft Visual C++.
8968 if test yes != "$GCC"; then
8973 # we just hope/assume this is gcc and not c89 (= MSVC++)
8983 # On some targets, GNU ld is compatible enough with the native linker
8984 # that we're better off using the native interface for both.
8985 lt_use_gnu_ld_interface=no
8986 if test yes = "$with_gnu_ld"; then
8989 # The AIX port of GNU ld has always aspired to compatibility
8990 # with the native linker. However, as the warning in the GNU ld
8991 # block says, versions before 2.19.5* couldn't really create working
8992 # shared libraries, regardless of the interface used.
8993 case `$LD -v 2>&1` in
8994 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8995 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8996 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8998 lt_use_gnu_ld_interface=yes
9003 lt_use_gnu_ld_interface=yes
9008 if test yes = "$lt_use_gnu_ld_interface"; then
9009 # If archive_cmds runs LD, not CC, wlarc should be empty
9012 # Set some defaults for GNU ld with shared library support. These
9013 # are reset later if shared libraries are not supported. Putting them
9014 # here allows them to be overridden if necessary.
9015 runpath_var=LD_RUN_PATH
9016 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9017 export_dynamic_flag_spec='$wl--export-dynamic'
9018 # ancient GNU ld didn't support --whole-archive et. al.
9019 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9020 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9022 whole_archive_flag_spec=
9024 supports_anon_versioning=no
9025 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9026 *GNU\ gold*) supports_anon_versioning=yes ;;
9027 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9028 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9029 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9030 *\ 2.11.*) ;; # other 2.11 versions
9031 *) supports_anon_versioning=yes ;;
9034 # See if GNU ld supports shared libraries.
9037 # On AIX/PPC, the GNU linker is very broken
9038 if test ia64 != "$host_cpu"; then
9042 *** Warning: the GNU linker, at least up to release 2.19, is reported
9043 *** to be unable to reliably create shared libraries on AIX.
9044 *** Therefore, libtool is disabling shared libraries support. If you
9045 *** really care for shared libraries, you may want to install binutils
9046 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9047 *** You will then need to restart the configuration process.
9056 # see comment about AmigaOS4 .so support
9057 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9058 archive_expsym_cmds=''
9061 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)'
9062 hardcode_libdir_flag_spec='-L$libdir'
9063 hardcode_minus_L=yes
9069 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9070 allow_undefined_flag=unsupported
9071 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9072 # support --undefined. This deserves some investigation. FIXME
9073 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9079 cygwin* | mingw* | pw32* | cegcc*)
9080 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9081 # as there is no search path for DLLs.
9082 hardcode_libdir_flag_spec='-L$libdir'
9083 export_dynamic_flag_spec='$wl--export-all-symbols'
9084 allow_undefined_flag=unsupported
9085 always_export_symbols=no
9086 enable_shared_with_static_runtimes=yes
9087 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'
9088 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9090 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9091 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9092 # If the export-symbols file already is a .def file, use it as
9093 # is; otherwise, prepend EXPORTS...
9094 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9095 cp $export_symbols $output_objdir/$soname.def;
9097 echo EXPORTS > $output_objdir/$soname.def;
9098 cat $export_symbols >> $output_objdir/$soname.def;
9100 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9107 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9108 link_all_deplibs=yes
9112 hardcode_libdir_flag_spec='-L$libdir'
9113 hardcode_minus_L=yes
9114 allow_undefined_flag=unsupported
9116 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9117 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9118 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9119 $ECHO EXPORTS >> $output_objdir/$libname.def~
9120 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9121 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9122 emximp -o $lib $output_objdir/$libname.def'
9123 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9124 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9125 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9126 $ECHO EXPORTS >> $output_objdir/$libname.def~
9128 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9129 prefix_cmds="$prefix_cmds -e 1d";
9131 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9132 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9133 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9134 emximp -o $lib $output_objdir/$libname.def'
9135 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9136 enable_shared_with_static_runtimes=yes
9141 hardcode_shlibpath_var=no
9142 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9143 export_dynamic_flag_spec='$wl-E'
9144 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9145 # Instead, shared libraries are loaded at an image base (0x10000000 by
9146 # default) and relocated if they conflict, which is a slow very memory
9147 # consuming and fragmenting process. To avoid this, we pick a random,
9148 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9149 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9150 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9151 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'
9154 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9156 if test linux-dietlibc = "$host_os"; then
9157 case $cc_basename in
9158 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9161 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9162 && test no = "$tmp_diet"
9164 tmp_addflag=' $pic_flag'
9165 tmp_sharedflag='-shared'
9166 case $cc_basename,$host_cpu in
9167 pgcc*) # Portland Group C compiler
9168 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'
9169 tmp_addflag=' $pic_flag'
9171 pgf77* | pgf90* | pgf95* | pgfortran*)
9172 # Portland Group f77 and f90 compilers
9173 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'
9174 tmp_addflag=' $pic_flag -Mnomain' ;;
9175 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9176 tmp_addflag=' -i_dynamic' ;;
9177 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9178 tmp_addflag=' -i_dynamic -nofor_main' ;;
9179 ifc* | ifort*) # Intel Fortran compiler
9180 tmp_addflag=' -nofor_main' ;;
9181 lf95*) # Lahey Fortran 8.1
9182 whole_archive_flag_spec=
9183 tmp_sharedflag='--shared' ;;
9184 nagfor*) # NAGFOR 5.3
9185 tmp_sharedflag='-Wl,-shared' ;;
9186 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9187 tmp_sharedflag='-qmkshrobj'
9189 nvcc*) # Cuda Compiler Driver 2.2
9190 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'
9191 compiler_needs_object=yes
9194 case `$CC -V 2>&1 | sed 5q` in
9195 *Sun\ C*) # Sun C 5.9
9196 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'
9197 compiler_needs_object=yes
9198 tmp_sharedflag='-G' ;;
9199 *Sun\ F*) # Sun Fortran 8.3
9200 tmp_sharedflag='-G' ;;
9202 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9204 if test yes = "$supports_anon_versioning"; then
9205 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9206 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9207 echo "local: *; };" >> $output_objdir/$libname.ver~
9208 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9211 case $cc_basename in
9213 export_dynamic_flag_spec='-rdynamic'
9215 xlf* | bgf* | bgxlf* | mpixlf*)
9216 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9217 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9218 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9219 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9220 if test yes = "$supports_anon_versioning"; then
9221 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9222 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9223 echo "local: *; };" >> $output_objdir/$libname.ver~
9224 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9234 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9235 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9238 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9239 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9244 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9248 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9249 *** create shared libraries on Solaris systems. Therefore, libtool
9250 *** is disabling shared libraries support. We urge you to upgrade GNU
9251 *** binutils to release 2.9.1 or newer. Another option is to modify
9252 *** your PATH or compiler configuration so that the native linker is
9253 *** used, and then restart.
9256 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9257 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9258 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9264 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9265 case `$LD -v 2>&1` in
9266 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9270 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9271 *** reliably create shared libraries on SCO systems. Therefore, libtool
9272 *** is disabling shared libraries support. We urge you to upgrade GNU
9273 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9274 *** your PATH or compiler configuration so that the native linker is
9275 *** used, and then restart.
9280 # For security reasons, it is highly recommended that you always
9281 # use absolute paths for naming shared libraries, and exclude the
9282 # DT_RUNPATH tag from executables and libraries. But doing so
9283 # requires that you compile everything twice, which is a pain.
9284 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9285 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9286 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9287 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9296 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9299 hardcode_shlibpath_var=no
9303 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9304 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9305 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9312 if test no = "$ld_shlibs"; then
9314 hardcode_libdir_flag_spec=
9315 export_dynamic_flag_spec=
9316 whole_archive_flag_spec=
9319 # PORTME fill in a description of your system's linker (not GNU ld)
9322 allow_undefined_flag=unsupported
9323 always_export_symbols=yes
9324 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'
9325 # Note: this linker hardcodes the directories in LIBPATH if there
9326 # are no directories specified by -L.
9327 hardcode_minus_L=yes
9328 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9329 # Neither direct hardcoding nor static linking is supported with a
9331 hardcode_direct=unsupported
9336 if test ia64 = "$host_cpu"; then
9337 # On IA64, the linker does run time linking by default, so we don't
9338 # have to do anything special.
9339 aix_use_runtimelinking=no
9340 exp_sym_flag='-Bexport'
9343 # If we're using GNU nm, then we don't want the "-C" option.
9344 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9345 # Without the "-l" option, or with the "-B" option, AIX nm treats
9346 # weak defined symbols like other global defined symbols, whereas
9347 # GNU nm marks them as "W".
9348 # While the 'weak' keyword is ignored in the Export File, we need
9349 # it in the Import File for the 'aix-soname' feature, so we have
9350 # to replace the "-B" option with "-P" for AIX nm.
9351 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9352 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'
9354 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'
9356 aix_use_runtimelinking=no
9358 # Test if we are trying to use run time linking or normal
9359 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9360 # have runtime linking enabled, and use it for executables.
9361 # For shared libraries, we enable/disable runtime linking
9362 # depending on the kind of the shared library created -
9363 # when "with_aix_soname,aix_use_runtimelinking" is:
9364 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
9365 # "aix,yes" lib.so shared, rtl:yes, for executables
9366 # lib.a static archive
9367 # "both,no" lib.so.V(shr.o) shared, rtl:yes
9368 # lib.a(lib.so.V) shared, rtl:no, for executables
9369 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9370 # lib.a(lib.so.V) shared, rtl:no
9371 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
9372 # lib.a static archive
9373 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9374 for ld_flag in $LDFLAGS; do
9375 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9376 aix_use_runtimelinking=yes
9380 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9381 # With aix-soname=svr4, we create the lib.so.V shared archives only,
9382 # so we don't have lib.a shared libs to link our executables.
9383 # We have to force runtime linking in this case.
9384 aix_use_runtimelinking=yes
9385 LDFLAGS="$LDFLAGS -Wl,-brtl"
9390 exp_sym_flag='-bexport'
9391 no_entry_flag='-bnoentry'
9394 # When large executables or shared objects are built, AIX ld can
9395 # have problems creating the table of contents. If linking a library
9396 # or program results in "error TOC overflow" add -mminimal-toc to
9397 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9398 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9402 hardcode_direct_absolute=yes
9403 hardcode_libdir_separator=':'
9404 link_all_deplibs=yes
9405 file_list_spec='$wl-f,'
9406 case $with_aix_soname,$aix_use_runtimelinking in
9407 aix,*) ;; # traditional, no import file
9408 svr4,* | *,yes) # use import file
9409 # The Import File defines what to hardcode.
9411 hardcode_direct_absolute=no
9415 if test yes = "$GCC"; then
9416 case $host_os in aix4.[012]|aix4.[012].*)
9417 # We only want to do this on AIX 4.2 and lower, the check
9418 # below for broken collect2 doesn't work under 4.3+
9419 collect2name=`$CC -print-prog-name=collect2`
9420 if test -f "$collect2name" &&
9421 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9423 # We have reworked collect2
9426 # We have old collect2
9427 hardcode_direct=unsupported
9428 # It fails to find uninstalled libraries when the uninstalled
9429 # path is not listed in the libpath. Setting hardcode_minus_L
9430 # to unsupported forces relinking
9431 hardcode_minus_L=yes
9432 hardcode_libdir_flag_spec='-L$libdir'
9433 hardcode_libdir_separator=
9437 shared_flag='-shared'
9438 if test yes = "$aix_use_runtimelinking"; then
9439 shared_flag="$shared_flag "'$wl-G'
9441 # Need to ensure runtime linking is disabled for the traditional
9442 # shared library, or the linker may eventually find shared libraries
9443 # /with/ Import File - we do not want to mix them.
9444 shared_flag_aix='-shared'
9445 shared_flag_svr4='-shared $wl-G'
9448 if test ia64 = "$host_cpu"; then
9449 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9450 # chokes on -Wl,-G. The following line is correct:
9453 if test yes = "$aix_use_runtimelinking"; then
9456 shared_flag='$wl-bM:SRE'
9458 shared_flag_aix='$wl-bM:SRE'
9459 shared_flag_svr4='$wl-G'
9463 export_dynamic_flag_spec='$wl-bexpall'
9464 # It seems that -bexpall does not export symbols beginning with
9465 # underscore (_), so it is better to generate a list of symbols to export.
9466 always_export_symbols=yes
9467 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9468 # Warning - without using the other runtime loading flags (-brtl),
9469 # -berok will link without error, but may produce a broken library.
9470 allow_undefined_flag='-berok'
9471 # Determine the default libpath from the value encoded in an
9473 if test set = "${lt_cv_aix_libpath+set}"; then
9474 aix_libpath=$lt_cv_aix_libpath
9476 if ${lt_cv_aix_libpath_+:} false; then :
9477 $as_echo_n "(cached) " >&6
9479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9480 /* end confdefs.h. */
9490 if ac_fn_c_try_link "$LINENO"; then :
9492 lt_aix_libpath_sed='
9493 /Import File Strings/,/^$/ {
9495 s/^0 *\([^ ]*\) *$/\1/
9499 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9500 # Check for a 64-bit object if we didn't find anything.
9501 if test -z "$lt_cv_aix_libpath_"; then
9502 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9505 rm -f core conftest.err conftest.$ac_objext \
9506 conftest$ac_exeext conftest.$ac_ext
9507 if test -z "$lt_cv_aix_libpath_"; then
9508 lt_cv_aix_libpath_=/usr/lib:/lib
9513 aix_libpath=$lt_cv_aix_libpath_
9516 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9517 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
9519 if test ia64 = "$host_cpu"; then
9520 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9521 allow_undefined_flag="-z nodefs"
9522 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"
9524 # Determine the default libpath from the value encoded in an
9526 if test set = "${lt_cv_aix_libpath+set}"; then
9527 aix_libpath=$lt_cv_aix_libpath
9529 if ${lt_cv_aix_libpath_+:} false; then :
9530 $as_echo_n "(cached) " >&6
9532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9533 /* end confdefs.h. */
9543 if ac_fn_c_try_link "$LINENO"; then :
9545 lt_aix_libpath_sed='
9546 /Import File Strings/,/^$/ {
9548 s/^0 *\([^ ]*\) *$/\1/
9552 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9553 # Check for a 64-bit object if we didn't find anything.
9554 if test -z "$lt_cv_aix_libpath_"; then
9555 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9558 rm -f core conftest.err conftest.$ac_objext \
9559 conftest$ac_exeext conftest.$ac_ext
9560 if test -z "$lt_cv_aix_libpath_"; then
9561 lt_cv_aix_libpath_=/usr/lib:/lib
9566 aix_libpath=$lt_cv_aix_libpath_
9569 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9570 # Warning - without using the other run time loading flags,
9571 # -berok will link without error, but may produce a broken library.
9572 no_undefined_flag=' $wl-bernotok'
9573 allow_undefined_flag=' $wl-berok'
9574 if test yes = "$with_gnu_ld"; then
9575 # We only use this code for GNU lds that support --whole-archive.
9576 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9578 # Exported symbols can be pulled into shared objects from archives
9579 whole_archive_flag_spec='$convenience'
9581 archive_cmds_need_lc=yes
9582 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9583 # -brtl affects multiple linker settings, -berok does not and is overridden later
9584 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9585 if test svr4 != "$with_aix_soname"; then
9586 # This is similar to how AIX traditionally builds its shared libraries.
9587 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'
9589 if test aix != "$with_aix_soname"; then
9590 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'
9592 # used by -dlpreopen to get the symbols
9593 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
9595 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9603 # see comment about AmigaOS4 .so support
9604 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9605 archive_expsym_cmds=''
9608 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)'
9609 hardcode_libdir_flag_spec='-L$libdir'
9610 hardcode_minus_L=yes
9616 export_dynamic_flag_spec=-rdynamic
9619 cygwin* | mingw* | pw32* | cegcc*)
9620 # When not using gcc, we currently assume that we are using
9621 # Microsoft Visual C++.
9622 # hardcode_libdir_flag_spec is actually meaningless, as there is
9623 # no search path for DLLs.
9624 case $cc_basename in
9627 hardcode_libdir_flag_spec=' '
9628 allow_undefined_flag=unsupported
9629 always_export_symbols=yes
9631 # Tell ltmain to make .lib files, not .a files.
9633 # Tell ltmain to make .dll files, not .so files.
9635 # FIXME: Setting linknames here is a bad hack.
9636 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9637 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9638 cp "$export_symbols" "$output_objdir/$soname.def";
9639 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9641 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9643 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9645 # The linker will not automatically build a static lib if we build a DLL.
9646 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9647 enable_shared_with_static_runtimes=yes
9648 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9649 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9651 old_postinstall_cmds='chmod 644 $oldlib'
9652 postlink_cmds='lt_outputfile="@OUTPUT@"~
9653 lt_tool_outputfile="@TOOL_OUTPUT@"~
9654 case $lt_outputfile in
9657 lt_outputfile=$lt_outputfile.exe
9658 lt_tool_outputfile=$lt_tool_outputfile.exe
9661 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9662 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9663 $RM "$lt_outputfile.manifest";
9667 # Assume MSVC wrapper
9668 hardcode_libdir_flag_spec=' '
9669 allow_undefined_flag=unsupported
9670 # Tell ltmain to make .lib files, not .a files.
9672 # Tell ltmain to make .dll files, not .so files.
9674 # FIXME: Setting linknames here is a bad hack.
9675 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9676 # The linker will automatically build a .lib file if we build a DLL.
9677 old_archive_from_new_cmds='true'
9678 # FIXME: Should let the user specify the lib program.
9679 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9680 enable_shared_with_static_runtimes=yes
9685 darwin* | rhapsody*)
9688 archive_cmds_need_lc=no
9690 hardcode_automatic=yes
9691 hardcode_shlibpath_var=unsupported
9692 if test yes = "$lt_cv_ld_force_load"; then
9693 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\"`'
9696 whole_archive_flag_spec=''
9698 link_all_deplibs=yes
9699 allow_undefined_flag=$_lt_dar_allow_undefined
9700 case $cc_basename in
9701 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
9702 *) _lt_dar_can_shared=$GCC ;;
9704 if test yes = "$_lt_dar_can_shared"; then
9705 output_verbose_link_cmd=func_echo_all
9706 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9707 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9708 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"
9709 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"
9718 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9719 hardcode_libdir_flag_spec='-L$libdir'
9720 hardcode_shlibpath_var=no
9723 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9724 # support. Future versions do this automatically, but an explicit c++rt0.o
9725 # does not break anything, and helps significantly (at the cost of a little
9728 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9729 hardcode_libdir_flag_spec='-R$libdir'
9731 hardcode_shlibpath_var=no
9734 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9736 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9738 hardcode_minus_L=yes
9739 hardcode_shlibpath_var=no
9742 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9743 freebsd* | dragonfly*)
9744 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9745 hardcode_libdir_flag_spec='-R$libdir'
9747 hardcode_shlibpath_var=no
9751 if test yes = "$GCC"; then
9752 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'
9754 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'
9756 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9757 hardcode_libdir_separator=:
9760 # hardcode_minus_L: Not really in the search PATH,
9761 # but as the default location of the library.
9762 hardcode_minus_L=yes
9763 export_dynamic_flag_spec='$wl-E'
9767 if test yes,no = "$GCC,$with_gnu_ld"; then
9768 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9770 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9772 if test no = "$with_gnu_ld"; then
9773 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9774 hardcode_libdir_separator=:
9776 hardcode_direct_absolute=yes
9777 export_dynamic_flag_spec='$wl-E'
9778 # hardcode_minus_L: Not really in the search PATH,
9779 # but as the default location of the library.
9780 hardcode_minus_L=yes
9785 if test yes,no = "$GCC,$with_gnu_ld"; then
9788 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9791 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9794 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9800 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9803 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9807 # Older versions of the 11.00 compiler do not understand -b yet
9808 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9810 $as_echo_n "checking if $CC understands -b... " >&6; }
9811 if ${lt_cv_prog_compiler__b+:} false; then :
9812 $as_echo_n "(cached) " >&6
9814 lt_cv_prog_compiler__b=no
9815 save_LDFLAGS=$LDFLAGS
9816 LDFLAGS="$LDFLAGS -b"
9817 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9818 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9819 # The linker can only warn and ignore the option if not recognized
9820 # So say no if there are warnings
9821 if test -s conftest.err; then
9822 # Append any errors to the config.log.
9823 cat conftest.err 1>&5
9824 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9825 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9826 if diff conftest.exp conftest.er2 >/dev/null; then
9827 lt_cv_prog_compiler__b=yes
9830 lt_cv_prog_compiler__b=yes
9834 LDFLAGS=$save_LDFLAGS
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9838 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9840 if test yes = "$lt_cv_prog_compiler__b"; then
9841 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9843 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9849 if test no = "$with_gnu_ld"; then
9850 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9851 hardcode_libdir_separator=:
9856 hardcode_shlibpath_var=no
9860 hardcode_direct_absolute=yes
9861 export_dynamic_flag_spec='$wl-E'
9863 # hardcode_minus_L: Not really in the search PATH,
9864 # but as the default location of the library.
9865 hardcode_minus_L=yes
9871 irix5* | irix6* | nonstopux*)
9872 if test yes = "$GCC"; then
9873 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'
9874 # Try to use the -exported_symbol ld option, if it does not
9875 # work, assume that -exports_file does not work either and
9876 # implicitly export all symbols.
9877 # This should be the same for all languages, so no per-tag cache variable.
9878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9879 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9880 if ${lt_cv_irix_exported_symbol+:} false; then :
9881 $as_echo_n "(cached) " >&6
9883 save_LDFLAGS=$LDFLAGS
9884 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9886 /* end confdefs.h. */
9887 int foo (void) { return 0; }
9889 if ac_fn_c_try_link "$LINENO"; then :
9890 lt_cv_irix_exported_symbol=yes
9892 lt_cv_irix_exported_symbol=no
9894 rm -f core conftest.err conftest.$ac_objext \
9895 conftest$ac_exeext conftest.$ac_ext
9896 LDFLAGS=$save_LDFLAGS
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9899 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9900 if test yes = "$lt_cv_irix_exported_symbol"; then
9901 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'
9904 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'
9905 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'
9907 archive_cmds_need_lc='no'
9908 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9909 hardcode_libdir_separator=:
9911 link_all_deplibs=yes
9915 case $cc_basename in
9917 # Fabrice Bellard et al's Tiny C Compiler
9919 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9925 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9926 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9928 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9930 hardcode_libdir_flag_spec='-R$libdir'
9932 hardcode_shlibpath_var=no
9936 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9938 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9939 hardcode_libdir_separator=:
9940 hardcode_shlibpath_var=no
9947 if test -f /usr/libexec/ld.so; then
9949 hardcode_shlibpath_var=no
9950 hardcode_direct_absolute=yes
9951 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
9952 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9953 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
9954 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9955 export_dynamic_flag_spec='$wl-E'
9957 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9958 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9966 hardcode_libdir_flag_spec='-L$libdir'
9967 hardcode_minus_L=yes
9968 allow_undefined_flag=unsupported
9970 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9971 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9972 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9973 $ECHO EXPORTS >> $output_objdir/$libname.def~
9974 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9975 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9976 emximp -o $lib $output_objdir/$libname.def'
9977 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9978 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9979 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9980 $ECHO EXPORTS >> $output_objdir/$libname.def~
9982 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9983 prefix_cmds="$prefix_cmds -e 1d";
9985 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9986 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9987 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9988 emximp -o $lib $output_objdir/$libname.def'
9989 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9990 enable_shared_with_static_runtimes=yes
9994 if test yes = "$GCC"; then
9995 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
9996 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'
9998 allow_undefined_flag=' -expect_unresolved \*'
9999 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'
10001 archive_cmds_need_lc='no'
10002 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10003 hardcode_libdir_separator=:
10006 osf4* | osf5*) # as osf3* with the addition of -msym flag
10007 if test yes = "$GCC"; then
10008 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10009 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'
10010 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10012 allow_undefined_flag=' -expect_unresolved \*'
10013 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'
10014 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~
10015 $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'
10017 # Both c and cxx compiler support -rpath directly
10018 hardcode_libdir_flag_spec='-rpath $libdir'
10020 archive_cmds_need_lc='no'
10021 hardcode_libdir_separator=:
10025 no_undefined_flag=' -z defs'
10026 if test yes = "$GCC"; then
10028 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10029 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10030 $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'
10032 case `$CC -V 2>&1` in
10035 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10036 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10037 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10041 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10042 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10043 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10047 hardcode_libdir_flag_spec='-R$libdir'
10048 hardcode_shlibpath_var=no
10050 solaris2.[0-5] | solaris2.[0-5].*) ;;
10052 # The compiler driver will combine and reorder linker options,
10053 # but understands '-z linker_flag'. GCC discards it without '$wl',
10054 # but is careful enough not to reorder.
10055 # Supported since Solaris 2.6 (maybe 2.5.1?)
10056 if test yes = "$GCC"; then
10057 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10059 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10063 link_all_deplibs=yes
10067 if test sequent = "$host_vendor"; then
10068 # Use $CC to link under sequent, because it throws in some extra .o
10069 # files that make .init and .fini sections work.
10070 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10072 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10074 hardcode_libdir_flag_spec='-L$libdir'
10075 hardcode_direct=yes
10076 hardcode_minus_L=yes
10077 hardcode_shlibpath_var=no
10081 case $host_vendor in
10083 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10084 hardcode_direct=yes # is this really true???
10087 ## LD is ld it makes a PLAMLIB
10088 ## CC just makes a GrossModule.
10089 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10090 reload_cmds='$CC -r -o $output$reload_objs'
10094 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10095 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10098 runpath_var='LD_RUN_PATH'
10099 hardcode_shlibpath_var=no
10103 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10104 hardcode_shlibpath_var=no
10105 export_dynamic_flag_spec='-Bexport'
10109 if test -d /usr/nec; then
10110 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10111 hardcode_shlibpath_var=no
10112 runpath_var=LD_RUN_PATH
10113 hardcode_runpath_var=yes
10118 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10119 no_undefined_flag='$wl-z,text'
10120 archive_cmds_need_lc=no
10121 hardcode_shlibpath_var=no
10122 runpath_var='LD_RUN_PATH'
10124 if test yes = "$GCC"; then
10125 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10126 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10128 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10129 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10133 sysv5* | sco3.2v5* | sco5v6*)
10134 # Note: We CANNOT use -z defs as we might desire, because we do not
10135 # link with -lc, and that would cause any symbols used from libc to
10136 # always be unresolved, which means just about no library would
10137 # ever link correctly. If we're not using GNU ld we use -z text
10138 # though, which does catch some bad symbols but isn't as heavy-handed
10140 no_undefined_flag='$wl-z,text'
10141 allow_undefined_flag='$wl-z,nodefs'
10142 archive_cmds_need_lc=no
10143 hardcode_shlibpath_var=no
10144 hardcode_libdir_flag_spec='$wl-R,$libdir'
10145 hardcode_libdir_separator=':'
10146 link_all_deplibs=yes
10147 export_dynamic_flag_spec='$wl-Bexport'
10148 runpath_var='LD_RUN_PATH'
10150 if test yes = "$GCC"; then
10151 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10152 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10154 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10155 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10160 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10161 hardcode_libdir_flag_spec='-L$libdir'
10162 hardcode_shlibpath_var=no
10170 if test sni = "$host_vendor"; then
10172 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10173 export_dynamic_flag_spec='$wl-Blargedynsym'
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10180 $as_echo "$ld_shlibs" >&6; }
10181 test no = "$ld_shlibs" && can_build_shared=no
10183 with_gnu_ld=$with_gnu_ld
10200 # Do we need to explicitly link libc?
10202 case "x$archive_cmds_need_lc" in
10204 # Assume -lc should be added
10205 archive_cmds_need_lc=yes
10207 if test yes,yes = "$GCC,$enable_shared"; then
10208 case $archive_cmds in
10210 # FIXME: we may have to deal with multi-command sequences.
10213 # Test whether the compiler implicitly links with -lc since on some
10214 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10215 # to ld, don't add -lc before -lgcc.
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10217 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10218 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10219 $as_echo_n "(cached) " >&6
10222 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10224 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10225 (eval $ac_compile) 2>&5
10227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10228 test $ac_status = 0; } 2>conftest.err; then
10231 libobjs=conftest.$ac_objext
10233 wl=$lt_prog_compiler_wl
10234 pic_flag=$lt_prog_compiler_pic
10240 lt_save_allow_undefined_flag=$allow_undefined_flag
10241 allow_undefined_flag=
10242 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10243 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10246 test $ac_status = 0; }
10248 lt_cv_archive_cmds_need_lc=no
10250 lt_cv_archive_cmds_need_lc=yes
10252 allow_undefined_flag=$lt_save_allow_undefined_flag
10254 cat conftest.err 1>&5
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10260 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10261 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10420 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10422 if test yes = "$GCC"; then
10424 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10425 *) lt_awk_arg='/^libraries:/' ;;
10428 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10429 *) lt_sed_strip_eq='s|=/|/|g' ;;
10431 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10432 case $lt_search_path_spec in
10434 # if the path contains ";" then we assume it to be the separator
10435 # otherwise default to the standard path separator (i.e. ":") - it is
10436 # assumed that no part of a normal pathname contains ";" but that should
10437 # okay in the real world where ";" in dirpaths is itself problematic.
10438 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10441 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10444 # Ok, now we have the path, separated by spaces, we can step through it
10445 # and add multilib dir if necessary...
10446 lt_tmp_lt_search_path_spec=
10447 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10448 # ...but if some path component already ends with the multilib dir we assume
10449 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10450 case "$lt_multi_os_dir; $lt_search_path_spec " in
10451 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10455 for lt_sys_path in $lt_search_path_spec; do
10456 if test -d "$lt_sys_path$lt_multi_os_dir"; then
10457 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10458 elif test -n "$lt_multi_os_dir"; then
10459 test -d "$lt_sys_path" && \
10460 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10463 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10464 BEGIN {RS = " "; FS = "/|\n";} {
10467 for (lt_i = NF; lt_i > 0; lt_i--) {
10468 if ($lt_i != "" && $lt_i != ".") {
10469 if ($lt_i == "..") {
10472 if (lt_count == 0) {
10473 lt_foo = "/" $lt_i lt_foo;
10480 if (lt_foo != "") { lt_freq[lt_foo]++; }
10481 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10483 # AWK program above erroneously prepends '/' to C:/dos/paths
10486 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10487 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10489 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10491 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10493 library_names_spec=
10494 libname_spec='lib$name'
10498 postuninstall_cmds=
10502 shlibpath_overrides_runpath=unknown
10504 dynamic_linker="$host_os ld.so"
10505 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10506 need_lib_prefix=unknown
10507 hardcode_into_libs=no
10509 # when you set need_version to no, make sure it does not cause -set_version
10510 # flags to be left without arguments
10511 need_version=unknown
10517 version_type=linux # correct to gnu/linux during the next big refactor
10518 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10519 shlibpath_var=LIBPATH
10521 # AIX 3 has no versioning support, so we append a major version to the name.
10522 soname_spec='$libname$release$shared_ext$major'
10526 version_type=linux # correct to gnu/linux during the next big refactor
10529 hardcode_into_libs=yes
10530 if test ia64 = "$host_cpu"; then
10531 # AIX 5 supports IA64
10532 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10533 shlibpath_var=LD_LIBRARY_PATH
10535 # With GCC up to 2.95.x, collect2 would create an import file
10536 # for dependence libraries. The import file would start with
10537 # the line '#! .'. This would cause the generated library to
10538 # depend on '.', always an invalid library. This was fixed in
10539 # development snapshots of GCC prior to 3.0.
10541 aix4 | aix4.[01] | aix4.[01].*)
10542 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10544 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10547 can_build_shared=no
10551 # Using Import Files as archive members, it is possible to support
10552 # filename-based versioning of shared library archives on AIX. While
10553 # this would work for both with and without runtime linking, it will
10554 # prevent static linking of such archives. So we do filename-based
10555 # shared library versioning with .so extension only, which is used
10556 # when both runtime linking and shared linking is enabled.
10557 # Unfortunately, runtime linking may impact performance, so we do
10558 # not want this to be the default eventually. Also, we use the
10559 # versioned .so libs for executables only if there is the -brtl
10560 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10561 # To allow for filename-based versioning support, we need to create
10562 # libNAME.so.V as an archive file, containing:
10563 # *) an Import File, referring to the versioned filename of the
10564 # archive as well as the shared archive member, telling the
10565 # bitwidth (32 or 64) of that shared object, and providing the
10566 # list of exported symbols of that shared object, eventually
10567 # decorated with the 'weak' keyword
10568 # *) the shared object with the F_LOADONLY flag set, to really avoid
10569 # it being seen by the linker.
10570 # At run time we better use the real file rather than another symlink,
10571 # but for link time we create the symlink libNAME.so -> libNAME.so.V
10573 case $with_aix_soname,$aix_use_runtimelinking in
10574 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10575 # soname into executable. Probably we can add versioning support to
10576 # collect2, so additional links can be useful in future.
10577 aix,yes) # traditional libtool
10578 dynamic_linker='AIX unversionable lib.so'
10579 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10580 # instead of lib<name>.a to let people know that these are not
10581 # typical AIX shared libraries.
10582 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10584 aix,no) # traditional AIX only
10585 dynamic_linker='AIX lib.a(lib.so.V)'
10586 # We preserve .a as extension for shared libraries through AIX4.2
10587 # and later when we are not doing run time linking.
10588 library_names_spec='$libname$release.a $libname.a'
10589 soname_spec='$libname$release$shared_ext$major'
10591 svr4,*) # full svr4 only
10592 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
10593 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10594 # We do not specify a path in Import Files, so LIBPATH fires.
10595 shlibpath_overrides_runpath=yes
10597 *,yes) # both, prefer svr4
10598 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10599 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10600 # unpreferred sharedlib libNAME.a needs extra handling
10601 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"'
10602 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"'
10603 # We do not specify a path in Import Files, so LIBPATH fires.
10604 shlibpath_overrides_runpath=yes
10606 *,no) # both, prefer aix
10607 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10608 library_names_spec='$libname$release.a $libname.a'
10609 soname_spec='$libname$release$shared_ext$major'
10610 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10611 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)'
10612 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"'
10615 shlibpath_var=LIBPATH
10622 # Since July 2007 AmigaOS4 officially supports .so libraries.
10623 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10624 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10627 library_names_spec='$libname.ixlibrary $libname.a'
10628 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10629 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'
10635 library_names_spec='$libname$shared_ext'
10636 dynamic_linker="$host_os ld.so"
10637 shlibpath_var=LIBRARY_PATH
10641 version_type=linux # correct to gnu/linux during the next big refactor
10643 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10644 soname_spec='$libname$release$shared_ext$major'
10645 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10646 shlibpath_var=LD_LIBRARY_PATH
10647 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10648 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10649 # the default ld.so.conf also contains /usr/contrib/lib and
10650 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10651 # libtool to hard-code these into programs
10654 cygwin* | mingw* | pw32* | cegcc*)
10655 version_type=windows
10660 case $GCC,$cc_basename in
10663 library_names_spec='$libname.dll.a'
10664 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10665 postinstall_cmds='base_file=`basename \$file`~
10666 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10667 dldir=$destdir/`dirname \$dlpath`~
10668 test -d \$dldir || mkdir -p \$dldir~
10669 $install_prog $dir/$dlname \$dldir/$dlname~
10670 chmod a+x \$dldir/$dlname~
10671 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10672 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10674 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10675 dlpath=$dir/\$dldll~
10677 shlibpath_overrides_runpath=yes
10681 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10682 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10684 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10687 # MinGW DLLs use traditional 'lib' prefix
10688 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10691 # pw32 DLLs use 'pw' prefix rather than 'lib'
10692 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10695 dynamic_linker='Win32 ld.exe'
10700 libname_spec='$name'
10701 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10702 library_names_spec='$libname.dll.lib'
10706 sys_lib_search_path_spec=
10709 for lt_path in $LIB
10712 # Let DOS variable expansion print the short 8.3 style file name.
10713 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10714 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10717 # Convert to MSYS style.
10718 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10721 # Convert to unix form, then to dos form, then back to unix form
10722 # but this time dos style (no spaces!) so that the unix form looks
10723 # like /cygdrive/c/PROGRA~1:/cygdr...
10724 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10725 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10726 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10729 sys_lib_search_path_spec=$LIB
10730 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10731 # It is most probably a Windows format PATH.
10732 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10734 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10736 # FIXME: find the short name or the path components, as spaces are
10737 # common. (e.g. "Program Files" -> "PROGRA~1")
10741 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10742 postinstall_cmds='base_file=`basename \$file`~
10743 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10744 dldir=$destdir/`dirname \$dlpath`~
10745 test -d \$dldir || mkdir -p \$dldir~
10746 $install_prog $dir/$dlname \$dldir/$dlname'
10747 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10748 dlpath=$dir/\$dldll~
10750 shlibpath_overrides_runpath=yes
10751 dynamic_linker='Win32 link.exe'
10755 # Assume MSVC wrapper
10756 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
10757 dynamic_linker='Win32 ld.exe'
10760 # FIXME: first we should search . and the directory the executable is in
10764 darwin* | rhapsody*)
10765 dynamic_linker="$host_os dyld"
10766 version_type=darwin
10769 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
10770 soname_spec='$libname$release$major$shared_ext'
10771 shlibpath_overrides_runpath=yes
10772 shlibpath_var=DYLD_LIBRARY_PATH
10773 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10775 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10776 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10780 version_type=linux # correct to gnu/linux during the next big refactor
10783 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10784 soname_spec='$libname$release$shared_ext$major'
10785 shlibpath_var=LD_LIBRARY_PATH
10788 freebsd* | dragonfly*)
10789 # DragonFly does not have aout. When/if they implement a new
10790 # versioning mechanism, adjust this.
10791 if test -x /usr/bin/objformat; then
10792 objformat=`/usr/bin/objformat`
10795 freebsd[23].*) objformat=aout ;;
10796 *) objformat=elf ;;
10799 version_type=freebsd-$objformat
10800 case $version_type in
10802 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10803 soname_spec='$libname$release$shared_ext$major'
10808 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10812 shlibpath_var=LD_LIBRARY_PATH
10815 shlibpath_overrides_runpath=yes
10817 freebsd3.[01]* | freebsdelf3.[01]*)
10818 shlibpath_overrides_runpath=yes
10819 hardcode_into_libs=yes
10821 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10822 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10823 shlibpath_overrides_runpath=no
10824 hardcode_into_libs=yes
10826 *) # from 4.6 on, and DragonFly
10827 shlibpath_overrides_runpath=yes
10828 hardcode_into_libs=yes
10834 version_type=linux # correct to gnu/linux during the next big refactor
10837 dynamic_linker="$host_os runtime_loader"
10838 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10839 soname_spec='$libname$release$shared_ext$major'
10840 shlibpath_var=LIBRARY_PATH
10841 shlibpath_overrides_runpath=no
10842 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10843 hardcode_into_libs=yes
10846 hpux9* | hpux10* | hpux11*)
10847 # Give a soname corresponding to the major version so that dld.sl refuses to
10848 # link against other versions.
10855 hardcode_into_libs=yes
10856 dynamic_linker="$host_os dld.so"
10857 shlibpath_var=LD_LIBRARY_PATH
10858 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10859 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10860 soname_spec='$libname$release$shared_ext$major'
10861 if test 32 = "$HPUX_IA64_MODE"; then
10862 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10863 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
10865 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10866 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
10871 hardcode_into_libs=yes
10872 dynamic_linker="$host_os dld.sl"
10873 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_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 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10878 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10882 dynamic_linker="$host_os dld.sl"
10883 shlibpath_var=SHLIB_PATH
10884 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10885 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10886 soname_spec='$libname$release$shared_ext$major'
10889 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10890 postinstall_cmds='chmod 555 $lib'
10891 # or fails outright, so override atomically:
10892 install_override_mode=555
10896 version_type=linux # correct to gnu/linux during the next big refactor
10899 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10900 soname_spec='$libname$release$shared_ext$major'
10901 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10902 shlibpath_var=LD_LIBRARY_PATH
10903 shlibpath_overrides_runpath=no
10904 hardcode_into_libs=yes
10907 irix5* | irix6* | nonstopux*)
10909 nonstopux*) version_type=nonstopux ;;
10911 if test yes = "$lt_cv_prog_gnu_ld"; then
10912 version_type=linux # correct to gnu/linux during the next big refactor
10919 soname_spec='$libname$release$shared_ext$major'
10920 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
10922 irix5* | nonstopux*)
10923 libsuff= shlibsuff=
10926 case $LD in # libtool.m4 will add one of these switches to LD
10927 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10928 libsuff= shlibsuff= libmagic=32-bit;;
10929 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10930 libsuff=32 shlibsuff=N32 libmagic=N32;;
10931 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10932 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10933 *) libsuff= shlibsuff= libmagic=never-match;;
10937 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10938 shlibpath_overrides_runpath=no
10939 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
10940 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
10941 hardcode_into_libs=yes
10944 # No shared lib support for Linux oldld, aout, or coff.
10945 linux*oldld* | linux*aout* | linux*coff*)
10950 version_type=none # Android doesn't support versioned libraries.
10953 library_names_spec='$libname$release$shared_ext'
10954 soname_spec='$libname$release$shared_ext'
10956 shlibpath_var=LD_LIBRARY_PATH
10957 shlibpath_overrides_runpath=yes
10959 # This implies no fast_install, which is unacceptable.
10960 # Some rework will be needed to allow for fast_install
10961 # before this can be enabled.
10962 hardcode_into_libs=yes
10964 dynamic_linker='Android linker'
10965 # Don't embed -rpath directories since the linker doesn't support them.
10966 hardcode_libdir_flag_spec='-L$libdir'
10969 # This must be glibc/ELF.
10970 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10971 version_type=linux # correct to gnu/linux during the next big refactor
10974 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10975 soname_spec='$libname$release$shared_ext$major'
10976 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10977 shlibpath_var=LD_LIBRARY_PATH
10978 shlibpath_overrides_runpath=no
10980 # Some binutils ld are patched to set DT_RUNPATH
10981 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10982 $as_echo_n "(cached) " >&6
10984 lt_cv_shlibpath_overrides_runpath=no
10985 save_LDFLAGS=$LDFLAGS
10986 save_libdir=$libdir
10987 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10988 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10990 /* end confdefs.h. */
11000 if ac_fn_c_try_link "$LINENO"; then :
11001 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11002 lt_cv_shlibpath_overrides_runpath=yes
11005 rm -f core conftest.err conftest.$ac_objext \
11006 conftest$ac_exeext conftest.$ac_ext
11007 LDFLAGS=$save_LDFLAGS
11008 libdir=$save_libdir
11012 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11014 # This implies no fast_install, which is unacceptable.
11015 # Some rework will be needed to allow for fast_install
11016 # before this can be enabled.
11017 hardcode_into_libs=yes
11019 # Ideally, we could use ldconfig to report *all* directores which are
11020 # searched for libraries, however this is still not possible. Aside from not
11021 # being certain /sbin/ldconfig is available, command
11022 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11023 # even though it is searched at run-time. Try to do the best guess by
11024 # appending ld.so.conf contents (and includes) to the search path.
11025 if test -f /etc/ld.so.conf; then
11026 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' ' '`
11027 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11030 # We used to test for /lib/ld.so.1 and disable shared libraries on
11031 # powerpc, because MkLinux only supported shared libraries with the
11032 # GNU dynamic linker. Since this was broken with cross compilers,
11033 # most powerpc-linux boxes support dynamic linking these days and
11034 # people can always --disable-shared, the test was removed, and we
11035 # assume the GNU/Linux dynamic linker is in use.
11036 dynamic_linker='GNU/Linux ld.so'
11043 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11044 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11045 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11046 dynamic_linker='NetBSD (a.out) ld.so'
11048 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11049 soname_spec='$libname$release$shared_ext$major'
11050 dynamic_linker='NetBSD ld.elf_so'
11052 shlibpath_var=LD_LIBRARY_PATH
11053 shlibpath_overrides_runpath=yes
11054 hardcode_into_libs=yes
11058 version_type=linux # correct to gnu/linux during the next big refactor
11059 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11060 shlibpath_var=LD_LIBRARY_PATH
11061 shlibpath_overrides_runpath=yes
11068 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11069 soname_spec='$libname$release$shared_ext$major'
11070 shlibpath_var=LD_LIBRARY_PATH
11071 shlibpath_overrides_runpath=no
11072 hardcode_into_libs=yes
11073 dynamic_linker='ldqnx.so'
11076 openbsd* | bitrig*)
11078 sys_lib_dlsearch_path_spec=/usr/lib
11080 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11085 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11086 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11087 shlibpath_var=LD_LIBRARY_PATH
11088 shlibpath_overrides_runpath=yes
11092 libname_spec='$name'
11093 version_type=windows
11097 # OS/2 can only load a DLL with a base name of 8 characters or less.
11098 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11099 v=$($ECHO $release$versuffix | tr -d .-);
11100 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11101 $ECHO $n$v`$shared_ext'
11102 library_names_spec='${libname}_dll.$libext'
11103 dynamic_linker='OS/2 ld.exe'
11104 shlibpath_var=BEGINLIBPATH
11105 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11106 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11107 postinstall_cmds='base_file=`basename \$file`~
11108 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11109 dldir=$destdir/`dirname \$dlpath`~
11110 test -d \$dldir || mkdir -p \$dldir~
11111 $install_prog $dir/$dlname \$dldir/$dlname~
11112 chmod a+x \$dldir/$dlname~
11113 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11114 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11116 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11117 dlpath=$dir/\$dldll~
11121 osf3* | osf4* | osf5*)
11125 soname_spec='$libname$release$shared_ext$major'
11126 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11127 shlibpath_var=LD_LIBRARY_PATH
11128 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11129 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11137 version_type=linux # correct to gnu/linux during the next big refactor
11140 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11141 soname_spec='$libname$release$shared_ext$major'
11142 shlibpath_var=LD_LIBRARY_PATH
11143 shlibpath_overrides_runpath=yes
11144 hardcode_into_libs=yes
11145 # ldd complains unless libraries are executable
11146 postinstall_cmds='chmod +x $lib'
11151 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11152 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11153 shlibpath_var=LD_LIBRARY_PATH
11154 shlibpath_overrides_runpath=yes
11155 if test yes = "$with_gnu_ld"; then
11162 version_type=linux # correct to gnu/linux during the next big refactor
11163 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11164 soname_spec='$libname$release$shared_ext$major'
11165 shlibpath_var=LD_LIBRARY_PATH
11166 case $host_vendor in
11168 shlibpath_overrides_runpath=no
11170 runpath_var=LD_RUN_PATH
11178 shlibpath_overrides_runpath=no
11179 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11185 if test -d /usr/nec; then
11186 version_type=linux # correct to gnu/linux during the next big refactor
11187 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11188 soname_spec='$libname$shared_ext.$major'
11189 shlibpath_var=LD_LIBRARY_PATH
11193 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11197 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11198 soname_spec='$libname$release$shared_ext$major'
11199 shlibpath_var=LD_LIBRARY_PATH
11200 shlibpath_overrides_runpath=yes
11201 hardcode_into_libs=yes
11202 if test yes = "$with_gnu_ld"; then
11203 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11205 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11208 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11212 sys_lib_dlsearch_path_spec='/usr/lib'
11216 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11217 version_type=linux # correct to gnu/linux during the next big refactor
11220 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11221 shlibpath_var=LD_LIBRARY_PATH
11222 shlibpath_overrides_runpath=no
11223 hardcode_into_libs=yes
11227 version_type=linux # correct to gnu/linux during the next big refactor
11228 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11229 soname_spec='$libname$release$shared_ext$major'
11230 shlibpath_var=LD_LIBRARY_PATH
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11238 $as_echo "$dynamic_linker" >&6; }
11239 test no = "$dynamic_linker" && can_build_shared=no
11241 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11242 if test yes = "$GCC"; then
11243 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11246 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11247 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11250 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11251 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11254 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11255 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11257 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11258 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11260 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11261 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11360 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11362 if test -n "$hardcode_libdir_flag_spec" ||
11363 test -n "$runpath_var" ||
11364 test yes = "$hardcode_automatic"; then
11366 # We can hardcode non-existent directories.
11367 if test no != "$hardcode_direct" &&
11368 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11369 # have to relink, otherwise we might link with an installed library
11370 # when we should be linking with a yet-to-be-installed one
11371 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11372 test no != "$hardcode_minus_L"; then
11373 # Linking always hardcodes the temporary library directory.
11374 hardcode_action=relink
11376 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11377 hardcode_action=immediate
11380 # We cannot hardcode anything, or else we can only hardcode existing
11382 hardcode_action=unsupported
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11385 $as_echo "$hardcode_action" >&6; }
11387 if test relink = "$hardcode_action" ||
11388 test yes = "$inherit_rpath"; then
11389 # Fast installation is not supported
11390 enable_fast_install=no
11391 elif test yes = "$shlibpath_overrides_runpath" ||
11392 test no = "$enable_shared"; then
11393 # Fast installation is not necessary
11394 enable_fast_install=needless
11402 if test yes != "$enable_dlopen"; then
11403 enable_dlopen=unknown
11404 enable_dlopen_self=unknown
11405 enable_dlopen_self_static=unknown
11412 lt_cv_dlopen=load_add_on
11414 lt_cv_dlopen_self=yes
11417 mingw* | pw32* | cegcc*)
11418 lt_cv_dlopen=LoadLibrary
11423 lt_cv_dlopen=dlopen
11428 # if libdl is installed we need to link against it
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11430 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11431 if ${ac_cv_lib_dl_dlopen+:} false; then :
11432 $as_echo_n "(cached) " >&6
11434 ac_check_lib_save_LIBS=$LIBS
11436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11437 /* end confdefs.h. */
11439 /* Override any GCC internal prototype to avoid an error.
11440 Use char because int might match the return type of a GCC
11441 builtin and then its argument prototype would still apply. */
11454 if ac_fn_c_try_link "$LINENO"; then :
11455 ac_cv_lib_dl_dlopen=yes
11457 ac_cv_lib_dl_dlopen=no
11459 rm -f core conftest.err conftest.$ac_objext \
11460 conftest$ac_exeext conftest.$ac_ext
11461 LIBS=$ac_check_lib_save_LIBS
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11464 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11465 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11466 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11471 lt_cv_dlopen_self=yes
11478 # Don't try to run any link tests for TPF. We know it's impossible
11479 # because TPF is a cross-compiler, and we know how we open DSOs.
11480 lt_cv_dlopen=dlopen
11482 lt_cv_dlopen_self=no
11486 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11487 if test "x$ac_cv_func_shl_load" = xyes; then :
11488 lt_cv_dlopen=shl_load
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11491 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11492 if ${ac_cv_lib_dld_shl_load+:} false; then :
11493 $as_echo_n "(cached) " >&6
11495 ac_check_lib_save_LIBS=$LIBS
11497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11498 /* end confdefs.h. */
11500 /* Override any GCC internal prototype to avoid an error.
11501 Use char because int might match the return type of a GCC
11502 builtin and then its argument prototype would still apply. */
11510 return shl_load ();
11515 if ac_fn_c_try_link "$LINENO"; then :
11516 ac_cv_lib_dld_shl_load=yes
11518 ac_cv_lib_dld_shl_load=no
11520 rm -f core conftest.err conftest.$ac_objext \
11521 conftest$ac_exeext conftest.$ac_ext
11522 LIBS=$ac_check_lib_save_LIBS
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11525 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11526 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11527 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11529 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11530 if test "x$ac_cv_func_dlopen" = xyes; then :
11531 lt_cv_dlopen=dlopen
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11534 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11535 if ${ac_cv_lib_dl_dlopen+:} false; then :
11536 $as_echo_n "(cached) " >&6
11538 ac_check_lib_save_LIBS=$LIBS
11540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11541 /* end confdefs.h. */
11543 /* Override any GCC internal prototype to avoid an error.
11544 Use char because int might match the return type of a GCC
11545 builtin and then its argument prototype would still apply. */
11558 if ac_fn_c_try_link "$LINENO"; then :
11559 ac_cv_lib_dl_dlopen=yes
11561 ac_cv_lib_dl_dlopen=no
11563 rm -f core conftest.err conftest.$ac_objext \
11564 conftest$ac_exeext conftest.$ac_ext
11565 LIBS=$ac_check_lib_save_LIBS
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11568 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11569 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11570 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11573 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11574 if ${ac_cv_lib_svld_dlopen+:} false; then :
11575 $as_echo_n "(cached) " >&6
11577 ac_check_lib_save_LIBS=$LIBS
11578 LIBS="-lsvld $LIBS"
11579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11580 /* end confdefs.h. */
11582 /* Override any GCC internal prototype to avoid an error.
11583 Use char because int might match the return type of a GCC
11584 builtin and then its argument prototype would still apply. */
11597 if ac_fn_c_try_link "$LINENO"; then :
11598 ac_cv_lib_svld_dlopen=yes
11600 ac_cv_lib_svld_dlopen=no
11602 rm -f core conftest.err conftest.$ac_objext \
11603 conftest$ac_exeext conftest.$ac_ext
11604 LIBS=$ac_check_lib_save_LIBS
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11607 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11608 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11609 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11612 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11613 if ${ac_cv_lib_dld_dld_link+:} false; then :
11614 $as_echo_n "(cached) " >&6
11616 ac_check_lib_save_LIBS=$LIBS
11618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11619 /* end confdefs.h. */
11621 /* Override any GCC internal prototype to avoid an error.
11622 Use char because int might match the return type of a GCC
11623 builtin and then its argument prototype would still apply. */
11631 return dld_link ();
11636 if ac_fn_c_try_link "$LINENO"; then :
11637 ac_cv_lib_dld_dld_link=yes
11639 ac_cv_lib_dld_dld_link=no
11641 rm -f core conftest.err conftest.$ac_objext \
11642 conftest$ac_exeext conftest.$ac_ext
11643 LIBS=$ac_check_lib_save_LIBS
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11646 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11647 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11648 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
11669 if test no = "$lt_cv_dlopen"; then
11675 case $lt_cv_dlopen in
11677 save_CPPFLAGS=$CPPFLAGS
11678 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11680 save_LDFLAGS=$LDFLAGS
11681 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11684 LIBS="$lt_cv_dlopen_libs $LIBS"
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11687 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11688 if ${lt_cv_dlopen_self+:} false; then :
11689 $as_echo_n "(cached) " >&6
11691 if test yes = "$cross_compiling"; then :
11692 lt_cv_dlopen_self=cross
11694 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11695 lt_status=$lt_dlunknown
11696 cat > conftest.$ac_ext <<_LT_EOF
11697 #line $LINENO "configure"
11698 #include "confdefs.h"
11707 # define LT_DLGLOBAL RTLD_GLOBAL
11710 # define LT_DLGLOBAL DL_GLOBAL
11712 # define LT_DLGLOBAL 0
11716 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11717 find out it does not work in some platform. */
11718 #ifndef LT_DLLAZY_OR_NOW
11720 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11723 # define LT_DLLAZY_OR_NOW DL_LAZY
11726 # define LT_DLLAZY_OR_NOW RTLD_NOW
11729 # define LT_DLLAZY_OR_NOW DL_NOW
11731 # define LT_DLLAZY_OR_NOW 0
11738 /* When -fvisibility=hidden is used, assume the code has been annotated
11739 correspondingly for the symbols needed. */
11740 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11741 int fnord () __attribute__((visibility("default")));
11744 int fnord () { return 42; }
11747 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11748 int status = $lt_dlunknown;
11752 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11755 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11756 else puts (dlerror ());
11758 /* dlclose (self); */
11766 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11767 (eval $ac_link) 2>&5
11769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11770 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11771 (./conftest; exit; ) >&5 2>/dev/null
11773 case x$lt_status in
11774 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11775 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11776 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11779 # compilation failed
11780 lt_cv_dlopen_self=no
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11788 $as_echo "$lt_cv_dlopen_self" >&6; }
11790 if test yes = "$lt_cv_dlopen_self"; then
11791 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11793 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11794 if ${lt_cv_dlopen_self_static+:} false; then :
11795 $as_echo_n "(cached) " >&6
11797 if test yes = "$cross_compiling"; then :
11798 lt_cv_dlopen_self_static=cross
11800 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11801 lt_status=$lt_dlunknown
11802 cat > conftest.$ac_ext <<_LT_EOF
11803 #line $LINENO "configure"
11804 #include "confdefs.h"
11813 # define LT_DLGLOBAL RTLD_GLOBAL
11816 # define LT_DLGLOBAL DL_GLOBAL
11818 # define LT_DLGLOBAL 0
11822 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11823 find out it does not work in some platform. */
11824 #ifndef LT_DLLAZY_OR_NOW
11826 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11829 # define LT_DLLAZY_OR_NOW DL_LAZY
11832 # define LT_DLLAZY_OR_NOW RTLD_NOW
11835 # define LT_DLLAZY_OR_NOW DL_NOW
11837 # define LT_DLLAZY_OR_NOW 0
11844 /* When -fvisibility=hidden is used, assume the code has been annotated
11845 correspondingly for the symbols needed. */
11846 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11847 int fnord () __attribute__((visibility("default")));
11850 int fnord () { return 42; }
11853 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11854 int status = $lt_dlunknown;
11858 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11861 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11862 else puts (dlerror ());
11864 /* dlclose (self); */
11872 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11873 (eval $ac_link) 2>&5
11875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11876 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11877 (./conftest; exit; ) >&5 2>/dev/null
11879 case x$lt_status in
11880 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11881 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11882 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11885 # compilation failed
11886 lt_cv_dlopen_self_static=no
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11894 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11897 CPPFLAGS=$save_CPPFLAGS
11898 LDFLAGS=$save_LDFLAGS
11903 case $lt_cv_dlopen_self in
11904 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11905 *) enable_dlopen_self=unknown ;;
11908 case $lt_cv_dlopen_self_static in
11909 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11910 *) enable_dlopen_self_static=unknown ;;
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11933 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11934 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11935 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11936 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11938 $as_echo "yes" >&6; }
11940 # FIXME - insert some real tests, host_os isn't really good enough
11943 if test -n "$STRIP"; then
11944 striplib="$STRIP -x"
11945 old_striplib="$STRIP -S"
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11947 $as_echo "yes" >&6; }
11949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11950 $as_echo "no" >&6; }
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11955 $as_echo "no" >&6; }
11971 # Report what library types will actually be built
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11973 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11975 $as_echo "$can_build_shared" >&6; }
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11978 $as_echo_n "checking whether to build shared libraries... " >&6; }
11979 test no = "$can_build_shared" && enable_shared=no
11981 # On AIX, shared libraries and static libraries use the same namespace, and
11982 # are all built from PIC.
11985 test yes = "$enable_shared" && enable_static=no
11986 if test -n "$RANLIB"; then
11987 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11988 postinstall_cmds='$RANLIB $lib'
11993 if test ia64 != "$host_cpu"; then
11994 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
11995 yes,aix,yes) ;; # shared object as lib.so file only
11996 yes,svr4,*) ;; # shared object as lib.so archive member only
11997 yes,*) enable_static=no ;; # shared object in lib.a archive as well
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12003 $as_echo "$enable_shared" >&6; }
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12006 $as_echo_n "checking whether to build static libraries... " >&6; }
12007 # Make sure either enable_shared or enable_static is yes.
12008 test yes = "$enable_shared" || enable_static=yes
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12010 $as_echo "$enable_static" >&6; }
12017 ac_cpp='$CPP $CPPFLAGS'
12018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12038 ac_config_commands="$ac_config_commands libtool"
12043 # Only expand once:
12047 # Extract the first word of "doxygen", so it can be a program name with args.
12048 set dummy doxygen; ac_word=$2
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12050 $as_echo_n "checking for $ac_word... " >&6; }
12051 if ${ac_cv_prog_DOXYGEN+:} false; then :
12052 $as_echo_n "(cached) " >&6
12054 if test -n "$DOXYGEN"; then
12055 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
12057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12058 for as_dir in $PATH
12061 test -z "$as_dir" && as_dir=.
12062 for ac_exec_ext in '' $ac_executable_extensions; do
12063 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12064 ac_cv_prog_DOXYGEN="true"
12065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12072 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="false"
12075 DOXYGEN=$ac_cv_prog_DOXYGEN
12076 if test -n "$DOXYGEN"; then
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
12078 $as_echo "$DOXYGEN" >&6; }
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12081 $as_echo "no" >&6; }
12085 if test "$DOXYGEN" = true; then
12094 # Checks for header files.
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12096 $as_echo_n "checking for ANSI C header files... " >&6; }
12097 if ${ac_cv_header_stdc+:} false; then :
12098 $as_echo_n "(cached) " >&6
12100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12101 /* end confdefs.h. */
12102 #include <stdlib.h>
12103 #include <stdarg.h>
12104 #include <string.h>
12115 if ac_fn_c_try_compile "$LINENO"; then :
12116 ac_cv_header_stdc=yes
12118 ac_cv_header_stdc=no
12120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12122 if test $ac_cv_header_stdc = yes; then
12123 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12125 /* end confdefs.h. */
12126 #include <string.h>
12129 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12130 $EGREP "memchr" >/dev/null 2>&1; then :
12133 ac_cv_header_stdc=no
12139 if test $ac_cv_header_stdc = yes; then
12140 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12142 /* end confdefs.h. */
12143 #include <stdlib.h>
12146 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12147 $EGREP "free" >/dev/null 2>&1; then :
12150 ac_cv_header_stdc=no
12156 if test $ac_cv_header_stdc = yes; then
12157 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12158 if test "$cross_compiling" = yes; then :
12161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12162 /* end confdefs.h. */
12164 #include <stdlib.h>
12165 #if ((' ' & 0x0FF) == 0x020)
12166 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12167 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12169 # define ISLOWER(c) \
12170 (('a' <= (c) && (c) <= 'i') \
12171 || ('j' <= (c) && (c) <= 'r') \
12172 || ('s' <= (c) && (c) <= 'z'))
12173 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12176 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12181 for (i = 0; i < 256; i++)
12182 if (XOR (islower (i), ISLOWER (i))
12183 || toupper (i) != TOUPPER (i))
12188 if ac_fn_c_try_run "$LINENO"; then :
12191 ac_cv_header_stdc=no
12193 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12194 conftest.$ac_objext conftest.beam conftest.$ac_ext
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12200 $as_echo "$ac_cv_header_stdc" >&6; }
12201 if test $ac_cv_header_stdc = yes; then
12203 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12207 for ac_header in stdlib.h
12209 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12210 if test "x$ac_cv_header_stdlib_h" = xyes; then :
12211 cat >>confdefs.h <<_ACEOF
12212 #define HAVE_STDLIB_H 1
12220 # Checks for typedefs, structures, and compiler characteristics.
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12222 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12223 if ${ac_cv_c_const+:} false; then :
12224 $as_echo_n "(cached) " >&6
12226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12227 /* end confdefs.h. */
12233 #ifndef __cplusplus
12234 /* Ultrix mips cc rejects this sort of thing. */
12235 typedef int charset[2];
12236 const charset cs = { 0, 0 };
12237 /* SunOS 4.1.1 cc rejects this. */
12238 char const *const *pcpcc;
12240 /* NEC SVR4.0.2 mips cc rejects this. */
12241 struct point {int x, y;};
12242 static struct point const zero = {0,0};
12243 /* AIX XL C 1.02.0.0 rejects this.
12244 It does not let you subtract one const X* pointer from another in
12245 an arm of an if-expression whose if-part is not a constant
12247 const char *g = "string";
12248 pcpcc = &g + (g ? g-g : 0);
12249 /* HPUX 7.0 cc rejects these. */
12251 ppc = (char**) pcpcc;
12252 pcpcc = (char const *const *) ppc;
12253 { /* SCO 3.2v4 cc rejects this sort of thing. */
12256 char const *s = 0 ? (char *) 0 : (char const *) 0;
12261 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12262 int x[] = {25, 17};
12263 const int *foo = &x[0];
12266 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12267 typedef const int *iptr;
12271 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
12272 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12273 struct s { int j; const int *ap[3]; } bx;
12274 struct s *b = &bx; b->j = 5;
12276 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12277 const int foo = 10;
12278 if (!foo) return 0;
12280 return !cs[0] && !zero.x;
12287 if ac_fn_c_try_compile "$LINENO"; then :
12292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12295 $as_echo "$ac_cv_c_const" >&6; }
12296 if test $ac_cv_c_const = no; then
12298 $as_echo "#define const /**/" >>confdefs.h
12302 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12303 if test "x$ac_cv_type_size_t" = xyes; then :
12307 cat >>confdefs.h <<_ACEOF
12308 #define size_t unsigned int
12314 # Define Makefiles.
12315 ac_config_files="$ac_config_files yaml-0.1.pc include/Makefile src/Makefile Makefile tests/Makefile"
12318 # Generate the "configure" script.
12319 cat >confcache <<\_ACEOF
12320 # This file is a shell script that caches the results of configure
12321 # tests run on this system so they can be shared between configure
12322 # scripts and configure runs, see configure's option --config-cache.
12323 # It is not useful on other systems. If it contains results you don't
12324 # want to keep, you may remove or edit it.
12326 # config.status only pays attention to the cache file if you give it
12327 # the --recheck option to rerun configure.
12329 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12330 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12331 # following values.
12335 # The following way of writing the cache mishandles newlines in values,
12336 # but we know of no workaround that is simple, portable, and efficient.
12337 # So, we kill variables containing newlines.
12338 # Ultrix sh set writes to stderr and can't be redirected directly,
12339 # and sets the high bit in the cache file unless we assign to the vars.
12341 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12342 eval ac_val=\$$ac_var
12346 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12347 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12350 _ | IFS | as_nl) ;; #(
12351 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12352 *) { eval $ac_var=; unset $ac_var;} ;;
12358 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12359 *${as_nl}ac_space=\ *)
12360 # `set' does not quote correctly, so add quotes: double-quote
12361 # substitution turns \\\\ into \\, and sed turns \\ into \.
12364 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12367 # `set' quotes correctly as required by POSIX, so do not add quotes.
12368 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12377 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12379 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12381 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12382 if test -w "$cache_file"; then
12383 if test "x$cache_file" != "x/dev/null"; then
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12385 $as_echo "$as_me: updating cache $cache_file" >&6;}
12386 if test ! -f "$cache_file" || test -h "$cache_file"; then
12387 cat confcache >"$cache_file"
12389 case $cache_file in #(
12391 mv -f confcache "$cache_file"$$ &&
12392 mv -f "$cache_file"$$ "$cache_file" ;; #(
12394 mv -f confcache "$cache_file" ;;
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12400 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12405 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12406 # Let make expand exec_prefix.
12407 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12409 DEFS=-DHAVE_CONFIG_H
12414 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12415 # 1. Remove the extension, and $U if already installed.
12416 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12417 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12418 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12419 # will be set to the directory where LIBOBJS objects are built.
12420 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12421 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12423 LIBOBJS=$ac_libobjs
12425 LTLIBOBJS=$ac_ltlibobjs
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12429 $as_echo_n "checking that generated files are newer than configure... " >&6; }
12430 if test -n "$am_sleep_pid"; then
12431 # Hide warnings about reused PIDs.
12432 wait $am_sleep_pid 2>/dev/null
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12435 $as_echo "done" >&6; }
12436 if test -n "$EXEEXT"; then
12438 am__EXEEXT_FALSE='#'
12440 am__EXEEXT_TRUE='#'
12444 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12445 as_fn_error $? "conditional \"AMDEP\" was never defined.
12446 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12448 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12449 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12450 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12452 if test -z "${DOXYGEN_TRUE}" && test -z "${DOXYGEN_FALSE}"; then
12453 as_fn_error $? "conditional \"DOXYGEN\" was never defined.
12454 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12457 : "${CONFIG_STATUS=./config.status}"
12459 ac_clean_files_save=$ac_clean_files
12460 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12462 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12464 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12466 # Generated by $as_me.
12467 # Run this file to recreate the current configuration.
12468 # Compiler output produced by configure, useful for debugging
12469 # configure, is in config.log if it exists.
12472 ac_cs_recheck=false
12475 SHELL=\${CONFIG_SHELL-$SHELL}
12478 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12479 ## -------------------- ##
12480 ## M4sh Initialization. ##
12481 ## -------------------- ##
12483 # Be more Bourne compatible
12484 DUALCASE=1; export DUALCASE # for MKS sh
12485 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12488 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12489 # is contrary to our usage. Disable this feature.
12490 alias -g '${1+"$@"}'='"$@"'
12491 setopt NO_GLOB_SUBST
12493 case `(set -o) 2>/dev/null` in #(
12505 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12506 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12507 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12508 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12509 # Prefer a ksh shell builtin over an external printf program on Solaris,
12510 # but without wasting forks for bash or zsh.
12511 if test -z "$BASH_VERSION$ZSH_VERSION" \
12512 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12513 as_echo='print -r --'
12514 as_echo_n='print -rn --'
12515 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12516 as_echo='printf %s\n'
12517 as_echo_n='printf %s'
12519 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12520 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12521 as_echo_n='/usr/ucb/echo -n'
12523 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12524 as_echo_n_body='eval
12528 expr "X$arg" : "X\\(.*\\)$as_nl";
12529 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12531 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12533 export as_echo_n_body
12534 as_echo_n='sh -c $as_echo_n_body as_echo'
12536 export as_echo_body
12537 as_echo='sh -c $as_echo_body as_echo'
12540 # The user is always right.
12541 if test "${PATH_SEPARATOR+set}" != set; then
12543 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12544 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12551 # We need space, tab and new line, in precisely that order. Quoting is
12552 # there to prevent editors from complaining about space-tab.
12553 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12554 # splitting by setting IFS to empty value.)
12557 # Find who we are. Look in the path if we contain no directory separator.
12560 *[\\/]* ) as_myself=$0 ;;
12561 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12562 for as_dir in $PATH
12565 test -z "$as_dir" && as_dir=.
12566 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12572 # We did not find ourselves, most probably we were run as `sh COMMAND'
12573 # in which case we are not to be found in the path.
12574 if test "x$as_myself" = x; then
12577 if test ! -f "$as_myself"; then
12578 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12582 # Unset variables that we do not need and which cause bugs (e.g. in
12583 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12584 # suppresses any "Segmentation fault" message there. '((' could
12585 # trigger a bug in pdksh 5.2.14.
12586 for as_var in BASH_ENV ENV MAIL MAILPATH
12587 do eval test x\${$as_var+set} = xset \
12588 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12601 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12604 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12605 # ----------------------------------------
12606 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12607 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12608 # script with STATUS, using 1 if that was 0.
12611 as_status=$1; test $as_status -eq 0 && as_status=1
12613 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12614 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12616 $as_echo "$as_me: error: $2" >&2
12617 as_fn_exit $as_status
12621 # as_fn_set_status STATUS
12622 # -----------------------
12623 # Set $? to STATUS, without forking.
12624 as_fn_set_status ()
12627 } # as_fn_set_status
12629 # as_fn_exit STATUS
12630 # -----------------
12631 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12635 as_fn_set_status $1
12641 # Portably unset VAR.
12644 { eval $1=; unset $1;}
12646 as_unset=as_fn_unset
12647 # as_fn_append VAR VALUE
12648 # ----------------------
12649 # Append the text in VALUE to the end of the definition contained in VAR. Take
12650 # advantage of any shell optimizations that allow amortized linear growth over
12651 # repeated appends, instead of the typical quadratic growth present in naive
12653 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12654 eval 'as_fn_append ()
12665 # as_fn_arith ARG...
12666 # ------------------
12667 # Perform arithmetic evaluation on the ARGs, and store the result in the
12668 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12669 # must be portable across $(()) and expr.
12670 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12671 eval 'as_fn_arith ()
12678 as_val=`expr "$@" || test $? -eq 1`
12683 if expr a : '\(a\)' >/dev/null 2>&1 &&
12684 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12690 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12691 as_basename=basename
12696 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12702 as_me=`$as_basename -- "$0" ||
12703 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12704 X"$0" : 'X\(//\)$' \| \
12705 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12707 sed '/^.*\/\([^/][^/]*\)\/*$/{
12721 # Avoid depending upon Character Ranges.
12722 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12723 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12724 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12725 as_cr_digits='0123456789'
12726 as_cr_alnum=$as_cr_Letters$as_cr_digits
12728 ECHO_C= ECHO_N= ECHO_T=
12729 case `echo -n x` in #(((((
12731 case `echo 'xy\c'` in
12732 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12734 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12741 rm -f conf$$ conf$$.exe conf$$.file
12742 if test -d conf$$.dir; then
12743 rm -f conf$$.dir/conf$$.file
12746 mkdir conf$$.dir 2>/dev/null
12748 if (echo >conf$$.file) 2>/dev/null; then
12749 if ln -s conf$$.file conf$$ 2>/dev/null; then
12751 # ... but there are two gotchas:
12752 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12753 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12754 # In both cases, we have to default to `cp -pR'.
12755 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12757 elif ln conf$$.file conf$$ 2>/dev/null; then
12765 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12766 rmdir conf$$.dir 2>/dev/null
12771 # Create "$as_dir" as a directory, including parents if necessary.
12776 -*) as_dir=./$as_dir;;
12778 test -d "$as_dir" || eval $as_mkdir_p || {
12782 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12783 *) as_qdir=$as_dir;;
12785 as_dirs="'$as_qdir' $as_dirs"
12786 as_dir=`$as_dirname -- "$as_dir" ||
12787 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12788 X"$as_dir" : 'X\(//\)[^/]' \| \
12789 X"$as_dir" : 'X\(//\)$' \| \
12790 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12791 $as_echo X"$as_dir" |
12792 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12796 /^X\(\/\/\)[^/].*/{
12809 test -d "$as_dir" && break
12811 test -z "$as_dirs" || eval "mkdir $as_dirs"
12812 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12816 if mkdir -p . 2>/dev/null; then
12817 as_mkdir_p='mkdir -p "$as_dir"'
12819 test -d ./-p && rmdir ./-p
12824 # as_fn_executable_p FILE
12825 # -----------------------
12826 # Test if FILE is an executable regular file.
12827 as_fn_executable_p ()
12829 test -f "$1" && test -x "$1"
12830 } # as_fn_executable_p
12831 as_test_x='test -x'
12832 as_executable_p=as_fn_executable_p
12834 # Sed expression to map a string onto a valid CPP name.
12835 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12837 # Sed expression to map a string onto a valid variable name.
12838 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12842 ## ----------------------------------- ##
12843 ## Main body of $CONFIG_STATUS script. ##
12844 ## ----------------------------------- ##
12846 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12848 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12849 # Save the log message, to keep $0 and so on meaningful, and to
12850 # report actual input values of CONFIG_FILES etc. instead of their
12851 # values after options handling.
12853 This file was extended by yaml $as_me 0.2.1, which was
12854 generated by GNU Autoconf 2.69. Invocation command line was
12856 CONFIG_FILES = $CONFIG_FILES
12857 CONFIG_HEADERS = $CONFIG_HEADERS
12858 CONFIG_LINKS = $CONFIG_LINKS
12859 CONFIG_COMMANDS = $CONFIG_COMMANDS
12862 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12867 case $ac_config_files in *"
12868 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12871 case $ac_config_headers in *"
12872 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12876 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12877 # Files that config.status was made for.
12878 config_files="$ac_config_files"
12879 config_headers="$ac_config_headers"
12880 config_commands="$ac_config_commands"
12884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12886 \`$as_me' instantiates files and other configuration actions
12887 from templates according to the current configuration. Unless the files
12888 and actions are specified as TAGs, all are instantiated by default.
12890 Usage: $0 [OPTION]... [TAG]...
12892 -h, --help print this help, then exit
12893 -V, --version print version number and configuration settings, then exit
12894 --config print configuration, then exit
12895 -q, --quiet, --silent
12896 do not print progress messages
12897 -d, --debug don't remove temporary files
12898 --recheck update $as_me by reconfiguring in the same conditions
12899 --file=FILE[:TEMPLATE]
12900 instantiate the configuration file FILE
12901 --header=FILE[:TEMPLATE]
12902 instantiate the configuration header FILE
12904 Configuration files:
12907 Configuration headers:
12910 Configuration commands:
12913 Report bugs to <https://github.com/yaml/libyaml/issues/new>."
12916 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12917 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12919 yaml config.status 0.2.1
12920 configured by $0, generated by GNU Autoconf 2.69,
12921 with options \\"\$ac_cs_config\\"
12923 Copyright (C) 2012 Free Software Foundation, Inc.
12924 This config.status script is free software; the Free Software Foundation
12925 gives unlimited permission to copy, distribute and modify it."
12932 test -n "\$AWK" || AWK=awk
12935 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12936 # The default lists apply if the user does not specify any file.
12942 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12943 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12947 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12959 # Handling of the options.
12960 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12962 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12963 $as_echo "$ac_cs_version"; exit ;;
12964 --config | --confi | --conf | --con | --co | --c )
12965 $as_echo "$ac_cs_config"; exit ;;
12966 --debug | --debu | --deb | --de | --d | -d )
12968 --file | --fil | --fi | --f )
12971 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12972 '') as_fn_error $? "missing file argument" ;;
12974 as_fn_append CONFIG_FILES " '$ac_optarg'"
12975 ac_need_defaults=false;;
12976 --header | --heade | --head | --hea )
12979 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12981 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
12982 ac_need_defaults=false;;
12984 # Conflict between --help and --header
12985 as_fn_error $? "ambiguous option: \`$1'
12986 Try \`$0 --help' for more information.";;
12987 --help | --hel | -h )
12988 $as_echo "$ac_cs_usage"; exit ;;
12989 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12990 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12993 # This is an error.
12994 -*) as_fn_error $? "unrecognized option: \`$1'
12995 Try \`$0 --help' for more information." ;;
12997 *) as_fn_append ac_config_targets " $1"
12998 ac_need_defaults=false ;;
13004 ac_configure_extra_args=
13006 if $ac_cs_silent; then
13008 ac_configure_extra_args="$ac_configure_extra_args --silent"
13012 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13013 if \$ac_cs_recheck; then
13014 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13016 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13017 CONFIG_SHELL='$SHELL'
13018 export CONFIG_SHELL
13023 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13027 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13028 ## Running $as_me. ##
13034 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13038 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13041 # The HP-UX ksh and POSIX shell print the target directory to stdout
13042 # if CDPATH is set.
13043 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13045 sed_quote_subst='$sed_quote_subst'
13046 double_quote_subst='$double_quote_subst'
13047 delay_variable_subst='$delay_variable_subst'
13048 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13049 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13050 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13051 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13052 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13053 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13054 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
13055 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13056 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13057 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13058 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13059 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13060 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13061 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13062 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13063 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13064 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13065 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13066 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13067 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13068 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13069 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13070 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13071 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13072 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13073 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13074 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13075 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13076 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13077 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13078 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13079 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13080 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13081 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13082 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13083 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13084 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13085 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13086 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13087 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13088 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13089 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13090 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13091 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13092 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13093 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13094 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13095 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13096 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13097 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13098 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13099 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13100 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13101 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13102 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13103 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13104 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
13105 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13106 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"`'
13107 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
13108 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13109 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13110 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
13111 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13112 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13113 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13114 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13115 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13116 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13117 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13118 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13119 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13120 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13121 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13122 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13123 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13124 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13125 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13126 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13127 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13128 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13129 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13130 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13131 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13132 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13133 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13134 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13135 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13136 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13137 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13138 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13139 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13140 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13141 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13142 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13143 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13144 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13145 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13146 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13147 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13148 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13149 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13150 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13151 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13152 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13153 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13154 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13155 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13156 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13157 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13158 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13159 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13160 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13161 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13162 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13163 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13164 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13165 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13166 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13167 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13168 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13169 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13170 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13171 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13172 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13173 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13174 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13175 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
13176 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
13177 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13178 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13179 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13180 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13181 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13182 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13185 LTCFLAGS='$LTCFLAGS'
13186 compiler='$compiler_DEFAULT'
13188 # A function that is used when there is no print builtin or printf.
13189 func_fallback_echo ()
13191 eval 'cat <<_LTECHO_EOF
13196 # Quote evaled strings.
13211 deplibs_check_method \
13216 sharedlib_from_linklib_cmd \
13219 archiver_list_spec \
13225 lt_cv_sys_global_symbol_pipe \
13226 lt_cv_sys_global_symbol_to_cdecl \
13227 lt_cv_sys_global_symbol_to_import \
13228 lt_cv_sys_global_symbol_to_c_name_address \
13229 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13230 lt_cv_nm_interface \
13231 nm_file_list_spec \
13232 lt_cv_truncate_bin \
13233 lt_prog_compiler_no_builtin_flag \
13234 lt_prog_compiler_pic \
13235 lt_prog_compiler_wl \
13236 lt_prog_compiler_static \
13237 lt_cv_prog_compiler_c_o \
13246 export_dynamic_flag_spec \
13247 whole_archive_flag_spec \
13248 compiler_needs_object \
13250 allow_undefined_flag \
13251 no_undefined_flag \
13252 hardcode_libdir_flag_spec \
13253 hardcode_libdir_separator \
13257 variables_saved_for_relink \
13259 library_names_spec \
13261 install_override_mode \
13265 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13266 *[\\\\\\\`\\"\\\$]*)
13267 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
13270 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13275 # Double-quote double-evaled strings.
13276 for var in reload_cmds \
13277 old_postinstall_cmds \
13278 old_postuninstall_cmds \
13280 extract_expsyms_cmds \
13281 old_archive_from_new_cmds \
13282 old_archive_from_expsyms_cmds \
13284 archive_expsym_cmds \
13286 module_expsym_cmds \
13287 export_symbols_cmds \
13291 postuninstall_cmds \
13293 sys_lib_search_path_spec \
13294 configure_time_dlsearch_path \
13295 configure_time_lt_sys_library_path; do
13296 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13297 *[\\\\\\\`\\"\\\$]*)
13298 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
13301 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13306 ac_aux_dir='$ac_aux_dir'
13308 # See if we are running on zsh, and set the options that allow our
13309 # commands through without removal of \ escapes INIT.
13310 if test -n "\${ZSH_VERSION+set}"; then
13311 setopt NO_GLOB_SUBST
13325 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13327 # Handling of arguments.
13328 for ac_config_target in $ac_config_targets
13330 case $ac_config_target in
13331 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13332 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13333 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13334 "yaml-0.1.pc") CONFIG_FILES="$CONFIG_FILES yaml-0.1.pc" ;;
13335 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
13336 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13337 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13338 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
13340 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13345 # If the user did not use the arguments to specify the items to instantiate,
13346 # then the envvar interface is used. Set only those that are not.
13347 # We use the long form for the default assignment because of an extremely
13348 # bizarre bug on SunOS 4.1.3.
13349 if $ac_need_defaults; then
13350 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13351 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13352 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13355 # Have a temporary directory for convenience. Make it in the build tree
13356 # simply because there is no reason against having it here, and in addition,
13357 # creating and moving files from /tmp can sometimes cause problems.
13358 # Hook for its removal unless debugging.
13359 # Note that there is a small window in which the directory will not be cleaned:
13360 # after its creation but before its name has been assigned to `$tmp'.
13364 trap 'exit_status=$?
13365 : "${ac_tmp:=$tmp}"
13366 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13368 trap 'as_fn_exit 1' 1 2 13 15
13370 # Create a (secure) tmp directory for tmp files.
13373 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13377 tmp=./conf$$-$RANDOM
13378 (umask 077 && mkdir "$tmp")
13379 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13382 # Set up the scripts for CONFIG_FILES section.
13383 # No need to generate them if there are no CONFIG_FILES.
13384 # This happens for instance with `./config.status config.h'.
13385 if test -n "$CONFIG_FILES"; then
13388 ac_cr=`echo X | tr X '\015'`
13389 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13390 # But we know of no other shell where ac_cr would be empty at this
13391 # point, so we can use a bashism as a fallback.
13392 if test "x$ac_cr" = x; then
13393 eval ac_cr=\$\'\\r\'
13395 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13396 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13399 ac_cs_awk_cr=$ac_cr
13402 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13407 echo "cat >conf$$subs.awk <<_ACEOF" &&
13408 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13410 } >conf$$subs.sh ||
13411 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13412 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13414 for ac_last_try in false false false false false :; do
13415 . ./conf$$subs.sh ||
13416 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13418 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13419 if test $ac_delim_n = $ac_delim_num; then
13421 elif $ac_last_try; then
13422 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13424 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13427 rm -f conf$$subs.sh
13429 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13430 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13434 s/^/S["/; s/!.*/"]=/
13444 s/\(.\{148\}\)..*/\1/
13446 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13451 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13458 s/\(.\{148\}\)..*/\1/
13460 s/["\\]/\\&/g; s/^/"/; s/$/"/
13464 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13469 ' <conf$$subs.awk | sed '
13474 ' >>$CONFIG_STATUS || ac_write_fail=1
13475 rm -f conf$$subs.awk
13476 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13478 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13479 for (key in S) S_is_set[key] = 1
13485 nfields = split(line, field, "@")
13487 len = length(field[1])
13488 for (i = 2; i < nfields; i++) {
13490 keylen = length(key)
13491 if (S_is_set[key]) {
13493 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13494 len += length(value) + length(field[++i])
13505 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13506 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13507 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13510 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13511 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13514 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13515 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13516 # trailing colons and then remove the whole line if VPATH becomes empty
13517 # (actually we leave an empty line to preserve line numbers).
13518 if test "x$srcdir" = x.; then
13519 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13537 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13538 fi # test -n "$CONFIG_FILES"
13540 # Set up the scripts for CONFIG_HEADERS section.
13541 # No need to generate them if there are no CONFIG_HEADERS.
13542 # This happens for instance with `./config.status Makefile'.
13543 if test -n "$CONFIG_HEADERS"; then
13544 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13548 # Transform confdefs.h into an awk script `defines.awk', embedded as
13549 # here-document in config.status, that substitutes the proper values into
13550 # config.h.in to produce config.h.
13552 # Create a delimiter string that does not exist in confdefs.h, to ease
13553 # handling of long lines.
13555 for ac_last_try in false false :; do
13556 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13557 if test -z "$ac_tt"; then
13559 elif $ac_last_try; then
13560 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13562 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13566 # For the awk script, D is an array of macro values keyed by name,
13567 # likewise P contains macro parameters if any. Preserve backslash
13568 # newline sequences.
13570 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13572 s/.\{148\}/&'"$ac_delim"'/g
13575 s/^[ ]*#[ ]*define[ ][ ]*/ /
13582 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13584 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13588 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13589 D["\1"]=" \3\\\\\\n"\\/p
13591 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13596 s/.\{148\}/&'"$ac_delim"'/g
13601 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13604 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13606 ' <confdefs.h | sed '
13607 s/'"$ac_delim"'/"\\\
13608 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13610 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13611 for (key in D) D_is_set[key] = 1
13614 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13616 split(line, arg, " ")
13617 if (arg[1] == "#") {
13621 defundef = substr(arg[1], 2)
13624 split(mac1, mac2, "(") #)
13626 prefix = substr(line, 1, index(line, defundef) - 1)
13627 if (D_is_set[macro]) {
13628 # Preserve the white space surrounding the "#".
13629 print prefix "define", macro P[macro] D[macro]
13632 # Replace #undef with comments. This is necessary, for example,
13633 # in the case of _POSIX_SOURCE, which is predefined and required
13634 # on some systems where configure will not decide to define it.
13635 if (defundef == "undef") {
13636 print "/*", prefix defundef, macro, "*/"
13644 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13645 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13646 fi # test -n "$CONFIG_HEADERS"
13649 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13654 :[FHLC]) ac_mode=$ac_tag; continue;;
13656 case $ac_mode$ac_tag in
13658 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13659 :[FH]-) ac_tag=-:-;;
13660 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13677 -) ac_f="$ac_tmp/stdin";;
13678 *) # Look for the file first in the build tree, then in the source tree
13679 # (if the path is not absolute). The absolute path cannot be DOS-style,
13680 # because $ac_f cannot contain `:'.
13684 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13686 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13688 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13689 as_fn_append ac_file_inputs " '$ac_f'"
13692 # Let's still pretend it is `configure' which instantiates (i.e., don't
13693 # use $as_me), people would be surprised to read:
13694 # /* config.h. Generated by config.status. */
13695 configure_input='Generated from '`
13696 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13698 if test x"$ac_file" != x-; then
13699 configure_input="$ac_file. $configure_input"
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13701 $as_echo "$as_me: creating $ac_file" >&6;}
13703 # Neutralize special characters interpreted by sed in replacement strings.
13704 case $configure_input in #(
13705 *\&* | *\|* | *\\* )
13706 ac_sed_conf_input=`$as_echo "$configure_input" |
13707 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13708 *) ac_sed_conf_input=$configure_input;;
13712 *:-:* | *:-) cat >"$ac_tmp/stdin" \
13713 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13718 ac_dir=`$as_dirname -- "$ac_file" ||
13719 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13720 X"$ac_file" : 'X\(//\)[^/]' \| \
13721 X"$ac_file" : 'X\(//\)$' \| \
13722 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13723 $as_echo X"$ac_file" |
13724 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13728 /^X\(\/\/\)[^/].*/{
13741 as_dir="$ac_dir"; as_fn_mkdir_p
13745 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13747 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13748 # A ".." for each directory in $ac_dir_suffix.
13749 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13750 case $ac_top_builddir_sub in
13751 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13752 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13755 ac_abs_top_builddir=$ac_pwd
13756 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13757 # for backward compatibility:
13758 ac_top_builddir=$ac_top_build_prefix
13761 .) # We are building in place.
13763 ac_top_srcdir=$ac_top_builddir_sub
13764 ac_abs_top_srcdir=$ac_pwd ;;
13765 [\\/]* | ?:[\\/]* ) # Absolute name.
13766 ac_srcdir=$srcdir$ac_dir_suffix;
13767 ac_top_srcdir=$srcdir
13768 ac_abs_top_srcdir=$srcdir ;;
13769 *) # Relative name.
13770 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13771 ac_top_srcdir=$ac_top_build_prefix$srcdir
13772 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13774 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13784 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13785 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13787 ac_MKDIR_P=$MKDIR_P
13789 [\\/$]* | ?:[\\/]* ) ;;
13790 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13794 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13795 # If the template does not know about datarootdir, expand it.
13796 # FIXME: This hack should be removed a few years after 2.60.
13797 ac_datarootdir_hack=; ac_datarootdir_seen=
13808 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13809 *datarootdir*) ac_datarootdir_seen=yes;;
13810 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13812 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13814 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13815 ac_datarootdir_hack='
13816 s&@datadir@&$datadir&g
13817 s&@docdir@&$docdir&g
13818 s&@infodir@&$infodir&g
13819 s&@localedir@&$localedir&g
13820 s&@mandir@&$mandir&g
13821 s&\\\${datarootdir}&$datarootdir&g' ;;
13825 # Neutralize VPATH when `$srcdir' = `.'.
13826 # Shell code in configure.ac might set extrasub.
13827 # FIXME: do we really want to maintain this feature?
13828 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13829 ac_sed_extra="$ac_vpsub
13832 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13834 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13835 s|@configure_input@|$ac_sed_conf_input|;t t
13836 s&@top_builddir@&$ac_top_builddir_sub&;t t
13837 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13838 s&@srcdir@&$ac_srcdir&;t t
13839 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13840 s&@top_srcdir@&$ac_top_srcdir&;t t
13841 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13842 s&@builddir@&$ac_builddir&;t t
13843 s&@abs_builddir@&$ac_abs_builddir&;t t
13844 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13845 s&@INSTALL@&$ac_INSTALL&;t t
13846 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13847 $ac_datarootdir_hack
13849 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13850 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13852 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13853 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13854 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13855 "$ac_tmp/out"`; test -z "$ac_out"; } &&
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13857 which seems to be undefined. Please make sure it is defined" >&5
13858 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13859 which seems to be undefined. Please make sure it is defined" >&2;}
13861 rm -f "$ac_tmp/stdin"
13863 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13864 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13866 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13872 if test x"$ac_file" != x-; then
13874 $as_echo "/* $configure_input */" \
13875 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13876 } >"$ac_tmp/config.h" \
13877 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13878 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13880 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13883 mv "$ac_tmp/config.h" "$ac_file" \
13884 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13887 $as_echo "/* $configure_input */" \
13888 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13889 || as_fn_error $? "could not create -" "$LINENO" 5
13891 # Compute "$ac_file"'s index in $config_headers.
13894 for _am_header in $config_headers :; do
13895 case $_am_header in
13896 $_am_arg | $_am_arg:* )
13899 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13902 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13903 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13904 X"$_am_arg" : 'X\(//\)[^/]' \| \
13905 X"$_am_arg" : 'X\(//\)$' \| \
13906 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13907 $as_echo X"$_am_arg" |
13908 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13912 /^X\(\/\/\)[^/].*/{
13924 s/.*/./; q'`/stamp-h$_am_stamp_count
13927 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13928 $as_echo "$as_me: executing $ac_file commands" >&6;}
13933 case $ac_file$ac_mode in
13934 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13935 # Older Autoconf quotes --file arguments for eval, but not when files
13936 # are listed without --file. Let's play safe and only enable the eval
13937 # if we detect the quoting.
13938 case $CONFIG_FILES in
13939 *\'*) eval set x "$CONFIG_FILES" ;;
13940 *) set x $CONFIG_FILES ;;
13945 # Strip MF so we end up with the name of the file.
13946 mf=`echo "$mf" | sed -e 's/:.*$//'`
13947 # Check whether this is an Automake generated Makefile or not.
13948 # We used to match only the files named 'Makefile.in', but
13949 # some people rename them; so instead we look at the file content.
13950 # Grep'ing the first line is not enough: some people post-process
13951 # each Makefile.in and add a new line on top of each file to say so.
13952 # Grep'ing the whole file is not good either: AIX grep has a line
13953 # limit of 2048, but all sed's we know have understand at least 4000.
13954 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13955 dirpart=`$as_dirname -- "$mf" ||
13956 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13957 X"$mf" : 'X\(//\)[^/]' \| \
13958 X"$mf" : 'X\(//\)$' \| \
13959 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13961 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13965 /^X\(\/\/\)[^/].*/{
13981 # Extract the definition of DEPDIR, am__include, and am__quote
13982 # from the Makefile without running 'make'.
13983 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13984 test -z "$DEPDIR" && continue
13985 am__include=`sed -n 's/^am__include = //p' < "$mf"`
13986 test -z "$am__include" && continue
13987 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13988 # Find all dependency output files, they are included files with
13989 # $(DEPDIR) in their names. We invoke sed twice because it is the
13990 # simplest approach to changing $(DEPDIR) to its actual value in the
13992 for file in `sed -n "
13993 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13994 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
13995 # Make sure the directory exists.
13996 test -f "$dirpart/$file" && continue
13997 fdir=`$as_dirname -- "$file" ||
13998 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13999 X"$file" : 'X\(//\)[^/]' \| \
14000 X"$file" : 'X\(//\)$' \| \
14001 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14002 $as_echo X"$file" |
14003 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14007 /^X\(\/\/\)[^/].*/{
14020 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14021 # echo "creating $dirpart/$file"
14022 echo '# dummy' > "$dirpart/$file"
14029 # See if we are running on zsh, and set the options that allow our
14030 # commands through without removal of \ escapes.
14031 if test -n "${ZSH_VERSION+set}"; then
14032 setopt NO_GLOB_SUBST
14036 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14039 cat <<_LT_EOF >> "$cfgfile"
14041 # Generated automatically by $as_me ($PACKAGE) $VERSION
14042 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14043 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14045 # Provide generalized library-building support services.
14046 # Written by Gordon Matzigkeit, 1996
14048 # Copyright (C) 2014 Free Software Foundation, Inc.
14049 # This is free software; see the source for copying conditions. There is NO
14050 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14052 # GNU Libtool is free software; you can redistribute it and/or modify
14053 # it under the terms of the GNU General Public License as published by
14054 # the Free Software Foundation; either version 2 of of the License, or
14055 # (at your option) any later version.
14057 # As a special exception to the GNU General Public License, if you
14058 # distribute this file as part of a program or library that is built
14059 # using GNU Libtool, you may include this file under the same
14060 # distribution terms that you use for the rest of that program.
14062 # GNU Libtool is distributed in the hope that it will be useful, but
14063 # WITHOUT ANY WARRANTY; without even the implied warranty of
14064 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14065 # GNU General Public License for more details.
14067 # You should have received a copy of the GNU General Public License
14068 # along with this program. If not, see <http://www.gnu.org/licenses/>.
14071 # The names of the tagged configurations supported by this script.
14074 # Configured defaults for sys_lib_dlsearch_path munging.
14075 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
14077 # ### BEGIN LIBTOOL CONFIG
14079 # Which release of libtool.m4 was used?
14080 macro_version=$macro_version
14081 macro_revision=$macro_revision
14083 # Whether or not to build shared libraries.
14084 build_libtool_libs=$enable_shared
14086 # Whether or not to build static libraries.
14087 build_old_libs=$enable_static
14089 # What type of objects to build.
14092 # Whether or not to optimize for fast installation.
14093 fast_install=$enable_fast_install
14095 # Shared archive member basename,for filename based shared library versioning on AIX.
14096 shared_archive_member_spec=$shared_archive_member_spec
14098 # Shell to use when invoking shell scripts.
14101 # An echo program that protects backslashes.
14104 # The PATH separator for the build system.
14105 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14108 host_alias=$host_alias
14112 # The build system.
14113 build_alias=$build_alias
14117 # A sed program that does not truncate output.
14120 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14121 Xsed="\$SED -e 1s/^X//"
14123 # A grep program that handles long lines.
14129 # A literal string matcher.
14132 # A BSD- or MS-compatible name lister.
14135 # Whether we need soft or hard links.
14138 # What is the maximum length of a command?
14139 max_cmd_len=$max_cmd_len
14141 # Object file suffix (normally "o").
14144 # Executable file suffix (normally "").
14147 # whether the shell understands "unset".
14150 # turn spaces into newlines.
14153 # turn newlines into spaces.
14156 # convert \$build file names to \$host format.
14157 to_host_file_cmd=$lt_cv_to_host_file_cmd
14159 # convert \$build files to toolchain format.
14160 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14162 # An object symbol dumper.
14163 OBJDUMP=$lt_OBJDUMP
14165 # Method to check whether dependent libraries are shared objects.
14166 deplibs_check_method=$lt_deplibs_check_method
14168 # Command to use when deplibs_check_method = "file_magic".
14169 file_magic_cmd=$lt_file_magic_cmd
14171 # How to find potential files when deplibs_check_method = "file_magic".
14172 file_magic_glob=$lt_file_magic_glob
14174 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14175 want_nocaseglob=$lt_want_nocaseglob
14177 # DLL creation program.
14178 DLLTOOL=$lt_DLLTOOL
14180 # Command to associate shared and link libraries.
14181 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14186 # Flags to create an archive.
14187 AR_FLAGS=$lt_AR_FLAGS
14189 # How to feed a file listing to the archiver.
14190 archiver_list_spec=$lt_archiver_list_spec
14192 # A symbol stripping program.
14195 # Commands used to install an old-style archive.
14197 old_postinstall_cmds=$lt_old_postinstall_cmds
14198 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14200 # Whether to use a lock for old archive extraction.
14201 lock_old_archive_extraction=$lock_old_archive_extraction
14206 # LTCC compiler flags.
14207 LTCFLAGS=$lt_CFLAGS
14209 # Take the output of nm and produce a listing of raw symbols and C names.
14210 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14212 # Transform the output of nm in a proper C declaration.
14213 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14215 # Transform the output of nm into a list of symbols to manually relocate.
14216 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
14218 # Transform the output of nm in a C name address pair.
14219 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14221 # Transform the output of nm in a C name address pair when lib prefix is needed.
14222 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14224 # The name lister interface.
14225 nm_interface=$lt_lt_cv_nm_interface
14227 # Specify filename containing input files for \$NM.
14228 nm_file_list_spec=$lt_nm_file_list_spec
14230 # The root where to search for dependent libraries,and where our libraries should be installed.
14231 lt_sysroot=$lt_sysroot
14233 # Command to truncate a binary pipe.
14234 lt_truncate_bin=$lt_lt_cv_truncate_bin
14236 # The name of the directory that contains temporary libtool files.
14239 # Used to examine libraries when file_magic_cmd begins with "file".
14240 MAGIC_CMD=$MAGIC_CMD
14242 # Must we lock files when doing compilation?
14243 need_locks=$lt_need_locks
14246 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14248 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14249 DSYMUTIL=$lt_DSYMUTIL
14251 # Tool to change global to local symbols on Mac OS X.
14254 # Tool to manipulate fat objects and archives on Mac OS X.
14257 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14260 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14261 OTOOL64=$lt_OTOOL64
14263 # Old archive suffix (normally "a").
14266 # Shared library suffix (normally ".so").
14267 shrext_cmds=$lt_shrext_cmds
14269 # The commands to extract the exported symbol list from a shared archive.
14270 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14272 # Variables whose values should be saved in libtool wrapper scripts and
14273 # restored at link time.
14274 variables_saved_for_relink=$lt_variables_saved_for_relink
14276 # Do we need the "lib" prefix for modules?
14277 need_lib_prefix=$need_lib_prefix
14279 # Do we need a version for libraries?
14280 need_version=$need_version
14282 # Library versioning type.
14283 version_type=$version_type
14285 # Shared library runtime path variable.
14286 runpath_var=$runpath_var
14288 # Shared library path variable.
14289 shlibpath_var=$shlibpath_var
14291 # Is shlibpath searched before the hard-coded library search path?
14292 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14294 # Format of library name prefix.
14295 libname_spec=$lt_libname_spec
14297 # List of archive names. First name is the real one, the rest are links.
14298 # The last name is the one that the linker finds with -lNAME
14299 library_names_spec=$lt_library_names_spec
14301 # The coded name of the library, if different from the real name.
14302 soname_spec=$lt_soname_spec
14304 # Permission mode override for installation of shared libraries.
14305 install_override_mode=$lt_install_override_mode
14307 # Command to use after installation of a shared archive.
14308 postinstall_cmds=$lt_postinstall_cmds
14310 # Command to use after uninstallation of a shared archive.
14311 postuninstall_cmds=$lt_postuninstall_cmds
14313 # Commands used to finish a libtool library installation in a directory.
14314 finish_cmds=$lt_finish_cmds
14316 # As "finish_cmds", except a single script fragment to be evaled but
14318 finish_eval=$lt_finish_eval
14320 # Whether we should hardcode library paths into libraries.
14321 hardcode_into_libs=$hardcode_into_libs
14323 # Compile-time system search path for libraries.
14324 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14326 # Detected run-time system search path for libraries.
14327 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
14329 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
14330 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
14332 # Whether dlopen is supported.
14333 dlopen_support=$enable_dlopen
14335 # Whether dlopen of programs is supported.
14336 dlopen_self=$enable_dlopen_self
14338 # Whether dlopen of statically linked programs is supported.
14339 dlopen_self_static=$enable_dlopen_self_static
14341 # Commands to strip libraries.
14342 old_striplib=$lt_old_striplib
14343 striplib=$lt_striplib
14346 # The linker used to build libraries.
14349 # How to create reloadable object files.
14350 reload_flag=$lt_reload_flag
14351 reload_cmds=$lt_reload_cmds
14353 # Commands used to build an old-style archive.
14354 old_archive_cmds=$lt_old_archive_cmds
14356 # A language specific compiler.
14359 # Is the compiler the GNU compiler?
14362 # Compiler flag to turn off builtin functions.
14363 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14365 # Additional compiler flags for building library objects.
14366 pic_flag=$lt_lt_prog_compiler_pic
14368 # How to pass a linker flag through the compiler.
14369 wl=$lt_lt_prog_compiler_wl
14371 # Compiler flag to prevent dynamic linking.
14372 link_static_flag=$lt_lt_prog_compiler_static
14374 # Does compiler simultaneously support -c and -o options?
14375 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14377 # Whether or not to add -lc for building shared libraries.
14378 build_libtool_need_lc=$archive_cmds_need_lc
14380 # Whether or not to disallow shared libs when runtime libs are static.
14381 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14383 # Compiler flag to allow reflexive dlopens.
14384 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14386 # Compiler flag to generate shared objects directly from archives.
14387 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14389 # Whether the compiler copes with passing no objects directly.
14390 compiler_needs_object=$lt_compiler_needs_object
14392 # Create an old-style archive from a shared archive.
14393 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14395 # Create a temporary old-style archive to link instead of a shared archive.
14396 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14398 # Commands used to build a shared archive.
14399 archive_cmds=$lt_archive_cmds
14400 archive_expsym_cmds=$lt_archive_expsym_cmds
14402 # Commands used to build a loadable module if different from building
14403 # a shared archive.
14404 module_cmds=$lt_module_cmds
14405 module_expsym_cmds=$lt_module_expsym_cmds
14407 # Whether we are building with GNU ld or not.
14408 with_gnu_ld=$lt_with_gnu_ld
14410 # Flag that allows shared libraries with undefined symbols to be built.
14411 allow_undefined_flag=$lt_allow_undefined_flag
14413 # Flag that enforces no undefined symbols.
14414 no_undefined_flag=$lt_no_undefined_flag
14416 # Flag to hardcode \$libdir into a binary during linking.
14417 # This must work even if \$libdir does not exist
14418 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14420 # Whether we need a single "-rpath" flag with a separated argument.
14421 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14423 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
14424 # DIR into the resulting binary.
14425 hardcode_direct=$hardcode_direct
14427 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
14428 # DIR into the resulting binary and the resulting library dependency is
14429 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
14430 # library is relocated.
14431 hardcode_direct_absolute=$hardcode_direct_absolute
14433 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14434 # into the resulting binary.
14435 hardcode_minus_L=$hardcode_minus_L
14437 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14438 # into the resulting binary.
14439 hardcode_shlibpath_var=$hardcode_shlibpath_var
14441 # Set to "yes" if building a shared library automatically hardcodes DIR
14442 # into the library and all subsequent libraries and executables linked
14444 hardcode_automatic=$hardcode_automatic
14446 # Set to yes if linker adds runtime paths of dependent libraries
14447 # to runtime path list.
14448 inherit_rpath=$inherit_rpath
14450 # Whether libtool must link a program against all its dependency libraries.
14451 link_all_deplibs=$link_all_deplibs
14453 # Set to "yes" if exported symbols are required.
14454 always_export_symbols=$always_export_symbols
14456 # The commands to list exported symbols.
14457 export_symbols_cmds=$lt_export_symbols_cmds
14459 # Symbols that should not be listed in the preloaded symbols.
14460 exclude_expsyms=$lt_exclude_expsyms
14462 # Symbols that must always be exported.
14463 include_expsyms=$lt_include_expsyms
14465 # Commands necessary for linking programs (against libraries) with templates.
14466 prelink_cmds=$lt_prelink_cmds
14468 # Commands necessary for finishing linking programs.
14469 postlink_cmds=$lt_postlink_cmds
14471 # Specify filename containing input files.
14472 file_list_spec=$lt_file_list_spec
14474 # How to hardcode a shared library path into an executable.
14475 hardcode_action=$hardcode_action
14477 # ### END LIBTOOL CONFIG
14481 cat <<'_LT_EOF' >> "$cfgfile"
14483 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
14485 # func_munge_path_list VARIABLE PATH
14486 # -----------------------------------
14487 # VARIABLE is name of variable containing _space_ separated list of
14488 # directories to be munged by the contents of PATH, which is string
14491 # string "DIR[ DIR]" will be prepended to VARIABLE
14493 # string "DIR[ DIR]" will be appended to VARIABLE
14494 # "DIRP[:DIRP]::[DIRA:]DIRA"
14495 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
14496 # "DIRA[ DIRA]" will be appended to VARIABLE
14498 # VARIABLE will be replaced by "DIR[ DIR]"
14499 func_munge_path_list ()
14505 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
14508 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
14511 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
14512 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
14515 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
14521 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
14522 func_cc_basename ()
14524 for cc_temp in $*""; do
14526 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14527 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14532 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14536 # ### END FUNCTIONS SHARED WITH CONFIGURE
14542 cat <<\_LT_EOF >> "$cfgfile"
14543 # AIX sometimes has problems with the GCC collect2 program. For some
14544 # reason, if we set the COLLECT_NAMES environment variable, the problems
14545 # vanish in a puff of smoke.
14546 if test set != "${COLLECT_NAMES+set}"; then
14548 export COLLECT_NAMES
14555 ltmain=$ac_aux_dir/ltmain.sh
14558 # We use sed instead of cat because bash on DJGPP gets confused if
14559 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14560 # text mode, it properly converts lines to CR/LF. This bash problem
14561 # is reportedly fixed, but why not run on old versions too?
14562 sed '$q' "$ltmain" >> "$cfgfile" \
14563 || (rm -f "$cfgfile"; exit 1)
14565 mv -f "$cfgfile" "$ofile" ||
14566 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14577 ac_clean_files=$ac_clean_files_save
14579 test $ac_write_fail = 0 ||
14580 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14583 # configure is writing to config.log, and then calls config.status.
14584 # config.status does its own redirection, appending to config.log.
14585 # Unfortunately, on DOS this fails, as config.log is still kept open
14586 # by configure, so config.status won't be able to write to it; its
14587 # output is simply discarded. So we exec the FD to /dev/null,
14588 # effectively closing config.log, so it can be properly (re)opened and
14589 # appended to by config.status. When coming back to configure, we
14590 # need to make the FD available again.
14591 if test "$no_create" != yes; then
14593 ac_config_status_args=
14594 test "$silent" = yes &&
14595 ac_config_status_args="$ac_config_status_args --quiet"
14597 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14599 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14600 # would make configure fail if this is the last instruction.
14601 $ac_cs_success || as_fn_exit 1
14603 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14605 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}