2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for yaml 0.1.7.
5 # Report bugs to <https://bitbucket.org/xi/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://bitbucket.org/xi/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.1.7'
593 PACKAGE_STRING='yaml 0.1.7'
594 PACKAGE_BUGREPORT='https://bitbucket.org/xi/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
703 INSTALL_STRIP_PROGRAM
745 program_transform_name
758 enable_option_checking
760 enable_dependency_tracking
769 ac_precious_vars='build_alias
780 # Initialize some variables set by options.
782 ac_init_version=false
783 ac_unrecognized_opts=
785 # The variables have the same names as the options, with
786 # dashes changed to underlines.
794 program_transform_name=s,x,x,
802 # Installation directory options.
803 # These are left unexpanded so users can "make install exec_prefix=/foo"
804 # and all the variables that are supposed to be based on exec_prefix
805 # by default will actually change.
806 # Use braces instead of parens because sh, perl, etc. also accept them.
807 # (The list follows the same order as the GNU Coding Standards.)
808 bindir='${exec_prefix}/bin'
809 sbindir='${exec_prefix}/sbin'
810 libexecdir='${exec_prefix}/libexec'
811 datarootdir='${prefix}/share'
812 datadir='${datarootdir}'
813 sysconfdir='${prefix}/etc'
814 sharedstatedir='${prefix}/com'
815 localstatedir='${prefix}/var'
816 includedir='${prefix}/include'
817 oldincludedir='/usr/include'
818 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
819 infodir='${datarootdir}/info'
824 libdir='${exec_prefix}/lib'
825 localedir='${datarootdir}/locale'
826 mandir='${datarootdir}/man'
832 # If the previous option needs an argument, assign it.
833 if test -n "$ac_prev"; then
834 eval $ac_prev=\$ac_option
840 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
845 # Accept the important Cygnus configure options, so we can diagnose typos.
847 case $ac_dashdash$ac_option in
851 -bindir | --bindir | --bindi | --bind | --bin | --bi)
853 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
856 -build | --build | --buil | --bui | --bu)
857 ac_prev=build_alias ;;
858 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
859 build_alias=$ac_optarg ;;
861 -cache-file | --cache-file | --cache-fil | --cache-fi \
862 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
863 ac_prev=cache_file ;;
864 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
865 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
866 cache_file=$ac_optarg ;;
869 cache_file=config.cache ;;
871 -datadir | --datadir | --datadi | --datad)
873 -datadir=* | --datadir=* | --datadi=* | --datad=*)
874 datadir=$ac_optarg ;;
876 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
877 | --dataroo | --dataro | --datar)
878 ac_prev=datarootdir ;;
879 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
880 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
881 datarootdir=$ac_optarg ;;
883 -disable-* | --disable-*)
884 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
885 # Reject names that are not valid shell variable names.
886 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
887 as_fn_error $? "invalid feature name: $ac_useropt"
888 ac_useropt_orig=$ac_useropt
889 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
890 case $ac_user_opts in
894 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
895 ac_unrecognized_sep=', ';;
897 eval enable_$ac_useropt=no ;;
899 -docdir | --docdir | --docdi | --doc | --do)
901 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
904 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
906 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
909 -enable-* | --enable-*)
910 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
911 # Reject names that are not valid shell variable names.
912 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
913 as_fn_error $? "invalid feature name: $ac_useropt"
914 ac_useropt_orig=$ac_useropt
915 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
916 case $ac_user_opts in
920 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
921 ac_unrecognized_sep=', ';;
923 eval enable_$ac_useropt=\$ac_optarg ;;
925 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
926 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
927 | --exec | --exe | --ex)
928 ac_prev=exec_prefix ;;
929 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
930 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
931 | --exec=* | --exe=* | --ex=*)
932 exec_prefix=$ac_optarg ;;
934 -gas | --gas | --ga | --g)
935 # Obsolete; use --with-gas.
938 -help | --help | --hel | --he | -h)
940 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
941 ac_init_help=recursive ;;
942 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
943 ac_init_help=short ;;
945 -host | --host | --hos | --ho)
946 ac_prev=host_alias ;;
947 -host=* | --host=* | --hos=* | --ho=*)
948 host_alias=$ac_optarg ;;
950 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
952 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
954 htmldir=$ac_optarg ;;
956 -includedir | --includedir | --includedi | --included | --include \
957 | --includ | --inclu | --incl | --inc)
958 ac_prev=includedir ;;
959 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
960 | --includ=* | --inclu=* | --incl=* | --inc=*)
961 includedir=$ac_optarg ;;
963 -infodir | --infodir | --infodi | --infod | --info | --inf)
965 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
966 infodir=$ac_optarg ;;
968 -libdir | --libdir | --libdi | --libd)
970 -libdir=* | --libdir=* | --libdi=* | --libd=*)
973 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
974 | --libexe | --libex | --libe)
975 ac_prev=libexecdir ;;
976 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
977 | --libexe=* | --libex=* | --libe=*)
978 libexecdir=$ac_optarg ;;
980 -localedir | --localedir | --localedi | --localed | --locale)
982 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
983 localedir=$ac_optarg ;;
985 -localstatedir | --localstatedir | --localstatedi | --localstated \
986 | --localstate | --localstat | --localsta | --localst | --locals)
987 ac_prev=localstatedir ;;
988 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
989 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
990 localstatedir=$ac_optarg ;;
992 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
994 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
998 # Obsolete; use --without-fp.
1001 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1002 | --no-cr | --no-c | -n)
1005 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1006 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1009 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1010 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1011 | --oldin | --oldi | --old | --ol | --o)
1012 ac_prev=oldincludedir ;;
1013 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1014 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1015 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1016 oldincludedir=$ac_optarg ;;
1018 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1020 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1021 prefix=$ac_optarg ;;
1023 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1024 | --program-pre | --program-pr | --program-p)
1025 ac_prev=program_prefix ;;
1026 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1027 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1028 program_prefix=$ac_optarg ;;
1030 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1031 | --program-suf | --program-su | --program-s)
1032 ac_prev=program_suffix ;;
1033 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1034 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1035 program_suffix=$ac_optarg ;;
1037 -program-transform-name | --program-transform-name \
1038 | --program-transform-nam | --program-transform-na \
1039 | --program-transform-n | --program-transform- \
1040 | --program-transform | --program-transfor \
1041 | --program-transfo | --program-transf \
1042 | --program-trans | --program-tran \
1043 | --progr-tra | --program-tr | --program-t)
1044 ac_prev=program_transform_name ;;
1045 -program-transform-name=* | --program-transform-name=* \
1046 | --program-transform-nam=* | --program-transform-na=* \
1047 | --program-transform-n=* | --program-transform-=* \
1048 | --program-transform=* | --program-transfor=* \
1049 | --program-transfo=* | --program-transf=* \
1050 | --program-trans=* | --program-tran=* \
1051 | --progr-tra=* | --program-tr=* | --program-t=*)
1052 program_transform_name=$ac_optarg ;;
1054 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1056 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1057 pdfdir=$ac_optarg ;;
1059 -psdir | --psdir | --psdi | --psd | --ps)
1061 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1064 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1065 | -silent | --silent | --silen | --sile | --sil)
1068 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1070 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1072 sbindir=$ac_optarg ;;
1074 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1075 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1076 | --sharedst | --shareds | --shared | --share | --shar \
1078 ac_prev=sharedstatedir ;;
1079 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1080 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1081 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1083 sharedstatedir=$ac_optarg ;;
1085 -site | --site | --sit)
1087 -site=* | --site=* | --sit=*)
1090 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1092 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1093 srcdir=$ac_optarg ;;
1095 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1096 | --syscon | --sysco | --sysc | --sys | --sy)
1097 ac_prev=sysconfdir ;;
1098 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1099 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1100 sysconfdir=$ac_optarg ;;
1102 -target | --target | --targe | --targ | --tar | --ta | --t)
1103 ac_prev=target_alias ;;
1104 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1105 target_alias=$ac_optarg ;;
1107 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1110 -version | --version | --versio | --versi | --vers | -V)
1111 ac_init_version=: ;;
1114 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1115 # Reject names that are not valid shell variable names.
1116 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1117 as_fn_error $? "invalid package name: $ac_useropt"
1118 ac_useropt_orig=$ac_useropt
1119 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1120 case $ac_user_opts in
1124 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1125 ac_unrecognized_sep=', ';;
1127 eval with_$ac_useropt=\$ac_optarg ;;
1129 -without-* | --without-*)
1130 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1131 # Reject names that are not valid shell variable names.
1132 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1133 as_fn_error $? "invalid package name: $ac_useropt"
1134 ac_useropt_orig=$ac_useropt
1135 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1136 case $ac_user_opts in
1140 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1141 ac_unrecognized_sep=', ';;
1143 eval with_$ac_useropt=no ;;
1146 # Obsolete; use --with-x.
1149 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1150 | --x-incl | --x-inc | --x-in | --x-i)
1151 ac_prev=x_includes ;;
1152 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1153 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1154 x_includes=$ac_optarg ;;
1156 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1157 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1158 ac_prev=x_libraries ;;
1159 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1160 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1161 x_libraries=$ac_optarg ;;
1163 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1164 Try \`$0 --help' for more information"
1168 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1169 # Reject names that are not valid shell variable names.
1170 case $ac_envvar in #(
1171 '' | [0-9]* | *[!_$as_cr_alnum]* )
1172 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1174 eval $ac_envvar=\$ac_optarg
1175 export $ac_envvar ;;
1178 # FIXME: should be removed in autoconf 3.0.
1179 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1180 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1181 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1182 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1188 if test -n "$ac_prev"; then
1189 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1190 as_fn_error $? "missing argument to $ac_option"
1193 if test -n "$ac_unrecognized_opts"; then
1194 case $enable_option_checking in
1196 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1197 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1201 # Check all directory arguments for consistency.
1202 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1203 datadir sysconfdir sharedstatedir localstatedir includedir \
1204 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1205 libdir localedir mandir
1207 eval ac_val=\$$ac_var
1208 # Remove trailing slashes.
1211 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1212 eval $ac_var=\$ac_val;;
1214 # Be sure to have absolute directory names.
1216 [\\/$]* | ?:[\\/]* ) continue;;
1217 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1219 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1222 # There might be people who depend on the old broken behavior: `$host'
1223 # used to hold the argument of --host etc.
1224 # FIXME: To remove some day.
1227 target=$target_alias
1229 # FIXME: To remove some day.
1230 if test "x$host_alias" != x; then
1231 if test "x$build_alias" = x; then
1232 cross_compiling=maybe
1233 elif test "x$build_alias" != "x$host_alias"; then
1239 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1241 test "$silent" = yes && exec 6>/dev/null
1244 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1245 ac_ls_di=`ls -di .` &&
1246 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1247 as_fn_error $? "working directory cannot be determined"
1248 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1249 as_fn_error $? "pwd does not report name of working directory"
1252 # Find the source files, if location was not specified.
1253 if test -z "$srcdir"; then
1254 ac_srcdir_defaulted=yes
1255 # Try the directory containing this script, then the parent directory.
1256 ac_confdir=`$as_dirname -- "$as_myself" ||
1257 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1258 X"$as_myself" : 'X\(//\)[^/]' \| \
1259 X"$as_myself" : 'X\(//\)$' \| \
1260 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1261 $as_echo X"$as_myself" |
1262 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1280 if test ! -r "$srcdir/$ac_unique_file"; then
1284 ac_srcdir_defaulted=no
1286 if test ! -r "$srcdir/$ac_unique_file"; then
1287 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1288 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1290 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1292 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1294 # When building in place, set srcdir=.
1295 if test "$ac_abs_confdir" = "$ac_pwd"; then
1298 # Remove unnecessary trailing slashes from srcdir.
1299 # Double slashes in file names in object file debugging info
1300 # mess up M-x gdb in Emacs.
1302 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1304 for ac_var in $ac_precious_vars; do
1305 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1306 eval ac_env_${ac_var}_value=\$${ac_var}
1307 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1308 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1312 # Report the --help message.
1314 if test "$ac_init_help" = "long"; then
1315 # Omit some internal or obsolete options to make the list less imposing.
1316 # This message is too long to be a string in the A/UX 3.1 sh.
1318 \`configure' configures yaml 0.1.7 to adapt to many kinds of systems.
1320 Usage: $0 [OPTION]... [VAR=VALUE]...
1322 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1323 VAR=VALUE. See below for descriptions of some of the useful variables.
1325 Defaults for the options are specified in brackets.
1328 -h, --help display this help and exit
1329 --help=short display options specific to this package
1330 --help=recursive display the short help of all the included packages
1331 -V, --version display version information and exit
1332 -q, --quiet, --silent do not print \`checking ...' messages
1333 --cache-file=FILE cache test results in FILE [disabled]
1334 -C, --config-cache alias for \`--cache-file=config.cache'
1335 -n, --no-create do not create output files
1336 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1338 Installation directories:
1339 --prefix=PREFIX install architecture-independent files in PREFIX
1340 [$ac_default_prefix]
1341 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1344 By default, \`make install' will install all the files in
1345 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1346 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1347 for instance \`--prefix=\$HOME'.
1349 For better control, use the options below.
1351 Fine tuning of the installation directories:
1352 --bindir=DIR user executables [EPREFIX/bin]
1353 --sbindir=DIR system admin executables [EPREFIX/sbin]
1354 --libexecdir=DIR program executables [EPREFIX/libexec]
1355 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1356 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1357 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1358 --libdir=DIR object code libraries [EPREFIX/lib]
1359 --includedir=DIR C header files [PREFIX/include]
1360 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1361 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1362 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1363 --infodir=DIR info documentation [DATAROOTDIR/info]
1364 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1365 --mandir=DIR man documentation [DATAROOTDIR/man]
1366 --docdir=DIR documentation root [DATAROOTDIR/doc/yaml]
1367 --htmldir=DIR html documentation [DOCDIR]
1368 --dvidir=DIR dvi documentation [DOCDIR]
1369 --pdfdir=DIR pdf documentation [DOCDIR]
1370 --psdir=DIR ps documentation [DOCDIR]
1376 --program-prefix=PREFIX prepend PREFIX to installed program names
1377 --program-suffix=SUFFIX append SUFFIX to installed program names
1378 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1381 --build=BUILD configure for building on BUILD [guessed]
1382 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1386 if test -n "$ac_init_help"; then
1387 case $ac_init_help in
1388 short | recursive ) echo "Configuration of yaml 0.1.7:";;
1393 --disable-option-checking ignore unrecognized --enable/--with options
1394 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1395 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1396 --enable-silent-rules less verbose build output (undo: "make V=1")
1397 --disable-silent-rules verbose build output (undo: "make V=0")
1398 --enable-dependency-tracking
1399 do not reject slow dependency extractors
1400 --disable-dependency-tracking
1401 speeds up one-time build
1402 --enable-shared[=PKGS] build shared libraries [default=yes]
1403 --enable-static[=PKGS] build static libraries [default=yes]
1404 --enable-fast-install[=PKGS]
1405 optimize for fast installation [default=yes]
1406 --disable-libtool-lock avoid locking (might break parallel builds)
1409 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1410 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1411 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1413 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1414 --with-sysroot=DIR Search for dependent libraries within DIR
1415 (or the compiler's sysroot if not specified).
1417 Some influential environment variables:
1418 CC C compiler command
1419 CFLAGS C compiler flags
1420 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1421 nonstandard directory <lib dir>
1422 LIBS libraries to pass to the linker, e.g. -l<library>
1423 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1424 you have headers in a nonstandard directory <include dir>
1427 Use these variables to override the choices made by `configure' or to help
1428 it to find libraries and programs with nonstandard names/locations.
1430 Report bugs to <https://bitbucket.org/xi/libyaml/issues/new>.
1435 if test "$ac_init_help" = "recursive"; then
1436 # If there are subdirs, report their specific --help.
1437 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1438 test -d "$ac_dir" ||
1439 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1444 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1446 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1447 # A ".." for each directory in $ac_dir_suffix.
1448 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1449 case $ac_top_builddir_sub in
1450 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1451 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1454 ac_abs_top_builddir=$ac_pwd
1455 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1456 # for backward compatibility:
1457 ac_top_builddir=$ac_top_build_prefix
1460 .) # We are building in place.
1462 ac_top_srcdir=$ac_top_builddir_sub
1463 ac_abs_top_srcdir=$ac_pwd ;;
1464 [\\/]* | ?:[\\/]* ) # Absolute name.
1465 ac_srcdir=$srcdir$ac_dir_suffix;
1466 ac_top_srcdir=$srcdir
1467 ac_abs_top_srcdir=$srcdir ;;
1469 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1470 ac_top_srcdir=$ac_top_build_prefix$srcdir
1471 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1473 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1475 cd "$ac_dir" || { ac_status=$?; continue; }
1476 # Check for guested configure.
1477 if test -f "$ac_srcdir/configure.gnu"; then
1479 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1480 elif test -f "$ac_srcdir/configure"; then
1482 $SHELL "$ac_srcdir/configure" --help=recursive
1484 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1486 cd "$ac_pwd" || { ac_status=$?; break; }
1490 test -n "$ac_init_help" && exit $ac_status
1491 if $ac_init_version; then
1493 yaml configure 0.1.7
1494 generated by GNU Autoconf 2.69
1496 Copyright (C) 2012 Free Software Foundation, Inc.
1497 This configure script is free software; the Free Software Foundation
1498 gives unlimited permission to copy, distribute and modify it.
1503 ## ------------------------ ##
1504 ## Autoconf initialization. ##
1505 ## ------------------------ ##
1507 # ac_fn_c_try_compile LINENO
1508 # --------------------------
1509 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1510 ac_fn_c_try_compile ()
1512 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1513 rm -f conftest.$ac_objext
1514 if { { ac_try="$ac_compile"
1516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1517 *) ac_try_echo=$ac_try;;
1519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1520 $as_echo "$ac_try_echo"; } >&5
1521 (eval "$ac_compile") 2>conftest.err
1523 if test -s conftest.err; then
1524 grep -v '^ *+' conftest.err >conftest.er1
1525 cat conftest.er1 >&5
1526 mv -f conftest.er1 conftest.err
1528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1529 test $ac_status = 0; } && {
1530 test -z "$ac_c_werror_flag" ||
1531 test ! -s conftest.err
1532 } && test -s conftest.$ac_objext; then :
1535 $as_echo "$as_me: failed program was:" >&5
1536 sed 's/^/| /' conftest.$ac_ext >&5
1540 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1541 as_fn_set_status $ac_retval
1543 } # ac_fn_c_try_compile
1545 # ac_fn_c_try_cpp LINENO
1546 # ----------------------
1547 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1550 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1551 if { { ac_try="$ac_cpp conftest.$ac_ext"
1553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1554 *) ac_try_echo=$ac_try;;
1556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1557 $as_echo "$ac_try_echo"; } >&5
1558 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1560 if test -s conftest.err; then
1561 grep -v '^ *+' conftest.err >conftest.er1
1562 cat conftest.er1 >&5
1563 mv -f conftest.er1 conftest.err
1565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1566 test $ac_status = 0; } > conftest.i && {
1567 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1568 test ! -s conftest.err
1572 $as_echo "$as_me: failed program was:" >&5
1573 sed 's/^/| /' conftest.$ac_ext >&5
1577 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1578 as_fn_set_status $ac_retval
1582 # ac_fn_c_try_link LINENO
1583 # -----------------------
1584 # Try to link conftest.$ac_ext, and return whether this succeeded.
1587 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1588 rm -f conftest.$ac_objext conftest$ac_exeext
1589 if { { ac_try="$ac_link"
1591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1592 *) ac_try_echo=$ac_try;;
1594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1595 $as_echo "$ac_try_echo"; } >&5
1596 (eval "$ac_link") 2>conftest.err
1598 if test -s conftest.err; then
1599 grep -v '^ *+' conftest.err >conftest.er1
1600 cat conftest.er1 >&5
1601 mv -f conftest.er1 conftest.err
1603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1604 test $ac_status = 0; } && {
1605 test -z "$ac_c_werror_flag" ||
1606 test ! -s conftest.err
1607 } && test -s conftest$ac_exeext && {
1608 test "$cross_compiling" = yes ||
1609 test -x conftest$ac_exeext
1613 $as_echo "$as_me: failed program was:" >&5
1614 sed 's/^/| /' conftest.$ac_ext >&5
1618 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1619 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1620 # interfere with the next link command; also delete a directory that is
1621 # left behind by Apple's compiler. We do this before executing the actions.
1622 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1623 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1624 as_fn_set_status $ac_retval
1626 } # ac_fn_c_try_link
1628 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1629 # -------------------------------------------------------
1630 # Tests whether HEADER exists and can be compiled using the include files in
1631 # INCLUDES, setting the cache variable VAR accordingly.
1632 ac_fn_c_check_header_compile ()
1634 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1636 $as_echo_n "checking for $2... " >&6; }
1637 if eval \${$3+:} false; then :
1638 $as_echo_n "(cached) " >&6
1640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1641 /* end confdefs.h. */
1645 if ac_fn_c_try_compile "$LINENO"; then :
1650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1654 $as_echo "$ac_res" >&6; }
1655 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1657 } # ac_fn_c_check_header_compile
1659 # ac_fn_c_try_run LINENO
1660 # ----------------------
1661 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1662 # that executables *can* be run.
1665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1666 if { { ac_try="$ac_link"
1668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1669 *) ac_try_echo=$ac_try;;
1671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1672 $as_echo "$ac_try_echo"; } >&5
1673 (eval "$ac_link") 2>&5
1675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1677 { { case "(($ac_try" in
1678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1679 *) ac_try_echo=$ac_try;;
1681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1682 $as_echo "$ac_try_echo"; } >&5
1683 (eval "$ac_try") 2>&5
1685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1686 test $ac_status = 0; }; }; then :
1689 $as_echo "$as_me: program exited with status $ac_status" >&5
1690 $as_echo "$as_me: failed program was:" >&5
1691 sed 's/^/| /' conftest.$ac_ext >&5
1693 ac_retval=$ac_status
1695 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1696 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1697 as_fn_set_status $ac_retval
1701 # ac_fn_c_check_func LINENO FUNC VAR
1702 # ----------------------------------
1703 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1704 ac_fn_c_check_func ()
1706 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1708 $as_echo_n "checking for $2... " >&6; }
1709 if eval \${$3+:} false; then :
1710 $as_echo_n "(cached) " >&6
1712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1713 /* end confdefs.h. */
1714 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1716 #define $2 innocuous_$2
1718 /* System header to define __stub macros and hopefully few prototypes,
1719 which can conflict with char $2 (); below.
1720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1721 <limits.h> exists even on freestanding compilers. */
1724 # include <limits.h>
1726 # include <assert.h>
1731 /* Override any GCC internal prototype to avoid an error.
1732 Use char because int might match the return type of a GCC
1733 builtin and then its argument prototype would still apply. */
1738 /* The GNU C library defines this for functions which it implements
1739 to always fail with ENOSYS. Some functions are actually named
1740 something starting with __ and the normal name is an alias. */
1741 #if defined __stub_$2 || defined __stub___$2
1753 if ac_fn_c_try_link "$LINENO"; then :
1758 rm -f core conftest.err conftest.$ac_objext \
1759 conftest$ac_exeext conftest.$ac_ext
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1763 $as_echo "$ac_res" >&6; }
1764 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1766 } # ac_fn_c_check_func
1768 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1769 # -------------------------------------------------------
1770 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1771 # the include files in INCLUDES and setting the cache variable VAR
1773 ac_fn_c_check_header_mongrel ()
1775 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1776 if eval \${$3+:} false; then :
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1778 $as_echo_n "checking for $2... " >&6; }
1779 if eval \${$3+:} false; then :
1780 $as_echo_n "(cached) " >&6
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1784 $as_echo "$ac_res" >&6; }
1786 # Is the header compilable?
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1788 $as_echo_n "checking $2 usability... " >&6; }
1789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1790 /* end confdefs.h. */
1794 if ac_fn_c_try_compile "$LINENO"; then :
1795 ac_header_compiler=yes
1797 ac_header_compiler=no
1799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1801 $as_echo "$ac_header_compiler" >&6; }
1803 # Is the header present?
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1805 $as_echo_n "checking $2 presence... " >&6; }
1806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1807 /* end confdefs.h. */
1810 if ac_fn_c_try_cpp "$LINENO"; then :
1811 ac_header_preproc=yes
1813 ac_header_preproc=no
1815 rm -f conftest.err conftest.i conftest.$ac_ext
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1817 $as_echo "$ac_header_preproc" >&6; }
1819 # So? What about this header?
1820 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1823 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1825 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1829 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1831 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1833 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1835 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1837 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1838 ( $as_echo "## ---------------------------------------------------------- ##
1839 ## Report this to https://bitbucket.org/xi/libyaml/issues/new ##
1840 ## ---------------------------------------------------------- ##"
1841 ) | sed "s/^/$as_me: WARNING: /" >&2
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1845 $as_echo_n "checking for $2... " >&6; }
1846 if eval \${$3+:} false; then :
1847 $as_echo_n "(cached) " >&6
1849 eval "$3=\$ac_header_compiler"
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1853 $as_echo "$ac_res" >&6; }
1855 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1857 } # ac_fn_c_check_header_mongrel
1859 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1860 # -------------------------------------------
1861 # Tests whether TYPE exists after having included INCLUDES, setting cache
1862 # variable VAR accordingly.
1863 ac_fn_c_check_type ()
1865 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1867 $as_echo_n "checking for $2... " >&6; }
1868 if eval \${$3+:} false; then :
1869 $as_echo_n "(cached) " >&6
1872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1873 /* end confdefs.h. */
1884 if ac_fn_c_try_compile "$LINENO"; then :
1885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1886 /* end confdefs.h. */
1897 if ac_fn_c_try_compile "$LINENO"; then :
1902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1908 $as_echo "$ac_res" >&6; }
1909 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1911 } # ac_fn_c_check_type
1912 cat >config.log <<_ACEOF
1913 This file contains any messages produced by compilers while
1914 running configure, to aid debugging if configure makes a mistake.
1916 It was created by yaml $as_me 0.1.7, which was
1917 generated by GNU Autoconf 2.69. Invocation command line was
1929 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1930 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1931 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1932 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1933 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1935 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1936 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1938 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1939 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1940 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1941 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1942 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1943 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1944 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1952 test -z "$as_dir" && as_dir=.
1953 $as_echo "PATH: $as_dir"
1969 # Keep a trace of the command line.
1970 # Strip out --no-create and --no-recursion so they do not pile up.
1971 # Strip out --silent because we don't want to record it for future runs.
1972 # Also quote any args containing shell meta-characters.
1973 # Make two passes to allow for proper duplicate-argument suppression.
1977 ac_must_keep_next=false
1983 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1984 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1985 | -silent | --silent | --silen | --sile | --sil)
1988 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1991 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1993 as_fn_append ac_configure_args1 " '$ac_arg'"
1994 if test $ac_must_keep_next = true; then
1995 ac_must_keep_next=false # Got value, back to normal.
1998 *=* | --config-cache | -C | -disable-* | --disable-* \
1999 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2000 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2001 | -with-* | --with-* | -without-* | --without-* | --x)
2002 case "$ac_configure_args0 " in
2003 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2006 -* ) ac_must_keep_next=true ;;
2009 as_fn_append ac_configure_args " '$ac_arg'"
2014 { ac_configure_args0=; unset ac_configure_args0;}
2015 { ac_configure_args1=; unset ac_configure_args1;}
2017 # When interrupted or exit'd, cleanup temporary files, and complete
2018 # config.log. We remove comments because anyway the quotes in there
2019 # would cause problems or look ugly.
2020 # WARNING: Use '\'' to represent an apostrophe within the trap.
2021 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2022 trap 'exit_status=$?
2023 # Save into config.log some information that might help in debugging.
2027 $as_echo "## ---------------- ##
2028 ## Cache variables. ##
2029 ## ---------------- ##"
2031 # The following way of writing the cache mishandles newlines in values,
2033 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2034 eval ac_val=\$$ac_var
2038 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2039 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2042 _ | IFS | as_nl) ;; #(
2043 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2044 *) { eval $ac_var=; unset $ac_var;} ;;
2049 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2050 *${as_nl}ac_space=\ *)
2052 "s/'\''/'\''\\\\'\'''\''/g;
2053 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2056 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2063 $as_echo "## ----------------- ##
2064 ## Output variables. ##
2065 ## ----------------- ##"
2067 for ac_var in $ac_subst_vars
2069 eval ac_val=\$$ac_var
2071 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2073 $as_echo "$ac_var='\''$ac_val'\''"
2077 if test -n "$ac_subst_files"; then
2078 $as_echo "## ------------------- ##
2079 ## File substitutions. ##
2080 ## ------------------- ##"
2082 for ac_var in $ac_subst_files
2084 eval ac_val=\$$ac_var
2086 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2088 $as_echo "$ac_var='\''$ac_val'\''"
2093 if test -s confdefs.h; then
2094 $as_echo "## ----------- ##
2101 test "$ac_signal" != 0 &&
2102 $as_echo "$as_me: caught signal $ac_signal"
2103 $as_echo "$as_me: exit $exit_status"
2105 rm -f core *.core core.conftest.* &&
2106 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2109 for ac_signal in 1 2 13 15; do
2110 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2114 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2115 rm -f -r conftest* confdefs.h
2117 $as_echo "/* confdefs.h */" > confdefs.h
2119 # Predefined preprocessor variables.
2121 cat >>confdefs.h <<_ACEOF
2122 #define PACKAGE_NAME "$PACKAGE_NAME"
2125 cat >>confdefs.h <<_ACEOF
2126 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2129 cat >>confdefs.h <<_ACEOF
2130 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2133 cat >>confdefs.h <<_ACEOF
2134 #define PACKAGE_STRING "$PACKAGE_STRING"
2137 cat >>confdefs.h <<_ACEOF
2138 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2141 cat >>confdefs.h <<_ACEOF
2142 #define PACKAGE_URL "$PACKAGE_URL"
2146 # Let the site file select an alternate cache file if it wants to.
2147 # Prefer an explicitly selected file to automatically selected ones.
2150 if test -n "$CONFIG_SITE"; then
2151 # We do not want a PATH search for config.site.
2152 case $CONFIG_SITE in #((
2153 -*) ac_site_file1=./$CONFIG_SITE;;
2154 */*) ac_site_file1=$CONFIG_SITE;;
2155 *) ac_site_file1=./$CONFIG_SITE;;
2157 elif test "x$prefix" != xNONE; then
2158 ac_site_file1=$prefix/share/config.site
2159 ac_site_file2=$prefix/etc/config.site
2161 ac_site_file1=$ac_default_prefix/share/config.site
2162 ac_site_file2=$ac_default_prefix/etc/config.site
2164 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2166 test "x$ac_site_file" = xNONE && continue
2167 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2169 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2170 sed 's/^/| /' "$ac_site_file" >&5
2172 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2173 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2174 as_fn_error $? "failed to load site script $ac_site_file
2175 See \`config.log' for more details" "$LINENO" 5; }
2179 if test -r "$cache_file"; then
2180 # Some versions of bash will fail to source /dev/null (special files
2181 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2182 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2184 $as_echo "$as_me: loading cache $cache_file" >&6;}
2186 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2187 *) . "./$cache_file";;
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2192 $as_echo "$as_me: creating cache $cache_file" >&6;}
2196 # Check that the precious variables saved in the cache have kept the same
2198 ac_cache_corrupted=false
2199 for ac_var in $ac_precious_vars; do
2200 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2201 eval ac_new_set=\$ac_env_${ac_var}_set
2202 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2203 eval ac_new_val=\$ac_env_${ac_var}_value
2204 case $ac_old_set,$ac_new_set in
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2207 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2208 ac_cache_corrupted=: ;;
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2211 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2212 ac_cache_corrupted=: ;;
2215 if test "x$ac_old_val" != "x$ac_new_val"; then
2216 # differences in whitespace do not lead to failure.
2217 ac_old_val_w=`echo x $ac_old_val`
2218 ac_new_val_w=`echo x $ac_new_val`
2219 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2221 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2222 ac_cache_corrupted=:
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2225 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2226 eval $ac_var=\$ac_old_val
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2229 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2231 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2234 # Pass precious variables to config.status.
2235 if test "$ac_new_set" = set; then
2237 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2238 *) ac_arg=$ac_var=$ac_new_val ;;
2240 case " $ac_configure_args " in
2241 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2242 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2246 if $ac_cache_corrupted; then
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2250 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2251 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2253 ## -------------------- ##
2254 ## Main body of script. ##
2255 ## -------------------- ##
2258 ac_cpp='$CPP $CPPFLAGS'
2259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2265 for ac_dir in config "$srcdir"/config; do
2266 if test -f "$ac_dir/install-sh"; then
2268 ac_install_sh="$ac_aux_dir/install-sh -c"
2270 elif test -f "$ac_dir/install.sh"; then
2272 ac_install_sh="$ac_aux_dir/install.sh -c"
2274 elif test -f "$ac_dir/shtool"; then
2276 ac_install_sh="$ac_aux_dir/shtool install -c"
2280 if test -z "$ac_aux_dir"; then
2281 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2284 # These three variables are undocumented and unsupported,
2285 # and are intended to be withdrawn in a future Autoconf release.
2286 # They can cause serious problems if a builder's source tree is in a directory
2287 # whose full name contains unusual characters.
2288 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2289 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2290 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2293 ac_config_headers="$ac_config_headers config.h"
2295 am__api_version='1.14'
2297 # Find a good install program. We prefer a C program (faster),
2298 # so one script is as good as another. But avoid the broken or
2299 # incompatible versions:
2300 # SysV /etc/install, /usr/sbin/install
2301 # SunOS /usr/etc/install
2302 # IRIX /sbin/install
2304 # AmigaOS /C/install, which installs bootblocks on floppy discs
2305 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2306 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2307 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2308 # OS/2's system install, which has a completely different semantic
2309 # ./install, which can be erroneously created by make from ./install.sh.
2310 # Reject install programs that cannot install multiple files.
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2312 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2313 if test -z "$INSTALL"; then
2314 if ${ac_cv_path_install+:} false; then :
2315 $as_echo_n "(cached) " >&6
2317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2321 test -z "$as_dir" && as_dir=.
2322 # Account for people who put trailing slashes in PATH elements.
2323 case $as_dir/ in #((
2324 ./ | .// | /[cC]/* | \
2325 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2326 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2329 # OSF1 and SCO ODT 3.0 have their own names for install.
2330 # Don't use installbsd from OSF since it installs stuff as root
2332 for ac_prog in ginstall scoinst install; do
2333 for ac_exec_ext in '' $ac_executable_extensions; do
2334 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2335 if test $ac_prog = install &&
2336 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2337 # AIX install. It has an incompatible calling convention.
2339 elif test $ac_prog = install &&
2340 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2341 # program-specific install script used by HP pwplus--don't use.
2344 rm -rf conftest.one conftest.two conftest.dir
2345 echo one > conftest.one
2346 echo two > conftest.two
2348 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2349 test -s conftest.one && test -s conftest.two &&
2350 test -s conftest.dir/conftest.one &&
2351 test -s conftest.dir/conftest.two
2353 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2366 rm -rf conftest.one conftest.two conftest.dir
2369 if test "${ac_cv_path_install+set}" = set; then
2370 INSTALL=$ac_cv_path_install
2372 # As a last resort, use the slow shell script. Don't cache a
2373 # value for INSTALL within a source directory, because that will
2374 # break other packages using the cache if that directory is
2375 # removed, or if the value is a relative name.
2376 INSTALL=$ac_install_sh
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2380 $as_echo "$INSTALL" >&6; }
2382 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2383 # It thinks the first close brace ends the variable substitution.
2384 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2386 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2388 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2391 $as_echo_n "checking whether build environment is sane... " >&6; }
2392 # Reject unsafe characters in $srcdir or the absolute working directory
2393 # name. Accept space and tab only in the latter.
2397 *[\\\"\#\$\&\'\`$am_lf]*)
2398 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2401 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2402 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2405 # Do 'set' in a subshell so we don't clobber the current shell's
2406 # arguments. Must try -L first in case configure is actually a
2407 # symlink; some systems play weird games with the mod time of symlinks
2408 # (eg FreeBSD returns the mod time of the symlink's containing
2412 for am_try in 1 2; do
2413 echo "timestamp, slept: $am_has_slept" > conftest.file
2414 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2415 if test "$*" = "X"; then
2417 set X `ls -t "$srcdir/configure" conftest.file`
2419 if test "$*" != "X $srcdir/configure conftest.file" \
2420 && test "$*" != "X conftest.file $srcdir/configure"; then
2422 # If neither matched, then we have a broken ls. This can happen
2423 # if, for instance, CONFIG_SHELL is bash and it inherits a
2424 # broken ls alias from the environment. This has actually
2425 # happened. Such a system could not be considered "sane".
2426 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2427 alias in your environment" "$LINENO" 5
2429 if test "$2" = conftest.file || test $am_try -eq 2; then
2436 test "$2" = conftest.file
2442 as_fn_error $? "newly created file is older than distributed files!
2443 Check your system clock" "$LINENO" 5
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2446 $as_echo "yes" >&6; }
2447 # If we didn't sleep, we still need to ensure time stamps of config.status and
2448 # generated files are strictly newer.
2450 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2457 test "$program_prefix" != NONE &&
2458 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2459 # Use a double $ so make ignores it.
2460 test "$program_suffix" != NONE &&
2461 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2462 # Double any \ or $.
2463 # By default was `s,x,x', remove it if useless.
2464 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2465 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2467 # expand $ac_aux_dir to an absolute path
2468 am_aux_dir=`cd $ac_aux_dir && pwd`
2470 if test x"${MISSING+set}" != xset; then
2473 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2475 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2478 # Use eval to expand $SHELL
2479 if eval "$MISSING --is-lightweight"; then
2480 am_missing_run="$MISSING "
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2484 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2487 if test x"${install_sh}" != xset; then
2490 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2492 install_sh="\${SHELL} $am_aux_dir/install-sh"
2496 # Installed binaries are usually stripped using 'strip' when the user
2497 # run "make install-strip". However 'strip' might not be the right
2498 # tool to use in cross-compilation environments, therefore Automake
2499 # will honor the 'STRIP' environment variable to overrule this program.
2500 if test "$cross_compiling" != no; then
2501 if test -n "$ac_tool_prefix"; then
2502 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2503 set dummy ${ac_tool_prefix}strip; ac_word=$2
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2505 $as_echo_n "checking for $ac_word... " >&6; }
2506 if ${ac_cv_prog_STRIP+:} false; then :
2507 $as_echo_n "(cached) " >&6
2509 if test -n "$STRIP"; then
2510 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2516 test -z "$as_dir" && as_dir=.
2517 for ac_exec_ext in '' $ac_executable_extensions; do
2518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2519 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2529 STRIP=$ac_cv_prog_STRIP
2530 if test -n "$STRIP"; then
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2532 $as_echo "$STRIP" >&6; }
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2535 $as_echo "no" >&6; }
2540 if test -z "$ac_cv_prog_STRIP"; then
2542 # Extract the first word of "strip", so it can be a program name with args.
2543 set dummy strip; ac_word=$2
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2545 $as_echo_n "checking for $ac_word... " >&6; }
2546 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2547 $as_echo_n "(cached) " >&6
2549 if test -n "$ac_ct_STRIP"; then
2550 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2556 test -z "$as_dir" && as_dir=.
2557 for ac_exec_ext in '' $ac_executable_extensions; do
2558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2559 ac_cv_prog_ac_ct_STRIP="strip"
2560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2569 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2570 if test -n "$ac_ct_STRIP"; then
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2572 $as_echo "$ac_ct_STRIP" >&6; }
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2575 $as_echo "no" >&6; }
2578 if test "x$ac_ct_STRIP" = x; then
2581 case $cross_compiling:$ac_tool_warned in
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2584 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2585 ac_tool_warned=yes ;;
2590 STRIP="$ac_cv_prog_STRIP"
2594 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2597 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2598 if test -z "$MKDIR_P"; then
2599 if ${ac_cv_path_mkdir+:} false; then :
2600 $as_echo_n "(cached) " >&6
2602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2603 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2606 test -z "$as_dir" && as_dir=.
2607 for ac_prog in mkdir gmkdir; do
2608 for ac_exec_ext in '' $ac_executable_extensions; do
2609 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2610 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2611 'mkdir (GNU coreutils) '* | \
2612 'mkdir (coreutils) '* | \
2613 'mkdir (fileutils) '4.1*)
2614 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2624 test -d ./--version && rmdir ./--version
2625 if test "${ac_cv_path_mkdir+set}" = set; then
2626 MKDIR_P="$ac_cv_path_mkdir -p"
2628 # As a last resort, use the slow shell script. Don't cache a
2629 # value for MKDIR_P within a source directory, because that will
2630 # break other packages using the cache if that directory is
2631 # removed, or if the value is a relative name.
2632 MKDIR_P="$ac_install_sh -d"
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2636 $as_echo "$MKDIR_P" >&6; }
2638 for ac_prog in gawk mawk nawk awk
2640 # Extract the first word of "$ac_prog", so it can be a program name with args.
2641 set dummy $ac_prog; ac_word=$2
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2643 $as_echo_n "checking for $ac_word... " >&6; }
2644 if ${ac_cv_prog_AWK+:} false; then :
2645 $as_echo_n "(cached) " >&6
2647 if test -n "$AWK"; then
2648 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2654 test -z "$as_dir" && as_dir=.
2655 for ac_exec_ext in '' $ac_executable_extensions; do
2656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2657 ac_cv_prog_AWK="$ac_prog"
2658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2668 if test -n "$AWK"; then
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2670 $as_echo "$AWK" >&6; }
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2673 $as_echo "no" >&6; }
2677 test -n "$AWK" && break
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2681 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2683 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2684 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2685 $as_echo_n "(cached) " >&6
2687 cat >conftest.make <<\_ACEOF
2690 @echo '@@@%%%=$(MAKE)=@@@%%%'
2692 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2693 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2695 eval ac_cv_prog_make_${ac_make}_set=yes;;
2697 eval ac_cv_prog_make_${ac_make}_set=no;;
2701 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2703 $as_echo "yes" >&6; }
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2707 $as_echo "no" >&6; }
2708 SET_MAKE="MAKE=${MAKE-make}"
2711 rm -rf .tst 2>/dev/null
2712 mkdir .tst 2>/dev/null
2713 if test -d .tst; then
2718 rmdir .tst 2>/dev/null
2720 # Check whether --enable-silent-rules was given.
2721 if test "${enable_silent_rules+set}" = set; then :
2722 enableval=$enable_silent_rules;
2725 case $enable_silent_rules in # (((
2726 yes) AM_DEFAULT_VERBOSITY=0;;
2727 no) AM_DEFAULT_VERBOSITY=1;;
2728 *) AM_DEFAULT_VERBOSITY=1;;
2730 am_make=${MAKE-make}
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2732 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2733 if ${am_cv_make_support_nested_variables+:} false; then :
2734 $as_echo_n "(cached) " >&6
2736 if $as_echo 'TRUE=$(BAR$(V))
2742 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2743 am_cv_make_support_nested_variables=yes
2745 am_cv_make_support_nested_variables=no
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2749 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2750 if test $am_cv_make_support_nested_variables = yes; then
2752 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2754 AM_V=$AM_DEFAULT_VERBOSITY
2755 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2759 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2760 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2761 # is not polluted with repeated "-I."
2762 am__isrc=' -I$(srcdir)'
2763 # test to see if srcdir already configured
2764 if test -f $srcdir/config.status; then
2765 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2769 # test whether we have cygpath
2770 if test -z "$CYGPATH_W"; then
2771 if (cygpath --version) >/dev/null 2>/dev/null; then
2772 CYGPATH_W='cygpath -w'
2779 # Define the identity of the package.
2784 cat >>confdefs.h <<_ACEOF
2785 #define PACKAGE "$PACKAGE"
2789 cat >>confdefs.h <<_ACEOF
2790 #define VERSION "$VERSION"
2793 # Some tools Automake needs.
2795 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2798 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2801 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2804 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2807 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2809 # For better backward compatibility. To be removed once Automake 1.9.x
2810 # dies out for good. For more background, see:
2811 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2812 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2813 mkdir_p='$(MKDIR_P)'
2815 # We need awk for the "check" target. The system "awk" is bad on
2817 # Always define AMTAR for backward compatibility. Yes, it's still used
2818 # in the wild :-( We should find a proper way to deprecate it ...
2822 # We'll loop over all known methods to create a tar archive until one works.
2823 _am_tools='gnutar pax cpio none'
2825 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2832 # POSIX will say in a future version that running "rm -f" with no argument
2833 # is OK; and we want to be able to make that assumption in our Makefile
2834 # recipes. So use an aggressive probe to check that the usage we want is
2835 # actually supported "in the wild" to an acceptable degree.
2836 # See automake bug#10828.
2837 # To make any issue more visible, cause the running configure to be aborted
2838 # by default if the 'rm' program in use doesn't match our expectations; the
2839 # user can still override this though.
2840 if rm -f && rm -fr && rm -rf; then : OK; else
2844 Your 'rm' program seems unable to run without file operands specified
2845 on the command line, even when the '-f' option is present. This is contrary
2846 to the behaviour of most rm programs out there, and not conforming with
2847 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2849 Please tell bug-automake@gnu.org about your system, including the value
2850 of your $PATH and any error possibly output before this message. This
2851 can help us improve future automake versions.
2854 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2855 echo 'Configuration will proceed anyway, since you have set the' >&2
2856 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2860 Aborting the configuration process, to ensure you take notice of the issue.
2862 You can download and install GNU coreutils to get an 'rm' implementation
2863 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2865 If you want to complete the configuration process using your problematic
2866 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2867 to "yes", and re-run configure.
2870 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2874 # Define macro variables for the package version numbers.
2876 $as_echo "#define YAML_VERSION_MAJOR 0" >>confdefs.h
2879 $as_echo "#define YAML_VERSION_MINOR 1" >>confdefs.h
2882 $as_echo "#define YAML_VERSION_PATCH 7" >>confdefs.h
2885 $as_echo "#define YAML_VERSION_STRING \"0.1.7\"" >>confdefs.h
2888 # Define substitutions for the libtool version numbers.
2898 # Note: in order to update checks, run `autoscan` and look through "configure.scan".
2900 # Checks for programs.
2902 ac_cpp='$CPP $CPPFLAGS'
2903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2906 if test -n "$ac_tool_prefix"; then
2907 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2908 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2910 $as_echo_n "checking for $ac_word... " >&6; }
2911 if ${ac_cv_prog_CC+:} false; then :
2912 $as_echo_n "(cached) " >&6
2914 if test -n "$CC"; then
2915 ac_cv_prog_CC="$CC" # Let the user override the test.
2917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2921 test -z "$as_dir" && as_dir=.
2922 for ac_exec_ext in '' $ac_executable_extensions; do
2923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2924 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2935 if test -n "$CC"; then
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2937 $as_echo "$CC" >&6; }
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2940 $as_echo "no" >&6; }
2945 if test -z "$ac_cv_prog_CC"; then
2947 # Extract the first word of "gcc", so it can be a program name with args.
2948 set dummy gcc; ac_word=$2
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2950 $as_echo_n "checking for $ac_word... " >&6; }
2951 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2952 $as_echo_n "(cached) " >&6
2954 if test -n "$ac_ct_CC"; then
2955 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2961 test -z "$as_dir" && as_dir=.
2962 for ac_exec_ext in '' $ac_executable_extensions; do
2963 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2964 ac_cv_prog_ac_ct_CC="gcc"
2965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2974 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2975 if test -n "$ac_ct_CC"; then
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2977 $as_echo "$ac_ct_CC" >&6; }
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2980 $as_echo "no" >&6; }
2983 if test "x$ac_ct_CC" = x; then
2986 case $cross_compiling:$ac_tool_warned in
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2989 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2990 ac_tool_warned=yes ;;
2998 if test -z "$CC"; then
2999 if test -n "$ac_tool_prefix"; then
3000 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3001 set dummy ${ac_tool_prefix}cc; ac_word=$2
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3003 $as_echo_n "checking for $ac_word... " >&6; }
3004 if ${ac_cv_prog_CC+:} false; then :
3005 $as_echo_n "(cached) " >&6
3007 if test -n "$CC"; then
3008 ac_cv_prog_CC="$CC" # Let the user override the test.
3010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3014 test -z "$as_dir" && as_dir=.
3015 for ac_exec_ext in '' $ac_executable_extensions; do
3016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3017 ac_cv_prog_CC="${ac_tool_prefix}cc"
3018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3028 if test -n "$CC"; then
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3030 $as_echo "$CC" >&6; }
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3033 $as_echo "no" >&6; }
3039 if test -z "$CC"; then
3040 # Extract the first word of "cc", so it can be a program name with args.
3041 set dummy cc; ac_word=$2
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3043 $as_echo_n "checking for $ac_word... " >&6; }
3044 if ${ac_cv_prog_CC+:} false; then :
3045 $as_echo_n "(cached) " >&6
3047 if test -n "$CC"; then
3048 ac_cv_prog_CC="$CC" # Let the user override the test.
3051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3055 test -z "$as_dir" && as_dir=.
3056 for ac_exec_ext in '' $ac_executable_extensions; do
3057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3058 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3059 ac_prog_rejected=yes
3063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3070 if test $ac_prog_rejected = yes; then
3071 # We found a bogon in the path, so make sure we never use it.
3072 set dummy $ac_cv_prog_CC
3074 if test $# != 0; then
3075 # We chose a different compiler from the bogus one.
3076 # However, it has the same basename, so the bogon will be chosen
3077 # first if we set CC to just the basename; use the full file name.
3079 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3085 if test -n "$CC"; then
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3087 $as_echo "$CC" >&6; }
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3090 $as_echo "no" >&6; }
3095 if test -z "$CC"; then
3096 if test -n "$ac_tool_prefix"; then
3097 for ac_prog in cl.exe
3099 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3100 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3102 $as_echo_n "checking for $ac_word... " >&6; }
3103 if ${ac_cv_prog_CC+:} false; then :
3104 $as_echo_n "(cached) " >&6
3106 if test -n "$CC"; then
3107 ac_cv_prog_CC="$CC" # Let the user override the test.
3109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3113 test -z "$as_dir" && as_dir=.
3114 for ac_exec_ext in '' $ac_executable_extensions; do
3115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3116 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3127 if test -n "$CC"; then
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3129 $as_echo "$CC" >&6; }
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3132 $as_echo "no" >&6; }
3136 test -n "$CC" && break
3139 if test -z "$CC"; then
3141 for ac_prog in cl.exe
3143 # Extract the first word of "$ac_prog", so it can be a program name with args.
3144 set dummy $ac_prog; ac_word=$2
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3146 $as_echo_n "checking for $ac_word... " >&6; }
3147 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3148 $as_echo_n "(cached) " >&6
3150 if test -n "$ac_ct_CC"; then
3151 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3157 test -z "$as_dir" && as_dir=.
3158 for ac_exec_ext in '' $ac_executable_extensions; do
3159 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3160 ac_cv_prog_ac_ct_CC="$ac_prog"
3161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3170 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3171 if test -n "$ac_ct_CC"; then
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3173 $as_echo "$ac_ct_CC" >&6; }
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3176 $as_echo "no" >&6; }
3180 test -n "$ac_ct_CC" && break
3183 if test "x$ac_ct_CC" = x; then
3186 case $cross_compiling:$ac_tool_warned in
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3190 ac_tool_warned=yes ;;
3199 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3201 as_fn_error $? "no acceptable C compiler found in \$PATH
3202 See \`config.log' for more details" "$LINENO" 5; }
3204 # Provide some information about the compiler.
3205 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3208 for ac_option in --version -v -V -qversion; do
3209 { { ac_try="$ac_compiler $ac_option >&5"
3211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3212 *) ac_try_echo=$ac_try;;
3214 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3215 $as_echo "$ac_try_echo"; } >&5
3216 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3218 if test -s conftest.err; then
3220 ... rest of stderr output deleted ...
3221 10q' conftest.err >conftest.er1
3222 cat conftest.er1 >&5
3224 rm -f conftest.er1 conftest.err
3225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3226 test $ac_status = 0; }
3229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3230 /* end confdefs.h. */
3240 ac_clean_files_save=$ac_clean_files
3241 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3242 # Try to create an executable without -o first, disregard a.out.
3243 # It will help us diagnose broken compilers, and finding out an intuition
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3246 $as_echo_n "checking whether the C compiler works... " >&6; }
3247 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3249 # The possible output files:
3250 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3253 for ac_file in $ac_files
3256 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3257 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3262 if { { ac_try="$ac_link_default"
3264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3265 *) ac_try_echo=$ac_try;;
3267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3268 $as_echo "$ac_try_echo"; } >&5
3269 (eval "$ac_link_default") 2>&5
3271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3272 test $ac_status = 0; }; then :
3273 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3274 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3275 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3276 # so that the user can short-circuit this test for compilers unknown to
3278 for ac_file in $ac_files ''
3280 test -f "$ac_file" || continue
3282 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3285 # We found the default executable, but exeext='' is most
3289 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3291 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3293 # We set ac_cv_exeext here because the later test for it is not
3294 # safe: cross compilers may not add the suffix if given an `-o'
3295 # argument, so we may need to know it at that point already.
3296 # Even if this section looks crufty: it has the advantage of
3303 test "$ac_cv_exeext" = no && ac_cv_exeext=
3308 if test -z "$ac_file"; then :
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3310 $as_echo "no" >&6; }
3311 $as_echo "$as_me: failed program was:" >&5
3312 sed 's/^/| /' conftest.$ac_ext >&5
3314 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3315 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3316 as_fn_error 77 "C compiler cannot create executables
3317 See \`config.log' for more details" "$LINENO" 5; }
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3320 $as_echo "yes" >&6; }
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3323 $as_echo_n "checking for C compiler default output file name... " >&6; }
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3325 $as_echo "$ac_file" >&6; }
3326 ac_exeext=$ac_cv_exeext
3328 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3329 ac_clean_files=$ac_clean_files_save
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3331 $as_echo_n "checking for suffix of executables... " >&6; }
3332 if { { ac_try="$ac_link"
3334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3335 *) ac_try_echo=$ac_try;;
3337 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3338 $as_echo "$ac_try_echo"; } >&5
3339 (eval "$ac_link") 2>&5
3341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3342 test $ac_status = 0; }; then :
3343 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3344 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3345 # work properly (i.e., refer to `conftest.exe'), while it won't with
3347 for ac_file in conftest.exe conftest conftest.*; do
3348 test -f "$ac_file" || continue
3350 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3351 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3357 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3359 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3360 See \`config.log' for more details" "$LINENO" 5; }
3362 rm -f conftest conftest$ac_cv_exeext
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3364 $as_echo "$ac_cv_exeext" >&6; }
3366 rm -f conftest.$ac_ext
3367 EXEEXT=$ac_cv_exeext
3369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3370 /* end confdefs.h. */
3375 FILE *f = fopen ("conftest.out", "w");
3376 return ferror (f) || fclose (f) != 0;
3382 ac_clean_files="$ac_clean_files conftest.out"
3383 # Check that the compiler produces executables we can run. If not, either
3384 # the compiler is broken, or we cross compile.
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3386 $as_echo_n "checking whether we are cross compiling... " >&6; }
3387 if test "$cross_compiling" != yes; then
3388 { { ac_try="$ac_link"
3390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3391 *) ac_try_echo=$ac_try;;
3393 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3394 $as_echo "$ac_try_echo"; } >&5
3395 (eval "$ac_link") 2>&5
3397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3398 test $ac_status = 0; }
3399 if { ac_try='./conftest$ac_cv_exeext'
3400 { { case "(($ac_try" in
3401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3402 *) ac_try_echo=$ac_try;;
3404 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3405 $as_echo "$ac_try_echo"; } >&5
3406 (eval "$ac_try") 2>&5
3408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3409 test $ac_status = 0; }; }; then
3412 if test "$cross_compiling" = maybe; then
3415 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3416 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3417 as_fn_error $? "cannot run C compiled programs.
3418 If you meant to cross compile, use \`--host'.
3419 See \`config.log' for more details" "$LINENO" 5; }
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3424 $as_echo "$cross_compiling" >&6; }
3426 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3427 ac_clean_files=$ac_clean_files_save
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3429 $as_echo_n "checking for suffix of object files... " >&6; }
3430 if ${ac_cv_objext+:} false; then :
3431 $as_echo_n "(cached) " >&6
3433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3434 /* end confdefs.h. */
3444 rm -f conftest.o conftest.obj
3445 if { { ac_try="$ac_compile"
3447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3448 *) ac_try_echo=$ac_try;;
3450 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3451 $as_echo "$ac_try_echo"; } >&5
3452 (eval "$ac_compile") 2>&5
3454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3455 test $ac_status = 0; }; then :
3456 for ac_file in conftest.o conftest.obj conftest.*; do
3457 test -f "$ac_file" || continue;
3459 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3460 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3465 $as_echo "$as_me: failed program was:" >&5
3466 sed 's/^/| /' conftest.$ac_ext >&5
3468 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3470 as_fn_error $? "cannot compute suffix of object files: cannot compile
3471 See \`config.log' for more details" "$LINENO" 5; }
3473 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3476 $as_echo "$ac_cv_objext" >&6; }
3477 OBJEXT=$ac_cv_objext
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3480 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3481 if ${ac_cv_c_compiler_gnu+:} false; then :
3482 $as_echo_n "(cached) " >&6
3484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3485 /* end confdefs.h. */
3498 if ac_fn_c_try_compile "$LINENO"; then :
3503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3504 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3508 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3509 if test $ac_compiler_gnu = yes; then
3514 ac_test_CFLAGS=${CFLAGS+set}
3515 ac_save_CFLAGS=$CFLAGS
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3517 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3518 if ${ac_cv_prog_cc_g+:} false; then :
3519 $as_echo_n "(cached) " >&6
3521 ac_save_c_werror_flag=$ac_c_werror_flag
3522 ac_c_werror_flag=yes
3525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3526 /* end confdefs.h. */
3536 if ac_fn_c_try_compile "$LINENO"; then :
3540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3541 /* end confdefs.h. */
3551 if ac_fn_c_try_compile "$LINENO"; then :
3554 ac_c_werror_flag=$ac_save_c_werror_flag
3556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3557 /* end confdefs.h. */
3567 if ac_fn_c_try_compile "$LINENO"; then :
3570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3575 ac_c_werror_flag=$ac_save_c_werror_flag
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3578 $as_echo "$ac_cv_prog_cc_g" >&6; }
3579 if test "$ac_test_CFLAGS" = set; then
3580 CFLAGS=$ac_save_CFLAGS
3581 elif test $ac_cv_prog_cc_g = yes; then
3582 if test "$GCC" = yes; then
3588 if test "$GCC" = yes; then
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3595 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3596 if ${ac_cv_prog_cc_c89+:} false; then :
3597 $as_echo_n "(cached) " >&6
3599 ac_cv_prog_cc_c89=no
3601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3602 /* end confdefs.h. */
3606 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3607 struct buf { int x; };
3608 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3609 static char *e (p, i)
3615 static char *f (char * (*g) (char **, int), char **p, ...)
3620 s = g (p, va_arg (v,int));
3625 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3626 function prototypes and stuff, but not '\xHH' hex character constants.
3627 These don't provoke an error unfortunately, instead are silently treated
3628 as 'x'. The following induces an error, until -std is added to get
3629 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3630 array size at least. It's necessary to write '\x00'==0 to get something
3631 that's true only with -std. */
3632 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3634 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3635 inside strings and character constants. */
3637 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3639 int test (int i, double x);
3640 struct s1 {int (*f) (int a);};
3641 struct s2 {int (*f) (double a);};
3642 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3648 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3653 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3654 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3656 CC="$ac_save_CC $ac_arg"
3657 if ac_fn_c_try_compile "$LINENO"; then :
3658 ac_cv_prog_cc_c89=$ac_arg
3660 rm -f core conftest.err conftest.$ac_objext
3661 test "x$ac_cv_prog_cc_c89" != "xno" && break
3663 rm -f conftest.$ac_ext
3668 case "x$ac_cv_prog_cc_c89" in
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3671 $as_echo "none needed" >&6; } ;;
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3674 $as_echo "unsupported" >&6; } ;;
3676 CC="$CC $ac_cv_prog_cc_c89"
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3678 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3680 if test "x$ac_cv_prog_cc_c89" != xno; then :
3685 ac_cpp='$CPP $CPPFLAGS'
3686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3691 ac_cpp='$CPP $CPPFLAGS'
3692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3696 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3697 if ${am_cv_prog_cc_c_o+:} false; then :
3698 $as_echo_n "(cached) " >&6
3700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3701 /* end confdefs.h. */
3711 # Make sure it works both with $CC and with simple cc.
3712 # Following AC_PROG_CC_C_O, we do the test twice because some
3713 # compilers refuse to overwrite an existing .o file with -o,
3714 # though they will create one.
3715 am_cv_prog_cc_c_o=yes
3717 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3718 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3721 (exit $ac_status); } \
3722 && test -f conftest2.$ac_objext; then
3725 am_cv_prog_cc_c_o=no
3729 rm -f core conftest*
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3733 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3734 if test "$am_cv_prog_cc_c_o" != yes; then
3735 # Losing compiler, so override with the script.
3736 # FIXME: It is wrong to rewrite CC.
3737 # But if we don't then we get into trouble of one sort or another.
3738 # A longer-term fix would be to have automake use am__CC in this case,
3739 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3740 CC="$am_aux_dir/compile $CC"
3743 ac_cpp='$CPP $CPPFLAGS'
3744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3748 DEPDIR="${am__leading_dot}deps"
3750 ac_config_commands="$ac_config_commands depfiles"
3753 am_make=${MAKE-make}
3754 cat > confinc << 'END'
3756 @echo this is the am__doit target
3759 # If we don't find an include directive, just comment out the code.
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3761 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3765 # First try GNU make style include.
3766 echo "include confinc" > confmf
3767 # Ignore all kinds of additional output from 'make'.
3768 case `$am_make -s -f confmf 2> /dev/null` in #(
3769 *the\ am__doit\ target*)
3775 # Now try BSD make style include.
3776 if test "$am__include" = "#"; then
3777 echo '.include "confinc"' > confmf
3778 case `$am_make -s -f confmf 2> /dev/null` in #(
3779 *the\ am__doit\ target*)
3780 am__include=.include
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3789 $as_echo "$_am_result" >&6; }
3790 rm -f confinc confmf
3792 # Check whether --enable-dependency-tracking was given.
3793 if test "${enable_dependency_tracking+set}" = set; then :
3794 enableval=$enable_dependency_tracking;
3797 if test "x$enable_dependency_tracking" != xno; then
3798 am_depcomp="$ac_aux_dir/depcomp"
3802 if test "x$enable_dependency_tracking" != xno; then
3812 depcc="$CC" am_compiler_list=
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3815 $as_echo_n "checking dependency style of $depcc... " >&6; }
3816 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3817 $as_echo_n "(cached) " >&6
3819 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3820 # We make a subdir and do the tests there. Otherwise we can end up
3821 # making bogus files that we don't know about and never remove. For
3822 # instance it was reported that on HP-UX the gcc test will end up
3823 # making a dummy file named 'D' -- because '-MD' means "put the output
3827 # Copy depcomp to subdir because otherwise we won't find it if we're
3828 # using a relative directory.
3829 cp "$am_depcomp" conftest.dir
3831 # We will build objects and dependencies in a subdirectory because
3832 # it helps to detect inapplicable dependency modes. For instance
3833 # both Tru64's cc and ICC support -MD to output dependencies as a
3834 # side effect of compilation, but ICC will put the dependencies in
3835 # the current directory while Tru64 will put them in the object
3839 am_cv_CC_dependencies_compiler_type=none
3840 if test "$am_compiler_list" = ""; then
3841 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3844 case " $depcc " in #(
3845 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3848 for depmode in $am_compiler_list; do
3849 # Setup a source with many dependencies, because some compilers
3850 # like to wrap large dependency lists on column 80 (with \), and
3851 # we should not choose a depcomp mode which is confused by this.
3853 # We need to recreate these files for each test, as the compiler may
3854 # overwrite some of them when testing with obscure command lines.
3855 # This happens at least with the AIX C compiler.
3857 for i in 1 2 3 4 5 6; do
3858 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3859 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3860 # Solaris 10 /bin/sh.
3861 echo '/* dummy */' > sub/conftst$i.h
3863 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3865 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3866 # mode. It turns out that the SunPro C++ compiler does not properly
3867 # handle '-M -o', and we need to detect this. Also, some Intel
3868 # versions had trouble with output in subdirs.
3869 am__obj=sub/conftest.${OBJEXT-o}
3870 am__minus_obj="-o $am__obj"
3873 # This depmode causes a compiler race in universal mode.
3874 test "$am__universal" = false || continue
3877 # After this tag, mechanisms are not by side-effect, so they'll
3878 # only be used when explicitly requested.
3879 if test "x$enable_dependency_tracking" = xyes; then
3885 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3886 # This compiler won't grok '-c -o', but also, the minuso test has
3887 # not run yet. These depmodes are late enough in the game, and
3888 # so weak that their functioning should not be impacted.
3889 am__obj=conftest.${OBJEXT-o}
3894 if depmode=$depmode \
3895 source=sub/conftest.c object=$am__obj \
3896 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3897 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3898 >/dev/null 2>conftest.err &&
3899 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3900 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3901 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3902 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3903 # icc doesn't choke on unknown options, it will just issue warnings
3904 # or remarks (even with -Werror). So we grep stderr for any message
3905 # that says an option was ignored or not supported.
3906 # When given -MP, icc 7.0 and 7.1 complain thusly:
3907 # icc: Command line warning: ignoring option '-M'; no argument required
3908 # The diagnosis changed in icc 8.0:
3909 # icc: Command line remark: option '-MP' not supported
3910 if (grep 'ignoring option' conftest.err ||
3911 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3912 am_cv_CC_dependencies_compiler_type=$depmode
3921 am_cv_CC_dependencies_compiler_type=none
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3926 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3927 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3930 test "x$enable_dependency_tracking" != xno \
3931 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3933 am__fastdepCC_FALSE='#'
3935 am__fastdepCC_TRUE='#'
3936 am__fastdepCC_FALSE=
3941 ac_cpp='$CPP $CPPFLAGS'
3942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3946 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3947 # On Suns, sometimes $CPP names a directory.
3948 if test -n "$CPP" && test -d "$CPP"; then
3951 if test -z "$CPP"; then
3952 if ${ac_cv_prog_CPP+:} false; then :
3953 $as_echo_n "(cached) " >&6
3955 # Double quotes because CPP needs to be expanded
3956 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3959 for ac_c_preproc_warn_flag in '' yes
3961 # Use a header file that comes with gcc, so configuring glibc
3962 # with a fresh cross-compiler works.
3963 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3964 # <limits.h> exists even on freestanding compilers.
3965 # On the NeXT, cc -E runs the code through the compiler's parser,
3966 # not just through cpp. "Syntax error" is here to catch this case.
3967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3968 /* end confdefs.h. */
3970 # include <limits.h>
3972 # include <assert.h>
3976 if ac_fn_c_try_cpp "$LINENO"; then :
3979 # Broken: fails on valid input.
3982 rm -f conftest.err conftest.i conftest.$ac_ext
3984 # OK, works on sane cases. Now check whether nonexistent headers
3985 # can be detected and how.
3986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3987 /* end confdefs.h. */
3988 #include <ac_nonexistent.h>
3990 if ac_fn_c_try_cpp "$LINENO"; then :
3991 # Broken: success on invalid input.
3994 # Passes both tests.
3998 rm -f conftest.err conftest.i conftest.$ac_ext
4001 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4002 rm -f conftest.i conftest.err conftest.$ac_ext
4003 if $ac_preproc_ok; then :
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4016 $as_echo "$CPP" >&6; }
4018 for ac_c_preproc_warn_flag in '' yes
4020 # Use a header file that comes with gcc, so configuring glibc
4021 # with a fresh cross-compiler works.
4022 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4023 # <limits.h> exists even on freestanding compilers.
4024 # On the NeXT, cc -E runs the code through the compiler's parser,
4025 # not just through cpp. "Syntax error" is here to catch this case.
4026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4027 /* end confdefs.h. */
4029 # include <limits.h>
4031 # include <assert.h>
4035 if ac_fn_c_try_cpp "$LINENO"; then :
4038 # Broken: fails on valid input.
4041 rm -f conftest.err conftest.i conftest.$ac_ext
4043 # OK, works on sane cases. Now check whether nonexistent headers
4044 # can be detected and how.
4045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4046 /* end confdefs.h. */
4047 #include <ac_nonexistent.h>
4049 if ac_fn_c_try_cpp "$LINENO"; then :
4050 # Broken: success on invalid input.
4053 # Passes both tests.
4057 rm -f conftest.err conftest.i conftest.$ac_ext
4060 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4061 rm -f conftest.i conftest.err conftest.$ac_ext
4062 if $ac_preproc_ok; then :
4065 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4066 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4067 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4068 See \`config.log' for more details" "$LINENO" 5; }
4072 ac_cpp='$CPP $CPPFLAGS'
4073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4079 $as_echo_n "checking whether ln -s works... " >&6; }
4081 if test "$LN_S" = "ln -s"; then
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4083 $as_echo "yes" >&6; }
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4086 $as_echo "no, using $LN_S" >&6; }
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4090 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4092 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4093 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4094 $as_echo_n "(cached) " >&6
4096 cat >conftest.make <<\_ACEOF
4099 @echo '@@@%%%=$(MAKE)=@@@%%%'
4101 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4102 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4104 eval ac_cv_prog_make_${ac_make}_set=yes;;
4106 eval ac_cv_prog_make_${ac_make}_set=no;;
4110 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4112 $as_echo "yes" >&6; }
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4116 $as_echo "no" >&6; }
4117 SET_MAKE="MAKE=${MAKE-make}"
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4123 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4128 macro_version='2.4.2'
4129 macro_revision='1.3337'
4143 ltmain="$ac_aux_dir/ltmain.sh"
4145 # Make sure we can run config.sub.
4146 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4147 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4150 $as_echo_n "checking build system type... " >&6; }
4151 if ${ac_cv_build+:} false; then :
4152 $as_echo_n "(cached) " >&6
4154 ac_build_alias=$build_alias
4155 test "x$ac_build_alias" = x &&
4156 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4157 test "x$ac_build_alias" = x &&
4158 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4159 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4160 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4164 $as_echo "$ac_cv_build" >&6; }
4165 case $ac_cv_build in
4167 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4170 ac_save_IFS=$IFS; IFS='-'
4176 # Remember, the first character of IFS is used to create $*,
4177 # except with old shells:
4180 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4184 $as_echo_n "checking host system type... " >&6; }
4185 if ${ac_cv_host+:} false; then :
4186 $as_echo_n "(cached) " >&6
4188 if test "x$host_alias" = x; then
4189 ac_cv_host=$ac_cv_build
4191 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4192 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4197 $as_echo "$ac_cv_host" >&6; }
4200 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4203 ac_save_IFS=$IFS; IFS='-'
4209 # Remember, the first character of IFS is used to create $*,
4210 # except with old shells:
4213 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4216 # Backslashify metacharacters that are still active within
4217 # double-quoted strings.
4218 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4220 # Same as above, but do not quote variable references.
4221 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4223 # Sed substitution to delay expansion of an escaped shell variable in a
4224 # double_quote_subst'ed string.
4225 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4227 # Sed substitution to delay expansion of an escaped single quote.
4228 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4230 # Sed substitution to avoid accidental globbing in evaled expressions
4231 no_glob_subst='s/\*/\\\*/g'
4233 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4234 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4235 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4238 $as_echo_n "checking how to print strings... " >&6; }
4239 # Test print first, because it will be a builtin if present.
4240 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4241 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4243 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4246 # Use this function as a fallback that always works.
4247 func_fallback_echo ()
4249 eval 'cat <<_LTECHO_EOF
4253 ECHO='func_fallback_echo'
4256 # func_echo_all arg...
4257 # Invoke $ECHO with all args, space-separated.
4264 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4265 $as_echo "printf" >&6; } ;;
4266 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4267 $as_echo "print -r" >&6; } ;;
4268 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4269 $as_echo "cat" >&6; } ;;
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4286 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4287 if ${ac_cv_path_SED+:} false; then :
4288 $as_echo_n "(cached) " >&6
4290 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4291 for ac_i in 1 2 3 4 5 6 7; do
4292 ac_script="$ac_script$as_nl$ac_script"
4294 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4295 { ac_script=; unset ac_script;}
4296 if test -z "$SED"; then
4297 ac_path_SED_found=false
4298 # Loop through the user's path and test for each of PROGNAME-LIST
4299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4303 test -z "$as_dir" && as_dir=.
4304 for ac_prog in sed gsed; do
4305 for ac_exec_ext in '' $ac_executable_extensions; do
4306 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4307 as_fn_executable_p "$ac_path_SED" || continue
4308 # Check for GNU ac_path_SED and select it if it is found.
4309 # Check for GNU $ac_path_SED
4310 case `"$ac_path_SED" --version 2>&1` in
4312 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4315 $as_echo_n 0123456789 >"conftest.in"
4318 cat "conftest.in" "conftest.in" >"conftest.tmp"
4319 mv "conftest.tmp" "conftest.in"
4320 cp "conftest.in" "conftest.nl"
4321 $as_echo '' >> "conftest.nl"
4322 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4323 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4324 as_fn_arith $ac_count + 1 && ac_count=$as_val
4325 if test $ac_count -gt ${ac_path_SED_max-0}; then
4326 # Best one so far, save it but keep looking for a better one
4327 ac_cv_path_SED="$ac_path_SED"
4328 ac_path_SED_max=$ac_count
4330 # 10*(2^10) chars as input seems more than enough
4331 test $ac_count -gt 10 && break
4333 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4336 $ac_path_SED_found && break 3
4341 if test -z "$ac_cv_path_SED"; then
4342 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4350 $as_echo "$ac_cv_path_SED" >&6; }
4351 SED="$ac_cv_path_SED"
4354 test -z "$SED" && SED=sed
4355 Xsed="$SED -e 1s/^X//"
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4368 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4369 if ${ac_cv_path_GREP+:} false; then :
4370 $as_echo_n "(cached) " >&6
4372 if test -z "$GREP"; then
4373 ac_path_GREP_found=false
4374 # Loop through the user's path and test for each of PROGNAME-LIST
4375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4376 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4379 test -z "$as_dir" && as_dir=.
4380 for ac_prog in grep ggrep; do
4381 for ac_exec_ext in '' $ac_executable_extensions; do
4382 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4383 as_fn_executable_p "$ac_path_GREP" || continue
4384 # Check for GNU ac_path_GREP and select it if it is found.
4385 # Check for GNU $ac_path_GREP
4386 case `"$ac_path_GREP" --version 2>&1` in
4388 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4391 $as_echo_n 0123456789 >"conftest.in"
4394 cat "conftest.in" "conftest.in" >"conftest.tmp"
4395 mv "conftest.tmp" "conftest.in"
4396 cp "conftest.in" "conftest.nl"
4397 $as_echo 'GREP' >> "conftest.nl"
4398 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4399 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4400 as_fn_arith $ac_count + 1 && ac_count=$as_val
4401 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4402 # Best one so far, save it but keep looking for a better one
4403 ac_cv_path_GREP="$ac_path_GREP"
4404 ac_path_GREP_max=$ac_count
4406 # 10*(2^10) chars as input seems more than enough
4407 test $ac_count -gt 10 && break
4409 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4412 $ac_path_GREP_found && break 3
4417 if test -z "$ac_cv_path_GREP"; then
4418 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4421 ac_cv_path_GREP=$GREP
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4426 $as_echo "$ac_cv_path_GREP" >&6; }
4427 GREP="$ac_cv_path_GREP"
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4431 $as_echo_n "checking for egrep... " >&6; }
4432 if ${ac_cv_path_EGREP+:} false; then :
4433 $as_echo_n "(cached) " >&6
4435 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4436 then ac_cv_path_EGREP="$GREP -E"
4438 if test -z "$EGREP"; then
4439 ac_path_EGREP_found=false
4440 # Loop through the user's path and test for each of PROGNAME-LIST
4441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4442 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4445 test -z "$as_dir" && as_dir=.
4446 for ac_prog in egrep; do
4447 for ac_exec_ext in '' $ac_executable_extensions; do
4448 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4449 as_fn_executable_p "$ac_path_EGREP" || continue
4450 # Check for GNU ac_path_EGREP and select it if it is found.
4451 # Check for GNU $ac_path_EGREP
4452 case `"$ac_path_EGREP" --version 2>&1` in
4454 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4457 $as_echo_n 0123456789 >"conftest.in"
4460 cat "conftest.in" "conftest.in" >"conftest.tmp"
4461 mv "conftest.tmp" "conftest.in"
4462 cp "conftest.in" "conftest.nl"
4463 $as_echo 'EGREP' >> "conftest.nl"
4464 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4465 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4466 as_fn_arith $ac_count + 1 && ac_count=$as_val
4467 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4468 # Best one so far, save it but keep looking for a better one
4469 ac_cv_path_EGREP="$ac_path_EGREP"
4470 ac_path_EGREP_max=$ac_count
4472 # 10*(2^10) chars as input seems more than enough
4473 test $ac_count -gt 10 && break
4475 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4478 $ac_path_EGREP_found && break 3
4483 if test -z "$ac_cv_path_EGREP"; then
4484 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4487 ac_cv_path_EGREP=$EGREP
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4493 $as_echo "$ac_cv_path_EGREP" >&6; }
4494 EGREP="$ac_cv_path_EGREP"
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4498 $as_echo_n "checking for fgrep... " >&6; }
4499 if ${ac_cv_path_FGREP+:} false; then :
4500 $as_echo_n "(cached) " >&6
4502 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4503 then ac_cv_path_FGREP="$GREP -F"
4505 if test -z "$FGREP"; then
4506 ac_path_FGREP_found=false
4507 # Loop through the user's path and test for each of PROGNAME-LIST
4508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4509 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4512 test -z "$as_dir" && as_dir=.
4513 for ac_prog in fgrep; do
4514 for ac_exec_ext in '' $ac_executable_extensions; do
4515 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4516 as_fn_executable_p "$ac_path_FGREP" || continue
4517 # Check for GNU ac_path_FGREP and select it if it is found.
4518 # Check for GNU $ac_path_FGREP
4519 case `"$ac_path_FGREP" --version 2>&1` in
4521 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4524 $as_echo_n 0123456789 >"conftest.in"
4527 cat "conftest.in" "conftest.in" >"conftest.tmp"
4528 mv "conftest.tmp" "conftest.in"
4529 cp "conftest.in" "conftest.nl"
4530 $as_echo 'FGREP' >> "conftest.nl"
4531 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4532 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4533 as_fn_arith $ac_count + 1 && ac_count=$as_val
4534 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4535 # Best one so far, save it but keep looking for a better one
4536 ac_cv_path_FGREP="$ac_path_FGREP"
4537 ac_path_FGREP_max=$ac_count
4539 # 10*(2^10) chars as input seems more than enough
4540 test $ac_count -gt 10 && break
4542 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4545 $ac_path_FGREP_found && break 3
4550 if test -z "$ac_cv_path_FGREP"; then
4551 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4554 ac_cv_path_FGREP=$FGREP
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4560 $as_echo "$ac_cv_path_FGREP" >&6; }
4561 FGREP="$ac_cv_path_FGREP"
4564 test -z "$GREP" && GREP=grep
4584 # Check whether --with-gnu-ld was given.
4585 if test "${with_gnu_ld+set}" = set; then :
4586 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4592 if test "$GCC" = yes; then
4593 # Check if gcc -print-prog-name=ld gives a path.
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4595 $as_echo_n "checking for ld used by $CC... " >&6; }
4598 # gcc leaves a trailing carriage return which upsets mingw
4599 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4601 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4604 # Accept absolute paths.
4606 re_direlt='/[^/][^/]*/\.\./'
4607 # Canonicalize the pathname of ld
4608 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4609 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4610 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4612 test -z "$LD" && LD="$ac_prog"
4615 # If it fails, then pretend we aren't using GCC.
4619 # If it is relative, then search for the first ld in PATH.
4623 elif test "$with_gnu_ld" = yes; then
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4625 $as_echo_n "checking for GNU ld... " >&6; }
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4628 $as_echo_n "checking for non-GNU ld... " >&6; }
4630 if ${lt_cv_path_LD+:} false; then :
4631 $as_echo_n "(cached) " >&6
4633 if test -z "$LD"; then
4634 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4635 for ac_dir in $PATH; do
4637 test -z "$ac_dir" && ac_dir=.
4638 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4639 lt_cv_path_LD="$ac_dir/$ac_prog"
4640 # Check to see if the program is GNU ld. I'd rather use --version,
4641 # but apparently some variants of GNU ld only accept -v.
4642 # Break only if it was the GNU/non-GNU ld that we prefer.
4643 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4644 *GNU* | *'with BFD'*)
4645 test "$with_gnu_ld" != no && break
4648 test "$with_gnu_ld" != yes && break
4655 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4660 if test -n "$LD"; then
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4662 $as_echo "$LD" >&6; }
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4665 $as_echo "no" >&6; }
4667 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4669 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4670 if ${lt_cv_prog_gnu_ld+:} false; then :
4671 $as_echo_n "(cached) " >&6
4673 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4674 case `$LD -v 2>&1 </dev/null` in
4675 *GNU* | *'with BFD'*)
4676 lt_cv_prog_gnu_ld=yes
4679 lt_cv_prog_gnu_ld=no
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4684 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4685 with_gnu_ld=$lt_cv_prog_gnu_ld
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4696 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4697 if ${lt_cv_path_NM+:} false; then :
4698 $as_echo_n "(cached) " >&6
4700 if test -n "$NM"; then
4701 # Let the user override the test.
4704 lt_nm_to_check="${ac_tool_prefix}nm"
4705 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4706 lt_nm_to_check="$lt_nm_to_check nm"
4708 for lt_tmp_nm in $lt_nm_to_check; do
4709 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4710 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4712 test -z "$ac_dir" && ac_dir=.
4713 tmp_nm="$ac_dir/$lt_tmp_nm"
4714 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4715 # Check to see if the nm accepts a BSD-compat flag.
4716 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4717 # nm: unknown option "B" ignored
4718 # Tru64's nm complains that /dev/null is an invalid object file
4719 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4720 */dev/null* | *'Invalid file or object type'*)
4721 lt_cv_path_NM="$tmp_nm -B"
4725 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4727 lt_cv_path_NM="$tmp_nm -p"
4731 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4732 continue # so that we can try to find one that supports BSD flags
4741 : ${lt_cv_path_NM=no}
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4745 $as_echo "$lt_cv_path_NM" >&6; }
4746 if test "$lt_cv_path_NM" != "no"; then
4749 # Didn't find any BSD compatible name lister, look for dumpbin.
4750 if test -n "$DUMPBIN"; then :
4751 # Let the user override the test.
4753 if test -n "$ac_tool_prefix"; then
4754 for ac_prog in dumpbin "link -dump"
4756 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4757 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4759 $as_echo_n "checking for $ac_word... " >&6; }
4760 if ${ac_cv_prog_DUMPBIN+:} false; then :
4761 $as_echo_n "(cached) " >&6
4763 if test -n "$DUMPBIN"; then
4764 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4770 test -z "$as_dir" && as_dir=.
4771 for ac_exec_ext in '' $ac_executable_extensions; do
4772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4773 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4783 DUMPBIN=$ac_cv_prog_DUMPBIN
4784 if test -n "$DUMPBIN"; then
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4786 $as_echo "$DUMPBIN" >&6; }
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4789 $as_echo "no" >&6; }
4793 test -n "$DUMPBIN" && break
4796 if test -z "$DUMPBIN"; then
4797 ac_ct_DUMPBIN=$DUMPBIN
4798 for ac_prog in dumpbin "link -dump"
4800 # Extract the first word of "$ac_prog", so it can be a program name with args.
4801 set dummy $ac_prog; ac_word=$2
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4803 $as_echo_n "checking for $ac_word... " >&6; }
4804 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4805 $as_echo_n "(cached) " >&6
4807 if test -n "$ac_ct_DUMPBIN"; then
4808 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4814 test -z "$as_dir" && as_dir=.
4815 for ac_exec_ext in '' $ac_executable_extensions; do
4816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4817 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4827 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4828 if test -n "$ac_ct_DUMPBIN"; then
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4830 $as_echo "$ac_ct_DUMPBIN" >&6; }
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4833 $as_echo "no" >&6; }
4837 test -n "$ac_ct_DUMPBIN" && break
4840 if test "x$ac_ct_DUMPBIN" = x; then
4843 case $cross_compiling:$ac_tool_warned in
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4847 ac_tool_warned=yes ;;
4849 DUMPBIN=$ac_ct_DUMPBIN
4853 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4855 DUMPBIN="$DUMPBIN -symbols"
4863 if test "$DUMPBIN" != ":"; then
4867 test -z "$NM" && NM=nm
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4875 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4876 if ${lt_cv_nm_interface+:} false; then :
4877 $as_echo_n "(cached) " >&6
4879 lt_cv_nm_interface="BSD nm"
4880 echo "int some_variable = 0;" > conftest.$ac_ext
4881 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4882 (eval "$ac_compile" 2>conftest.err)
4883 cat conftest.err >&5
4884 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4885 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4886 cat conftest.err >&5
4887 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4888 cat conftest.out >&5
4889 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4890 lt_cv_nm_interface="MS dumpbin"
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4895 $as_echo "$lt_cv_nm_interface" >&6; }
4897 # find the maximum length of command line arguments
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4899 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4900 if ${lt_cv_sys_max_cmd_len+:} false; then :
4901 $as_echo_n "(cached) " >&6
4908 # On DJGPP, this test can blow up pretty badly due to problems in libc
4909 # (any single argument exceeding 2000 bytes causes a buffer overrun
4910 # during glob expansion). Even if it were fixed, the result of this
4911 # check would be larger than it should be.
4912 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4916 # Under GNU Hurd, this test is not required because there is
4917 # no limit to the length of command line arguments.
4918 # Libtool will interpret -1 as no limit whatsoever
4919 lt_cv_sys_max_cmd_len=-1;
4922 cygwin* | mingw* | cegcc*)
4923 # On Win9x/ME, this test blows up -- it succeeds, but takes
4924 # about 5 minutes as the teststring grows exponentially.
4925 # Worse, since 9x/ME are not pre-emptively multitasking,
4926 # you end up with a "frozen" computer, even though with patience
4927 # the test eventually succeeds (with a max line length of 256k).
4928 # Instead, let's just punt: use the minimum linelength reported by
4929 # all of the supported platforms: 8192 (on NT/2K/XP).
4930 lt_cv_sys_max_cmd_len=8192;
4934 # On MiNT this can take a long time and run out of memory.
4935 lt_cv_sys_max_cmd_len=8192;
4939 # On AmigaOS with pdksh, this test takes hours, literally.
4940 # So we just punt and use a minimum line length of 8192.
4941 lt_cv_sys_max_cmd_len=8192;
4944 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4945 # This has been around since 386BSD, at least. Likely further.
4946 if test -x /sbin/sysctl; then
4947 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4948 elif test -x /usr/sbin/sysctl; then
4949 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4951 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4953 # And add a safety zone
4954 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4955 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4959 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4960 lt_cv_sys_max_cmd_len=196608
4964 # The test takes a long time on OS/2.
4965 lt_cv_sys_max_cmd_len=8192
4969 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4970 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4971 # nice to cause kernel panics so lets avoid the loop below.
4972 # First set a reasonable default.
4973 lt_cv_sys_max_cmd_len=16384
4975 if test -x /sbin/sysconfig; then
4976 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4977 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4982 lt_cv_sys_max_cmd_len=102400
4984 sysv5* | sco5v6* | sysv4.2uw2*)
4985 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4986 if test -n "$kargmax"; then
4987 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4989 lt_cv_sys_max_cmd_len=32768
4993 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4994 if test -n "$lt_cv_sys_max_cmd_len" && \
4995 test undefined != "$lt_cv_sys_max_cmd_len"; then
4996 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4997 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4999 # Make teststring a little bigger before we do anything with it.
5000 # a 1K string should be a reasonable start.
5001 for i in 1 2 3 4 5 6 7 8 ; do
5002 teststring=$teststring$teststring
5004 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5005 # If test is not a shell built-in, we'll probably end up computing a
5006 # maximum length that is only half of the actual maximum length, but
5008 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5009 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5010 test $i != 17 # 1/2 MB should be enough
5013 teststring=$teststring$teststring
5015 # Only check the string length outside the loop.
5016 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5018 # Add a significant safety factor because C++ compilers can tack on
5019 # massive amounts of additional arguments before passing them to the
5020 # linker. It appears as though 1/2 is a usable value.
5021 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5028 if test -n $lt_cv_sys_max_cmd_len ; then
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5030 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5033 $as_echo "none" >&6; }
5035 max_cmd_len=$lt_cv_sys_max_cmd_len
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5047 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5048 # Try some XSI features
5051 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5053 && eval 'test $(( 1 + 1 )) -eq 2 \
5054 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5057 $as_echo "$xsi_shell" >&6; }
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5061 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5063 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5065 && lt_shell_append=yes
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5067 $as_echo "$lt_shell_append" >&6; }
5070 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5080 # test EBCDIC or ASCII
5081 case `echo X|tr X '\101'` in
5082 A) # ASCII based system
5083 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5084 lt_SP2NL='tr \040 \012'
5085 lt_NL2SP='tr \015\012 \040\040'
5087 *) # EBCDIC based system
5088 lt_SP2NL='tr \100 \n'
5089 lt_NL2SP='tr \r\n \100\100'
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5102 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5103 if ${lt_cv_to_host_file_cmd+:} false; then :
5104 $as_echo_n "(cached) " >&6
5109 *-*-mingw* ) # actually msys
5110 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5113 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5115 * ) # otherwise, assume *nix
5116 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5122 *-*-mingw* ) # actually msys
5123 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5126 lt_cv_to_host_file_cmd=func_convert_file_noop
5128 * ) # otherwise, assume *nix
5129 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5133 * ) # unhandled hosts (and "normal" native builds)
5134 lt_cv_to_host_file_cmd=func_convert_file_noop
5140 to_host_file_cmd=$lt_cv_to_host_file_cmd
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5142 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5149 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5150 if ${lt_cv_to_tool_file_cmd+:} false; then :
5151 $as_echo_n "(cached) " >&6
5153 #assume ordinary cross tools, or native build.
5154 lt_cv_to_tool_file_cmd=func_convert_file_noop
5158 *-*-mingw* ) # actually msys
5159 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5167 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5169 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5176 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5177 if ${lt_cv_ld_reload_flag+:} false; then :
5178 $as_echo_n "(cached) " >&6
5180 lt_cv_ld_reload_flag='-r'
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5183 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5184 reload_flag=$lt_cv_ld_reload_flag
5185 case $reload_flag in
5187 *) reload_flag=" $reload_flag" ;;
5189 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5191 cygwin* | mingw* | pw32* | cegcc*)
5192 if test "$GCC" != yes; then
5197 if test "$GCC" = yes; then
5198 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5200 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5213 if test -n "$ac_tool_prefix"; then
5214 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5215 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5217 $as_echo_n "checking for $ac_word... " >&6; }
5218 if ${ac_cv_prog_OBJDUMP+:} false; then :
5219 $as_echo_n "(cached) " >&6
5221 if test -n "$OBJDUMP"; then
5222 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5228 test -z "$as_dir" && as_dir=.
5229 for ac_exec_ext in '' $ac_executable_extensions; do
5230 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5231 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5241 OBJDUMP=$ac_cv_prog_OBJDUMP
5242 if test -n "$OBJDUMP"; then
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5244 $as_echo "$OBJDUMP" >&6; }
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5247 $as_echo "no" >&6; }
5252 if test -z "$ac_cv_prog_OBJDUMP"; then
5253 ac_ct_OBJDUMP=$OBJDUMP
5254 # Extract the first word of "objdump", so it can be a program name with args.
5255 set dummy objdump; ac_word=$2
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5257 $as_echo_n "checking for $ac_word... " >&6; }
5258 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5259 $as_echo_n "(cached) " >&6
5261 if test -n "$ac_ct_OBJDUMP"; then
5262 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5268 test -z "$as_dir" && as_dir=.
5269 for ac_exec_ext in '' $ac_executable_extensions; do
5270 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5271 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5281 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5282 if test -n "$ac_ct_OBJDUMP"; then
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5284 $as_echo "$ac_ct_OBJDUMP" >&6; }
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5287 $as_echo "no" >&6; }
5290 if test "x$ac_ct_OBJDUMP" = x; then
5293 case $cross_compiling:$ac_tool_warned in
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5296 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5297 ac_tool_warned=yes ;;
5299 OBJDUMP=$ac_ct_OBJDUMP
5302 OBJDUMP="$ac_cv_prog_OBJDUMP"
5305 test -z "$OBJDUMP" && OBJDUMP=objdump
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5316 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5317 if ${lt_cv_deplibs_check_method+:} false; then :
5318 $as_echo_n "(cached) " >&6
5320 lt_cv_file_magic_cmd='$MAGIC_CMD'
5321 lt_cv_file_magic_test_file=
5322 lt_cv_deplibs_check_method='unknown'
5323 # Need to set the preceding variable on all platforms that support
5324 # interlibrary dependencies.
5325 # 'none' -- dependencies not supported.
5326 # `unknown' -- same as none, but documents that we really don't know.
5327 # 'pass_all' -- all dependencies passed with no checks.
5328 # 'test_compile' -- check by making test program.
5329 # 'file_magic [[regex]]' -- check by looking for files in library path
5330 # which responds to the $file_magic_cmd with a given extended regex.
5331 # If you have `file' or equivalent on your system and you're not sure
5332 # whether `pass_all' will *always* work, you probably want this one.
5336 lt_cv_deplibs_check_method=pass_all
5340 lt_cv_deplibs_check_method=pass_all
5344 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5345 lt_cv_file_magic_cmd='/usr/bin/file -L'
5346 lt_cv_file_magic_test_file=/shlib/libc.so
5350 # func_win32_libid is a shell function defined in ltmain.sh
5351 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5352 lt_cv_file_magic_cmd='func_win32_libid'
5356 # Base MSYS/MinGW do not provide the 'file' command needed by
5357 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5358 # unless we find 'file', for example because we are cross-compiling.
5359 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5360 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5361 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5362 lt_cv_file_magic_cmd='func_win32_libid'
5364 # Keep this pattern in sync with the one in func_win32_libid.
5365 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5366 lt_cv_file_magic_cmd='$OBJDUMP -f'
5371 # use the weaker test based on 'objdump'. See mingw*.
5372 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5373 lt_cv_file_magic_cmd='$OBJDUMP -f'
5376 darwin* | rhapsody*)
5377 lt_cv_deplibs_check_method=pass_all
5380 freebsd* | dragonfly*)
5381 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5384 # Not sure whether the presence of OpenBSD here was a mistake.
5385 # Let's accept both of them until this is cleared up.
5386 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5387 lt_cv_file_magic_cmd=/usr/bin/file
5388 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5392 lt_cv_deplibs_check_method=pass_all
5397 lt_cv_deplibs_check_method=pass_all
5400 hpux10.20* | hpux11*)
5401 lt_cv_file_magic_cmd=/usr/bin/file
5404 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5405 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5408 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]'
5409 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5412 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5413 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5419 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5420 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5423 irix5* | irix6* | nonstopux*)
5425 *-32|*"-32 ") libmagic=32-bit;;
5426 *-n32|*"-n32 ") libmagic=N32;;
5427 *-64|*"-64 ") libmagic=64-bit;;
5428 *) libmagic=never-match;;
5430 lt_cv_deplibs_check_method=pass_all
5433 # This must be glibc/ELF.
5434 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5435 lt_cv_deplibs_check_method=pass_all
5438 netbsd* | netbsdelf*-gnu)
5439 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5440 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5442 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5447 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5448 lt_cv_file_magic_cmd=/usr/bin/file
5449 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5453 lt_cv_deplibs_check_method=pass_all
5457 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5458 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5460 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5464 osf3* | osf4* | osf5*)
5465 lt_cv_deplibs_check_method=pass_all
5469 lt_cv_deplibs_check_method=pass_all
5473 lt_cv_deplibs_check_method=pass_all
5476 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5477 lt_cv_deplibs_check_method=pass_all
5481 case $host_vendor in
5483 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]'
5484 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5487 lt_cv_deplibs_check_method=pass_all
5490 lt_cv_file_magic_cmd='/bin/file'
5491 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5494 lt_cv_file_magic_cmd='/bin/file'
5495 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5496 lt_cv_file_magic_test_file=/lib/libc.so
5499 lt_cv_deplibs_check_method=pass_all
5502 lt_cv_deplibs_check_method=pass_all
5508 lt_cv_deplibs_check_method=pass_all
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5514 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5518 if test "$build" = "$host"; then
5521 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5524 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5530 file_magic_cmd=$lt_cv_file_magic_cmd
5531 deplibs_check_method=$lt_cv_deplibs_check_method
5532 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5555 if test -n "$ac_tool_prefix"; then
5556 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5557 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5559 $as_echo_n "checking for $ac_word... " >&6; }
5560 if ${ac_cv_prog_DLLTOOL+:} false; then :
5561 $as_echo_n "(cached) " >&6
5563 if test -n "$DLLTOOL"; then
5564 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5570 test -z "$as_dir" && as_dir=.
5571 for ac_exec_ext in '' $ac_executable_extensions; do
5572 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5573 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5583 DLLTOOL=$ac_cv_prog_DLLTOOL
5584 if test -n "$DLLTOOL"; then
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5586 $as_echo "$DLLTOOL" >&6; }
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5589 $as_echo "no" >&6; }
5594 if test -z "$ac_cv_prog_DLLTOOL"; then
5595 ac_ct_DLLTOOL=$DLLTOOL
5596 # Extract the first word of "dlltool", so it can be a program name with args.
5597 set dummy dlltool; ac_word=$2
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5599 $as_echo_n "checking for $ac_word... " >&6; }
5600 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5601 $as_echo_n "(cached) " >&6
5603 if test -n "$ac_ct_DLLTOOL"; then
5604 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5610 test -z "$as_dir" && as_dir=.
5611 for ac_exec_ext in '' $ac_executable_extensions; do
5612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5613 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5623 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5624 if test -n "$ac_ct_DLLTOOL"; then
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5626 $as_echo "$ac_ct_DLLTOOL" >&6; }
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5629 $as_echo "no" >&6; }
5632 if test "x$ac_ct_DLLTOOL" = x; then
5635 case $cross_compiling:$ac_tool_warned in
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5639 ac_tool_warned=yes ;;
5641 DLLTOOL=$ac_ct_DLLTOOL
5644 DLLTOOL="$ac_cv_prog_DLLTOOL"
5647 test -z "$DLLTOOL" && DLLTOOL=dlltool
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5659 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5660 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5661 $as_echo_n "(cached) " >&6
5663 lt_cv_sharedlib_from_linklib_cmd='unknown'
5666 cygwin* | mingw* | pw32* | cegcc*)
5667 # two different shell functions defined in ltmain.sh
5668 # decide which to use based on capabilities of $DLLTOOL
5669 case `$DLLTOOL --help 2>&1` in
5670 *--identify-strict*)
5671 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5674 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5679 # fallback: assume linklib IS sharedlib
5680 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5686 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5687 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5688 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5697 if test -n "$ac_tool_prefix"; then
5700 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5701 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5703 $as_echo_n "checking for $ac_word... " >&6; }
5704 if ${ac_cv_prog_AR+:} false; then :
5705 $as_echo_n "(cached) " >&6
5707 if test -n "$AR"; then
5708 ac_cv_prog_AR="$AR" # Let the user override the test.
5710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5714 test -z "$as_dir" && as_dir=.
5715 for ac_exec_ext in '' $ac_executable_extensions; do
5716 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5717 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5728 if test -n "$AR"; then
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5730 $as_echo "$AR" >&6; }
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5733 $as_echo "no" >&6; }
5737 test -n "$AR" && break
5740 if test -z "$AR"; then
5744 # Extract the first word of "$ac_prog", so it can be a program name with args.
5745 set dummy $ac_prog; ac_word=$2
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5747 $as_echo_n "checking for $ac_word... " >&6; }
5748 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5749 $as_echo_n "(cached) " >&6
5751 if test -n "$ac_ct_AR"; then
5752 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5758 test -z "$as_dir" && as_dir=.
5759 for ac_exec_ext in '' $ac_executable_extensions; do
5760 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5761 ac_cv_prog_ac_ct_AR="$ac_prog"
5762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5771 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5772 if test -n "$ac_ct_AR"; then
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5774 $as_echo "$ac_ct_AR" >&6; }
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5777 $as_echo "no" >&6; }
5781 test -n "$ac_ct_AR" && break
5784 if test "x$ac_ct_AR" = x; then
5787 case $cross_compiling:$ac_tool_warned in
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5790 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5791 ac_tool_warned=yes ;;
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5811 $as_echo_n "checking for archiver @FILE support... " >&6; }
5812 if ${lt_cv_ar_at_file+:} false; then :
5813 $as_echo_n "(cached) " >&6
5816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5817 /* end confdefs.h. */
5827 if ac_fn_c_try_compile "$LINENO"; then :
5828 echo conftest.$ac_objext > conftest.lst
5829 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
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 "$ac_status" -eq 0; then
5836 # Ensure the archiver fails upon bogus file names.
5837 rm -f conftest.$ac_objext libconftest.a
5838 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5839 (eval $lt_ar_try) 2>&5
5841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5842 test $ac_status = 0; }
5843 if test "$ac_status" -ne 0; then
5847 rm -f conftest.* libconftest.a
5850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5854 $as_echo "$lt_cv_ar_at_file" >&6; }
5856 if test "x$lt_cv_ar_at_file" = xno; then
5859 archiver_list_spec=$lt_cv_ar_at_file
5868 if test -n "$ac_tool_prefix"; then
5869 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5870 set dummy ${ac_tool_prefix}strip; ac_word=$2
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5872 $as_echo_n "checking for $ac_word... " >&6; }
5873 if ${ac_cv_prog_STRIP+:} false; then :
5874 $as_echo_n "(cached) " >&6
5876 if test -n "$STRIP"; then
5877 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5883 test -z "$as_dir" && as_dir=.
5884 for ac_exec_ext in '' $ac_executable_extensions; do
5885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5886 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5896 STRIP=$ac_cv_prog_STRIP
5897 if test -n "$STRIP"; then
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5899 $as_echo "$STRIP" >&6; }
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5902 $as_echo "no" >&6; }
5907 if test -z "$ac_cv_prog_STRIP"; then
5909 # Extract the first word of "strip", so it can be a program name with args.
5910 set dummy strip; ac_word=$2
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5912 $as_echo_n "checking for $ac_word... " >&6; }
5913 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5914 $as_echo_n "(cached) " >&6
5916 if test -n "$ac_ct_STRIP"; then
5917 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5923 test -z "$as_dir" && as_dir=.
5924 for ac_exec_ext in '' $ac_executable_extensions; do
5925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5926 ac_cv_prog_ac_ct_STRIP="strip"
5927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5936 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5937 if test -n "$ac_ct_STRIP"; then
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5939 $as_echo "$ac_ct_STRIP" >&6; }
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5942 $as_echo "no" >&6; }
5945 if test "x$ac_ct_STRIP" = x; then
5948 case $cross_compiling:$ac_tool_warned in
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5951 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5952 ac_tool_warned=yes ;;
5957 STRIP="$ac_cv_prog_STRIP"
5960 test -z "$STRIP" && STRIP=:
5967 if test -n "$ac_tool_prefix"; then
5968 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5969 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5971 $as_echo_n "checking for $ac_word... " >&6; }
5972 if ${ac_cv_prog_RANLIB+:} false; then :
5973 $as_echo_n "(cached) " >&6
5975 if test -n "$RANLIB"; then
5976 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5982 test -z "$as_dir" && as_dir=.
5983 for ac_exec_ext in '' $ac_executable_extensions; do
5984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5985 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5995 RANLIB=$ac_cv_prog_RANLIB
5996 if test -n "$RANLIB"; then
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5998 $as_echo "$RANLIB" >&6; }
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6001 $as_echo "no" >&6; }
6006 if test -z "$ac_cv_prog_RANLIB"; then
6007 ac_ct_RANLIB=$RANLIB
6008 # Extract the first word of "ranlib", so it can be a program name with args.
6009 set dummy ranlib; ac_word=$2
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6011 $as_echo_n "checking for $ac_word... " >&6; }
6012 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6013 $as_echo_n "(cached) " >&6
6015 if test -n "$ac_ct_RANLIB"; then
6016 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6022 test -z "$as_dir" && as_dir=.
6023 for ac_exec_ext in '' $ac_executable_extensions; do
6024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6025 ac_cv_prog_ac_ct_RANLIB="ranlib"
6026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6035 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6036 if test -n "$ac_ct_RANLIB"; then
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6038 $as_echo "$ac_ct_RANLIB" >&6; }
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6041 $as_echo "no" >&6; }
6044 if test "x$ac_ct_RANLIB" = x; then
6047 case $cross_compiling:$ac_tool_warned in
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6051 ac_tool_warned=yes ;;
6053 RANLIB=$ac_ct_RANLIB
6056 RANLIB="$ac_cv_prog_RANLIB"
6059 test -z "$RANLIB" && RANLIB=:
6066 # Determine commands to create old-style static archives.
6067 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6068 old_postinstall_cmds='chmod 644 $oldlib'
6069 old_postuninstall_cmds=
6071 if test -n "$RANLIB"; then
6074 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6077 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6080 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6085 lock_old_archive_extraction=yes ;;
6087 lock_old_archive_extraction=no ;;
6128 # If no C compiler was specified, use CC.
6131 # If no C compiler flags were specified, use CFLAGS.
6132 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6134 # Allow CC to be a program name with arguments.
6138 # Check for command to grab the raw symbol name followed by C symbol from nm.
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6140 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6141 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6142 $as_echo_n "(cached) " >&6
6145 # These are sane defaults that work on at least a few old systems.
6146 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6148 # Character class describing NM global symbol codes.
6149 symcode='[BCDEGRST]'
6151 # Regexp to match symbols that can be accessed directly from C.
6152 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6154 # Define system-specific variables.
6159 cygwin* | mingw* | pw32* | cegcc*)
6160 symcode='[ABCDGISTW]'
6163 if test "$host_cpu" = ia64; then
6164 symcode='[ABCDEGRST]'
6168 symcode='[BCDEGRST]'
6171 symcode='[BCDEGQRST]'
6182 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6190 # If we're using GNU nm, then use its standard symbol codes.
6191 case `$NM -V 2>&1` in
6192 *GNU* | *'with BFD'*)
6193 symcode='[ABCDGIRSTW]' ;;
6196 # Transform an extracted symbol line into a proper C declaration.
6197 # Some systems (esp. on ia64) link data and code symbols differently,
6198 # so use this general approach.
6199 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6201 # Transform an extracted symbol line into symbol name and symbol address
6202 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6203 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6205 # Handle CRLF in mingw tool chain
6209 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6213 # Try without a prefix underscore, then with it.
6214 for ac_symprfx in "" "_"; do
6216 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6217 symxfrm="\\1 $ac_symprfx\\2 \\2"
6219 # Write the raw and C identifiers.
6220 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6221 # Fake it for dumpbin and say T for any non-static function
6222 # and D for any global variable.
6223 # Also find C++ and __fastcall symbols from MSVC++,
6224 # which start with @ or ?.
6225 lt_cv_sys_global_symbol_pipe="$AWK '"\
6226 " {last_section=section; section=\$ 3};"\
6227 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6228 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6229 " \$ 0!~/External *\|/{next};"\
6230 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6231 " {if(hide[section]) next};"\
6232 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6233 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6234 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6235 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6236 " ' prfx=^$ac_symprfx"
6238 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6240 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6242 # Check to see that the pipe works correctly.
6246 cat > conftest.$ac_ext <<_LT_EOF
6251 void nm_test_func(void);
6252 void nm_test_func(void){}
6256 int main(){nm_test_var='a';nm_test_func();return(0);}
6259 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6260 (eval $ac_compile) 2>&5
6262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6263 test $ac_status = 0; }; then
6264 # Now try to grab the symbols.
6266 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6267 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6270 test $ac_status = 0; } && test -s "$nlist"; then
6271 # Try sorting and uniquifying the output.
6272 if sort "$nlist" | uniq > "$nlist"T; then
6273 mv -f "$nlist"T "$nlist"
6278 # Make sure that we snagged all the symbols we need.
6279 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6280 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6281 cat <<_LT_EOF > conftest.$ac_ext
6282 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6283 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6284 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6285 relocations are performed -- see ld's documentation on pseudo-relocs. */
6286 # define LT_DLSYM_CONST
6287 #elif defined(__osf__)
6288 /* This system does not cope well with relocations in const data. */
6289 # define LT_DLSYM_CONST
6291 # define LT_DLSYM_CONST const
6299 # Now generate the symbol file.
6300 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6302 cat <<_LT_EOF >> conftest.$ac_ext
6304 /* The mapping between symbol names and symbols. */
6305 LT_DLSYM_CONST struct {
6309 lt__PROGRAM__LTX_preloaded_symbols[] =
6311 { "@PROGRAM@", (void *) 0 },
6313 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6314 cat <<\_LT_EOF >> conftest.$ac_ext
6318 /* This works around a problem in FreeBSD linker */
6319 #ifdef FREEBSD_WORKAROUND
6320 static const void *lt_preloaded_setup() {
6321 return lt__PROGRAM__LTX_preloaded_symbols;
6329 # Now try linking the two files.
6330 mv conftest.$ac_objext conftstm.$ac_objext
6331 lt_globsym_save_LIBS=$LIBS
6332 lt_globsym_save_CFLAGS=$CFLAGS
6333 LIBS="conftstm.$ac_objext"
6334 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6335 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6336 (eval $ac_link) 2>&5
6338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6339 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6342 LIBS=$lt_globsym_save_LIBS
6343 CFLAGS=$lt_globsym_save_CFLAGS
6345 echo "cannot find nm_test_func in $nlist" >&5
6348 echo "cannot find nm_test_var in $nlist" >&5
6351 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6354 echo "$progname: failed program was:" >&5
6355 cat conftest.$ac_ext >&5
6357 rm -rf conftest* conftst*
6359 # Do not use the global_symbol_pipe unless it works.
6360 if test "$pipe_works" = yes; then
6363 lt_cv_sys_global_symbol_pipe=
6369 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6370 lt_cv_sys_global_symbol_to_cdecl=
6372 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6374 $as_echo "failed" >&6; }
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6377 $as_echo "ok" >&6; }
6380 # Response file support.
6381 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6382 nm_file_list_spec='@'
6383 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6384 nm_file_list_spec='@'
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6414 $as_echo_n "checking for sysroot... " >&6; }
6416 # Check whether --with-sysroot was given.
6417 if test "${with_sysroot+set}" = set; then :
6418 withval=$with_sysroot;
6425 case ${with_sysroot} in #(
6427 if test "$GCC" = yes; then
6428 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6432 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6438 $as_echo "${with_sysroot}" >&6; }
6439 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6444 $as_echo "${lt_sysroot:-no}" >&6; }
6450 # Check whether --enable-libtool-lock was given.
6451 if test "${enable_libtool_lock+set}" = set; then :
6452 enableval=$enable_libtool_lock;
6455 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6457 # Some flags need to be propagated to the compiler or linker for good
6461 # Find out which ABI we are using.
6462 echo 'int i;' > conftest.$ac_ext
6463 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6464 (eval $ac_compile) 2>&5
6466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6467 test $ac_status = 0; }; then
6468 case `/usr/bin/file conftest.$ac_objext` in
6480 # Find out which ABI we are using.
6481 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6482 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6483 (eval $ac_compile) 2>&5
6485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6486 test $ac_status = 0; }; then
6487 if test "$lt_cv_prog_gnu_ld" = yes; then
6488 case `/usr/bin/file conftest.$ac_objext` in
6490 LD="${LD-ld} -melf32bsmip"
6493 LD="${LD-ld} -melf32bmipn32"
6496 LD="${LD-ld} -melf64bmip"
6500 case `/usr/bin/file conftest.$ac_objext` in
6516 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6517 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6518 # Find out which ABI we are using.
6519 echo 'int i;' > conftest.$ac_ext
6520 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6521 (eval $ac_compile) 2>&5
6523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6524 test $ac_status = 0; }; then
6525 case `/usr/bin/file conftest.o` in
6528 x86_64-*kfreebsd*-gnu)
6529 LD="${LD-ld} -m elf_i386_fbsd"
6532 case `/usr/bin/file conftest.o` in
6534 LD="${LD-ld} -m elf32_x86_64"
6537 LD="${LD-ld} -m elf_i386"
6542 LD="${LD-ld} -m elf32lppclinux"
6545 LD="${LD-ld} -m elf32ppclinux"
6548 LD="${LD-ld} -m elf_s390"
6551 LD="${LD-ld} -m elf32_sparc"
6557 x86_64-*kfreebsd*-gnu)
6558 LD="${LD-ld} -m elf_x86_64_fbsd"
6561 LD="${LD-ld} -m elf_x86_64"
6564 LD="${LD-ld} -m elf64lppc"
6567 LD="${LD-ld} -m elf64ppc"
6569 s390*-*linux*|s390*-*tpf*)
6570 LD="${LD-ld} -m elf64_s390"
6573 LD="${LD-ld} -m elf64_sparc"
6583 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6584 SAVE_CFLAGS="$CFLAGS"
6585 CFLAGS="$CFLAGS -belf"
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6587 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6588 if ${lt_cv_cc_needs_belf+:} false; then :
6589 $as_echo_n "(cached) " >&6
6592 ac_cpp='$CPP $CPPFLAGS'
6593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6598 /* end confdefs.h. */
6608 if ac_fn_c_try_link "$LINENO"; then :
6609 lt_cv_cc_needs_belf=yes
6611 lt_cv_cc_needs_belf=no
6613 rm -f core conftest.err conftest.$ac_objext \
6614 conftest$ac_exeext conftest.$ac_ext
6616 ac_cpp='$CPP $CPPFLAGS'
6617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6623 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6624 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6625 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6626 CFLAGS="$SAVE_CFLAGS"
6630 # Find out which ABI we are using.
6631 echo 'int i;' > conftest.$ac_ext
6632 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6633 (eval $ac_compile) 2>&5
6635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6636 test $ac_status = 0; }; then
6637 case `/usr/bin/file conftest.o` in
6639 case $lt_cv_prog_gnu_ld in
6643 LD="${LD-ld} -m elf_x86_64"
6646 LD="${LD-ld} -m elf64_sparc"
6649 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6650 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6655 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6667 need_locks="$enable_libtool_lock"
6669 if test -n "$ac_tool_prefix"; then
6670 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6671 set dummy ${ac_tool_prefix}mt; ac_word=$2
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6673 $as_echo_n "checking for $ac_word... " >&6; }
6674 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6675 $as_echo_n "(cached) " >&6
6677 if test -n "$MANIFEST_TOOL"; then
6678 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6684 test -z "$as_dir" && as_dir=.
6685 for ac_exec_ext in '' $ac_executable_extensions; do
6686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6687 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6697 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6698 if test -n "$MANIFEST_TOOL"; then
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6700 $as_echo "$MANIFEST_TOOL" >&6; }
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6703 $as_echo "no" >&6; }
6708 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6709 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6710 # Extract the first word of "mt", so it can be a program name with args.
6711 set dummy mt; ac_word=$2
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6713 $as_echo_n "checking for $ac_word... " >&6; }
6714 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6715 $as_echo_n "(cached) " >&6
6717 if test -n "$ac_ct_MANIFEST_TOOL"; then
6718 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6724 test -z "$as_dir" && as_dir=.
6725 for ac_exec_ext in '' $ac_executable_extensions; do
6726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6727 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6737 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6738 if test -n "$ac_ct_MANIFEST_TOOL"; then
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6740 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6743 $as_echo "no" >&6; }
6746 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6749 case $cross_compiling:$ac_tool_warned in
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6752 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6753 ac_tool_warned=yes ;;
6755 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6758 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6761 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6763 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6764 if ${lt_cv_path_mainfest_tool+:} false; then :
6765 $as_echo_n "(cached) " >&6
6767 lt_cv_path_mainfest_tool=no
6768 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6769 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6770 cat conftest.err >&5
6771 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6772 lt_cv_path_mainfest_tool=yes
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6777 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6778 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6788 rhapsody* | darwin*)
6789 if test -n "$ac_tool_prefix"; then
6790 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6791 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6793 $as_echo_n "checking for $ac_word... " >&6; }
6794 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6795 $as_echo_n "(cached) " >&6
6797 if test -n "$DSYMUTIL"; then
6798 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6804 test -z "$as_dir" && as_dir=.
6805 for ac_exec_ext in '' $ac_executable_extensions; do
6806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6807 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6817 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6818 if test -n "$DSYMUTIL"; then
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6820 $as_echo "$DSYMUTIL" >&6; }
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6823 $as_echo "no" >&6; }
6828 if test -z "$ac_cv_prog_DSYMUTIL"; then
6829 ac_ct_DSYMUTIL=$DSYMUTIL
6830 # Extract the first word of "dsymutil", so it can be a program name with args.
6831 set dummy dsymutil; ac_word=$2
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6833 $as_echo_n "checking for $ac_word... " >&6; }
6834 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6835 $as_echo_n "(cached) " >&6
6837 if test -n "$ac_ct_DSYMUTIL"; then
6838 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6844 test -z "$as_dir" && as_dir=.
6845 for ac_exec_ext in '' $ac_executable_extensions; do
6846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6847 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6857 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6858 if test -n "$ac_ct_DSYMUTIL"; then
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6860 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6863 $as_echo "no" >&6; }
6866 if test "x$ac_ct_DSYMUTIL" = x; then
6869 case $cross_compiling:$ac_tool_warned in
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6872 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6873 ac_tool_warned=yes ;;
6875 DSYMUTIL=$ac_ct_DSYMUTIL
6878 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6881 if test -n "$ac_tool_prefix"; then
6882 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6883 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6885 $as_echo_n "checking for $ac_word... " >&6; }
6886 if ${ac_cv_prog_NMEDIT+:} false; then :
6887 $as_echo_n "(cached) " >&6
6889 if test -n "$NMEDIT"; then
6890 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6896 test -z "$as_dir" && as_dir=.
6897 for ac_exec_ext in '' $ac_executable_extensions; do
6898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6899 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6909 NMEDIT=$ac_cv_prog_NMEDIT
6910 if test -n "$NMEDIT"; then
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6912 $as_echo "$NMEDIT" >&6; }
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6915 $as_echo "no" >&6; }
6920 if test -z "$ac_cv_prog_NMEDIT"; then
6921 ac_ct_NMEDIT=$NMEDIT
6922 # Extract the first word of "nmedit", so it can be a program name with args.
6923 set dummy nmedit; ac_word=$2
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6925 $as_echo_n "checking for $ac_word... " >&6; }
6926 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6927 $as_echo_n "(cached) " >&6
6929 if test -n "$ac_ct_NMEDIT"; then
6930 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6936 test -z "$as_dir" && as_dir=.
6937 for ac_exec_ext in '' $ac_executable_extensions; do
6938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6939 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6949 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6950 if test -n "$ac_ct_NMEDIT"; then
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6952 $as_echo "$ac_ct_NMEDIT" >&6; }
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6955 $as_echo "no" >&6; }
6958 if test "x$ac_ct_NMEDIT" = x; then
6961 case $cross_compiling:$ac_tool_warned in
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6964 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6965 ac_tool_warned=yes ;;
6967 NMEDIT=$ac_ct_NMEDIT
6970 NMEDIT="$ac_cv_prog_NMEDIT"
6973 if test -n "$ac_tool_prefix"; then
6974 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6975 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6977 $as_echo_n "checking for $ac_word... " >&6; }
6978 if ${ac_cv_prog_LIPO+:} false; then :
6979 $as_echo_n "(cached) " >&6
6981 if test -n "$LIPO"; then
6982 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6988 test -z "$as_dir" && as_dir=.
6989 for ac_exec_ext in '' $ac_executable_extensions; do
6990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6991 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7001 LIPO=$ac_cv_prog_LIPO
7002 if test -n "$LIPO"; then
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7004 $as_echo "$LIPO" >&6; }
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7007 $as_echo "no" >&6; }
7012 if test -z "$ac_cv_prog_LIPO"; then
7014 # Extract the first word of "lipo", so it can be a program name with args.
7015 set dummy lipo; ac_word=$2
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7017 $as_echo_n "checking for $ac_word... " >&6; }
7018 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7019 $as_echo_n "(cached) " >&6
7021 if test -n "$ac_ct_LIPO"; then
7022 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7028 test -z "$as_dir" && as_dir=.
7029 for ac_exec_ext in '' $ac_executable_extensions; do
7030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7031 ac_cv_prog_ac_ct_LIPO="lipo"
7032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7041 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7042 if test -n "$ac_ct_LIPO"; then
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7044 $as_echo "$ac_ct_LIPO" >&6; }
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7047 $as_echo "no" >&6; }
7050 if test "x$ac_ct_LIPO" = x; then
7053 case $cross_compiling:$ac_tool_warned in
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7056 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7057 ac_tool_warned=yes ;;
7062 LIPO="$ac_cv_prog_LIPO"
7065 if test -n "$ac_tool_prefix"; then
7066 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7067 set dummy ${ac_tool_prefix}otool; ac_word=$2
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7069 $as_echo_n "checking for $ac_word... " >&6; }
7070 if ${ac_cv_prog_OTOOL+:} false; then :
7071 $as_echo_n "(cached) " >&6
7073 if test -n "$OTOOL"; then
7074 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7080 test -z "$as_dir" && as_dir=.
7081 for ac_exec_ext in '' $ac_executable_extensions; do
7082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7083 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7093 OTOOL=$ac_cv_prog_OTOOL
7094 if test -n "$OTOOL"; then
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7096 $as_echo "$OTOOL" >&6; }
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7099 $as_echo "no" >&6; }
7104 if test -z "$ac_cv_prog_OTOOL"; then
7106 # Extract the first word of "otool", so it can be a program name with args.
7107 set dummy otool; ac_word=$2
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7109 $as_echo_n "checking for $ac_word... " >&6; }
7110 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7111 $as_echo_n "(cached) " >&6
7113 if test -n "$ac_ct_OTOOL"; then
7114 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7120 test -z "$as_dir" && as_dir=.
7121 for ac_exec_ext in '' $ac_executable_extensions; do
7122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7123 ac_cv_prog_ac_ct_OTOOL="otool"
7124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7133 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7134 if test -n "$ac_ct_OTOOL"; then
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7136 $as_echo "$ac_ct_OTOOL" >&6; }
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7139 $as_echo "no" >&6; }
7142 if test "x$ac_ct_OTOOL" = x; then
7145 case $cross_compiling:$ac_tool_warned in
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7148 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7149 ac_tool_warned=yes ;;
7154 OTOOL="$ac_cv_prog_OTOOL"
7157 if test -n "$ac_tool_prefix"; then
7158 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7159 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7161 $as_echo_n "checking for $ac_word... " >&6; }
7162 if ${ac_cv_prog_OTOOL64+:} false; then :
7163 $as_echo_n "(cached) " >&6
7165 if test -n "$OTOOL64"; then
7166 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7172 test -z "$as_dir" && as_dir=.
7173 for ac_exec_ext in '' $ac_executable_extensions; do
7174 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7175 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7185 OTOOL64=$ac_cv_prog_OTOOL64
7186 if test -n "$OTOOL64"; then
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7188 $as_echo "$OTOOL64" >&6; }
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7191 $as_echo "no" >&6; }
7196 if test -z "$ac_cv_prog_OTOOL64"; then
7197 ac_ct_OTOOL64=$OTOOL64
7198 # Extract the first word of "otool64", so it can be a program name with args.
7199 set dummy otool64; ac_word=$2
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7201 $as_echo_n "checking for $ac_word... " >&6; }
7202 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7203 $as_echo_n "(cached) " >&6
7205 if test -n "$ac_ct_OTOOL64"; then
7206 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7212 test -z "$as_dir" && as_dir=.
7213 for ac_exec_ext in '' $ac_executable_extensions; do
7214 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7215 ac_cv_prog_ac_ct_OTOOL64="otool64"
7216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7225 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7226 if test -n "$ac_ct_OTOOL64"; then
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7228 $as_echo "$ac_ct_OTOOL64" >&6; }
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7231 $as_echo "no" >&6; }
7234 if test "x$ac_ct_OTOOL64" = x; then
7237 case $cross_compiling:$ac_tool_warned in
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7240 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7241 ac_tool_warned=yes ;;
7243 OTOOL64=$ac_ct_OTOOL64
7246 OTOOL64="$ac_cv_prog_OTOOL64"
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7276 $as_echo_n "checking for -single_module linker flag... " >&6; }
7277 if ${lt_cv_apple_cc_single_mod+:} false; then :
7278 $as_echo_n "(cached) " >&6
7280 lt_cv_apple_cc_single_mod=no
7281 if test -z "${LT_MULTI_MODULE}"; then
7282 # By default we will add the -single_module flag. You can override
7283 # by either setting the environment variable LT_MULTI_MODULE
7284 # non-empty at configure time, or by adding -multi_module to the
7286 rm -rf libconftest.dylib*
7287 echo "int foo(void){return 1;}" > conftest.c
7288 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7289 -dynamiclib -Wl,-single_module conftest.c" >&5
7290 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7291 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7293 # If there is a non-empty error log, and "single_module"
7294 # appears in it, assume the flag caused a linker warning
7295 if test -s conftest.err && $GREP single_module conftest.err; then
7296 cat conftest.err >&5
7297 # Otherwise, if the output was created with a 0 exit code from
7298 # the compiler, it worked.
7299 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7300 lt_cv_apple_cc_single_mod=yes
7302 cat conftest.err >&5
7304 rm -rf libconftest.dylib*
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7309 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7312 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7313 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7314 $as_echo_n "(cached) " >&6
7316 lt_cv_ld_exported_symbols_list=no
7317 save_LDFLAGS=$LDFLAGS
7318 echo "_main" > conftest.sym
7319 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7321 /* end confdefs.h. */
7331 if ac_fn_c_try_link "$LINENO"; then :
7332 lt_cv_ld_exported_symbols_list=yes
7334 lt_cv_ld_exported_symbols_list=no
7336 rm -f core conftest.err conftest.$ac_objext \
7337 conftest$ac_exeext conftest.$ac_ext
7338 LDFLAGS="$save_LDFLAGS"
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7342 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7345 $as_echo_n "checking for -force_load linker flag... " >&6; }
7346 if ${lt_cv_ld_force_load+:} false; then :
7347 $as_echo_n "(cached) " >&6
7349 lt_cv_ld_force_load=no
7350 cat > conftest.c << _LT_EOF
7351 int forced_loaded() { return 2;}
7353 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7354 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7355 echo "$AR cru libconftest.a conftest.o" >&5
7356 $AR cru libconftest.a conftest.o 2>&5
7357 echo "$RANLIB libconftest.a" >&5
7358 $RANLIB libconftest.a 2>&5
7359 cat > conftest.c << _LT_EOF
7360 int main() { return 0;}
7362 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7363 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7365 if test -s conftest.err && $GREP force_load conftest.err; then
7366 cat conftest.err >&5
7367 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7368 lt_cv_ld_force_load=yes
7370 cat conftest.err >&5
7372 rm -f conftest.err libconftest.a conftest conftest.c
7373 rm -rf conftest.dSYM
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7377 $as_echo "$lt_cv_ld_force_load" >&6; }
7379 rhapsody* | darwin1.[012])
7380 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7382 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7383 darwin*) # darwin 5.x on
7384 # if running on 10.5 or later, the deployment target defaults
7385 # to the OS version, if on x86, and 10.4, the deployment
7386 # target defaults to 10.4. Don't you love it?
7387 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7388 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7389 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7391 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7393 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7397 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7398 _lt_dar_single_mod='$single_module'
7400 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7401 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7403 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7405 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7406 _lt_dsymutil='~$DSYMUTIL $lib || :'
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7415 $as_echo_n "checking for ANSI C header files... " >&6; }
7416 if ${ac_cv_header_stdc+:} false; then :
7417 $as_echo_n "(cached) " >&6
7419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7420 /* end confdefs.h. */
7434 if ac_fn_c_try_compile "$LINENO"; then :
7435 ac_cv_header_stdc=yes
7437 ac_cv_header_stdc=no
7439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7441 if test $ac_cv_header_stdc = yes; then
7442 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7444 /* end confdefs.h. */
7448 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7449 $EGREP "memchr" >/dev/null 2>&1; then :
7452 ac_cv_header_stdc=no
7458 if test $ac_cv_header_stdc = yes; then
7459 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7461 /* end confdefs.h. */
7465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7466 $EGREP "free" >/dev/null 2>&1; then :
7469 ac_cv_header_stdc=no
7475 if test $ac_cv_header_stdc = yes; then
7476 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7477 if test "$cross_compiling" = yes; then :
7480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7481 /* end confdefs.h. */
7484 #if ((' ' & 0x0FF) == 0x020)
7485 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7486 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7488 # define ISLOWER(c) \
7489 (('a' <= (c) && (c) <= 'i') \
7490 || ('j' <= (c) && (c) <= 'r') \
7491 || ('s' <= (c) && (c) <= 'z'))
7492 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7495 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7500 for (i = 0; i < 256; i++)
7501 if (XOR (islower (i), ISLOWER (i))
7502 || toupper (i) != TOUPPER (i))
7507 if ac_fn_c_try_run "$LINENO"; then :
7510 ac_cv_header_stdc=no
7512 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7513 conftest.$ac_objext conftest.beam conftest.$ac_ext
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7519 $as_echo "$ac_cv_header_stdc" >&6; }
7520 if test $ac_cv_header_stdc = yes; then
7522 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7526 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7527 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7528 inttypes.h stdint.h unistd.h
7530 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7531 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7533 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7534 cat >>confdefs.h <<_ACEOF
7535 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7543 for ac_header in dlfcn.h
7545 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7547 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7548 cat >>confdefs.h <<_ACEOF
7549 #define HAVE_DLFCN_H 1
7570 # Check whether --enable-shared was given.
7571 if test "${enable_shared+set}" = set; then :
7572 enableval=$enable_shared; p=${PACKAGE-default}
7574 yes) enable_shared=yes ;;
7575 no) enable_shared=no ;;
7578 # Look at the argument we got. We use all the common list separators.
7579 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7580 for pkg in $enableval; do
7582 if test "X$pkg" = "X$p"; then
7601 # Check whether --enable-static was given.
7602 if test "${enable_static+set}" = set; then :
7603 enableval=$enable_static; p=${PACKAGE-default}
7605 yes) enable_static=yes ;;
7606 no) enable_static=no ;;
7609 # Look at the argument we got. We use all the common list separators.
7610 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7611 for pkg in $enableval; do
7613 if test "X$pkg" = "X$p"; then
7633 # Check whether --with-pic was given.
7634 if test "${with_pic+set}" = set; then :
7635 withval=$with_pic; lt_p=${PACKAGE-default}
7637 yes|no) pic_mode=$withval ;;
7640 # Look at the argument we got. We use all the common list separators.
7641 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7642 for lt_pkg in $withval; do
7644 if test "X$lt_pkg" = "X$lt_p"; then
7656 test -z "$pic_mode" && pic_mode=default
7664 # Check whether --enable-fast-install was given.
7665 if test "${enable_fast_install+set}" = set; then :
7666 enableval=$enable_fast_install; p=${PACKAGE-default}
7668 yes) enable_fast_install=yes ;;
7669 no) enable_fast_install=no ;;
7671 enable_fast_install=no
7672 # Look at the argument we got. We use all the common list separators.
7673 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7674 for pkg in $enableval; do
7676 if test "X$pkg" = "X$p"; then
7677 enable_fast_install=yes
7684 enable_fast_install=yes
7697 # This can be used to rebuild libtool when needed
7698 LIBTOOL_DEPS="$ltmain"
7700 # Always use our own libtool.
7701 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7732 test -z "$LN_S" && LN_S="ln -s"
7747 if test -n "${ZSH_VERSION+set}" ; then
7748 setopt NO_GLOB_SUBST
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7752 $as_echo_n "checking for objdir... " >&6; }
7753 if ${lt_cv_objdir+:} false; then :
7754 $as_echo_n "(cached) " >&6
7756 rm -f .libs 2>/dev/null
7757 mkdir .libs 2>/dev/null
7758 if test -d .libs; then
7761 # MS-DOS does not allow filenames that begin with a dot.
7764 rmdir .libs 2>/dev/null
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7767 $as_echo "$lt_cv_objdir" >&6; }
7768 objdir=$lt_cv_objdir
7774 cat >>confdefs.h <<_ACEOF
7775 #define LT_OBJDIR "$lt_cv_objdir/"
7783 # AIX sometimes has problems with the GCC collect2 program. For some
7784 # reason, if we set the COLLECT_NAMES environment variable, the problems
7785 # vanish in a puff of smoke.
7786 if test "X${COLLECT_NAMES+set}" != Xset; then
7788 export COLLECT_NAMES
7795 can_build_shared=yes
7797 # All known linkers require a `.a' archive for static linking (except MSVC,
7798 # which needs '.lib').
7801 with_gnu_ld="$lt_cv_prog_gnu_ld"
7804 old_CFLAGS="$CFLAGS"
7806 # Set sane defaults for various variables
7807 test -z "$CC" && CC=cc
7808 test -z "$LTCC" && LTCC=$CC
7809 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7810 test -z "$LD" && LD=ld
7811 test -z "$ac_objext" && ac_objext=o
7813 for cc_temp in $compiler""; do
7815 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7816 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7821 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7824 # Only perform the check for file, if the check method requires it
7825 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7826 case $deplibs_check_method in
7828 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7830 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7831 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7832 $as_echo_n "(cached) " >&6
7836 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7839 lt_save_MAGIC_CMD="$MAGIC_CMD"
7840 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7841 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7842 for ac_dir in $ac_dummy; do
7844 test -z "$ac_dir" && ac_dir=.
7845 if test -f $ac_dir/${ac_tool_prefix}file; then
7846 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7847 if test -n "$file_magic_test_file"; then
7848 case $deplibs_check_method in
7850 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7851 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7852 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7853 $EGREP "$file_magic_regex" > /dev/null; then
7858 *** Warning: the command libtool uses to detect shared libraries,
7859 *** $file_magic_cmd, produces output that libtool cannot recognize.
7860 *** The result is that libtool may fail to recognize shared libraries
7861 *** as such. This will affect the creation of libtool libraries that
7862 *** depend on shared libraries, but programs linked with such libtool
7863 *** libraries will work regardless of this problem. Nevertheless, you
7864 *** may want to report the problem to your system manager and/or to
7865 *** bug-libtool@gnu.org
7875 MAGIC_CMD="$lt_save_MAGIC_CMD"
7880 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7881 if test -n "$MAGIC_CMD"; then
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7883 $as_echo "$MAGIC_CMD" >&6; }
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7886 $as_echo "no" >&6; }
7893 if test -z "$lt_cv_path_MAGIC_CMD"; then
7894 if test -n "$ac_tool_prefix"; then
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7896 $as_echo_n "checking for file... " >&6; }
7897 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7898 $as_echo_n "(cached) " >&6
7902 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7905 lt_save_MAGIC_CMD="$MAGIC_CMD"
7906 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7907 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7908 for ac_dir in $ac_dummy; do
7910 test -z "$ac_dir" && ac_dir=.
7911 if test -f $ac_dir/file; then
7912 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7913 if test -n "$file_magic_test_file"; then
7914 case $deplibs_check_method in
7916 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7917 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7918 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7919 $EGREP "$file_magic_regex" > /dev/null; then
7924 *** Warning: the command libtool uses to detect shared libraries,
7925 *** $file_magic_cmd, produces output that libtool cannot recognize.
7926 *** The result is that libtool may fail to recognize shared libraries
7927 *** as such. This will affect the creation of libtool libraries that
7928 *** depend on shared libraries, but programs linked with such libtool
7929 *** libraries will work regardless of this problem. Nevertheless, you
7930 *** may want to report the problem to your system manager and/or to
7931 *** bug-libtool@gnu.org
7941 MAGIC_CMD="$lt_save_MAGIC_CMD"
7946 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7947 if test -n "$MAGIC_CMD"; then
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7949 $as_echo "$MAGIC_CMD" >&6; }
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7952 $as_echo "no" >&6; }
7965 # Use C for the default configuration in the libtool script
7969 ac_cpp='$CPP $CPPFLAGS'
7970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7975 # Source file extension for C test sources.
7978 # Object file extension for compiled C test sources.
7982 # Code to be used in simple compile tests
7983 lt_simple_compile_test_code="int some_variable = 0;"
7985 # Code to be used in simple link tests
7986 lt_simple_link_test_code='int main(){return(0);}'
7994 # If no C compiler was specified, use CC.
7997 # If no C compiler flags were specified, use CFLAGS.
7998 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8000 # Allow CC to be a program name with arguments.
8003 # Save the default compiler, since it gets overwritten when the other
8004 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8005 compiler_DEFAULT=$CC
8007 # save warnings/boilerplate of simple test code
8008 ac_outfile=conftest.$ac_objext
8009 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8010 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8011 _lt_compiler_boilerplate=`cat conftest.err`
8014 ac_outfile=conftest.$ac_objext
8015 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8016 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8017 _lt_linker_boilerplate=`cat conftest.err`
8021 if test -n "$compiler"; then
8023 lt_prog_compiler_no_builtin_flag=
8025 if test "$GCC" = yes; then
8026 case $cc_basename in
8028 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8030 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8034 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8035 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8036 $as_echo_n "(cached) " >&6
8038 lt_cv_prog_compiler_rtti_exceptions=no
8039 ac_outfile=conftest.$ac_objext
8040 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8041 lt_compiler_flag="-fno-rtti -fno-exceptions"
8042 # Insert the option either (1) after the last *FLAGS variable, or
8043 # (2) before a word containing "conftest.", or (3) at the end.
8044 # Note that $ac_compile itself does not contain backslashes and begins
8045 # with a dollar sign (not a hyphen), so the echo should work correctly.
8046 # The option is referenced via a variable to avoid confusing sed.
8047 lt_compile=`echo "$ac_compile" | $SED \
8048 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8049 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8050 -e 's:$: $lt_compiler_flag:'`
8051 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8052 (eval "$lt_compile" 2>conftest.err)
8054 cat conftest.err >&5
8055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8056 if (exit $ac_status) && test -s "$ac_outfile"; then
8057 # The compiler can only warn and ignore the option if not recognized
8058 # So say no if there are warnings other than the usual output.
8059 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8060 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8061 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8062 lt_cv_prog_compiler_rtti_exceptions=yes
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8069 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8071 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8072 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8084 lt_prog_compiler_wl=
8085 lt_prog_compiler_pic=
8086 lt_prog_compiler_static=
8089 if test "$GCC" = yes; then
8090 lt_prog_compiler_wl='-Wl,'
8091 lt_prog_compiler_static='-static'
8095 # All AIX code is PIC.
8096 if test "$host_cpu" = ia64; then
8097 # AIX 5 now supports IA64 processor
8098 lt_prog_compiler_static='-Bstatic'
8105 # see comment about AmigaOS4 .so support
8106 lt_prog_compiler_pic='-fPIC'
8109 # FIXME: we need at least 68020 code to build shared libraries, but
8110 # adding the `-m68020' flag to GCC prevents building anything better,
8112 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8117 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8118 # PIC is the default for these OSes.
8121 mingw* | cygwin* | pw32* | os2* | cegcc*)
8122 # This hack is so that the source file can tell whether it is being
8123 # built for inclusion in a dll (and should export symbols for example).
8124 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8125 # (--disable-auto-import) libraries
8126 lt_prog_compiler_pic='-DDLL_EXPORT'
8129 darwin* | rhapsody*)
8130 # PIC is the default on this platform
8131 # Common symbols not allowed in MH_DYLIB files
8132 lt_prog_compiler_pic='-fno-common'
8136 # PIC is the default for Haiku.
8137 # The "-static" flag exists, but is broken.
8138 lt_prog_compiler_static=
8142 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8143 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8144 # sets the default TLS model and affects inlining.
8150 lt_prog_compiler_pic='-fPIC'
8156 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8157 # Instead, we relocate shared libraries at runtime.
8161 # Just because we use GCC doesn't mean we suddenly get shared libraries
8162 # on systems that don't support them.
8163 lt_prog_compiler_can_build_shared=no
8168 # QNX uses GNU C++, but need to define -shared option too, otherwise
8170 lt_prog_compiler_pic='-fPIC -shared'
8174 if test -d /usr/nec; then
8175 lt_prog_compiler_pic=-Kconform_pic
8180 lt_prog_compiler_pic='-fPIC'
8184 case $cc_basename in
8185 nvcc*) # Cuda Compiler Driver 2.2
8186 lt_prog_compiler_wl='-Xlinker '
8187 if test -n "$lt_prog_compiler_pic"; then
8188 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8193 # PORTME Check for flag to pass linker flags through the system compiler.
8196 lt_prog_compiler_wl='-Wl,'
8197 if test "$host_cpu" = ia64; then
8198 # AIX 5 now supports IA64 processor
8199 lt_prog_compiler_static='-Bstatic'
8201 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8205 mingw* | cygwin* | pw32* | os2* | cegcc*)
8206 # This hack is so that the source file can tell whether it is being
8207 # built for inclusion in a dll (and should export symbols for example).
8208 lt_prog_compiler_pic='-DDLL_EXPORT'
8211 hpux9* | hpux10* | hpux11*)
8212 lt_prog_compiler_wl='-Wl,'
8213 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8220 lt_prog_compiler_pic='+Z'
8223 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8224 lt_prog_compiler_static='${wl}-a ${wl}archive'
8227 irix5* | irix6* | nonstopux*)
8228 lt_prog_compiler_wl='-Wl,'
8229 # PIC (with -KPIC) is the default.
8230 lt_prog_compiler_static='-non_shared'
8233 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8234 case $cc_basename in
8235 # old Intel for x86_64 which still supported -KPIC.
8237 lt_prog_compiler_wl='-Wl,'
8238 lt_prog_compiler_pic='-KPIC'
8239 lt_prog_compiler_static='-static'
8241 # icc used to be incompatible with GCC.
8242 # ICC 10 doesn't accept -KPIC any more.
8244 lt_prog_compiler_wl='-Wl,'
8245 lt_prog_compiler_pic='-fPIC'
8246 lt_prog_compiler_static='-static'
8248 # Lahey Fortran 8.1.
8250 lt_prog_compiler_wl='-Wl,'
8251 lt_prog_compiler_pic='--shared'
8252 lt_prog_compiler_static='--static'
8255 # NAG Fortran compiler
8256 lt_prog_compiler_wl='-Wl,-Wl,,'
8257 lt_prog_compiler_pic='-PIC'
8258 lt_prog_compiler_static='-Bstatic'
8260 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8261 # Portland Group compilers (*not* the Pentium gcc compiler,
8262 # which looks to be a dead project)
8263 lt_prog_compiler_wl='-Wl,'
8264 lt_prog_compiler_pic='-fpic'
8265 lt_prog_compiler_static='-Bstatic'
8268 lt_prog_compiler_wl='-Wl,'
8269 # All Alpha code is PIC.
8270 lt_prog_compiler_static='-non_shared'
8272 xl* | bgxl* | bgf* | mpixl*)
8273 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8274 lt_prog_compiler_wl='-Wl,'
8275 lt_prog_compiler_pic='-qpic'
8276 lt_prog_compiler_static='-qstaticlink'
8279 case `$CC -V 2>&1 | sed 5q` in
8280 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8281 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8282 lt_prog_compiler_pic='-KPIC'
8283 lt_prog_compiler_static='-Bstatic'
8284 lt_prog_compiler_wl=''
8286 *Sun\ F* | *Sun*Fortran*)
8287 lt_prog_compiler_pic='-KPIC'
8288 lt_prog_compiler_static='-Bstatic'
8289 lt_prog_compiler_wl='-Qoption ld '
8293 lt_prog_compiler_pic='-KPIC'
8294 lt_prog_compiler_static='-Bstatic'
8295 lt_prog_compiler_wl='-Wl,'
8297 *Intel*\ [CF]*Compiler*)
8298 lt_prog_compiler_wl='-Wl,'
8299 lt_prog_compiler_pic='-fPIC'
8300 lt_prog_compiler_static='-static'
8303 lt_prog_compiler_wl='-Wl,'
8304 lt_prog_compiler_pic='-fpic'
8305 lt_prog_compiler_static='-Bstatic'
8313 lt_prog_compiler_pic='-KPIC'
8314 lt_prog_compiler_static='-Bstatic'
8318 # QNX uses GNU C++, but need to define -shared option too, otherwise
8320 lt_prog_compiler_pic='-fPIC -shared'
8323 osf3* | osf4* | osf5*)
8324 lt_prog_compiler_wl='-Wl,'
8325 # All OSF/1 code is PIC.
8326 lt_prog_compiler_static='-non_shared'
8330 lt_prog_compiler_static='-non_shared'
8334 lt_prog_compiler_pic='-KPIC'
8335 lt_prog_compiler_static='-Bstatic'
8336 case $cc_basename in
8337 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8338 lt_prog_compiler_wl='-Qoption ld ';;
8340 lt_prog_compiler_wl='-Wl,';;
8345 lt_prog_compiler_wl='-Qoption ld '
8346 lt_prog_compiler_pic='-PIC'
8347 lt_prog_compiler_static='-Bstatic'
8350 sysv4 | sysv4.2uw2* | sysv4.3*)
8351 lt_prog_compiler_wl='-Wl,'
8352 lt_prog_compiler_pic='-KPIC'
8353 lt_prog_compiler_static='-Bstatic'
8357 if test -d /usr/nec ;then
8358 lt_prog_compiler_pic='-Kconform_pic'
8359 lt_prog_compiler_static='-Bstatic'
8363 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8364 lt_prog_compiler_wl='-Wl,'
8365 lt_prog_compiler_pic='-KPIC'
8366 lt_prog_compiler_static='-Bstatic'
8370 lt_prog_compiler_wl='-Wl,'
8371 lt_prog_compiler_can_build_shared=no
8375 lt_prog_compiler_pic='-pic'
8376 lt_prog_compiler_static='-Bstatic'
8380 lt_prog_compiler_can_build_shared=no
8386 # For platforms which do not support PIC, -DPIC is meaningless:
8388 lt_prog_compiler_pic=
8391 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8396 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8397 if ${lt_cv_prog_compiler_pic+:} false; then :
8398 $as_echo_n "(cached) " >&6
8400 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8403 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8404 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8407 # Check to make sure the PIC flag actually works.
8409 if test -n "$lt_prog_compiler_pic"; then
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8411 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8412 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8413 $as_echo_n "(cached) " >&6
8415 lt_cv_prog_compiler_pic_works=no
8416 ac_outfile=conftest.$ac_objext
8417 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8418 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8419 # Insert the option either (1) after the last *FLAGS variable, or
8420 # (2) before a word containing "conftest.", or (3) at the end.
8421 # Note that $ac_compile itself does not contain backslashes and begins
8422 # with a dollar sign (not a hyphen), so the echo should work correctly.
8423 # The option is referenced via a variable to avoid confusing sed.
8424 lt_compile=`echo "$ac_compile" | $SED \
8425 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8426 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8427 -e 's:$: $lt_compiler_flag:'`
8428 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8429 (eval "$lt_compile" 2>conftest.err)
8431 cat conftest.err >&5
8432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8433 if (exit $ac_status) && test -s "$ac_outfile"; then
8434 # The compiler can only warn and ignore the option if not recognized
8435 # So say no if there are warnings other than the usual output.
8436 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8437 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8438 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8439 lt_cv_prog_compiler_pic_works=yes
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8446 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8448 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8449 case $lt_prog_compiler_pic in
8451 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8454 lt_prog_compiler_pic=
8455 lt_prog_compiler_can_build_shared=no
8471 # Check to make sure the static flag actually works.
8473 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8475 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8476 if ${lt_cv_prog_compiler_static_works+:} false; then :
8477 $as_echo_n "(cached) " >&6
8479 lt_cv_prog_compiler_static_works=no
8480 save_LDFLAGS="$LDFLAGS"
8481 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8482 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8483 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8484 # The linker can only warn and ignore the option if not recognized
8485 # So say no if there are warnings
8486 if test -s conftest.err; then
8487 # Append any errors to the config.log.
8488 cat conftest.err 1>&5
8489 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8490 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8491 if diff conftest.exp conftest.er2 >/dev/null; then
8492 lt_cv_prog_compiler_static_works=yes
8495 lt_cv_prog_compiler_static_works=yes
8499 LDFLAGS="$save_LDFLAGS"
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8503 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8505 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8508 lt_prog_compiler_static=
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8518 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8519 if ${lt_cv_prog_compiler_c_o+:} false; then :
8520 $as_echo_n "(cached) " >&6
8522 lt_cv_prog_compiler_c_o=no
8523 $RM -r conftest 2>/dev/null
8527 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8529 lt_compiler_flag="-o out/conftest2.$ac_objext"
8530 # Insert the option either (1) after the last *FLAGS variable, or
8531 # (2) before a word containing "conftest.", or (3) at the end.
8532 # Note that $ac_compile itself does not contain backslashes and begins
8533 # with a dollar sign (not a hyphen), so the echo should work correctly.
8534 lt_compile=`echo "$ac_compile" | $SED \
8535 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8536 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8537 -e 's:$: $lt_compiler_flag:'`
8538 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8539 (eval "$lt_compile" 2>out/conftest.err)
8541 cat out/conftest.err >&5
8542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8543 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8545 # The compiler can only warn and ignore the option if not recognized
8546 # So say no if there are warnings
8547 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8548 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8549 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8550 lt_cv_prog_compiler_c_o=yes
8555 # SGI C++ compiler will create directory out/ii_files/ for
8556 # template instantiation
8557 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8558 $RM out/* && rmdir out
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8565 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8573 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8574 if ${lt_cv_prog_compiler_c_o+:} false; then :
8575 $as_echo_n "(cached) " >&6
8577 lt_cv_prog_compiler_c_o=no
8578 $RM -r conftest 2>/dev/null
8582 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8584 lt_compiler_flag="-o out/conftest2.$ac_objext"
8585 # Insert the option either (1) after the last *FLAGS variable, or
8586 # (2) before a word containing "conftest.", or (3) at the end.
8587 # Note that $ac_compile itself does not contain backslashes and begins
8588 # with a dollar sign (not a hyphen), so the echo should work correctly.
8589 lt_compile=`echo "$ac_compile" | $SED \
8590 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8591 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8592 -e 's:$: $lt_compiler_flag:'`
8593 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8594 (eval "$lt_compile" 2>out/conftest.err)
8596 cat out/conftest.err >&5
8597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8598 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8600 # The compiler can only warn and ignore the option if not recognized
8601 # So say no if there are warnings
8602 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8603 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8604 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8605 lt_cv_prog_compiler_c_o=yes
8610 # SGI C++ compiler will create directory out/ii_files/ for
8611 # template instantiation
8612 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8613 $RM out/* && rmdir out
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8620 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8625 hard_links="nottested"
8626 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8627 # do not overwrite the value of need_locks provided by the user
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8629 $as_echo_n "checking if we can lock with hard links... " >&6; }
8632 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8634 ln conftest.a conftest.b 2>&5 || hard_links=no
8635 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8637 $as_echo "$hard_links" >&6; }
8638 if test "$hard_links" = no; then
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8640 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8653 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8656 allow_undefined_flag=
8657 always_export_symbols=no
8659 archive_expsym_cmds=
8660 compiler_needs_object=no
8661 enable_shared_with_static_runtimes=no
8662 export_dynamic_flag_spec=
8663 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8664 hardcode_automatic=no
8666 hardcode_direct_absolute=no
8667 hardcode_libdir_flag_spec=
8668 hardcode_libdir_separator=
8670 hardcode_shlibpath_var=unsupported
8672 link_all_deplibs=unknown
8675 old_archive_from_new_cmds=
8676 old_archive_from_expsyms_cmds=
8677 thread_safe_flag_spec=
8678 whole_archive_flag_spec=
8679 # include_expsyms should be a list of space-separated symbols to be *always*
8680 # included in the symbol list
8682 # exclude_expsyms can be an extended regexp of symbols to exclude
8683 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8684 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8685 # as well as any symbol that contains `d'.
8686 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8687 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8688 # platforms (ab)use it in PIC code, but their linkers get confused if
8689 # the symbol is explicitly referenced. Since portable code cannot
8690 # rely on this symbol name, it's probably fine to never include it in
8691 # preloaded symbol tables.
8692 # Exclude shared library initialization/finalization symbols.
8693 extract_expsyms_cmds=
8696 cygwin* | mingw* | pw32* | cegcc*)
8697 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8698 # When not using gcc, we currently assume that we are using
8699 # Microsoft Visual C++.
8700 if test "$GCC" != yes; then
8705 # we just hope/assume this is gcc and not c89 (= MSVC++)
8711 linux* | k*bsd*-gnu | gnu*)
8718 # On some targets, GNU ld is compatible enough with the native linker
8719 # that we're better off using the native interface for both.
8720 lt_use_gnu_ld_interface=no
8721 if test "$with_gnu_ld" = yes; then
8724 # The AIX port of GNU ld has always aspired to compatibility
8725 # with the native linker. However, as the warning in the GNU ld
8726 # block says, versions before 2.19.5* couldn't really create working
8727 # shared libraries, regardless of the interface used.
8728 case `$LD -v 2>&1` in
8729 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8730 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8731 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8733 lt_use_gnu_ld_interface=yes
8738 lt_use_gnu_ld_interface=yes
8743 if test "$lt_use_gnu_ld_interface" = yes; then
8744 # If archive_cmds runs LD, not CC, wlarc should be empty
8747 # Set some defaults for GNU ld with shared library support. These
8748 # are reset later if shared libraries are not supported. Putting them
8749 # here allows them to be overridden if necessary.
8750 runpath_var=LD_RUN_PATH
8751 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8752 export_dynamic_flag_spec='${wl}--export-dynamic'
8753 # ancient GNU ld didn't support --whole-archive et. al.
8754 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8755 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8757 whole_archive_flag_spec=
8759 supports_anon_versioning=no
8760 case `$LD -v 2>&1` in
8761 *GNU\ gold*) supports_anon_versioning=yes ;;
8762 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8763 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8764 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8765 *\ 2.11.*) ;; # other 2.11 versions
8766 *) supports_anon_versioning=yes ;;
8769 # See if GNU ld supports shared libraries.
8772 # On AIX/PPC, the GNU linker is very broken
8773 if test "$host_cpu" != ia64; then
8777 *** Warning: the GNU linker, at least up to release 2.19, is reported
8778 *** to be unable to reliably create shared libraries on AIX.
8779 *** Therefore, libtool is disabling shared libraries support. If you
8780 *** really care for shared libraries, you may want to install binutils
8781 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8782 *** You will then need to restart the configuration process.
8791 # see comment about AmigaOS4 .so support
8792 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8793 archive_expsym_cmds=''
8796 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)'
8797 hardcode_libdir_flag_spec='-L$libdir'
8798 hardcode_minus_L=yes
8804 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8805 allow_undefined_flag=unsupported
8806 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8807 # support --undefined. This deserves some investigation. FIXME
8808 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8814 cygwin* | mingw* | pw32* | cegcc*)
8815 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8816 # as there is no search path for DLLs.
8817 hardcode_libdir_flag_spec='-L$libdir'
8818 export_dynamic_flag_spec='${wl}--export-all-symbols'
8819 allow_undefined_flag=unsupported
8820 always_export_symbols=no
8821 enable_shared_with_static_runtimes=yes
8822 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'
8823 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8825 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8826 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8827 # If the export-symbols file already is a .def file (1st line
8828 # is EXPORTS), use it as is; otherwise, prepend...
8829 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8830 cp $export_symbols $output_objdir/$soname.def;
8832 echo EXPORTS > $output_objdir/$soname.def;
8833 cat $export_symbols >> $output_objdir/$soname.def;
8835 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8842 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8843 link_all_deplibs=yes
8848 hardcode_shlibpath_var=no
8849 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8850 export_dynamic_flag_spec='${wl}-E'
8851 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8852 # Instead, shared libraries are loaded at an image base (0x10000000 by
8853 # default) and relocated if they conflict, which is a slow very memory
8854 # consuming and fragmenting process. To avoid this, we pick a random,
8855 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8856 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8857 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8858 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'
8861 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8863 if test "$host_os" = linux-dietlibc; then
8864 case $cc_basename in
8865 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8868 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8869 && test "$tmp_diet" = no
8871 tmp_addflag=' $pic_flag'
8872 tmp_sharedflag='-shared'
8873 case $cc_basename,$host_cpu in
8874 pgcc*) # Portland Group C compiler
8875 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'
8876 tmp_addflag=' $pic_flag'
8878 pgf77* | pgf90* | pgf95* | pgfortran*)
8879 # Portland Group f77 and f90 compilers
8880 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'
8881 tmp_addflag=' $pic_flag -Mnomain' ;;
8882 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8883 tmp_addflag=' -i_dynamic' ;;
8884 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8885 tmp_addflag=' -i_dynamic -nofor_main' ;;
8886 ifc* | ifort*) # Intel Fortran compiler
8887 tmp_addflag=' -nofor_main' ;;
8888 lf95*) # Lahey Fortran 8.1
8889 whole_archive_flag_spec=
8890 tmp_sharedflag='--shared' ;;
8891 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8892 tmp_sharedflag='-qmkshrobj'
8894 nvcc*) # Cuda Compiler Driver 2.2
8895 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'
8896 compiler_needs_object=yes
8899 case `$CC -V 2>&1 | sed 5q` in
8900 *Sun\ C*) # Sun C 5.9
8901 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'
8902 compiler_needs_object=yes
8903 tmp_sharedflag='-G' ;;
8904 *Sun\ F*) # Sun Fortran 8.3
8905 tmp_sharedflag='-G' ;;
8907 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8909 if test "x$supports_anon_versioning" = xyes; then
8910 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8911 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8912 echo "local: *; };" >> $output_objdir/$libname.ver~
8913 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8916 case $cc_basename in
8917 xlf* | bgf* | bgxlf* | mpixlf*)
8918 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8919 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8920 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8921 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8922 if test "x$supports_anon_versioning" = xyes; then
8923 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8924 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8925 echo "local: *; };" >> $output_objdir/$libname.ver~
8926 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8935 netbsd* | netbsdelf*-gnu)
8936 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8937 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8940 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8941 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8946 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8950 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8951 *** create shared libraries on Solaris systems. Therefore, libtool
8952 *** is disabling shared libraries support. We urge you to upgrade GNU
8953 *** binutils to release 2.9.1 or newer. Another option is to modify
8954 *** your PATH or compiler configuration so that the native linker is
8955 *** used, and then restart.
8958 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8959 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8960 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8966 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8967 case `$LD -v 2>&1` in
8968 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8972 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8973 *** reliably create shared libraries on SCO systems. Therefore, libtool
8974 *** is disabling shared libraries support. We urge you to upgrade GNU
8975 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8976 *** your PATH or compiler configuration so that the native linker is
8977 *** used, and then restart.
8982 # For security reasons, it is highly recommended that you always
8983 # use absolute paths for naming shared libraries, and exclude the
8984 # DT_RUNPATH tag from executables and libraries. But doing so
8985 # requires that you compile everything twice, which is a pain.
8986 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8987 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8988 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8989 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8998 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9001 hardcode_shlibpath_var=no
9005 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9006 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9007 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9014 if test "$ld_shlibs" = no; then
9016 hardcode_libdir_flag_spec=
9017 export_dynamic_flag_spec=
9018 whole_archive_flag_spec=
9021 # PORTME fill in a description of your system's linker (not GNU ld)
9024 allow_undefined_flag=unsupported
9025 always_export_symbols=yes
9026 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'
9027 # Note: this linker hardcodes the directories in LIBPATH if there
9028 # are no directories specified by -L.
9029 hardcode_minus_L=yes
9030 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9031 # Neither direct hardcoding nor static linking is supported with a
9033 hardcode_direct=unsupported
9038 if test "$host_cpu" = ia64; then
9039 # On IA64, the linker does run time linking by default, so we don't
9040 # have to do anything special.
9041 aix_use_runtimelinking=no
9042 exp_sym_flag='-Bexport'
9045 # If we're using GNU nm, then we don't want the "-C" option.
9046 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9047 # Also, AIX nm treats weak defined symbols like other global
9048 # defined symbols, whereas GNU nm marks them as "W".
9049 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9050 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9052 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9054 aix_use_runtimelinking=no
9056 # Test if we are trying to use run time linking or normal
9057 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9058 # need to do runtime linking.
9059 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9060 for ld_flag in $LDFLAGS; do
9061 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9062 aix_use_runtimelinking=yes
9069 exp_sym_flag='-bexport'
9070 no_entry_flag='-bnoentry'
9073 # When large executables or shared objects are built, AIX ld can
9074 # have problems creating the table of contents. If linking a library
9075 # or program results in "error TOC overflow" add -mminimal-toc to
9076 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9077 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9081 hardcode_direct_absolute=yes
9082 hardcode_libdir_separator=':'
9083 link_all_deplibs=yes
9084 file_list_spec='${wl}-f,'
9086 if test "$GCC" = yes; then
9087 case $host_os in aix4.[012]|aix4.[012].*)
9088 # We only want to do this on AIX 4.2 and lower, the check
9089 # below for broken collect2 doesn't work under 4.3+
9090 collect2name=`${CC} -print-prog-name=collect2`
9091 if test -f "$collect2name" &&
9092 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9094 # We have reworked collect2
9097 # We have old collect2
9098 hardcode_direct=unsupported
9099 # It fails to find uninstalled libraries when the uninstalled
9100 # path is not listed in the libpath. Setting hardcode_minus_L
9101 # to unsupported forces relinking
9102 hardcode_minus_L=yes
9103 hardcode_libdir_flag_spec='-L$libdir'
9104 hardcode_libdir_separator=
9108 shared_flag='-shared'
9109 if test "$aix_use_runtimelinking" = yes; then
9110 shared_flag="$shared_flag "'${wl}-G'
9115 if test "$host_cpu" = ia64; then
9116 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9117 # chokes on -Wl,-G. The following line is correct:
9120 if test "$aix_use_runtimelinking" = yes; then
9121 shared_flag='${wl}-G'
9123 shared_flag='${wl}-bM:SRE'
9128 export_dynamic_flag_spec='${wl}-bexpall'
9129 # It seems that -bexpall does not export symbols beginning with
9130 # underscore (_), so it is better to generate a list of symbols to export.
9131 always_export_symbols=yes
9132 if test "$aix_use_runtimelinking" = yes; then
9133 # Warning - without using the other runtime loading flags (-brtl),
9134 # -berok will link without error, but may produce a broken library.
9135 allow_undefined_flag='-berok'
9136 # Determine the default libpath from the value encoded in an
9138 if test "${lt_cv_aix_libpath+set}" = set; then
9139 aix_libpath=$lt_cv_aix_libpath
9141 if ${lt_cv_aix_libpath_+:} false; then :
9142 $as_echo_n "(cached) " >&6
9144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9145 /* end confdefs.h. */
9155 if ac_fn_c_try_link "$LINENO"; then :
9157 lt_aix_libpath_sed='
9158 /Import File Strings/,/^$/ {
9160 s/^0 *\([^ ]*\) *$/\1/
9164 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9165 # Check for a 64-bit object if we didn't find anything.
9166 if test -z "$lt_cv_aix_libpath_"; then
9167 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9170 rm -f core conftest.err conftest.$ac_objext \
9171 conftest$ac_exeext conftest.$ac_ext
9172 if test -z "$lt_cv_aix_libpath_"; then
9173 lt_cv_aix_libpath_="/usr/lib:/lib"
9178 aix_libpath=$lt_cv_aix_libpath_
9181 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9182 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9184 if test "$host_cpu" = ia64; then
9185 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9186 allow_undefined_flag="-z nodefs"
9187 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"
9189 # Determine the default libpath from the value encoded in an
9191 if test "${lt_cv_aix_libpath+set}" = set; then
9192 aix_libpath=$lt_cv_aix_libpath
9194 if ${lt_cv_aix_libpath_+:} false; then :
9195 $as_echo_n "(cached) " >&6
9197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9198 /* end confdefs.h. */
9208 if ac_fn_c_try_link "$LINENO"; then :
9210 lt_aix_libpath_sed='
9211 /Import File Strings/,/^$/ {
9213 s/^0 *\([^ ]*\) *$/\1/
9217 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9218 # Check for a 64-bit object if we didn't find anything.
9219 if test -z "$lt_cv_aix_libpath_"; then
9220 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9223 rm -f core conftest.err conftest.$ac_objext \
9224 conftest$ac_exeext conftest.$ac_ext
9225 if test -z "$lt_cv_aix_libpath_"; then
9226 lt_cv_aix_libpath_="/usr/lib:/lib"
9231 aix_libpath=$lt_cv_aix_libpath_
9234 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9235 # Warning - without using the other run time loading flags,
9236 # -berok will link without error, but may produce a broken library.
9237 no_undefined_flag=' ${wl}-bernotok'
9238 allow_undefined_flag=' ${wl}-berok'
9239 if test "$with_gnu_ld" = yes; then
9240 # We only use this code for GNU lds that support --whole-archive.
9241 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9243 # Exported symbols can be pulled into shared objects from archives
9244 whole_archive_flag_spec='$convenience'
9246 archive_cmds_need_lc=yes
9247 # This is similar to how AIX traditionally builds its shared libraries.
9248 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9256 # see comment about AmigaOS4 .so support
9257 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9258 archive_expsym_cmds=''
9261 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)'
9262 hardcode_libdir_flag_spec='-L$libdir'
9263 hardcode_minus_L=yes
9269 export_dynamic_flag_spec=-rdynamic
9272 cygwin* | mingw* | pw32* | cegcc*)
9273 # When not using gcc, we currently assume that we are using
9274 # Microsoft Visual C++.
9275 # hardcode_libdir_flag_spec is actually meaningless, as there is
9276 # no search path for DLLs.
9277 case $cc_basename in
9280 hardcode_libdir_flag_spec=' '
9281 allow_undefined_flag=unsupported
9282 always_export_symbols=yes
9284 # Tell ltmain to make .lib files, not .a files.
9286 # Tell ltmain to make .dll files, not .so files.
9288 # FIXME: Setting linknames here is a bad hack.
9289 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9290 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9291 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9293 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9295 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9297 # The linker will not automatically build a static lib if we build a DLL.
9298 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9299 enable_shared_with_static_runtimes=yes
9300 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9301 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9303 old_postinstall_cmds='chmod 644 $oldlib'
9304 postlink_cmds='lt_outputfile="@OUTPUT@"~
9305 lt_tool_outputfile="@TOOL_OUTPUT@"~
9306 case $lt_outputfile in
9309 lt_outputfile="$lt_outputfile.exe"
9310 lt_tool_outputfile="$lt_tool_outputfile.exe"
9313 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9314 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9315 $RM "$lt_outputfile.manifest";
9319 # Assume MSVC wrapper
9320 hardcode_libdir_flag_spec=' '
9321 allow_undefined_flag=unsupported
9322 # Tell ltmain to make .lib files, not .a files.
9324 # Tell ltmain to make .dll files, not .so files.
9326 # FIXME: Setting linknames here is a bad hack.
9327 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9328 # The linker will automatically build a .lib file if we build a DLL.
9329 old_archive_from_new_cmds='true'
9330 # FIXME: Should let the user specify the lib program.
9331 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9332 enable_shared_with_static_runtimes=yes
9337 darwin* | rhapsody*)
9340 archive_cmds_need_lc=no
9342 hardcode_automatic=yes
9343 hardcode_shlibpath_var=unsupported
9344 if test "$lt_cv_ld_force_load" = "yes"; then
9345 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\"`'
9348 whole_archive_flag_spec=''
9350 link_all_deplibs=yes
9351 allow_undefined_flag="$_lt_dar_allow_undefined"
9352 case $cc_basename in
9353 ifort*) _lt_dar_can_shared=yes ;;
9354 *) _lt_dar_can_shared=$GCC ;;
9356 if test "$_lt_dar_can_shared" = "yes"; then
9357 output_verbose_link_cmd=func_echo_all
9358 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9359 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9360 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}"
9361 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}"
9370 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9371 hardcode_libdir_flag_spec='-L$libdir'
9372 hardcode_shlibpath_var=no
9375 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9376 # support. Future versions do this automatically, but an explicit c++rt0.o
9377 # does not break anything, and helps significantly (at the cost of a little
9380 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9381 hardcode_libdir_flag_spec='-R$libdir'
9383 hardcode_shlibpath_var=no
9386 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9388 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9390 hardcode_minus_L=yes
9391 hardcode_shlibpath_var=no
9394 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9395 freebsd* | dragonfly*)
9396 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9397 hardcode_libdir_flag_spec='-R$libdir'
9399 hardcode_shlibpath_var=no
9403 if test "$GCC" = yes; then
9404 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9406 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9408 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9409 hardcode_libdir_separator=:
9412 # hardcode_minus_L: Not really in the search PATH,
9413 # but as the default location of the library.
9414 hardcode_minus_L=yes
9415 export_dynamic_flag_spec='${wl}-E'
9419 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9420 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9422 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9424 if test "$with_gnu_ld" = no; then
9425 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9426 hardcode_libdir_separator=:
9428 hardcode_direct_absolute=yes
9429 export_dynamic_flag_spec='${wl}-E'
9430 # hardcode_minus_L: Not really in the search PATH,
9431 # but as the default location of the library.
9432 hardcode_minus_L=yes
9437 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9440 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9443 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9446 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9452 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9455 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9459 # Older versions of the 11.00 compiler do not understand -b yet
9460 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9462 $as_echo_n "checking if $CC understands -b... " >&6; }
9463 if ${lt_cv_prog_compiler__b+:} false; then :
9464 $as_echo_n "(cached) " >&6
9466 lt_cv_prog_compiler__b=no
9467 save_LDFLAGS="$LDFLAGS"
9468 LDFLAGS="$LDFLAGS -b"
9469 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9470 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9471 # The linker can only warn and ignore the option if not recognized
9472 # So say no if there are warnings
9473 if test -s conftest.err; then
9474 # Append any errors to the config.log.
9475 cat conftest.err 1>&5
9476 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9477 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9478 if diff conftest.exp conftest.er2 >/dev/null; then
9479 lt_cv_prog_compiler__b=yes
9482 lt_cv_prog_compiler__b=yes
9486 LDFLAGS="$save_LDFLAGS"
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9490 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9492 if test x"$lt_cv_prog_compiler__b" = xyes; then
9493 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9495 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9501 if test "$with_gnu_ld" = no; then
9502 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9503 hardcode_libdir_separator=:
9508 hardcode_shlibpath_var=no
9512 hardcode_direct_absolute=yes
9513 export_dynamic_flag_spec='${wl}-E'
9515 # hardcode_minus_L: Not really in the search PATH,
9516 # but as the default location of the library.
9517 hardcode_minus_L=yes
9523 irix5* | irix6* | nonstopux*)
9524 if test "$GCC" = yes; then
9525 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'
9526 # Try to use the -exported_symbol ld option, if it does not
9527 # work, assume that -exports_file does not work either and
9528 # implicitly export all symbols.
9529 # This should be the same for all languages, so no per-tag cache variable.
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9531 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9532 if ${lt_cv_irix_exported_symbol+:} false; then :
9533 $as_echo_n "(cached) " >&6
9535 save_LDFLAGS="$LDFLAGS"
9536 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9538 /* end confdefs.h. */
9539 int foo (void) { return 0; }
9541 if ac_fn_c_try_link "$LINENO"; then :
9542 lt_cv_irix_exported_symbol=yes
9544 lt_cv_irix_exported_symbol=no
9546 rm -f core conftest.err conftest.$ac_objext \
9547 conftest$ac_exeext conftest.$ac_ext
9548 LDFLAGS="$save_LDFLAGS"
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9551 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9552 if test "$lt_cv_irix_exported_symbol" = yes; then
9553 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'
9556 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'
9557 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'
9559 archive_cmds_need_lc='no'
9560 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9561 hardcode_libdir_separator=:
9563 link_all_deplibs=yes
9566 netbsd* | netbsdelf*-gnu)
9567 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9568 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9570 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9572 hardcode_libdir_flag_spec='-R$libdir'
9574 hardcode_shlibpath_var=no
9578 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9580 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9581 hardcode_libdir_separator=:
9582 hardcode_shlibpath_var=no
9589 if test -f /usr/libexec/ld.so; then
9591 hardcode_shlibpath_var=no
9592 hardcode_direct_absolute=yes
9593 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9594 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9595 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9596 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9597 export_dynamic_flag_spec='${wl}-E'
9600 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9601 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9602 hardcode_libdir_flag_spec='-R$libdir'
9605 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9606 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9616 hardcode_libdir_flag_spec='-L$libdir'
9617 hardcode_minus_L=yes
9618 allow_undefined_flag=unsupported
9619 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9620 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9624 if test "$GCC" = yes; then
9625 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9626 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'
9628 allow_undefined_flag=' -expect_unresolved \*'
9629 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'
9631 archive_cmds_need_lc='no'
9632 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9633 hardcode_libdir_separator=:
9636 osf4* | osf5*) # as osf3* with the addition of -msym flag
9637 if test "$GCC" = yes; then
9638 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9639 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'
9640 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9642 allow_undefined_flag=' -expect_unresolved \*'
9643 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'
9644 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~
9645 $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'
9647 # Both c and cxx compiler support -rpath directly
9648 hardcode_libdir_flag_spec='-rpath $libdir'
9650 archive_cmds_need_lc='no'
9651 hardcode_libdir_separator=:
9655 no_undefined_flag=' -z defs'
9656 if test "$GCC" = yes; then
9658 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9659 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9660 $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'
9662 case `$CC -V 2>&1` in
9665 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9666 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9667 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9671 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9672 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9673 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9677 hardcode_libdir_flag_spec='-R$libdir'
9678 hardcode_shlibpath_var=no
9680 solaris2.[0-5] | solaris2.[0-5].*) ;;
9682 # The compiler driver will combine and reorder linker options,
9683 # but understands `-z linker_flag'. GCC discards it without `$wl',
9684 # but is careful enough not to reorder.
9685 # Supported since Solaris 2.6 (maybe 2.5.1?)
9686 if test "$GCC" = yes; then
9687 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9689 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9693 link_all_deplibs=yes
9697 if test "x$host_vendor" = xsequent; then
9698 # Use $CC to link under sequent, because it throws in some extra .o
9699 # files that make .init and .fini sections work.
9700 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9702 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9704 hardcode_libdir_flag_spec='-L$libdir'
9706 hardcode_minus_L=yes
9707 hardcode_shlibpath_var=no
9711 case $host_vendor in
9713 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9714 hardcode_direct=yes # is this really true???
9717 ## LD is ld it makes a PLAMLIB
9718 ## CC just makes a GrossModule.
9719 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9720 reload_cmds='$CC -r -o $output$reload_objs'
9724 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9725 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9728 runpath_var='LD_RUN_PATH'
9729 hardcode_shlibpath_var=no
9733 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9734 hardcode_shlibpath_var=no
9735 export_dynamic_flag_spec='-Bexport'
9739 if test -d /usr/nec; then
9740 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9741 hardcode_shlibpath_var=no
9742 runpath_var=LD_RUN_PATH
9743 hardcode_runpath_var=yes
9748 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9749 no_undefined_flag='${wl}-z,text'
9750 archive_cmds_need_lc=no
9751 hardcode_shlibpath_var=no
9752 runpath_var='LD_RUN_PATH'
9754 if test "$GCC" = yes; then
9755 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9756 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9758 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9759 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9763 sysv5* | sco3.2v5* | sco5v6*)
9764 # Note: We can NOT use -z defs as we might desire, because we do not
9765 # link with -lc, and that would cause any symbols used from libc to
9766 # always be unresolved, which means just about no library would
9767 # ever link correctly. If we're not using GNU ld we use -z text
9768 # though, which does catch some bad symbols but isn't as heavy-handed
9770 no_undefined_flag='${wl}-z,text'
9771 allow_undefined_flag='${wl}-z,nodefs'
9772 archive_cmds_need_lc=no
9773 hardcode_shlibpath_var=no
9774 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9775 hardcode_libdir_separator=':'
9776 link_all_deplibs=yes
9777 export_dynamic_flag_spec='${wl}-Bexport'
9778 runpath_var='LD_RUN_PATH'
9780 if test "$GCC" = yes; then
9781 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9782 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9784 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9785 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9790 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9791 hardcode_libdir_flag_spec='-L$libdir'
9792 hardcode_shlibpath_var=no
9800 if test x$host_vendor = xsni; then
9802 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9803 export_dynamic_flag_spec='${wl}-Blargedynsym'
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9810 $as_echo "$ld_shlibs" >&6; }
9811 test "$ld_shlibs" = no && can_build_shared=no
9813 with_gnu_ld=$with_gnu_ld
9830 # Do we need to explicitly link libc?
9832 case "x$archive_cmds_need_lc" in
9834 # Assume -lc should be added
9835 archive_cmds_need_lc=yes
9837 if test "$enable_shared" = yes && test "$GCC" = yes; then
9838 case $archive_cmds in
9840 # FIXME: we may have to deal with multi-command sequences.
9843 # Test whether the compiler implicitly links with -lc since on some
9844 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9845 # to ld, don't add -lc before -lgcc.
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9847 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9848 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9849 $as_echo_n "(cached) " >&6
9852 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9854 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9855 (eval $ac_compile) 2>&5
9857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9858 test $ac_status = 0; } 2>conftest.err; then
9861 libobjs=conftest.$ac_objext
9863 wl=$lt_prog_compiler_wl
9864 pic_flag=$lt_prog_compiler_pic
9870 lt_save_allow_undefined_flag=$allow_undefined_flag
9871 allow_undefined_flag=
9872 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9873 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9876 test $ac_status = 0; }
9878 lt_cv_archive_cmds_need_lc=no
9880 lt_cv_archive_cmds_need_lc=yes
9882 allow_undefined_flag=$lt_save_allow_undefined_flag
9884 cat conftest.err 1>&5
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9890 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9891 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10050 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10052 if test "$GCC" = yes; then
10054 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10055 *) lt_awk_arg="/^libraries:/" ;;
10058 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10059 *) lt_sed_strip_eq="s,=/,/,g" ;;
10061 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10062 case $lt_search_path_spec in
10064 # if the path contains ";" then we assume it to be the separator
10065 # otherwise default to the standard path separator (i.e. ":") - it is
10066 # assumed that no part of a normal pathname contains ";" but that should
10067 # okay in the real world where ";" in dirpaths is itself problematic.
10068 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10071 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10074 # Ok, now we have the path, separated by spaces, we can step through it
10075 # and add multilib dir if necessary.
10076 lt_tmp_lt_search_path_spec=
10077 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10078 for lt_sys_path in $lt_search_path_spec; do
10079 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10080 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10082 test -d "$lt_sys_path" && \
10083 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10086 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10087 BEGIN {RS=" "; FS="/|\n";} {
10090 for (lt_i = NF; lt_i > 0; lt_i--) {
10091 if ($lt_i != "" && $lt_i != ".") {
10092 if ($lt_i == "..") {
10095 if (lt_count == 0) {
10096 lt_foo="/" $lt_i lt_foo;
10103 if (lt_foo != "") { lt_freq[lt_foo]++; }
10104 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10106 # AWK program above erroneously prepends '/' to C:/dos/paths
10109 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10110 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10112 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10114 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10116 library_names_spec=
10117 libname_spec='lib$name'
10121 postuninstall_cmds=
10125 shlibpath_overrides_runpath=unknown
10127 dynamic_linker="$host_os ld.so"
10128 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10129 need_lib_prefix=unknown
10130 hardcode_into_libs=no
10132 # when you set need_version to no, make sure it does not cause -set_version
10133 # flags to be left without arguments
10134 need_version=unknown
10138 version_type=linux # correct to gnu/linux during the next big refactor
10139 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10140 shlibpath_var=LIBPATH
10142 # AIX 3 has no versioning support, so we append a major version to the name.
10143 soname_spec='${libname}${release}${shared_ext}$major'
10147 version_type=linux # correct to gnu/linux during the next big refactor
10150 hardcode_into_libs=yes
10151 if test "$host_cpu" = ia64; then
10152 # AIX 5 supports IA64
10153 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10154 shlibpath_var=LD_LIBRARY_PATH
10156 # With GCC up to 2.95.x, collect2 would create an import file
10157 # for dependence libraries. The import file would start with
10158 # the line `#! .'. This would cause the generated library to
10159 # depend on `.', always an invalid library. This was fixed in
10160 # development snapshots of GCC prior to 3.0.
10162 aix4 | aix4.[01] | aix4.[01].*)
10163 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10165 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10168 can_build_shared=no
10172 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10173 # soname into executable. Probably we can add versioning support to
10174 # collect2, so additional links can be useful in future.
10175 if test "$aix_use_runtimelinking" = yes; then
10176 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10177 # instead of lib<name>.a to let people know that these are not
10178 # typical AIX shared libraries.
10179 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10181 # We preserve .a as extension for shared libraries through AIX4.2
10182 # and later when we are not doing run time linking.
10183 library_names_spec='${libname}${release}.a $libname.a'
10184 soname_spec='${libname}${release}${shared_ext}$major'
10186 shlibpath_var=LIBPATH
10193 # Since July 2007 AmigaOS4 officially supports .so libraries.
10194 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10195 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10198 library_names_spec='$libname.ixlibrary $libname.a'
10199 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10200 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10206 library_names_spec='${libname}${shared_ext}'
10207 dynamic_linker="$host_os ld.so"
10208 shlibpath_var=LIBRARY_PATH
10212 version_type=linux # correct to gnu/linux during the next big refactor
10214 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10215 soname_spec='${libname}${release}${shared_ext}$major'
10216 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10217 shlibpath_var=LD_LIBRARY_PATH
10218 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10219 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10220 # the default ld.so.conf also contains /usr/contrib/lib and
10221 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10222 # libtool to hard-code these into programs
10225 cygwin* | mingw* | pw32* | cegcc*)
10226 version_type=windows
10231 case $GCC,$cc_basename in
10234 library_names_spec='$libname.dll.a'
10235 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10236 postinstall_cmds='base_file=`basename \${file}`~
10237 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10238 dldir=$destdir/`dirname \$dlpath`~
10239 test -d \$dldir || mkdir -p \$dldir~
10240 $install_prog $dir/$dlname \$dldir/$dlname~
10241 chmod a+x \$dldir/$dlname~
10242 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10243 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10245 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10246 dlpath=$dir/\$dldll~
10248 shlibpath_overrides_runpath=yes
10252 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10253 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10255 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10258 # MinGW DLLs use traditional 'lib' prefix
10259 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10262 # pw32 DLLs use 'pw' prefix rather than 'lib'
10263 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10266 dynamic_linker='Win32 ld.exe'
10271 libname_spec='$name'
10272 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10273 library_names_spec='${libname}.dll.lib'
10277 sys_lib_search_path_spec=
10280 for lt_path in $LIB
10283 # Let DOS variable expansion print the short 8.3 style file name.
10284 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10285 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10288 # Convert to MSYS style.
10289 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10292 # Convert to unix form, then to dos form, then back to unix form
10293 # but this time dos style (no spaces!) so that the unix form looks
10294 # like /cygdrive/c/PROGRA~1:/cygdr...
10295 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10296 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10297 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10300 sys_lib_search_path_spec="$LIB"
10301 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10302 # It is most probably a Windows format PATH.
10303 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10305 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10307 # FIXME: find the short name or the path components, as spaces are
10308 # common. (e.g. "Program Files" -> "PROGRA~1")
10312 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10313 postinstall_cmds='base_file=`basename \${file}`~
10314 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10315 dldir=$destdir/`dirname \$dlpath`~
10316 test -d \$dldir || mkdir -p \$dldir~
10317 $install_prog $dir/$dlname \$dldir/$dlname'
10318 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10319 dlpath=$dir/\$dldll~
10321 shlibpath_overrides_runpath=yes
10322 dynamic_linker='Win32 link.exe'
10326 # Assume MSVC wrapper
10327 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10328 dynamic_linker='Win32 ld.exe'
10331 # FIXME: first we should search . and the directory the executable is in
10335 darwin* | rhapsody*)
10336 dynamic_linker="$host_os dyld"
10337 version_type=darwin
10340 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10341 soname_spec='${libname}${release}${major}$shared_ext'
10342 shlibpath_overrides_runpath=yes
10343 shlibpath_var=DYLD_LIBRARY_PATH
10344 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10346 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10347 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10351 version_type=linux # correct to gnu/linux during the next big refactor
10354 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10355 soname_spec='${libname}${release}${shared_ext}$major'
10356 shlibpath_var=LD_LIBRARY_PATH
10359 freebsd* | dragonfly*)
10360 # DragonFly does not have aout. When/if they implement a new
10361 # versioning mechanism, adjust this.
10362 if test -x /usr/bin/objformat; then
10363 objformat=`/usr/bin/objformat`
10366 freebsd[23].*) objformat=aout ;;
10367 *) objformat=elf ;;
10370 version_type=freebsd-$objformat
10371 case $version_type in
10373 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10378 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10382 shlibpath_var=LD_LIBRARY_PATH
10385 shlibpath_overrides_runpath=yes
10387 freebsd3.[01]* | freebsdelf3.[01]*)
10388 shlibpath_overrides_runpath=yes
10389 hardcode_into_libs=yes
10391 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10392 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10393 shlibpath_overrides_runpath=no
10394 hardcode_into_libs=yes
10396 *) # from 4.6 on, and DragonFly
10397 shlibpath_overrides_runpath=yes
10398 hardcode_into_libs=yes
10404 version_type=linux # correct to gnu/linux during the next big refactor
10407 dynamic_linker="$host_os runtime_loader"
10408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10409 soname_spec='${libname}${release}${shared_ext}$major'
10410 shlibpath_var=LIBRARY_PATH
10411 shlibpath_overrides_runpath=yes
10412 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10413 hardcode_into_libs=yes
10416 hpux9* | hpux10* | hpux11*)
10417 # Give a soname corresponding to the major version so that dld.sl refuses to
10418 # link against other versions.
10425 hardcode_into_libs=yes
10426 dynamic_linker="$host_os dld.so"
10427 shlibpath_var=LD_LIBRARY_PATH
10428 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10429 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10430 soname_spec='${libname}${release}${shared_ext}$major'
10431 if test "X$HPUX_IA64_MODE" = X32; then
10432 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10434 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10436 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10440 hardcode_into_libs=yes
10441 dynamic_linker="$host_os dld.sl"
10442 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10443 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10444 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10445 soname_spec='${libname}${release}${shared_ext}$major'
10446 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10447 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10451 dynamic_linker="$host_os dld.sl"
10452 shlibpath_var=SHLIB_PATH
10453 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10455 soname_spec='${libname}${release}${shared_ext}$major'
10458 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10459 postinstall_cmds='chmod 555 $lib'
10460 # or fails outright, so override atomically:
10461 install_override_mode=555
10465 version_type=linux # correct to gnu/linux during the next big refactor
10468 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10469 soname_spec='${libname}${release}${shared_ext}$major'
10470 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10471 shlibpath_var=LD_LIBRARY_PATH
10472 shlibpath_overrides_runpath=no
10473 hardcode_into_libs=yes
10476 irix5* | irix6* | nonstopux*)
10478 nonstopux*) version_type=nonstopux ;;
10480 if test "$lt_cv_prog_gnu_ld" = yes; then
10481 version_type=linux # correct to gnu/linux during the next big refactor
10488 soname_spec='${libname}${release}${shared_ext}$major'
10489 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10491 irix5* | nonstopux*)
10492 libsuff= shlibsuff=
10495 case $LD in # libtool.m4 will add one of these switches to LD
10496 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10497 libsuff= shlibsuff= libmagic=32-bit;;
10498 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10499 libsuff=32 shlibsuff=N32 libmagic=N32;;
10500 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10501 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10502 *) libsuff= shlibsuff= libmagic=never-match;;
10506 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10507 shlibpath_overrides_runpath=no
10508 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10509 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10510 hardcode_into_libs=yes
10513 # No shared lib support for Linux oldld, aout, or coff.
10514 linux*oldld* | linux*aout* | linux*coff*)
10518 # This must be glibc/ELF.
10519 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10520 version_type=linux # correct to gnu/linux during the next big refactor
10523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10524 soname_spec='${libname}${release}${shared_ext}$major'
10525 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10526 shlibpath_var=LD_LIBRARY_PATH
10527 shlibpath_overrides_runpath=no
10529 # Some binutils ld are patched to set DT_RUNPATH
10530 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10531 $as_echo_n "(cached) " >&6
10533 lt_cv_shlibpath_overrides_runpath=no
10534 save_LDFLAGS=$LDFLAGS
10535 save_libdir=$libdir
10536 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10537 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10539 /* end confdefs.h. */
10549 if ac_fn_c_try_link "$LINENO"; then :
10550 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10551 lt_cv_shlibpath_overrides_runpath=yes
10554 rm -f core conftest.err conftest.$ac_objext \
10555 conftest$ac_exeext conftest.$ac_ext
10556 LDFLAGS=$save_LDFLAGS
10557 libdir=$save_libdir
10561 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10563 # This implies no fast_install, which is unacceptable.
10564 # Some rework will be needed to allow for fast_install
10565 # before this can be enabled.
10566 hardcode_into_libs=yes
10568 # Append ld.so.conf contents to the search path
10569 if test -f /etc/ld.so.conf; then
10570 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' ' '`
10571 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10574 # We used to test for /lib/ld.so.1 and disable shared libraries on
10575 # powerpc, because MkLinux only supported shared libraries with the
10576 # GNU dynamic linker. Since this was broken with cross compilers,
10577 # most powerpc-linux boxes support dynamic linking these days and
10578 # people can always --disable-shared, the test was removed, and we
10579 # assume the GNU/Linux dynamic linker is in use.
10580 dynamic_linker='GNU/Linux ld.so'
10587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10588 soname_spec='${libname}${release}${shared_ext}$major'
10589 shlibpath_var=LD_LIBRARY_PATH
10590 shlibpath_overrides_runpath=no
10591 hardcode_into_libs=yes
10592 dynamic_linker='NetBSD ld.elf_so'
10599 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10601 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10602 dynamic_linker='NetBSD (a.out) ld.so'
10604 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10605 soname_spec='${libname}${release}${shared_ext}$major'
10606 dynamic_linker='NetBSD ld.elf_so'
10608 shlibpath_var=LD_LIBRARY_PATH
10609 shlibpath_overrides_runpath=yes
10610 hardcode_into_libs=yes
10614 version_type=linux # correct to gnu/linux during the next big refactor
10615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10616 shlibpath_var=LD_LIBRARY_PATH
10617 shlibpath_overrides_runpath=yes
10624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10625 soname_spec='${libname}${release}${shared_ext}$major'
10626 shlibpath_var=LD_LIBRARY_PATH
10627 shlibpath_overrides_runpath=no
10628 hardcode_into_libs=yes
10629 dynamic_linker='ldqnx.so'
10634 sys_lib_dlsearch_path_spec="/usr/lib"
10636 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10638 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10639 *) need_version=no ;;
10641 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10642 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10643 shlibpath_var=LD_LIBRARY_PATH
10644 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10646 openbsd2.[89] | openbsd2.[89].*)
10647 shlibpath_overrides_runpath=no
10650 shlibpath_overrides_runpath=yes
10654 shlibpath_overrides_runpath=yes
10659 libname_spec='$name'
10662 library_names_spec='$libname${shared_ext} $libname.a'
10663 dynamic_linker='OS/2 ld.exe'
10664 shlibpath_var=LIBPATH
10667 osf3* | osf4* | osf5*)
10671 soname_spec='${libname}${release}${shared_ext}$major'
10672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10673 shlibpath_var=LD_LIBRARY_PATH
10674 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10675 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10683 version_type=linux # correct to gnu/linux during the next big refactor
10686 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10687 soname_spec='${libname}${release}${shared_ext}$major'
10688 shlibpath_var=LD_LIBRARY_PATH
10689 shlibpath_overrides_runpath=yes
10690 hardcode_into_libs=yes
10691 # ldd complains unless libraries are executable
10692 postinstall_cmds='chmod +x $lib'
10697 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10698 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10699 shlibpath_var=LD_LIBRARY_PATH
10700 shlibpath_overrides_runpath=yes
10701 if test "$with_gnu_ld" = yes; then
10708 version_type=linux # correct to gnu/linux during the next big refactor
10709 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10710 soname_spec='${libname}${release}${shared_ext}$major'
10711 shlibpath_var=LD_LIBRARY_PATH
10712 case $host_vendor in
10714 shlibpath_overrides_runpath=no
10716 runpath_var=LD_RUN_PATH
10724 shlibpath_overrides_runpath=no
10725 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10731 if test -d /usr/nec ;then
10732 version_type=linux # correct to gnu/linux during the next big refactor
10733 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10734 soname_spec='$libname${shared_ext}.$major'
10735 shlibpath_var=LD_LIBRARY_PATH
10739 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10740 version_type=freebsd-elf
10743 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10744 soname_spec='${libname}${release}${shared_ext}$major'
10745 shlibpath_var=LD_LIBRARY_PATH
10746 shlibpath_overrides_runpath=yes
10747 hardcode_into_libs=yes
10748 if test "$with_gnu_ld" = yes; then
10749 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10751 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10754 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10758 sys_lib_dlsearch_path_spec='/usr/lib'
10762 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10763 version_type=linux # correct to gnu/linux during the next big refactor
10766 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10767 shlibpath_var=LD_LIBRARY_PATH
10768 shlibpath_overrides_runpath=no
10769 hardcode_into_libs=yes
10773 version_type=linux # correct to gnu/linux during the next big refactor
10774 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10775 soname_spec='${libname}${release}${shared_ext}$major'
10776 shlibpath_var=LD_LIBRARY_PATH
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10784 $as_echo "$dynamic_linker" >&6; }
10785 test "$dynamic_linker" = no && can_build_shared=no
10787 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10788 if test "$GCC" = yes; then
10789 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10792 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10793 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10795 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10796 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10891 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10893 if test -n "$hardcode_libdir_flag_spec" ||
10894 test -n "$runpath_var" ||
10895 test "X$hardcode_automatic" = "Xyes" ; then
10897 # We can hardcode non-existent directories.
10898 if test "$hardcode_direct" != no &&
10899 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10900 # have to relink, otherwise we might link with an installed library
10901 # when we should be linking with a yet-to-be-installed one
10902 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10903 test "$hardcode_minus_L" != no; then
10904 # Linking always hardcodes the temporary library directory.
10905 hardcode_action=relink
10907 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10908 hardcode_action=immediate
10911 # We cannot hardcode anything, or else we can only hardcode existing
10913 hardcode_action=unsupported
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10916 $as_echo "$hardcode_action" >&6; }
10918 if test "$hardcode_action" = relink ||
10919 test "$inherit_rpath" = yes; then
10920 # Fast installation is not supported
10921 enable_fast_install=no
10922 elif test "$shlibpath_overrides_runpath" = yes ||
10923 test "$enable_shared" = no; then
10924 # Fast installation is not necessary
10925 enable_fast_install=needless
10933 if test "x$enable_dlopen" != xyes; then
10934 enable_dlopen=unknown
10935 enable_dlopen_self=unknown
10936 enable_dlopen_self_static=unknown
10943 lt_cv_dlopen="load_add_on"
10945 lt_cv_dlopen_self=yes
10948 mingw* | pw32* | cegcc*)
10949 lt_cv_dlopen="LoadLibrary"
10954 lt_cv_dlopen="dlopen"
10959 # if libdl is installed we need to link against it
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10961 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10962 if ${ac_cv_lib_dl_dlopen+:} false; then :
10963 $as_echo_n "(cached) " >&6
10965 ac_check_lib_save_LIBS=$LIBS
10967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10968 /* end confdefs.h. */
10970 /* Override any GCC internal prototype to avoid an error.
10971 Use char because int might match the return type of a GCC
10972 builtin and then its argument prototype would still apply. */
10985 if ac_fn_c_try_link "$LINENO"; then :
10986 ac_cv_lib_dl_dlopen=yes
10988 ac_cv_lib_dl_dlopen=no
10990 rm -f core conftest.err conftest.$ac_objext \
10991 conftest$ac_exeext conftest.$ac_ext
10992 LIBS=$ac_check_lib_save_LIBS
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10995 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10996 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10997 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11000 lt_cv_dlopen="dyld"
11002 lt_cv_dlopen_self=yes
11009 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11010 if test "x$ac_cv_func_shl_load" = xyes; then :
11011 lt_cv_dlopen="shl_load"
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11014 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11015 if ${ac_cv_lib_dld_shl_load+:} false; then :
11016 $as_echo_n "(cached) " >&6
11018 ac_check_lib_save_LIBS=$LIBS
11020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11021 /* end confdefs.h. */
11023 /* Override any GCC internal prototype to avoid an error.
11024 Use char because int might match the return type of a GCC
11025 builtin and then its argument prototype would still apply. */
11033 return shl_load ();
11038 if ac_fn_c_try_link "$LINENO"; then :
11039 ac_cv_lib_dld_shl_load=yes
11041 ac_cv_lib_dld_shl_load=no
11043 rm -f core conftest.err conftest.$ac_objext \
11044 conftest$ac_exeext conftest.$ac_ext
11045 LIBS=$ac_check_lib_save_LIBS
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11048 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11049 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11050 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11052 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11053 if test "x$ac_cv_func_dlopen" = xyes; then :
11054 lt_cv_dlopen="dlopen"
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11057 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11058 if ${ac_cv_lib_dl_dlopen+:} false; then :
11059 $as_echo_n "(cached) " >&6
11061 ac_check_lib_save_LIBS=$LIBS
11063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11064 /* end confdefs.h. */
11066 /* Override any GCC internal prototype to avoid an error.
11067 Use char because int might match the return type of a GCC
11068 builtin and then its argument prototype would still apply. */
11081 if ac_fn_c_try_link "$LINENO"; then :
11082 ac_cv_lib_dl_dlopen=yes
11084 ac_cv_lib_dl_dlopen=no
11086 rm -f core conftest.err conftest.$ac_objext \
11087 conftest$ac_exeext conftest.$ac_ext
11088 LIBS=$ac_check_lib_save_LIBS
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11091 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11092 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11093 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11096 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11097 if ${ac_cv_lib_svld_dlopen+:} false; then :
11098 $as_echo_n "(cached) " >&6
11100 ac_check_lib_save_LIBS=$LIBS
11101 LIBS="-lsvld $LIBS"
11102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11103 /* end confdefs.h. */
11105 /* Override any GCC internal prototype to avoid an error.
11106 Use char because int might match the return type of a GCC
11107 builtin and then its argument prototype would still apply. */
11120 if ac_fn_c_try_link "$LINENO"; then :
11121 ac_cv_lib_svld_dlopen=yes
11123 ac_cv_lib_svld_dlopen=no
11125 rm -f core conftest.err conftest.$ac_objext \
11126 conftest$ac_exeext conftest.$ac_ext
11127 LIBS=$ac_check_lib_save_LIBS
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11130 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11131 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11132 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11135 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11136 if ${ac_cv_lib_dld_dld_link+:} false; then :
11137 $as_echo_n "(cached) " >&6
11139 ac_check_lib_save_LIBS=$LIBS
11141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11142 /* end confdefs.h. */
11144 /* Override any GCC internal prototype to avoid an error.
11145 Use char because int might match the return type of a GCC
11146 builtin and then its argument prototype would still apply. */
11154 return dld_link ();
11159 if ac_fn_c_try_link "$LINENO"; then :
11160 ac_cv_lib_dld_dld_link=yes
11162 ac_cv_lib_dld_dld_link=no
11164 rm -f core conftest.err conftest.$ac_objext \
11165 conftest$ac_exeext conftest.$ac_ext
11166 LIBS=$ac_check_lib_save_LIBS
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11169 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11170 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11171 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11192 if test "x$lt_cv_dlopen" != xno; then
11198 case $lt_cv_dlopen in
11200 save_CPPFLAGS="$CPPFLAGS"
11201 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11203 save_LDFLAGS="$LDFLAGS"
11204 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11207 LIBS="$lt_cv_dlopen_libs $LIBS"
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11210 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11211 if ${lt_cv_dlopen_self+:} false; then :
11212 $as_echo_n "(cached) " >&6
11214 if test "$cross_compiling" = yes; then :
11215 lt_cv_dlopen_self=cross
11217 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11218 lt_status=$lt_dlunknown
11219 cat > conftest.$ac_ext <<_LT_EOF
11220 #line $LINENO "configure"
11221 #include "confdefs.h"
11230 # define LT_DLGLOBAL RTLD_GLOBAL
11233 # define LT_DLGLOBAL DL_GLOBAL
11235 # define LT_DLGLOBAL 0
11239 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11240 find out it does not work in some platform. */
11241 #ifndef LT_DLLAZY_OR_NOW
11243 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11246 # define LT_DLLAZY_OR_NOW DL_LAZY
11249 # define LT_DLLAZY_OR_NOW RTLD_NOW
11252 # define LT_DLLAZY_OR_NOW DL_NOW
11254 # define LT_DLLAZY_OR_NOW 0
11261 /* When -fvisbility=hidden is used, assume the code has been annotated
11262 correspondingly for the symbols needed. */
11263 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11264 int fnord () __attribute__((visibility("default")));
11267 int fnord () { return 42; }
11270 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11271 int status = $lt_dlunknown;
11275 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11278 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11279 else puts (dlerror ());
11281 /* dlclose (self); */
11289 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11290 (eval $ac_link) 2>&5
11292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11293 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11294 (./conftest; exit; ) >&5 2>/dev/null
11296 case x$lt_status in
11297 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11298 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11299 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11302 # compilation failed
11303 lt_cv_dlopen_self=no
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11311 $as_echo "$lt_cv_dlopen_self" >&6; }
11313 if test "x$lt_cv_dlopen_self" = xyes; then
11314 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11316 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11317 if ${lt_cv_dlopen_self_static+:} false; then :
11318 $as_echo_n "(cached) " >&6
11320 if test "$cross_compiling" = yes; then :
11321 lt_cv_dlopen_self_static=cross
11323 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11324 lt_status=$lt_dlunknown
11325 cat > conftest.$ac_ext <<_LT_EOF
11326 #line $LINENO "configure"
11327 #include "confdefs.h"
11336 # define LT_DLGLOBAL RTLD_GLOBAL
11339 # define LT_DLGLOBAL DL_GLOBAL
11341 # define LT_DLGLOBAL 0
11345 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11346 find out it does not work in some platform. */
11347 #ifndef LT_DLLAZY_OR_NOW
11349 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11352 # define LT_DLLAZY_OR_NOW DL_LAZY
11355 # define LT_DLLAZY_OR_NOW RTLD_NOW
11358 # define LT_DLLAZY_OR_NOW DL_NOW
11360 # define LT_DLLAZY_OR_NOW 0
11367 /* When -fvisbility=hidden is used, assume the code has been annotated
11368 correspondingly for the symbols needed. */
11369 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11370 int fnord () __attribute__((visibility("default")));
11373 int fnord () { return 42; }
11376 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11377 int status = $lt_dlunknown;
11381 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11384 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11385 else puts (dlerror ());
11387 /* dlclose (self); */
11395 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11396 (eval $ac_link) 2>&5
11398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11399 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11400 (./conftest; exit; ) >&5 2>/dev/null
11402 case x$lt_status in
11403 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11404 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11405 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11408 # compilation failed
11409 lt_cv_dlopen_self_static=no
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11417 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11420 CPPFLAGS="$save_CPPFLAGS"
11421 LDFLAGS="$save_LDFLAGS"
11426 case $lt_cv_dlopen_self in
11427 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11428 *) enable_dlopen_self=unknown ;;
11431 case $lt_cv_dlopen_self_static in
11432 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11433 *) enable_dlopen_self_static=unknown ;;
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11456 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11457 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11458 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11459 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11461 $as_echo "yes" >&6; }
11463 # FIXME - insert some real tests, host_os isn't really good enough
11466 if test -n "$STRIP" ; then
11467 striplib="$STRIP -x"
11468 old_striplib="$STRIP -S"
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11470 $as_echo "yes" >&6; }
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11473 $as_echo "no" >&6; }
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11478 $as_echo "no" >&6; }
11494 # Report which library types will actually be built
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11496 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11498 $as_echo "$can_build_shared" >&6; }
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11501 $as_echo_n "checking whether to build shared libraries... " >&6; }
11502 test "$can_build_shared" = "no" && enable_shared=no
11504 # On AIX, shared libraries and static libraries use the same namespace, and
11505 # are all built from PIC.
11508 test "$enable_shared" = yes && enable_static=no
11509 if test -n "$RANLIB"; then
11510 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11511 postinstall_cmds='$RANLIB $lib'
11516 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11517 test "$enable_shared" = yes && enable_static=no
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11522 $as_echo "$enable_shared" >&6; }
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11525 $as_echo_n "checking whether to build static libraries... " >&6; }
11526 # Make sure either enable_shared or enable_static is yes.
11527 test "$enable_shared" = yes || enable_static=yes
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11529 $as_echo "$enable_static" >&6; }
11536 ac_cpp='$CPP $CPPFLAGS'
11537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11557 ac_config_commands="$ac_config_commands libtool"
11562 # Only expand once:
11566 # Extract the first word of "doxygen", so it can be a program name with args.
11567 set dummy doxygen; ac_word=$2
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11569 $as_echo_n "checking for $ac_word... " >&6; }
11570 if ${ac_cv_prog_DOXYGEN+:} false; then :
11571 $as_echo_n "(cached) " >&6
11573 if test -n "$DOXYGEN"; then
11574 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
11576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11577 for as_dir in $PATH
11580 test -z "$as_dir" && as_dir=.
11581 for ac_exec_ext in '' $ac_executable_extensions; do
11582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11583 ac_cv_prog_DOXYGEN="true"
11584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11591 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="false"
11594 DOXYGEN=$ac_cv_prog_DOXYGEN
11595 if test -n "$DOXYGEN"; then
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
11597 $as_echo "$DOXYGEN" >&6; }
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11600 $as_echo "no" >&6; }
11604 if test "$DOXYGEN" = true; then
11613 # Checks for header files.
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11615 $as_echo_n "checking for ANSI C header files... " >&6; }
11616 if ${ac_cv_header_stdc+:} false; then :
11617 $as_echo_n "(cached) " >&6
11619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11620 /* end confdefs.h. */
11621 #include <stdlib.h>
11622 #include <stdarg.h>
11623 #include <string.h>
11634 if ac_fn_c_try_compile "$LINENO"; then :
11635 ac_cv_header_stdc=yes
11637 ac_cv_header_stdc=no
11639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11641 if test $ac_cv_header_stdc = yes; then
11642 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11644 /* end confdefs.h. */
11645 #include <string.h>
11648 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11649 $EGREP "memchr" >/dev/null 2>&1; then :
11652 ac_cv_header_stdc=no
11658 if test $ac_cv_header_stdc = yes; then
11659 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11661 /* end confdefs.h. */
11662 #include <stdlib.h>
11665 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11666 $EGREP "free" >/dev/null 2>&1; then :
11669 ac_cv_header_stdc=no
11675 if test $ac_cv_header_stdc = yes; then
11676 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11677 if test "$cross_compiling" = yes; then :
11680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11681 /* end confdefs.h. */
11683 #include <stdlib.h>
11684 #if ((' ' & 0x0FF) == 0x020)
11685 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11686 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11688 # define ISLOWER(c) \
11689 (('a' <= (c) && (c) <= 'i') \
11690 || ('j' <= (c) && (c) <= 'r') \
11691 || ('s' <= (c) && (c) <= 'z'))
11692 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11695 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11700 for (i = 0; i < 256; i++)
11701 if (XOR (islower (i), ISLOWER (i))
11702 || toupper (i) != TOUPPER (i))
11707 if ac_fn_c_try_run "$LINENO"; then :
11710 ac_cv_header_stdc=no
11712 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11713 conftest.$ac_objext conftest.beam conftest.$ac_ext
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
11719 $as_echo "$ac_cv_header_stdc" >&6; }
11720 if test $ac_cv_header_stdc = yes; then
11722 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
11726 for ac_header in stdlib.h
11728 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
11729 if test "x$ac_cv_header_stdlib_h" = xyes; then :
11730 cat >>confdefs.h <<_ACEOF
11731 #define HAVE_STDLIB_H 1
11739 # Checks for typedefs, structures, and compiler characteristics.
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
11741 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
11742 if ${ac_cv_c_const+:} false; then :
11743 $as_echo_n "(cached) " >&6
11745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11746 /* end confdefs.h. */
11752 #ifndef __cplusplus
11753 /* Ultrix mips cc rejects this sort of thing. */
11754 typedef int charset[2];
11755 const charset cs = { 0, 0 };
11756 /* SunOS 4.1.1 cc rejects this. */
11757 char const *const *pcpcc;
11759 /* NEC SVR4.0.2 mips cc rejects this. */
11760 struct point {int x, y;};
11761 static struct point const zero = {0,0};
11762 /* AIX XL C 1.02.0.0 rejects this.
11763 It does not let you subtract one const X* pointer from another in
11764 an arm of an if-expression whose if-part is not a constant
11766 const char *g = "string";
11767 pcpcc = &g + (g ? g-g : 0);
11768 /* HPUX 7.0 cc rejects these. */
11770 ppc = (char**) pcpcc;
11771 pcpcc = (char const *const *) ppc;
11772 { /* SCO 3.2v4 cc rejects this sort of thing. */
11775 char const *s = 0 ? (char *) 0 : (char const *) 0;
11780 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11781 int x[] = {25, 17};
11782 const int *foo = &x[0];
11785 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11786 typedef const int *iptr;
11790 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
11791 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11792 struct s { int j; const int *ap[3]; } bx;
11793 struct s *b = &bx; b->j = 5;
11795 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11796 const int foo = 10;
11797 if (!foo) return 0;
11799 return !cs[0] && !zero.x;
11806 if ac_fn_c_try_compile "$LINENO"; then :
11811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
11814 $as_echo "$ac_cv_c_const" >&6; }
11815 if test $ac_cv_c_const = no; then
11817 $as_echo "#define const /**/" >>confdefs.h
11821 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
11822 if test "x$ac_cv_type_size_t" = xyes; then :
11826 cat >>confdefs.h <<_ACEOF
11827 #define size_t unsigned int
11833 # Define Makefiles.
11834 ac_config_files="$ac_config_files yaml-0.1.pc include/Makefile src/Makefile Makefile tests/Makefile win32/Makefile"
11837 # Generate the "configure" script.
11838 cat >confcache <<\_ACEOF
11839 # This file is a shell script that caches the results of configure
11840 # tests run on this system so they can be shared between configure
11841 # scripts and configure runs, see configure's option --config-cache.
11842 # It is not useful on other systems. If it contains results you don't
11843 # want to keep, you may remove or edit it.
11845 # config.status only pays attention to the cache file if you give it
11846 # the --recheck option to rerun configure.
11848 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11849 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11850 # following values.
11854 # The following way of writing the cache mishandles newlines in values,
11855 # but we know of no workaround that is simple, portable, and efficient.
11856 # So, we kill variables containing newlines.
11857 # Ultrix sh set writes to stderr and can't be redirected directly,
11858 # and sets the high bit in the cache file unless we assign to the vars.
11860 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11861 eval ac_val=\$$ac_var
11865 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11866 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11869 _ | IFS | as_nl) ;; #(
11870 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11871 *) { eval $ac_var=; unset $ac_var;} ;;
11877 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11878 *${as_nl}ac_space=\ *)
11879 # `set' does not quote correctly, so add quotes: double-quote
11880 # substitution turns \\\\ into \\, and sed turns \\ into \.
11883 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11886 # `set' quotes correctly as required by POSIX, so do not add quotes.
11887 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11896 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11898 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11900 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11901 if test -w "$cache_file"; then
11902 if test "x$cache_file" != "x/dev/null"; then
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11904 $as_echo "$as_me: updating cache $cache_file" >&6;}
11905 if test ! -f "$cache_file" || test -h "$cache_file"; then
11906 cat confcache >"$cache_file"
11908 case $cache_file in #(
11910 mv -f confcache "$cache_file"$$ &&
11911 mv -f "$cache_file"$$ "$cache_file" ;; #(
11913 mv -f confcache "$cache_file" ;;
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11919 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11924 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11925 # Let make expand exec_prefix.
11926 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11928 DEFS=-DHAVE_CONFIG_H
11933 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11934 # 1. Remove the extension, and $U if already installed.
11935 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11936 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11937 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11938 # will be set to the directory where LIBOBJS objects are built.
11939 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11940 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
11942 LIBOBJS=$ac_libobjs
11944 LTLIBOBJS=$ac_ltlibobjs
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
11948 $as_echo_n "checking that generated files are newer than configure... " >&6; }
11949 if test -n "$am_sleep_pid"; then
11950 # Hide warnings about reused PIDs.
11951 wait $am_sleep_pid 2>/dev/null
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
11954 $as_echo "done" >&6; }
11955 if test -n "$EXEEXT"; then
11957 am__EXEEXT_FALSE='#'
11959 am__EXEEXT_TRUE='#'
11963 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11964 as_fn_error $? "conditional \"AMDEP\" was never defined.
11965 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11967 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11968 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
11969 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11971 if test -z "${DOXYGEN_TRUE}" && test -z "${DOXYGEN_FALSE}"; then
11972 as_fn_error $? "conditional \"DOXYGEN\" was never defined.
11973 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11976 : "${CONFIG_STATUS=./config.status}"
11978 ac_clean_files_save=$ac_clean_files
11979 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11981 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11983 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11985 # Generated by $as_me.
11986 # Run this file to recreate the current configuration.
11987 # Compiler output produced by configure, useful for debugging
11988 # configure, is in config.log if it exists.
11991 ac_cs_recheck=false
11994 SHELL=\${CONFIG_SHELL-$SHELL}
11997 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
11998 ## -------------------- ##
11999 ## M4sh Initialization. ##
12000 ## -------------------- ##
12002 # Be more Bourne compatible
12003 DUALCASE=1; export DUALCASE # for MKS sh
12004 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12007 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12008 # is contrary to our usage. Disable this feature.
12009 alias -g '${1+"$@"}'='"$@"'
12010 setopt NO_GLOB_SUBST
12012 case `(set -o) 2>/dev/null` in #(
12024 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12025 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12026 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12027 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12028 # Prefer a ksh shell builtin over an external printf program on Solaris,
12029 # but without wasting forks for bash or zsh.
12030 if test -z "$BASH_VERSION$ZSH_VERSION" \
12031 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12032 as_echo='print -r --'
12033 as_echo_n='print -rn --'
12034 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12035 as_echo='printf %s\n'
12036 as_echo_n='printf %s'
12038 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12039 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12040 as_echo_n='/usr/ucb/echo -n'
12042 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12043 as_echo_n_body='eval
12047 expr "X$arg" : "X\\(.*\\)$as_nl";
12048 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12050 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12052 export as_echo_n_body
12053 as_echo_n='sh -c $as_echo_n_body as_echo'
12055 export as_echo_body
12056 as_echo='sh -c $as_echo_body as_echo'
12059 # The user is always right.
12060 if test "${PATH_SEPARATOR+set}" != set; then
12062 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12063 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12070 # We need space, tab and new line, in precisely that order. Quoting is
12071 # there to prevent editors from complaining about space-tab.
12072 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12073 # splitting by setting IFS to empty value.)
12076 # Find who we are. Look in the path if we contain no directory separator.
12079 *[\\/]* ) as_myself=$0 ;;
12080 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12081 for as_dir in $PATH
12084 test -z "$as_dir" && as_dir=.
12085 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12091 # We did not find ourselves, most probably we were run as `sh COMMAND'
12092 # in which case we are not to be found in the path.
12093 if test "x$as_myself" = x; then
12096 if test ! -f "$as_myself"; then
12097 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12101 # Unset variables that we do not need and which cause bugs (e.g. in
12102 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12103 # suppresses any "Segmentation fault" message there. '((' could
12104 # trigger a bug in pdksh 5.2.14.
12105 for as_var in BASH_ENV ENV MAIL MAILPATH
12106 do eval test x\${$as_var+set} = xset \
12107 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12120 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12123 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12124 # ----------------------------------------
12125 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12126 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12127 # script with STATUS, using 1 if that was 0.
12130 as_status=$1; test $as_status -eq 0 && as_status=1
12132 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12133 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12135 $as_echo "$as_me: error: $2" >&2
12136 as_fn_exit $as_status
12140 # as_fn_set_status STATUS
12141 # -----------------------
12142 # Set $? to STATUS, without forking.
12143 as_fn_set_status ()
12146 } # as_fn_set_status
12148 # as_fn_exit STATUS
12149 # -----------------
12150 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12154 as_fn_set_status $1
12160 # Portably unset VAR.
12163 { eval $1=; unset $1;}
12165 as_unset=as_fn_unset
12166 # as_fn_append VAR VALUE
12167 # ----------------------
12168 # Append the text in VALUE to the end of the definition contained in VAR. Take
12169 # advantage of any shell optimizations that allow amortized linear growth over
12170 # repeated appends, instead of the typical quadratic growth present in naive
12172 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12173 eval 'as_fn_append ()
12184 # as_fn_arith ARG...
12185 # ------------------
12186 # Perform arithmetic evaluation on the ARGs, and store the result in the
12187 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12188 # must be portable across $(()) and expr.
12189 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12190 eval 'as_fn_arith ()
12197 as_val=`expr "$@" || test $? -eq 1`
12202 if expr a : '\(a\)' >/dev/null 2>&1 &&
12203 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12209 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12210 as_basename=basename
12215 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12221 as_me=`$as_basename -- "$0" ||
12222 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12223 X"$0" : 'X\(//\)$' \| \
12224 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12226 sed '/^.*\/\([^/][^/]*\)\/*$/{
12240 # Avoid depending upon Character Ranges.
12241 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12242 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12243 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12244 as_cr_digits='0123456789'
12245 as_cr_alnum=$as_cr_Letters$as_cr_digits
12247 ECHO_C= ECHO_N= ECHO_T=
12248 case `echo -n x` in #(((((
12250 case `echo 'xy\c'` in
12251 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12253 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12260 rm -f conf$$ conf$$.exe conf$$.file
12261 if test -d conf$$.dir; then
12262 rm -f conf$$.dir/conf$$.file
12265 mkdir conf$$.dir 2>/dev/null
12267 if (echo >conf$$.file) 2>/dev/null; then
12268 if ln -s conf$$.file conf$$ 2>/dev/null; then
12270 # ... but there are two gotchas:
12271 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12272 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12273 # In both cases, we have to default to `cp -pR'.
12274 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12276 elif ln conf$$.file conf$$ 2>/dev/null; then
12284 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12285 rmdir conf$$.dir 2>/dev/null
12290 # Create "$as_dir" as a directory, including parents if necessary.
12295 -*) as_dir=./$as_dir;;
12297 test -d "$as_dir" || eval $as_mkdir_p || {
12301 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12302 *) as_qdir=$as_dir;;
12304 as_dirs="'$as_qdir' $as_dirs"
12305 as_dir=`$as_dirname -- "$as_dir" ||
12306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12307 X"$as_dir" : 'X\(//\)[^/]' \| \
12308 X"$as_dir" : 'X\(//\)$' \| \
12309 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12310 $as_echo X"$as_dir" |
12311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12315 /^X\(\/\/\)[^/].*/{
12328 test -d "$as_dir" && break
12330 test -z "$as_dirs" || eval "mkdir $as_dirs"
12331 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12335 if mkdir -p . 2>/dev/null; then
12336 as_mkdir_p='mkdir -p "$as_dir"'
12338 test -d ./-p && rmdir ./-p
12343 # as_fn_executable_p FILE
12344 # -----------------------
12345 # Test if FILE is an executable regular file.
12346 as_fn_executable_p ()
12348 test -f "$1" && test -x "$1"
12349 } # as_fn_executable_p
12350 as_test_x='test -x'
12351 as_executable_p=as_fn_executable_p
12353 # Sed expression to map a string onto a valid CPP name.
12354 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12356 # Sed expression to map a string onto a valid variable name.
12357 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12361 ## ----------------------------------- ##
12362 ## Main body of $CONFIG_STATUS script. ##
12363 ## ----------------------------------- ##
12365 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12367 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12368 # Save the log message, to keep $0 and so on meaningful, and to
12369 # report actual input values of CONFIG_FILES etc. instead of their
12370 # values after options handling.
12372 This file was extended by yaml $as_me 0.1.7, which was
12373 generated by GNU Autoconf 2.69. Invocation command line was
12375 CONFIG_FILES = $CONFIG_FILES
12376 CONFIG_HEADERS = $CONFIG_HEADERS
12377 CONFIG_LINKS = $CONFIG_LINKS
12378 CONFIG_COMMANDS = $CONFIG_COMMANDS
12381 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12386 case $ac_config_files in *"
12387 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12390 case $ac_config_headers in *"
12391 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12396 # Files that config.status was made for.
12397 config_files="$ac_config_files"
12398 config_headers="$ac_config_headers"
12399 config_commands="$ac_config_commands"
12403 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12405 \`$as_me' instantiates files and other configuration actions
12406 from templates according to the current configuration. Unless the files
12407 and actions are specified as TAGs, all are instantiated by default.
12409 Usage: $0 [OPTION]... [TAG]...
12411 -h, --help print this help, then exit
12412 -V, --version print version number and configuration settings, then exit
12413 --config print configuration, then exit
12414 -q, --quiet, --silent
12415 do not print progress messages
12416 -d, --debug don't remove temporary files
12417 --recheck update $as_me by reconfiguring in the same conditions
12418 --file=FILE[:TEMPLATE]
12419 instantiate the configuration file FILE
12420 --header=FILE[:TEMPLATE]
12421 instantiate the configuration header FILE
12423 Configuration files:
12426 Configuration headers:
12429 Configuration commands:
12432 Report bugs to <https://bitbucket.org/xi/libyaml/issues/new>."
12435 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12436 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12438 yaml config.status 0.1.7
12439 configured by $0, generated by GNU Autoconf 2.69,
12440 with options \\"\$ac_cs_config\\"
12442 Copyright (C) 2012 Free Software Foundation, Inc.
12443 This config.status script is free software; the Free Software Foundation
12444 gives unlimited permission to copy, distribute and modify it."
12451 test -n "\$AWK" || AWK=awk
12454 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12455 # The default lists apply if the user does not specify any file.
12461 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12462 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12466 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12478 # Handling of the options.
12479 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12481 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12482 $as_echo "$ac_cs_version"; exit ;;
12483 --config | --confi | --conf | --con | --co | --c )
12484 $as_echo "$ac_cs_config"; exit ;;
12485 --debug | --debu | --deb | --de | --d | -d )
12487 --file | --fil | --fi | --f )
12490 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12491 '') as_fn_error $? "missing file argument" ;;
12493 as_fn_append CONFIG_FILES " '$ac_optarg'"
12494 ac_need_defaults=false;;
12495 --header | --heade | --head | --hea )
12498 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12500 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
12501 ac_need_defaults=false;;
12503 # Conflict between --help and --header
12504 as_fn_error $? "ambiguous option: \`$1'
12505 Try \`$0 --help' for more information.";;
12506 --help | --hel | -h )
12507 $as_echo "$ac_cs_usage"; exit ;;
12508 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12509 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12512 # This is an error.
12513 -*) as_fn_error $? "unrecognized option: \`$1'
12514 Try \`$0 --help' for more information." ;;
12516 *) as_fn_append ac_config_targets " $1"
12517 ac_need_defaults=false ;;
12523 ac_configure_extra_args=
12525 if $ac_cs_silent; then
12527 ac_configure_extra_args="$ac_configure_extra_args --silent"
12531 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12532 if \$ac_cs_recheck; then
12533 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12535 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12536 CONFIG_SHELL='$SHELL'
12537 export CONFIG_SHELL
12542 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12546 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12547 ## Running $as_me. ##
12553 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12557 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12560 # The HP-UX ksh and POSIX shell print the target directory to stdout
12561 # if CDPATH is set.
12562 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12564 sed_quote_subst='$sed_quote_subst'
12565 double_quote_subst='$double_quote_subst'
12566 delay_variable_subst='$delay_variable_subst'
12567 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12568 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12569 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12570 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12571 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12572 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12573 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12574 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12575 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
12576 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12577 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12578 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12579 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12580 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12581 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12582 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12583 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12584 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12585 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12586 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12587 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12588 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12589 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12590 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12591 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12592 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12593 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12594 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12595 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12596 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12597 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12598 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12599 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12600 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12601 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12602 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12603 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12604 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12605 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12606 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12607 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12608 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12609 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12610 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12611 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12612 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12613 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12614 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12615 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12616 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12617 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12618 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12619 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12620 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12621 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12622 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12623 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"`'
12624 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12625 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
12626 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12627 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12628 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12629 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12630 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12631 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12632 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12633 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12634 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
12635 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12636 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12637 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12638 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12639 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12640 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12641 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12642 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12643 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12644 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12645 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12646 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12647 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12648 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12649 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12650 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12651 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12652 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12653 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12654 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12655 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12656 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12657 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12658 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12659 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12660 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12661 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12662 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12663 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12664 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12665 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12666 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12667 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12668 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12669 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12670 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12671 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
12672 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12673 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12674 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12675 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12676 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12677 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12678 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12679 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12680 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12681 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12682 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12683 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12684 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12685 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12686 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12687 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12688 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12689 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12690 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12691 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12692 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12693 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12694 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12695 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12696 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12699 LTCFLAGS='$LTCFLAGS'
12700 compiler='$compiler_DEFAULT'
12702 # A function that is used when there is no print builtin or printf.
12703 func_fallback_echo ()
12705 eval 'cat <<_LTECHO_EOF
12710 # Quote evaled strings.
12725 deplibs_check_method \
12730 sharedlib_from_linklib_cmd \
12733 archiver_list_spec \
12739 lt_cv_sys_global_symbol_pipe \
12740 lt_cv_sys_global_symbol_to_cdecl \
12741 lt_cv_sys_global_symbol_to_c_name_address \
12742 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12743 nm_file_list_spec \
12744 lt_prog_compiler_no_builtin_flag \
12745 lt_prog_compiler_pic \
12746 lt_prog_compiler_wl \
12747 lt_prog_compiler_static \
12748 lt_cv_prog_compiler_c_o \
12757 export_dynamic_flag_spec \
12758 whole_archive_flag_spec \
12759 compiler_needs_object \
12761 allow_undefined_flag \
12762 no_undefined_flag \
12763 hardcode_libdir_flag_spec \
12764 hardcode_libdir_separator \
12768 variables_saved_for_relink \
12770 library_names_spec \
12772 install_override_mode \
12776 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12777 *[\\\\\\\`\\"\\\$]*)
12778 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12781 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12786 # Double-quote double-evaled strings.
12787 for var in reload_cmds \
12788 old_postinstall_cmds \
12789 old_postuninstall_cmds \
12791 extract_expsyms_cmds \
12792 old_archive_from_new_cmds \
12793 old_archive_from_expsyms_cmds \
12795 archive_expsym_cmds \
12797 module_expsym_cmds \
12798 export_symbols_cmds \
12802 postuninstall_cmds \
12804 sys_lib_search_path_spec \
12805 sys_lib_dlsearch_path_spec; do
12806 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12807 *[\\\\\\\`\\"\\\$]*)
12808 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12811 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12816 ac_aux_dir='$ac_aux_dir'
12817 xsi_shell='$xsi_shell'
12818 lt_shell_append='$lt_shell_append'
12820 # See if we are running on zsh, and set the options which allow our
12821 # commands through without removal of \ escapes INIT.
12822 if test -n "\${ZSH_VERSION+set}" ; then
12823 setopt NO_GLOB_SUBST
12829 TIMESTAMP='$TIMESTAMP'
12838 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12840 # Handling of arguments.
12841 for ac_config_target in $ac_config_targets
12843 case $ac_config_target in
12844 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12845 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12846 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12847 "yaml-0.1.pc") CONFIG_FILES="$CONFIG_FILES yaml-0.1.pc" ;;
12848 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
12849 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
12850 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12851 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
12852 "win32/Makefile") CONFIG_FILES="$CONFIG_FILES win32/Makefile" ;;
12854 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12859 # If the user did not use the arguments to specify the items to instantiate,
12860 # then the envvar interface is used. Set only those that are not.
12861 # We use the long form for the default assignment because of an extremely
12862 # bizarre bug on SunOS 4.1.3.
12863 if $ac_need_defaults; then
12864 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12865 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12866 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12869 # Have a temporary directory for convenience. Make it in the build tree
12870 # simply because there is no reason against having it here, and in addition,
12871 # creating and moving files from /tmp can sometimes cause problems.
12872 # Hook for its removal unless debugging.
12873 # Note that there is a small window in which the directory will not be cleaned:
12874 # after its creation but before its name has been assigned to `$tmp'.
12878 trap 'exit_status=$?
12879 : "${ac_tmp:=$tmp}"
12880 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12882 trap 'as_fn_exit 1' 1 2 13 15
12884 # Create a (secure) tmp directory for tmp files.
12887 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12891 tmp=./conf$$-$RANDOM
12892 (umask 077 && mkdir "$tmp")
12893 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
12896 # Set up the scripts for CONFIG_FILES section.
12897 # No need to generate them if there are no CONFIG_FILES.
12898 # This happens for instance with `./config.status config.h'.
12899 if test -n "$CONFIG_FILES"; then
12902 ac_cr=`echo X | tr X '\015'`
12903 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12904 # But we know of no other shell where ac_cr would be empty at this
12905 # point, so we can use a bashism as a fallback.
12906 if test "x$ac_cr" = x; then
12907 eval ac_cr=\$\'\\r\'
12909 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12910 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12913 ac_cs_awk_cr=$ac_cr
12916 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12921 echo "cat >conf$$subs.awk <<_ACEOF" &&
12922 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12924 } >conf$$subs.sh ||
12925 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12926 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12928 for ac_last_try in false false false false false :; do
12929 . ./conf$$subs.sh ||
12930 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12932 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12933 if test $ac_delim_n = $ac_delim_num; then
12935 elif $ac_last_try; then
12936 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12938 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12941 rm -f conf$$subs.sh
12943 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12944 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
12948 s/^/S["/; s/!.*/"]=/
12958 s/\(.\{148\}\)..*/\1/
12960 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12965 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12972 s/\(.\{148\}\)..*/\1/
12974 s/["\\]/\\&/g; s/^/"/; s/$/"/
12978 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12983 ' <conf$$subs.awk | sed '
12988 ' >>$CONFIG_STATUS || ac_write_fail=1
12989 rm -f conf$$subs.awk
12990 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12992 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
12993 for (key in S) S_is_set[key] = 1
12999 nfields = split(line, field, "@")
13001 len = length(field[1])
13002 for (i = 2; i < nfields; i++) {
13004 keylen = length(key)
13005 if (S_is_set[key]) {
13007 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13008 len += length(value) + length(field[++i])
13019 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13020 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13021 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13024 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13025 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13028 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13029 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13030 # trailing colons and then remove the whole line if VPATH becomes empty
13031 # (actually we leave an empty line to preserve line numbers).
13032 if test "x$srcdir" = x.; then
13033 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13051 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13052 fi # test -n "$CONFIG_FILES"
13054 # Set up the scripts for CONFIG_HEADERS section.
13055 # No need to generate them if there are no CONFIG_HEADERS.
13056 # This happens for instance with `./config.status Makefile'.
13057 if test -n "$CONFIG_HEADERS"; then
13058 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13062 # Transform confdefs.h into an awk script `defines.awk', embedded as
13063 # here-document in config.status, that substitutes the proper values into
13064 # config.h.in to produce config.h.
13066 # Create a delimiter string that does not exist in confdefs.h, to ease
13067 # handling of long lines.
13069 for ac_last_try in false false :; do
13070 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13071 if test -z "$ac_tt"; then
13073 elif $ac_last_try; then
13074 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13076 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13080 # For the awk script, D is an array of macro values keyed by name,
13081 # likewise P contains macro parameters if any. Preserve backslash
13082 # newline sequences.
13084 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13086 s/.\{148\}/&'"$ac_delim"'/g
13089 s/^[ ]*#[ ]*define[ ][ ]*/ /
13096 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13098 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13102 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13103 D["\1"]=" \3\\\\\\n"\\/p
13105 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13110 s/.\{148\}/&'"$ac_delim"'/g
13115 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13118 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13120 ' <confdefs.h | sed '
13121 s/'"$ac_delim"'/"\\\
13122 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13124 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13125 for (key in D) D_is_set[key] = 1
13128 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13130 split(line, arg, " ")
13131 if (arg[1] == "#") {
13135 defundef = substr(arg[1], 2)
13138 split(mac1, mac2, "(") #)
13140 prefix = substr(line, 1, index(line, defundef) - 1)
13141 if (D_is_set[macro]) {
13142 # Preserve the white space surrounding the "#".
13143 print prefix "define", macro P[macro] D[macro]
13146 # Replace #undef with comments. This is necessary, for example,
13147 # in the case of _POSIX_SOURCE, which is predefined and required
13148 # on some systems where configure will not decide to define it.
13149 if (defundef == "undef") {
13150 print "/*", prefix defundef, macro, "*/"
13158 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13159 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13160 fi # test -n "$CONFIG_HEADERS"
13163 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13168 :[FHLC]) ac_mode=$ac_tag; continue;;
13170 case $ac_mode$ac_tag in
13172 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13173 :[FH]-) ac_tag=-:-;;
13174 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13191 -) ac_f="$ac_tmp/stdin";;
13192 *) # Look for the file first in the build tree, then in the source tree
13193 # (if the path is not absolute). The absolute path cannot be DOS-style,
13194 # because $ac_f cannot contain `:'.
13198 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13200 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13202 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13203 as_fn_append ac_file_inputs " '$ac_f'"
13206 # Let's still pretend it is `configure' which instantiates (i.e., don't
13207 # use $as_me), people would be surprised to read:
13208 # /* config.h. Generated by config.status. */
13209 configure_input='Generated from '`
13210 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13212 if test x"$ac_file" != x-; then
13213 configure_input="$ac_file. $configure_input"
13214 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13215 $as_echo "$as_me: creating $ac_file" >&6;}
13217 # Neutralize special characters interpreted by sed in replacement strings.
13218 case $configure_input in #(
13219 *\&* | *\|* | *\\* )
13220 ac_sed_conf_input=`$as_echo "$configure_input" |
13221 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13222 *) ac_sed_conf_input=$configure_input;;
13226 *:-:* | *:-) cat >"$ac_tmp/stdin" \
13227 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13232 ac_dir=`$as_dirname -- "$ac_file" ||
13233 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13234 X"$ac_file" : 'X\(//\)[^/]' \| \
13235 X"$ac_file" : 'X\(//\)$' \| \
13236 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13237 $as_echo X"$ac_file" |
13238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13242 /^X\(\/\/\)[^/].*/{
13255 as_dir="$ac_dir"; as_fn_mkdir_p
13259 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13261 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13262 # A ".." for each directory in $ac_dir_suffix.
13263 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13264 case $ac_top_builddir_sub in
13265 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13266 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13269 ac_abs_top_builddir=$ac_pwd
13270 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13271 # for backward compatibility:
13272 ac_top_builddir=$ac_top_build_prefix
13275 .) # We are building in place.
13277 ac_top_srcdir=$ac_top_builddir_sub
13278 ac_abs_top_srcdir=$ac_pwd ;;
13279 [\\/]* | ?:[\\/]* ) # Absolute name.
13280 ac_srcdir=$srcdir$ac_dir_suffix;
13281 ac_top_srcdir=$srcdir
13282 ac_abs_top_srcdir=$srcdir ;;
13283 *) # Relative name.
13284 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13285 ac_top_srcdir=$ac_top_build_prefix$srcdir
13286 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13288 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13298 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13299 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13301 ac_MKDIR_P=$MKDIR_P
13303 [\\/$]* | ?:[\\/]* ) ;;
13304 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13308 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13309 # If the template does not know about datarootdir, expand it.
13310 # FIXME: This hack should be removed a few years after 2.60.
13311 ac_datarootdir_hack=; ac_datarootdir_seen=
13322 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13323 *datarootdir*) ac_datarootdir_seen=yes;;
13324 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13326 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13328 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13329 ac_datarootdir_hack='
13330 s&@datadir@&$datadir&g
13331 s&@docdir@&$docdir&g
13332 s&@infodir@&$infodir&g
13333 s&@localedir@&$localedir&g
13334 s&@mandir@&$mandir&g
13335 s&\\\${datarootdir}&$datarootdir&g' ;;
13339 # Neutralize VPATH when `$srcdir' = `.'.
13340 # Shell code in configure.ac might set extrasub.
13341 # FIXME: do we really want to maintain this feature?
13342 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13343 ac_sed_extra="$ac_vpsub
13346 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13348 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13349 s|@configure_input@|$ac_sed_conf_input|;t t
13350 s&@top_builddir@&$ac_top_builddir_sub&;t t
13351 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13352 s&@srcdir@&$ac_srcdir&;t t
13353 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13354 s&@top_srcdir@&$ac_top_srcdir&;t t
13355 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13356 s&@builddir@&$ac_builddir&;t t
13357 s&@abs_builddir@&$ac_abs_builddir&;t t
13358 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13359 s&@INSTALL@&$ac_INSTALL&;t t
13360 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13361 $ac_datarootdir_hack
13363 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13364 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13366 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13367 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13368 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13369 "$ac_tmp/out"`; test -z "$ac_out"; } &&
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13371 which seems to be undefined. Please make sure it is defined" >&5
13372 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13373 which seems to be undefined. Please make sure it is defined" >&2;}
13375 rm -f "$ac_tmp/stdin"
13377 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13378 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13380 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13386 if test x"$ac_file" != x-; then
13388 $as_echo "/* $configure_input */" \
13389 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13390 } >"$ac_tmp/config.h" \
13391 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13392 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13394 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13397 mv "$ac_tmp/config.h" "$ac_file" \
13398 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13401 $as_echo "/* $configure_input */" \
13402 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13403 || as_fn_error $? "could not create -" "$LINENO" 5
13405 # Compute "$ac_file"'s index in $config_headers.
13408 for _am_header in $config_headers :; do
13409 case $_am_header in
13410 $_am_arg | $_am_arg:* )
13413 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13416 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13417 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13418 X"$_am_arg" : 'X\(//\)[^/]' \| \
13419 X"$_am_arg" : 'X\(//\)$' \| \
13420 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13421 $as_echo X"$_am_arg" |
13422 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13426 /^X\(\/\/\)[^/].*/{
13438 s/.*/./; q'`/stamp-h$_am_stamp_count
13441 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13442 $as_echo "$as_me: executing $ac_file commands" >&6;}
13447 case $ac_file$ac_mode in
13448 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13449 # Older Autoconf quotes --file arguments for eval, but not when files
13450 # are listed without --file. Let's play safe and only enable the eval
13451 # if we detect the quoting.
13452 case $CONFIG_FILES in
13453 *\'*) eval set x "$CONFIG_FILES" ;;
13454 *) set x $CONFIG_FILES ;;
13459 # Strip MF so we end up with the name of the file.
13460 mf=`echo "$mf" | sed -e 's/:.*$//'`
13461 # Check whether this is an Automake generated Makefile or not.
13462 # We used to match only the files named 'Makefile.in', but
13463 # some people rename them; so instead we look at the file content.
13464 # Grep'ing the first line is not enough: some people post-process
13465 # each Makefile.in and add a new line on top of each file to say so.
13466 # Grep'ing the whole file is not good either: AIX grep has a line
13467 # limit of 2048, but all sed's we know have understand at least 4000.
13468 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13469 dirpart=`$as_dirname -- "$mf" ||
13470 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13471 X"$mf" : 'X\(//\)[^/]' \| \
13472 X"$mf" : 'X\(//\)$' \| \
13473 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13475 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13479 /^X\(\/\/\)[^/].*/{
13495 # Extract the definition of DEPDIR, am__include, and am__quote
13496 # from the Makefile without running 'make'.
13497 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13498 test -z "$DEPDIR" && continue
13499 am__include=`sed -n 's/^am__include = //p' < "$mf"`
13500 test -z "$am__include" && continue
13501 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13502 # Find all dependency output files, they are included files with
13503 # $(DEPDIR) in their names. We invoke sed twice because it is the
13504 # simplest approach to changing $(DEPDIR) to its actual value in the
13506 for file in `sed -n "
13507 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13508 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
13509 # Make sure the directory exists.
13510 test -f "$dirpart/$file" && continue
13511 fdir=`$as_dirname -- "$file" ||
13512 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13513 X"$file" : 'X\(//\)[^/]' \| \
13514 X"$file" : 'X\(//\)$' \| \
13515 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13516 $as_echo X"$file" |
13517 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13521 /^X\(\/\/\)[^/].*/{
13534 as_dir=$dirpart/$fdir; as_fn_mkdir_p
13535 # echo "creating $dirpart/$file"
13536 echo '# dummy' > "$dirpart/$file"
13543 # See if we are running on zsh, and set the options which allow our
13544 # commands through without removal of \ escapes.
13545 if test -n "${ZSH_VERSION+set}" ; then
13546 setopt NO_GLOB_SUBST
13549 cfgfile="${ofile}T"
13550 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13553 cat <<_LT_EOF >> "$cfgfile"
13556 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13557 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13558 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13559 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13561 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13562 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
13564 # Written by Gordon Matzigkeit, 1996
13566 # This file is part of GNU Libtool.
13568 # GNU Libtool is free software; you can redistribute it and/or
13569 # modify it under the terms of the GNU General Public License as
13570 # published by the Free Software Foundation; either version 2 of
13571 # the License, or (at your option) any later version.
13573 # As a special exception to the GNU General Public License,
13574 # if you distribute this file as part of a program or library that
13575 # is built using GNU Libtool, you may include this file under the
13576 # same distribution terms that you use for the rest of that program.
13578 # GNU Libtool is distributed in the hope that it will be useful,
13579 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13580 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13581 # GNU General Public License for more details.
13583 # You should have received a copy of the GNU General Public License
13584 # along with GNU Libtool; see the file COPYING. If not, a copy
13585 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13586 # obtained by writing to the Free Software Foundation, Inc.,
13587 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13590 # The names of the tagged configurations supported by this script.
13593 # ### BEGIN LIBTOOL CONFIG
13595 # Which release of libtool.m4 was used?
13596 macro_version=$macro_version
13597 macro_revision=$macro_revision
13599 # Whether or not to build shared libraries.
13600 build_libtool_libs=$enable_shared
13602 # Whether or not to build static libraries.
13603 build_old_libs=$enable_static
13605 # What type of objects to build.
13608 # Whether or not to optimize for fast installation.
13609 fast_install=$enable_fast_install
13611 # Shell to use when invoking shell scripts.
13614 # An echo program that protects backslashes.
13617 # The PATH separator for the build system.
13618 PATH_SEPARATOR=$lt_PATH_SEPARATOR
13621 host_alias=$host_alias
13625 # The build system.
13626 build_alias=$build_alias
13630 # A sed program that does not truncate output.
13633 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13634 Xsed="\$SED -e 1s/^X//"
13636 # A grep program that handles long lines.
13642 # A literal string matcher.
13645 # A BSD- or MS-compatible name lister.
13648 # Whether we need soft or hard links.
13651 # What is the maximum length of a command?
13652 max_cmd_len=$max_cmd_len
13654 # Object file suffix (normally "o").
13657 # Executable file suffix (normally "").
13660 # whether the shell understands "unset".
13663 # turn spaces into newlines.
13666 # turn newlines into spaces.
13669 # convert \$build file names to \$host format.
13670 to_host_file_cmd=$lt_cv_to_host_file_cmd
13672 # convert \$build files to toolchain format.
13673 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13675 # An object symbol dumper.
13676 OBJDUMP=$lt_OBJDUMP
13678 # Method to check whether dependent libraries are shared objects.
13679 deplibs_check_method=$lt_deplibs_check_method
13681 # Command to use when deplibs_check_method = "file_magic".
13682 file_magic_cmd=$lt_file_magic_cmd
13684 # How to find potential files when deplibs_check_method = "file_magic".
13685 file_magic_glob=$lt_file_magic_glob
13687 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
13688 want_nocaseglob=$lt_want_nocaseglob
13690 # DLL creation program.
13691 DLLTOOL=$lt_DLLTOOL
13693 # Command to associate shared and link libraries.
13694 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
13699 # Flags to create an archive.
13700 AR_FLAGS=$lt_AR_FLAGS
13702 # How to feed a file listing to the archiver.
13703 archiver_list_spec=$lt_archiver_list_spec
13705 # A symbol stripping program.
13708 # Commands used to install an old-style archive.
13710 old_postinstall_cmds=$lt_old_postinstall_cmds
13711 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13713 # Whether to use a lock for old archive extraction.
13714 lock_old_archive_extraction=$lock_old_archive_extraction
13719 # LTCC compiler flags.
13720 LTCFLAGS=$lt_CFLAGS
13722 # Take the output of nm and produce a listing of raw symbols and C names.
13723 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13725 # Transform the output of nm in a proper C declaration.
13726 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13728 # Transform the output of nm in a C name address pair.
13729 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13731 # Transform the output of nm in a C name address pair when lib prefix is needed.
13732 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13734 # Specify filename containing input files for \$NM.
13735 nm_file_list_spec=$lt_nm_file_list_spec
13737 # The root where to search for dependent libraries,and in which our libraries should be installed.
13738 lt_sysroot=$lt_sysroot
13740 # The name of the directory that contains temporary libtool files.
13743 # Used to examine libraries when file_magic_cmd begins with "file".
13744 MAGIC_CMD=$MAGIC_CMD
13746 # Must we lock files when doing compilation?
13747 need_locks=$lt_need_locks
13750 MANIFEST_TOOL=$lt_MANIFEST_TOOL
13752 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13753 DSYMUTIL=$lt_DSYMUTIL
13755 # Tool to change global to local symbols on Mac OS X.
13758 # Tool to manipulate fat objects and archives on Mac OS X.
13761 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13764 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13765 OTOOL64=$lt_OTOOL64
13767 # Old archive suffix (normally "a").
13770 # Shared library suffix (normally ".so").
13771 shrext_cmds=$lt_shrext_cmds
13773 # The commands to extract the exported symbol list from a shared archive.
13774 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13776 # Variables whose values should be saved in libtool wrapper scripts and
13777 # restored at link time.
13778 variables_saved_for_relink=$lt_variables_saved_for_relink
13780 # Do we need the "lib" prefix for modules?
13781 need_lib_prefix=$need_lib_prefix
13783 # Do we need a version for libraries?
13784 need_version=$need_version
13786 # Library versioning type.
13787 version_type=$version_type
13789 # Shared library runtime path variable.
13790 runpath_var=$runpath_var
13792 # Shared library path variable.
13793 shlibpath_var=$shlibpath_var
13795 # Is shlibpath searched before the hard-coded library search path?
13796 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13798 # Format of library name prefix.
13799 libname_spec=$lt_libname_spec
13801 # List of archive names. First name is the real one, the rest are links.
13802 # The last name is the one that the linker finds with -lNAME
13803 library_names_spec=$lt_library_names_spec
13805 # The coded name of the library, if different from the real name.
13806 soname_spec=$lt_soname_spec
13808 # Permission mode override for installation of shared libraries.
13809 install_override_mode=$lt_install_override_mode
13811 # Command to use after installation of a shared archive.
13812 postinstall_cmds=$lt_postinstall_cmds
13814 # Command to use after uninstallation of a shared archive.
13815 postuninstall_cmds=$lt_postuninstall_cmds
13817 # Commands used to finish a libtool library installation in a directory.
13818 finish_cmds=$lt_finish_cmds
13820 # As "finish_cmds", except a single script fragment to be evaled but
13822 finish_eval=$lt_finish_eval
13824 # Whether we should hardcode library paths into libraries.
13825 hardcode_into_libs=$hardcode_into_libs
13827 # Compile-time system search path for libraries.
13828 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13830 # Run-time system search path for libraries.
13831 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13833 # Whether dlopen is supported.
13834 dlopen_support=$enable_dlopen
13836 # Whether dlopen of programs is supported.
13837 dlopen_self=$enable_dlopen_self
13839 # Whether dlopen of statically linked programs is supported.
13840 dlopen_self_static=$enable_dlopen_self_static
13842 # Commands to strip libraries.
13843 old_striplib=$lt_old_striplib
13844 striplib=$lt_striplib
13847 # The linker used to build libraries.
13850 # How to create reloadable object files.
13851 reload_flag=$lt_reload_flag
13852 reload_cmds=$lt_reload_cmds
13854 # Commands used to build an old-style archive.
13855 old_archive_cmds=$lt_old_archive_cmds
13857 # A language specific compiler.
13860 # Is the compiler the GNU compiler?
13863 # Compiler flag to turn off builtin functions.
13864 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13866 # Additional compiler flags for building library objects.
13867 pic_flag=$lt_lt_prog_compiler_pic
13869 # How to pass a linker flag through the compiler.
13870 wl=$lt_lt_prog_compiler_wl
13872 # Compiler flag to prevent dynamic linking.
13873 link_static_flag=$lt_lt_prog_compiler_static
13875 # Does compiler simultaneously support -c and -o options?
13876 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13878 # Whether or not to add -lc for building shared libraries.
13879 build_libtool_need_lc=$archive_cmds_need_lc
13881 # Whether or not to disallow shared libs when runtime libs are static.
13882 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13884 # Compiler flag to allow reflexive dlopens.
13885 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13887 # Compiler flag to generate shared objects directly from archives.
13888 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13890 # Whether the compiler copes with passing no objects directly.
13891 compiler_needs_object=$lt_compiler_needs_object
13893 # Create an old-style archive from a shared archive.
13894 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13896 # Create a temporary old-style archive to link instead of a shared archive.
13897 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13899 # Commands used to build a shared archive.
13900 archive_cmds=$lt_archive_cmds
13901 archive_expsym_cmds=$lt_archive_expsym_cmds
13903 # Commands used to build a loadable module if different from building
13904 # a shared archive.
13905 module_cmds=$lt_module_cmds
13906 module_expsym_cmds=$lt_module_expsym_cmds
13908 # Whether we are building with GNU ld or not.
13909 with_gnu_ld=$lt_with_gnu_ld
13911 # Flag that allows shared libraries with undefined symbols to be built.
13912 allow_undefined_flag=$lt_allow_undefined_flag
13914 # Flag that enforces no undefined symbols.
13915 no_undefined_flag=$lt_no_undefined_flag
13917 # Flag to hardcode \$libdir into a binary during linking.
13918 # This must work even if \$libdir does not exist
13919 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13921 # Whether we need a single "-rpath" flag with a separated argument.
13922 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13924 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13925 # DIR into the resulting binary.
13926 hardcode_direct=$hardcode_direct
13928 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13929 # DIR into the resulting binary and the resulting library dependency is
13930 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13931 # library is relocated.
13932 hardcode_direct_absolute=$hardcode_direct_absolute
13934 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13935 # into the resulting binary.
13936 hardcode_minus_L=$hardcode_minus_L
13938 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13939 # into the resulting binary.
13940 hardcode_shlibpath_var=$hardcode_shlibpath_var
13942 # Set to "yes" if building a shared library automatically hardcodes DIR
13943 # into the library and all subsequent libraries and executables linked
13945 hardcode_automatic=$hardcode_automatic
13947 # Set to yes if linker adds runtime paths of dependent libraries
13948 # to runtime path list.
13949 inherit_rpath=$inherit_rpath
13951 # Whether libtool must link a program against all its dependency libraries.
13952 link_all_deplibs=$link_all_deplibs
13954 # Set to "yes" if exported symbols are required.
13955 always_export_symbols=$always_export_symbols
13957 # The commands to list exported symbols.
13958 export_symbols_cmds=$lt_export_symbols_cmds
13960 # Symbols that should not be listed in the preloaded symbols.
13961 exclude_expsyms=$lt_exclude_expsyms
13963 # Symbols that must always be exported.
13964 include_expsyms=$lt_include_expsyms
13966 # Commands necessary for linking programs (against libraries) with templates.
13967 prelink_cmds=$lt_prelink_cmds
13969 # Commands necessary for finishing linking programs.
13970 postlink_cmds=$lt_postlink_cmds
13972 # Specify filename containing input files.
13973 file_list_spec=$lt_file_list_spec
13975 # How to hardcode a shared library path into an executable.
13976 hardcode_action=$hardcode_action
13978 # ### END LIBTOOL CONFIG
13984 cat <<\_LT_EOF >> "$cfgfile"
13985 # AIX sometimes has problems with the GCC collect2 program. For some
13986 # reason, if we set the COLLECT_NAMES environment variable, the problems
13987 # vanish in a puff of smoke.
13988 if test "X${COLLECT_NAMES+set}" != Xset; then
13990 export COLLECT_NAMES
13997 ltmain="$ac_aux_dir/ltmain.sh"
14000 # We use sed instead of cat because bash on DJGPP gets confused if
14001 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14002 # text mode, it properly converts lines to CR/LF. This bash problem
14003 # is reportedly fixed, but why not run on old versions too?
14004 sed '$q' "$ltmain" >> "$cfgfile" \
14005 || (rm -f "$cfgfile"; exit 1)
14007 if test x"$xsi_shell" = xyes; then
14008 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14012 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14013 \ * ) func_dirname_result="${3}" ;;\
14015 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14016 && mv -f "$cfgfile.tmp" "$cfgfile" \
14017 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14018 test 0 -eq $? || _lt_function_replace_fail=:
14021 sed -e '/^func_basename ()$/,/^} # func_basename /c\
14024 \ func_basename_result="${1##*/}"\
14025 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14026 && mv -f "$cfgfile.tmp" "$cfgfile" \
14027 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14028 test 0 -eq $? || _lt_function_replace_fail=:
14031 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14032 func_dirname_and_basename ()\
14035 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14036 \ * ) func_dirname_result="${3}" ;;\
14038 \ func_basename_result="${1##*/}"\
14039 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14040 && mv -f "$cfgfile.tmp" "$cfgfile" \
14041 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14042 test 0 -eq $? || _lt_function_replace_fail=:
14045 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14048 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14049 \ # positional parameters, so assign one to ordinary parameter first.\
14050 \ func_stripname_result=${3}\
14051 \ func_stripname_result=${func_stripname_result#"${1}"}\
14052 \ func_stripname_result=${func_stripname_result%"${2}"}\
14053 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14054 && mv -f "$cfgfile.tmp" "$cfgfile" \
14055 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14056 test 0 -eq $? || _lt_function_replace_fail=:
14059 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14060 func_split_long_opt ()\
14062 \ func_split_long_opt_name=${1%%=*}\
14063 \ func_split_long_opt_arg=${1#*=}\
14064 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14065 && mv -f "$cfgfile.tmp" "$cfgfile" \
14066 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14067 test 0 -eq $? || _lt_function_replace_fail=:
14070 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14071 func_split_short_opt ()\
14073 \ func_split_short_opt_arg=${1#??}\
14074 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14075 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14076 && mv -f "$cfgfile.tmp" "$cfgfile" \
14077 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14078 test 0 -eq $? || _lt_function_replace_fail=:
14081 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14085 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14086 \ *) func_lo2o_result=${1} ;;\
14088 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14089 && mv -f "$cfgfile.tmp" "$cfgfile" \
14090 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14091 test 0 -eq $? || _lt_function_replace_fail=:
14094 sed -e '/^func_xform ()$/,/^} # func_xform /c\
14097 func_xform_result=${1%.*}.lo\
14098 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14099 && mv -f "$cfgfile.tmp" "$cfgfile" \
14100 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14101 test 0 -eq $? || _lt_function_replace_fail=:
14104 sed -e '/^func_arith ()$/,/^} # func_arith /c\
14107 func_arith_result=$(( $* ))\
14108 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14109 && mv -f "$cfgfile.tmp" "$cfgfile" \
14110 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14111 test 0 -eq $? || _lt_function_replace_fail=:
14114 sed -e '/^func_len ()$/,/^} # func_len /c\
14117 func_len_result=${#1}\
14118 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14119 && mv -f "$cfgfile.tmp" "$cfgfile" \
14120 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14121 test 0 -eq $? || _lt_function_replace_fail=:
14125 if test x"$lt_shell_append" = xyes; then
14126 sed -e '/^func_append ()$/,/^} # func_append /c\
14129 eval "${1}+=\\${2}"\
14130 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14131 && mv -f "$cfgfile.tmp" "$cfgfile" \
14132 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14133 test 0 -eq $? || _lt_function_replace_fail=:
14136 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14137 func_append_quoted ()\
14139 \ func_quote_for_eval "${2}"\
14140 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14141 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14142 && mv -f "$cfgfile.tmp" "$cfgfile" \
14143 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14144 test 0 -eq $? || _lt_function_replace_fail=:
14147 # Save a `func_append' function call where possible by direct use of '+='
14148 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14149 && mv -f "$cfgfile.tmp" "$cfgfile" \
14150 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14151 test 0 -eq $? || _lt_function_replace_fail=:
14153 # Save a `func_append' function call even when '+=' is not available
14154 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14155 && mv -f "$cfgfile.tmp" "$cfgfile" \
14156 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14157 test 0 -eq $? || _lt_function_replace_fail=:
14160 if test x"$_lt_function_replace_fail" = x":"; then
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14162 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14166 mv -f "$cfgfile" "$ofile" ||
14167 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14178 ac_clean_files=$ac_clean_files_save
14180 test $ac_write_fail = 0 ||
14181 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14184 # configure is writing to config.log, and then calls config.status.
14185 # config.status does its own redirection, appending to config.log.
14186 # Unfortunately, on DOS this fails, as config.log is still kept open
14187 # by configure, so config.status won't be able to write to it; its
14188 # output is simply discarded. So we exec the FD to /dev/null,
14189 # effectively closing config.log, so it can be properly (re)opened and
14190 # appended to by config.status. When coming back to configure, we
14191 # need to make the FD available again.
14192 if test "$no_create" != yes; then
14194 ac_config_status_args=
14195 test "$silent" = yes &&
14196 ac_config_status_args="$ac_config_status_args --quiet"
14198 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14200 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14201 # would make configure fail if this is the last instruction.
14202 $ac_cs_success || as_fn_exit 1
14204 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14206 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}