2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for yaml 0.1.2.
5 # Report bugs to <http://pyyaml.org/newticket?component=libyaml>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir=.
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
260 CONFIG_SHELL=$as_shell
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
288 as_func_ret_success () {
291 as_func_ret_failure () {
296 if as_func_success; then
300 echo as_func_success failed.
303 if as_func_failure; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474 ECHO_C= ECHO_N= ECHO_T=
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 elif ln conf$$.file conf$$ 2>/dev/null; then
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
519 test -d ./-p && rmdir ./-p
523 if test -x / >/dev/null 2>&1; then
526 if ls -dL / >/dev/null 2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 # Check that we are running under the correct shell.
556 SHELL=${CONFIG_SHELL-/bin/sh}
560 # Remove one level of quotation (which was required for Make).
561 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
566 if test "X$1" = X--no-reexec; then
567 # Discard the --no-reexec flag, and continue.
569 elif test "X$1" = X--fallback-echo; then
570 # Avoid inline document here, it may be left over
572 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
573 # Yippee, $ECHO works!
576 # Restart under the correct shell.
577 exec $SHELL "$0" --no-reexec ${1+"$@"}
580 if test "X$1" = X--fallback-echo; then
581 # used as fallback echo
589 # The HP-UX ksh and POSIX shell print the target directory to stdout
591 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
593 if test -z "$lt_ECHO"; then
594 if test "X${echo_test_string+set}" != Xset; then
595 # find a string as large as possible, as long as the shell can cope with it
596 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
599 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
606 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
607 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
608 test "X$echo_testing_string" = "X$echo_test_string"; then
611 # The Solaris, AIX, and Digital Unix default echo programs unquote
612 # backslashes. This makes it impossible to quote backslashes using
613 # echo "$something" | sed 's/\\/\\\\/g'
615 # So, first we look for a working echo in the user's PATH.
617 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
618 for dir in $PATH /usr/ucb; do
620 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
621 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
622 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
623 test "X$echo_testing_string" = "X$echo_test_string"; then
630 if test "X$ECHO" = Xecho; then
631 # We didn't find a better echo, so look for alternatives.
632 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
633 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
635 # This shell has a builtin print -r that does the trick.
637 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
638 test "X$CONFIG_SHELL" != X/bin/ksh; then
639 # If we have ksh, try running configure again with it.
640 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
641 export ORIGINAL_CONFIG_SHELL
642 CONFIG_SHELL=/bin/ksh
644 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
648 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
649 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
650 test "X$echo_testing_string" = "X$echo_test_string"; then
653 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
654 test "X$echo_testing_string" = 'X\t' &&
655 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
656 test "X$echo_testing_string" = "X$echo_test_string"; then
657 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
659 SHELL="$CONFIG_SHELL"
661 ECHO="$CONFIG_SHELL $0 --fallback-echo"
662 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
663 test "X$echo_testing_string" = 'X\t' &&
664 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
665 test "X$echo_testing_string" = "X$echo_test_string"; then
666 ECHO="$CONFIG_SHELL $0 --fallback-echo"
668 # maybe with a smaller string...
671 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
672 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
679 if test "$prev" != 'sed 50q "$0"'; then
680 echo_test_string=`eval $prev`
681 export echo_test_string
682 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
684 # Oops. We lost completely, so just stick with echo.
693 # Copy echo and quote the copy suitably for passing to libtool from
694 # the Makefile, instead of quoting the original, which is used later.
696 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
697 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
703 exec 7<&0 </dev/null 6>&1
706 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
707 # so uname gets run too.
708 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
713 ac_default_prefix=/usr/local
715 ac_config_libobj_dir=.
721 SHELL=${CONFIG_SHELL-/bin/sh}
723 # Identity of this package.
725 PACKAGE_TARNAME='yaml'
726 PACKAGE_VERSION='0.1.2'
727 PACKAGE_STRING='yaml 0.1.2'
728 PACKAGE_BUGREPORT='http://pyyaml.org/newticket?component=libyaml'
730 # Factoring default headers for most tests.
731 ac_includes_default="\
733 #ifdef HAVE_SYS_TYPES_H
734 # include <sys/types.h>
736 #ifdef HAVE_SYS_STAT_H
737 # include <sys/stat.h>
743 # ifdef HAVE_STDLIB_H
748 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
753 #ifdef HAVE_STRINGS_H
754 # include <strings.h>
756 #ifdef HAVE_INTTYPES_H
757 # include <inttypes.h>
775 program_transform_name
817 INSTALL_STRIP_PROGRAM
878 ac_precious_vars='build_alias
889 # Initialize some variables set by options.
891 ac_init_version=false
892 # The variables have the same names as the options, with
893 # dashes changed to underlines.
901 program_transform_name=s,x,x,
909 # Installation directory options.
910 # These are left unexpanded so users can "make install exec_prefix=/foo"
911 # and all the variables that are supposed to be based on exec_prefix
912 # by default will actually change.
913 # Use braces instead of parens because sh, perl, etc. also accept them.
914 # (The list follows the same order as the GNU Coding Standards.)
915 bindir='${exec_prefix}/bin'
916 sbindir='${exec_prefix}/sbin'
917 libexecdir='${exec_prefix}/libexec'
918 datarootdir='${prefix}/share'
919 datadir='${datarootdir}'
920 sysconfdir='${prefix}/etc'
921 sharedstatedir='${prefix}/com'
922 localstatedir='${prefix}/var'
923 includedir='${prefix}/include'
924 oldincludedir='/usr/include'
925 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
926 infodir='${datarootdir}/info'
931 libdir='${exec_prefix}/lib'
932 localedir='${datarootdir}/locale'
933 mandir='${datarootdir}/man'
939 # If the previous option needs an argument, assign it.
940 if test -n "$ac_prev"; then
941 eval $ac_prev=\$ac_option
947 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
951 # Accept the important Cygnus configure options, so we can diagnose typos.
953 case $ac_dashdash$ac_option in
957 -bindir | --bindir | --bindi | --bind | --bin | --bi)
959 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
962 -build | --build | --buil | --bui | --bu)
963 ac_prev=build_alias ;;
964 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
965 build_alias=$ac_optarg ;;
967 -cache-file | --cache-file | --cache-fil | --cache-fi \
968 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
969 ac_prev=cache_file ;;
970 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
971 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
972 cache_file=$ac_optarg ;;
975 cache_file=config.cache ;;
977 -datadir | --datadir | --datadi | --datad)
979 -datadir=* | --datadir=* | --datadi=* | --datad=*)
980 datadir=$ac_optarg ;;
982 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
983 | --dataroo | --dataro | --datar)
984 ac_prev=datarootdir ;;
985 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
986 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
987 datarootdir=$ac_optarg ;;
989 -disable-* | --disable-*)
990 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
991 # Reject names that are not valid shell variable names.
992 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
993 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
994 { (exit 1); exit 1; }; }
995 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
996 eval enable_$ac_feature=no ;;
998 -docdir | --docdir | --docdi | --doc | --do)
1000 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1001 docdir=$ac_optarg ;;
1003 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1005 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1006 dvidir=$ac_optarg ;;
1008 -enable-* | --enable-*)
1009 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1010 # Reject names that are not valid shell variable names.
1011 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1012 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1013 { (exit 1); exit 1; }; }
1014 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1015 eval enable_$ac_feature=\$ac_optarg ;;
1017 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1018 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1019 | --exec | --exe | --ex)
1020 ac_prev=exec_prefix ;;
1021 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1022 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1023 | --exec=* | --exe=* | --ex=*)
1024 exec_prefix=$ac_optarg ;;
1026 -gas | --gas | --ga | --g)
1027 # Obsolete; use --with-gas.
1030 -help | --help | --hel | --he | -h)
1031 ac_init_help=long ;;
1032 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1033 ac_init_help=recursive ;;
1034 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1035 ac_init_help=short ;;
1037 -host | --host | --hos | --ho)
1038 ac_prev=host_alias ;;
1039 -host=* | --host=* | --hos=* | --ho=*)
1040 host_alias=$ac_optarg ;;
1042 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1044 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1046 htmldir=$ac_optarg ;;
1048 -includedir | --includedir | --includedi | --included | --include \
1049 | --includ | --inclu | --incl | --inc)
1050 ac_prev=includedir ;;
1051 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1052 | --includ=* | --inclu=* | --incl=* | --inc=*)
1053 includedir=$ac_optarg ;;
1055 -infodir | --infodir | --infodi | --infod | --info | --inf)
1057 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1058 infodir=$ac_optarg ;;
1060 -libdir | --libdir | --libdi | --libd)
1062 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1063 libdir=$ac_optarg ;;
1065 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1066 | --libexe | --libex | --libe)
1067 ac_prev=libexecdir ;;
1068 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1069 | --libexe=* | --libex=* | --libe=*)
1070 libexecdir=$ac_optarg ;;
1072 -localedir | --localedir | --localedi | --localed | --locale)
1073 ac_prev=localedir ;;
1074 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1075 localedir=$ac_optarg ;;
1077 -localstatedir | --localstatedir | --localstatedi | --localstated \
1078 | --localstate | --localstat | --localsta | --localst | --locals)
1079 ac_prev=localstatedir ;;
1080 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1081 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1082 localstatedir=$ac_optarg ;;
1084 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1086 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1087 mandir=$ac_optarg ;;
1089 -nfp | --nfp | --nf)
1090 # Obsolete; use --without-fp.
1093 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1094 | --no-cr | --no-c | -n)
1097 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1098 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1101 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1102 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1103 | --oldin | --oldi | --old | --ol | --o)
1104 ac_prev=oldincludedir ;;
1105 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1106 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1107 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1108 oldincludedir=$ac_optarg ;;
1110 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1112 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1113 prefix=$ac_optarg ;;
1115 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1116 | --program-pre | --program-pr | --program-p)
1117 ac_prev=program_prefix ;;
1118 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1119 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1120 program_prefix=$ac_optarg ;;
1122 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1123 | --program-suf | --program-su | --program-s)
1124 ac_prev=program_suffix ;;
1125 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1126 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1127 program_suffix=$ac_optarg ;;
1129 -program-transform-name | --program-transform-name \
1130 | --program-transform-nam | --program-transform-na \
1131 | --program-transform-n | --program-transform- \
1132 | --program-transform | --program-transfor \
1133 | --program-transfo | --program-transf \
1134 | --program-trans | --program-tran \
1135 | --progr-tra | --program-tr | --program-t)
1136 ac_prev=program_transform_name ;;
1137 -program-transform-name=* | --program-transform-name=* \
1138 | --program-transform-nam=* | --program-transform-na=* \
1139 | --program-transform-n=* | --program-transform-=* \
1140 | --program-transform=* | --program-transfor=* \
1141 | --program-transfo=* | --program-transf=* \
1142 | --program-trans=* | --program-tran=* \
1143 | --progr-tra=* | --program-tr=* | --program-t=*)
1144 program_transform_name=$ac_optarg ;;
1146 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1148 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1149 pdfdir=$ac_optarg ;;
1151 -psdir | --psdir | --psdi | --psd | --ps)
1153 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1156 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1157 | -silent | --silent | --silen | --sile | --sil)
1160 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1162 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1164 sbindir=$ac_optarg ;;
1166 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1167 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1168 | --sharedst | --shareds | --shared | --share | --shar \
1170 ac_prev=sharedstatedir ;;
1171 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1172 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1173 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1175 sharedstatedir=$ac_optarg ;;
1177 -site | --site | --sit)
1179 -site=* | --site=* | --sit=*)
1182 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1184 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1185 srcdir=$ac_optarg ;;
1187 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1188 | --syscon | --sysco | --sysc | --sys | --sy)
1189 ac_prev=sysconfdir ;;
1190 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1191 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1192 sysconfdir=$ac_optarg ;;
1194 -target | --target | --targe | --targ | --tar | --ta | --t)
1195 ac_prev=target_alias ;;
1196 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1197 target_alias=$ac_optarg ;;
1199 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1202 -version | --version | --versio | --versi | --vers | -V)
1203 ac_init_version=: ;;
1206 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1207 # Reject names that are not valid shell variable names.
1208 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1209 { echo "$as_me: error: invalid package name: $ac_package" >&2
1210 { (exit 1); exit 1; }; }
1211 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1212 eval with_$ac_package=\$ac_optarg ;;
1214 -without-* | --without-*)
1215 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1216 # Reject names that are not valid shell variable names.
1217 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1218 { echo "$as_me: error: invalid package name: $ac_package" >&2
1219 { (exit 1); exit 1; }; }
1220 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1221 eval with_$ac_package=no ;;
1224 # Obsolete; use --with-x.
1227 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1228 | --x-incl | --x-inc | --x-in | --x-i)
1229 ac_prev=x_includes ;;
1230 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1231 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1232 x_includes=$ac_optarg ;;
1234 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1235 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1236 ac_prev=x_libraries ;;
1237 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1238 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1239 x_libraries=$ac_optarg ;;
1241 -*) { echo "$as_me: error: unrecognized option: $ac_option
1242 Try \`$0 --help' for more information." >&2
1243 { (exit 1); exit 1; }; }
1247 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1248 # Reject names that are not valid shell variable names.
1249 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1250 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1251 { (exit 1); exit 1; }; }
1252 eval $ac_envvar=\$ac_optarg
1253 export $ac_envvar ;;
1256 # FIXME: should be removed in autoconf 3.0.
1257 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1258 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1259 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1260 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1266 if test -n "$ac_prev"; then
1267 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1268 { echo "$as_me: error: missing argument to $ac_option" >&2
1269 { (exit 1); exit 1; }; }
1272 # Be sure to have absolute directory names.
1273 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1274 datadir sysconfdir sharedstatedir localstatedir includedir \
1275 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1276 libdir localedir mandir
1278 eval ac_val=\$$ac_var
1280 [\\/$]* | ?:[\\/]* ) continue;;
1281 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1283 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1284 { (exit 1); exit 1; }; }
1287 # There might be people who depend on the old broken behavior: `$host'
1288 # used to hold the argument of --host etc.
1289 # FIXME: To remove some day.
1292 target=$target_alias
1294 # FIXME: To remove some day.
1295 if test "x$host_alias" != x; then
1296 if test "x$build_alias" = x; then
1297 cross_compiling=maybe
1298 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1299 If a cross compiler is detected then cross compile mode will be used." >&2
1300 elif test "x$build_alias" != "x$host_alias"; then
1306 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1308 test "$silent" = yes && exec 6>/dev/null
1311 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1312 ac_ls_di=`ls -di .` &&
1313 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1314 { echo "$as_me: error: Working directory cannot be determined" >&2
1315 { (exit 1); exit 1; }; }
1316 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1317 { echo "$as_me: error: pwd does not report name of working directory" >&2
1318 { (exit 1); exit 1; }; }
1321 # Find the source files, if location was not specified.
1322 if test -z "$srcdir"; then
1323 ac_srcdir_defaulted=yes
1324 # Try the directory containing this script, then the parent directory.
1325 ac_confdir=`$as_dirname -- "$0" ||
1326 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1327 X"$0" : 'X\(//\)[^/]' \| \
1328 X"$0" : 'X\(//\)$' \| \
1329 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1331 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1349 if test ! -r "$srcdir/$ac_unique_file"; then
1353 ac_srcdir_defaulted=no
1355 if test ! -r "$srcdir/$ac_unique_file"; then
1356 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1357 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1358 { (exit 1); exit 1; }; }
1360 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1362 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1363 { (exit 1); exit 1; }; }
1365 # When building in place, set srcdir=.
1366 if test "$ac_abs_confdir" = "$ac_pwd"; then
1369 # Remove unnecessary trailing slashes from srcdir.
1370 # Double slashes in file names in object file debugging info
1371 # mess up M-x gdb in Emacs.
1373 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1375 for ac_var in $ac_precious_vars; do
1376 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1377 eval ac_env_${ac_var}_value=\$${ac_var}
1378 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1379 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1383 # Report the --help message.
1385 if test "$ac_init_help" = "long"; then
1386 # Omit some internal or obsolete options to make the list less imposing.
1387 # This message is too long to be a string in the A/UX 3.1 sh.
1389 \`configure' configures yaml 0.1.2 to adapt to many kinds of systems.
1391 Usage: $0 [OPTION]... [VAR=VALUE]...
1393 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1394 VAR=VALUE. See below for descriptions of some of the useful variables.
1396 Defaults for the options are specified in brackets.
1399 -h, --help display this help and exit
1400 --help=short display options specific to this package
1401 --help=recursive display the short help of all the included packages
1402 -V, --version display version information and exit
1403 -q, --quiet, --silent do not print \`checking...' messages
1404 --cache-file=FILE cache test results in FILE [disabled]
1405 -C, --config-cache alias for \`--cache-file=config.cache'
1406 -n, --no-create do not create output files
1407 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1409 Installation directories:
1410 --prefix=PREFIX install architecture-independent files in PREFIX
1411 [$ac_default_prefix]
1412 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1415 By default, \`make install' will install all the files in
1416 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1417 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1418 for instance \`--prefix=\$HOME'.
1420 For better control, use the options below.
1422 Fine tuning of the installation directories:
1423 --bindir=DIR user executables [EPREFIX/bin]
1424 --sbindir=DIR system admin executables [EPREFIX/sbin]
1425 --libexecdir=DIR program executables [EPREFIX/libexec]
1426 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1427 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1428 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1429 --libdir=DIR object code libraries [EPREFIX/lib]
1430 --includedir=DIR C header files [PREFIX/include]
1431 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1432 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1433 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1434 --infodir=DIR info documentation [DATAROOTDIR/info]
1435 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1436 --mandir=DIR man documentation [DATAROOTDIR/man]
1437 --docdir=DIR documentation root [DATAROOTDIR/doc/yaml]
1438 --htmldir=DIR html documentation [DOCDIR]
1439 --dvidir=DIR dvi documentation [DOCDIR]
1440 --pdfdir=DIR pdf documentation [DOCDIR]
1441 --psdir=DIR ps documentation [DOCDIR]
1447 --program-prefix=PREFIX prepend PREFIX to installed program names
1448 --program-suffix=SUFFIX append SUFFIX to installed program names
1449 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1452 --build=BUILD configure for building on BUILD [guessed]
1453 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1457 if test -n "$ac_init_help"; then
1458 case $ac_init_help in
1459 short | recursive ) echo "Configuration of yaml 0.1.2:";;
1464 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1465 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1466 --disable-dependency-tracking speeds up one-time build
1467 --enable-dependency-tracking do not reject slow dependency extractors
1468 --enable-shared[=PKGS] build shared libraries [default=yes]
1469 --enable-static[=PKGS] build static libraries [default=yes]
1470 --enable-fast-install[=PKGS]
1471 optimize for fast installation [default=yes]
1472 --disable-libtool-lock avoid locking (might break parallel builds)
1475 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1476 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1477 --with-pic try to use only PIC/non-PIC objects [default=use
1479 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1481 Some influential environment variables:
1482 CC C compiler command
1483 CFLAGS C compiler flags
1484 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1485 nonstandard directory <lib dir>
1486 LIBS libraries to pass to the linker, e.g. -l<library>
1487 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1488 you have headers in a nonstandard directory <include dir>
1491 Use these variables to override the choices made by `configure' or to help
1492 it to find libraries and programs with nonstandard names/locations.
1494 Report bugs to <http://pyyaml.org/newticket?component=libyaml>.
1499 if test "$ac_init_help" = "recursive"; then
1500 # If there are subdirs, report their specific --help.
1501 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1502 test -d "$ac_dir" || continue
1506 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1508 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1509 # A ".." for each directory in $ac_dir_suffix.
1510 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1511 case $ac_top_builddir_sub in
1512 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1513 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1516 ac_abs_top_builddir=$ac_pwd
1517 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1518 # for backward compatibility:
1519 ac_top_builddir=$ac_top_build_prefix
1522 .) # We are building in place.
1524 ac_top_srcdir=$ac_top_builddir_sub
1525 ac_abs_top_srcdir=$ac_pwd ;;
1526 [\\/]* | ?:[\\/]* ) # Absolute name.
1527 ac_srcdir=$srcdir$ac_dir_suffix;
1528 ac_top_srcdir=$srcdir
1529 ac_abs_top_srcdir=$srcdir ;;
1531 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1532 ac_top_srcdir=$ac_top_build_prefix$srcdir
1533 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1535 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1537 cd "$ac_dir" || { ac_status=$?; continue; }
1538 # Check for guested configure.
1539 if test -f "$ac_srcdir/configure.gnu"; then
1541 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1542 elif test -f "$ac_srcdir/configure"; then
1544 $SHELL "$ac_srcdir/configure" --help=recursive
1546 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1548 cd "$ac_pwd" || { ac_status=$?; break; }
1552 test -n "$ac_init_help" && exit $ac_status
1553 if $ac_init_version; then
1555 yaml configure 0.1.2
1556 generated by GNU Autoconf 2.61
1558 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1559 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1560 This configure script is free software; the Free Software Foundation
1561 gives unlimited permission to copy, distribute and modify it.
1565 cat >config.log <<_ACEOF
1566 This file contains any messages produced by compilers while
1567 running configure, to aid debugging if configure makes a mistake.
1569 It was created by yaml $as_me 0.1.2, which was
1570 generated by GNU Autoconf 2.61. Invocation command line was
1582 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1583 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1584 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1585 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1586 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1588 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1589 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1591 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1592 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1593 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1594 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1595 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1596 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1597 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1605 test -z "$as_dir" && as_dir=.
1606 echo "PATH: $as_dir"
1622 # Keep a trace of the command line.
1623 # Strip out --no-create and --no-recursion so they do not pile up.
1624 # Strip out --silent because we don't want to record it for future runs.
1625 # Also quote any args containing shell meta-characters.
1626 # Make two passes to allow for proper duplicate-argument suppression.
1630 ac_must_keep_next=false
1636 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1637 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1638 | -silent | --silent | --silen | --sile | --sil)
1641 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1644 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1646 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1647 if test $ac_must_keep_next = true; then
1648 ac_must_keep_next=false # Got value, back to normal.
1651 *=* | --config-cache | -C | -disable-* | --disable-* \
1652 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1653 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1654 | -with-* | --with-* | -without-* | --without-* | --x)
1655 case "$ac_configure_args0 " in
1656 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1659 -* ) ac_must_keep_next=true ;;
1662 ac_configure_args="$ac_configure_args '$ac_arg'"
1667 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1668 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1670 # When interrupted or exit'd, cleanup temporary files, and complete
1671 # config.log. We remove comments because anyway the quotes in there
1672 # would cause problems or look ugly.
1673 # WARNING: Use '\'' to represent an apostrophe within the trap.
1674 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1675 trap 'exit_status=$?
1676 # Save into config.log some information that might help in debugging.
1681 ## ---------------- ##
1682 ## Cache variables. ##
1683 ## ---------------- ##
1686 # The following way of writing the cache mishandles newlines in values,
1688 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1689 eval ac_val=\$$ac_var
1693 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1694 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1697 _ | IFS | as_nl) ;; #(
1698 *) $as_unset $ac_var ;;
1703 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1704 *${as_nl}ac_space=\ *)
1706 "s/'\''/'\''\\\\'\'''\''/g;
1707 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1710 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1718 ## ----------------- ##
1719 ## Output variables. ##
1720 ## ----------------- ##
1723 for ac_var in $ac_subst_vars
1725 eval ac_val=\$$ac_var
1727 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1729 echo "$ac_var='\''$ac_val'\''"
1733 if test -n "$ac_subst_files"; then
1735 ## ------------------- ##
1736 ## File substitutions. ##
1737 ## ------------------- ##
1740 for ac_var in $ac_subst_files
1742 eval ac_val=\$$ac_var
1744 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1746 echo "$ac_var='\''$ac_val'\''"
1751 if test -s confdefs.h; then
1761 test "$ac_signal" != 0 &&
1762 echo "$as_me: caught signal $ac_signal"
1763 echo "$as_me: exit $exit_status"
1765 rm -f core *.core core.conftest.* &&
1766 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1769 for ac_signal in 1 2 13 15; do
1770 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1774 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1775 rm -f -r conftest* confdefs.h
1777 # Predefined preprocessor variables.
1779 cat >>confdefs.h <<_ACEOF
1780 #define PACKAGE_NAME "$PACKAGE_NAME"
1784 cat >>confdefs.h <<_ACEOF
1785 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1789 cat >>confdefs.h <<_ACEOF
1790 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1794 cat >>confdefs.h <<_ACEOF
1795 #define PACKAGE_STRING "$PACKAGE_STRING"
1799 cat >>confdefs.h <<_ACEOF
1800 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1804 # Let the site file select an alternate cache file if it wants to.
1805 # Prefer explicitly selected file to automatically selected ones.
1806 if test -n "$CONFIG_SITE"; then
1807 set x "$CONFIG_SITE"
1808 elif test "x$prefix" != xNONE; then
1809 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1811 set x "$ac_default_prefix/share/config.site" \
1812 "$ac_default_prefix/etc/config.site"
1817 if test -r "$ac_site_file"; then
1818 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1819 echo "$as_me: loading site script $ac_site_file" >&6;}
1820 sed 's/^/| /' "$ac_site_file" >&5
1825 if test -r "$cache_file"; then
1826 # Some versions of bash will fail to source /dev/null (special
1827 # files actually), so we avoid doing that.
1828 if test -f "$cache_file"; then
1829 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1830 echo "$as_me: loading cache $cache_file" >&6;}
1832 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1833 *) . "./$cache_file";;
1837 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1838 echo "$as_me: creating cache $cache_file" >&6;}
1842 # Check that the precious variables saved in the cache have kept the same
1844 ac_cache_corrupted=false
1845 for ac_var in $ac_precious_vars; do
1846 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1847 eval ac_new_set=\$ac_env_${ac_var}_set
1848 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1849 eval ac_new_val=\$ac_env_${ac_var}_value
1850 case $ac_old_set,$ac_new_set in
1852 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1853 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1854 ac_cache_corrupted=: ;;
1856 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1857 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1858 ac_cache_corrupted=: ;;
1861 if test "x$ac_old_val" != "x$ac_new_val"; then
1862 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1863 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1864 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1865 echo "$as_me: former value: $ac_old_val" >&2;}
1866 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1867 echo "$as_me: current value: $ac_new_val" >&2;}
1868 ac_cache_corrupted=:
1871 # Pass precious variables to config.status.
1872 if test "$ac_new_set" = set; then
1874 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1875 *) ac_arg=$ac_var=$ac_new_val ;;
1877 case " $ac_configure_args " in
1878 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1879 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1883 if $ac_cache_corrupted; then
1884 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1885 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1886 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1887 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1888 { (exit 1); exit 1; }; }
1916 ac_cpp='$CPP $CPPFLAGS'
1917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1923 for ac_dir in config "$srcdir"/config; do
1924 if test -f "$ac_dir/install-sh"; then
1926 ac_install_sh="$ac_aux_dir/install-sh -c"
1928 elif test -f "$ac_dir/install.sh"; then
1930 ac_install_sh="$ac_aux_dir/install.sh -c"
1932 elif test -f "$ac_dir/shtool"; then
1934 ac_install_sh="$ac_aux_dir/shtool install -c"
1938 if test -z "$ac_aux_dir"; then
1939 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
1940 echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
1941 { (exit 1); exit 1; }; }
1944 # These three variables are undocumented and unsupported,
1945 # and are intended to be withdrawn in a future Autoconf release.
1946 # They can cause serious problems if a builder's source tree is in a directory
1947 # whose full name contains unusual characters.
1948 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1949 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1950 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1953 ac_config_headers="$ac_config_headers config.h"
1955 am__api_version='1.10'
1957 # Find a good install program. We prefer a C program (faster),
1958 # so one script is as good as another. But avoid the broken or
1959 # incompatible versions:
1960 # SysV /etc/install, /usr/sbin/install
1961 # SunOS /usr/etc/install
1962 # IRIX /sbin/install
1964 # AmigaOS /C/install, which installs bootblocks on floppy discs
1965 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1966 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1967 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1968 # OS/2's system install, which has a completely different semantic
1969 # ./install, which can be erroneously created by make from ./install.sh.
1970 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1971 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1972 if test -z "$INSTALL"; then
1973 if test "${ac_cv_path_install+set}" = set; then
1974 echo $ECHO_N "(cached) $ECHO_C" >&6
1976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1980 test -z "$as_dir" && as_dir=.
1981 # Account for people who put trailing slashes in PATH elements.
1983 ./ | .// | /cC/* | \
1984 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1985 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1988 # OSF1 and SCO ODT 3.0 have their own names for install.
1989 # Don't use installbsd from OSF since it installs stuff as root
1991 for ac_prog in ginstall scoinst install; do
1992 for ac_exec_ext in '' $ac_executable_extensions; do
1993 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1994 if test $ac_prog = install &&
1995 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1996 # AIX install. It has an incompatible calling convention.
1998 elif test $ac_prog = install &&
1999 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2000 # program-specific install script used by HP pwplus--don't use.
2003 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2016 if test "${ac_cv_path_install+set}" = set; then
2017 INSTALL=$ac_cv_path_install
2019 # As a last resort, use the slow shell script. Don't cache a
2020 # value for INSTALL within a source directory, because that will
2021 # break other packages using the cache if that directory is
2022 # removed, or if the value is a relative name.
2023 INSTALL=$ac_install_sh
2026 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2027 echo "${ECHO_T}$INSTALL" >&6; }
2029 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2030 # It thinks the first close brace ends the variable substitution.
2031 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2033 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2035 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2037 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2038 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2041 echo timestamp > conftest.file
2042 # Do `set' in a subshell so we don't clobber the current shell's
2043 # arguments. Must try -L first in case configure is actually a
2044 # symlink; some systems play weird games with the mod time of symlinks
2045 # (eg FreeBSD returns the mod time of the symlink's containing
2048 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2049 if test "$*" = "X"; then
2051 set X `ls -t $srcdir/configure conftest.file`
2054 if test "$*" != "X $srcdir/configure conftest.file" \
2055 && test "$*" != "X conftest.file $srcdir/configure"; then
2057 # If neither matched, then we have a broken ls. This can happen
2058 # if, for instance, CONFIG_SHELL is bash and it inherits a
2059 # broken ls alias from the environment. This has actually
2060 # happened. Such a system could not be considered "sane".
2061 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2062 alias in your environment" >&5
2063 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2064 alias in your environment" >&2;}
2065 { (exit 1); exit 1; }; }
2068 test "$2" = conftest.file
2074 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2075 Check your system clock" >&5
2076 echo "$as_me: error: newly created file is older than distributed files!
2077 Check your system clock" >&2;}
2078 { (exit 1); exit 1; }; }
2080 { echo "$as_me:$LINENO: result: yes" >&5
2081 echo "${ECHO_T}yes" >&6; }
2082 test "$program_prefix" != NONE &&
2083 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2084 # Use a double $ so make ignores it.
2085 test "$program_suffix" != NONE &&
2086 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2087 # Double any \ or $. echo might interpret backslashes.
2088 # By default was `s,x,x', remove it if useless.
2089 cat <<\_ACEOF >conftest.sed
2090 s/[\\$]/&&/g;s/;s,x,x,$//
2092 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2095 # expand $ac_aux_dir to an absolute path
2096 am_aux_dir=`cd $ac_aux_dir && pwd`
2098 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2099 # Use eval to expand $SHELL
2100 if eval "$MISSING --run true"; then
2101 am_missing_run="$MISSING --run "
2104 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2105 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2108 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2109 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2110 if test -z "$MKDIR_P"; then
2111 if test "${ac_cv_path_mkdir+set}" = set; then
2112 echo $ECHO_N "(cached) $ECHO_C" >&6
2114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2115 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2118 test -z "$as_dir" && as_dir=.
2119 for ac_prog in mkdir gmkdir; do
2120 for ac_exec_ext in '' $ac_executable_extensions; do
2121 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2122 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2123 'mkdir (GNU coreutils) '* | \
2124 'mkdir (coreutils) '* | \
2125 'mkdir (fileutils) '4.1*)
2126 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2136 if test "${ac_cv_path_mkdir+set}" = set; then
2137 MKDIR_P="$ac_cv_path_mkdir -p"
2139 # As a last resort, use the slow shell script. Don't cache a
2140 # value for MKDIR_P within a source directory, because that will
2141 # break other packages using the cache if that directory is
2142 # removed, or if the value is a relative name.
2143 test -d ./--version && rmdir ./--version
2144 MKDIR_P="$ac_install_sh -d"
2147 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2148 echo "${ECHO_T}$MKDIR_P" >&6; }
2152 [\\/$]* | ?:[\\/]*) ;;
2153 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2156 for ac_prog in gawk mawk nawk awk
2158 # Extract the first word of "$ac_prog", so it can be a program name with args.
2159 set dummy $ac_prog; ac_word=$2
2160 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2162 if test "${ac_cv_prog_AWK+set}" = set; then
2163 echo $ECHO_N "(cached) $ECHO_C" >&6
2165 if test -n "$AWK"; then
2166 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2172 test -z "$as_dir" && as_dir=.
2173 for ac_exec_ext in '' $ac_executable_extensions; do
2174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2175 ac_cv_prog_AWK="$ac_prog"
2176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2186 if test -n "$AWK"; then
2187 { echo "$as_me:$LINENO: result: $AWK" >&5
2188 echo "${ECHO_T}$AWK" >&6; }
2190 { echo "$as_me:$LINENO: result: no" >&5
2191 echo "${ECHO_T}no" >&6; }
2195 test -n "$AWK" && break
2198 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2199 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2200 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2201 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2202 echo $ECHO_N "(cached) $ECHO_C" >&6
2204 cat >conftest.make <<\_ACEOF
2207 @echo '@@@%%%=$(MAKE)=@@@%%%'
2209 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2210 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2212 eval ac_cv_prog_make_${ac_make}_set=yes;;
2214 eval ac_cv_prog_make_${ac_make}_set=no;;
2218 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2219 { echo "$as_me:$LINENO: result: yes" >&5
2220 echo "${ECHO_T}yes" >&6; }
2223 { echo "$as_me:$LINENO: result: no" >&5
2224 echo "${ECHO_T}no" >&6; }
2225 SET_MAKE="MAKE=${MAKE-make}"
2228 rm -rf .tst 2>/dev/null
2229 mkdir .tst 2>/dev/null
2230 if test -d .tst; then
2235 rmdir .tst 2>/dev/null
2237 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2238 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2239 # is not polluted with repeated "-I."
2240 am__isrc=' -I$(srcdir)'
2241 # test to see if srcdir already configured
2242 if test -f $srcdir/config.status; then
2243 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2244 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2245 { (exit 1); exit 1; }; }
2249 # test whether we have cygpath
2250 if test -z "$CYGPATH_W"; then
2251 if (cygpath --version) >/dev/null 2>/dev/null; then
2252 CYGPATH_W='cygpath -w'
2259 # Define the identity of the package.
2264 cat >>confdefs.h <<_ACEOF
2265 #define PACKAGE "$PACKAGE"
2269 cat >>confdefs.h <<_ACEOF
2270 #define VERSION "$VERSION"
2273 # Some tools Automake needs.
2275 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2278 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2281 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2284 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2287 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2289 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2291 # Installed binaries are usually stripped using `strip' when the user
2292 # run `make install-strip'. However `strip' might not be the right
2293 # tool to use in cross-compilation environments, therefore Automake
2294 # will honor the `STRIP' environment variable to overrule this program.
2295 if test "$cross_compiling" != no; then
2296 if test -n "$ac_tool_prefix"; then
2297 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2298 set dummy ${ac_tool_prefix}strip; ac_word=$2
2299 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2301 if test "${ac_cv_prog_STRIP+set}" = set; then
2302 echo $ECHO_N "(cached) $ECHO_C" >&6
2304 if test -n "$STRIP"; then
2305 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2311 test -z "$as_dir" && as_dir=.
2312 for ac_exec_ext in '' $ac_executable_extensions; do
2313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2314 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2324 STRIP=$ac_cv_prog_STRIP
2325 if test -n "$STRIP"; then
2326 { echo "$as_me:$LINENO: result: $STRIP" >&5
2327 echo "${ECHO_T}$STRIP" >&6; }
2329 { echo "$as_me:$LINENO: result: no" >&5
2330 echo "${ECHO_T}no" >&6; }
2335 if test -z "$ac_cv_prog_STRIP"; then
2337 # Extract the first word of "strip", so it can be a program name with args.
2338 set dummy strip; ac_word=$2
2339 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2341 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2342 echo $ECHO_N "(cached) $ECHO_C" >&6
2344 if test -n "$ac_ct_STRIP"; then
2345 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2351 test -z "$as_dir" && as_dir=.
2352 for ac_exec_ext in '' $ac_executable_extensions; do
2353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2354 ac_cv_prog_ac_ct_STRIP="strip"
2355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2364 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2365 if test -n "$ac_ct_STRIP"; then
2366 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2367 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2369 { echo "$as_me:$LINENO: result: no" >&5
2370 echo "${ECHO_T}no" >&6; }
2373 if test "x$ac_ct_STRIP" = x; then
2376 case $cross_compiling:$ac_tool_warned in
2378 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2379 whose name does not start with the host triplet. If you think this
2380 configuration is useful to you, please write to autoconf@gnu.org." >&5
2381 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2382 whose name does not start with the host triplet. If you think this
2383 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2384 ac_tool_warned=yes ;;
2389 STRIP="$ac_cv_prog_STRIP"
2393 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2395 # We need awk for the "check" target. The system "awk" is bad on
2397 # Always define AMTAR for backward compatibility.
2399 AMTAR=${AMTAR-"${am_missing_run}tar"}
2401 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2408 # Define macro variables for the package version numbers.
2410 cat >>confdefs.h <<\_ACEOF
2411 #define YAML_VERSION_MAJOR 0
2415 cat >>confdefs.h <<\_ACEOF
2416 #define YAML_VERSION_MINOR 1
2420 cat >>confdefs.h <<\_ACEOF
2421 #define YAML_VERSION_PATCH 2
2425 cat >>confdefs.h <<\_ACEOF
2426 #define YAML_VERSION_STRING "0.1.2"
2430 # Define substitutions for the libtool version numbers.
2440 # Note: in order to update checks, run `autoscan` and look through "configure.scan".
2442 # Checks for programs.
2444 ac_cpp='$CPP $CPPFLAGS'
2445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2448 if test -n "$ac_tool_prefix"; then
2449 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2450 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2451 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2453 if test "${ac_cv_prog_CC+set}" = set; then
2454 echo $ECHO_N "(cached) $ECHO_C" >&6
2456 if test -n "$CC"; then
2457 ac_cv_prog_CC="$CC" # Let the user override the test.
2459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2463 test -z "$as_dir" && as_dir=.
2464 for ac_exec_ext in '' $ac_executable_extensions; do
2465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2466 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2477 if test -n "$CC"; then
2478 { echo "$as_me:$LINENO: result: $CC" >&5
2479 echo "${ECHO_T}$CC" >&6; }
2481 { echo "$as_me:$LINENO: result: no" >&5
2482 echo "${ECHO_T}no" >&6; }
2487 if test -z "$ac_cv_prog_CC"; then
2489 # Extract the first word of "gcc", so it can be a program name with args.
2490 set dummy gcc; ac_word=$2
2491 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2493 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2494 echo $ECHO_N "(cached) $ECHO_C" >&6
2496 if test -n "$ac_ct_CC"; then
2497 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2503 test -z "$as_dir" && as_dir=.
2504 for ac_exec_ext in '' $ac_executable_extensions; do
2505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2506 ac_cv_prog_ac_ct_CC="gcc"
2507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2516 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2517 if test -n "$ac_ct_CC"; then
2518 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2519 echo "${ECHO_T}$ac_ct_CC" >&6; }
2521 { echo "$as_me:$LINENO: result: no" >&5
2522 echo "${ECHO_T}no" >&6; }
2525 if test "x$ac_ct_CC" = x; then
2528 case $cross_compiling:$ac_tool_warned in
2530 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2531 whose name does not start with the host triplet. If you think this
2532 configuration is useful to you, please write to autoconf@gnu.org." >&5
2533 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2534 whose name does not start with the host triplet. If you think this
2535 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2536 ac_tool_warned=yes ;;
2544 if test -z "$CC"; then
2545 if test -n "$ac_tool_prefix"; then
2546 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2547 set dummy ${ac_tool_prefix}cc; ac_word=$2
2548 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2550 if test "${ac_cv_prog_CC+set}" = set; then
2551 echo $ECHO_N "(cached) $ECHO_C" >&6
2553 if test -n "$CC"; then
2554 ac_cv_prog_CC="$CC" # Let the user override the test.
2556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2560 test -z "$as_dir" && as_dir=.
2561 for ac_exec_ext in '' $ac_executable_extensions; do
2562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2563 ac_cv_prog_CC="${ac_tool_prefix}cc"
2564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2574 if test -n "$CC"; then
2575 { echo "$as_me:$LINENO: result: $CC" >&5
2576 echo "${ECHO_T}$CC" >&6; }
2578 { echo "$as_me:$LINENO: result: no" >&5
2579 echo "${ECHO_T}no" >&6; }
2585 if test -z "$CC"; then
2586 # Extract the first word of "cc", so it can be a program name with args.
2587 set dummy cc; ac_word=$2
2588 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2590 if test "${ac_cv_prog_CC+set}" = set; then
2591 echo $ECHO_N "(cached) $ECHO_C" >&6
2593 if test -n "$CC"; then
2594 ac_cv_prog_CC="$CC" # Let the user override the test.
2597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2601 test -z "$as_dir" && as_dir=.
2602 for ac_exec_ext in '' $ac_executable_extensions; do
2603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2604 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2605 ac_prog_rejected=yes
2609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2616 if test $ac_prog_rejected = yes; then
2617 # We found a bogon in the path, so make sure we never use it.
2618 set dummy $ac_cv_prog_CC
2620 if test $# != 0; then
2621 # We chose a different compiler from the bogus one.
2622 # However, it has the same basename, so the bogon will be chosen
2623 # first if we set CC to just the basename; use the full file name.
2625 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2631 if test -n "$CC"; then
2632 { echo "$as_me:$LINENO: result: $CC" >&5
2633 echo "${ECHO_T}$CC" >&6; }
2635 { echo "$as_me:$LINENO: result: no" >&5
2636 echo "${ECHO_T}no" >&6; }
2641 if test -z "$CC"; then
2642 if test -n "$ac_tool_prefix"; then
2643 for ac_prog in cl.exe
2645 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2646 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2647 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2649 if test "${ac_cv_prog_CC+set}" = set; then
2650 echo $ECHO_N "(cached) $ECHO_C" >&6
2652 if test -n "$CC"; then
2653 ac_cv_prog_CC="$CC" # Let the user override the test.
2655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2659 test -z "$as_dir" && as_dir=.
2660 for ac_exec_ext in '' $ac_executable_extensions; do
2661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2662 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2673 if test -n "$CC"; then
2674 { echo "$as_me:$LINENO: result: $CC" >&5
2675 echo "${ECHO_T}$CC" >&6; }
2677 { echo "$as_me:$LINENO: result: no" >&5
2678 echo "${ECHO_T}no" >&6; }
2682 test -n "$CC" && break
2685 if test -z "$CC"; then
2687 for ac_prog in cl.exe
2689 # Extract the first word of "$ac_prog", so it can be a program name with args.
2690 set dummy $ac_prog; ac_word=$2
2691 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2693 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2694 echo $ECHO_N "(cached) $ECHO_C" >&6
2696 if test -n "$ac_ct_CC"; then
2697 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2703 test -z "$as_dir" && as_dir=.
2704 for ac_exec_ext in '' $ac_executable_extensions; do
2705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2706 ac_cv_prog_ac_ct_CC="$ac_prog"
2707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2716 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2717 if test -n "$ac_ct_CC"; then
2718 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2719 echo "${ECHO_T}$ac_ct_CC" >&6; }
2721 { echo "$as_me:$LINENO: result: no" >&5
2722 echo "${ECHO_T}no" >&6; }
2726 test -n "$ac_ct_CC" && break
2729 if test "x$ac_ct_CC" = x; then
2732 case $cross_compiling:$ac_tool_warned in
2734 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2735 whose name does not start with the host triplet. If you think this
2736 configuration is useful to you, please write to autoconf@gnu.org." >&5
2737 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2738 whose name does not start with the host triplet. If you think this
2739 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2740 ac_tool_warned=yes ;;
2749 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2750 See \`config.log' for more details." >&5
2751 echo "$as_me: error: no acceptable C compiler found in \$PATH
2752 See \`config.log' for more details." >&2;}
2753 { (exit 1); exit 1; }; }
2755 # Provide some information about the compiler.
2756 echo "$as_me:$LINENO: checking for C compiler version" >&5
2757 ac_compiler=`set X $ac_compile; echo $2`
2758 { (ac_try="$ac_compiler --version >&5"
2760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2761 *) ac_try_echo=$ac_try;;
2763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2764 (eval "$ac_compiler --version >&5") 2>&5
2766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2767 (exit $ac_status); }
2768 { (ac_try="$ac_compiler -v >&5"
2770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2771 *) ac_try_echo=$ac_try;;
2773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2774 (eval "$ac_compiler -v >&5") 2>&5
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); }
2778 { (ac_try="$ac_compiler -V >&5"
2780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2781 *) ac_try_echo=$ac_try;;
2783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2784 (eval "$ac_compiler -V >&5") 2>&5
2786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2787 (exit $ac_status); }
2789 cat >conftest.$ac_ext <<_ACEOF
2792 cat confdefs.h >>conftest.$ac_ext
2793 cat >>conftest.$ac_ext <<_ACEOF
2794 /* end confdefs.h. */
2804 ac_clean_files_save=$ac_clean_files
2805 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2806 # Try to create an executable without -o first, disregard a.out.
2807 # It will help us diagnose broken compilers, and finding out an intuition
2809 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2810 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2811 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2813 # List of possible output files, starting from the most likely.
2814 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2815 # only as a last resort. b.out is created by i960 compilers.
2816 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2818 # The IRIX 6 linker writes into existing files which may not be
2819 # executable, retaining their permissions. Remove them first so a
2820 # subsequent execution test works.
2822 for ac_file in $ac_files
2825 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2826 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2831 if { (ac_try="$ac_link_default"
2833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2834 *) ac_try_echo=$ac_try;;
2836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2837 (eval "$ac_link_default") 2>&5
2839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840 (exit $ac_status); }; then
2841 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2842 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2843 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2844 # so that the user can short-circuit this test for compilers unknown to
2846 for ac_file in $ac_files ''
2848 test -f "$ac_file" || continue
2850 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2853 # We found the default executable, but exeext='' is most
2857 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2859 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2861 # We set ac_cv_exeext here because the later test for it is not
2862 # safe: cross compilers may not add the suffix if given an `-o'
2863 # argument, so we may need to know it at that point already.
2864 # Even if this section looks crufty: it has the advantage of
2871 test "$ac_cv_exeext" = no && ac_cv_exeext=
2877 { echo "$as_me:$LINENO: result: $ac_file" >&5
2878 echo "${ECHO_T}$ac_file" >&6; }
2879 if test -z "$ac_file"; then
2880 echo "$as_me: failed program was:" >&5
2881 sed 's/^/| /' conftest.$ac_ext >&5
2883 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2884 See \`config.log' for more details." >&5
2885 echo "$as_me: error: C compiler cannot create executables
2886 See \`config.log' for more details." >&2;}
2887 { (exit 77); exit 77; }; }
2890 ac_exeext=$ac_cv_exeext
2892 # Check that the compiler produces executables we can run. If not, either
2893 # the compiler is broken, or we cross compile.
2894 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2895 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2896 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2897 # If not cross compiling, check that we can run a simple program.
2898 if test "$cross_compiling" != yes; then
2899 if { ac_try='./$ac_file'
2900 { (case "(($ac_try" in
2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902 *) ac_try_echo=$ac_try;;
2904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2905 (eval "$ac_try") 2>&5
2907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908 (exit $ac_status); }; }; then
2911 if test "$cross_compiling" = maybe; then
2914 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2915 If you meant to cross compile, use \`--host'.
2916 See \`config.log' for more details." >&5
2917 echo "$as_me: error: cannot run C compiled programs.
2918 If you meant to cross compile, use \`--host'.
2919 See \`config.log' for more details." >&2;}
2920 { (exit 1); exit 1; }; }
2924 { echo "$as_me:$LINENO: result: yes" >&5
2925 echo "${ECHO_T}yes" >&6; }
2927 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2928 ac_clean_files=$ac_clean_files_save
2929 # Check that the compiler produces executables we can run. If not, either
2930 # the compiler is broken, or we cross compile.
2931 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2932 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2933 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2934 echo "${ECHO_T}$cross_compiling" >&6; }
2936 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2937 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2938 if { (ac_try="$ac_link"
2940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2941 *) ac_try_echo=$ac_try;;
2943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2944 (eval "$ac_link") 2>&5
2946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); }; then
2948 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2949 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2950 # work properly (i.e., refer to `conftest.exe'), while it won't with
2952 for ac_file in conftest.exe conftest conftest.*; do
2953 test -f "$ac_file" || continue
2955 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2956 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2962 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2963 See \`config.log' for more details." >&5
2964 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2965 See \`config.log' for more details." >&2;}
2966 { (exit 1); exit 1; }; }
2969 rm -f conftest$ac_cv_exeext
2970 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2971 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2973 rm -f conftest.$ac_ext
2974 EXEEXT=$ac_cv_exeext
2976 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2977 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2978 if test "${ac_cv_objext+set}" = set; then
2979 echo $ECHO_N "(cached) $ECHO_C" >&6
2981 cat >conftest.$ac_ext <<_ACEOF
2984 cat confdefs.h >>conftest.$ac_ext
2985 cat >>conftest.$ac_ext <<_ACEOF
2986 /* end confdefs.h. */
2996 rm -f conftest.o conftest.obj
2997 if { (ac_try="$ac_compile"
2999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3000 *) ac_try_echo=$ac_try;;
3002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3003 (eval "$ac_compile") 2>&5
3005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3006 (exit $ac_status); }; then
3007 for ac_file in conftest.o conftest.obj conftest.*; do
3008 test -f "$ac_file" || continue;
3010 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3011 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3016 echo "$as_me: failed program was:" >&5
3017 sed 's/^/| /' conftest.$ac_ext >&5
3019 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3020 See \`config.log' for more details." >&5
3021 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3022 See \`config.log' for more details." >&2;}
3023 { (exit 1); exit 1; }; }
3026 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3028 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3029 echo "${ECHO_T}$ac_cv_objext" >&6; }
3030 OBJEXT=$ac_cv_objext
3032 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3033 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3034 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3035 echo $ECHO_N "(cached) $ECHO_C" >&6
3037 cat >conftest.$ac_ext <<_ACEOF
3040 cat confdefs.h >>conftest.$ac_ext
3041 cat >>conftest.$ac_ext <<_ACEOF
3042 /* end confdefs.h. */
3055 rm -f conftest.$ac_objext
3056 if { (ac_try="$ac_compile"
3058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3059 *) ac_try_echo=$ac_try;;
3061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3062 (eval "$ac_compile") 2>conftest.er1
3064 grep -v '^ *+' conftest.er1 >conftest.err
3066 cat conftest.err >&5
3067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3068 (exit $ac_status); } && {
3069 test -z "$ac_c_werror_flag" ||
3070 test ! -s conftest.err
3071 } && test -s conftest.$ac_objext; then
3074 echo "$as_me: failed program was:" >&5
3075 sed 's/^/| /' conftest.$ac_ext >&5
3080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3081 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3084 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3085 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3086 GCC=`test $ac_compiler_gnu = yes && echo yes`
3087 ac_test_CFLAGS=${CFLAGS+set}
3088 ac_save_CFLAGS=$CFLAGS
3089 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3090 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3091 if test "${ac_cv_prog_cc_g+set}" = set; then
3092 echo $ECHO_N "(cached) $ECHO_C" >&6
3094 ac_save_c_werror_flag=$ac_c_werror_flag
3095 ac_c_werror_flag=yes
3098 cat >conftest.$ac_ext <<_ACEOF
3101 cat confdefs.h >>conftest.$ac_ext
3102 cat >>conftest.$ac_ext <<_ACEOF
3103 /* end confdefs.h. */
3113 rm -f conftest.$ac_objext
3114 if { (ac_try="$ac_compile"
3116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3117 *) ac_try_echo=$ac_try;;
3119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3120 (eval "$ac_compile") 2>conftest.er1
3122 grep -v '^ *+' conftest.er1 >conftest.err
3124 cat conftest.err >&5
3125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126 (exit $ac_status); } && {
3127 test -z "$ac_c_werror_flag" ||
3128 test ! -s conftest.err
3129 } && test -s conftest.$ac_objext; then
3132 echo "$as_me: failed program was:" >&5
3133 sed 's/^/| /' conftest.$ac_ext >&5
3136 cat >conftest.$ac_ext <<_ACEOF
3139 cat confdefs.h >>conftest.$ac_ext
3140 cat >>conftest.$ac_ext <<_ACEOF
3141 /* end confdefs.h. */
3151 rm -f conftest.$ac_objext
3152 if { (ac_try="$ac_compile"
3154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3155 *) ac_try_echo=$ac_try;;
3157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3158 (eval "$ac_compile") 2>conftest.er1
3160 grep -v '^ *+' conftest.er1 >conftest.err
3162 cat conftest.err >&5
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); } && {
3165 test -z "$ac_c_werror_flag" ||
3166 test ! -s conftest.err
3167 } && test -s conftest.$ac_objext; then
3170 echo "$as_me: failed program was:" >&5
3171 sed 's/^/| /' conftest.$ac_ext >&5
3173 ac_c_werror_flag=$ac_save_c_werror_flag
3175 cat >conftest.$ac_ext <<_ACEOF
3178 cat confdefs.h >>conftest.$ac_ext
3179 cat >>conftest.$ac_ext <<_ACEOF
3180 /* end confdefs.h. */
3190 rm -f conftest.$ac_objext
3191 if { (ac_try="$ac_compile"
3193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3194 *) ac_try_echo=$ac_try;;
3196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3197 (eval "$ac_compile") 2>conftest.er1
3199 grep -v '^ *+' conftest.er1 >conftest.err
3201 cat conftest.err >&5
3202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203 (exit $ac_status); } && {
3204 test -z "$ac_c_werror_flag" ||
3205 test ! -s conftest.err
3206 } && test -s conftest.$ac_objext; then
3209 echo "$as_me: failed program was:" >&5
3210 sed 's/^/| /' conftest.$ac_ext >&5
3215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3222 ac_c_werror_flag=$ac_save_c_werror_flag
3224 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3225 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3226 if test "$ac_test_CFLAGS" = set; then
3227 CFLAGS=$ac_save_CFLAGS
3228 elif test $ac_cv_prog_cc_g = yes; then
3229 if test "$GCC" = yes; then
3235 if test "$GCC" = yes; then
3241 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3242 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3243 if test "${ac_cv_prog_cc_c89+set}" = set; then
3244 echo $ECHO_N "(cached) $ECHO_C" >&6
3246 ac_cv_prog_cc_c89=no
3248 cat >conftest.$ac_ext <<_ACEOF
3251 cat confdefs.h >>conftest.$ac_ext
3252 cat >>conftest.$ac_ext <<_ACEOF
3253 /* end confdefs.h. */
3256 #include <sys/types.h>
3257 #include <sys/stat.h>
3258 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3259 struct buf { int x; };
3260 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3261 static char *e (p, i)
3267 static char *f (char * (*g) (char **, int), char **p, ...)
3272 s = g (p, va_arg (v,int));
3277 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3278 function prototypes and stuff, but not '\xHH' hex character constants.
3279 These don't provoke an error unfortunately, instead are silently treated
3280 as 'x'. The following induces an error, until -std is added to get
3281 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3282 array size at least. It's necessary to write '\x00'==0 to get something
3283 that's true only with -std. */
3284 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3286 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3287 inside strings and character constants. */
3289 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3291 int test (int i, double x);
3292 struct s1 {int (*f) (int a);};
3293 struct s2 {int (*f) (double a);};
3294 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3300 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3305 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3306 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3308 CC="$ac_save_CC $ac_arg"
3309 rm -f conftest.$ac_objext
3310 if { (ac_try="$ac_compile"
3312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3313 *) ac_try_echo=$ac_try;;
3315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3316 (eval "$ac_compile") 2>conftest.er1
3318 grep -v '^ *+' conftest.er1 >conftest.err
3320 cat conftest.err >&5
3321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3322 (exit $ac_status); } && {
3323 test -z "$ac_c_werror_flag" ||
3324 test ! -s conftest.err
3325 } && test -s conftest.$ac_objext; then
3326 ac_cv_prog_cc_c89=$ac_arg
3328 echo "$as_me: failed program was:" >&5
3329 sed 's/^/| /' conftest.$ac_ext >&5
3334 rm -f core conftest.err conftest.$ac_objext
3335 test "x$ac_cv_prog_cc_c89" != "xno" && break
3337 rm -f conftest.$ac_ext
3342 case "x$ac_cv_prog_cc_c89" in
3344 { echo "$as_me:$LINENO: result: none needed" >&5
3345 echo "${ECHO_T}none needed" >&6; } ;;
3347 { echo "$as_me:$LINENO: result: unsupported" >&5
3348 echo "${ECHO_T}unsupported" >&6; } ;;
3350 CC="$CC $ac_cv_prog_cc_c89"
3351 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3352 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3357 ac_cpp='$CPP $CPPFLAGS'
3358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3361 DEPDIR="${am__leading_dot}deps"
3363 ac_config_commands="$ac_config_commands depfiles"
3366 am_make=${MAKE-make}
3367 cat > confinc << 'END'
3372 # If we don't find an include directive, just comment out the code.
3373 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3374 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3378 # First try GNU make style include.
3379 echo "include confinc" > confmf
3380 # We grep out `Entering directory' and `Leaving directory'
3381 # messages which can occur if `w' ends up in MAKEFLAGS.
3382 # In particular we don't look at `^make:' because GNU make might
3383 # be invoked under some other name (usually "gmake"), in which
3384 # case it prints its new name instead of `make'.
3385 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3390 # Now try BSD make style include.
3391 if test "$am__include" = "#"; then
3392 echo '.include "confinc"' > confmf
3393 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3394 am__include=.include
3401 { echo "$as_me:$LINENO: result: $_am_result" >&5
3402 echo "${ECHO_T}$_am_result" >&6; }
3403 rm -f confinc confmf
3405 # Check whether --enable-dependency-tracking was given.
3406 if test "${enable_dependency_tracking+set}" = set; then
3407 enableval=$enable_dependency_tracking;
3410 if test "x$enable_dependency_tracking" != xno; then
3411 am_depcomp="$ac_aux_dir/depcomp"
3414 if test "x$enable_dependency_tracking" != xno; then
3424 depcc="$CC" am_compiler_list=
3426 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3427 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3428 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3429 echo $ECHO_N "(cached) $ECHO_C" >&6
3431 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3432 # We make a subdir and do the tests there. Otherwise we can end up
3433 # making bogus files that we don't know about and never remove. For
3434 # instance it was reported that on HP-UX the gcc test will end up
3435 # making a dummy file named `D' -- because `-MD' means `put the output
3438 # Copy depcomp to subdir because otherwise we won't find it if we're
3439 # using a relative directory.
3440 cp "$am_depcomp" conftest.dir
3442 # We will build objects and dependencies in a subdirectory because
3443 # it helps to detect inapplicable dependency modes. For instance
3444 # both Tru64's cc and ICC support -MD to output dependencies as a
3445 # side effect of compilation, but ICC will put the dependencies in
3446 # the current directory while Tru64 will put them in the object
3450 am_cv_CC_dependencies_compiler_type=none
3451 if test "$am_compiler_list" = ""; then
3452 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3454 for depmode in $am_compiler_list; do
3455 # Setup a source with many dependencies, because some compilers
3456 # like to wrap large dependency lists on column 80 (with \), and
3457 # we should not choose a depcomp mode which is confused by this.
3459 # We need to recreate these files for each test, as the compiler may
3460 # overwrite some of them when testing with obscure command lines.
3461 # This happens at least with the AIX C compiler.
3463 for i in 1 2 3 4 5 6; do
3464 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3465 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3466 # Solaris 8's {/usr,}/bin/sh.
3467 touch sub/conftst$i.h
3469 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3473 # after this tag, mechanisms are not by side-effect, so they'll
3474 # only be used when explicitly requested
3475 if test "x$enable_dependency_tracking" = xyes; then
3483 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3484 # mode. It turns out that the SunPro C++ compiler does not properly
3485 # handle `-M -o', and we need to detect this.
3486 if depmode=$depmode \
3487 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3488 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3489 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3490 >/dev/null 2>conftest.err &&
3491 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3492 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3493 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3494 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3495 # icc doesn't choke on unknown options, it will just issue warnings
3496 # or remarks (even with -Werror). So we grep stderr for any message
3497 # that says an option was ignored or not supported.
3498 # When given -MP, icc 7.0 and 7.1 complain thusly:
3499 # icc: Command line warning: ignoring option '-M'; no argument required
3500 # The diagnosis changed in icc 8.0:
3501 # icc: Command line remark: option '-MP' not supported
3502 if (grep 'ignoring option' conftest.err ||
3503 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3504 am_cv_CC_dependencies_compiler_type=$depmode
3513 am_cv_CC_dependencies_compiler_type=none
3517 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3518 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3519 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3522 test "x$enable_dependency_tracking" != xno \
3523 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3525 am__fastdepCC_FALSE='#'
3527 am__fastdepCC_TRUE='#'
3528 am__fastdepCC_FALSE=
3533 ac_cpp='$CPP $CPPFLAGS'
3534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3537 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3538 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3539 # On Suns, sometimes $CPP names a directory.
3540 if test -n "$CPP" && test -d "$CPP"; then
3543 if test -z "$CPP"; then
3544 if test "${ac_cv_prog_CPP+set}" = set; then
3545 echo $ECHO_N "(cached) $ECHO_C" >&6
3547 # Double quotes because CPP needs to be expanded
3548 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3551 for ac_c_preproc_warn_flag in '' yes
3553 # Use a header file that comes with gcc, so configuring glibc
3554 # with a fresh cross-compiler works.
3555 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3556 # <limits.h> exists even on freestanding compilers.
3557 # On the NeXT, cc -E runs the code through the compiler's parser,
3558 # not just through cpp. "Syntax error" is here to catch this case.
3559 cat >conftest.$ac_ext <<_ACEOF
3562 cat confdefs.h >>conftest.$ac_ext
3563 cat >>conftest.$ac_ext <<_ACEOF
3564 /* end confdefs.h. */
3566 # include <limits.h>
3568 # include <assert.h>
3572 if { (ac_try="$ac_cpp conftest.$ac_ext"
3574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3575 *) ac_try_echo=$ac_try;;
3577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3578 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3580 grep -v '^ *+' conftest.er1 >conftest.err
3582 cat conftest.err >&5
3583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3584 (exit $ac_status); } >/dev/null && {
3585 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3586 test ! -s conftest.err
3590 echo "$as_me: failed program was:" >&5
3591 sed 's/^/| /' conftest.$ac_ext >&5
3593 # Broken: fails on valid input.
3597 rm -f conftest.err conftest.$ac_ext
3599 # OK, works on sane cases. Now check whether nonexistent headers
3600 # can be detected and how.
3601 cat >conftest.$ac_ext <<_ACEOF
3604 cat confdefs.h >>conftest.$ac_ext
3605 cat >>conftest.$ac_ext <<_ACEOF
3606 /* end confdefs.h. */
3607 #include <ac_nonexistent.h>
3609 if { (ac_try="$ac_cpp conftest.$ac_ext"
3611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3612 *) ac_try_echo=$ac_try;;
3614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3615 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3617 grep -v '^ *+' conftest.er1 >conftest.err
3619 cat conftest.err >&5
3620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3621 (exit $ac_status); } >/dev/null && {
3622 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3623 test ! -s conftest.err
3625 # Broken: success on invalid input.
3628 echo "$as_me: failed program was:" >&5
3629 sed 's/^/| /' conftest.$ac_ext >&5
3631 # Passes both tests.
3636 rm -f conftest.err conftest.$ac_ext
3639 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3640 rm -f conftest.err conftest.$ac_ext
3641 if $ac_preproc_ok; then
3653 { echo "$as_me:$LINENO: result: $CPP" >&5
3654 echo "${ECHO_T}$CPP" >&6; }
3656 for ac_c_preproc_warn_flag in '' yes
3658 # Use a header file that comes with gcc, so configuring glibc
3659 # with a fresh cross-compiler works.
3660 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3661 # <limits.h> exists even on freestanding compilers.
3662 # On the NeXT, cc -E runs the code through the compiler's parser,
3663 # not just through cpp. "Syntax error" is here to catch this case.
3664 cat >conftest.$ac_ext <<_ACEOF
3667 cat confdefs.h >>conftest.$ac_ext
3668 cat >>conftest.$ac_ext <<_ACEOF
3669 /* end confdefs.h. */
3671 # include <limits.h>
3673 # include <assert.h>
3677 if { (ac_try="$ac_cpp conftest.$ac_ext"
3679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3680 *) ac_try_echo=$ac_try;;
3682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3683 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3685 grep -v '^ *+' conftest.er1 >conftest.err
3687 cat conftest.err >&5
3688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3689 (exit $ac_status); } >/dev/null && {
3690 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3691 test ! -s conftest.err
3695 echo "$as_me: failed program was:" >&5
3696 sed 's/^/| /' conftest.$ac_ext >&5
3698 # Broken: fails on valid input.
3702 rm -f conftest.err conftest.$ac_ext
3704 # OK, works on sane cases. Now check whether nonexistent headers
3705 # can be detected and how.
3706 cat >conftest.$ac_ext <<_ACEOF
3709 cat confdefs.h >>conftest.$ac_ext
3710 cat >>conftest.$ac_ext <<_ACEOF
3711 /* end confdefs.h. */
3712 #include <ac_nonexistent.h>
3714 if { (ac_try="$ac_cpp conftest.$ac_ext"
3716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3717 *) ac_try_echo=$ac_try;;
3719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3720 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3722 grep -v '^ *+' conftest.er1 >conftest.err
3724 cat conftest.err >&5
3725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3726 (exit $ac_status); } >/dev/null && {
3727 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3728 test ! -s conftest.err
3730 # Broken: success on invalid input.
3733 echo "$as_me: failed program was:" >&5
3734 sed 's/^/| /' conftest.$ac_ext >&5
3736 # Passes both tests.
3741 rm -f conftest.err conftest.$ac_ext
3744 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3745 rm -f conftest.err conftest.$ac_ext
3746 if $ac_preproc_ok; then
3749 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3750 See \`config.log' for more details." >&5
3751 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3752 See \`config.log' for more details." >&2;}
3753 { (exit 1); exit 1; }; }
3757 ac_cpp='$CPP $CPPFLAGS'
3758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3762 # Find a good install program. We prefer a C program (faster),
3763 # so one script is as good as another. But avoid the broken or
3764 # incompatible versions:
3765 # SysV /etc/install, /usr/sbin/install
3766 # SunOS /usr/etc/install
3767 # IRIX /sbin/install
3769 # AmigaOS /C/install, which installs bootblocks on floppy discs
3770 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3771 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3772 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3773 # OS/2's system install, which has a completely different semantic
3774 # ./install, which can be erroneously created by make from ./install.sh.
3775 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3776 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3777 if test -z "$INSTALL"; then
3778 if test "${ac_cv_path_install+set}" = set; then
3779 echo $ECHO_N "(cached) $ECHO_C" >&6
3781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3785 test -z "$as_dir" && as_dir=.
3786 # Account for people who put trailing slashes in PATH elements.
3788 ./ | .// | /cC/* | \
3789 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3790 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3793 # OSF1 and SCO ODT 3.0 have their own names for install.
3794 # Don't use installbsd from OSF since it installs stuff as root
3796 for ac_prog in ginstall scoinst install; do
3797 for ac_exec_ext in '' $ac_executable_extensions; do
3798 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3799 if test $ac_prog = install &&
3800 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3801 # AIX install. It has an incompatible calling convention.
3803 elif test $ac_prog = install &&
3804 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3805 # program-specific install script used by HP pwplus--don't use.
3808 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3821 if test "${ac_cv_path_install+set}" = set; then
3822 INSTALL=$ac_cv_path_install
3824 # As a last resort, use the slow shell script. Don't cache a
3825 # value for INSTALL within a source directory, because that will
3826 # break other packages using the cache if that directory is
3827 # removed, or if the value is a relative name.
3828 INSTALL=$ac_install_sh
3831 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3832 echo "${ECHO_T}$INSTALL" >&6; }
3834 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3835 # It thinks the first close brace ends the variable substitution.
3836 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3838 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3840 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3842 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
3843 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3845 if test "$LN_S" = "ln -s"; then
3846 { echo "$as_me:$LINENO: result: yes" >&5
3847 echo "${ECHO_T}yes" >&6; }
3849 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3850 echo "${ECHO_T}no, using $LN_S" >&6; }
3853 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3854 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3855 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3856 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3857 echo $ECHO_N "(cached) $ECHO_C" >&6
3859 cat >conftest.make <<\_ACEOF
3862 @echo '@@@%%%=$(MAKE)=@@@%%%'
3864 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3865 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3867 eval ac_cv_prog_make_${ac_make}_set=yes;;
3869 eval ac_cv_prog_make_${ac_make}_set=no;;
3873 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3874 { echo "$as_me:$LINENO: result: yes" >&5
3875 echo "${ECHO_T}yes" >&6; }
3878 { echo "$as_me:$LINENO: result: no" >&5
3879 echo "${ECHO_T}no" >&6; }
3880 SET_MAKE="MAKE=${MAKE-make}"
3885 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3886 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3891 macro_version='2.2.4'
3892 macro_revision='1.2976'
3906 ltmain="$ac_aux_dir/ltmain.sh"
3908 # Make sure we can run config.sub.
3909 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3910 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3911 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3912 { (exit 1); exit 1; }; }
3914 { echo "$as_me:$LINENO: checking build system type" >&5
3915 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3916 if test "${ac_cv_build+set}" = set; then
3917 echo $ECHO_N "(cached) $ECHO_C" >&6
3919 ac_build_alias=$build_alias
3920 test "x$ac_build_alias" = x &&
3921 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3922 test "x$ac_build_alias" = x &&
3923 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3924 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3925 { (exit 1); exit 1; }; }
3926 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3927 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3928 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3929 { (exit 1); exit 1; }; }
3932 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3933 echo "${ECHO_T}$ac_cv_build" >&6; }
3934 case $ac_cv_build in
3936 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3937 echo "$as_me: error: invalid value of canonical build" >&2;}
3938 { (exit 1); exit 1; }; };;
3941 ac_save_IFS=$IFS; IFS='-'
3947 # Remember, the first character of IFS is used to create $*,
3948 # except with old shells:
3951 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3954 { echo "$as_me:$LINENO: checking host system type" >&5
3955 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3956 if test "${ac_cv_host+set}" = set; then
3957 echo $ECHO_N "(cached) $ECHO_C" >&6
3959 if test "x$host_alias" = x; then
3960 ac_cv_host=$ac_cv_build
3962 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3963 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3964 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3965 { (exit 1); exit 1; }; }
3969 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3970 echo "${ECHO_T}$ac_cv_host" >&6; }
3973 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3974 echo "$as_me: error: invalid value of canonical host" >&2;}
3975 { (exit 1); exit 1; }; };;
3978 ac_save_IFS=$IFS; IFS='-'
3984 # Remember, the first character of IFS is used to create $*,
3985 # except with old shells:
3988 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3991 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3992 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3993 if test "${ac_cv_path_SED+set}" = set; then
3994 echo $ECHO_N "(cached) $ECHO_C" >&6
3996 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3997 for ac_i in 1 2 3 4 5 6 7; do
3998 ac_script="$ac_script$as_nl$ac_script"
4000 echo "$ac_script" | sed 99q >conftest.sed
4001 $as_unset ac_script || ac_script=
4002 # Extract the first word of "sed gsed" to use in msg output
4003 if test -z "$SED"; then
4004 set dummy sed gsed; ac_prog_name=$2
4005 if test "${ac_cv_path_SED+set}" = set; then
4006 echo $ECHO_N "(cached) $ECHO_C" >&6
4008 ac_path_SED_found=false
4009 # Loop through the user's path and test for each of PROGNAME-LIST
4010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4014 test -z "$as_dir" && as_dir=.
4015 for ac_prog in sed gsed; do
4016 for ac_exec_ext in '' $ac_executable_extensions; do
4017 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4018 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4019 # Check for GNU ac_path_SED and select it if it is found.
4020 # Check for GNU $ac_path_SED
4021 case `"$ac_path_SED" --version 2>&1` in
4023 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4026 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4029 cat "conftest.in" "conftest.in" >"conftest.tmp"
4030 mv "conftest.tmp" "conftest.in"
4031 cp "conftest.in" "conftest.nl"
4032 echo '' >> "conftest.nl"
4033 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4034 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4035 ac_count=`expr $ac_count + 1`
4036 if test $ac_count -gt ${ac_path_SED_max-0}; then
4037 # Best one so far, save it but keep looking for a better one
4038 ac_cv_path_SED="$ac_path_SED"
4039 ac_path_SED_max=$ac_count
4041 # 10*(2^10) chars as input seems more than enough
4042 test $ac_count -gt 10 && break
4044 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4048 $ac_path_SED_found && break 3
4058 SED="$ac_cv_path_SED"
4059 if test -z "$SED"; then
4060 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
4061 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
4062 { (exit 1); exit 1; }; }
4070 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4071 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
4072 SED="$ac_cv_path_SED"
4075 test -z "$SED" && SED=sed
4076 Xsed="$SED -e 1s/^X//"
4088 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4089 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4090 if test "${ac_cv_path_GREP+set}" = set; then
4091 echo $ECHO_N "(cached) $ECHO_C" >&6
4093 # Extract the first word of "grep ggrep" to use in msg output
4094 if test -z "$GREP"; then
4095 set dummy grep ggrep; ac_prog_name=$2
4096 if test "${ac_cv_path_GREP+set}" = set; then
4097 echo $ECHO_N "(cached) $ECHO_C" >&6
4099 ac_path_GREP_found=false
4100 # Loop through the user's path and test for each of PROGNAME-LIST
4101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4102 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4105 test -z "$as_dir" && as_dir=.
4106 for ac_prog in grep ggrep; do
4107 for ac_exec_ext in '' $ac_executable_extensions; do
4108 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4109 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4110 # Check for GNU ac_path_GREP and select it if it is found.
4111 # Check for GNU $ac_path_GREP
4112 case `"$ac_path_GREP" --version 2>&1` in
4114 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4117 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4120 cat "conftest.in" "conftest.in" >"conftest.tmp"
4121 mv "conftest.tmp" "conftest.in"
4122 cp "conftest.in" "conftest.nl"
4123 echo 'GREP' >> "conftest.nl"
4124 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4125 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4126 ac_count=`expr $ac_count + 1`
4127 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4128 # Best one so far, save it but keep looking for a better one
4129 ac_cv_path_GREP="$ac_path_GREP"
4130 ac_path_GREP_max=$ac_count
4132 # 10*(2^10) chars as input seems more than enough
4133 test $ac_count -gt 10 && break
4135 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4139 $ac_path_GREP_found && break 3
4149 GREP="$ac_cv_path_GREP"
4150 if test -z "$GREP"; then
4151 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4152 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4153 { (exit 1); exit 1; }; }
4157 ac_cv_path_GREP=$GREP
4162 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4163 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4164 GREP="$ac_cv_path_GREP"
4167 { echo "$as_me:$LINENO: checking for egrep" >&5
4168 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4169 if test "${ac_cv_path_EGREP+set}" = set; then
4170 echo $ECHO_N "(cached) $ECHO_C" >&6
4172 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4173 then ac_cv_path_EGREP="$GREP -E"
4175 # Extract the first word of "egrep" to use in msg output
4176 if test -z "$EGREP"; then
4177 set dummy egrep; ac_prog_name=$2
4178 if test "${ac_cv_path_EGREP+set}" = set; then
4179 echo $ECHO_N "(cached) $ECHO_C" >&6
4181 ac_path_EGREP_found=false
4182 # Loop through the user's path and test for each of PROGNAME-LIST
4183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4184 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4187 test -z "$as_dir" && as_dir=.
4188 for ac_prog in egrep; do
4189 for ac_exec_ext in '' $ac_executable_extensions; do
4190 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4191 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4192 # Check for GNU ac_path_EGREP and select it if it is found.
4193 # Check for GNU $ac_path_EGREP
4194 case `"$ac_path_EGREP" --version 2>&1` in
4196 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4199 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4202 cat "conftest.in" "conftest.in" >"conftest.tmp"
4203 mv "conftest.tmp" "conftest.in"
4204 cp "conftest.in" "conftest.nl"
4205 echo 'EGREP' >> "conftest.nl"
4206 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4207 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4208 ac_count=`expr $ac_count + 1`
4209 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4210 # Best one so far, save it but keep looking for a better one
4211 ac_cv_path_EGREP="$ac_path_EGREP"
4212 ac_path_EGREP_max=$ac_count
4214 # 10*(2^10) chars as input seems more than enough
4215 test $ac_count -gt 10 && break
4217 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4221 $ac_path_EGREP_found && break 3
4231 EGREP="$ac_cv_path_EGREP"
4232 if test -z "$EGREP"; then
4233 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4234 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4235 { (exit 1); exit 1; }; }
4239 ac_cv_path_EGREP=$EGREP
4245 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4246 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4247 EGREP="$ac_cv_path_EGREP"
4250 { echo "$as_me:$LINENO: checking for fgrep" >&5
4251 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
4252 if test "${ac_cv_path_FGREP+set}" = set; then
4253 echo $ECHO_N "(cached) $ECHO_C" >&6
4255 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4256 then ac_cv_path_FGREP="$GREP -F"
4258 # Extract the first word of "fgrep" to use in msg output
4259 if test -z "$FGREP"; then
4260 set dummy fgrep; ac_prog_name=$2
4261 if test "${ac_cv_path_FGREP+set}" = set; then
4262 echo $ECHO_N "(cached) $ECHO_C" >&6
4264 ac_path_FGREP_found=false
4265 # Loop through the user's path and test for each of PROGNAME-LIST
4266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4267 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4270 test -z "$as_dir" && as_dir=.
4271 for ac_prog in fgrep; do
4272 for ac_exec_ext in '' $ac_executable_extensions; do
4273 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4274 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4275 # Check for GNU ac_path_FGREP and select it if it is found.
4276 # Check for GNU $ac_path_FGREP
4277 case `"$ac_path_FGREP" --version 2>&1` in
4279 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4282 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4285 cat "conftest.in" "conftest.in" >"conftest.tmp"
4286 mv "conftest.tmp" "conftest.in"
4287 cp "conftest.in" "conftest.nl"
4288 echo 'FGREP' >> "conftest.nl"
4289 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4290 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4291 ac_count=`expr $ac_count + 1`
4292 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4293 # Best one so far, save it but keep looking for a better one
4294 ac_cv_path_FGREP="$ac_path_FGREP"
4295 ac_path_FGREP_max=$ac_count
4297 # 10*(2^10) chars as input seems more than enough
4298 test $ac_count -gt 10 && break
4300 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4304 $ac_path_FGREP_found && break 3
4314 FGREP="$ac_cv_path_FGREP"
4315 if test -z "$FGREP"; then
4316 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4317 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4318 { (exit 1); exit 1; }; }
4322 ac_cv_path_FGREP=$FGREP
4328 { echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4329 echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
4330 FGREP="$ac_cv_path_FGREP"
4333 test -z "$GREP" && GREP=grep
4353 # Check whether --with-gnu-ld was given.
4354 if test "${with_gnu_ld+set}" = set; then
4355 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4361 if test "$GCC" = yes; then
4362 # Check if gcc -print-prog-name=ld gives a path.
4363 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4364 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4367 # gcc leaves a trailing carriage return which upsets mingw
4368 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4370 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4373 # Accept absolute paths.
4375 re_direlt='/[^/][^/]*/\.\./'
4376 # Canonicalize the pathname of ld
4377 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4378 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4379 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4381 test -z "$LD" && LD="$ac_prog"
4384 # If it fails, then pretend we aren't using GCC.
4388 # If it is relative, then search for the first ld in PATH.
4392 elif test "$with_gnu_ld" = yes; then
4393 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4394 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4396 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4397 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4399 if test "${lt_cv_path_LD+set}" = set; then
4400 echo $ECHO_N "(cached) $ECHO_C" >&6
4402 if test -z "$LD"; then
4403 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4404 for ac_dir in $PATH; do
4406 test -z "$ac_dir" && ac_dir=.
4407 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4408 lt_cv_path_LD="$ac_dir/$ac_prog"
4409 # Check to see if the program is GNU ld. I'd rather use --version,
4410 # but apparently some variants of GNU ld only accept -v.
4411 # Break only if it was the GNU/non-GNU ld that we prefer.
4412 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4413 *GNU* | *'with BFD'*)
4414 test "$with_gnu_ld" != no && break
4417 test "$with_gnu_ld" != yes && break
4424 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4429 if test -n "$LD"; then
4430 { echo "$as_me:$LINENO: result: $LD" >&5
4431 echo "${ECHO_T}$LD" >&6; }
4433 { echo "$as_me:$LINENO: result: no" >&5
4434 echo "${ECHO_T}no" >&6; }
4436 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4437 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4438 { (exit 1); exit 1; }; }
4439 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4440 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4441 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4442 echo $ECHO_N "(cached) $ECHO_C" >&6
4444 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4445 case `$LD -v 2>&1 </dev/null` in
4446 *GNU* | *'with BFD'*)
4447 lt_cv_prog_gnu_ld=yes
4450 lt_cv_prog_gnu_ld=no
4454 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4455 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4456 with_gnu_ld=$lt_cv_prog_gnu_ld
4466 { echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4467 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
4468 if test "${lt_cv_path_NM+set}" = set; then
4469 echo $ECHO_N "(cached) $ECHO_C" >&6
4471 if test -n "$NM"; then
4472 # Let the user override the test.
4475 lt_nm_to_check="${ac_tool_prefix}nm"
4476 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4477 lt_nm_to_check="$lt_nm_to_check nm"
4479 for lt_tmp_nm in $lt_nm_to_check; do
4480 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4481 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4483 test -z "$ac_dir" && ac_dir=.
4484 tmp_nm="$ac_dir/$lt_tmp_nm"
4485 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4486 # Check to see if the nm accepts a BSD-compat flag.
4487 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4488 # nm: unknown option "B" ignored
4489 # Tru64's nm complains that /dev/null is an invalid object file
4490 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4491 */dev/null* | *'Invalid file or object type'*)
4492 lt_cv_path_NM="$tmp_nm -B"
4496 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4498 lt_cv_path_NM="$tmp_nm -p"
4502 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4503 continue # so that we can try to find one that supports BSD flags
4512 : ${lt_cv_path_NM=no}
4515 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4516 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4517 if test "$lt_cv_path_NM" != "no"; then
4520 # Didn't find any BSD compatible name lister, look for dumpbin.
4521 if test -n "$ac_tool_prefix"; then
4522 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4524 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4525 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4526 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4528 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4529 echo $ECHO_N "(cached) $ECHO_C" >&6
4531 if test -n "$DUMPBIN"; then
4532 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4538 test -z "$as_dir" && as_dir=.
4539 for ac_exec_ext in '' $ac_executable_extensions; do
4540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4541 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4551 DUMPBIN=$ac_cv_prog_DUMPBIN
4552 if test -n "$DUMPBIN"; then
4553 { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4554 echo "${ECHO_T}$DUMPBIN" >&6; }
4556 { echo "$as_me:$LINENO: result: no" >&5
4557 echo "${ECHO_T}no" >&6; }
4561 test -n "$DUMPBIN" && break
4564 if test -z "$DUMPBIN"; then
4565 ac_ct_DUMPBIN=$DUMPBIN
4566 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4568 # Extract the first word of "$ac_prog", so it can be a program name with args.
4569 set dummy $ac_prog; ac_word=$2
4570 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4572 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4573 echo $ECHO_N "(cached) $ECHO_C" >&6
4575 if test -n "$ac_ct_DUMPBIN"; then
4576 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4582 test -z "$as_dir" && as_dir=.
4583 for ac_exec_ext in '' $ac_executable_extensions; do
4584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4585 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4595 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4596 if test -n "$ac_ct_DUMPBIN"; then
4597 { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4598 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
4600 { echo "$as_me:$LINENO: result: no" >&5
4601 echo "${ECHO_T}no" >&6; }
4605 test -n "$ac_ct_DUMPBIN" && break
4608 if test "x$ac_ct_DUMPBIN" = x; then
4611 case $cross_compiling:$ac_tool_warned in
4613 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4614 whose name does not start with the host triplet. If you think this
4615 configuration is useful to you, please write to autoconf@gnu.org." >&5
4616 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4617 whose name does not start with the host triplet. If you think this
4618 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4619 ac_tool_warned=yes ;;
4621 DUMPBIN=$ac_ct_DUMPBIN
4626 if test "$DUMPBIN" != ":"; then
4630 test -z "$NM" && NM=nm
4637 { echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4638 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
4639 if test "${lt_cv_nm_interface+set}" = set; then
4640 echo $ECHO_N "(cached) $ECHO_C" >&6
4642 lt_cv_nm_interface="BSD nm"
4643 echo "int some_variable = 0;" > conftest.$ac_ext
4644 (eval echo "\"\$as_me:4644: $ac_compile\"" >&5)
4645 (eval "$ac_compile" 2>conftest.err)
4646 cat conftest.err >&5
4647 (eval echo "\"\$as_me:4647: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4648 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4649 cat conftest.err >&5
4650 (eval echo "\"\$as_me:4650: output\"" >&5)
4651 cat conftest.out >&5
4652 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4653 lt_cv_nm_interface="MS dumpbin"
4657 { echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4658 echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
4660 # find the maximum length of command line arguments
4661 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4662 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
4663 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4664 echo $ECHO_N "(cached) $ECHO_C" >&6
4671 # On DJGPP, this test can blow up pretty badly due to problems in libc
4672 # (any single argument exceeding 2000 bytes causes a buffer overrun
4673 # during glob expansion). Even if it were fixed, the result of this
4674 # check would be larger than it should be.
4675 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4679 # Under GNU Hurd, this test is not required because there is
4680 # no limit to the length of command line arguments.
4681 # Libtool will interpret -1 as no limit whatsoever
4682 lt_cv_sys_max_cmd_len=-1;
4686 # On Win9x/ME, this test blows up -- it succeeds, but takes
4687 # about 5 minutes as the teststring grows exponentially.
4688 # Worse, since 9x/ME are not pre-emptively multitasking,
4689 # you end up with a "frozen" computer, even though with patience
4690 # the test eventually succeeds (with a max line length of 256k).
4691 # Instead, let's just punt: use the minimum linelength reported by
4692 # all of the supported platforms: 8192 (on NT/2K/XP).
4693 lt_cv_sys_max_cmd_len=8192;
4697 # On AmigaOS with pdksh, this test takes hours, literally.
4698 # So we just punt and use a minimum line length of 8192.
4699 lt_cv_sys_max_cmd_len=8192;
4702 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4703 # This has been around since 386BSD, at least. Likely further.
4704 if test -x /sbin/sysctl; then
4705 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4706 elif test -x /usr/sbin/sysctl; then
4707 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4709 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4711 # And add a safety zone
4712 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4713 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4717 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4718 lt_cv_sys_max_cmd_len=196608
4722 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4723 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4724 # nice to cause kernel panics so lets avoid the loop below.
4725 # First set a reasonable default.
4726 lt_cv_sys_max_cmd_len=16384
4728 if test -x /sbin/sysconfig; then
4729 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4730 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4735 lt_cv_sys_max_cmd_len=102400
4737 sysv5* | sco5v6* | sysv4.2uw2*)
4738 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4739 if test -n "$kargmax"; then
4740 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4742 lt_cv_sys_max_cmd_len=32768
4746 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4747 if test -n "$lt_cv_sys_max_cmd_len"; then
4748 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4749 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4751 # Make teststring a little bigger before we do anything with it.
4752 # a 1K string should be a reasonable start.
4753 for i in 1 2 3 4 5 6 7 8 ; do
4754 teststring=$teststring$teststring
4756 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4757 # If test is not a shell built-in, we'll probably end up computing a
4758 # maximum length that is only half of the actual maximum length, but
4760 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4761 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4762 test $i != 17 # 1/2 MB should be enough
4765 teststring=$teststring$teststring
4767 # Only check the string length outside the loop.
4768 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4770 # Add a significant safety factor because C++ compilers can tack on
4771 # massive amounts of additional arguments before passing them to the
4772 # linker. It appears as though 1/2 is a usable value.
4773 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4780 if test -n $lt_cv_sys_max_cmd_len ; then
4781 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4782 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
4784 { echo "$as_me:$LINENO: result: none" >&5
4785 echo "${ECHO_T}none" >&6; }
4787 max_cmd_len=$lt_cv_sys_max_cmd_len
4798 { echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4799 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
4800 # Try some XSI features
4803 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4805 && eval 'test $(( 1 + 1 )) -eq 2 \
4806 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4808 { echo "$as_me:$LINENO: result: $xsi_shell" >&5
4809 echo "${ECHO_T}$xsi_shell" >&6; }
4812 { echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4813 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
4815 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4817 && lt_shell_append=yes
4818 { echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4819 echo "${ECHO_T}$lt_shell_append" >&6; }
4822 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4832 # test EBCDIC or ASCII
4833 case `echo X|tr X '\101'` in
4834 A) # ASCII based system
4835 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4836 lt_SP2NL='tr \040 \012'
4837 lt_NL2SP='tr \015\012 \040\040'
4839 *) # EBCDIC based system
4840 lt_SP2NL='tr \100 \n'
4841 lt_NL2SP='tr \r\n \100\100'
4853 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4854 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4855 if test "${lt_cv_ld_reload_flag+set}" = set; then
4856 echo $ECHO_N "(cached) $ECHO_C" >&6
4858 lt_cv_ld_reload_flag='-r'
4860 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4861 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4862 reload_flag=$lt_cv_ld_reload_flag
4863 case $reload_flag in
4865 *) reload_flag=" $reload_flag" ;;
4867 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4870 if test "$GCC" = yes; then
4871 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4873 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4887 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4888 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4889 if test "${lt_cv_deplibs_check_method+set}" = set; then
4890 echo $ECHO_N "(cached) $ECHO_C" >&6
4892 lt_cv_file_magic_cmd='$MAGIC_CMD'
4893 lt_cv_file_magic_test_file=
4894 lt_cv_deplibs_check_method='unknown'
4895 # Need to set the preceding variable on all platforms that support
4896 # interlibrary dependencies.
4897 # 'none' -- dependencies not supported.
4898 # `unknown' -- same as none, but documents that we really don't know.
4899 # 'pass_all' -- all dependencies passed with no checks.
4900 # 'test_compile' -- check by making test program.
4901 # 'file_magic [[regex]]' -- check by looking for files in library path
4902 # which responds to the $file_magic_cmd with a given extended regex.
4903 # If you have `file' or equivalent on your system and you're not sure
4904 # whether `pass_all' will *always* work, you probably want this one.
4908 lt_cv_deplibs_check_method=pass_all
4912 lt_cv_deplibs_check_method=pass_all
4916 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4917 lt_cv_file_magic_cmd='/usr/bin/file -L'
4918 lt_cv_file_magic_test_file=/shlib/libc.so
4922 # func_win32_libid is a shell function defined in ltmain.sh
4923 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4924 lt_cv_file_magic_cmd='func_win32_libid'
4928 # Base MSYS/MinGW do not provide the 'file' command needed by
4929 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4930 # unless we find 'file', for example because we are cross-compiling.
4931 if ( file / ) >/dev/null 2>&1; then
4932 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4933 lt_cv_file_magic_cmd='func_win32_libid'
4935 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4936 lt_cv_file_magic_cmd='$OBJDUMP -f'
4940 darwin* | rhapsody*)
4941 lt_cv_deplibs_check_method=pass_all
4944 freebsd* | dragonfly*)
4945 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4948 # Not sure whether the presence of OpenBSD here was a mistake.
4949 # Let's accept both of them until this is cleared up.
4950 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4951 lt_cv_file_magic_cmd=/usr/bin/file
4952 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4956 lt_cv_deplibs_check_method=pass_all
4961 lt_cv_deplibs_check_method=pass_all
4964 hpux10.20* | hpux11*)
4965 lt_cv_file_magic_cmd=/usr/bin/file
4968 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4969 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4972 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
4973 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4976 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4977 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4983 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4984 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4987 irix5* | irix6* | nonstopux*)
4989 *-32|*"-32 ") libmagic=32-bit;;
4990 *-n32|*"-n32 ") libmagic=N32;;
4991 *-64|*"-64 ") libmagic=64-bit;;
4992 *) libmagic=never-match;;
4994 lt_cv_deplibs_check_method=pass_all
4997 # This must be Linux ELF.
4998 linux* | k*bsd*-gnu)
4999 lt_cv_deplibs_check_method=pass_all
5002 netbsd* | netbsdelf*-gnu)
5003 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5004 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5006 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5011 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5012 lt_cv_file_magic_cmd=/usr/bin/file
5013 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5017 lt_cv_deplibs_check_method=pass_all
5021 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5022 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5024 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5028 osf3* | osf4* | osf5*)
5029 lt_cv_deplibs_check_method=pass_all
5033 lt_cv_deplibs_check_method=pass_all
5037 lt_cv_deplibs_check_method=pass_all
5040 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5041 lt_cv_deplibs_check_method=pass_all
5045 case $host_vendor in
5047 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]'
5048 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5051 lt_cv_deplibs_check_method=pass_all
5054 lt_cv_file_magic_cmd='/bin/file'
5055 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5058 lt_cv_file_magic_cmd='/bin/file'
5059 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5060 lt_cv_file_magic_test_file=/lib/libc.so
5063 lt_cv_deplibs_check_method=pass_all
5066 lt_cv_deplibs_check_method=pass_all
5072 lt_cv_deplibs_check_method=pass_all
5077 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5078 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
5079 file_magic_cmd=$lt_cv_file_magic_cmd
5080 deplibs_check_method=$lt_cv_deplibs_check_method
5081 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5094 if test -n "$ac_tool_prefix"; then
5095 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5096 set dummy ${ac_tool_prefix}ar; ac_word=$2
5097 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5099 if test "${ac_cv_prog_AR+set}" = set; then
5100 echo $ECHO_N "(cached) $ECHO_C" >&6
5102 if test -n "$AR"; then
5103 ac_cv_prog_AR="$AR" # Let the user override the test.
5105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5109 test -z "$as_dir" && as_dir=.
5110 for ac_exec_ext in '' $ac_executable_extensions; do
5111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5112 ac_cv_prog_AR="${ac_tool_prefix}ar"
5113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5123 if test -n "$AR"; then
5124 { echo "$as_me:$LINENO: result: $AR" >&5
5125 echo "${ECHO_T}$AR" >&6; }
5127 { echo "$as_me:$LINENO: result: no" >&5
5128 echo "${ECHO_T}no" >&6; }
5133 if test -z "$ac_cv_prog_AR"; then
5135 # Extract the first word of "ar", so it can be a program name with args.
5136 set dummy ar; ac_word=$2
5137 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5139 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5140 echo $ECHO_N "(cached) $ECHO_C" >&6
5142 if test -n "$ac_ct_AR"; then
5143 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5149 test -z "$as_dir" && as_dir=.
5150 for ac_exec_ext in '' $ac_executable_extensions; do
5151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5152 ac_cv_prog_ac_ct_AR="ar"
5153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5162 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5163 if test -n "$ac_ct_AR"; then
5164 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5165 echo "${ECHO_T}$ac_ct_AR" >&6; }
5167 { echo "$as_me:$LINENO: result: no" >&5
5168 echo "${ECHO_T}no" >&6; }
5171 if test "x$ac_ct_AR" = x; then
5174 case $cross_compiling:$ac_tool_warned in
5176 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5177 whose name does not start with the host triplet. If you think this
5178 configuration is useful to you, please write to autoconf@gnu.org." >&5
5179 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5180 whose name does not start with the host triplet. If you think this
5181 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5182 ac_tool_warned=yes ;;
5190 test -z "$AR" && AR=ar
5191 test -z "$AR_FLAGS" && AR_FLAGS=cru
5203 if test -n "$ac_tool_prefix"; then
5204 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5205 set dummy ${ac_tool_prefix}strip; ac_word=$2
5206 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5208 if test "${ac_cv_prog_STRIP+set}" = set; then
5209 echo $ECHO_N "(cached) $ECHO_C" >&6
5211 if test -n "$STRIP"; then
5212 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5218 test -z "$as_dir" && as_dir=.
5219 for ac_exec_ext in '' $ac_executable_extensions; do
5220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5221 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5231 STRIP=$ac_cv_prog_STRIP
5232 if test -n "$STRIP"; then
5233 { echo "$as_me:$LINENO: result: $STRIP" >&5
5234 echo "${ECHO_T}$STRIP" >&6; }
5236 { echo "$as_me:$LINENO: result: no" >&5
5237 echo "${ECHO_T}no" >&6; }
5242 if test -z "$ac_cv_prog_STRIP"; then
5244 # Extract the first word of "strip", so it can be a program name with args.
5245 set dummy strip; ac_word=$2
5246 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5248 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5249 echo $ECHO_N "(cached) $ECHO_C" >&6
5251 if test -n "$ac_ct_STRIP"; then
5252 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5258 test -z "$as_dir" && as_dir=.
5259 for ac_exec_ext in '' $ac_executable_extensions; do
5260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5261 ac_cv_prog_ac_ct_STRIP="strip"
5262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5271 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5272 if test -n "$ac_ct_STRIP"; then
5273 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5274 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5276 { echo "$as_me:$LINENO: result: no" >&5
5277 echo "${ECHO_T}no" >&6; }
5280 if test "x$ac_ct_STRIP" = x; then
5283 case $cross_compiling:$ac_tool_warned in
5285 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5286 whose name does not start with the host triplet. If you think this
5287 configuration is useful to you, please write to autoconf@gnu.org." >&5
5288 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5289 whose name does not start with the host triplet. If you think this
5290 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5291 ac_tool_warned=yes ;;
5296 STRIP="$ac_cv_prog_STRIP"
5299 test -z "$STRIP" && STRIP=:
5306 if test -n "$ac_tool_prefix"; then
5307 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5308 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5309 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5311 if test "${ac_cv_prog_RANLIB+set}" = set; then
5312 echo $ECHO_N "(cached) $ECHO_C" >&6
5314 if test -n "$RANLIB"; then
5315 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5321 test -z "$as_dir" && as_dir=.
5322 for ac_exec_ext in '' $ac_executable_extensions; do
5323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5324 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5334 RANLIB=$ac_cv_prog_RANLIB
5335 if test -n "$RANLIB"; then
5336 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5337 echo "${ECHO_T}$RANLIB" >&6; }
5339 { echo "$as_me:$LINENO: result: no" >&5
5340 echo "${ECHO_T}no" >&6; }
5345 if test -z "$ac_cv_prog_RANLIB"; then
5346 ac_ct_RANLIB=$RANLIB
5347 # Extract the first word of "ranlib", so it can be a program name with args.
5348 set dummy ranlib; ac_word=$2
5349 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5351 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5352 echo $ECHO_N "(cached) $ECHO_C" >&6
5354 if test -n "$ac_ct_RANLIB"; then
5355 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5361 test -z "$as_dir" && as_dir=.
5362 for ac_exec_ext in '' $ac_executable_extensions; do
5363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5364 ac_cv_prog_ac_ct_RANLIB="ranlib"
5365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5374 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5375 if test -n "$ac_ct_RANLIB"; then
5376 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5377 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5379 { echo "$as_me:$LINENO: result: no" >&5
5380 echo "${ECHO_T}no" >&6; }
5383 if test "x$ac_ct_RANLIB" = x; then
5386 case $cross_compiling:$ac_tool_warned in
5388 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5389 whose name does not start with the host triplet. If you think this
5390 configuration is useful to you, please write to autoconf@gnu.org." >&5
5391 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5392 whose name does not start with the host triplet. If you think this
5393 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5394 ac_tool_warned=yes ;;
5396 RANLIB=$ac_ct_RANLIB
5399 RANLIB="$ac_cv_prog_RANLIB"
5402 test -z "$RANLIB" && RANLIB=:
5409 # Determine commands to create old-style static archives.
5410 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5411 old_postinstall_cmds='chmod 644 $oldlib'
5412 old_postuninstall_cmds=
5414 if test -n "$RANLIB"; then
5417 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5420 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5423 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5459 # If no C compiler was specified, use CC.
5462 # If no C compiler flags were specified, use CFLAGS.
5463 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5465 # Allow CC to be a program name with arguments.
5469 # Check for command to grab the raw symbol name followed by C symbol from nm.
5470 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5471 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5472 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5473 echo $ECHO_N "(cached) $ECHO_C" >&6
5476 # These are sane defaults that work on at least a few old systems.
5477 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5479 # Character class describing NM global symbol codes.
5480 symcode='[BCDEGRST]'
5482 # Regexp to match symbols that can be accessed directly from C.
5483 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5485 # Define system-specific variables.
5490 cygwin* | mingw* | pw32*)
5491 symcode='[ABCDGISTW]'
5494 if test "$host_cpu" = ia64; then
5495 symcode='[ABCDEGRST]'
5499 symcode='[BCDEGRST]'
5502 symcode='[BCDEGQRST]'
5513 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5521 # If we're using GNU nm, then use its standard symbol codes.
5522 case `$NM -V 2>&1` in
5523 *GNU* | *'with BFD'*)
5524 symcode='[ABCDGIRSTW]' ;;
5527 # Transform an extracted symbol line into a proper C declaration.
5528 # Some systems (esp. on ia64) link data and code symbols differently,
5529 # so use this general approach.
5530 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5532 # Transform an extracted symbol line into symbol name and symbol address
5533 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5534 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'"
5536 # Handle CRLF in mingw tool chain
5540 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5544 # Try without a prefix underscore, then with it.
5545 for ac_symprfx in "" "_"; do
5547 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5548 symxfrm="\\1 $ac_symprfx\\2 \\2"
5550 # Write the raw and C identifiers.
5551 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5552 # Fake it for dumpbin and say T for any non-static function
5553 # and D for any global variable.
5554 # Also find C++ and __fastcall symbols from MSVC++,
5555 # which start with @ or ?.
5556 lt_cv_sys_global_symbol_pipe="$AWK '"\
5557 " {last_section=section; section=\$ 3};"\
5558 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5559 " \$ 0!~/External *\|/{next};"\
5560 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5561 " {if(hide[section]) next};"\
5562 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5563 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5564 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5565 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5566 " ' prfx=^$ac_symprfx"
5568 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5571 # Check to see that the pipe works correctly.
5575 cat > conftest.$ac_ext <<_LT_EOF
5580 void nm_test_func(void);
5581 void nm_test_func(void){}
5585 int main(){nm_test_var='a';nm_test_func();return(0);}
5588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5589 (eval $ac_compile) 2>&5
5591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5592 (exit $ac_status); }; then
5593 # Now try to grab the symbols.
5595 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5596 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5599 (exit $ac_status); } && test -s "$nlist"; then
5600 # Try sorting and uniquifying the output.
5601 if sort "$nlist" | uniq > "$nlist"T; then
5602 mv -f "$nlist"T "$nlist"
5607 # Make sure that we snagged all the symbols we need.
5608 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5609 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5610 cat <<_LT_EOF > conftest.$ac_ext
5616 # Now generate the symbol file.
5617 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5619 cat <<_LT_EOF >> conftest.$ac_ext
5621 /* The mapping between symbol names and symbols. */
5626 lt__PROGRAM__LTX_preloaded_symbols[] =
5628 { "@PROGRAM@", (void *) 0 },
5630 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5631 cat <<\_LT_EOF >> conftest.$ac_ext
5635 /* This works around a problem in FreeBSD linker */
5636 #ifdef FREEBSD_WORKAROUND
5637 static const void *lt_preloaded_setup() {
5638 return lt__PROGRAM__LTX_preloaded_symbols;
5646 # Now try linking the two files.
5647 mv conftest.$ac_objext conftstm.$ac_objext
5648 lt_save_LIBS="$LIBS"
5649 lt_save_CFLAGS="$CFLAGS"
5650 LIBS="conftstm.$ac_objext"
5651 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5653 (eval $ac_link) 2>&5
5655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5656 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5659 LIBS="$lt_save_LIBS"
5660 CFLAGS="$lt_save_CFLAGS"
5662 echo "cannot find nm_test_func in $nlist" >&5
5665 echo "cannot find nm_test_var in $nlist" >&5
5668 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5671 echo "$progname: failed program was:" >&5
5672 cat conftest.$ac_ext >&5
5674 rm -rf conftest* conftst*
5676 # Do not use the global_symbol_pipe unless it works.
5677 if test "$pipe_works" = yes; then
5680 lt_cv_sys_global_symbol_pipe=
5686 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5687 lt_cv_sys_global_symbol_to_cdecl=
5689 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5690 { echo "$as_me:$LINENO: result: failed" >&5
5691 echo "${ECHO_T}failed" >&6; }
5693 { echo "$as_me:$LINENO: result: ok" >&5
5694 echo "${ECHO_T}ok" >&6; }
5719 # Check whether --enable-libtool-lock was given.
5720 if test "${enable_libtool_lock+set}" = set; then
5721 enableval=$enable_libtool_lock;
5724 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5726 # Some flags need to be propagated to the compiler or linker for good
5730 # Find out which ABI we are using.
5731 echo 'int i;' > conftest.$ac_ext
5732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5733 (eval $ac_compile) 2>&5
5735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5736 (exit $ac_status); }; then
5737 case `/usr/bin/file conftest.$ac_objext` in
5749 # Find out which ABI we are using.
5750 echo '#line 5750 "configure"' > conftest.$ac_ext
5751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5752 (eval $ac_compile) 2>&5
5754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5755 (exit $ac_status); }; then
5756 if test "$lt_cv_prog_gnu_ld" = yes; then
5757 case `/usr/bin/file conftest.$ac_objext` in
5759 LD="${LD-ld} -melf32bsmip"
5762 LD="${LD-ld} -melf32bmipn32"
5765 LD="${LD-ld} -melf64bmip"
5769 case `/usr/bin/file conftest.$ac_objext` in
5785 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5786 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5787 # Find out which ABI we are using.
5788 echo 'int i;' > conftest.$ac_ext
5789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5790 (eval $ac_compile) 2>&5
5792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5793 (exit $ac_status); }; then
5794 case `/usr/bin/file conftest.o` in
5797 x86_64-*kfreebsd*-gnu)
5798 LD="${LD-ld} -m elf_i386_fbsd"
5801 LD="${LD-ld} -m elf_i386"
5803 ppc64-*linux*|powerpc64-*linux*)
5804 LD="${LD-ld} -m elf32ppclinux"
5807 LD="${LD-ld} -m elf_s390"
5810 LD="${LD-ld} -m elf32_sparc"
5816 x86_64-*kfreebsd*-gnu)
5817 LD="${LD-ld} -m elf_x86_64_fbsd"
5820 LD="${LD-ld} -m elf_x86_64"
5822 ppc*-*linux*|powerpc*-*linux*)
5823 LD="${LD-ld} -m elf64ppc"
5825 s390*-*linux*|s390*-*tpf*)
5826 LD="${LD-ld} -m elf64_s390"
5829 LD="${LD-ld} -m elf64_sparc"
5839 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5840 SAVE_CFLAGS="$CFLAGS"
5841 CFLAGS="$CFLAGS -belf"
5842 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5843 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
5844 if test "${lt_cv_cc_needs_belf+set}" = set; then
5845 echo $ECHO_N "(cached) $ECHO_C" >&6
5848 ac_cpp='$CPP $CPPFLAGS'
5849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5853 cat >conftest.$ac_ext <<_ACEOF
5856 cat confdefs.h >>conftest.$ac_ext
5857 cat >>conftest.$ac_ext <<_ACEOF
5858 /* end confdefs.h. */
5868 rm -f conftest.$ac_objext conftest$ac_exeext
5869 if { (ac_try="$ac_link"
5871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5872 *) ac_try_echo=$ac_try;;
5874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5875 (eval "$ac_link") 2>conftest.er1
5877 grep -v '^ *+' conftest.er1 >conftest.err
5879 cat conftest.err >&5
5880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5881 (exit $ac_status); } && {
5882 test -z "$ac_c_werror_flag" ||
5883 test ! -s conftest.err
5884 } && test -s conftest$ac_exeext &&
5885 $as_test_x conftest$ac_exeext; then
5886 lt_cv_cc_needs_belf=yes
5888 echo "$as_me: failed program was:" >&5
5889 sed 's/^/| /' conftest.$ac_ext >&5
5891 lt_cv_cc_needs_belf=no
5894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5895 conftest$ac_exeext conftest.$ac_ext
5897 ac_cpp='$CPP $CPPFLAGS'
5898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5903 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5904 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5905 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5906 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5907 CFLAGS="$SAVE_CFLAGS"
5911 # Find out which ABI we are using.
5912 echo 'int i;' > conftest.$ac_ext
5913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5914 (eval $ac_compile) 2>&5
5916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5917 (exit $ac_status); }; then
5918 case `/usr/bin/file conftest.o` in
5920 case $lt_cv_prog_gnu_ld in
5921 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5923 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5935 need_locks="$enable_libtool_lock"
5939 rhapsody* | darwin*)
5940 if test -n "$ac_tool_prefix"; then
5941 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5942 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5943 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5945 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5946 echo $ECHO_N "(cached) $ECHO_C" >&6
5948 if test -n "$DSYMUTIL"; then
5949 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5955 test -z "$as_dir" && as_dir=.
5956 for ac_exec_ext in '' $ac_executable_extensions; do
5957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5958 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5968 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5969 if test -n "$DSYMUTIL"; then
5970 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
5971 echo "${ECHO_T}$DSYMUTIL" >&6; }
5973 { echo "$as_me:$LINENO: result: no" >&5
5974 echo "${ECHO_T}no" >&6; }
5979 if test -z "$ac_cv_prog_DSYMUTIL"; then
5980 ac_ct_DSYMUTIL=$DSYMUTIL
5981 # Extract the first word of "dsymutil", so it can be a program name with args.
5982 set dummy dsymutil; ac_word=$2
5983 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5985 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5986 echo $ECHO_N "(cached) $ECHO_C" >&6
5988 if test -n "$ac_ct_DSYMUTIL"; then
5989 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5995 test -z "$as_dir" && as_dir=.
5996 for ac_exec_ext in '' $ac_executable_extensions; do
5997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5998 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6008 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6009 if test -n "$ac_ct_DSYMUTIL"; then
6010 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
6011 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
6013 { echo "$as_me:$LINENO: result: no" >&5
6014 echo "${ECHO_T}no" >&6; }
6017 if test "x$ac_ct_DSYMUTIL" = x; then
6020 case $cross_compiling:$ac_tool_warned in
6022 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6023 whose name does not start with the host triplet. If you think this
6024 configuration is useful to you, please write to autoconf@gnu.org." >&5
6025 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6026 whose name does not start with the host triplet. If you think this
6027 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6028 ac_tool_warned=yes ;;
6030 DSYMUTIL=$ac_ct_DSYMUTIL
6033 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6036 if test -n "$ac_tool_prefix"; then
6037 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6038 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6039 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6041 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6042 echo $ECHO_N "(cached) $ECHO_C" >&6
6044 if test -n "$NMEDIT"; then
6045 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6051 test -z "$as_dir" && as_dir=.
6052 for ac_exec_ext in '' $ac_executable_extensions; do
6053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6054 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6064 NMEDIT=$ac_cv_prog_NMEDIT
6065 if test -n "$NMEDIT"; then
6066 { echo "$as_me:$LINENO: result: $NMEDIT" >&5
6067 echo "${ECHO_T}$NMEDIT" >&6; }
6069 { echo "$as_me:$LINENO: result: no" >&5
6070 echo "${ECHO_T}no" >&6; }
6075 if test -z "$ac_cv_prog_NMEDIT"; then
6076 ac_ct_NMEDIT=$NMEDIT
6077 # Extract the first word of "nmedit", so it can be a program name with args.
6078 set dummy nmedit; ac_word=$2
6079 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6081 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6082 echo $ECHO_N "(cached) $ECHO_C" >&6
6084 if test -n "$ac_ct_NMEDIT"; then
6085 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6091 test -z "$as_dir" && as_dir=.
6092 for ac_exec_ext in '' $ac_executable_extensions; do
6093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6094 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6104 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6105 if test -n "$ac_ct_NMEDIT"; then
6106 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6107 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
6109 { echo "$as_me:$LINENO: result: no" >&5
6110 echo "${ECHO_T}no" >&6; }
6113 if test "x$ac_ct_NMEDIT" = x; then
6116 case $cross_compiling:$ac_tool_warned in
6118 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6119 whose name does not start with the host triplet. If you think this
6120 configuration is useful to you, please write to autoconf@gnu.org." >&5
6121 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6122 whose name does not start with the host triplet. If you think this
6123 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6124 ac_tool_warned=yes ;;
6126 NMEDIT=$ac_ct_NMEDIT
6129 NMEDIT="$ac_cv_prog_NMEDIT"
6132 if test -n "$ac_tool_prefix"; then
6133 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6134 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6137 if test "${ac_cv_prog_LIPO+set}" = set; then
6138 echo $ECHO_N "(cached) $ECHO_C" >&6
6140 if test -n "$LIPO"; then
6141 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6147 test -z "$as_dir" && as_dir=.
6148 for ac_exec_ext in '' $ac_executable_extensions; do
6149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6150 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6160 LIPO=$ac_cv_prog_LIPO
6161 if test -n "$LIPO"; then
6162 { echo "$as_me:$LINENO: result: $LIPO" >&5
6163 echo "${ECHO_T}$LIPO" >&6; }
6165 { echo "$as_me:$LINENO: result: no" >&5
6166 echo "${ECHO_T}no" >&6; }
6171 if test -z "$ac_cv_prog_LIPO"; then
6173 # Extract the first word of "lipo", so it can be a program name with args.
6174 set dummy lipo; ac_word=$2
6175 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6177 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6178 echo $ECHO_N "(cached) $ECHO_C" >&6
6180 if test -n "$ac_ct_LIPO"; then
6181 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6187 test -z "$as_dir" && as_dir=.
6188 for ac_exec_ext in '' $ac_executable_extensions; do
6189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6190 ac_cv_prog_ac_ct_LIPO="lipo"
6191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6200 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6201 if test -n "$ac_ct_LIPO"; then
6202 { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6203 echo "${ECHO_T}$ac_ct_LIPO" >&6; }
6205 { echo "$as_me:$LINENO: result: no" >&5
6206 echo "${ECHO_T}no" >&6; }
6209 if test "x$ac_ct_LIPO" = x; then
6212 case $cross_compiling:$ac_tool_warned in
6214 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6215 whose name does not start with the host triplet. If you think this
6216 configuration is useful to you, please write to autoconf@gnu.org." >&5
6217 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6218 whose name does not start with the host triplet. If you think this
6219 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6220 ac_tool_warned=yes ;;
6225 LIPO="$ac_cv_prog_LIPO"
6228 if test -n "$ac_tool_prefix"; then
6229 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6230 set dummy ${ac_tool_prefix}otool; ac_word=$2
6231 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6233 if test "${ac_cv_prog_OTOOL+set}" = set; then
6234 echo $ECHO_N "(cached) $ECHO_C" >&6
6236 if test -n "$OTOOL"; then
6237 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6243 test -z "$as_dir" && as_dir=.
6244 for ac_exec_ext in '' $ac_executable_extensions; do
6245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6246 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6256 OTOOL=$ac_cv_prog_OTOOL
6257 if test -n "$OTOOL"; then
6258 { echo "$as_me:$LINENO: result: $OTOOL" >&5
6259 echo "${ECHO_T}$OTOOL" >&6; }
6261 { echo "$as_me:$LINENO: result: no" >&5
6262 echo "${ECHO_T}no" >&6; }
6267 if test -z "$ac_cv_prog_OTOOL"; then
6269 # Extract the first word of "otool", so it can be a program name with args.
6270 set dummy otool; ac_word=$2
6271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6273 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6274 echo $ECHO_N "(cached) $ECHO_C" >&6
6276 if test -n "$ac_ct_OTOOL"; then
6277 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6283 test -z "$as_dir" && as_dir=.
6284 for ac_exec_ext in '' $ac_executable_extensions; do
6285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6286 ac_cv_prog_ac_ct_OTOOL="otool"
6287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6296 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6297 if test -n "$ac_ct_OTOOL"; then
6298 { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6299 echo "${ECHO_T}$ac_ct_OTOOL" >&6; }
6301 { echo "$as_me:$LINENO: result: no" >&5
6302 echo "${ECHO_T}no" >&6; }
6305 if test "x$ac_ct_OTOOL" = x; then
6308 case $cross_compiling:$ac_tool_warned in
6310 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6311 whose name does not start with the host triplet. If you think this
6312 configuration is useful to you, please write to autoconf@gnu.org." >&5
6313 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6314 whose name does not start with the host triplet. If you think this
6315 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6316 ac_tool_warned=yes ;;
6321 OTOOL="$ac_cv_prog_OTOOL"
6324 if test -n "$ac_tool_prefix"; then
6325 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6326 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6327 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6329 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6330 echo $ECHO_N "(cached) $ECHO_C" >&6
6332 if test -n "$OTOOL64"; then
6333 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6339 test -z "$as_dir" && as_dir=.
6340 for ac_exec_ext in '' $ac_executable_extensions; do
6341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6342 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6352 OTOOL64=$ac_cv_prog_OTOOL64
6353 if test -n "$OTOOL64"; then
6354 { echo "$as_me:$LINENO: result: $OTOOL64" >&5
6355 echo "${ECHO_T}$OTOOL64" >&6; }
6357 { echo "$as_me:$LINENO: result: no" >&5
6358 echo "${ECHO_T}no" >&6; }
6363 if test -z "$ac_cv_prog_OTOOL64"; then
6364 ac_ct_OTOOL64=$OTOOL64
6365 # Extract the first word of "otool64", so it can be a program name with args.
6366 set dummy otool64; ac_word=$2
6367 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6369 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6370 echo $ECHO_N "(cached) $ECHO_C" >&6
6372 if test -n "$ac_ct_OTOOL64"; then
6373 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6379 test -z "$as_dir" && as_dir=.
6380 for ac_exec_ext in '' $ac_executable_extensions; do
6381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6382 ac_cv_prog_ac_ct_OTOOL64="otool64"
6383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6392 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6393 if test -n "$ac_ct_OTOOL64"; then
6394 { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6395 echo "${ECHO_T}$ac_ct_OTOOL64" >&6; }
6397 { echo "$as_me:$LINENO: result: no" >&5
6398 echo "${ECHO_T}no" >&6; }
6401 if test "x$ac_ct_OTOOL64" = x; then
6404 case $cross_compiling:$ac_tool_warned in
6406 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6407 whose name does not start with the host triplet. If you think this
6408 configuration is useful to you, please write to autoconf@gnu.org." >&5
6409 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6410 whose name does not start with the host triplet. If you think this
6411 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6412 ac_tool_warned=yes ;;
6414 OTOOL64=$ac_ct_OTOOL64
6417 OTOOL64="$ac_cv_prog_OTOOL64"
6446 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6447 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
6448 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6449 echo $ECHO_N "(cached) $ECHO_C" >&6
6451 lt_cv_apple_cc_single_mod=no
6452 if test -z "${LT_MULTI_MODULE}"; then
6453 # By default we will add the -single_module flag. You can override
6454 # by either setting the environment variable LT_MULTI_MODULE
6455 # non-empty at configure time, or by adding -multi_module to the
6457 rm -rf libconftest.dylib*
6458 echo "int foo(void){return 1;}" > conftest.c
6459 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6460 -dynamiclib -Wl,-single_module conftest.c" >&5
6461 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6462 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6464 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6465 lt_cv_apple_cc_single_mod=yes
6467 cat conftest.err >&5
6469 rm -rf libconftest.dylib*
6473 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6474 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
6475 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6476 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
6477 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6478 echo $ECHO_N "(cached) $ECHO_C" >&6
6480 lt_cv_ld_exported_symbols_list=no
6481 save_LDFLAGS=$LDFLAGS
6482 echo "_main" > conftest.sym
6483 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6484 cat >conftest.$ac_ext <<_ACEOF
6487 cat confdefs.h >>conftest.$ac_ext
6488 cat >>conftest.$ac_ext <<_ACEOF
6489 /* end confdefs.h. */
6499 rm -f conftest.$ac_objext conftest$ac_exeext
6500 if { (ac_try="$ac_link"
6502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6503 *) ac_try_echo=$ac_try;;
6505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6506 (eval "$ac_link") 2>conftest.er1
6508 grep -v '^ *+' conftest.er1 >conftest.err
6510 cat conftest.err >&5
6511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6512 (exit $ac_status); } && {
6513 test -z "$ac_c_werror_flag" ||
6514 test ! -s conftest.err
6515 } && test -s conftest$ac_exeext &&
6516 $as_test_x conftest$ac_exeext; then
6517 lt_cv_ld_exported_symbols_list=yes
6519 echo "$as_me: failed program was:" >&5
6520 sed 's/^/| /' conftest.$ac_ext >&5
6522 lt_cv_ld_exported_symbols_list=no
6525 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6526 conftest$ac_exeext conftest.$ac_ext
6527 LDFLAGS="$save_LDFLAGS"
6530 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6531 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
6533 rhapsody* | darwin1.[012])
6534 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6536 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6537 darwin*) # darwin 5.x on
6538 # if running on 10.5 or later, the deployment target defaults
6539 # to the OS version, if on x86, and 10.4, the deployment
6540 # target defaults to 10.4. Don't you love it?
6541 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6542 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6543 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6545 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6547 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6551 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6552 _lt_dar_single_mod='$single_module'
6554 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6555 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6557 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6559 if test "$DSYMUTIL" != ":"; then
6560 _lt_dsymutil='~$DSYMUTIL $lib || :'
6568 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6569 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6570 if test "${ac_cv_header_stdc+set}" = set; then
6571 echo $ECHO_N "(cached) $ECHO_C" >&6
6573 cat >conftest.$ac_ext <<_ACEOF
6576 cat confdefs.h >>conftest.$ac_ext
6577 cat >>conftest.$ac_ext <<_ACEOF
6578 /* end confdefs.h. */
6592 rm -f conftest.$ac_objext
6593 if { (ac_try="$ac_compile"
6595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6596 *) ac_try_echo=$ac_try;;
6598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6599 (eval "$ac_compile") 2>conftest.er1
6601 grep -v '^ *+' conftest.er1 >conftest.err
6603 cat conftest.err >&5
6604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6605 (exit $ac_status); } && {
6606 test -z "$ac_c_werror_flag" ||
6607 test ! -s conftest.err
6608 } && test -s conftest.$ac_objext; then
6609 ac_cv_header_stdc=yes
6611 echo "$as_me: failed program was:" >&5
6612 sed 's/^/| /' conftest.$ac_ext >&5
6614 ac_cv_header_stdc=no
6617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6619 if test $ac_cv_header_stdc = yes; then
6620 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6621 cat >conftest.$ac_ext <<_ACEOF
6624 cat confdefs.h >>conftest.$ac_ext
6625 cat >>conftest.$ac_ext <<_ACEOF
6626 /* end confdefs.h. */
6630 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6631 $EGREP "memchr" >/dev/null 2>&1; then
6634 ac_cv_header_stdc=no
6640 if test $ac_cv_header_stdc = yes; then
6641 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6642 cat >conftest.$ac_ext <<_ACEOF
6645 cat confdefs.h >>conftest.$ac_ext
6646 cat >>conftest.$ac_ext <<_ACEOF
6647 /* end confdefs.h. */
6651 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6652 $EGREP "free" >/dev/null 2>&1; then
6655 ac_cv_header_stdc=no
6661 if test $ac_cv_header_stdc = yes; then
6662 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6663 if test "$cross_compiling" = yes; then
6666 cat >conftest.$ac_ext <<_ACEOF
6669 cat confdefs.h >>conftest.$ac_ext
6670 cat >>conftest.$ac_ext <<_ACEOF
6671 /* end confdefs.h. */
6674 #if ((' ' & 0x0FF) == 0x020)
6675 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6676 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6678 # define ISLOWER(c) \
6679 (('a' <= (c) && (c) <= 'i') \
6680 || ('j' <= (c) && (c) <= 'r') \
6681 || ('s' <= (c) && (c) <= 'z'))
6682 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6685 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6690 for (i = 0; i < 256; i++)
6691 if (XOR (islower (i), ISLOWER (i))
6692 || toupper (i) != TOUPPER (i))
6697 rm -f conftest$ac_exeext
6698 if { (ac_try="$ac_link"
6700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6701 *) ac_try_echo=$ac_try;;
6703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6704 (eval "$ac_link") 2>&5
6706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6707 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6708 { (case "(($ac_try" in
6709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6710 *) ac_try_echo=$ac_try;;
6712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6713 (eval "$ac_try") 2>&5
6715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6716 (exit $ac_status); }; }; then
6719 echo "$as_me: program exited with status $ac_status" >&5
6720 echo "$as_me: failed program was:" >&5
6721 sed 's/^/| /' conftest.$ac_ext >&5
6724 ac_cv_header_stdc=no
6726 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6732 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6733 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6734 if test $ac_cv_header_stdc = yes; then
6736 cat >>confdefs.h <<\_ACEOF
6737 #define STDC_HEADERS 1
6742 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6752 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6753 inttypes.h stdint.h unistd.h
6755 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6756 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6757 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6758 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6759 echo $ECHO_N "(cached) $ECHO_C" >&6
6761 cat >conftest.$ac_ext <<_ACEOF
6764 cat confdefs.h >>conftest.$ac_ext
6765 cat >>conftest.$ac_ext <<_ACEOF
6766 /* end confdefs.h. */
6767 $ac_includes_default
6769 #include <$ac_header>
6771 rm -f conftest.$ac_objext
6772 if { (ac_try="$ac_compile"
6774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6775 *) ac_try_echo=$ac_try;;
6777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6778 (eval "$ac_compile") 2>conftest.er1
6780 grep -v '^ *+' conftest.er1 >conftest.err
6782 cat conftest.err >&5
6783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6784 (exit $ac_status); } && {
6785 test -z "$ac_c_werror_flag" ||
6786 test ! -s conftest.err
6787 } && test -s conftest.$ac_objext; then
6788 eval "$as_ac_Header=yes"
6790 echo "$as_me: failed program was:" >&5
6791 sed 's/^/| /' conftest.$ac_ext >&5
6793 eval "$as_ac_Header=no"
6796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6798 ac_res=`eval echo '${'$as_ac_Header'}'`
6799 { echo "$as_me:$LINENO: result: $ac_res" >&5
6800 echo "${ECHO_T}$ac_res" >&6; }
6801 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6802 cat >>confdefs.h <<_ACEOF
6803 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6812 for ac_header in dlfcn.h
6814 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6815 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6816 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6817 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6818 echo $ECHO_N "(cached) $ECHO_C" >&6
6820 cat >conftest.$ac_ext <<_ACEOF
6823 cat confdefs.h >>conftest.$ac_ext
6824 cat >>conftest.$ac_ext <<_ACEOF
6825 /* end confdefs.h. */
6826 $ac_includes_default
6828 #include <$ac_header>
6830 rm -f conftest.$ac_objext
6831 if { (ac_try="$ac_compile"
6833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6834 *) ac_try_echo=$ac_try;;
6836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6837 (eval "$ac_compile") 2>conftest.er1
6839 grep -v '^ *+' conftest.er1 >conftest.err
6841 cat conftest.err >&5
6842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6843 (exit $ac_status); } && {
6844 test -z "$ac_c_werror_flag" ||
6845 test ! -s conftest.err
6846 } && test -s conftest.$ac_objext; then
6847 eval "$as_ac_Header=yes"
6849 echo "$as_me: failed program was:" >&5
6850 sed 's/^/| /' conftest.$ac_ext >&5
6852 eval "$as_ac_Header=no"
6855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6857 ac_res=`eval echo '${'$as_ac_Header'}'`
6858 { echo "$as_me:$LINENO: result: $ac_res" >&5
6859 echo "${ECHO_T}$ac_res" >&6; }
6860 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6861 cat >>confdefs.h <<_ACEOF
6862 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6881 # Check whether --enable-shared was given.
6882 if test "${enable_shared+set}" = set; then
6883 enableval=$enable_shared; p=${PACKAGE-default}
6885 yes) enable_shared=yes ;;
6886 no) enable_shared=no ;;
6889 # Look at the argument we got. We use all the common list separators.
6890 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6891 for pkg in $enableval; do
6893 if test "X$pkg" = "X$p"; then
6912 # Check whether --enable-static was given.
6913 if test "${enable_static+set}" = set; then
6914 enableval=$enable_static; p=${PACKAGE-default}
6916 yes) enable_static=yes ;;
6917 no) enable_static=no ;;
6920 # Look at the argument we got. We use all the common list separators.
6921 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6922 for pkg in $enableval; do
6924 if test "X$pkg" = "X$p"; then
6944 # Check whether --with-pic was given.
6945 if test "${with_pic+set}" = set; then
6946 withval=$with_pic; pic_mode="$withval"
6952 test -z "$pic_mode" && pic_mode=default
6960 # Check whether --enable-fast-install was given.
6961 if test "${enable_fast_install+set}" = set; then
6962 enableval=$enable_fast_install; p=${PACKAGE-default}
6964 yes) enable_fast_install=yes ;;
6965 no) enable_fast_install=no ;;
6967 enable_fast_install=no
6968 # Look at the argument we got. We use all the common list separators.
6969 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6970 for pkg in $enableval; do
6972 if test "X$pkg" = "X$p"; then
6973 enable_fast_install=yes
6980 enable_fast_install=yes
6993 # This can be used to rebuild libtool when needed
6994 LIBTOOL_DEPS="$ltmain"
6996 # Always use our own libtool.
6997 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7023 test -z "$LN_S" && LN_S="ln -s"
7038 if test -n "${ZSH_VERSION+set}" ; then
7039 setopt NO_GLOB_SUBST
7042 { echo "$as_me:$LINENO: checking for objdir" >&5
7043 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7044 if test "${lt_cv_objdir+set}" = set; then
7045 echo $ECHO_N "(cached) $ECHO_C" >&6
7047 rm -f .libs 2>/dev/null
7048 mkdir .libs 2>/dev/null
7049 if test -d .libs; then
7052 # MS-DOS does not allow filenames that begin with a dot.
7055 rmdir .libs 2>/dev/null
7057 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7058 echo "${ECHO_T}$lt_cv_objdir" >&6; }
7059 objdir=$lt_cv_objdir
7065 cat >>confdefs.h <<_ACEOF
7066 #define LT_OBJDIR "$lt_cv_objdir/"
7087 # AIX sometimes has problems with the GCC collect2 program. For some
7088 # reason, if we set the COLLECT_NAMES environment variable, the problems
7089 # vanish in a puff of smoke.
7090 if test "X${COLLECT_NAMES+set}" != Xset; then
7092 export COLLECT_NAMES
7097 # Sed substitution that helps us do robust quoting. It backslashifies
7098 # metacharacters that are still active within double-quoted strings.
7099 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7101 # Same as above, but do not quote variable references.
7102 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7104 # Sed substitution to delay expansion of an escaped shell variable in a
7105 # double_quote_subst'ed string.
7106 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7108 # Sed substitution to delay expansion of an escaped single quote.
7109 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7111 # Sed substitution to avoid accidental globbing in evaled expressions
7112 no_glob_subst='s/\*/\\\*/g'
7116 can_build_shared=yes
7118 # All known linkers require a `.a' archive for static linking (except MSVC,
7119 # which needs '.lib').
7122 with_gnu_ld="$lt_cv_prog_gnu_ld"
7125 old_CFLAGS="$CFLAGS"
7127 # Set sane defaults for various variables
7128 test -z "$CC" && CC=cc
7129 test -z "$LTCC" && LTCC=$CC
7130 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7131 test -z "$LD" && LD=ld
7132 test -z "$ac_objext" && ac_objext=o
7134 for cc_temp in $compiler""; do
7136 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7137 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7142 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7145 # Only perform the check for file, if the check method requires it
7146 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7147 case $deplibs_check_method in
7149 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7150 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7151 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7152 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7153 echo $ECHO_N "(cached) $ECHO_C" >&6
7157 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7160 lt_save_MAGIC_CMD="$MAGIC_CMD"
7161 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7162 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7163 for ac_dir in $ac_dummy; do
7165 test -z "$ac_dir" && ac_dir=.
7166 if test -f $ac_dir/${ac_tool_prefix}file; then
7167 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7168 if test -n "$file_magic_test_file"; then
7169 case $deplibs_check_method in
7171 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7172 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7173 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7174 $EGREP "$file_magic_regex" > /dev/null; then
7179 *** Warning: the command libtool uses to detect shared libraries,
7180 *** $file_magic_cmd, produces output that libtool cannot recognize.
7181 *** The result is that libtool may fail to recognize shared libraries
7182 *** as such. This will affect the creation of libtool libraries that
7183 *** depend on shared libraries, but programs linked with such libtool
7184 *** libraries will work regardless of this problem. Nevertheless, you
7185 *** may want to report the problem to your system manager and/or to
7186 *** bug-libtool@gnu.org
7196 MAGIC_CMD="$lt_save_MAGIC_CMD"
7201 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7202 if test -n "$MAGIC_CMD"; then
7203 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7204 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7206 { echo "$as_me:$LINENO: result: no" >&5
7207 echo "${ECHO_T}no" >&6; }
7214 if test -z "$lt_cv_path_MAGIC_CMD"; then
7215 if test -n "$ac_tool_prefix"; then
7216 { echo "$as_me:$LINENO: checking for file" >&5
7217 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7218 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7219 echo $ECHO_N "(cached) $ECHO_C" >&6
7223 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7226 lt_save_MAGIC_CMD="$MAGIC_CMD"
7227 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7228 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7229 for ac_dir in $ac_dummy; do
7231 test -z "$ac_dir" && ac_dir=.
7232 if test -f $ac_dir/file; then
7233 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7234 if test -n "$file_magic_test_file"; then
7235 case $deplibs_check_method in
7237 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7238 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7239 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7240 $EGREP "$file_magic_regex" > /dev/null; then
7245 *** Warning: the command libtool uses to detect shared libraries,
7246 *** $file_magic_cmd, produces output that libtool cannot recognize.
7247 *** The result is that libtool may fail to recognize shared libraries
7248 *** as such. This will affect the creation of libtool libraries that
7249 *** depend on shared libraries, but programs linked with such libtool
7250 *** libraries will work regardless of this problem. Nevertheless, you
7251 *** may want to report the problem to your system manager and/or to
7252 *** bug-libtool@gnu.org
7262 MAGIC_CMD="$lt_save_MAGIC_CMD"
7267 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7268 if test -n "$MAGIC_CMD"; then
7269 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7270 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7272 { echo "$as_me:$LINENO: result: no" >&5
7273 echo "${ECHO_T}no" >&6; }
7286 # Use C for the default configuration in the libtool script
7290 ac_cpp='$CPP $CPPFLAGS'
7291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7296 # Source file extension for C test sources.
7299 # Object file extension for compiled C test sources.
7303 # Code to be used in simple compile tests
7304 lt_simple_compile_test_code="int some_variable = 0;"
7306 # Code to be used in simple link tests
7307 lt_simple_link_test_code='int main(){return(0);}'
7315 # If no C compiler was specified, use CC.
7318 # If no C compiler flags were specified, use CFLAGS.
7319 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7321 # Allow CC to be a program name with arguments.
7324 # Save the default compiler, since it gets overwritten when the other
7325 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7326 compiler_DEFAULT=$CC
7328 # save warnings/boilerplate of simple test code
7329 ac_outfile=conftest.$ac_objext
7330 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7331 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7332 _lt_compiler_boilerplate=`cat conftest.err`
7335 ac_outfile=conftest.$ac_objext
7336 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7337 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7338 _lt_linker_boilerplate=`cat conftest.err`
7342 if test -n "$compiler"; then
7344 lt_prog_compiler_no_builtin_flag=
7346 if test "$GCC" = yes; then
7347 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7349 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7350 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7351 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7352 echo $ECHO_N "(cached) $ECHO_C" >&6
7354 lt_cv_prog_compiler_rtti_exceptions=no
7355 ac_outfile=conftest.$ac_objext
7356 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7357 lt_compiler_flag="-fno-rtti -fno-exceptions"
7358 # Insert the option either (1) after the last *FLAGS variable, or
7359 # (2) before a word containing "conftest.", or (3) at the end.
7360 # Note that $ac_compile itself does not contain backslashes and begins
7361 # with a dollar sign (not a hyphen), so the echo should work correctly.
7362 # The option is referenced via a variable to avoid confusing sed.
7363 lt_compile=`echo "$ac_compile" | $SED \
7364 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7365 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7366 -e 's:$: $lt_compiler_flag:'`
7367 (eval echo "\"\$as_me:7367: $lt_compile\"" >&5)
7368 (eval "$lt_compile" 2>conftest.err)
7370 cat conftest.err >&5
7371 echo "$as_me:7371: \$? = $ac_status" >&5
7372 if (exit $ac_status) && test -s "$ac_outfile"; then
7373 # The compiler can only warn and ignore the option if not recognized
7374 # So say no if there are warnings other than the usual output.
7375 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7376 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7377 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7378 lt_cv_prog_compiler_rtti_exceptions=yes
7384 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7385 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7387 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7388 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7400 lt_prog_compiler_wl=
7401 lt_prog_compiler_pic=
7402 lt_prog_compiler_static=
7404 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7405 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7407 if test "$GCC" = yes; then
7408 lt_prog_compiler_wl='-Wl,'
7409 lt_prog_compiler_static='-static'
7413 # All AIX code is PIC.
7414 if test "$host_cpu" = ia64; then
7415 # AIX 5 now supports IA64 processor
7416 lt_prog_compiler_static='-Bstatic'
7423 # see comment about AmigaOS4 .so support
7424 lt_prog_compiler_pic='-fPIC'
7427 # FIXME: we need at least 68020 code to build shared libraries, but
7428 # adding the `-m68020' flag to GCC prevents building anything better,
7430 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7435 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7436 # PIC is the default for these OSes.
7439 mingw* | cygwin* | pw32* | os2*)
7440 # This hack is so that the source file can tell whether it is being
7441 # built for inclusion in a dll (and should export symbols for example).
7442 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7443 # (--disable-auto-import) libraries
7444 lt_prog_compiler_pic='-DDLL_EXPORT'
7447 darwin* | rhapsody*)
7448 # PIC is the default on this platform
7449 # Common symbols not allowed in MH_DYLIB files
7450 lt_prog_compiler_pic='-fno-common'
7454 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7461 lt_prog_compiler_pic='-fPIC'
7467 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7468 # Instead, we relocate shared libraries at runtime.
7472 # Just because we use GCC doesn't mean we suddenly get shared libraries
7473 # on systems that don't support them.
7474 lt_prog_compiler_can_build_shared=no
7479 # QNX uses GNU C++, but need to define -shared option too, otherwise
7481 lt_prog_compiler_pic='-fPIC -shared'
7485 if test -d /usr/nec; then
7486 lt_prog_compiler_pic=-Kconform_pic
7491 lt_prog_compiler_pic='-fPIC'
7495 # PORTME Check for flag to pass linker flags through the system compiler.
7498 lt_prog_compiler_wl='-Wl,'
7499 if test "$host_cpu" = ia64; then
7500 # AIX 5 now supports IA64 processor
7501 lt_prog_compiler_static='-Bstatic'
7503 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7507 mingw* | cygwin* | pw32* | os2*)
7508 # This hack is so that the source file can tell whether it is being
7509 # built for inclusion in a dll (and should export symbols for example).
7510 lt_prog_compiler_pic='-DDLL_EXPORT'
7513 hpux9* | hpux10* | hpux11*)
7514 lt_prog_compiler_wl='-Wl,'
7515 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7522 lt_prog_compiler_pic='+Z'
7525 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7526 lt_prog_compiler_static='${wl}-a ${wl}archive'
7529 irix5* | irix6* | nonstopux*)
7530 lt_prog_compiler_wl='-Wl,'
7531 # PIC (with -KPIC) is the default.
7532 lt_prog_compiler_static='-non_shared'
7535 linux* | k*bsd*-gnu)
7536 case $cc_basename in
7537 icc* | ecc* | ifort*)
7538 lt_prog_compiler_wl='-Wl,'
7539 lt_prog_compiler_pic='-KPIC'
7540 lt_prog_compiler_static='-static'
7542 pgcc* | pgf77* | pgf90* | pgf95*)
7543 # Portland Group compilers (*not* the Pentium gcc compiler,
7544 # which looks to be a dead project)
7545 lt_prog_compiler_wl='-Wl,'
7546 lt_prog_compiler_pic='-fpic'
7547 lt_prog_compiler_static='-Bstatic'
7550 lt_prog_compiler_wl='-Wl,'
7551 # All Alpha code is PIC.
7552 lt_prog_compiler_static='-non_shared'
7555 # IBM XL C 8.0/Fortran 10.1 on PPC
7556 lt_prog_compiler_wl='-Wl,'
7557 lt_prog_compiler_pic='-qpic'
7558 lt_prog_compiler_static='-qstaticlink'
7561 case `$CC -V 2>&1 | sed 5q` in
7564 lt_prog_compiler_pic='-KPIC'
7565 lt_prog_compiler_static='-Bstatic'
7566 lt_prog_compiler_wl='-Wl,'
7569 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7570 lt_prog_compiler_pic='-KPIC'
7571 lt_prog_compiler_static='-Bstatic'
7572 lt_prog_compiler_wl=''
7580 lt_prog_compiler_pic='-KPIC'
7581 lt_prog_compiler_static='-Bstatic'
7585 # QNX uses GNU C++, but need to define -shared option too, otherwise
7587 lt_prog_compiler_pic='-fPIC -shared'
7590 osf3* | osf4* | osf5*)
7591 lt_prog_compiler_wl='-Wl,'
7592 # All OSF/1 code is PIC.
7593 lt_prog_compiler_static='-non_shared'
7597 lt_prog_compiler_static='-non_shared'
7601 lt_prog_compiler_pic='-KPIC'
7602 lt_prog_compiler_static='-Bstatic'
7603 case $cc_basename in
7605 lt_prog_compiler_wl='-Qoption ld ';;
7607 lt_prog_compiler_wl='-Wl,';;
7612 lt_prog_compiler_wl='-Qoption ld '
7613 lt_prog_compiler_pic='-PIC'
7614 lt_prog_compiler_static='-Bstatic'
7617 sysv4 | sysv4.2uw2* | sysv4.3*)
7618 lt_prog_compiler_wl='-Wl,'
7619 lt_prog_compiler_pic='-KPIC'
7620 lt_prog_compiler_static='-Bstatic'
7624 if test -d /usr/nec ;then
7625 lt_prog_compiler_pic='-Kconform_pic'
7626 lt_prog_compiler_static='-Bstatic'
7630 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7631 lt_prog_compiler_wl='-Wl,'
7632 lt_prog_compiler_pic='-KPIC'
7633 lt_prog_compiler_static='-Bstatic'
7637 lt_prog_compiler_wl='-Wl,'
7638 lt_prog_compiler_can_build_shared=no
7642 lt_prog_compiler_pic='-pic'
7643 lt_prog_compiler_static='-Bstatic'
7647 lt_prog_compiler_can_build_shared=no
7653 # For platforms which do not support PIC, -DPIC is meaningless:
7655 lt_prog_compiler_pic=
7658 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7661 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7662 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7670 # Check to make sure the PIC flag actually works.
7672 if test -n "$lt_prog_compiler_pic"; then
7673 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7674 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7675 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7676 echo $ECHO_N "(cached) $ECHO_C" >&6
7678 lt_cv_prog_compiler_pic_works=no
7679 ac_outfile=conftest.$ac_objext
7680 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7681 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7682 # Insert the option either (1) after the last *FLAGS variable, or
7683 # (2) before a word containing "conftest.", or (3) at the end.
7684 # Note that $ac_compile itself does not contain backslashes and begins
7685 # with a dollar sign (not a hyphen), so the echo should work correctly.
7686 # The option is referenced via a variable to avoid confusing sed.
7687 lt_compile=`echo "$ac_compile" | $SED \
7688 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7689 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7690 -e 's:$: $lt_compiler_flag:'`
7691 (eval echo "\"\$as_me:7691: $lt_compile\"" >&5)
7692 (eval "$lt_compile" 2>conftest.err)
7694 cat conftest.err >&5
7695 echo "$as_me:7695: \$? = $ac_status" >&5
7696 if (exit $ac_status) && test -s "$ac_outfile"; then
7697 # The compiler can only warn and ignore the option if not recognized
7698 # So say no if there are warnings other than the usual output.
7699 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7700 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7701 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7702 lt_cv_prog_compiler_pic_works=yes
7708 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7709 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
7711 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7712 case $lt_prog_compiler_pic in
7714 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7717 lt_prog_compiler_pic=
7718 lt_prog_compiler_can_build_shared=no
7729 # Check to make sure the static flag actually works.
7731 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7732 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7733 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7734 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7735 echo $ECHO_N "(cached) $ECHO_C" >&6
7737 lt_cv_prog_compiler_static_works=no
7738 save_LDFLAGS="$LDFLAGS"
7739 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7740 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7741 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7742 # The linker can only warn and ignore the option if not recognized
7743 # So say no if there are warnings
7744 if test -s conftest.err; then
7745 # Append any errors to the config.log.
7746 cat conftest.err 1>&5
7747 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7748 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7749 if diff conftest.exp conftest.er2 >/dev/null; then
7750 lt_cv_prog_compiler_static_works=yes
7753 lt_cv_prog_compiler_static_works=yes
7757 LDFLAGS="$save_LDFLAGS"
7760 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7761 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
7763 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7766 lt_prog_compiler_static=
7775 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7776 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7777 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7778 echo $ECHO_N "(cached) $ECHO_C" >&6
7780 lt_cv_prog_compiler_c_o=no
7781 $RM -r conftest 2>/dev/null
7785 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7787 lt_compiler_flag="-o out/conftest2.$ac_objext"
7788 # Insert the option either (1) after the last *FLAGS variable, or
7789 # (2) before a word containing "conftest.", or (3) at the end.
7790 # Note that $ac_compile itself does not contain backslashes and begins
7791 # with a dollar sign (not a hyphen), so the echo should work correctly.
7792 lt_compile=`echo "$ac_compile" | $SED \
7793 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7794 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7795 -e 's:$: $lt_compiler_flag:'`
7796 (eval echo "\"\$as_me:7796: $lt_compile\"" >&5)
7797 (eval "$lt_compile" 2>out/conftest.err)
7799 cat out/conftest.err >&5
7800 echo "$as_me:7800: \$? = $ac_status" >&5
7801 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7803 # The compiler can only warn and ignore the option if not recognized
7804 # So say no if there are warnings
7805 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7806 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7807 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7808 lt_cv_prog_compiler_c_o=yes
7813 # SGI C++ compiler will create directory out/ii_files/ for
7814 # template instantiation
7815 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7816 $RM out/* && rmdir out
7822 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7823 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7830 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7831 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7832 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7833 echo $ECHO_N "(cached) $ECHO_C" >&6
7835 lt_cv_prog_compiler_c_o=no
7836 $RM -r conftest 2>/dev/null
7840 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7842 lt_compiler_flag="-o out/conftest2.$ac_objext"
7843 # Insert the option either (1) after the last *FLAGS variable, or
7844 # (2) before a word containing "conftest.", or (3) at the end.
7845 # Note that $ac_compile itself does not contain backslashes and begins
7846 # with a dollar sign (not a hyphen), so the echo should work correctly.
7847 lt_compile=`echo "$ac_compile" | $SED \
7848 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7849 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7850 -e 's:$: $lt_compiler_flag:'`
7851 (eval echo "\"\$as_me:7851: $lt_compile\"" >&5)
7852 (eval "$lt_compile" 2>out/conftest.err)
7854 cat out/conftest.err >&5
7855 echo "$as_me:7855: \$? = $ac_status" >&5
7856 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7858 # The compiler can only warn and ignore the option if not recognized
7859 # So say no if there are warnings
7860 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7861 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7862 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7863 lt_cv_prog_compiler_c_o=yes
7868 # SGI C++ compiler will create directory out/ii_files/ for
7869 # template instantiation
7870 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7871 $RM out/* && rmdir out
7877 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7878 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7883 hard_links="nottested"
7884 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7885 # do not overwrite the value of need_locks provided by the user
7886 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7887 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7890 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7892 ln conftest.a conftest.b 2>&5 || hard_links=no
7893 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7894 { echo "$as_me:$LINENO: result: $hard_links" >&5
7895 echo "${ECHO_T}$hard_links" >&6; }
7896 if test "$hard_links" = no; then
7897 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7898 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7910 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7911 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7914 allow_undefined_flag=
7915 always_export_symbols=no
7917 archive_expsym_cmds=
7918 compiler_needs_object=no
7919 enable_shared_with_static_runtimes=no
7920 export_dynamic_flag_spec=
7921 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7922 hardcode_automatic=no
7924 hardcode_direct_absolute=no
7925 hardcode_libdir_flag_spec=
7926 hardcode_libdir_flag_spec_ld=
7927 hardcode_libdir_separator=
7929 hardcode_shlibpath_var=unsupported
7931 link_all_deplibs=unknown
7934 old_archive_from_new_cmds=
7935 old_archive_from_expsyms_cmds=
7936 thread_safe_flag_spec=
7937 whole_archive_flag_spec=
7938 # include_expsyms should be a list of space-separated symbols to be *always*
7939 # included in the symbol list
7941 # exclude_expsyms can be an extended regexp of symbols to exclude
7942 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7943 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7944 # as well as any symbol that contains `d'.
7945 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7946 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7947 # platforms (ab)use it in PIC code, but their linkers get confused if
7948 # the symbol is explicitly referenced. Since portable code cannot
7949 # rely on this symbol name, it's probably fine to never include it in
7950 # preloaded symbol tables.
7951 # Exclude shared library initialization/finalization symbols.
7952 extract_expsyms_cmds=
7955 cygwin* | mingw* | pw32*)
7956 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7957 # When not using gcc, we currently assume that we are using
7958 # Microsoft Visual C++.
7959 if test "$GCC" != yes; then
7964 # we just hope/assume this is gcc and not c89 (= MSVC++)
7973 if test "$with_gnu_ld" = yes; then
7974 # If archive_cmds runs LD, not CC, wlarc should be empty
7977 # Set some defaults for GNU ld with shared library support. These
7978 # are reset later if shared libraries are not supported. Putting them
7979 # here allows them to be overridden if necessary.
7980 runpath_var=LD_RUN_PATH
7981 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7982 export_dynamic_flag_spec='${wl}--export-dynamic'
7983 # ancient GNU ld didn't support --whole-archive et. al.
7984 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7985 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7987 whole_archive_flag_spec=
7989 supports_anon_versioning=no
7990 case `$LD -v 2>&1` in
7991 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7992 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7993 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7994 *\ 2.11.*) ;; # other 2.11 versions
7995 *) supports_anon_versioning=yes ;;
7998 # See if GNU ld supports shared libraries.
8001 # On AIX/PPC, the GNU linker is very broken
8002 if test "$host_cpu" != ia64; then
8006 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8007 *** to be unable to reliably create shared libraries on AIX.
8008 *** Therefore, libtool is disabling shared libraries support. If you
8009 *** really care for shared libraries, you may want to modify your PATH
8010 *** so that a non-GNU linker is found, and then restart.
8019 # see comment about AmigaOS4 .so support
8020 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8021 archive_expsym_cmds=''
8024 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)'
8025 hardcode_libdir_flag_spec='-L$libdir'
8026 hardcode_minus_L=yes
8032 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8033 allow_undefined_flag=unsupported
8034 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8035 # support --undefined. This deserves some investigation. FIXME
8036 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8042 cygwin* | mingw* | pw32*)
8043 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8044 # as there is no search path for DLLs.
8045 hardcode_libdir_flag_spec='-L$libdir'
8046 allow_undefined_flag=unsupported
8047 always_export_symbols=no
8048 enable_shared_with_static_runtimes=yes
8049 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8051 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8052 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8053 # If the export-symbols file already is a .def file (1st line
8054 # is EXPORTS), use it as is; otherwise, prepend...
8055 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8056 cp $export_symbols $output_objdir/$soname.def;
8058 echo EXPORTS > $output_objdir/$soname.def;
8059 cat $export_symbols >> $output_objdir/$soname.def;
8061 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8069 hardcode_shlibpath_var=no
8070 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8071 export_dynamic_flag_spec='${wl}-E'
8072 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8073 # Instead, shared libraries are loaded at an image base (0x10000000 by
8074 # default) and relocated if they conflict, which is a slow very memory
8075 # consuming and fragmenting process. To avoid this, we pick a random,
8076 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8077 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8078 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8079 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'
8082 gnu* | linux* | tpf* | k*bsd*-gnu)
8084 if test "$host_os" = linux-dietlibc; then
8085 case $cc_basename in
8086 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8089 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8090 && test "$tmp_diet" = no
8093 tmp_sharedflag='-shared'
8094 case $cc_basename,$host_cpu in
8095 pgcc*) # Portland Group C compiler
8096 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8097 tmp_addflag=' $pic_flag'
8099 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8100 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8101 tmp_addflag=' $pic_flag -Mnomain' ;;
8102 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8103 tmp_addflag=' -i_dynamic' ;;
8104 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8105 tmp_addflag=' -i_dynamic -nofor_main' ;;
8106 ifc* | ifort*) # Intel Fortran compiler
8107 tmp_addflag=' -nofor_main' ;;
8108 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8109 tmp_sharedflag='-qmkshrobj'
8112 case `$CC -V 2>&1 | sed 5q` in
8113 *Sun\ C*) # Sun C 5.9
8114 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8115 compiler_needs_object=yes
8116 tmp_sharedflag='-G' ;;
8117 *Sun\ F*) # Sun Fortran 8.3
8118 tmp_sharedflag='-G' ;;
8120 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8122 if test "x$supports_anon_versioning" = xyes; then
8123 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8124 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8125 echo "local: *; };" >> $output_objdir/$libname.ver~
8126 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8129 case $cc_basename in
8131 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8132 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8133 hardcode_libdir_flag_spec=
8134 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8135 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8136 if test "x$supports_anon_versioning" = xyes; then
8137 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8138 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8139 echo "local: *; };" >> $output_objdir/$libname.ver~
8140 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8149 netbsd* | netbsdelf*-gnu)
8150 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8151 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8154 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8155 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8160 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8164 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8165 *** create shared libraries on Solaris systems. Therefore, libtool
8166 *** is disabling shared libraries support. We urge you to upgrade GNU
8167 *** binutils to release 2.9.1 or newer. Another option is to modify
8168 *** your PATH or compiler configuration so that the native linker is
8169 *** used, and then restart.
8172 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8173 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8174 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8180 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8181 case `$LD -v 2>&1` in
8182 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8186 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8187 *** reliably create shared libraries on SCO systems. Therefore, libtool
8188 *** is disabling shared libraries support. We urge you to upgrade GNU
8189 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8190 *** your PATH or compiler configuration so that the native linker is
8191 *** used, and then restart.
8196 # For security reasons, it is highly recommended that you always
8197 # use absolute paths for naming shared libraries, and exclude the
8198 # DT_RUNPATH tag from executables and libraries. But doing so
8199 # requires that you compile everything twice, which is a pain.
8200 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8201 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8202 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8203 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8212 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8215 hardcode_shlibpath_var=no
8219 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8220 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8221 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8228 if test "$ld_shlibs" = no; then
8230 hardcode_libdir_flag_spec=
8231 export_dynamic_flag_spec=
8232 whole_archive_flag_spec=
8235 # PORTME fill in a description of your system's linker (not GNU ld)
8238 allow_undefined_flag=unsupported
8239 always_export_symbols=yes
8240 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'
8241 # Note: this linker hardcodes the directories in LIBPATH if there
8242 # are no directories specified by -L.
8243 hardcode_minus_L=yes
8244 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8245 # Neither direct hardcoding nor static linking is supported with a
8247 hardcode_direct=unsupported
8252 if test "$host_cpu" = ia64; then
8253 # On IA64, the linker does run time linking by default, so we don't
8254 # have to do anything special.
8255 aix_use_runtimelinking=no
8256 exp_sym_flag='-Bexport'
8259 # If we're using GNU nm, then we don't want the "-C" option.
8260 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8261 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8262 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8264 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'
8266 aix_use_runtimelinking=no
8268 # Test if we are trying to use run time linking or normal
8269 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8270 # need to do runtime linking.
8271 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8272 for ld_flag in $LDFLAGS; do
8273 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8274 aix_use_runtimelinking=yes
8281 exp_sym_flag='-bexport'
8282 no_entry_flag='-bnoentry'
8285 # When large executables or shared objects are built, AIX ld can
8286 # have problems creating the table of contents. If linking a library
8287 # or program results in "error TOC overflow" add -mminimal-toc to
8288 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8289 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8293 hardcode_direct_absolute=yes
8294 hardcode_libdir_separator=':'
8295 link_all_deplibs=yes
8296 file_list_spec='${wl}-f,'
8298 if test "$GCC" = yes; then
8299 case $host_os in aix4.[012]|aix4.[012].*)
8300 # We only want to do this on AIX 4.2 and lower, the check
8301 # below for broken collect2 doesn't work under 4.3+
8302 collect2name=`${CC} -print-prog-name=collect2`
8303 if test -f "$collect2name" &&
8304 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8306 # We have reworked collect2
8309 # We have old collect2
8310 hardcode_direct=unsupported
8311 # It fails to find uninstalled libraries when the uninstalled
8312 # path is not listed in the libpath. Setting hardcode_minus_L
8313 # to unsupported forces relinking
8314 hardcode_minus_L=yes
8315 hardcode_libdir_flag_spec='-L$libdir'
8316 hardcode_libdir_separator=
8320 shared_flag='-shared'
8321 if test "$aix_use_runtimelinking" = yes; then
8322 shared_flag="$shared_flag "'${wl}-G'
8327 if test "$host_cpu" = ia64; then
8328 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8329 # chokes on -Wl,-G. The following line is correct:
8332 if test "$aix_use_runtimelinking" = yes; then
8333 shared_flag='${wl}-G'
8335 shared_flag='${wl}-bM:SRE'
8340 # It seems that -bexpall does not export symbols beginning with
8341 # underscore (_), so it is better to generate a list of symbols to export.
8342 always_export_symbols=yes
8343 if test "$aix_use_runtimelinking" = yes; then
8344 # Warning - without using the other runtime loading flags (-brtl),
8345 # -berok will link without error, but may produce a broken library.
8346 allow_undefined_flag='-berok'
8347 # Determine the default libpath from the value encoded in an
8349 cat >conftest.$ac_ext <<_ACEOF
8352 cat confdefs.h >>conftest.$ac_ext
8353 cat >>conftest.$ac_ext <<_ACEOF
8354 /* end confdefs.h. */
8364 rm -f conftest.$ac_objext conftest$ac_exeext
8365 if { (ac_try="$ac_link"
8367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8368 *) ac_try_echo=$ac_try;;
8370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8371 (eval "$ac_link") 2>conftest.er1
8373 grep -v '^ *+' conftest.er1 >conftest.err
8375 cat conftest.err >&5
8376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8377 (exit $ac_status); } && {
8378 test -z "$ac_c_werror_flag" ||
8379 test ! -s conftest.err
8380 } && test -s conftest$ac_exeext &&
8381 $as_test_x conftest$ac_exeext; then
8383 lt_aix_libpath_sed='
8384 /Import File Strings/,/^$/ {
8390 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8391 # Check for a 64-bit object if we didn't find anything.
8392 if test -z "$aix_libpath"; then
8393 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8396 echo "$as_me: failed program was:" >&5
8397 sed 's/^/| /' conftest.$ac_ext >&5
8402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8403 conftest$ac_exeext conftest.$ac_ext
8404 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8406 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8407 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8409 if test "$host_cpu" = ia64; then
8410 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8411 allow_undefined_flag="-z nodefs"
8412 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"
8414 # Determine the default libpath from the value encoded in an
8416 cat >conftest.$ac_ext <<_ACEOF
8419 cat confdefs.h >>conftest.$ac_ext
8420 cat >>conftest.$ac_ext <<_ACEOF
8421 /* end confdefs.h. */
8431 rm -f conftest.$ac_objext conftest$ac_exeext
8432 if { (ac_try="$ac_link"
8434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8435 *) ac_try_echo=$ac_try;;
8437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8438 (eval "$ac_link") 2>conftest.er1
8440 grep -v '^ *+' conftest.er1 >conftest.err
8442 cat conftest.err >&5
8443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8444 (exit $ac_status); } && {
8445 test -z "$ac_c_werror_flag" ||
8446 test ! -s conftest.err
8447 } && test -s conftest$ac_exeext &&
8448 $as_test_x conftest$ac_exeext; then
8450 lt_aix_libpath_sed='
8451 /Import File Strings/,/^$/ {
8457 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8458 # Check for a 64-bit object if we didn't find anything.
8459 if test -z "$aix_libpath"; then
8460 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8463 echo "$as_me: failed program was:" >&5
8464 sed 's/^/| /' conftest.$ac_ext >&5
8469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8470 conftest$ac_exeext conftest.$ac_ext
8471 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8473 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8474 # Warning - without using the other run time loading flags,
8475 # -berok will link without error, but may produce a broken library.
8476 no_undefined_flag=' ${wl}-bernotok'
8477 allow_undefined_flag=' ${wl}-berok'
8478 # Exported symbols can be pulled into shared objects from archives
8479 whole_archive_flag_spec='$convenience'
8480 archive_cmds_need_lc=yes
8481 # This is similar to how AIX traditionally builds its shared libraries.
8482 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'
8490 # see comment about AmigaOS4 .so support
8491 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8492 archive_expsym_cmds=''
8495 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)'
8496 hardcode_libdir_flag_spec='-L$libdir'
8497 hardcode_minus_L=yes
8503 export_dynamic_flag_spec=-rdynamic
8506 cygwin* | mingw* | pw32*)
8507 # When not using gcc, we currently assume that we are using
8508 # Microsoft Visual C++.
8509 # hardcode_libdir_flag_spec is actually meaningless, as there is
8510 # no search path for DLLs.
8511 hardcode_libdir_flag_spec=' '
8512 allow_undefined_flag=unsupported
8513 # Tell ltmain to make .lib files, not .a files.
8515 # Tell ltmain to make .dll files, not .so files.
8517 # FIXME: Setting linknames here is a bad hack.
8518 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8519 # The linker will automatically build a .lib file if we build a DLL.
8520 old_archive_from_new_cmds='true'
8521 # FIXME: Should let the user specify the lib program.
8522 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8523 fix_srcfile_path='`cygpath -w "$srcfile"`'
8524 enable_shared_with_static_runtimes=yes
8527 darwin* | rhapsody*)
8530 archive_cmds_need_lc=no
8532 hardcode_automatic=yes
8533 hardcode_shlibpath_var=unsupported
8534 whole_archive_flag_spec=''
8535 link_all_deplibs=yes
8536 allow_undefined_flag="$_lt_dar_allow_undefined"
8537 if test "$GCC" = "yes"; then
8538 output_verbose_link_cmd=echo
8539 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8540 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8541 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}"
8542 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}"
8551 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8552 hardcode_libdir_flag_spec='-L$libdir'
8553 hardcode_shlibpath_var=no
8560 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8561 # support. Future versions do this automatically, but an explicit c++rt0.o
8562 # does not break anything, and helps significantly (at the cost of a little
8565 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8566 hardcode_libdir_flag_spec='-R$libdir'
8568 hardcode_shlibpath_var=no
8571 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8573 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8575 hardcode_minus_L=yes
8576 hardcode_shlibpath_var=no
8579 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8580 freebsd* | dragonfly*)
8581 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8582 hardcode_libdir_flag_spec='-R$libdir'
8584 hardcode_shlibpath_var=no
8588 if test "$GCC" = yes; then
8589 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8591 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'
8593 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8594 hardcode_libdir_separator=:
8597 # hardcode_minus_L: Not really in the search PATH,
8598 # but as the default location of the library.
8599 hardcode_minus_L=yes
8600 export_dynamic_flag_spec='${wl}-E'
8604 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8605 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8607 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8609 if test "$with_gnu_ld" = no; then
8610 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8611 hardcode_libdir_flag_spec_ld='+b $libdir'
8612 hardcode_libdir_separator=:
8614 hardcode_direct_absolute=yes
8615 export_dynamic_flag_spec='${wl}-E'
8616 # hardcode_minus_L: Not really in the search PATH,
8617 # but as the default location of the library.
8618 hardcode_minus_L=yes
8623 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8626 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8629 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8632 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8638 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8641 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8644 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8648 if test "$with_gnu_ld" = no; then
8649 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8650 hardcode_libdir_separator=:
8655 hardcode_shlibpath_var=no
8659 hardcode_direct_absolute=yes
8660 export_dynamic_flag_spec='${wl}-E'
8662 # hardcode_minus_L: Not really in the search PATH,
8663 # but as the default location of the library.
8664 hardcode_minus_L=yes
8670 irix5* | irix6* | nonstopux*)
8671 if test "$GCC" = yes; then
8672 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8673 # Try to use the -exported_symbol ld option, if it does not
8674 # work, assume that -exports_file does not work either and
8675 # implicitly export all symbols.
8676 save_LDFLAGS="$LDFLAGS"
8677 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8678 cat >conftest.$ac_ext <<_ACEOF
8681 rm -f conftest.$ac_objext conftest$ac_exeext
8682 if { (ac_try="$ac_link"
8684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8685 *) ac_try_echo=$ac_try;;
8687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8688 (eval "$ac_link") 2>conftest.er1
8690 grep -v '^ *+' conftest.er1 >conftest.err
8692 cat conftest.err >&5
8693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8694 (exit $ac_status); } && {
8695 test -z "$ac_c_werror_flag" ||
8696 test ! -s conftest.err
8697 } && test -s conftest$ac_exeext &&
8698 $as_test_x conftest$ac_exeext; then
8699 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8702 echo "$as_me: failed program was:" >&5
8703 sed 's/^/| /' conftest.$ac_ext >&5
8708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8709 conftest$ac_exeext conftest.$ac_ext
8710 LDFLAGS="$save_LDFLAGS"
8712 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8713 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8715 archive_cmds_need_lc='no'
8716 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8717 hardcode_libdir_separator=:
8719 link_all_deplibs=yes
8722 netbsd* | netbsdelf*-gnu)
8723 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8724 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8726 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8728 hardcode_libdir_flag_spec='-R$libdir'
8730 hardcode_shlibpath_var=no
8734 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8736 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8737 hardcode_libdir_separator=:
8738 hardcode_shlibpath_var=no
8745 if test -f /usr/libexec/ld.so; then
8747 hardcode_shlibpath_var=no
8748 hardcode_direct_absolute=yes
8749 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8750 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8751 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8752 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8753 export_dynamic_flag_spec='${wl}-E'
8756 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8757 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8758 hardcode_libdir_flag_spec='-R$libdir'
8761 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8762 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8772 hardcode_libdir_flag_spec='-L$libdir'
8773 hardcode_minus_L=yes
8774 allow_undefined_flag=unsupported
8775 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'
8776 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8780 if test "$GCC" = yes; then
8781 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8782 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8784 allow_undefined_flag=' -expect_unresolved \*'
8785 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8787 archive_cmds_need_lc='no'
8788 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8789 hardcode_libdir_separator=:
8792 osf4* | osf5*) # as osf3* with the addition of -msym flag
8793 if test "$GCC" = yes; then
8794 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8795 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8796 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8798 allow_undefined_flag=' -expect_unresolved \*'
8799 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8800 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~
8801 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8803 # Both c and cxx compiler support -rpath directly
8804 hardcode_libdir_flag_spec='-rpath $libdir'
8806 archive_cmds_need_lc='no'
8807 hardcode_libdir_separator=:
8811 no_undefined_flag=' -z defs'
8812 if test "$GCC" = yes; then
8814 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8815 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8816 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8818 case `$CC -V 2>&1` in
8821 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8822 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8823 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8827 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8828 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8829 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8833 hardcode_libdir_flag_spec='-R$libdir'
8834 hardcode_shlibpath_var=no
8836 solaris2.[0-5] | solaris2.[0-5].*) ;;
8838 # The compiler driver will combine and reorder linker options,
8839 # but understands `-z linker_flag'. GCC discards it without `$wl',
8840 # but is careful enough not to reorder.
8841 # Supported since Solaris 2.6 (maybe 2.5.1?)
8842 if test "$GCC" = yes; then
8843 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8845 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8849 link_all_deplibs=yes
8853 if test "x$host_vendor" = xsequent; then
8854 # Use $CC to link under sequent, because it throws in some extra .o
8855 # files that make .init and .fini sections work.
8856 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8858 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8860 hardcode_libdir_flag_spec='-L$libdir'
8862 hardcode_minus_L=yes
8863 hardcode_shlibpath_var=no
8867 case $host_vendor in
8869 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8870 hardcode_direct=yes # is this really true???
8873 ## LD is ld it makes a PLAMLIB
8874 ## CC just makes a GrossModule.
8875 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8876 reload_cmds='$CC -r -o $output$reload_objs'
8880 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8881 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8884 runpath_var='LD_RUN_PATH'
8885 hardcode_shlibpath_var=no
8889 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8890 hardcode_shlibpath_var=no
8891 export_dynamic_flag_spec='-Bexport'
8895 if test -d /usr/nec; then
8896 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8897 hardcode_shlibpath_var=no
8898 runpath_var=LD_RUN_PATH
8899 hardcode_runpath_var=yes
8904 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8905 no_undefined_flag='${wl}-z,text'
8906 archive_cmds_need_lc=no
8907 hardcode_shlibpath_var=no
8908 runpath_var='LD_RUN_PATH'
8910 if test "$GCC" = yes; then
8911 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8912 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8914 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8915 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8919 sysv5* | sco3.2v5* | sco5v6*)
8920 # Note: We can NOT use -z defs as we might desire, because we do not
8921 # link with -lc, and that would cause any symbols used from libc to
8922 # always be unresolved, which means just about no library would
8923 # ever link correctly. If we're not using GNU ld we use -z text
8924 # though, which does catch some bad symbols but isn't as heavy-handed
8926 no_undefined_flag='${wl}-z,text'
8927 allow_undefined_flag='${wl}-z,nodefs'
8928 archive_cmds_need_lc=no
8929 hardcode_shlibpath_var=no
8930 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8931 hardcode_libdir_separator=':'
8932 link_all_deplibs=yes
8933 export_dynamic_flag_spec='${wl}-Bexport'
8934 runpath_var='LD_RUN_PATH'
8936 if test "$GCC" = yes; then
8937 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8938 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8940 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8941 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8946 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8947 hardcode_libdir_flag_spec='-L$libdir'
8948 hardcode_shlibpath_var=no
8956 if test x$host_vendor = xsni; then
8958 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8959 export_dynamic_flag_spec='${wl}-Blargedynsym'
8965 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8966 echo "${ECHO_T}$ld_shlibs" >&6; }
8967 test "$ld_shlibs" = no && can_build_shared=no
8969 with_gnu_ld=$with_gnu_ld
8986 # Do we need to explicitly link libc?
8988 case "x$archive_cmds_need_lc" in
8990 # Assume -lc should be added
8991 archive_cmds_need_lc=yes
8993 if test "$enable_shared" = yes && test "$GCC" = yes; then
8994 case $archive_cmds in
8996 # FIXME: we may have to deal with multi-command sequences.
8999 # Test whether the compiler implicitly links with -lc since on some
9000 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9001 # to ld, don't add -lc before -lgcc.
9002 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9003 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9005 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9008 (eval $ac_compile) 2>&5
9010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9011 (exit $ac_status); } 2>conftest.err; then
9014 libobjs=conftest.$ac_objext
9016 wl=$lt_prog_compiler_wl
9017 pic_flag=$lt_prog_compiler_pic
9023 lt_save_allow_undefined_flag=$allow_undefined_flag
9024 allow_undefined_flag=
9025 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9026 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9029 (exit $ac_status); }
9031 archive_cmds_need_lc=no
9033 archive_cmds_need_lc=yes
9035 allow_undefined_flag=$lt_save_allow_undefined_flag
9037 cat conftest.err 1>&5
9040 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9041 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9204 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9205 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9207 if test "$GCC" = yes; then
9209 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9210 *) lt_awk_arg="/^libraries:/" ;;
9212 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9213 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9214 # if the path contains ";" then we assume it to be the separator
9215 # otherwise default to the standard path separator (i.e. ":") - it is
9216 # assumed that no part of a normal pathname contains ";" but that should
9217 # okay in the real world where ";" in dirpaths is itself problematic.
9218 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9220 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9222 # Ok, now we have the path, separated by spaces, we can step through it
9223 # and add multilib dir if necessary.
9224 lt_tmp_lt_search_path_spec=
9225 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9226 for lt_sys_path in $lt_search_path_spec; do
9227 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9228 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9230 test -d "$lt_sys_path" && \
9231 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9234 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9235 BEGIN {RS=" "; FS="/|\n";} {
9238 for (lt_i = NF; lt_i > 0; lt_i--) {
9239 if ($lt_i != "" && $lt_i != ".") {
9240 if ($lt_i == "..") {
9243 if (lt_count == 0) {
9244 lt_foo="/" $lt_i lt_foo;
9251 if (lt_foo != "") { lt_freq[lt_foo]++; }
9252 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9254 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9256 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9259 libname_spec='lib$name'
9267 shlibpath_overrides_runpath=unknown
9269 dynamic_linker="$host_os ld.so"
9270 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9271 need_lib_prefix=unknown
9272 hardcode_into_libs=no
9274 # when you set need_version to no, make sure it does not cause -set_version
9275 # flags to be left without arguments
9276 need_version=unknown
9281 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9282 shlibpath_var=LIBPATH
9284 # AIX 3 has no versioning support, so we append a major version to the name.
9285 soname_spec='${libname}${release}${shared_ext}$major'
9292 hardcode_into_libs=yes
9293 if test "$host_cpu" = ia64; then
9294 # AIX 5 supports IA64
9295 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9296 shlibpath_var=LD_LIBRARY_PATH
9298 # With GCC up to 2.95.x, collect2 would create an import file
9299 # for dependence libraries. The import file would start with
9300 # the line `#! .'. This would cause the generated library to
9301 # depend on `.', always an invalid library. This was fixed in
9302 # development snapshots of GCC prior to 3.0.
9304 aix4 | aix4.[01] | aix4.[01].*)
9305 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9307 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9314 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9315 # soname into executable. Probably we can add versioning support to
9316 # collect2, so additional links can be useful in future.
9317 if test "$aix_use_runtimelinking" = yes; then
9318 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9319 # instead of lib<name>.a to let people know that these are not
9320 # typical AIX shared libraries.
9321 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9323 # We preserve .a as extension for shared libraries through AIX4.2
9324 # and later when we are not doing run time linking.
9325 library_names_spec='${libname}${release}.a $libname.a'
9326 soname_spec='${libname}${release}${shared_ext}$major'
9328 shlibpath_var=LIBPATH
9335 # Since July 2007 AmigaOS4 officially supports .so libraries.
9336 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9337 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9340 library_names_spec='$libname.ixlibrary $libname.a'
9341 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9342 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
9348 library_names_spec='${libname}${shared_ext}'
9349 dynamic_linker="$host_os ld.so"
9350 shlibpath_var=LIBRARY_PATH
9356 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9357 soname_spec='${libname}${release}${shared_ext}$major'
9358 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9359 shlibpath_var=LD_LIBRARY_PATH
9360 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9361 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9362 # the default ld.so.conf also contains /usr/contrib/lib and
9363 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9364 # libtool to hard-code these into programs
9367 cygwin* | mingw* | pw32*)
9368 version_type=windows
9373 case $GCC,$host_os in
9374 yes,cygwin* | yes,mingw* | yes,pw32*)
9375 library_names_spec='$libname.dll.a'
9376 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9377 postinstall_cmds='base_file=`basename \${file}`~
9378 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9379 dldir=$destdir/`dirname \$dlpath`~
9380 test -d \$dldir || mkdir -p \$dldir~
9381 $install_prog $dir/$dlname \$dldir/$dlname~
9382 chmod a+x \$dldir/$dlname~
9383 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9384 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9386 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9387 dlpath=$dir/\$dldll~
9389 shlibpath_overrides_runpath=yes
9393 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9394 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9395 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9398 # MinGW DLLs use traditional 'lib' prefix
9399 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9400 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9401 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9402 # It is most probably a Windows format PATH printed by
9403 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9404 # path with ; separators, and with drive letters. We can handle the
9405 # drive letters (cygwin fileutils understands them), so leave them,
9406 # especially as we might pass files found there to a mingw objdump,
9407 # which wouldn't understand a cygwinified path. Ahh.
9408 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9410 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9414 # pw32 DLLs use 'pw' prefix rather than 'lib'
9415 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9421 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9424 dynamic_linker='Win32 ld.exe'
9425 # FIXME: first we should search . and the directory the executable is in
9429 darwin* | rhapsody*)
9430 dynamic_linker="$host_os dyld"
9434 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9435 soname_spec='${libname}${release}${major}$shared_ext'
9436 shlibpath_overrides_runpath=yes
9437 shlibpath_var=DYLD_LIBRARY_PATH
9438 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9440 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9441 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9448 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9449 soname_spec='${libname}${release}${shared_ext}$major'
9450 shlibpath_var=LD_LIBRARY_PATH
9457 freebsd* | dragonfly*)
9458 # DragonFly does not have aout. When/if they implement a new
9459 # versioning mechanism, adjust this.
9460 if test -x /usr/bin/objformat; then
9461 objformat=`/usr/bin/objformat`
9464 freebsd[123]*) objformat=aout ;;
9468 version_type=freebsd-$objformat
9469 case $version_type in
9471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9476 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9480 shlibpath_var=LD_LIBRARY_PATH
9483 shlibpath_overrides_runpath=yes
9485 freebsd3.[01]* | freebsdelf3.[01]*)
9486 shlibpath_overrides_runpath=yes
9487 hardcode_into_libs=yes
9489 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9490 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9491 shlibpath_overrides_runpath=no
9492 hardcode_into_libs=yes
9494 *) # from 4.6 on, and DragonFly
9495 shlibpath_overrides_runpath=yes
9496 hardcode_into_libs=yes
9505 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9506 soname_spec='${libname}${release}${shared_ext}$major'
9507 shlibpath_var=LD_LIBRARY_PATH
9508 hardcode_into_libs=yes
9511 hpux9* | hpux10* | hpux11*)
9512 # Give a soname corresponding to the major version so that dld.sl refuses to
9513 # link against other versions.
9520 hardcode_into_libs=yes
9521 dynamic_linker="$host_os dld.so"
9522 shlibpath_var=LD_LIBRARY_PATH
9523 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9525 soname_spec='${libname}${release}${shared_ext}$major'
9526 if test "X$HPUX_IA64_MODE" = X32; then
9527 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9529 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9531 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9535 hardcode_into_libs=yes
9536 dynamic_linker="$host_os dld.sl"
9537 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9538 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9540 soname_spec='${libname}${release}${shared_ext}$major'
9541 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9542 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9546 dynamic_linker="$host_os dld.sl"
9547 shlibpath_var=SHLIB_PATH
9548 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9549 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9550 soname_spec='${libname}${release}${shared_ext}$major'
9553 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9554 postinstall_cmds='chmod 555 $lib'
9561 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9562 soname_spec='${libname}${release}${shared_ext}$major'
9563 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9564 shlibpath_var=LD_LIBRARY_PATH
9565 shlibpath_overrides_runpath=no
9566 hardcode_into_libs=yes
9569 irix5* | irix6* | nonstopux*)
9571 nonstopux*) version_type=nonstopux ;;
9573 if test "$lt_cv_prog_gnu_ld" = yes; then
9581 soname_spec='${libname}${release}${shared_ext}$major'
9582 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9584 irix5* | nonstopux*)
9588 case $LD in # libtool.m4 will add one of these switches to LD
9589 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9590 libsuff= shlibsuff= libmagic=32-bit;;
9591 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9592 libsuff=32 shlibsuff=N32 libmagic=N32;;
9593 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9594 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9595 *) libsuff= shlibsuff= libmagic=never-match;;
9599 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9600 shlibpath_overrides_runpath=no
9601 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9602 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9603 hardcode_into_libs=yes
9606 # No shared lib support for Linux oldld, aout, or coff.
9607 linux*oldld* | linux*aout* | linux*coff*)
9611 # This must be Linux ELF.
9612 linux* | k*bsd*-gnu)
9616 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9617 soname_spec='${libname}${release}${shared_ext}$major'
9618 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9619 shlibpath_var=LD_LIBRARY_PATH
9620 shlibpath_overrides_runpath=no
9621 # Some binutils ld are patched to set DT_RUNPATH
9622 save_LDFLAGS=$LDFLAGS
9624 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9625 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9626 cat >conftest.$ac_ext <<_ACEOF
9629 cat confdefs.h >>conftest.$ac_ext
9630 cat >>conftest.$ac_ext <<_ACEOF
9631 /* end confdefs.h. */
9641 rm -f conftest.$ac_objext conftest$ac_exeext
9642 if { (ac_try="$ac_link"
9644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9645 *) ac_try_echo=$ac_try;;
9647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9648 (eval "$ac_link") 2>conftest.er1
9650 grep -v '^ *+' conftest.er1 >conftest.err
9652 cat conftest.err >&5
9653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9654 (exit $ac_status); } && {
9655 test -z "$ac_c_werror_flag" ||
9656 test ! -s conftest.err
9657 } && test -s conftest$ac_exeext &&
9658 $as_test_x conftest$ac_exeext; then
9659 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9660 shlibpath_overrides_runpath=yes
9664 echo "$as_me: failed program was:" >&5
9665 sed 's/^/| /' conftest.$ac_ext >&5
9670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9671 conftest$ac_exeext conftest.$ac_ext
9672 LDFLAGS=$save_LDFLAGS
9675 # This implies no fast_install, which is unacceptable.
9676 # Some rework will be needed to allow for fast_install
9677 # before this can be enabled.
9678 hardcode_into_libs=yes
9680 # Append ld.so.conf contents to the search path
9681 if test -f /etc/ld.so.conf; then
9682 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;/^$/d' | tr '\n' ' '`
9683 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9686 # We used to test for /lib/ld.so.1 and disable shared libraries on
9687 # powerpc, because MkLinux only supported shared libraries with the
9688 # GNU dynamic linker. Since this was broken with cross compilers,
9689 # most powerpc-linux boxes support dynamic linking these days and
9690 # people can always --disable-shared, the test was removed, and we
9691 # assume the GNU/Linux dynamic linker is in use.
9692 dynamic_linker='GNU/Linux ld.so'
9699 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9700 soname_spec='${libname}${release}${shared_ext}$major'
9701 shlibpath_var=LD_LIBRARY_PATH
9702 shlibpath_overrides_runpath=no
9703 hardcode_into_libs=yes
9704 dynamic_linker='NetBSD ld.elf_so'
9711 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9712 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9713 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9714 dynamic_linker='NetBSD (a.out) ld.so'
9716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9717 soname_spec='${libname}${release}${shared_ext}$major'
9718 dynamic_linker='NetBSD ld.elf_so'
9720 shlibpath_var=LD_LIBRARY_PATH
9721 shlibpath_overrides_runpath=yes
9722 hardcode_into_libs=yes
9727 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9728 shlibpath_var=LD_LIBRARY_PATH
9729 shlibpath_overrides_runpath=yes
9736 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9737 soname_spec='${libname}${release}${shared_ext}$major'
9738 shlibpath_var=LD_LIBRARY_PATH
9739 shlibpath_overrides_runpath=no
9740 hardcode_into_libs=yes
9741 dynamic_linker='ldqnx.so'
9746 sys_lib_dlsearch_path_spec="/usr/lib"
9748 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9750 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9751 *) need_version=no ;;
9753 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9754 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9755 shlibpath_var=LD_LIBRARY_PATH
9756 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9758 openbsd2.[89] | openbsd2.[89].*)
9759 shlibpath_overrides_runpath=no
9762 shlibpath_overrides_runpath=yes
9766 shlibpath_overrides_runpath=yes
9771 libname_spec='$name'
9774 library_names_spec='$libname${shared_ext} $libname.a'
9775 dynamic_linker='OS/2 ld.exe'
9776 shlibpath_var=LIBPATH
9779 osf3* | osf4* | osf5*)
9783 soname_spec='${libname}${release}${shared_ext}$major'
9784 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9785 shlibpath_var=LD_LIBRARY_PATH
9786 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9787 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9798 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9799 soname_spec='${libname}${release}${shared_ext}$major'
9800 shlibpath_var=LD_LIBRARY_PATH
9801 shlibpath_overrides_runpath=yes
9802 hardcode_into_libs=yes
9803 # ldd complains unless libraries are executable
9804 postinstall_cmds='chmod +x $lib'
9809 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9810 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9811 shlibpath_var=LD_LIBRARY_PATH
9812 shlibpath_overrides_runpath=yes
9813 if test "$with_gnu_ld" = yes; then
9821 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9822 soname_spec='${libname}${release}${shared_ext}$major'
9823 shlibpath_var=LD_LIBRARY_PATH
9824 case $host_vendor in
9826 shlibpath_overrides_runpath=no
9828 runpath_var=LD_RUN_PATH
9836 shlibpath_overrides_runpath=no
9837 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9843 if test -d /usr/nec ;then
9845 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9846 soname_spec='$libname${shared_ext}.$major'
9847 shlibpath_var=LD_LIBRARY_PATH
9851 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9852 version_type=freebsd-elf
9855 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9856 soname_spec='${libname}${release}${shared_ext}$major'
9857 shlibpath_var=LD_LIBRARY_PATH
9858 shlibpath_overrides_runpath=yes
9859 hardcode_into_libs=yes
9860 if test "$with_gnu_ld" = yes; then
9861 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9863 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9866 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9870 sys_lib_dlsearch_path_spec='/usr/lib'
9874 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9878 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9879 shlibpath_var=LD_LIBRARY_PATH
9880 shlibpath_overrides_runpath=no
9881 hardcode_into_libs=yes
9886 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9887 soname_spec='${libname}${release}${shared_ext}$major'
9888 shlibpath_var=LD_LIBRARY_PATH
9895 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9896 echo "${ECHO_T}$dynamic_linker" >&6; }
9897 test "$dynamic_linker" = no && can_build_shared=no
9899 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9900 if test "$GCC" = yes; then
9901 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9904 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9905 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9907 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9908 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9997 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9998 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10000 if test -n "$hardcode_libdir_flag_spec" ||
10001 test -n "$runpath_var" ||
10002 test "X$hardcode_automatic" = "Xyes" ; then
10004 # We can hardcode non-existent directories.
10005 if test "$hardcode_direct" != no &&
10006 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10007 # have to relink, otherwise we might link with an installed library
10008 # when we should be linking with a yet-to-be-installed one
10009 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10010 test "$hardcode_minus_L" != no; then
10011 # Linking always hardcodes the temporary library directory.
10012 hardcode_action=relink
10014 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10015 hardcode_action=immediate
10018 # We cannot hardcode anything, or else we can only hardcode existing
10020 hardcode_action=unsupported
10022 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
10023 echo "${ECHO_T}$hardcode_action" >&6; }
10025 if test "$hardcode_action" = relink ||
10026 test "$inherit_rpath" = yes; then
10027 # Fast installation is not supported
10028 enable_fast_install=no
10029 elif test "$shlibpath_overrides_runpath" = yes ||
10030 test "$enable_shared" = no; then
10031 # Fast installation is not necessary
10032 enable_fast_install=needless
10040 if test "x$enable_dlopen" != xyes; then
10041 enable_dlopen=unknown
10042 enable_dlopen_self=unknown
10043 enable_dlopen_self_static=unknown
10050 lt_cv_dlopen="load_add_on"
10052 lt_cv_dlopen_self=yes
10056 lt_cv_dlopen="LoadLibrary"
10061 lt_cv_dlopen="dlopen"
10066 # if libdl is installed we need to link against it
10067 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10068 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10069 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10070 echo $ECHO_N "(cached) $ECHO_C" >&6
10072 ac_check_lib_save_LIBS=$LIBS
10074 cat >conftest.$ac_ext <<_ACEOF
10077 cat confdefs.h >>conftest.$ac_ext
10078 cat >>conftest.$ac_ext <<_ACEOF
10079 /* end confdefs.h. */
10081 /* Override any GCC internal prototype to avoid an error.
10082 Use char because int might match the return type of a GCC
10083 builtin and then its argument prototype would still apply. */
10096 rm -f conftest.$ac_objext conftest$ac_exeext
10097 if { (ac_try="$ac_link"
10098 case "(($ac_try" in
10099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10100 *) ac_try_echo=$ac_try;;
10102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10103 (eval "$ac_link") 2>conftest.er1
10105 grep -v '^ *+' conftest.er1 >conftest.err
10107 cat conftest.err >&5
10108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10109 (exit $ac_status); } && {
10110 test -z "$ac_c_werror_flag" ||
10111 test ! -s conftest.err
10112 } && test -s conftest$ac_exeext &&
10113 $as_test_x conftest$ac_exeext; then
10114 ac_cv_lib_dl_dlopen=yes
10116 echo "$as_me: failed program was:" >&5
10117 sed 's/^/| /' conftest.$ac_ext >&5
10119 ac_cv_lib_dl_dlopen=no
10122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10123 conftest$ac_exeext conftest.$ac_ext
10124 LIBS=$ac_check_lib_save_LIBS
10126 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10127 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10128 if test $ac_cv_lib_dl_dlopen = yes; then
10129 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10132 lt_cv_dlopen="dyld"
10134 lt_cv_dlopen_self=yes
10141 { echo "$as_me:$LINENO: checking for shl_load" >&5
10142 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10143 if test "${ac_cv_func_shl_load+set}" = set; then
10144 echo $ECHO_N "(cached) $ECHO_C" >&6
10146 cat >conftest.$ac_ext <<_ACEOF
10149 cat confdefs.h >>conftest.$ac_ext
10150 cat >>conftest.$ac_ext <<_ACEOF
10151 /* end confdefs.h. */
10152 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10154 #define shl_load innocuous_shl_load
10156 /* System header to define __stub macros and hopefully few prototypes,
10157 which can conflict with char shl_load (); below.
10158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10159 <limits.h> exists even on freestanding compilers. */
10162 # include <limits.h>
10164 # include <assert.h>
10169 /* Override any GCC internal prototype to avoid an error.
10170 Use char because int might match the return type of a GCC
10171 builtin and then its argument prototype would still apply. */
10176 /* The GNU C library defines this for functions which it implements
10177 to always fail with ENOSYS. Some functions are actually named
10178 something starting with __ and the normal name is an alias. */
10179 #if defined __stub_shl_load || defined __stub___shl_load
10186 return shl_load ();
10191 rm -f conftest.$ac_objext conftest$ac_exeext
10192 if { (ac_try="$ac_link"
10193 case "(($ac_try" in
10194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10195 *) ac_try_echo=$ac_try;;
10197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10198 (eval "$ac_link") 2>conftest.er1
10200 grep -v '^ *+' conftest.er1 >conftest.err
10202 cat conftest.err >&5
10203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10204 (exit $ac_status); } && {
10205 test -z "$ac_c_werror_flag" ||
10206 test ! -s conftest.err
10207 } && test -s conftest$ac_exeext &&
10208 $as_test_x conftest$ac_exeext; then
10209 ac_cv_func_shl_load=yes
10211 echo "$as_me: failed program was:" >&5
10212 sed 's/^/| /' conftest.$ac_ext >&5
10214 ac_cv_func_shl_load=no
10217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10218 conftest$ac_exeext conftest.$ac_ext
10220 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10221 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10222 if test $ac_cv_func_shl_load = yes; then
10223 lt_cv_dlopen="shl_load"
10225 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10226 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10227 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10228 echo $ECHO_N "(cached) $ECHO_C" >&6
10230 ac_check_lib_save_LIBS=$LIBS
10232 cat >conftest.$ac_ext <<_ACEOF
10235 cat confdefs.h >>conftest.$ac_ext
10236 cat >>conftest.$ac_ext <<_ACEOF
10237 /* end confdefs.h. */
10239 /* Override any GCC internal prototype to avoid an error.
10240 Use char because int might match the return type of a GCC
10241 builtin and then its argument prototype would still apply. */
10249 return shl_load ();
10254 rm -f conftest.$ac_objext conftest$ac_exeext
10255 if { (ac_try="$ac_link"
10256 case "(($ac_try" in
10257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10258 *) ac_try_echo=$ac_try;;
10260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10261 (eval "$ac_link") 2>conftest.er1
10263 grep -v '^ *+' conftest.er1 >conftest.err
10265 cat conftest.err >&5
10266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10267 (exit $ac_status); } && {
10268 test -z "$ac_c_werror_flag" ||
10269 test ! -s conftest.err
10270 } && test -s conftest$ac_exeext &&
10271 $as_test_x conftest$ac_exeext; then
10272 ac_cv_lib_dld_shl_load=yes
10274 echo "$as_me: failed program was:" >&5
10275 sed 's/^/| /' conftest.$ac_ext >&5
10277 ac_cv_lib_dld_shl_load=no
10280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10281 conftest$ac_exeext conftest.$ac_ext
10282 LIBS=$ac_check_lib_save_LIBS
10284 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10285 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10286 if test $ac_cv_lib_dld_shl_load = yes; then
10287 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10289 { echo "$as_me:$LINENO: checking for dlopen" >&5
10290 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10291 if test "${ac_cv_func_dlopen+set}" = set; then
10292 echo $ECHO_N "(cached) $ECHO_C" >&6
10294 cat >conftest.$ac_ext <<_ACEOF
10297 cat confdefs.h >>conftest.$ac_ext
10298 cat >>conftest.$ac_ext <<_ACEOF
10299 /* end confdefs.h. */
10300 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10302 #define dlopen innocuous_dlopen
10304 /* System header to define __stub macros and hopefully few prototypes,
10305 which can conflict with char dlopen (); below.
10306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10307 <limits.h> exists even on freestanding compilers. */
10310 # include <limits.h>
10312 # include <assert.h>
10317 /* Override any GCC internal prototype to avoid an error.
10318 Use char because int might match the return type of a GCC
10319 builtin and then its argument prototype would still apply. */
10324 /* The GNU C library defines this for functions which it implements
10325 to always fail with ENOSYS. Some functions are actually named
10326 something starting with __ and the normal name is an alias. */
10327 #if defined __stub_dlopen || defined __stub___dlopen
10339 rm -f conftest.$ac_objext conftest$ac_exeext
10340 if { (ac_try="$ac_link"
10341 case "(($ac_try" in
10342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10343 *) ac_try_echo=$ac_try;;
10345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10346 (eval "$ac_link") 2>conftest.er1
10348 grep -v '^ *+' conftest.er1 >conftest.err
10350 cat conftest.err >&5
10351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10352 (exit $ac_status); } && {
10353 test -z "$ac_c_werror_flag" ||
10354 test ! -s conftest.err
10355 } && test -s conftest$ac_exeext &&
10356 $as_test_x conftest$ac_exeext; then
10357 ac_cv_func_dlopen=yes
10359 echo "$as_me: failed program was:" >&5
10360 sed 's/^/| /' conftest.$ac_ext >&5
10362 ac_cv_func_dlopen=no
10365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10366 conftest$ac_exeext conftest.$ac_ext
10368 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10369 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10370 if test $ac_cv_func_dlopen = yes; then
10371 lt_cv_dlopen="dlopen"
10373 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10374 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10375 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10376 echo $ECHO_N "(cached) $ECHO_C" >&6
10378 ac_check_lib_save_LIBS=$LIBS
10380 cat >conftest.$ac_ext <<_ACEOF
10383 cat confdefs.h >>conftest.$ac_ext
10384 cat >>conftest.$ac_ext <<_ACEOF
10385 /* end confdefs.h. */
10387 /* Override any GCC internal prototype to avoid an error.
10388 Use char because int might match the return type of a GCC
10389 builtin and then its argument prototype would still apply. */
10402 rm -f conftest.$ac_objext conftest$ac_exeext
10403 if { (ac_try="$ac_link"
10404 case "(($ac_try" in
10405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10406 *) ac_try_echo=$ac_try;;
10408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10409 (eval "$ac_link") 2>conftest.er1
10411 grep -v '^ *+' conftest.er1 >conftest.err
10413 cat conftest.err >&5
10414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10415 (exit $ac_status); } && {
10416 test -z "$ac_c_werror_flag" ||
10417 test ! -s conftest.err
10418 } && test -s conftest$ac_exeext &&
10419 $as_test_x conftest$ac_exeext; then
10420 ac_cv_lib_dl_dlopen=yes
10422 echo "$as_me: failed program was:" >&5
10423 sed 's/^/| /' conftest.$ac_ext >&5
10425 ac_cv_lib_dl_dlopen=no
10428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10429 conftest$ac_exeext conftest.$ac_ext
10430 LIBS=$ac_check_lib_save_LIBS
10432 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10433 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10434 if test $ac_cv_lib_dl_dlopen = yes; then
10435 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10437 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10438 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10439 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10440 echo $ECHO_N "(cached) $ECHO_C" >&6
10442 ac_check_lib_save_LIBS=$LIBS
10443 LIBS="-lsvld $LIBS"
10444 cat >conftest.$ac_ext <<_ACEOF
10447 cat confdefs.h >>conftest.$ac_ext
10448 cat >>conftest.$ac_ext <<_ACEOF
10449 /* end confdefs.h. */
10451 /* Override any GCC internal prototype to avoid an error.
10452 Use char because int might match the return type of a GCC
10453 builtin and then its argument prototype would still apply. */
10466 rm -f conftest.$ac_objext conftest$ac_exeext
10467 if { (ac_try="$ac_link"
10468 case "(($ac_try" in
10469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10470 *) ac_try_echo=$ac_try;;
10472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10473 (eval "$ac_link") 2>conftest.er1
10475 grep -v '^ *+' conftest.er1 >conftest.err
10477 cat conftest.err >&5
10478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10479 (exit $ac_status); } && {
10480 test -z "$ac_c_werror_flag" ||
10481 test ! -s conftest.err
10482 } && test -s conftest$ac_exeext &&
10483 $as_test_x conftest$ac_exeext; then
10484 ac_cv_lib_svld_dlopen=yes
10486 echo "$as_me: failed program was:" >&5
10487 sed 's/^/| /' conftest.$ac_ext >&5
10489 ac_cv_lib_svld_dlopen=no
10492 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10493 conftest$ac_exeext conftest.$ac_ext
10494 LIBS=$ac_check_lib_save_LIBS
10496 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10497 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10498 if test $ac_cv_lib_svld_dlopen = yes; then
10499 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10501 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10502 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10503 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10504 echo $ECHO_N "(cached) $ECHO_C" >&6
10506 ac_check_lib_save_LIBS=$LIBS
10508 cat >conftest.$ac_ext <<_ACEOF
10511 cat confdefs.h >>conftest.$ac_ext
10512 cat >>conftest.$ac_ext <<_ACEOF
10513 /* end confdefs.h. */
10515 /* Override any GCC internal prototype to avoid an error.
10516 Use char because int might match the return type of a GCC
10517 builtin and then its argument prototype would still apply. */
10525 return dld_link ();
10530 rm -f conftest.$ac_objext conftest$ac_exeext
10531 if { (ac_try="$ac_link"
10532 case "(($ac_try" in
10533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10534 *) ac_try_echo=$ac_try;;
10536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10537 (eval "$ac_link") 2>conftest.er1
10539 grep -v '^ *+' conftest.er1 >conftest.err
10541 cat conftest.err >&5
10542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10543 (exit $ac_status); } && {
10544 test -z "$ac_c_werror_flag" ||
10545 test ! -s conftest.err
10546 } && test -s conftest$ac_exeext &&
10547 $as_test_x conftest$ac_exeext; then
10548 ac_cv_lib_dld_dld_link=yes
10550 echo "$as_me: failed program was:" >&5
10551 sed 's/^/| /' conftest.$ac_ext >&5
10553 ac_cv_lib_dld_dld_link=no
10556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10557 conftest$ac_exeext conftest.$ac_ext
10558 LIBS=$ac_check_lib_save_LIBS
10560 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10561 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10562 if test $ac_cv_lib_dld_dld_link = yes; then
10563 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10584 if test "x$lt_cv_dlopen" != xno; then
10590 case $lt_cv_dlopen in
10592 save_CPPFLAGS="$CPPFLAGS"
10593 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10595 save_LDFLAGS="$LDFLAGS"
10596 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10599 LIBS="$lt_cv_dlopen_libs $LIBS"
10601 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10602 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10603 if test "${lt_cv_dlopen_self+set}" = set; then
10604 echo $ECHO_N "(cached) $ECHO_C" >&6
10606 if test "$cross_compiling" = yes; then :
10607 lt_cv_dlopen_self=cross
10609 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10610 lt_status=$lt_dlunknown
10611 cat > conftest.$ac_ext <<_LT_EOF
10612 #line 10612 "configure"
10613 #include "confdefs.h"
10622 # define LT_DLGLOBAL RTLD_GLOBAL
10625 # define LT_DLGLOBAL DL_GLOBAL
10627 # define LT_DLGLOBAL 0
10631 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10632 find out it does not work in some platform. */
10633 #ifndef LT_DLLAZY_OR_NOW
10635 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10638 # define LT_DLLAZY_OR_NOW DL_LAZY
10641 # define LT_DLLAZY_OR_NOW RTLD_NOW
10644 # define LT_DLLAZY_OR_NOW DL_NOW
10646 # define LT_DLLAZY_OR_NOW 0
10654 extern "C" void exit (int);
10657 void fnord() { int i=42;}
10660 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10661 int status = $lt_dlunknown;
10665 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10666 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10667 /* dlclose (self); */
10675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10676 (eval $ac_link) 2>&5
10678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10679 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10680 (./conftest; exit; ) >&5 2>/dev/null
10682 case x$lt_status in
10683 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10684 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10685 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10688 # compilation failed
10689 lt_cv_dlopen_self=no
10696 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10697 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10699 if test "x$lt_cv_dlopen_self" = xyes; then
10700 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10701 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10702 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10703 if test "${lt_cv_dlopen_self_static+set}" = set; then
10704 echo $ECHO_N "(cached) $ECHO_C" >&6
10706 if test "$cross_compiling" = yes; then :
10707 lt_cv_dlopen_self_static=cross
10709 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10710 lt_status=$lt_dlunknown
10711 cat > conftest.$ac_ext <<_LT_EOF
10712 #line 10712 "configure"
10713 #include "confdefs.h"
10722 # define LT_DLGLOBAL RTLD_GLOBAL
10725 # define LT_DLGLOBAL DL_GLOBAL
10727 # define LT_DLGLOBAL 0
10731 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10732 find out it does not work in some platform. */
10733 #ifndef LT_DLLAZY_OR_NOW
10735 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10738 # define LT_DLLAZY_OR_NOW DL_LAZY
10741 # define LT_DLLAZY_OR_NOW RTLD_NOW
10744 # define LT_DLLAZY_OR_NOW DL_NOW
10746 # define LT_DLLAZY_OR_NOW 0
10754 extern "C" void exit (int);
10757 void fnord() { int i=42;}
10760 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10761 int status = $lt_dlunknown;
10765 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10766 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10767 /* dlclose (self); */
10775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10776 (eval $ac_link) 2>&5
10778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10779 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10780 (./conftest; exit; ) >&5 2>/dev/null
10782 case x$lt_status in
10783 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10784 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10785 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10788 # compilation failed
10789 lt_cv_dlopen_self_static=no
10796 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10797 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10800 CPPFLAGS="$save_CPPFLAGS"
10801 LDFLAGS="$save_LDFLAGS"
10806 case $lt_cv_dlopen_self in
10807 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10808 *) enable_dlopen_self=unknown ;;
10811 case $lt_cv_dlopen_self_static in
10812 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10813 *) enable_dlopen_self_static=unknown ;;
10835 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10836 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10837 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10838 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10839 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10840 { echo "$as_me:$LINENO: result: yes" >&5
10841 echo "${ECHO_T}yes" >&6; }
10843 # FIXME - insert some real tests, host_os isn't really good enough
10846 if test -n "$STRIP" ; then
10847 striplib="$STRIP -x"
10848 old_striplib="$STRIP -S"
10849 { echo "$as_me:$LINENO: result: yes" >&5
10850 echo "${ECHO_T}yes" >&6; }
10852 { echo "$as_me:$LINENO: result: no" >&5
10853 echo "${ECHO_T}no" >&6; }
10857 { echo "$as_me:$LINENO: result: no" >&5
10858 echo "${ECHO_T}no" >&6; }
10874 # Report which library types will actually be built
10875 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10876 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10877 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10878 echo "${ECHO_T}$can_build_shared" >&6; }
10880 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10881 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10882 test "$can_build_shared" = "no" && enable_shared=no
10884 # On AIX, shared libraries and static libraries use the same namespace, and
10885 # are all built from PIC.
10888 test "$enable_shared" = yes && enable_static=no
10889 if test -n "$RANLIB"; then
10890 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10891 postinstall_cmds='$RANLIB $lib'
10896 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10897 test "$enable_shared" = yes && enable_static=no
10901 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10902 echo "${ECHO_T}$enable_shared" >&6; }
10904 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10905 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10906 # Make sure either enable_shared or enable_static is yes.
10907 test "$enable_shared" = yes || enable_static=yes
10908 { echo "$as_me:$LINENO: result: $enable_static" >&5
10909 echo "${ECHO_T}$enable_static" >&6; }
10916 ac_cpp='$CPP $CPPFLAGS'
10917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10935 ac_config_commands="$ac_config_commands libtool"
10940 # Only expand once:
10944 # Extract the first word of "doxygen", so it can be a program name with args.
10945 set dummy doxygen; ac_word=$2
10946 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10948 if test "${ac_cv_prog_DOXYGEN+set}" = set; then
10949 echo $ECHO_N "(cached) $ECHO_C" >&6
10951 if test -n "$DOXYGEN"; then
10952 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
10954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10955 for as_dir in $PATH
10958 test -z "$as_dir" && as_dir=.
10959 for ac_exec_ext in '' $ac_executable_extensions; do
10960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10961 ac_cv_prog_DOXYGEN="true"
10962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10969 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="false"
10972 DOXYGEN=$ac_cv_prog_DOXYGEN
10973 if test -n "$DOXYGEN"; then
10974 { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
10975 echo "${ECHO_T}$DOXYGEN" >&6; }
10977 { echo "$as_me:$LINENO: result: no" >&5
10978 echo "${ECHO_T}no" >&6; }
10982 if test "$DOXYGEN" = true; then
10991 # Checks for header files.
10992 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
10993 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
10994 if test "${ac_cv_header_stdc+set}" = set; then
10995 echo $ECHO_N "(cached) $ECHO_C" >&6
10997 cat >conftest.$ac_ext <<_ACEOF
11000 cat confdefs.h >>conftest.$ac_ext
11001 cat >>conftest.$ac_ext <<_ACEOF
11002 /* end confdefs.h. */
11003 #include <stdlib.h>
11004 #include <stdarg.h>
11005 #include <string.h>
11016 rm -f conftest.$ac_objext
11017 if { (ac_try="$ac_compile"
11018 case "(($ac_try" in
11019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11020 *) ac_try_echo=$ac_try;;
11022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11023 (eval "$ac_compile") 2>conftest.er1
11025 grep -v '^ *+' conftest.er1 >conftest.err
11027 cat conftest.err >&5
11028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11029 (exit $ac_status); } && {
11030 test -z "$ac_c_werror_flag" ||
11031 test ! -s conftest.err
11032 } && test -s conftest.$ac_objext; then
11033 ac_cv_header_stdc=yes
11035 echo "$as_me: failed program was:" >&5
11036 sed 's/^/| /' conftest.$ac_ext >&5
11038 ac_cv_header_stdc=no
11041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11043 if test $ac_cv_header_stdc = yes; then
11044 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11045 cat >conftest.$ac_ext <<_ACEOF
11048 cat confdefs.h >>conftest.$ac_ext
11049 cat >>conftest.$ac_ext <<_ACEOF
11050 /* end confdefs.h. */
11051 #include <string.h>
11054 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11055 $EGREP "memchr" >/dev/null 2>&1; then
11058 ac_cv_header_stdc=no
11064 if test $ac_cv_header_stdc = yes; then
11065 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11066 cat >conftest.$ac_ext <<_ACEOF
11069 cat confdefs.h >>conftest.$ac_ext
11070 cat >>conftest.$ac_ext <<_ACEOF
11071 /* end confdefs.h. */
11072 #include <stdlib.h>
11075 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11076 $EGREP "free" >/dev/null 2>&1; then
11079 ac_cv_header_stdc=no
11085 if test $ac_cv_header_stdc = yes; then
11086 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11087 if test "$cross_compiling" = yes; then
11090 cat >conftest.$ac_ext <<_ACEOF
11093 cat confdefs.h >>conftest.$ac_ext
11094 cat >>conftest.$ac_ext <<_ACEOF
11095 /* end confdefs.h. */
11097 #include <stdlib.h>
11098 #if ((' ' & 0x0FF) == 0x020)
11099 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11100 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11102 # define ISLOWER(c) \
11103 (('a' <= (c) && (c) <= 'i') \
11104 || ('j' <= (c) && (c) <= 'r') \
11105 || ('s' <= (c) && (c) <= 'z'))
11106 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11109 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11114 for (i = 0; i < 256; i++)
11115 if (XOR (islower (i), ISLOWER (i))
11116 || toupper (i) != TOUPPER (i))
11121 rm -f conftest$ac_exeext
11122 if { (ac_try="$ac_link"
11123 case "(($ac_try" in
11124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11125 *) ac_try_echo=$ac_try;;
11127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11128 (eval "$ac_link") 2>&5
11130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11131 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11132 { (case "(($ac_try" in
11133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11134 *) ac_try_echo=$ac_try;;
11136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11137 (eval "$ac_try") 2>&5
11139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11140 (exit $ac_status); }; }; then
11143 echo "$as_me: program exited with status $ac_status" >&5
11144 echo "$as_me: failed program was:" >&5
11145 sed 's/^/| /' conftest.$ac_ext >&5
11147 ( exit $ac_status )
11148 ac_cv_header_stdc=no
11150 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11156 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11157 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
11158 if test $ac_cv_header_stdc = yes; then
11160 cat >>confdefs.h <<\_ACEOF
11161 #define STDC_HEADERS 1
11167 for ac_header in stdlib.h
11169 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11170 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11171 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11173 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11174 echo $ECHO_N "(cached) $ECHO_C" >&6
11176 ac_res=`eval echo '${'$as_ac_Header'}'`
11177 { echo "$as_me:$LINENO: result: $ac_res" >&5
11178 echo "${ECHO_T}$ac_res" >&6; }
11180 # Is the header compilable?
11181 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11182 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11183 cat >conftest.$ac_ext <<_ACEOF
11186 cat confdefs.h >>conftest.$ac_ext
11187 cat >>conftest.$ac_ext <<_ACEOF
11188 /* end confdefs.h. */
11189 $ac_includes_default
11190 #include <$ac_header>
11192 rm -f conftest.$ac_objext
11193 if { (ac_try="$ac_compile"
11194 case "(($ac_try" in
11195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11196 *) ac_try_echo=$ac_try;;
11198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11199 (eval "$ac_compile") 2>conftest.er1
11201 grep -v '^ *+' conftest.er1 >conftest.err
11203 cat conftest.err >&5
11204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11205 (exit $ac_status); } && {
11206 test -z "$ac_c_werror_flag" ||
11207 test ! -s conftest.err
11208 } && test -s conftest.$ac_objext; then
11209 ac_header_compiler=yes
11211 echo "$as_me: failed program was:" >&5
11212 sed 's/^/| /' conftest.$ac_ext >&5
11214 ac_header_compiler=no
11217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11218 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11219 echo "${ECHO_T}$ac_header_compiler" >&6; }
11221 # Is the header present?
11222 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11223 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11224 cat >conftest.$ac_ext <<_ACEOF
11227 cat confdefs.h >>conftest.$ac_ext
11228 cat >>conftest.$ac_ext <<_ACEOF
11229 /* end confdefs.h. */
11230 #include <$ac_header>
11232 if { (ac_try="$ac_cpp conftest.$ac_ext"
11233 case "(($ac_try" in
11234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11235 *) ac_try_echo=$ac_try;;
11237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11238 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11240 grep -v '^ *+' conftest.er1 >conftest.err
11242 cat conftest.err >&5
11243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11244 (exit $ac_status); } >/dev/null && {
11245 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11246 test ! -s conftest.err
11248 ac_header_preproc=yes
11250 echo "$as_me: failed program was:" >&5
11251 sed 's/^/| /' conftest.$ac_ext >&5
11253 ac_header_preproc=no
11256 rm -f conftest.err conftest.$ac_ext
11257 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11258 echo "${ECHO_T}$ac_header_preproc" >&6; }
11260 # So? What about this header?
11261 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11263 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11264 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11265 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11266 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11267 ac_header_preproc=yes
11270 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11271 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11272 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11273 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11274 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11275 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11276 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11277 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11278 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11279 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11280 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11281 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11283 ## ------------------------------------------------------------ ##
11284 ## Report this to http://pyyaml.org/newticket?component=libyaml ##
11285 ## ------------------------------------------------------------ ##
11287 ) | sed "s/^/$as_me: WARNING: /" >&2
11290 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11292 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11293 echo $ECHO_N "(cached) $ECHO_C" >&6
11295 eval "$as_ac_Header=\$ac_header_preproc"
11297 ac_res=`eval echo '${'$as_ac_Header'}'`
11298 { echo "$as_me:$LINENO: result: $ac_res" >&5
11299 echo "${ECHO_T}$ac_res" >&6; }
11302 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11303 cat >>confdefs.h <<_ACEOF
11304 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11312 # Checks for typedefs, structures, and compiler characteristics.
11313 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
11314 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
11315 if test "${ac_cv_c_const+set}" = set; then
11316 echo $ECHO_N "(cached) $ECHO_C" >&6
11318 cat >conftest.$ac_ext <<_ACEOF
11321 cat confdefs.h >>conftest.$ac_ext
11322 cat >>conftest.$ac_ext <<_ACEOF
11323 /* end confdefs.h. */
11328 /* FIXME: Include the comments suggested by Paul. */
11329 #ifndef __cplusplus
11330 /* Ultrix mips cc rejects this. */
11331 typedef int charset[2];
11333 /* SunOS 4.1.1 cc rejects this. */
11334 char const *const *pcpcc;
11336 /* NEC SVR4.0.2 mips cc rejects this. */
11337 struct point {int x, y;};
11338 static struct point const zero = {0,0};
11339 /* AIX XL C 1.02.0.0 rejects this.
11340 It does not let you subtract one const X* pointer from another in
11341 an arm of an if-expression whose if-part is not a constant
11343 const char *g = "string";
11344 pcpcc = &g + (g ? g-g : 0);
11345 /* HPUX 7.0 cc rejects these. */
11347 ppc = (char**) pcpcc;
11348 pcpcc = (char const *const *) ppc;
11349 { /* SCO 3.2v4 cc rejects this. */
11351 char const *s = 0 ? (char *) 0 : (char const *) 0;
11356 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11357 int x[] = {25, 17};
11358 const int *foo = &x[0];
11361 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11362 typedef const int *iptr;
11366 { /* AIX XL C 1.02.0.0 rejects this saying
11367 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11368 struct s { int j; const int *ap[3]; };
11369 struct s *b; b->j = 5;
11371 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11372 const int foo = 10;
11373 if (!foo) return 0;
11375 return !cs[0] && !zero.x;
11382 rm -f conftest.$ac_objext
11383 if { (ac_try="$ac_compile"
11384 case "(($ac_try" in
11385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11386 *) ac_try_echo=$ac_try;;
11388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11389 (eval "$ac_compile") 2>conftest.er1
11391 grep -v '^ *+' conftest.er1 >conftest.err
11393 cat conftest.err >&5
11394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11395 (exit $ac_status); } && {
11396 test -z "$ac_c_werror_flag" ||
11397 test ! -s conftest.err
11398 } && test -s conftest.$ac_objext; then
11401 echo "$as_me: failed program was:" >&5
11402 sed 's/^/| /' conftest.$ac_ext >&5
11407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11409 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
11410 echo "${ECHO_T}$ac_cv_c_const" >&6; }
11411 if test $ac_cv_c_const = no; then
11413 cat >>confdefs.h <<\_ACEOF
11419 { echo "$as_me:$LINENO: checking for size_t" >&5
11420 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
11421 if test "${ac_cv_type_size_t+set}" = set; then
11422 echo $ECHO_N "(cached) $ECHO_C" >&6
11424 cat >conftest.$ac_ext <<_ACEOF
11427 cat confdefs.h >>conftest.$ac_ext
11428 cat >>conftest.$ac_ext <<_ACEOF
11429 /* end confdefs.h. */
11430 $ac_includes_default
11431 typedef size_t ac__type_new_;
11435 if ((ac__type_new_ *) 0)
11437 if (sizeof (ac__type_new_))
11443 rm -f conftest.$ac_objext
11444 if { (ac_try="$ac_compile"
11445 case "(($ac_try" in
11446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11447 *) ac_try_echo=$ac_try;;
11449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11450 (eval "$ac_compile") 2>conftest.er1
11452 grep -v '^ *+' conftest.er1 >conftest.err
11454 cat conftest.err >&5
11455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456 (exit $ac_status); } && {
11457 test -z "$ac_c_werror_flag" ||
11458 test ! -s conftest.err
11459 } && test -s conftest.$ac_objext; then
11460 ac_cv_type_size_t=yes
11462 echo "$as_me: failed program was:" >&5
11463 sed 's/^/| /' conftest.$ac_ext >&5
11465 ac_cv_type_size_t=no
11468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11470 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
11471 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
11472 if test $ac_cv_type_size_t = yes; then
11476 cat >>confdefs.h <<_ACEOF
11477 #define size_t unsigned int
11483 # Define Makefiles.
11484 ac_config_files="$ac_config_files include/Makefile src/Makefile Makefile tests/Makefile win32/Makefile"
11487 # Generate the "configure" script.
11488 cat >confcache <<\_ACEOF
11489 # This file is a shell script that caches the results of configure
11490 # tests run on this system so they can be shared between configure
11491 # scripts and configure runs, see configure's option --config-cache.
11492 # It is not useful on other systems. If it contains results you don't
11493 # want to keep, you may remove or edit it.
11495 # config.status only pays attention to the cache file if you give it
11496 # the --recheck option to rerun configure.
11498 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11499 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11500 # following values.
11504 # The following way of writing the cache mishandles newlines in values,
11505 # but we know of no workaround that is simple, portable, and efficient.
11506 # So, we kill variables containing newlines.
11507 # Ultrix sh set writes to stderr and can't be redirected directly,
11508 # and sets the high bit in the cache file unless we assign to the vars.
11510 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11511 eval ac_val=\$$ac_var
11515 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
11516 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
11519 _ | IFS | as_nl) ;; #(
11520 *) $as_unset $ac_var ;;
11526 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11527 *${as_nl}ac_space=\ *)
11528 # `set' does not quote correctly, so add quotes (double-quote
11529 # substitution turns \\\\ into \\, and sed turns \\ into \).
11532 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11535 # `set' quotes correctly as required by POSIX, so do not add quotes.
11536 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11545 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11547 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11549 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11550 if test -w "$cache_file"; then
11551 test "x$cache_file" != "x/dev/null" &&
11552 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
11553 echo "$as_me: updating cache $cache_file" >&6;}
11554 cat confcache >$cache_file
11556 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
11557 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11562 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11563 # Let make expand exec_prefix.
11564 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11566 DEFS=-DHAVE_CONFIG_H
11570 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11571 # 1. Remove the extension, and $U if already installed.
11572 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11573 ac_i=`echo "$ac_i" | sed "$ac_script"`
11574 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11575 # will be set to the directory where LIBOBJS objects are built.
11576 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11577 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
11579 LIBOBJS=$ac_libobjs
11581 LTLIBOBJS=$ac_ltlibobjs
11584 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11585 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
11586 Usually this means the macro was only invoked conditionally." >&5
11587 echo "$as_me: error: conditional \"AMDEP\" was never defined.
11588 Usually this means the macro was only invoked conditionally." >&2;}
11589 { (exit 1); exit 1; }; }
11591 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11592 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11593 Usually this means the macro was only invoked conditionally." >&5
11594 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11595 Usually this means the macro was only invoked conditionally." >&2;}
11596 { (exit 1); exit 1; }; }
11598 if test -z "${DOXYGEN_TRUE}" && test -z "${DOXYGEN_FALSE}"; then
11599 { { echo "$as_me:$LINENO: error: conditional \"DOXYGEN\" was never defined.
11600 Usually this means the macro was only invoked conditionally." >&5
11601 echo "$as_me: error: conditional \"DOXYGEN\" was never defined.
11602 Usually this means the macro was only invoked conditionally." >&2;}
11603 { (exit 1); exit 1; }; }
11606 : ${CONFIG_STATUS=./config.status}
11607 ac_clean_files_save=$ac_clean_files
11608 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11609 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11610 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11611 cat >$CONFIG_STATUS <<_ACEOF
11613 # Generated by $as_me.
11614 # Run this file to recreate the current configuration.
11615 # Compiler output produced by configure, useful for debugging
11616 # configure, is in config.log if it exists.
11619 ac_cs_recheck=false
11621 SHELL=\${CONFIG_SHELL-$SHELL}
11624 cat >>$CONFIG_STATUS <<\_ACEOF
11625 ## --------------------- ##
11626 ## M4sh Initialization. ##
11627 ## --------------------- ##
11629 # Be more Bourne compatible
11630 DUALCASE=1; export DUALCASE # for MKS sh
11631 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11634 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11635 # is contrary to our usage. Disable this feature.
11636 alias -g '${1+"$@"}'='"$@"'
11637 setopt NO_GLOB_SUBST
11639 case `(set -o) 2>/dev/null` in
11640 *posix*) set -o posix ;;
11649 # Avoid depending upon Character Ranges.
11650 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11651 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11652 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11653 as_cr_digits='0123456789'
11654 as_cr_alnum=$as_cr_Letters$as_cr_digits
11656 # The user is always right.
11657 if test "${PATH_SEPARATOR+set}" != set; then
11658 echo "#! /bin/sh" >conf$$.sh
11659 echo "exit 0" >>conf$$.sh
11661 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11669 # Support unset when possible.
11670 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11678 # We need space, tab and new line, in precisely that order. Quoting is
11679 # there to prevent editors from complaining about space-tab.
11680 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11681 # splitting by setting IFS to empty value.)
11686 # Find who we are. Look in the path if we contain no directory separator.
11688 *[\\/]* ) as_myself=$0 ;;
11689 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11690 for as_dir in $PATH
11693 test -z "$as_dir" && as_dir=.
11694 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11700 # We did not find ourselves, most probably we were run as `sh COMMAND'
11701 # in which case we are not to be found in the path.
11702 if test "x$as_myself" = x; then
11705 if test ! -f "$as_myself"; then
11706 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11707 { (exit 1); exit 1; }
11710 # Work around bugs in pre-3.0 UWIN ksh.
11711 for as_var in ENV MAIL MAILPATH
11712 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
11720 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11721 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11722 LC_TELEPHONE LC_TIME
11724 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11725 eval $as_var=C; export $as_var
11727 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
11731 # Required to use basename.
11732 if expr a : '\(a\)' >/dev/null 2>&1 &&
11733 test "X`expr 00001 : '.*\(...\)'`" = X001; then
11739 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11740 as_basename=basename
11746 # Name of the executable.
11747 as_me=`$as_basename -- "$0" ||
11748 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11749 X"$0" : 'X\(//\)$' \| \
11750 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11752 sed '/^.*\/\([^/][^/]*\)\/*$/{
11771 as_lineno_1=$LINENO
11772 as_lineno_2=$LINENO
11773 test "x$as_lineno_1" != "x$as_lineno_2" &&
11774 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
11776 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11777 # uniformly replaced by the line number. The first 'sed' inserts a
11778 # line-number line after each line using $LINENO; the second 'sed'
11779 # does the real work. The second script uses 'N' to pair each
11780 # line-number line with the line containing $LINENO, and appends
11781 # trailing '-' during substitution so that $LINENO is not a special
11782 # case at line end.
11783 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11784 # scripts with optimization help from Paolo Bonzini. Blame Lee
11785 # E. McMahon (1931-1989) for sed's syntax. :-)
11797 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
11800 ' >$as_me.lineno &&
11801 chmod +x "$as_me.lineno" ||
11802 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
11803 { (exit 1); exit 1; }; }
11805 # Don't try to exec as it changes $[0], causing all sort of problems
11806 # (the dirname of $[0] is not the place where we might find the
11807 # original and so on. Autoconf is especially sensitive to this).
11808 . "./$as_me.lineno"
11809 # Exit status is that of the last command.
11814 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11820 ECHO_C= ECHO_N= ECHO_T=
11821 case `echo -n x` in
11823 case `echo 'x\c'` in
11824 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
11831 if expr a : '\(a\)' >/dev/null 2>&1 &&
11832 test "X`expr 00001 : '.*\(...\)'`" = X001; then
11838 rm -f conf$$ conf$$.exe conf$$.file
11839 if test -d conf$$.dir; then
11840 rm -f conf$$.dir/conf$$.file
11846 if ln -s conf$$.file conf$$ 2>/dev/null; then
11848 # ... but there are two gotchas:
11849 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11850 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11851 # In both cases, we have to default to `cp -p'.
11852 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11854 elif ln conf$$.file conf$$ 2>/dev/null; then
11859 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11860 rmdir conf$$.dir 2>/dev/null
11862 if mkdir -p . 2>/dev/null; then
11865 test -d ./-p && rmdir ./-p
11869 if test -x / >/dev/null 2>&1; then
11870 as_test_x='test -x'
11872 if ls -dL / >/dev/null 2>&1; then
11879 if test -d "$1"; then
11885 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
11886 ???[sx]*):;;*)false;;esac;fi
11890 as_executable_p=$as_test_x
11892 # Sed expression to map a string onto a valid CPP name.
11893 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11895 # Sed expression to map a string onto a valid variable name.
11896 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11901 # Save the log message, to keep $[0] and so on meaningful, and to
11902 # report actual input values of CONFIG_FILES etc. instead of their
11903 # values after options handling.
11905 This file was extended by yaml $as_me 0.1.2, which was
11906 generated by GNU Autoconf 2.61. Invocation command line was
11908 CONFIG_FILES = $CONFIG_FILES
11909 CONFIG_HEADERS = $CONFIG_HEADERS
11910 CONFIG_LINKS = $CONFIG_LINKS
11911 CONFIG_COMMANDS = $CONFIG_COMMANDS
11914 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11919 cat >>$CONFIG_STATUS <<_ACEOF
11920 # Files that config.status was made for.
11921 config_files="$ac_config_files"
11922 config_headers="$ac_config_headers"
11923 config_commands="$ac_config_commands"
11927 cat >>$CONFIG_STATUS <<\_ACEOF
11929 \`$as_me' instantiates files from templates according to the
11930 current configuration.
11932 Usage: $0 [OPTIONS] [FILE]...
11934 -h, --help print this help, then exit
11935 -V, --version print version number and configuration settings, then exit
11936 -q, --quiet do not print progress messages
11937 -d, --debug don't remove temporary files
11938 --recheck update $as_me by reconfiguring in the same conditions
11939 --file=FILE[:TEMPLATE]
11940 instantiate the configuration file FILE
11941 --header=FILE[:TEMPLATE]
11942 instantiate the configuration header FILE
11944 Configuration files:
11947 Configuration headers:
11950 Configuration commands:
11953 Report bugs to <bug-autoconf@gnu.org>."
11956 cat >>$CONFIG_STATUS <<_ACEOF
11958 yaml config.status 0.1.2
11959 configured by $0, generated by GNU Autoconf 2.61,
11960 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
11962 Copyright (C) 2006 Free Software Foundation, Inc.
11963 This config.status script is free software; the Free Software Foundation
11964 gives unlimited permission to copy, distribute and modify it."
11972 cat >>$CONFIG_STATUS <<\_ACEOF
11973 # If no file are specified by the user, then we need to provide default
11974 # value. By we need to know if files were specified by the user.
11980 ac_option=`expr "X$1" : 'X\([^=]*\)='`
11981 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
11992 # Handling of the options.
11993 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11995 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
11996 echo "$ac_cs_version"; exit ;;
11997 --debug | --debu | --deb | --de | --d | -d )
11999 --file | --fil | --fi | --f )
12001 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
12002 ac_need_defaults=false;;
12003 --header | --heade | --head | --hea )
12005 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
12006 ac_need_defaults=false;;
12008 # Conflict between --help and --header
12009 { echo "$as_me: error: ambiguous option: $1
12010 Try \`$0 --help' for more information." >&2
12011 { (exit 1); exit 1; }; };;
12012 --help | --hel | -h )
12013 echo "$ac_cs_usage"; exit ;;
12014 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12015 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12018 # This is an error.
12019 -*) { echo "$as_me: error: unrecognized option: $1
12020 Try \`$0 --help' for more information." >&2
12021 { (exit 1); exit 1; }; } ;;
12023 *) ac_config_targets="$ac_config_targets $1"
12024 ac_need_defaults=false ;;
12030 ac_configure_extra_args=
12032 if $ac_cs_silent; then
12034 ac_configure_extra_args="$ac_configure_extra_args --silent"
12038 cat >>$CONFIG_STATUS <<_ACEOF
12039 if \$ac_cs_recheck; then
12040 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12041 CONFIG_SHELL=$SHELL
12042 export CONFIG_SHELL
12043 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12047 cat >>$CONFIG_STATUS <<\_ACEOF
12051 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12052 ## Running $as_me. ##
12058 cat >>$CONFIG_STATUS <<_ACEOF
12062 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12065 # The HP-UX ksh and POSIX shell print the target directory to stdout
12066 # if CDPATH is set.
12067 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12069 sed_quote_subst='$sed_quote_subst'
12070 double_quote_subst='$double_quote_subst'
12071 delay_variable_subst='$delay_variable_subst'
12072 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12073 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12074 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12075 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12076 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12077 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12078 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12079 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12080 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12081 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12082 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12083 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12084 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12085 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12086 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12087 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12088 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12089 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12090 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12091 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12092 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12093 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12094 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12095 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12096 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12097 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12098 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12099 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12100 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12101 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12102 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12103 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12104 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12105 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12106 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12107 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12108 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12109 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12110 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12111 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12112 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12113 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12114 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12115 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
12116 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12117 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12118 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12119 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12120 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12121 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12122 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12123 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12124 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12125 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12126 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12127 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
12128 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
12129 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
12130 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
12131 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
12132 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12133 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12134 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12135 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12136 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12137 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12138 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12139 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12140 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12141 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12142 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12143 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12144 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12145 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12146 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12147 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12148 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12149 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12150 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12151 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
12152 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
12153 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
12154 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
12155 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12156 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
12157 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
12158 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
12159 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
12160 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
12161 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12162 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12163 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12164 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12165 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
12166 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
12167 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12168 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
12169 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
12170 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12171 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12172 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
12173 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12174 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
12175 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12176 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12177 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12178 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12179 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
12180 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
12181 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12182 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12183 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
12184 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
12185 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
12186 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
12187 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
12188 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
12191 LTCFLAGS='$LTCFLAGS'
12192 compiler='$compiler_DEFAULT'
12194 # Quote evaled strings.
12205 deplibs_check_method \
12214 lt_cv_sys_global_symbol_pipe \
12215 lt_cv_sys_global_symbol_to_cdecl \
12216 lt_cv_sys_global_symbol_to_c_name_address \
12217 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12220 lt_prog_compiler_no_builtin_flag \
12221 lt_prog_compiler_wl \
12222 lt_prog_compiler_pic \
12223 lt_prog_compiler_static \
12224 lt_cv_prog_compiler_c_o \
12232 export_dynamic_flag_spec \
12233 whole_archive_flag_spec \
12234 compiler_needs_object \
12236 allow_undefined_flag \
12237 no_undefined_flag \
12238 hardcode_libdir_flag_spec \
12239 hardcode_libdir_flag_spec_ld \
12240 hardcode_libdir_separator \
12245 variables_saved_for_relink \
12247 library_names_spec \
12252 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12253 *[\\\\\\\`\\"\\\$]*)
12254 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12257 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12262 # Double-quote double-evaled strings.
12263 for var in reload_cmds \
12264 old_postinstall_cmds \
12265 old_postuninstall_cmds \
12267 extract_expsyms_cmds \
12268 old_archive_from_new_cmds \
12269 old_archive_from_expsyms_cmds \
12271 archive_expsym_cmds \
12273 module_expsym_cmds \
12274 export_symbols_cmds \
12277 postuninstall_cmds \
12279 sys_lib_search_path_spec \
12280 sys_lib_dlsearch_path_spec; do
12281 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12282 *[\\\\\\\`\\"\\\$]*)
12283 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12286 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12291 # Fix-up fallback echo if it was mangled by the above quoting rules.
12293 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
12297 ac_aux_dir='$ac_aux_dir'
12298 xsi_shell='$xsi_shell'
12299 lt_shell_append='$lt_shell_append'
12301 # See if we are running on zsh, and set the options which allow our
12302 # commands through without removal of \ escapes INIT.
12303 if test -n "\${ZSH_VERSION+set}" ; then
12304 setopt NO_GLOB_SUBST
12310 TIMESTAMP='$TIMESTAMP'
12319 cat >>$CONFIG_STATUS <<\_ACEOF
12321 # Handling of arguments.
12322 for ac_config_target in $ac_config_targets
12324 case $ac_config_target in
12325 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12326 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12327 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12328 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
12329 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
12330 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12331 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
12332 "win32/Makefile") CONFIG_FILES="$CONFIG_FILES win32/Makefile" ;;
12334 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12335 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12336 { (exit 1); exit 1; }; };;
12341 # If the user did not use the arguments to specify the items to instantiate,
12342 # then the envvar interface is used. Set only those that are not.
12343 # We use the long form for the default assignment because of an extremely
12344 # bizarre bug on SunOS 4.1.3.
12345 if $ac_need_defaults; then
12346 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12347 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12348 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12351 # Have a temporary directory for convenience. Make it in the build tree
12352 # simply because there is no reason against having it here, and in addition,
12353 # creating and moving files from /tmp can sometimes cause problems.
12354 # Hook for its removal unless debugging.
12355 # Note that there is a small window in which the directory will not be cleaned:
12356 # after its creation but before its name has been assigned to `$tmp'.
12360 trap 'exit_status=$?
12361 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12363 trap '{ (exit 1); exit 1; }' 1 2 13 15
12365 # Create a (secure) tmp directory for tmp files.
12368 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12369 test -n "$tmp" && test -d "$tmp"
12372 tmp=./conf$$-$RANDOM
12373 (umask 077 && mkdir "$tmp")
12376 echo "$me: cannot create a temporary directory in ." >&2
12377 { (exit 1); exit 1; }
12381 # Set up the sed scripts for CONFIG_FILES section.
12384 # No need to generate the scripts if there are no CONFIG_FILES.
12385 # This happens for instance when ./config.status config.h
12386 if test -n "$CONFIG_FILES"; then
12393 for ac_last_try in false false false false false :; do
12394 cat >conf$$subs.sed <<_ACEOF
12395 SHELL!$SHELL$ac_delim
12396 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
12397 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
12398 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
12399 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
12400 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
12401 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
12402 exec_prefix!$exec_prefix$ac_delim
12403 prefix!$prefix$ac_delim
12404 program_transform_name!$program_transform_name$ac_delim
12405 bindir!$bindir$ac_delim
12406 sbindir!$sbindir$ac_delim
12407 libexecdir!$libexecdir$ac_delim
12408 datarootdir!$datarootdir$ac_delim
12409 datadir!$datadir$ac_delim
12410 sysconfdir!$sysconfdir$ac_delim
12411 sharedstatedir!$sharedstatedir$ac_delim
12412 localstatedir!$localstatedir$ac_delim
12413 includedir!$includedir$ac_delim
12414 oldincludedir!$oldincludedir$ac_delim
12415 docdir!$docdir$ac_delim
12416 infodir!$infodir$ac_delim
12417 htmldir!$htmldir$ac_delim
12418 dvidir!$dvidir$ac_delim
12419 pdfdir!$pdfdir$ac_delim
12420 psdir!$psdir$ac_delim
12421 libdir!$libdir$ac_delim
12422 localedir!$localedir$ac_delim
12423 mandir!$mandir$ac_delim
12424 DEFS!$DEFS$ac_delim
12425 ECHO_C!$ECHO_C$ac_delim
12426 ECHO_N!$ECHO_N$ac_delim
12427 ECHO_T!$ECHO_T$ac_delim
12428 LIBS!$LIBS$ac_delim
12429 build_alias!$build_alias$ac_delim
12430 host_alias!$host_alias$ac_delim
12431 target_alias!$target_alias$ac_delim
12432 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
12433 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
12434 INSTALL_DATA!$INSTALL_DATA$ac_delim
12435 am__isrc!$am__isrc$ac_delim
12436 CYGPATH_W!$CYGPATH_W$ac_delim
12437 PACKAGE!$PACKAGE$ac_delim
12438 VERSION!$VERSION$ac_delim
12439 ACLOCAL!$ACLOCAL$ac_delim
12440 AUTOCONF!$AUTOCONF$ac_delim
12441 AUTOMAKE!$AUTOMAKE$ac_delim
12442 AUTOHEADER!$AUTOHEADER$ac_delim
12443 MAKEINFO!$MAKEINFO$ac_delim
12444 install_sh!$install_sh$ac_delim
12445 STRIP!$STRIP$ac_delim
12446 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
12447 mkdir_p!$mkdir_p$ac_delim
12449 SET_MAKE!$SET_MAKE$ac_delim
12450 am__leading_dot!$am__leading_dot$ac_delim
12451 AMTAR!$AMTAR$ac_delim
12452 am__tar!$am__tar$ac_delim
12453 am__untar!$am__untar$ac_delim
12454 YAML_LT_RELEASE!$YAML_LT_RELEASE$ac_delim
12455 YAML_LT_CURRENT!$YAML_LT_CURRENT$ac_delim
12456 YAML_LT_REVISION!$YAML_LT_REVISION$ac_delim
12457 YAML_LT_AGE!$YAML_LT_AGE$ac_delim
12459 CFLAGS!$CFLAGS$ac_delim
12460 LDFLAGS!$LDFLAGS$ac_delim
12461 CPPFLAGS!$CPPFLAGS$ac_delim
12462 ac_ct_CC!$ac_ct_CC$ac_delim
12463 EXEEXT!$EXEEXT$ac_delim
12464 OBJEXT!$OBJEXT$ac_delim
12465 DEPDIR!$DEPDIR$ac_delim
12466 am__include!$am__include$ac_delim
12467 am__quote!$am__quote$ac_delim
12468 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
12469 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
12470 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
12471 CCDEPMODE!$CCDEPMODE$ac_delim
12472 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
12473 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
12475 LN_S!$LN_S$ac_delim
12476 LIBTOOL!$LIBTOOL$ac_delim
12477 build!$build$ac_delim
12478 build_cpu!$build_cpu$ac_delim
12479 build_vendor!$build_vendor$ac_delim
12480 build_os!$build_os$ac_delim
12481 host!$host$ac_delim
12482 host_cpu!$host_cpu$ac_delim
12483 host_vendor!$host_vendor$ac_delim
12484 host_os!$host_os$ac_delim
12486 GREP!$GREP$ac_delim
12487 EGREP!$EGREP$ac_delim
12488 FGREP!$FGREP$ac_delim
12490 DUMPBIN!$DUMPBIN$ac_delim
12491 ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
12494 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
12496 elif $ac_last_try; then
12497 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12498 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12499 { (exit 1); exit 1; }; }
12501 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12505 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
12506 if test -n "$ac_eof"; then
12507 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
12508 ac_eof=`expr $ac_eof + 1`
12511 cat >>$CONFIG_STATUS <<_ACEOF
12512 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
12513 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12516 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
12517 s/^/s,@/; s/!/@,|#_!!_#|/
12520 s/'"$ac_delim"'$/,g/; t
12522 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
12523 ' >>$CONFIG_STATUS <conf$$subs.sed
12524 rm -f conf$$subs.sed
12525 cat >>$CONFIG_STATUS <<_ACEOF
12531 for ac_last_try in false false false false false :; do
12532 cat >conf$$subs.sed <<_ACEOF
12535 RANLIB!$RANLIB$ac_delim
12536 lt_ECHO!$lt_ECHO$ac_delim
12537 DSYMUTIL!$DSYMUTIL$ac_delim
12538 NMEDIT!$NMEDIT$ac_delim
12539 LIPO!$LIPO$ac_delim
12540 OTOOL!$OTOOL$ac_delim
12541 OTOOL64!$OTOOL64$ac_delim
12542 DOXYGEN!$DOXYGEN$ac_delim
12543 DOXYGEN_TRUE!$DOXYGEN_TRUE$ac_delim
12544 DOXYGEN_FALSE!$DOXYGEN_FALSE$ac_delim
12545 LIBOBJS!$LIBOBJS$ac_delim
12546 LTLIBOBJS!$LTLIBOBJS$ac_delim
12549 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 14; then
12551 elif $ac_last_try; then
12552 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12553 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12554 { (exit 1); exit 1; }; }
12556 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12560 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
12561 if test -n "$ac_eof"; then
12562 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
12563 ac_eof=`expr $ac_eof + 1`
12566 cat >>$CONFIG_STATUS <<_ACEOF
12567 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
12568 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
12571 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
12572 s/^/s,@/; s/!/@,|#_!!_#|/
12575 s/'"$ac_delim"'$/,g/; t
12577 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
12578 ' >>$CONFIG_STATUS <conf$$subs.sed
12579 rm -f conf$$subs.sed
12580 cat >>$CONFIG_STATUS <<_ACEOF
12587 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12588 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12589 # trailing colons and then remove the whole line if VPATH becomes empty
12590 # (actually we leave an empty line to preserve line numbers).
12591 if test "x$srcdir" = x.; then
12592 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12593 s/:*\$(srcdir):*/:/
12594 s/:*\${srcdir}:*/:/
12596 s/^\([^=]*=[ ]*\):*/\1/
12602 cat >>$CONFIG_STATUS <<\_ACEOF
12603 fi # test -n "$CONFIG_FILES"
12606 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
12609 :[FHLC]) ac_mode=$ac_tag; continue;;
12611 case $ac_mode$ac_tag in
12613 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
12614 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
12615 { (exit 1); exit 1; }; };;
12616 :[FH]-) ac_tag=-:-;;
12617 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12634 -) ac_f="$tmp/stdin";;
12635 *) # Look for the file first in the build tree, then in the source tree
12636 # (if the path is not absolute). The absolute path cannot be DOS-style,
12637 # because $ac_f cannot contain `:'.
12641 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12643 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
12644 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
12645 { (exit 1); exit 1; }; };;
12647 ac_file_inputs="$ac_file_inputs $ac_f"
12650 # Let's still pretend it is `configure' which instantiates (i.e., don't
12651 # use $as_me), people would be surprised to read:
12652 # /* config.h. Generated by config.status. */
12653 configure_input="Generated from "`IFS=:
12654 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
12655 if test x"$ac_file" != x-; then
12656 configure_input="$ac_file. $configure_input"
12657 { echo "$as_me:$LINENO: creating $ac_file" >&5
12658 echo "$as_me: creating $ac_file" >&6;}
12662 *:-:* | *:-) cat >"$tmp/stdin";;
12667 ac_dir=`$as_dirname -- "$ac_file" ||
12668 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12669 X"$ac_file" : 'X\(//\)[^/]' \| \
12670 X"$ac_file" : 'X\(//\)$' \| \
12671 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12673 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12677 /^X\(\/\/\)[^/].*/{
12692 -*) as_dir=./$as_dir;;
12694 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12698 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12699 *) as_qdir=$as_dir;;
12701 as_dirs="'$as_qdir' $as_dirs"
12702 as_dir=`$as_dirname -- "$as_dir" ||
12703 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12704 X"$as_dir" : 'X\(//\)[^/]' \| \
12705 X"$as_dir" : 'X\(//\)$' \| \
12706 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12708 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12712 /^X\(\/\/\)[^/].*/{
12725 test -d "$as_dir" && break
12727 test -z "$as_dirs" || eval "mkdir $as_dirs"
12728 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12729 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12730 { (exit 1); exit 1; }; }; }
12734 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12736 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12737 # A ".." for each directory in $ac_dir_suffix.
12738 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
12739 case $ac_top_builddir_sub in
12740 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12741 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12744 ac_abs_top_builddir=$ac_pwd
12745 ac_abs_builddir=$ac_pwd$ac_dir_suffix
12746 # for backward compatibility:
12747 ac_top_builddir=$ac_top_build_prefix
12750 .) # We are building in place.
12752 ac_top_srcdir=$ac_top_builddir_sub
12753 ac_abs_top_srcdir=$ac_pwd ;;
12754 [\\/]* | ?:[\\/]* ) # Absolute name.
12755 ac_srcdir=$srcdir$ac_dir_suffix;
12756 ac_top_srcdir=$srcdir
12757 ac_abs_top_srcdir=$srcdir ;;
12758 *) # Relative name.
12759 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12760 ac_top_srcdir=$ac_top_build_prefix$srcdir
12761 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12763 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12773 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12774 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12776 ac_MKDIR_P=$MKDIR_P
12778 [\\/$]* | ?:[\\/]* ) ;;
12779 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
12783 cat >>$CONFIG_STATUS <<\_ACEOF
12784 # If the template does not know about datarootdir, expand it.
12785 # FIXME: This hack should be removed a few years after 2.60.
12786 ac_datarootdir_hack=; ac_datarootdir_seen=
12788 case `sed -n '/datarootdir/ {
12797 ' $ac_file_inputs` in
12798 *datarootdir*) ac_datarootdir_seen=yes;;
12799 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12800 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12801 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12803 cat >>$CONFIG_STATUS <<_ACEOF
12804 ac_datarootdir_hack='
12805 s&@datadir@&$datadir&g
12806 s&@docdir@&$docdir&g
12807 s&@infodir@&$infodir&g
12808 s&@localedir@&$localedir&g
12809 s&@mandir@&$mandir&g
12810 s&\\\${datarootdir}&$datarootdir&g' ;;
12814 # Neutralize VPATH when `$srcdir' = `.'.
12815 # Shell code in configure.ac might set extrasub.
12816 # FIXME: do we really want to maintain this feature?
12817 cat >>$CONFIG_STATUS <<_ACEOF
12821 cat >>$CONFIG_STATUS <<\_ACEOF
12823 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12824 s&@configure_input@&$configure_input&;t t
12825 s&@top_builddir@&$ac_top_builddir_sub&;t t
12826 s&@srcdir@&$ac_srcdir&;t t
12827 s&@abs_srcdir@&$ac_abs_srcdir&;t t
12828 s&@top_srcdir@&$ac_top_srcdir&;t t
12829 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
12830 s&@builddir@&$ac_builddir&;t t
12831 s&@abs_builddir@&$ac_abs_builddir&;t t
12832 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
12833 s&@INSTALL@&$ac_INSTALL&;t t
12834 s&@MKDIR_P@&$ac_MKDIR_P&;t t
12835 $ac_datarootdir_hack
12836 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
12838 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12839 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
12840 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
12841 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12842 which seems to be undefined. Please make sure it is defined." >&5
12843 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12844 which seems to be undefined. Please make sure it is defined." >&2;}
12848 -) cat "$tmp/out"; rm -f "$tmp/out";;
12849 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
12858 # Transform confdefs.h into a sed script `conftest.defines', that
12859 # substitutes the proper values into config.h.in to produce config.h.
12860 rm -f conftest.defines conftest.tail
12861 # First, append a space to every undef/define line, to ease matching.
12862 echo 's/$/ /' >conftest.defines
12863 # Then, protect against being on the right side of a sed subst, or in
12864 # an unquoted here document, in config.status. If some macros were
12865 # called several times there might be several #defines for the same
12866 # symbol, which is useless. But do not sort them, since the last
12867 # AC_DEFINE must be honored.
12868 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12869 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
12870 # NAME is the cpp macro being defined, VALUE is the value it is being given.
12871 # PARAMS is the parameter list in the macro definition--in most cases, it's
12872 # just an empty string.
12873 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
12874 ac_dB='\\)[ (].*,\\1define\\2'
12882 s/^[ ]*#[ ]*define[ ][ ]*//
12887 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
12888 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
12889 ' >>conftest.defines
12891 # Remove the space that was appended to ease matching.
12892 # Then replace #undef with comments. This is necessary, for
12893 # example, in the case of _POSIX_SOURCE, which is predefined and required
12894 # on some systems where configure will not decide to define it.
12895 # (The regexp can be short, since the line contains either #define or #undef.)
12897 s,^[ #]*u.*,/* & */,' >>conftest.defines
12899 # Break up conftest.defines:
12900 ac_max_sed_lines=50
12902 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
12903 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
12904 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
12906 ac_in='$ac_file_inputs'
12907 ac_out='"$tmp/out1"'
12908 ac_nxt='"$tmp/out2"'
12912 # Write a here document:
12913 cat >>$CONFIG_STATUS <<_ACEOF
12914 # First, check the format of the line:
12915 cat >"\$tmp/defines.sed" <<\\CEOF
12916 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
12917 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
12921 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
12923 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
12924 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
12925 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
12926 grep . conftest.tail >/dev/null || break
12927 rm -f conftest.defines
12928 mv conftest.tail conftest.defines
12930 rm -f conftest.defines conftest.tail
12932 echo "ac_result=$ac_in" >>$CONFIG_STATUS
12933 cat >>$CONFIG_STATUS <<\_ACEOF
12934 if test x"$ac_file" != x-; then
12935 echo "/* $configure_input */" >"$tmp/config.h"
12936 cat "$ac_result" >>"$tmp/config.h"
12937 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
12938 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12939 echo "$as_me: $ac_file is unchanged" >&6;}
12942 mv "$tmp/config.h" $ac_file
12945 echo "/* $configure_input */"
12949 # Compute $ac_file's index in $config_headers.
12952 for _am_header in $config_headers :; do
12953 case $_am_header in
12954 $_am_arg | $_am_arg:* )
12957 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
12960 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
12961 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12962 X"$_am_arg" : 'X\(//\)[^/]' \| \
12963 X"$_am_arg" : 'X\(//\)$' \| \
12964 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
12966 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12970 /^X\(\/\/\)[^/].*/{
12982 s/.*/./; q'`/stamp-h$_am_stamp_count
12985 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
12986 echo "$as_me: executing $ac_file commands" >&6;}
12991 case $ac_file$ac_mode in
12992 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
12993 # Strip MF so we end up with the name of the file.
12994 mf=`echo "$mf" | sed -e 's/:.*$//'`
12995 # Check whether this is an Automake generated Makefile or not.
12996 # We used to match only the files named `Makefile.in', but
12997 # some people rename them; so instead we look at the file content.
12998 # Grep'ing the first line is not enough: some people post-process
12999 # each Makefile.in and add a new line on top of each file to say so.
13000 # Grep'ing the whole file is not good either: AIX grep has a line
13001 # limit of 2048, but all sed's we know have understand at least 4000.
13002 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13003 dirpart=`$as_dirname -- "$mf" ||
13004 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13005 X"$mf" : 'X\(//\)[^/]' \| \
13006 X"$mf" : 'X\(//\)$' \| \
13007 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13009 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13013 /^X\(\/\/\)[^/].*/{
13029 # Extract the definition of DEPDIR, am__include, and am__quote
13030 # from the Makefile without running `make'.
13031 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13032 test -z "$DEPDIR" && continue
13033 am__include=`sed -n 's/^am__include = //p' < "$mf"`
13034 test -z "am__include" && continue
13035 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13036 # When using ansi2knr, U may be empty or an underscore; expand it
13037 U=`sed -n 's/^U = //p' < "$mf"`
13038 # Find all dependency output files, they are included files with
13039 # $(DEPDIR) in their names. We invoke sed twice because it is the
13040 # simplest approach to changing $(DEPDIR) to its actual value in the
13042 for file in `sed -n "
13043 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13044 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13045 # Make sure the directory exists.
13046 test -f "$dirpart/$file" && continue
13047 fdir=`$as_dirname -- "$file" ||
13048 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13049 X"$file" : 'X\(//\)[^/]' \| \
13050 X"$file" : 'X\(//\)$' \| \
13051 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13053 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13057 /^X\(\/\/\)[^/].*/{
13070 { as_dir=$dirpart/$fdir
13072 -*) as_dir=./$as_dir;;
13074 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13078 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
13079 *) as_qdir=$as_dir;;
13081 as_dirs="'$as_qdir' $as_dirs"
13082 as_dir=`$as_dirname -- "$as_dir" ||
13083 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13084 X"$as_dir" : 'X\(//\)[^/]' \| \
13085 X"$as_dir" : 'X\(//\)$' \| \
13086 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13088 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13092 /^X\(\/\/\)[^/].*/{
13105 test -d "$as_dir" && break
13107 test -z "$as_dirs" || eval "mkdir $as_dirs"
13108 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13109 echo "$as_me: error: cannot create directory $as_dir" >&2;}
13110 { (exit 1); exit 1; }; }; }
13111 # echo "creating $dirpart/$file"
13112 echo '# dummy' > "$dirpart/$file"
13118 # See if we are running on zsh, and set the options which allow our
13119 # commands through without removal of \ escapes.
13120 if test -n "${ZSH_VERSION+set}" ; then
13121 setopt NO_GLOB_SUBST
13124 cfgfile="${ofile}T"
13125 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13128 cat <<_LT_EOF >> "$cfgfile"
13131 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13132 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13133 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13134 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13136 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13137 # 2006, 2007, 2008 Free Software Foundation, Inc.
13138 # Written by Gordon Matzigkeit, 1996
13140 # This file is part of GNU Libtool.
13142 # GNU Libtool is free software; you can redistribute it and/or
13143 # modify it under the terms of the GNU General Public License as
13144 # published by the Free Software Foundation; either version 2 of
13145 # the License, or (at your option) any later version.
13147 # As a special exception to the GNU General Public License,
13148 # if you distribute this file as part of a program or library that
13149 # is built using GNU Libtool, you may include this file under the
13150 # same distribution terms that you use for the rest of that program.
13152 # GNU Libtool is distributed in the hope that it will be useful,
13153 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13154 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13155 # GNU General Public License for more details.
13157 # You should have received a copy of the GNU General Public License
13158 # along with GNU Libtool; see the file COPYING. If not, a copy
13159 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13160 # obtained by writing to the Free Software Foundation, Inc.,
13161 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13164 # The names of the tagged configurations supported by this script.
13167 # ### BEGIN LIBTOOL CONFIG
13169 # Which release of libtool.m4 was used?
13170 macro_version=$macro_version
13171 macro_revision=$macro_revision
13173 # Whether or not to build shared libraries.
13174 build_libtool_libs=$enable_shared
13176 # Whether or not to build static libraries.
13177 build_old_libs=$enable_static
13179 # What type of objects to build.
13182 # Whether or not to optimize for fast installation.
13183 fast_install=$enable_fast_install
13186 host_alias=$host_alias
13190 # The build system.
13191 build_alias=$build_alias
13195 # A sed program that does not truncate output.
13198 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13199 Xsed="\$SED -e 1s/^X//"
13201 # A grep program that handles long lines.
13207 # A literal string matcher.
13210 # A BSD- or MS-compatible name lister.
13213 # Whether we need soft or hard links.
13216 # What is the maximum length of a command?
13217 max_cmd_len=$max_cmd_len
13219 # Object file suffix (normally "o").
13222 # Executable file suffix (normally "").
13225 # whether the shell understands "unset".
13228 # turn spaces into newlines.
13231 # turn newlines into spaces.
13234 # How to create reloadable object files.
13235 reload_flag=$lt_reload_flag
13236 reload_cmds=$lt_reload_cmds
13238 # Method to check whether dependent libraries are shared objects.
13239 deplibs_check_method=$lt_deplibs_check_method
13241 # Command to use when deplibs_check_method == "file_magic".
13242 file_magic_cmd=$lt_file_magic_cmd
13246 AR_FLAGS=$lt_AR_FLAGS
13248 # A symbol stripping program.
13251 # Commands used to install an old-style archive.
13253 old_postinstall_cmds=$lt_old_postinstall_cmds
13254 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13259 # LTCC compiler flags.
13260 LTCFLAGS=$lt_CFLAGS
13262 # Take the output of nm and produce a listing of raw symbols and C names.
13263 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13265 # Transform the output of nm in a proper C declaration.
13266 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13268 # Transform the output of nm in a C name address pair.
13269 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13271 # Transform the output of nm in a C name address pair when lib prefix is needed.
13272 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13274 # The name of the directory that contains temporary libtool files.
13277 # Shell to use when invoking shell scripts.
13280 # An echo program that does not interpret backslashes.
13283 # Used to examine libraries when file_magic_cmd begins with "file".
13284 MAGIC_CMD=$MAGIC_CMD
13286 # Must we lock files when doing compilation?
13287 need_locks=$lt_need_locks
13289 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13290 DSYMUTIL=$lt_DSYMUTIL
13292 # Tool to change global to local symbols on Mac OS X.
13295 # Tool to manipulate fat objects and archives on Mac OS X.
13298 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13301 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13302 OTOOL64=$lt_OTOOL64
13304 # Old archive suffix (normally "a").
13307 # Shared library suffix (normally ".so").
13308 shrext_cmds=$lt_shrext_cmds
13310 # The commands to extract the exported symbol list from a shared archive.
13311 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13313 # Variables whose values should be saved in libtool wrapper scripts and
13314 # restored at link time.
13315 variables_saved_for_relink=$lt_variables_saved_for_relink
13317 # Do we need the "lib" prefix for modules?
13318 need_lib_prefix=$need_lib_prefix
13320 # Do we need a version for libraries?
13321 need_version=$need_version
13323 # Library versioning type.
13324 version_type=$version_type
13326 # Shared library runtime path variable.
13327 runpath_var=$runpath_var
13329 # Shared library path variable.
13330 shlibpath_var=$shlibpath_var
13332 # Is shlibpath searched before the hard-coded library search path?
13333 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13335 # Format of library name prefix.
13336 libname_spec=$lt_libname_spec
13338 # List of archive names. First name is the real one, the rest are links.
13339 # The last name is the one that the linker finds with -lNAME
13340 library_names_spec=$lt_library_names_spec
13342 # The coded name of the library, if different from the real name.
13343 soname_spec=$lt_soname_spec
13345 # Command to use after installation of a shared archive.
13346 postinstall_cmds=$lt_postinstall_cmds
13348 # Command to use after uninstallation of a shared archive.
13349 postuninstall_cmds=$lt_postuninstall_cmds
13351 # Commands used to finish a libtool library installation in a directory.
13352 finish_cmds=$lt_finish_cmds
13354 # As "finish_cmds", except a single script fragment to be evaled but
13356 finish_eval=$lt_finish_eval
13358 # Whether we should hardcode library paths into libraries.
13359 hardcode_into_libs=$hardcode_into_libs
13361 # Compile-time system search path for libraries.
13362 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13364 # Run-time system search path for libraries.
13365 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13367 # Whether dlopen is supported.
13368 dlopen_support=$enable_dlopen
13370 # Whether dlopen of programs is supported.
13371 dlopen_self=$enable_dlopen_self
13373 # Whether dlopen of statically linked programs is supported.
13374 dlopen_self_static=$enable_dlopen_self_static
13376 # Commands to strip libraries.
13377 old_striplib=$lt_old_striplib
13378 striplib=$lt_striplib
13381 # The linker used to build libraries.
13384 # Commands used to build an old-style archive.
13385 old_archive_cmds=$lt_old_archive_cmds
13387 # A language specific compiler.
13390 # Is the compiler the GNU compiler?
13393 # Compiler flag to turn off builtin functions.
13394 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13396 # How to pass a linker flag through the compiler.
13397 wl=$lt_lt_prog_compiler_wl
13399 # Additional compiler flags for building library objects.
13400 pic_flag=$lt_lt_prog_compiler_pic
13402 # Compiler flag to prevent dynamic linking.
13403 link_static_flag=$lt_lt_prog_compiler_static
13405 # Does compiler simultaneously support -c and -o options?
13406 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13408 # Whether or not to add -lc for building shared libraries.
13409 build_libtool_need_lc=$archive_cmds_need_lc
13411 # Whether or not to disallow shared libs when runtime libs are static.
13412 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13414 # Compiler flag to allow reflexive dlopens.
13415 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13417 # Compiler flag to generate shared objects directly from archives.
13418 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13420 # Whether the compiler copes with passing no objects directly.
13421 compiler_needs_object=$lt_compiler_needs_object
13423 # Create an old-style archive from a shared archive.
13424 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13426 # Create a temporary old-style archive to link instead of a shared archive.
13427 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13429 # Commands used to build a shared archive.
13430 archive_cmds=$lt_archive_cmds
13431 archive_expsym_cmds=$lt_archive_expsym_cmds
13433 # Commands used to build a loadable module if different from building
13434 # a shared archive.
13435 module_cmds=$lt_module_cmds
13436 module_expsym_cmds=$lt_module_expsym_cmds
13438 # Whether we are building with GNU ld or not.
13439 with_gnu_ld=$lt_with_gnu_ld
13441 # Flag that allows shared libraries with undefined symbols to be built.
13442 allow_undefined_flag=$lt_allow_undefined_flag
13444 # Flag that enforces no undefined symbols.
13445 no_undefined_flag=$lt_no_undefined_flag
13447 # Flag to hardcode \$libdir into a binary during linking.
13448 # This must work even if \$libdir does not exist
13449 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13451 # If ld is used when linking, flag to hardcode \$libdir into a binary
13452 # during linking. This must work even if \$libdir does not exist.
13453 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13455 # Whether we need a single "-rpath" flag with a separated argument.
13456 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13458 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13459 # DIR into the resulting binary.
13460 hardcode_direct=$hardcode_direct
13462 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13463 # DIR into the resulting binary and the resulting library dependency is
13464 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13465 # library is relocated.
13466 hardcode_direct_absolute=$hardcode_direct_absolute
13468 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13469 # into the resulting binary.
13470 hardcode_minus_L=$hardcode_minus_L
13472 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13473 # into the resulting binary.
13474 hardcode_shlibpath_var=$hardcode_shlibpath_var
13476 # Set to "yes" if building a shared library automatically hardcodes DIR
13477 # into the library and all subsequent libraries and executables linked
13479 hardcode_automatic=$hardcode_automatic
13481 # Set to yes if linker adds runtime paths of dependent libraries
13482 # to runtime path list.
13483 inherit_rpath=$inherit_rpath
13485 # Whether libtool must link a program against all its dependency libraries.
13486 link_all_deplibs=$link_all_deplibs
13488 # Fix the shell variable \$srcfile for the compiler.
13489 fix_srcfile_path=$lt_fix_srcfile_path
13491 # Set to "yes" if exported symbols are required.
13492 always_export_symbols=$always_export_symbols
13494 # The commands to list exported symbols.
13495 export_symbols_cmds=$lt_export_symbols_cmds
13497 # Symbols that should not be listed in the preloaded symbols.
13498 exclude_expsyms=$lt_exclude_expsyms
13500 # Symbols that must always be exported.
13501 include_expsyms=$lt_include_expsyms
13503 # Commands necessary for linking programs (against libraries) with templates.
13504 prelink_cmds=$lt_prelink_cmds
13506 # Specify filename containing input files.
13507 file_list_spec=$lt_file_list_spec
13509 # How to hardcode a shared library path into an executable.
13510 hardcode_action=$hardcode_action
13512 # ### END LIBTOOL CONFIG
13518 cat <<\_LT_EOF >> "$cfgfile"
13519 # AIX sometimes has problems with the GCC collect2 program. For some
13520 # reason, if we set the COLLECT_NAMES environment variable, the problems
13521 # vanish in a puff of smoke.
13522 if test "X${COLLECT_NAMES+set}" != Xset; then
13524 export COLLECT_NAMES
13531 ltmain="$ac_aux_dir/ltmain.sh"
13534 # We use sed instead of cat because bash on DJGPP gets confused if
13535 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13536 # text mode, it properly converts lines to CR/LF. This bash problem
13537 # is reportedly fixed, but why not run on old versions too?
13538 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13539 || (rm -f "$cfgfile"; exit 1)
13543 cat << \_LT_EOF >> "$cfgfile"
13545 # func_dirname file append nondir_replacement
13546 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13547 # otherwise set result to NONDIR_REPLACEMENT.
13551 */*) func_dirname_result="${1%/*}${2}" ;;
13552 * ) func_dirname_result="${3}" ;;
13556 # func_basename file
13559 func_basename_result="${1##*/}"
13562 # func_dirname_and_basename file append nondir_replacement
13563 # perform func_basename and func_dirname in a single function
13565 # dirname: Compute the dirname of FILE. If nonempty,
13566 # add APPEND to the result, otherwise set result
13567 # to NONDIR_REPLACEMENT.
13568 # value returned in "$func_dirname_result"
13569 # basename: Compute filename of FILE.
13570 # value retuned in "$func_basename_result"
13571 # Implementation must be kept synchronized with func_dirname
13572 # and func_basename. For efficiency, we do not delegate to
13573 # those functions but instead duplicate the functionality here.
13574 func_dirname_and_basename ()
13577 */*) func_dirname_result="${1%/*}${2}" ;;
13578 * ) func_dirname_result="${3}" ;;
13580 func_basename_result="${1##*/}"
13583 # func_stripname prefix suffix name
13584 # strip PREFIX and SUFFIX off of NAME.
13585 # PREFIX and SUFFIX must not contain globbing or regex special
13586 # characters, hashes, percent signs, but SUFFIX may contain a leading
13587 # dot (in which case that matches only a dot).
13590 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13591 # positional parameters, so assign one to ordinary parameter first.
13592 func_stripname_result=${3}
13593 func_stripname_result=${func_stripname_result#"${1}"}
13594 func_stripname_result=${func_stripname_result%"${2}"}
13600 func_opt_split_opt=${1%%=*}
13601 func_opt_split_arg=${1#*=}
13608 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
13609 *) func_lo2o_result=${1} ;;
13613 # func_xform libobj-or-source
13616 func_xform_result=${1%.*}.lo
13619 # func_arith arithmetic-term...
13622 func_arith_result=$(( $* ))
13626 # STRING may not start with a hyphen.
13629 func_len_result=${#1}
13634 *) # Bourne compatible functions.
13635 cat << \_LT_EOF >> "$cfgfile"
13637 # func_dirname file append nondir_replacement
13638 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13639 # otherwise set result to NONDIR_REPLACEMENT.
13642 # Extract subdirectory from the argument.
13643 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13644 if test "X$func_dirname_result" = "X${1}"; then
13645 func_dirname_result="${3}"
13647 func_dirname_result="$func_dirname_result${2}"
13651 # func_basename file
13654 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
13658 # func_stripname prefix suffix name
13659 # strip PREFIX and SUFFIX off of NAME.
13660 # PREFIX and SUFFIX must not contain globbing or regex special
13661 # characters, hashes, percent signs, but SUFFIX may contain a leading
13662 # dot (in which case that matches only a dot).
13663 # func_strip_suffix prefix name
13667 .*) func_stripname_result=`$ECHO "X${3}" \
13668 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
13669 *) func_stripname_result=`$ECHO "X${3}" \
13670 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
13675 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
13676 my_sed_long_arg='1s/^-[^=]*=//'
13681 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
13682 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
13688 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
13691 # func_xform libobj-or-source
13694 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
13697 # func_arith arithmetic-term...
13700 func_arith_result=`expr "$@"`
13704 # STRING may not start with a hyphen.
13707 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13713 case $lt_shell_append in
13715 cat << \_LT_EOF >> "$cfgfile"
13717 # func_append var value
13718 # Append VALUE to the end of shell variable VAR.
13726 cat << \_LT_EOF >> "$cfgfile"
13728 # func_append var value
13729 # Append VALUE to the end of shell variable VAR.
13740 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13741 || (rm -f "$cfgfile"; exit 1)
13743 mv -f "$cfgfile" "$ofile" ||
13744 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13753 { (exit 0); exit 0; }
13755 chmod +x $CONFIG_STATUS
13756 ac_clean_files=$ac_clean_files_save
13759 # configure is writing to config.log, and then calls config.status.
13760 # config.status does its own redirection, appending to config.log.
13761 # Unfortunately, on DOS this fails, as config.log is still kept open
13762 # by configure, so config.status won't be able to write to it; its
13763 # output is simply discarded. So we exec the FD to /dev/null,
13764 # effectively closing config.log, so it can be properly (re)opened and
13765 # appended to by config.status. When coming back to configure, we
13766 # need to make the FD available again.
13767 if test "$no_create" != yes; then
13769 ac_config_status_args=
13770 test "$silent" = yes &&
13771 ac_config_status_args="$ac_config_status_args --quiet"
13773 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13775 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13776 # would make configure fail if this is the last instruction.
13777 $ac_cs_success || { (exit 1); exit 1; }