2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir=.
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
258 CONFIG_SHELL=$as_shell
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
286 as_func_ret_success () {
289 as_func_ret_failure () {
294 if as_func_success; then
298 echo as_func_success failed.
301 if as_func_failure; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472 ECHO_C= ECHO_N= ECHO_T=
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506 elif ln conf$$.file conf$$ 2>/dev/null; then
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
517 test -d ./-p && rmdir ./-p
521 if test -x / >/dev/null 2>&1; then
524 if ls -dL / >/dev/null 2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
553 # Check that we are running under the correct shell.
554 SHELL=${CONFIG_SHELL-/bin/sh}
558 # Remove one level of quotation (which was required for Make).
559 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
564 if test "X$1" = X--no-reexec; then
565 # Discard the --no-reexec flag, and continue.
567 elif test "X$1" = X--fallback-echo; then
568 # Avoid inline document here, it may be left over
570 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
571 # Yippee, $ECHO works!
574 # Restart under the correct shell.
575 exec $SHELL "$0" --no-reexec ${1+"$@"}
578 if test "X$1" = X--fallback-echo; then
579 # used as fallback echo
587 # The HP-UX ksh and POSIX shell print the target directory to stdout
589 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
591 if test -z "$lt_ECHO"; then
592 if test "X${echo_test_string+set}" != Xset; then
593 # find a string as large as possible, as long as the shell can cope with it
594 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
597 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
604 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
605 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
606 test "X$echo_testing_string" = "X$echo_test_string"; then
609 # The Solaris, AIX, and Digital Unix default echo programs unquote
610 # backslashes. This makes it impossible to quote backslashes using
611 # echo "$something" | sed 's/\\/\\\\/g'
613 # So, first we look for a working echo in the user's PATH.
615 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
616 for dir in $PATH /usr/ucb; do
618 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
619 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
620 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
621 test "X$echo_testing_string" = "X$echo_test_string"; then
628 if test "X$ECHO" = Xecho; then
629 # We didn't find a better echo, so look for alternatives.
630 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
631 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
632 test "X$echo_testing_string" = "X$echo_test_string"; then
633 # This shell has a builtin print -r that does the trick.
635 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
636 test "X$CONFIG_SHELL" != X/bin/ksh; then
637 # If we have ksh, try running configure again with it.
638 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
639 export ORIGINAL_CONFIG_SHELL
640 CONFIG_SHELL=/bin/ksh
642 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
646 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
647 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
648 test "X$echo_testing_string" = "X$echo_test_string"; then
651 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
652 test "X$echo_testing_string" = 'X\t' &&
653 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
654 test "X$echo_testing_string" = "X$echo_test_string"; then
655 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
657 SHELL="$CONFIG_SHELL"
659 ECHO="$CONFIG_SHELL $0 --fallback-echo"
660 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
661 test "X$echo_testing_string" = 'X\t' &&
662 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
663 test "X$echo_testing_string" = "X$echo_test_string"; then
664 ECHO="$CONFIG_SHELL $0 --fallback-echo"
666 # maybe with a smaller string...
669 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
670 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
677 if test "$prev" != 'sed 50q "$0"'; then
678 echo_test_string=`eval $prev`
679 export echo_test_string
680 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
682 # Oops. We lost completely, so just stick with echo.
691 # Copy echo and quote the copy suitably for passing to libtool from
692 # the Makefile, instead of quoting the original, which is used later.
694 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
695 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
701 exec 7<&0 </dev/null 6>&1
704 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
705 # so uname gets run too.
706 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
711 ac_default_prefix=/usr/local
713 ac_config_libobj_dir=.
719 SHELL=${CONFIG_SHELL-/bin/sh}
721 # Identity of this package.
728 ac_unique_file="src/framing.c"
729 # Factoring default headers for most tests.
730 ac_includes_default="\
732 #ifdef HAVE_SYS_TYPES_H
733 # include <sys/types.h>
735 #ifdef HAVE_SYS_STAT_H
736 # include <sys/stat.h>
742 # ifdef HAVE_STDLIB_H
747 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
752 #ifdef HAVE_STRINGS_H
753 # include <strings.h>
755 #ifdef HAVE_INTTYPES_H
756 # include <inttypes.h>
774 program_transform_name
815 INSTALL_STRIP_PROGRAM
824 MAINTAINER_MODE_FALSE
885 ac_precious_vars='build_alias
896 # Initialize some variables set by options.
898 ac_init_version=false
899 # The variables have the same names as the options, with
900 # dashes changed to underlines.
908 program_transform_name=s,x,x,
916 # Installation directory options.
917 # These are left unexpanded so users can "make install exec_prefix=/foo"
918 # and all the variables that are supposed to be based on exec_prefix
919 # by default will actually change.
920 # Use braces instead of parens because sh, perl, etc. also accept them.
921 # (The list follows the same order as the GNU Coding Standards.)
922 bindir='${exec_prefix}/bin'
923 sbindir='${exec_prefix}/sbin'
924 libexecdir='${exec_prefix}/libexec'
925 datarootdir='${prefix}/share'
926 datadir='${datarootdir}'
927 sysconfdir='${prefix}/etc'
928 sharedstatedir='${prefix}/com'
929 localstatedir='${prefix}/var'
930 includedir='${prefix}/include'
931 oldincludedir='/usr/include'
932 docdir='${datarootdir}/doc/${PACKAGE}'
933 infodir='${datarootdir}/info'
938 libdir='${exec_prefix}/lib'
939 localedir='${datarootdir}/locale'
940 mandir='${datarootdir}/man'
946 # If the previous option needs an argument, assign it.
947 if test -n "$ac_prev"; then
948 eval $ac_prev=\$ac_option
954 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
958 # Accept the important Cygnus configure options, so we can diagnose typos.
960 case $ac_dashdash$ac_option in
964 -bindir | --bindir | --bindi | --bind | --bin | --bi)
966 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
969 -build | --build | --buil | --bui | --bu)
970 ac_prev=build_alias ;;
971 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
972 build_alias=$ac_optarg ;;
974 -cache-file | --cache-file | --cache-fil | --cache-fi \
975 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
976 ac_prev=cache_file ;;
977 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
978 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
979 cache_file=$ac_optarg ;;
982 cache_file=config.cache ;;
984 -datadir | --datadir | --datadi | --datad)
986 -datadir=* | --datadir=* | --datadi=* | --datad=*)
987 datadir=$ac_optarg ;;
989 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
990 | --dataroo | --dataro | --datar)
991 ac_prev=datarootdir ;;
992 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
993 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
994 datarootdir=$ac_optarg ;;
996 -disable-* | --disable-*)
997 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
998 # Reject names that are not valid shell variable names.
999 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1000 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1001 { (exit 1); exit 1; }; }
1002 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1003 eval enable_$ac_feature=no ;;
1005 -docdir | --docdir | --docdi | --doc | --do)
1007 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1008 docdir=$ac_optarg ;;
1010 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1012 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1013 dvidir=$ac_optarg ;;
1015 -enable-* | --enable-*)
1016 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1017 # Reject names that are not valid shell variable names.
1018 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1019 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1020 { (exit 1); exit 1; }; }
1021 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1022 eval enable_$ac_feature=\$ac_optarg ;;
1024 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1025 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1026 | --exec | --exe | --ex)
1027 ac_prev=exec_prefix ;;
1028 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1029 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1030 | --exec=* | --exe=* | --ex=*)
1031 exec_prefix=$ac_optarg ;;
1033 -gas | --gas | --ga | --g)
1034 # Obsolete; use --with-gas.
1037 -help | --help | --hel | --he | -h)
1038 ac_init_help=long ;;
1039 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1040 ac_init_help=recursive ;;
1041 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1042 ac_init_help=short ;;
1044 -host | --host | --hos | --ho)
1045 ac_prev=host_alias ;;
1046 -host=* | --host=* | --hos=* | --ho=*)
1047 host_alias=$ac_optarg ;;
1049 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1051 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1053 htmldir=$ac_optarg ;;
1055 -includedir | --includedir | --includedi | --included | --include \
1056 | --includ | --inclu | --incl | --inc)
1057 ac_prev=includedir ;;
1058 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1059 | --includ=* | --inclu=* | --incl=* | --inc=*)
1060 includedir=$ac_optarg ;;
1062 -infodir | --infodir | --infodi | --infod | --info | --inf)
1064 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1065 infodir=$ac_optarg ;;
1067 -libdir | --libdir | --libdi | --libd)
1069 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1070 libdir=$ac_optarg ;;
1072 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1073 | --libexe | --libex | --libe)
1074 ac_prev=libexecdir ;;
1075 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1076 | --libexe=* | --libex=* | --libe=*)
1077 libexecdir=$ac_optarg ;;
1079 -localedir | --localedir | --localedi | --localed | --locale)
1080 ac_prev=localedir ;;
1081 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1082 localedir=$ac_optarg ;;
1084 -localstatedir | --localstatedir | --localstatedi | --localstated \
1085 | --localstate | --localstat | --localsta | --localst | --locals)
1086 ac_prev=localstatedir ;;
1087 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1088 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1089 localstatedir=$ac_optarg ;;
1091 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1093 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1094 mandir=$ac_optarg ;;
1096 -nfp | --nfp | --nf)
1097 # Obsolete; use --without-fp.
1100 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1101 | --no-cr | --no-c | -n)
1104 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1105 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1108 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1109 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1110 | --oldin | --oldi | --old | --ol | --o)
1111 ac_prev=oldincludedir ;;
1112 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1113 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1114 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1115 oldincludedir=$ac_optarg ;;
1117 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1119 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1120 prefix=$ac_optarg ;;
1122 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1123 | --program-pre | --program-pr | --program-p)
1124 ac_prev=program_prefix ;;
1125 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1126 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1127 program_prefix=$ac_optarg ;;
1129 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1130 | --program-suf | --program-su | --program-s)
1131 ac_prev=program_suffix ;;
1132 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1133 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1134 program_suffix=$ac_optarg ;;
1136 -program-transform-name | --program-transform-name \
1137 | --program-transform-nam | --program-transform-na \
1138 | --program-transform-n | --program-transform- \
1139 | --program-transform | --program-transfor \
1140 | --program-transfo | --program-transf \
1141 | --program-trans | --program-tran \
1142 | --progr-tra | --program-tr | --program-t)
1143 ac_prev=program_transform_name ;;
1144 -program-transform-name=* | --program-transform-name=* \
1145 | --program-transform-nam=* | --program-transform-na=* \
1146 | --program-transform-n=* | --program-transform-=* \
1147 | --program-transform=* | --program-transfor=* \
1148 | --program-transfo=* | --program-transf=* \
1149 | --program-trans=* | --program-tran=* \
1150 | --progr-tra=* | --program-tr=* | --program-t=*)
1151 program_transform_name=$ac_optarg ;;
1153 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1155 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1156 pdfdir=$ac_optarg ;;
1158 -psdir | --psdir | --psdi | --psd | --ps)
1160 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1163 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1164 | -silent | --silent | --silen | --sile | --sil)
1167 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1169 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1171 sbindir=$ac_optarg ;;
1173 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1174 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1175 | --sharedst | --shareds | --shared | --share | --shar \
1177 ac_prev=sharedstatedir ;;
1178 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1179 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1180 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1182 sharedstatedir=$ac_optarg ;;
1184 -site | --site | --sit)
1186 -site=* | --site=* | --sit=*)
1189 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1191 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1192 srcdir=$ac_optarg ;;
1194 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1195 | --syscon | --sysco | --sysc | --sys | --sy)
1196 ac_prev=sysconfdir ;;
1197 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1198 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1199 sysconfdir=$ac_optarg ;;
1201 -target | --target | --targe | --targ | --tar | --ta | --t)
1202 ac_prev=target_alias ;;
1203 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1204 target_alias=$ac_optarg ;;
1206 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1209 -version | --version | --versio | --versi | --vers | -V)
1210 ac_init_version=: ;;
1213 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1214 # Reject names that are not valid shell variable names.
1215 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1216 { echo "$as_me: error: invalid package name: $ac_package" >&2
1217 { (exit 1); exit 1; }; }
1218 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1219 eval with_$ac_package=\$ac_optarg ;;
1221 -without-* | --without-*)
1222 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1223 # Reject names that are not valid shell variable names.
1224 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1225 { echo "$as_me: error: invalid package name: $ac_package" >&2
1226 { (exit 1); exit 1; }; }
1227 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1228 eval with_$ac_package=no ;;
1231 # Obsolete; use --with-x.
1234 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1235 | --x-incl | --x-inc | --x-in | --x-i)
1236 ac_prev=x_includes ;;
1237 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1238 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1239 x_includes=$ac_optarg ;;
1241 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1242 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1243 ac_prev=x_libraries ;;
1244 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1245 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1246 x_libraries=$ac_optarg ;;
1248 -*) { echo "$as_me: error: unrecognized option: $ac_option
1249 Try \`$0 --help' for more information." >&2
1250 { (exit 1); exit 1; }; }
1254 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1255 # Reject names that are not valid shell variable names.
1256 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1257 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1258 { (exit 1); exit 1; }; }
1259 eval $ac_envvar=\$ac_optarg
1260 export $ac_envvar ;;
1263 # FIXME: should be removed in autoconf 3.0.
1264 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1265 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1266 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1267 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1273 if test -n "$ac_prev"; then
1274 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1275 { echo "$as_me: error: missing argument to $ac_option" >&2
1276 { (exit 1); exit 1; }; }
1279 # Be sure to have absolute directory names.
1280 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1281 datadir sysconfdir sharedstatedir localstatedir includedir \
1282 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1283 libdir localedir mandir
1285 eval ac_val=\$$ac_var
1287 [\\/$]* | ?:[\\/]* ) continue;;
1288 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1290 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1291 { (exit 1); exit 1; }; }
1294 # There might be people who depend on the old broken behavior: `$host'
1295 # used to hold the argument of --host etc.
1296 # FIXME: To remove some day.
1299 target=$target_alias
1301 # FIXME: To remove some day.
1302 if test "x$host_alias" != x; then
1303 if test "x$build_alias" = x; then
1304 cross_compiling=maybe
1305 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1306 If a cross compiler is detected then cross compile mode will be used." >&2
1307 elif test "x$build_alias" != "x$host_alias"; then
1313 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1315 test "$silent" = yes && exec 6>/dev/null
1318 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1319 ac_ls_di=`ls -di .` &&
1320 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1321 { echo "$as_me: error: Working directory cannot be determined" >&2
1322 { (exit 1); exit 1; }; }
1323 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1324 { echo "$as_me: error: pwd does not report name of working directory" >&2
1325 { (exit 1); exit 1; }; }
1328 # Find the source files, if location was not specified.
1329 if test -z "$srcdir"; then
1330 ac_srcdir_defaulted=yes
1331 # Try the directory containing this script, then the parent directory.
1332 ac_confdir=`$as_dirname -- "$0" ||
1333 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1334 X"$0" : 'X\(//\)[^/]' \| \
1335 X"$0" : 'X\(//\)$' \| \
1336 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1356 if test ! -r "$srcdir/$ac_unique_file"; then
1360 ac_srcdir_defaulted=no
1362 if test ! -r "$srcdir/$ac_unique_file"; then
1363 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1364 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1365 { (exit 1); exit 1; }; }
1367 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1369 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1370 { (exit 1); exit 1; }; }
1372 # When building in place, set srcdir=.
1373 if test "$ac_abs_confdir" = "$ac_pwd"; then
1376 # Remove unnecessary trailing slashes from srcdir.
1377 # Double slashes in file names in object file debugging info
1378 # mess up M-x gdb in Emacs.
1380 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1382 for ac_var in $ac_precious_vars; do
1383 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1384 eval ac_env_${ac_var}_value=\$${ac_var}
1385 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1386 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1390 # Report the --help message.
1392 if test "$ac_init_help" = "long"; then
1393 # Omit some internal or obsolete options to make the list less imposing.
1394 # This message is too long to be a string in the A/UX 3.1 sh.
1396 \`configure' configures this package to adapt to many kinds of systems.
1398 Usage: $0 [OPTION]... [VAR=VALUE]...
1400 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1401 VAR=VALUE. See below for descriptions of some of the useful variables.
1403 Defaults for the options are specified in brackets.
1406 -h, --help display this help and exit
1407 --help=short display options specific to this package
1408 --help=recursive display the short help of all the included packages
1409 -V, --version display version information and exit
1410 -q, --quiet, --silent do not print \`checking...' messages
1411 --cache-file=FILE cache test results in FILE [disabled]
1412 -C, --config-cache alias for \`--cache-file=config.cache'
1413 -n, --no-create do not create output files
1414 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1416 Installation directories:
1417 --prefix=PREFIX install architecture-independent files in PREFIX
1418 [$ac_default_prefix]
1419 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1422 By default, \`make install' will install all the files in
1423 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1424 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1425 for instance \`--prefix=\$HOME'.
1427 For better control, use the options below.
1429 Fine tuning of the installation directories:
1430 --bindir=DIR user executables [EPREFIX/bin]
1431 --sbindir=DIR system admin executables [EPREFIX/sbin]
1432 --libexecdir=DIR program executables [EPREFIX/libexec]
1433 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1434 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1435 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1436 --libdir=DIR object code libraries [EPREFIX/lib]
1437 --includedir=DIR C header files [PREFIX/include]
1438 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1439 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1440 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1441 --infodir=DIR info documentation [DATAROOTDIR/info]
1442 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1443 --mandir=DIR man documentation [DATAROOTDIR/man]
1444 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1445 --htmldir=DIR html documentation [DOCDIR]
1446 --dvidir=DIR dvi documentation [DOCDIR]
1447 --pdfdir=DIR pdf documentation [DOCDIR]
1448 --psdir=DIR ps documentation [DOCDIR]
1454 --program-prefix=PREFIX prepend PREFIX to installed program names
1455 --program-suffix=SUFFIX append SUFFIX to installed program names
1456 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1459 --build=BUILD configure for building on BUILD [guessed]
1460 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1464 if test -n "$ac_init_help"; then
1469 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1470 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1471 --enable-maintainer-mode enable make rules and dependencies not useful
1472 (and sometimes confusing) to the casual installer
1473 --disable-dependency-tracking speeds up one-time build
1474 --enable-dependency-tracking do not reject slow dependency extractors
1475 --enable-shared[=PKGS] build shared libraries [default=yes]
1476 --enable-static[=PKGS] build static libraries [default=yes]
1477 --enable-fast-install[=PKGS]
1478 optimize for fast installation [default=yes]
1479 --disable-libtool-lock avoid locking (might break parallel builds)
1482 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1483 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1484 --with-pic try to use only PIC/non-PIC objects [default=use
1486 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1488 Some influential environment variables:
1489 CC C compiler command
1490 CFLAGS C compiler flags
1491 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1492 nonstandard directory <lib dir>
1493 LIBS libraries to pass to the linker, e.g. -l<library>
1494 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1495 you have headers in a nonstandard directory <include dir>
1498 Use these variables to override the choices made by `configure' or to help
1499 it to find libraries and programs with nonstandard names/locations.
1505 if test "$ac_init_help" = "recursive"; then
1506 # If there are subdirs, report their specific --help.
1507 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1508 test -d "$ac_dir" || continue
1512 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1514 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1515 # A ".." for each directory in $ac_dir_suffix.
1516 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1517 case $ac_top_builddir_sub in
1518 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1519 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1522 ac_abs_top_builddir=$ac_pwd
1523 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1524 # for backward compatibility:
1525 ac_top_builddir=$ac_top_build_prefix
1528 .) # We are building in place.
1530 ac_top_srcdir=$ac_top_builddir_sub
1531 ac_abs_top_srcdir=$ac_pwd ;;
1532 [\\/]* | ?:[\\/]* ) # Absolute name.
1533 ac_srcdir=$srcdir$ac_dir_suffix;
1534 ac_top_srcdir=$srcdir
1535 ac_abs_top_srcdir=$srcdir ;;
1537 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1538 ac_top_srcdir=$ac_top_build_prefix$srcdir
1539 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1541 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1543 cd "$ac_dir" || { ac_status=$?; continue; }
1544 # Check for guested configure.
1545 if test -f "$ac_srcdir/configure.gnu"; then
1547 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1548 elif test -f "$ac_srcdir/configure"; then
1550 $SHELL "$ac_srcdir/configure" --help=recursive
1552 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1554 cd "$ac_pwd" || { ac_status=$?; break; }
1558 test -n "$ac_init_help" && exit $ac_status
1559 if $ac_init_version; then
1562 generated by GNU Autoconf 2.61
1564 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1565 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1566 This configure script is free software; the Free Software Foundation
1567 gives unlimited permission to copy, distribute and modify it.
1571 cat >config.log <<_ACEOF
1572 This file contains any messages produced by compilers while
1573 running configure, to aid debugging if configure makes a mistake.
1575 It was created by $as_me, which was
1576 generated by GNU Autoconf 2.61. Invocation command line was
1588 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1589 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1590 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1591 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1592 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1594 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1595 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1597 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1598 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1599 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1600 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1601 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1602 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1603 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1611 test -z "$as_dir" && as_dir=.
1612 echo "PATH: $as_dir"
1628 # Keep a trace of the command line.
1629 # Strip out --no-create and --no-recursion so they do not pile up.
1630 # Strip out --silent because we don't want to record it for future runs.
1631 # Also quote any args containing shell meta-characters.
1632 # Make two passes to allow for proper duplicate-argument suppression.
1636 ac_must_keep_next=false
1642 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1643 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1644 | -silent | --silent | --silen | --sile | --sil)
1647 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1650 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1652 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1653 if test $ac_must_keep_next = true; then
1654 ac_must_keep_next=false # Got value, back to normal.
1657 *=* | --config-cache | -C | -disable-* | --disable-* \
1658 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1659 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1660 | -with-* | --with-* | -without-* | --without-* | --x)
1661 case "$ac_configure_args0 " in
1662 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1665 -* ) ac_must_keep_next=true ;;
1668 ac_configure_args="$ac_configure_args '$ac_arg'"
1673 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1674 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1676 # When interrupted or exit'd, cleanup temporary files, and complete
1677 # config.log. We remove comments because anyway the quotes in there
1678 # would cause problems or look ugly.
1679 # WARNING: Use '\'' to represent an apostrophe within the trap.
1680 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1681 trap 'exit_status=$?
1682 # Save into config.log some information that might help in debugging.
1687 ## ---------------- ##
1688 ## Cache variables. ##
1689 ## ---------------- ##
1692 # The following way of writing the cache mishandles newlines in values,
1694 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1695 eval ac_val=\$$ac_var
1699 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1700 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1703 _ | IFS | as_nl) ;; #(
1704 *) $as_unset $ac_var ;;
1709 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1710 *${as_nl}ac_space=\ *)
1712 "s/'\''/'\''\\\\'\'''\''/g;
1713 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1716 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1724 ## ----------------- ##
1725 ## Output variables. ##
1726 ## ----------------- ##
1729 for ac_var in $ac_subst_vars
1731 eval ac_val=\$$ac_var
1733 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1735 echo "$ac_var='\''$ac_val'\''"
1739 if test -n "$ac_subst_files"; then
1741 ## ------------------- ##
1742 ## File substitutions. ##
1743 ## ------------------- ##
1746 for ac_var in $ac_subst_files
1748 eval ac_val=\$$ac_var
1750 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1752 echo "$ac_var='\''$ac_val'\''"
1757 if test -s confdefs.h; then
1767 test "$ac_signal" != 0 &&
1768 echo "$as_me: caught signal $ac_signal"
1769 echo "$as_me: exit $exit_status"
1771 rm -f core *.core core.conftest.* &&
1772 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1775 for ac_signal in 1 2 13 15; do
1776 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1780 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1781 rm -f -r conftest* confdefs.h
1783 # Predefined preprocessor variables.
1785 cat >>confdefs.h <<_ACEOF
1786 #define PACKAGE_NAME "$PACKAGE_NAME"
1790 cat >>confdefs.h <<_ACEOF
1791 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1795 cat >>confdefs.h <<_ACEOF
1796 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1800 cat >>confdefs.h <<_ACEOF
1801 #define PACKAGE_STRING "$PACKAGE_STRING"
1805 cat >>confdefs.h <<_ACEOF
1806 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1810 # Let the site file select an alternate cache file if it wants to.
1811 # Prefer explicitly selected file to automatically selected ones.
1812 if test -n "$CONFIG_SITE"; then
1813 set x "$CONFIG_SITE"
1814 elif test "x$prefix" != xNONE; then
1815 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1817 set x "$ac_default_prefix/share/config.site" \
1818 "$ac_default_prefix/etc/config.site"
1823 if test -r "$ac_site_file"; then
1824 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1825 echo "$as_me: loading site script $ac_site_file" >&6;}
1826 sed 's/^/| /' "$ac_site_file" >&5
1831 if test -r "$cache_file"; then
1832 # Some versions of bash will fail to source /dev/null (special
1833 # files actually), so we avoid doing that.
1834 if test -f "$cache_file"; then
1835 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1836 echo "$as_me: loading cache $cache_file" >&6;}
1838 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1839 *) . "./$cache_file";;
1843 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1844 echo "$as_me: creating cache $cache_file" >&6;}
1848 # Check that the precious variables saved in the cache have kept the same
1850 ac_cache_corrupted=false
1851 for ac_var in $ac_precious_vars; do
1852 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1853 eval ac_new_set=\$ac_env_${ac_var}_set
1854 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1855 eval ac_new_val=\$ac_env_${ac_var}_value
1856 case $ac_old_set,$ac_new_set in
1858 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1859 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1860 ac_cache_corrupted=: ;;
1862 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1863 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1864 ac_cache_corrupted=: ;;
1867 if test "x$ac_old_val" != "x$ac_new_val"; then
1868 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1869 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1870 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1871 echo "$as_me: former value: $ac_old_val" >&2;}
1872 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1873 echo "$as_me: current value: $ac_new_val" >&2;}
1874 ac_cache_corrupted=:
1877 # Pass precious variables to config.status.
1878 if test "$ac_new_set" = set; then
1880 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1881 *) ac_arg=$ac_var=$ac_new_val ;;
1883 case " $ac_configure_args " in
1884 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1885 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1889 if $ac_cache_corrupted; then
1890 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1891 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1892 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1893 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1894 { (exit 1); exit 1; }; }
1914 ac_cpp='$CPP $CPPFLAGS'
1915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1921 am__api_version="1.9"
1923 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; 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 \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1940 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&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 # Find a good install program. We prefer a C program (faster),
1954 # so one script is as good as another. But avoid the broken or
1955 # incompatible versions:
1956 # SysV /etc/install, /usr/sbin/install
1957 # SunOS /usr/etc/install
1958 # IRIX /sbin/install
1960 # AmigaOS /C/install, which installs bootblocks on floppy discs
1961 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1962 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1963 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1964 # OS/2's system install, which has a completely different semantic
1965 # ./install, which can be erroneously created by make from ./install.sh.
1966 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1967 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1968 if test -z "$INSTALL"; then
1969 if test "${ac_cv_path_install+set}" = set; then
1970 echo $ECHO_N "(cached) $ECHO_C" >&6
1972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1976 test -z "$as_dir" && as_dir=.
1977 # Account for people who put trailing slashes in PATH elements.
1979 ./ | .// | /cC/* | \
1980 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1981 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1984 # OSF1 and SCO ODT 3.0 have their own names for install.
1985 # Don't use installbsd from OSF since it installs stuff as root
1987 for ac_prog in ginstall scoinst install; do
1988 for ac_exec_ext in '' $ac_executable_extensions; do
1989 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1990 if test $ac_prog = install &&
1991 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1992 # AIX install. It has an incompatible calling convention.
1994 elif test $ac_prog = install &&
1995 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1996 # program-specific install script used by HP pwplus--don't use.
1999 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2012 if test "${ac_cv_path_install+set}" = set; then
2013 INSTALL=$ac_cv_path_install
2015 # As a last resort, use the slow shell script. Don't cache a
2016 # value for INSTALL within a source directory, because that will
2017 # break other packages using the cache if that directory is
2018 # removed, or if the value is a relative name.
2019 INSTALL=$ac_install_sh
2022 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2023 echo "${ECHO_T}$INSTALL" >&6; }
2025 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2026 # It thinks the first close brace ends the variable substitution.
2027 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2029 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2031 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2033 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2034 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2037 echo timestamp > conftest.file
2038 # Do `set' in a subshell so we don't clobber the current shell's
2039 # arguments. Must try -L first in case configure is actually a
2040 # symlink; some systems play weird games with the mod time of symlinks
2041 # (eg FreeBSD returns the mod time of the symlink's containing
2044 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2045 if test "$*" = "X"; then
2047 set X `ls -t $srcdir/configure conftest.file`
2050 if test "$*" != "X $srcdir/configure conftest.file" \
2051 && test "$*" != "X conftest.file $srcdir/configure"; then
2053 # If neither matched, then we have a broken ls. This can happen
2054 # if, for instance, CONFIG_SHELL is bash and it inherits a
2055 # broken ls alias from the environment. This has actually
2056 # happened. Such a system could not be considered "sane".
2057 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2058 alias in your environment" >&5
2059 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2060 alias in your environment" >&2;}
2061 { (exit 1); exit 1; }; }
2064 test "$2" = conftest.file
2070 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2071 Check your system clock" >&5
2072 echo "$as_me: error: newly created file is older than distributed files!
2073 Check your system clock" >&2;}
2074 { (exit 1); exit 1; }; }
2076 { echo "$as_me:$LINENO: result: yes" >&5
2077 echo "${ECHO_T}yes" >&6; }
2078 test "$program_prefix" != NONE &&
2079 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2080 # Use a double $ so make ignores it.
2081 test "$program_suffix" != NONE &&
2082 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2083 # Double any \ or $. echo might interpret backslashes.
2084 # By default was `s,x,x', remove it if useless.
2085 cat <<\_ACEOF >conftest.sed
2086 s/[\\$]/&&/g;s/;s,x,x,$//
2088 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2091 # expand $ac_aux_dir to an absolute path
2092 am_aux_dir=`cd $ac_aux_dir && pwd`
2094 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2095 # Use eval to expand $SHELL
2096 if eval "$MISSING --run true"; then
2097 am_missing_run="$MISSING --run "
2100 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2101 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2104 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2105 # We used to keeping the `.' as first argument, in order to
2106 # allow $(mkdir_p) to be used without argument. As in
2107 # $(mkdir_p) $(somedir)
2108 # where $(somedir) is conditionally defined. However this is wrong
2110 # 1. if the package is installed by a user who cannot write `.'
2111 # make install will fail,
2112 # 2. the above comment should most certainly read
2113 # $(mkdir_p) $(DESTDIR)$(somedir)
2114 # so it does not work when $(somedir) is undefined and
2115 # $(DESTDIR) is not.
2116 # To support the latter case, we have to write
2117 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2118 # so the `.' trick is pointless.
2119 mkdir_p='mkdir -p --'
2121 # On NextStep and OpenStep, the `mkdir' command does not
2122 # recognize any option. It will interpret all options as
2123 # directories to create, and then abort because `.' already
2125 for d in ./-p ./--version;
2127 test -d $d && rmdir $d
2129 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2130 if test -f "$ac_aux_dir/mkinstalldirs"; then
2131 mkdir_p='$(mkinstalldirs)'
2133 mkdir_p='$(install_sh) -d'
2137 for ac_prog in gawk mawk nawk awk
2139 # Extract the first word of "$ac_prog", so it can be a program name with args.
2140 set dummy $ac_prog; ac_word=$2
2141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2143 if test "${ac_cv_prog_AWK+set}" = set; then
2144 echo $ECHO_N "(cached) $ECHO_C" >&6
2146 if test -n "$AWK"; then
2147 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2153 test -z "$as_dir" && as_dir=.
2154 for ac_exec_ext in '' $ac_executable_extensions; do
2155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2156 ac_cv_prog_AWK="$ac_prog"
2157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2167 if test -n "$AWK"; then
2168 { echo "$as_me:$LINENO: result: $AWK" >&5
2169 echo "${ECHO_T}$AWK" >&6; }
2171 { echo "$as_me:$LINENO: result: no" >&5
2172 echo "${ECHO_T}no" >&6; }
2176 test -n "$AWK" && break
2179 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2180 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2181 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2182 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2183 echo $ECHO_N "(cached) $ECHO_C" >&6
2185 cat >conftest.make <<\_ACEOF
2188 @echo '@@@%%%=$(MAKE)=@@@%%%'
2190 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2191 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2193 eval ac_cv_prog_make_${ac_make}_set=yes;;
2195 eval ac_cv_prog_make_${ac_make}_set=no;;
2199 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2200 { echo "$as_me:$LINENO: result: yes" >&5
2201 echo "${ECHO_T}yes" >&6; }
2204 { echo "$as_me:$LINENO: result: no" >&5
2205 echo "${ECHO_T}no" >&6; }
2206 SET_MAKE="MAKE=${MAKE-make}"
2209 rm -rf .tst 2>/dev/null
2210 mkdir .tst 2>/dev/null
2211 if test -d .tst; then
2216 rmdir .tst 2>/dev/null
2218 # test to see if srcdir already configured
2219 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2220 test -f $srcdir/config.status; then
2221 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2222 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2223 { (exit 1); exit 1; }; }
2226 # test whether we have cygpath
2227 if test -z "$CYGPATH_W"; then
2228 if (cygpath --version) >/dev/null 2>/dev/null; then
2229 CYGPATH_W='cygpath -w'
2236 # Define the identity of the package.
2241 cat >>confdefs.h <<_ACEOF
2242 #define PACKAGE "$PACKAGE"
2246 cat >>confdefs.h <<_ACEOF
2247 #define VERSION "$VERSION"
2250 # Some tools Automake needs.
2252 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2255 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2258 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2261 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2264 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2266 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2268 # Installed binaries are usually stripped using `strip' when the user
2269 # run `make install-strip'. However `strip' might not be the right
2270 # tool to use in cross-compilation environments, therefore Automake
2271 # will honor the `STRIP' environment variable to overrule this program.
2272 if test "$cross_compiling" != no; then
2273 if test -n "$ac_tool_prefix"; then
2274 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2275 set dummy ${ac_tool_prefix}strip; ac_word=$2
2276 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2278 if test "${ac_cv_prog_STRIP+set}" = set; then
2279 echo $ECHO_N "(cached) $ECHO_C" >&6
2281 if test -n "$STRIP"; then
2282 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2288 test -z "$as_dir" && as_dir=.
2289 for ac_exec_ext in '' $ac_executable_extensions; do
2290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2291 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2301 STRIP=$ac_cv_prog_STRIP
2302 if test -n "$STRIP"; then
2303 { echo "$as_me:$LINENO: result: $STRIP" >&5
2304 echo "${ECHO_T}$STRIP" >&6; }
2306 { echo "$as_me:$LINENO: result: no" >&5
2307 echo "${ECHO_T}no" >&6; }
2312 if test -z "$ac_cv_prog_STRIP"; then
2314 # Extract the first word of "strip", so it can be a program name with args.
2315 set dummy strip; ac_word=$2
2316 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2318 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2319 echo $ECHO_N "(cached) $ECHO_C" >&6
2321 if test -n "$ac_ct_STRIP"; then
2322 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2328 test -z "$as_dir" && as_dir=.
2329 for ac_exec_ext in '' $ac_executable_extensions; do
2330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2331 ac_cv_prog_ac_ct_STRIP="strip"
2332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2341 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2342 if test -n "$ac_ct_STRIP"; then
2343 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2344 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2346 { echo "$as_me:$LINENO: result: no" >&5
2347 echo "${ECHO_T}no" >&6; }
2350 if test "x$ac_ct_STRIP" = x; then
2353 case $cross_compiling:$ac_tool_warned in
2355 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2356 whose name does not start with the host triplet. If you think this
2357 configuration is useful to you, please write to autoconf@gnu.org." >&5
2358 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2359 whose name does not start with the host triplet. If you think this
2360 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2361 ac_tool_warned=yes ;;
2366 STRIP="$ac_cv_prog_STRIP"
2370 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2372 # We need awk for the "check" target. The system "awk" is bad on
2374 # Always define AMTAR for backward compatibility.
2376 AMTAR=${AMTAR-"${am_missing_run}tar"}
2378 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2384 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2385 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2386 # Check whether --enable-maintainer-mode was given.
2387 if test "${enable_maintainer_mode+set}" = set; then
2388 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2390 USE_MAINTAINER_MODE=no
2393 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2394 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2397 if test $USE_MAINTAINER_MODE = yes; then
2398 MAINTAINER_MODE_TRUE=
2399 MAINTAINER_MODE_FALSE='#'
2401 MAINTAINER_MODE_TRUE='#'
2402 MAINTAINER_MODE_FALSE=
2405 MAINT=$MAINTAINER_MODE_TRUE
2418 ac_cpp='$CPP $CPPFLAGS'
2419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2422 if test -n "$ac_tool_prefix"; then
2423 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2424 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2427 if test "${ac_cv_prog_CC+set}" = set; then
2428 echo $ECHO_N "(cached) $ECHO_C" >&6
2430 if test -n "$CC"; then
2431 ac_cv_prog_CC="$CC" # Let the user override the test.
2433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2437 test -z "$as_dir" && as_dir=.
2438 for ac_exec_ext in '' $ac_executable_extensions; do
2439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2440 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2451 if test -n "$CC"; then
2452 { echo "$as_me:$LINENO: result: $CC" >&5
2453 echo "${ECHO_T}$CC" >&6; }
2455 { echo "$as_me:$LINENO: result: no" >&5
2456 echo "${ECHO_T}no" >&6; }
2461 if test -z "$ac_cv_prog_CC"; then
2463 # Extract the first word of "gcc", so it can be a program name with args.
2464 set dummy gcc; ac_word=$2
2465 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2467 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2468 echo $ECHO_N "(cached) $ECHO_C" >&6
2470 if test -n "$ac_ct_CC"; then
2471 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2477 test -z "$as_dir" && as_dir=.
2478 for ac_exec_ext in '' $ac_executable_extensions; do
2479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2480 ac_cv_prog_ac_ct_CC="gcc"
2481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2490 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2491 if test -n "$ac_ct_CC"; then
2492 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2493 echo "${ECHO_T}$ac_ct_CC" >&6; }
2495 { echo "$as_me:$LINENO: result: no" >&5
2496 echo "${ECHO_T}no" >&6; }
2499 if test "x$ac_ct_CC" = x; then
2502 case $cross_compiling:$ac_tool_warned in
2504 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2505 whose name does not start with the host triplet. If you think this
2506 configuration is useful to you, please write to autoconf@gnu.org." >&5
2507 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2508 whose name does not start with the host triplet. If you think this
2509 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2510 ac_tool_warned=yes ;;
2518 if test -z "$CC"; then
2519 if test -n "$ac_tool_prefix"; then
2520 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2521 set dummy ${ac_tool_prefix}cc; ac_word=$2
2522 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2524 if test "${ac_cv_prog_CC+set}" = set; then
2525 echo $ECHO_N "(cached) $ECHO_C" >&6
2527 if test -n "$CC"; then
2528 ac_cv_prog_CC="$CC" # Let the user override the test.
2530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2534 test -z "$as_dir" && as_dir=.
2535 for ac_exec_ext in '' $ac_executable_extensions; do
2536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2537 ac_cv_prog_CC="${ac_tool_prefix}cc"
2538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2548 if test -n "$CC"; then
2549 { echo "$as_me:$LINENO: result: $CC" >&5
2550 echo "${ECHO_T}$CC" >&6; }
2552 { echo "$as_me:$LINENO: result: no" >&5
2553 echo "${ECHO_T}no" >&6; }
2559 if test -z "$CC"; then
2560 # Extract the first word of "cc", so it can be a program name with args.
2561 set dummy cc; ac_word=$2
2562 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2564 if test "${ac_cv_prog_CC+set}" = set; then
2565 echo $ECHO_N "(cached) $ECHO_C" >&6
2567 if test -n "$CC"; then
2568 ac_cv_prog_CC="$CC" # Let the user override the test.
2571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2575 test -z "$as_dir" && as_dir=.
2576 for ac_exec_ext in '' $ac_executable_extensions; do
2577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2578 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2579 ac_prog_rejected=yes
2583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2590 if test $ac_prog_rejected = yes; then
2591 # We found a bogon in the path, so make sure we never use it.
2592 set dummy $ac_cv_prog_CC
2594 if test $# != 0; then
2595 # We chose a different compiler from the bogus one.
2596 # However, it has the same basename, so the bogon will be chosen
2597 # first if we set CC to just the basename; use the full file name.
2599 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2605 if test -n "$CC"; then
2606 { echo "$as_me:$LINENO: result: $CC" >&5
2607 echo "${ECHO_T}$CC" >&6; }
2609 { echo "$as_me:$LINENO: result: no" >&5
2610 echo "${ECHO_T}no" >&6; }
2615 if test -z "$CC"; then
2616 if test -n "$ac_tool_prefix"; then
2617 for ac_prog in cl.exe
2619 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2620 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2621 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2623 if test "${ac_cv_prog_CC+set}" = set; then
2624 echo $ECHO_N "(cached) $ECHO_C" >&6
2626 if test -n "$CC"; then
2627 ac_cv_prog_CC="$CC" # Let the user override the test.
2629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2633 test -z "$as_dir" && as_dir=.
2634 for ac_exec_ext in '' $ac_executable_extensions; do
2635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2636 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2647 if test -n "$CC"; then
2648 { echo "$as_me:$LINENO: result: $CC" >&5
2649 echo "${ECHO_T}$CC" >&6; }
2651 { echo "$as_me:$LINENO: result: no" >&5
2652 echo "${ECHO_T}no" >&6; }
2656 test -n "$CC" && break
2659 if test -z "$CC"; then
2661 for ac_prog in cl.exe
2663 # Extract the first word of "$ac_prog", so it can be a program name with args.
2664 set dummy $ac_prog; ac_word=$2
2665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2667 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2668 echo $ECHO_N "(cached) $ECHO_C" >&6
2670 if test -n "$ac_ct_CC"; then
2671 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2677 test -z "$as_dir" && as_dir=.
2678 for ac_exec_ext in '' $ac_executable_extensions; do
2679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2680 ac_cv_prog_ac_ct_CC="$ac_prog"
2681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2690 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2691 if test -n "$ac_ct_CC"; then
2692 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2693 echo "${ECHO_T}$ac_ct_CC" >&6; }
2695 { echo "$as_me:$LINENO: result: no" >&5
2696 echo "${ECHO_T}no" >&6; }
2700 test -n "$ac_ct_CC" && break
2703 if test "x$ac_ct_CC" = x; then
2706 case $cross_compiling:$ac_tool_warned in
2708 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2709 whose name does not start with the host triplet. If you think this
2710 configuration is useful to you, please write to autoconf@gnu.org." >&5
2711 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2712 whose name does not start with the host triplet. If you think this
2713 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2714 ac_tool_warned=yes ;;
2723 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2724 See \`config.log' for more details." >&5
2725 echo "$as_me: error: no acceptable C compiler found in \$PATH
2726 See \`config.log' for more details." >&2;}
2727 { (exit 1); exit 1; }; }
2729 # Provide some information about the compiler.
2730 echo "$as_me:$LINENO: checking for C compiler version" >&5
2731 ac_compiler=`set X $ac_compile; echo $2`
2732 { (ac_try="$ac_compiler --version >&5"
2734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2735 *) ac_try_echo=$ac_try;;
2737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2738 (eval "$ac_compiler --version >&5") 2>&5
2740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741 (exit $ac_status); }
2742 { (ac_try="$ac_compiler -v >&5"
2744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2745 *) ac_try_echo=$ac_try;;
2747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2748 (eval "$ac_compiler -v >&5") 2>&5
2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); }
2752 { (ac_try="$ac_compiler -V >&5"
2754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2755 *) ac_try_echo=$ac_try;;
2757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2758 (eval "$ac_compiler -V >&5") 2>&5
2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); }
2763 cat >conftest.$ac_ext <<_ACEOF
2766 cat confdefs.h >>conftest.$ac_ext
2767 cat >>conftest.$ac_ext <<_ACEOF
2768 /* end confdefs.h. */
2778 ac_clean_files_save=$ac_clean_files
2779 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2780 # Try to create an executable without -o first, disregard a.out.
2781 # It will help us diagnose broken compilers, and finding out an intuition
2783 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2784 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2785 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2787 # List of possible output files, starting from the most likely.
2788 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2789 # only as a last resort. b.out is created by i960 compilers.
2790 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2792 # The IRIX 6 linker writes into existing files which may not be
2793 # executable, retaining their permissions. Remove them first so a
2794 # subsequent execution test works.
2796 for ac_file in $ac_files
2799 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2800 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2805 if { (ac_try="$ac_link_default"
2807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2808 *) ac_try_echo=$ac_try;;
2810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2811 (eval "$ac_link_default") 2>&5
2813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2814 (exit $ac_status); }; then
2815 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2816 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2817 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2818 # so that the user can short-circuit this test for compilers unknown to
2820 for ac_file in $ac_files ''
2822 test -f "$ac_file" || continue
2824 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2827 # We found the default executable, but exeext='' is most
2831 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2833 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2835 # We set ac_cv_exeext here because the later test for it is not
2836 # safe: cross compilers may not add the suffix if given an `-o'
2837 # argument, so we may need to know it at that point already.
2838 # Even if this section looks crufty: it has the advantage of
2845 test "$ac_cv_exeext" = no && ac_cv_exeext=
2851 { echo "$as_me:$LINENO: result: $ac_file" >&5
2852 echo "${ECHO_T}$ac_file" >&6; }
2853 if test -z "$ac_file"; then
2854 echo "$as_me: failed program was:" >&5
2855 sed 's/^/| /' conftest.$ac_ext >&5
2857 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2858 See \`config.log' for more details." >&5
2859 echo "$as_me: error: C compiler cannot create executables
2860 See \`config.log' for more details." >&2;}
2861 { (exit 77); exit 77; }; }
2864 ac_exeext=$ac_cv_exeext
2866 # Check that the compiler produces executables we can run. If not, either
2867 # the compiler is broken, or we cross compile.
2868 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2869 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2870 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2871 # If not cross compiling, check that we can run a simple program.
2872 if test "$cross_compiling" != yes; then
2873 if { ac_try='./$ac_file'
2874 { (case "(($ac_try" in
2875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2876 *) ac_try_echo=$ac_try;;
2878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2879 (eval "$ac_try") 2>&5
2881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882 (exit $ac_status); }; }; then
2885 if test "$cross_compiling" = maybe; then
2888 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2889 If you meant to cross compile, use \`--host'.
2890 See \`config.log' for more details." >&5
2891 echo "$as_me: error: cannot run C compiled programs.
2892 If you meant to cross compile, use \`--host'.
2893 See \`config.log' for more details." >&2;}
2894 { (exit 1); exit 1; }; }
2898 { echo "$as_me:$LINENO: result: yes" >&5
2899 echo "${ECHO_T}yes" >&6; }
2901 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2902 ac_clean_files=$ac_clean_files_save
2903 # Check that the compiler produces executables we can run. If not, either
2904 # the compiler is broken, or we cross compile.
2905 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2906 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2907 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2908 echo "${ECHO_T}$cross_compiling" >&6; }
2910 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2911 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2912 if { (ac_try="$ac_link"
2914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2915 *) ac_try_echo=$ac_try;;
2917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2918 (eval "$ac_link") 2>&5
2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); }; then
2922 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2923 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2924 # work properly (i.e., refer to `conftest.exe'), while it won't with
2926 for ac_file in conftest.exe conftest conftest.*; do
2927 test -f "$ac_file" || continue
2929 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2930 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2936 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2937 See \`config.log' for more details." >&5
2938 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2939 See \`config.log' for more details." >&2;}
2940 { (exit 1); exit 1; }; }
2943 rm -f conftest$ac_cv_exeext
2944 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2945 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2947 rm -f conftest.$ac_ext
2948 EXEEXT=$ac_cv_exeext
2950 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2951 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2952 if test "${ac_cv_objext+set}" = set; then
2953 echo $ECHO_N "(cached) $ECHO_C" >&6
2955 cat >conftest.$ac_ext <<_ACEOF
2958 cat confdefs.h >>conftest.$ac_ext
2959 cat >>conftest.$ac_ext <<_ACEOF
2960 /* end confdefs.h. */
2970 rm -f conftest.o conftest.obj
2971 if { (ac_try="$ac_compile"
2973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2974 *) ac_try_echo=$ac_try;;
2976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2977 (eval "$ac_compile") 2>&5
2979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980 (exit $ac_status); }; then
2981 for ac_file in conftest.o conftest.obj conftest.*; do
2982 test -f "$ac_file" || continue;
2984 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2985 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2990 echo "$as_me: failed program was:" >&5
2991 sed 's/^/| /' conftest.$ac_ext >&5
2993 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2994 See \`config.log' for more details." >&5
2995 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2996 See \`config.log' for more details." >&2;}
2997 { (exit 1); exit 1; }; }
3000 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3002 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3003 echo "${ECHO_T}$ac_cv_objext" >&6; }
3004 OBJEXT=$ac_cv_objext
3006 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3007 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3008 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3009 echo $ECHO_N "(cached) $ECHO_C" >&6
3011 cat >conftest.$ac_ext <<_ACEOF
3014 cat confdefs.h >>conftest.$ac_ext
3015 cat >>conftest.$ac_ext <<_ACEOF
3016 /* end confdefs.h. */
3029 rm -f conftest.$ac_objext
3030 if { (ac_try="$ac_compile"
3032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3033 *) ac_try_echo=$ac_try;;
3035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3036 (eval "$ac_compile") 2>conftest.er1
3038 grep -v '^ *+' conftest.er1 >conftest.err
3040 cat conftest.err >&5
3041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3042 (exit $ac_status); } && {
3043 test -z "$ac_c_werror_flag" ||
3044 test ! -s conftest.err
3045 } && test -s conftest.$ac_objext; then
3048 echo "$as_me: failed program was:" >&5
3049 sed 's/^/| /' conftest.$ac_ext >&5
3054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3055 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3058 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3059 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3060 GCC=`test $ac_compiler_gnu = yes && echo yes`
3061 ac_test_CFLAGS=${CFLAGS+set}
3062 ac_save_CFLAGS=$CFLAGS
3063 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3064 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3065 if test "${ac_cv_prog_cc_g+set}" = set; then
3066 echo $ECHO_N "(cached) $ECHO_C" >&6
3068 ac_save_c_werror_flag=$ac_c_werror_flag
3069 ac_c_werror_flag=yes
3072 cat >conftest.$ac_ext <<_ACEOF
3075 cat confdefs.h >>conftest.$ac_ext
3076 cat >>conftest.$ac_ext <<_ACEOF
3077 /* end confdefs.h. */
3087 rm -f conftest.$ac_objext
3088 if { (ac_try="$ac_compile"
3090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3091 *) ac_try_echo=$ac_try;;
3093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3094 (eval "$ac_compile") 2>conftest.er1
3096 grep -v '^ *+' conftest.er1 >conftest.err
3098 cat conftest.err >&5
3099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100 (exit $ac_status); } && {
3101 test -z "$ac_c_werror_flag" ||
3102 test ! -s conftest.err
3103 } && test -s conftest.$ac_objext; then
3106 echo "$as_me: failed program was:" >&5
3107 sed 's/^/| /' conftest.$ac_ext >&5
3110 cat >conftest.$ac_ext <<_ACEOF
3113 cat confdefs.h >>conftest.$ac_ext
3114 cat >>conftest.$ac_ext <<_ACEOF
3115 /* end confdefs.h. */
3125 rm -f conftest.$ac_objext
3126 if { (ac_try="$ac_compile"
3128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3129 *) ac_try_echo=$ac_try;;
3131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3132 (eval "$ac_compile") 2>conftest.er1
3134 grep -v '^ *+' conftest.er1 >conftest.err
3136 cat conftest.err >&5
3137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3138 (exit $ac_status); } && {
3139 test -z "$ac_c_werror_flag" ||
3140 test ! -s conftest.err
3141 } && test -s conftest.$ac_objext; then
3144 echo "$as_me: failed program was:" >&5
3145 sed 's/^/| /' conftest.$ac_ext >&5
3147 ac_c_werror_flag=$ac_save_c_werror_flag
3149 cat >conftest.$ac_ext <<_ACEOF
3152 cat confdefs.h >>conftest.$ac_ext
3153 cat >>conftest.$ac_ext <<_ACEOF
3154 /* end confdefs.h. */
3164 rm -f conftest.$ac_objext
3165 if { (ac_try="$ac_compile"
3167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3168 *) ac_try_echo=$ac_try;;
3170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3171 (eval "$ac_compile") 2>conftest.er1
3173 grep -v '^ *+' conftest.er1 >conftest.err
3175 cat conftest.err >&5
3176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177 (exit $ac_status); } && {
3178 test -z "$ac_c_werror_flag" ||
3179 test ! -s conftest.err
3180 } && test -s conftest.$ac_objext; then
3183 echo "$as_me: failed program was:" >&5
3184 sed 's/^/| /' conftest.$ac_ext >&5
3189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3196 ac_c_werror_flag=$ac_save_c_werror_flag
3198 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3199 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3200 if test "$ac_test_CFLAGS" = set; then
3201 CFLAGS=$ac_save_CFLAGS
3202 elif test $ac_cv_prog_cc_g = yes; then
3203 if test "$GCC" = yes; then
3209 if test "$GCC" = yes; then
3215 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3216 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3217 if test "${ac_cv_prog_cc_c89+set}" = set; then
3218 echo $ECHO_N "(cached) $ECHO_C" >&6
3220 ac_cv_prog_cc_c89=no
3222 cat >conftest.$ac_ext <<_ACEOF
3225 cat confdefs.h >>conftest.$ac_ext
3226 cat >>conftest.$ac_ext <<_ACEOF
3227 /* end confdefs.h. */
3230 #include <sys/types.h>
3231 #include <sys/stat.h>
3232 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3233 struct buf { int x; };
3234 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3235 static char *e (p, i)
3241 static char *f (char * (*g) (char **, int), char **p, ...)
3246 s = g (p, va_arg (v,int));
3251 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3252 function prototypes and stuff, but not '\xHH' hex character constants.
3253 These don't provoke an error unfortunately, instead are silently treated
3254 as 'x'. The following induces an error, until -std is added to get
3255 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3256 array size at least. It's necessary to write '\x00'==0 to get something
3257 that's true only with -std. */
3258 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3260 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3261 inside strings and character constants. */
3263 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3265 int test (int i, double x);
3266 struct s1 {int (*f) (int a);};
3267 struct s2 {int (*f) (double a);};
3268 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3274 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3279 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3280 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3282 CC="$ac_save_CC $ac_arg"
3283 rm -f conftest.$ac_objext
3284 if { (ac_try="$ac_compile"
3286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3287 *) ac_try_echo=$ac_try;;
3289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3290 (eval "$ac_compile") 2>conftest.er1
3292 grep -v '^ *+' conftest.er1 >conftest.err
3294 cat conftest.err >&5
3295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296 (exit $ac_status); } && {
3297 test -z "$ac_c_werror_flag" ||
3298 test ! -s conftest.err
3299 } && test -s conftest.$ac_objext; then
3300 ac_cv_prog_cc_c89=$ac_arg
3302 echo "$as_me: failed program was:" >&5
3303 sed 's/^/| /' conftest.$ac_ext >&5
3308 rm -f core conftest.err conftest.$ac_objext
3309 test "x$ac_cv_prog_cc_c89" != "xno" && break
3311 rm -f conftest.$ac_ext
3316 case "x$ac_cv_prog_cc_c89" in
3318 { echo "$as_me:$LINENO: result: none needed" >&5
3319 echo "${ECHO_T}none needed" >&6; } ;;
3321 { echo "$as_me:$LINENO: result: unsupported" >&5
3322 echo "${ECHO_T}unsupported" >&6; } ;;
3324 CC="$CC $ac_cv_prog_cc_c89"
3325 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3326 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3331 ac_cpp='$CPP $CPPFLAGS'
3332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3335 DEPDIR="${am__leading_dot}deps"
3337 ac_config_commands="$ac_config_commands depfiles"
3340 am_make=${MAKE-make}
3341 cat > confinc << 'END'
3346 # If we don't find an include directive, just comment out the code.
3347 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3348 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3352 # First try GNU make style include.
3353 echo "include confinc" > confmf
3354 # We grep out `Entering directory' and `Leaving directory'
3355 # messages which can occur if `w' ends up in MAKEFLAGS.
3356 # In particular we don't look at `^make:' because GNU make might
3357 # be invoked under some other name (usually "gmake"), in which
3358 # case it prints its new name instead of `make'.
3359 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3364 # Now try BSD make style include.
3365 if test "$am__include" = "#"; then
3366 echo '.include "confinc"' > confmf
3367 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3368 am__include=.include
3375 { echo "$as_me:$LINENO: result: $_am_result" >&5
3376 echo "${ECHO_T}$_am_result" >&6; }
3377 rm -f confinc confmf
3379 # Check whether --enable-dependency-tracking was given.
3380 if test "${enable_dependency_tracking+set}" = set; then
3381 enableval=$enable_dependency_tracking;
3384 if test "x$enable_dependency_tracking" != xno; then
3385 am_depcomp="$ac_aux_dir/depcomp"
3390 if test "x$enable_dependency_tracking" != xno; then
3401 depcc="$CC" am_compiler_list=
3403 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3404 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3405 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3406 echo $ECHO_N "(cached) $ECHO_C" >&6
3408 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3409 # We make a subdir and do the tests there. Otherwise we can end up
3410 # making bogus files that we don't know about and never remove. For
3411 # instance it was reported that on HP-UX the gcc test will end up
3412 # making a dummy file named `D' -- because `-MD' means `put the output
3415 # Copy depcomp to subdir because otherwise we won't find it if we're
3416 # using a relative directory.
3417 cp "$am_depcomp" conftest.dir
3419 # We will build objects and dependencies in a subdirectory because
3420 # it helps to detect inapplicable dependency modes. For instance
3421 # both Tru64's cc and ICC support -MD to output dependencies as a
3422 # side effect of compilation, but ICC will put the dependencies in
3423 # the current directory while Tru64 will put them in the object
3427 am_cv_CC_dependencies_compiler_type=none
3428 if test "$am_compiler_list" = ""; then
3429 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3431 for depmode in $am_compiler_list; do
3432 # Setup a source with many dependencies, because some compilers
3433 # like to wrap large dependency lists on column 80 (with \), and
3434 # we should not choose a depcomp mode which is confused by this.
3436 # We need to recreate these files for each test, as the compiler may
3437 # overwrite some of them when testing with obscure command lines.
3438 # This happens at least with the AIX C compiler.
3440 for i in 1 2 3 4 5 6; do
3441 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3442 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3443 # Solaris 8's {/usr,}/bin/sh.
3444 touch sub/conftst$i.h
3446 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3450 # after this tag, mechanisms are not by side-effect, so they'll
3451 # only be used when explicitly requested
3452 if test "x$enable_dependency_tracking" = xyes; then
3460 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3461 # mode. It turns out that the SunPro C++ compiler does not properly
3462 # handle `-M -o', and we need to detect this.
3463 if depmode=$depmode \
3464 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3465 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3466 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3467 >/dev/null 2>conftest.err &&
3468 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3469 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3470 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3471 # icc doesn't choke on unknown options, it will just issue warnings
3472 # or remarks (even with -Werror). So we grep stderr for any message
3473 # that says an option was ignored or not supported.
3474 # When given -MP, icc 7.0 and 7.1 complain thusly:
3475 # icc: Command line warning: ignoring option '-M'; no argument required
3476 # The diagnosis changed in icc 8.0:
3477 # icc: Command line remark: option '-MP' not supported
3478 if (grep 'ignoring option' conftest.err ||
3479 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3480 am_cv_CC_dependencies_compiler_type=$depmode
3489 am_cv_CC_dependencies_compiler_type=none
3493 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3494 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3495 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3500 test "x$enable_dependency_tracking" != xno \
3501 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3503 am__fastdepCC_FALSE='#'
3505 am__fastdepCC_TRUE='#'
3506 am__fastdepCC_FALSE=
3512 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3513 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3518 macro_version='2.2.6'
3519 macro_revision='1.3012'
3533 ltmain="$ac_aux_dir/ltmain.sh"
3535 # Make sure we can run config.sub.
3536 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3537 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3538 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3539 { (exit 1); exit 1; }; }
3541 { echo "$as_me:$LINENO: checking build system type" >&5
3542 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3543 if test "${ac_cv_build+set}" = set; then
3544 echo $ECHO_N "(cached) $ECHO_C" >&6
3546 ac_build_alias=$build_alias
3547 test "x$ac_build_alias" = x &&
3548 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3549 test "x$ac_build_alias" = x &&
3550 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3551 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3552 { (exit 1); exit 1; }; }
3553 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3554 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3555 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3556 { (exit 1); exit 1; }; }
3559 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3560 echo "${ECHO_T}$ac_cv_build" >&6; }
3561 case $ac_cv_build in
3563 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3564 echo "$as_me: error: invalid value of canonical build" >&2;}
3565 { (exit 1); exit 1; }; };;
3568 ac_save_IFS=$IFS; IFS='-'
3574 # Remember, the first character of IFS is used to create $*,
3575 # except with old shells:
3578 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3581 { echo "$as_me:$LINENO: checking host system type" >&5
3582 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3583 if test "${ac_cv_host+set}" = set; then
3584 echo $ECHO_N "(cached) $ECHO_C" >&6
3586 if test "x$host_alias" = x; then
3587 ac_cv_host=$ac_cv_build
3589 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3590 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3591 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3592 { (exit 1); exit 1; }; }
3596 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3597 echo "${ECHO_T}$ac_cv_host" >&6; }
3600 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3601 echo "$as_me: error: invalid value of canonical host" >&2;}
3602 { (exit 1); exit 1; }; };;
3605 ac_save_IFS=$IFS; IFS='-'
3611 # Remember, the first character of IFS is used to create $*,
3612 # except with old shells:
3615 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3618 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3619 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3620 if test "${ac_cv_path_SED+set}" = set; then
3621 echo $ECHO_N "(cached) $ECHO_C" >&6
3623 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3624 for ac_i in 1 2 3 4 5 6 7; do
3625 ac_script="$ac_script$as_nl$ac_script"
3627 echo "$ac_script" | sed 99q >conftest.sed
3628 $as_unset ac_script || ac_script=
3629 # Extract the first word of "sed gsed" to use in msg output
3630 if test -z "$SED"; then
3631 set dummy sed gsed; ac_prog_name=$2
3632 if test "${ac_cv_path_SED+set}" = set; then
3633 echo $ECHO_N "(cached) $ECHO_C" >&6
3635 ac_path_SED_found=false
3636 # Loop through the user's path and test for each of PROGNAME-LIST
3637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3641 test -z "$as_dir" && as_dir=.
3642 for ac_prog in sed gsed; do
3643 for ac_exec_ext in '' $ac_executable_extensions; do
3644 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3645 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3646 # Check for GNU ac_path_SED and select it if it is found.
3647 # Check for GNU $ac_path_SED
3648 case `"$ac_path_SED" --version 2>&1` in
3650 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3653 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3656 cat "conftest.in" "conftest.in" >"conftest.tmp"
3657 mv "conftest.tmp" "conftest.in"
3658 cp "conftest.in" "conftest.nl"
3659 echo '' >> "conftest.nl"
3660 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3661 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3662 ac_count=`expr $ac_count + 1`
3663 if test $ac_count -gt ${ac_path_SED_max-0}; then
3664 # Best one so far, save it but keep looking for a better one
3665 ac_cv_path_SED="$ac_path_SED"
3666 ac_path_SED_max=$ac_count
3668 # 10*(2^10) chars as input seems more than enough
3669 test $ac_count -gt 10 && break
3671 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3675 $ac_path_SED_found && break 3
3685 SED="$ac_cv_path_SED"
3686 if test -z "$SED"; then
3687 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
3688 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
3689 { (exit 1); exit 1; }; }
3697 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3698 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
3699 SED="$ac_cv_path_SED"
3702 test -z "$SED" && SED=sed
3703 Xsed="$SED -e 1s/^X//"
3715 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3716 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3717 if test "${ac_cv_path_GREP+set}" = set; then
3718 echo $ECHO_N "(cached) $ECHO_C" >&6
3720 # Extract the first word of "grep ggrep" to use in msg output
3721 if test -z "$GREP"; then
3722 set dummy grep ggrep; ac_prog_name=$2
3723 if test "${ac_cv_path_GREP+set}" = set; then
3724 echo $ECHO_N "(cached) $ECHO_C" >&6
3726 ac_path_GREP_found=false
3727 # Loop through the user's path and test for each of PROGNAME-LIST
3728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3729 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3732 test -z "$as_dir" && as_dir=.
3733 for ac_prog in grep ggrep; do
3734 for ac_exec_ext in '' $ac_executable_extensions; do
3735 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3736 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3737 # Check for GNU ac_path_GREP and select it if it is found.
3738 # Check for GNU $ac_path_GREP
3739 case `"$ac_path_GREP" --version 2>&1` in
3741 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3744 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3747 cat "conftest.in" "conftest.in" >"conftest.tmp"
3748 mv "conftest.tmp" "conftest.in"
3749 cp "conftest.in" "conftest.nl"
3750 echo 'GREP' >> "conftest.nl"
3751 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3752 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3753 ac_count=`expr $ac_count + 1`
3754 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3755 # Best one so far, save it but keep looking for a better one
3756 ac_cv_path_GREP="$ac_path_GREP"
3757 ac_path_GREP_max=$ac_count
3759 # 10*(2^10) chars as input seems more than enough
3760 test $ac_count -gt 10 && break
3762 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3766 $ac_path_GREP_found && break 3
3776 GREP="$ac_cv_path_GREP"
3777 if test -z "$GREP"; then
3778 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3779 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3780 { (exit 1); exit 1; }; }
3784 ac_cv_path_GREP=$GREP
3789 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3790 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3791 GREP="$ac_cv_path_GREP"
3794 { echo "$as_me:$LINENO: checking for egrep" >&5
3795 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3796 if test "${ac_cv_path_EGREP+set}" = set; then
3797 echo $ECHO_N "(cached) $ECHO_C" >&6
3799 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3800 then ac_cv_path_EGREP="$GREP -E"
3802 # Extract the first word of "egrep" to use in msg output
3803 if test -z "$EGREP"; then
3804 set dummy egrep; ac_prog_name=$2
3805 if test "${ac_cv_path_EGREP+set}" = set; then
3806 echo $ECHO_N "(cached) $ECHO_C" >&6
3808 ac_path_EGREP_found=false
3809 # Loop through the user's path and test for each of PROGNAME-LIST
3810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3811 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3814 test -z "$as_dir" && as_dir=.
3815 for ac_prog in egrep; do
3816 for ac_exec_ext in '' $ac_executable_extensions; do
3817 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3818 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3819 # Check for GNU ac_path_EGREP and select it if it is found.
3820 # Check for GNU $ac_path_EGREP
3821 case `"$ac_path_EGREP" --version 2>&1` in
3823 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3826 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3829 cat "conftest.in" "conftest.in" >"conftest.tmp"
3830 mv "conftest.tmp" "conftest.in"
3831 cp "conftest.in" "conftest.nl"
3832 echo 'EGREP' >> "conftest.nl"
3833 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3834 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3835 ac_count=`expr $ac_count + 1`
3836 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3837 # Best one so far, save it but keep looking for a better one
3838 ac_cv_path_EGREP="$ac_path_EGREP"
3839 ac_path_EGREP_max=$ac_count
3841 # 10*(2^10) chars as input seems more than enough
3842 test $ac_count -gt 10 && break
3844 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3848 $ac_path_EGREP_found && break 3
3858 EGREP="$ac_cv_path_EGREP"
3859 if test -z "$EGREP"; then
3860 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3861 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3862 { (exit 1); exit 1; }; }
3866 ac_cv_path_EGREP=$EGREP
3872 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3873 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3874 EGREP="$ac_cv_path_EGREP"
3877 { echo "$as_me:$LINENO: checking for fgrep" >&5
3878 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
3879 if test "${ac_cv_path_FGREP+set}" = set; then
3880 echo $ECHO_N "(cached) $ECHO_C" >&6
3882 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3883 then ac_cv_path_FGREP="$GREP -F"
3885 # Extract the first word of "fgrep" to use in msg output
3886 if test -z "$FGREP"; then
3887 set dummy fgrep; ac_prog_name=$2
3888 if test "${ac_cv_path_FGREP+set}" = set; then
3889 echo $ECHO_N "(cached) $ECHO_C" >&6
3891 ac_path_FGREP_found=false
3892 # Loop through the user's path and test for each of PROGNAME-LIST
3893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3894 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3897 test -z "$as_dir" && as_dir=.
3898 for ac_prog in fgrep; do
3899 for ac_exec_ext in '' $ac_executable_extensions; do
3900 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3901 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3902 # Check for GNU ac_path_FGREP and select it if it is found.
3903 # Check for GNU $ac_path_FGREP
3904 case `"$ac_path_FGREP" --version 2>&1` in
3906 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3909 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3912 cat "conftest.in" "conftest.in" >"conftest.tmp"
3913 mv "conftest.tmp" "conftest.in"
3914 cp "conftest.in" "conftest.nl"
3915 echo 'FGREP' >> "conftest.nl"
3916 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3917 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3918 ac_count=`expr $ac_count + 1`
3919 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3920 # Best one so far, save it but keep looking for a better one
3921 ac_cv_path_FGREP="$ac_path_FGREP"
3922 ac_path_FGREP_max=$ac_count
3924 # 10*(2^10) chars as input seems more than enough
3925 test $ac_count -gt 10 && break
3927 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3931 $ac_path_FGREP_found && break 3
3941 FGREP="$ac_cv_path_FGREP"
3942 if test -z "$FGREP"; then
3943 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3944 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3945 { (exit 1); exit 1; }; }
3949 ac_cv_path_FGREP=$FGREP
3955 { echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
3956 echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
3957 FGREP="$ac_cv_path_FGREP"
3960 test -z "$GREP" && GREP=grep
3980 # Check whether --with-gnu-ld was given.
3981 if test "${with_gnu_ld+set}" = set; then
3982 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3988 if test "$GCC" = yes; then
3989 # Check if gcc -print-prog-name=ld gives a path.
3990 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3991 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3994 # gcc leaves a trailing carriage return which upsets mingw
3995 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3997 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4000 # Accept absolute paths.
4002 re_direlt='/[^/][^/]*/\.\./'
4003 # Canonicalize the pathname of ld
4004 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4005 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4006 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4008 test -z "$LD" && LD="$ac_prog"
4011 # If it fails, then pretend we aren't using GCC.
4015 # If it is relative, then search for the first ld in PATH.
4019 elif test "$with_gnu_ld" = yes; then
4020 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4021 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4023 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4024 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4026 if test "${lt_cv_path_LD+set}" = set; then
4027 echo $ECHO_N "(cached) $ECHO_C" >&6
4029 if test -z "$LD"; then
4030 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4031 for ac_dir in $PATH; do
4033 test -z "$ac_dir" && ac_dir=.
4034 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4035 lt_cv_path_LD="$ac_dir/$ac_prog"
4036 # Check to see if the program is GNU ld. I'd rather use --version,
4037 # but apparently some variants of GNU ld only accept -v.
4038 # Break only if it was the GNU/non-GNU ld that we prefer.
4039 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4040 *GNU* | *'with BFD'*)
4041 test "$with_gnu_ld" != no && break
4044 test "$with_gnu_ld" != yes && break
4051 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4056 if test -n "$LD"; then
4057 { echo "$as_me:$LINENO: result: $LD" >&5
4058 echo "${ECHO_T}$LD" >&6; }
4060 { echo "$as_me:$LINENO: result: no" >&5
4061 echo "${ECHO_T}no" >&6; }
4063 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4064 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4065 { (exit 1); exit 1; }; }
4066 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4067 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4068 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4069 echo $ECHO_N "(cached) $ECHO_C" >&6
4071 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4072 case `$LD -v 2>&1 </dev/null` in
4073 *GNU* | *'with BFD'*)
4074 lt_cv_prog_gnu_ld=yes
4077 lt_cv_prog_gnu_ld=no
4081 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4082 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4083 with_gnu_ld=$lt_cv_prog_gnu_ld
4093 { echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4094 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
4095 if test "${lt_cv_path_NM+set}" = set; then
4096 echo $ECHO_N "(cached) $ECHO_C" >&6
4098 if test -n "$NM"; then
4099 # Let the user override the test.
4102 lt_nm_to_check="${ac_tool_prefix}nm"
4103 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4104 lt_nm_to_check="$lt_nm_to_check nm"
4106 for lt_tmp_nm in $lt_nm_to_check; do
4107 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4108 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4110 test -z "$ac_dir" && ac_dir=.
4111 tmp_nm="$ac_dir/$lt_tmp_nm"
4112 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4113 # Check to see if the nm accepts a BSD-compat flag.
4114 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4115 # nm: unknown option "B" ignored
4116 # Tru64's nm complains that /dev/null is an invalid object file
4117 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4118 */dev/null* | *'Invalid file or object type'*)
4119 lt_cv_path_NM="$tmp_nm -B"
4123 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4125 lt_cv_path_NM="$tmp_nm -p"
4129 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4130 continue # so that we can try to find one that supports BSD flags
4139 : ${lt_cv_path_NM=no}
4142 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4143 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4144 if test "$lt_cv_path_NM" != "no"; then
4147 # Didn't find any BSD compatible name lister, look for dumpbin.
4148 if test -n "$ac_tool_prefix"; then
4149 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4151 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4152 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4153 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4155 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4156 echo $ECHO_N "(cached) $ECHO_C" >&6
4158 if test -n "$DUMPBIN"; then
4159 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4165 test -z "$as_dir" && as_dir=.
4166 for ac_exec_ext in '' $ac_executable_extensions; do
4167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4168 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4178 DUMPBIN=$ac_cv_prog_DUMPBIN
4179 if test -n "$DUMPBIN"; then
4180 { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4181 echo "${ECHO_T}$DUMPBIN" >&6; }
4183 { echo "$as_me:$LINENO: result: no" >&5
4184 echo "${ECHO_T}no" >&6; }
4188 test -n "$DUMPBIN" && break
4191 if test -z "$DUMPBIN"; then
4192 ac_ct_DUMPBIN=$DUMPBIN
4193 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4195 # Extract the first word of "$ac_prog", so it can be a program name with args.
4196 set dummy $ac_prog; ac_word=$2
4197 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4199 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4200 echo $ECHO_N "(cached) $ECHO_C" >&6
4202 if test -n "$ac_ct_DUMPBIN"; then
4203 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4209 test -z "$as_dir" && as_dir=.
4210 for ac_exec_ext in '' $ac_executable_extensions; do
4211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4212 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4222 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4223 if test -n "$ac_ct_DUMPBIN"; then
4224 { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4225 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
4227 { echo "$as_me:$LINENO: result: no" >&5
4228 echo "${ECHO_T}no" >&6; }
4232 test -n "$ac_ct_DUMPBIN" && break
4235 if test "x$ac_ct_DUMPBIN" = x; then
4238 case $cross_compiling:$ac_tool_warned in
4240 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4241 whose name does not start with the host triplet. If you think this
4242 configuration is useful to you, please write to autoconf@gnu.org." >&5
4243 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4244 whose name does not start with the host triplet. If you think this
4245 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4246 ac_tool_warned=yes ;;
4248 DUMPBIN=$ac_ct_DUMPBIN
4253 if test "$DUMPBIN" != ":"; then
4257 test -z "$NM" && NM=nm
4264 { echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4265 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
4266 if test "${lt_cv_nm_interface+set}" = set; then
4267 echo $ECHO_N "(cached) $ECHO_C" >&6
4269 lt_cv_nm_interface="BSD nm"
4270 echo "int some_variable = 0;" > conftest.$ac_ext
4271 (eval echo "\"\$as_me:4271: $ac_compile\"" >&5)
4272 (eval "$ac_compile" 2>conftest.err)
4273 cat conftest.err >&5
4274 (eval echo "\"\$as_me:4274: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4275 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4276 cat conftest.err >&5
4277 (eval echo "\"\$as_me:4277: output\"" >&5)
4278 cat conftest.out >&5
4279 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4280 lt_cv_nm_interface="MS dumpbin"
4284 { echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4285 echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
4287 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4288 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4290 if test "$LN_S" = "ln -s"; then
4291 { echo "$as_me:$LINENO: result: yes" >&5
4292 echo "${ECHO_T}yes" >&6; }
4294 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4295 echo "${ECHO_T}no, using $LN_S" >&6; }
4298 # find the maximum length of command line arguments
4299 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4300 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
4301 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4302 echo $ECHO_N "(cached) $ECHO_C" >&6
4309 # On DJGPP, this test can blow up pretty badly due to problems in libc
4310 # (any single argument exceeding 2000 bytes causes a buffer overrun
4311 # during glob expansion). Even if it were fixed, the result of this
4312 # check would be larger than it should be.
4313 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4317 # Under GNU Hurd, this test is not required because there is
4318 # no limit to the length of command line arguments.
4319 # Libtool will interpret -1 as no limit whatsoever
4320 lt_cv_sys_max_cmd_len=-1;
4323 cygwin* | mingw* | cegcc*)
4324 # On Win9x/ME, this test blows up -- it succeeds, but takes
4325 # about 5 minutes as the teststring grows exponentially.
4326 # Worse, since 9x/ME are not pre-emptively multitasking,
4327 # you end up with a "frozen" computer, even though with patience
4328 # the test eventually succeeds (with a max line length of 256k).
4329 # Instead, let's just punt: use the minimum linelength reported by
4330 # all of the supported platforms: 8192 (on NT/2K/XP).
4331 lt_cv_sys_max_cmd_len=8192;
4335 # On AmigaOS with pdksh, this test takes hours, literally.
4336 # So we just punt and use a minimum line length of 8192.
4337 lt_cv_sys_max_cmd_len=8192;
4340 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4341 # This has been around since 386BSD, at least. Likely further.
4342 if test -x /sbin/sysctl; then
4343 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4344 elif test -x /usr/sbin/sysctl; then
4345 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4347 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4349 # And add a safety zone
4350 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4351 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4355 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4356 lt_cv_sys_max_cmd_len=196608
4360 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4361 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4362 # nice to cause kernel panics so lets avoid the loop below.
4363 # First set a reasonable default.
4364 lt_cv_sys_max_cmd_len=16384
4366 if test -x /sbin/sysconfig; then
4367 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4368 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4373 lt_cv_sys_max_cmd_len=102400
4375 sysv5* | sco5v6* | sysv4.2uw2*)
4376 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4377 if test -n "$kargmax"; then
4378 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4380 lt_cv_sys_max_cmd_len=32768
4384 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4385 if test -n "$lt_cv_sys_max_cmd_len"; then
4386 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4387 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4389 # Make teststring a little bigger before we do anything with it.
4390 # a 1K string should be a reasonable start.
4391 for i in 1 2 3 4 5 6 7 8 ; do
4392 teststring=$teststring$teststring
4394 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4395 # If test is not a shell built-in, we'll probably end up computing a
4396 # maximum length that is only half of the actual maximum length, but
4398 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4399 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4400 test $i != 17 # 1/2 MB should be enough
4403 teststring=$teststring$teststring
4405 # Only check the string length outside the loop.
4406 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4408 # Add a significant safety factor because C++ compilers can tack on
4409 # massive amounts of additional arguments before passing them to the
4410 # linker. It appears as though 1/2 is a usable value.
4411 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4418 if test -n $lt_cv_sys_max_cmd_len ; then
4419 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4420 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
4422 { echo "$as_me:$LINENO: result: none" >&5
4423 echo "${ECHO_T}none" >&6; }
4425 max_cmd_len=$lt_cv_sys_max_cmd_len
4436 { echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4437 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
4438 # Try some XSI features
4441 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4443 && eval 'test $(( 1 + 1 )) -eq 2 \
4444 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4446 { echo "$as_me:$LINENO: result: $xsi_shell" >&5
4447 echo "${ECHO_T}$xsi_shell" >&6; }
4450 { echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4451 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
4453 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4455 && lt_shell_append=yes
4456 { echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4457 echo "${ECHO_T}$lt_shell_append" >&6; }
4460 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4470 # test EBCDIC or ASCII
4471 case `echo X|tr X '\101'` in
4472 A) # ASCII based system
4473 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4474 lt_SP2NL='tr \040 \012'
4475 lt_NL2SP='tr \015\012 \040\040'
4477 *) # EBCDIC based system
4478 lt_SP2NL='tr \100 \n'
4479 lt_NL2SP='tr \r\n \100\100'
4491 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4492 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4493 if test "${lt_cv_ld_reload_flag+set}" = set; then
4494 echo $ECHO_N "(cached) $ECHO_C" >&6
4496 lt_cv_ld_reload_flag='-r'
4498 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4499 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4500 reload_flag=$lt_cv_ld_reload_flag
4501 case $reload_flag in
4503 *) reload_flag=" $reload_flag" ;;
4505 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4508 if test "$GCC" = yes; then
4509 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4511 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4524 if test -n "$ac_tool_prefix"; then
4525 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4526 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4527 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4529 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4530 echo $ECHO_N "(cached) $ECHO_C" >&6
4532 if test -n "$OBJDUMP"; then
4533 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4539 test -z "$as_dir" && as_dir=.
4540 for ac_exec_ext in '' $ac_executable_extensions; do
4541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4542 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4552 OBJDUMP=$ac_cv_prog_OBJDUMP
4553 if test -n "$OBJDUMP"; then
4554 { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4555 echo "${ECHO_T}$OBJDUMP" >&6; }
4557 { echo "$as_me:$LINENO: result: no" >&5
4558 echo "${ECHO_T}no" >&6; }
4563 if test -z "$ac_cv_prog_OBJDUMP"; then
4564 ac_ct_OBJDUMP=$OBJDUMP
4565 # Extract the first word of "objdump", so it can be a program name with args.
4566 set dummy objdump; ac_word=$2
4567 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4569 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4570 echo $ECHO_N "(cached) $ECHO_C" >&6
4572 if test -n "$ac_ct_OBJDUMP"; then
4573 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4579 test -z "$as_dir" && as_dir=.
4580 for ac_exec_ext in '' $ac_executable_extensions; do
4581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4582 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4592 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4593 if test -n "$ac_ct_OBJDUMP"; then
4594 { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4595 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
4597 { echo "$as_me:$LINENO: result: no" >&5
4598 echo "${ECHO_T}no" >&6; }
4601 if test "x$ac_ct_OBJDUMP" = x; then
4604 case $cross_compiling:$ac_tool_warned in
4606 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4607 whose name does not start with the host triplet. If you think this
4608 configuration is useful to you, please write to autoconf@gnu.org." >&5
4609 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4610 whose name does not start with the host triplet. If you think this
4611 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4612 ac_tool_warned=yes ;;
4614 OBJDUMP=$ac_ct_OBJDUMP
4617 OBJDUMP="$ac_cv_prog_OBJDUMP"
4620 test -z "$OBJDUMP" && OBJDUMP=objdump
4630 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4631 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4632 if test "${lt_cv_deplibs_check_method+set}" = set; then
4633 echo $ECHO_N "(cached) $ECHO_C" >&6
4635 lt_cv_file_magic_cmd='$MAGIC_CMD'
4636 lt_cv_file_magic_test_file=
4637 lt_cv_deplibs_check_method='unknown'
4638 # Need to set the preceding variable on all platforms that support
4639 # interlibrary dependencies.
4640 # 'none' -- dependencies not supported.
4641 # `unknown' -- same as none, but documents that we really don't know.
4642 # 'pass_all' -- all dependencies passed with no checks.
4643 # 'test_compile' -- check by making test program.
4644 # 'file_magic [[regex]]' -- check by looking for files in library path
4645 # which responds to the $file_magic_cmd with a given extended regex.
4646 # If you have `file' or equivalent on your system and you're not sure
4647 # whether `pass_all' will *always* work, you probably want this one.
4651 lt_cv_deplibs_check_method=pass_all
4655 lt_cv_deplibs_check_method=pass_all
4659 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4660 lt_cv_file_magic_cmd='/usr/bin/file -L'
4661 lt_cv_file_magic_test_file=/shlib/libc.so
4665 # func_win32_libid is a shell function defined in ltmain.sh
4666 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4667 lt_cv_file_magic_cmd='func_win32_libid'
4671 # Base MSYS/MinGW do not provide the 'file' command needed by
4672 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4673 # unless we find 'file', for example because we are cross-compiling.
4674 if ( file / ) >/dev/null 2>&1; then
4675 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4676 lt_cv_file_magic_cmd='func_win32_libid'
4678 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4679 lt_cv_file_magic_cmd='$OBJDUMP -f'
4684 # use the weaker test based on 'objdump'. See mingw*.
4685 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4686 lt_cv_file_magic_cmd='$OBJDUMP -f'
4689 darwin* | rhapsody*)
4690 lt_cv_deplibs_check_method=pass_all
4693 freebsd* | dragonfly*)
4694 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4697 # Not sure whether the presence of OpenBSD here was a mistake.
4698 # Let's accept both of them until this is cleared up.
4699 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4700 lt_cv_file_magic_cmd=/usr/bin/file
4701 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4705 lt_cv_deplibs_check_method=pass_all
4710 lt_cv_deplibs_check_method=pass_all
4713 hpux10.20* | hpux11*)
4714 lt_cv_file_magic_cmd=/usr/bin/file
4717 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4718 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4721 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]'
4722 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4725 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4726 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4732 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4733 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4736 irix5* | irix6* | nonstopux*)
4738 *-32|*"-32 ") libmagic=32-bit;;
4739 *-n32|*"-n32 ") libmagic=N32;;
4740 *-64|*"-64 ") libmagic=64-bit;;
4741 *) libmagic=never-match;;
4743 lt_cv_deplibs_check_method=pass_all
4746 # This must be Linux ELF.
4747 linux* | k*bsd*-gnu)
4748 lt_cv_deplibs_check_method=pass_all
4751 netbsd* | netbsdelf*-gnu)
4752 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4753 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4755 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4760 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4761 lt_cv_file_magic_cmd=/usr/bin/file
4762 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4766 lt_cv_deplibs_check_method=pass_all
4770 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4771 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4773 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4777 osf3* | osf4* | osf5*)
4778 lt_cv_deplibs_check_method=pass_all
4782 lt_cv_deplibs_check_method=pass_all
4786 lt_cv_deplibs_check_method=pass_all
4789 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4790 lt_cv_deplibs_check_method=pass_all
4794 case $host_vendor in
4796 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]'
4797 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4800 lt_cv_deplibs_check_method=pass_all
4803 lt_cv_file_magic_cmd='/bin/file'
4804 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4807 lt_cv_file_magic_cmd='/bin/file'
4808 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4809 lt_cv_file_magic_test_file=/lib/libc.so
4812 lt_cv_deplibs_check_method=pass_all
4815 lt_cv_deplibs_check_method=pass_all
4821 lt_cv_deplibs_check_method=pass_all
4826 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4827 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4828 file_magic_cmd=$lt_cv_file_magic_cmd
4829 deplibs_check_method=$lt_cv_deplibs_check_method
4830 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4843 if test -n "$ac_tool_prefix"; then
4844 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4845 set dummy ${ac_tool_prefix}ar; ac_word=$2
4846 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4848 if test "${ac_cv_prog_AR+set}" = set; then
4849 echo $ECHO_N "(cached) $ECHO_C" >&6
4851 if test -n "$AR"; then
4852 ac_cv_prog_AR="$AR" # Let the user override the test.
4854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4858 test -z "$as_dir" && as_dir=.
4859 for ac_exec_ext in '' $ac_executable_extensions; do
4860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4861 ac_cv_prog_AR="${ac_tool_prefix}ar"
4862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4872 if test -n "$AR"; then
4873 { echo "$as_me:$LINENO: result: $AR" >&5
4874 echo "${ECHO_T}$AR" >&6; }
4876 { echo "$as_me:$LINENO: result: no" >&5
4877 echo "${ECHO_T}no" >&6; }
4882 if test -z "$ac_cv_prog_AR"; then
4884 # Extract the first word of "ar", so it can be a program name with args.
4885 set dummy ar; ac_word=$2
4886 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4888 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4889 echo $ECHO_N "(cached) $ECHO_C" >&6
4891 if test -n "$ac_ct_AR"; then
4892 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4898 test -z "$as_dir" && as_dir=.
4899 for ac_exec_ext in '' $ac_executable_extensions; do
4900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4901 ac_cv_prog_ac_ct_AR="ar"
4902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4911 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4912 if test -n "$ac_ct_AR"; then
4913 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4914 echo "${ECHO_T}$ac_ct_AR" >&6; }
4916 { echo "$as_me:$LINENO: result: no" >&5
4917 echo "${ECHO_T}no" >&6; }
4920 if test "x$ac_ct_AR" = x; then
4923 case $cross_compiling:$ac_tool_warned in
4925 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4926 whose name does not start with the host triplet. If you think this
4927 configuration is useful to you, please write to autoconf@gnu.org." >&5
4928 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4929 whose name does not start with the host triplet. If you think this
4930 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4931 ac_tool_warned=yes ;;
4939 test -z "$AR" && AR=ar
4940 test -z "$AR_FLAGS" && AR_FLAGS=cru
4952 if test -n "$ac_tool_prefix"; then
4953 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4954 set dummy ${ac_tool_prefix}strip; ac_word=$2
4955 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4957 if test "${ac_cv_prog_STRIP+set}" = set; then
4958 echo $ECHO_N "(cached) $ECHO_C" >&6
4960 if test -n "$STRIP"; then
4961 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4967 test -z "$as_dir" && as_dir=.
4968 for ac_exec_ext in '' $ac_executable_extensions; do
4969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4970 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4980 STRIP=$ac_cv_prog_STRIP
4981 if test -n "$STRIP"; then
4982 { echo "$as_me:$LINENO: result: $STRIP" >&5
4983 echo "${ECHO_T}$STRIP" >&6; }
4985 { echo "$as_me:$LINENO: result: no" >&5
4986 echo "${ECHO_T}no" >&6; }
4991 if test -z "$ac_cv_prog_STRIP"; then
4993 # Extract the first word of "strip", so it can be a program name with args.
4994 set dummy strip; ac_word=$2
4995 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4997 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4998 echo $ECHO_N "(cached) $ECHO_C" >&6
5000 if test -n "$ac_ct_STRIP"; then
5001 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5007 test -z "$as_dir" && as_dir=.
5008 for ac_exec_ext in '' $ac_executable_extensions; do
5009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5010 ac_cv_prog_ac_ct_STRIP="strip"
5011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5020 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5021 if test -n "$ac_ct_STRIP"; then
5022 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5023 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5025 { echo "$as_me:$LINENO: result: no" >&5
5026 echo "${ECHO_T}no" >&6; }
5029 if test "x$ac_ct_STRIP" = x; then
5032 case $cross_compiling:$ac_tool_warned in
5034 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5035 whose name does not start with the host triplet. If you think this
5036 configuration is useful to you, please write to autoconf@gnu.org." >&5
5037 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5038 whose name does not start with the host triplet. If you think this
5039 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5040 ac_tool_warned=yes ;;
5045 STRIP="$ac_cv_prog_STRIP"
5048 test -z "$STRIP" && STRIP=:
5055 if test -n "$ac_tool_prefix"; then
5056 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5057 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5058 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5060 if test "${ac_cv_prog_RANLIB+set}" = set; then
5061 echo $ECHO_N "(cached) $ECHO_C" >&6
5063 if test -n "$RANLIB"; then
5064 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5070 test -z "$as_dir" && as_dir=.
5071 for ac_exec_ext in '' $ac_executable_extensions; do
5072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5073 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5083 RANLIB=$ac_cv_prog_RANLIB
5084 if test -n "$RANLIB"; then
5085 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5086 echo "${ECHO_T}$RANLIB" >&6; }
5088 { echo "$as_me:$LINENO: result: no" >&5
5089 echo "${ECHO_T}no" >&6; }
5094 if test -z "$ac_cv_prog_RANLIB"; then
5095 ac_ct_RANLIB=$RANLIB
5096 # Extract the first word of "ranlib", so it can be a program name with args.
5097 set dummy ranlib; ac_word=$2
5098 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5100 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5101 echo $ECHO_N "(cached) $ECHO_C" >&6
5103 if test -n "$ac_ct_RANLIB"; then
5104 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5110 test -z "$as_dir" && as_dir=.
5111 for ac_exec_ext in '' $ac_executable_extensions; do
5112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5113 ac_cv_prog_ac_ct_RANLIB="ranlib"
5114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5123 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5124 if test -n "$ac_ct_RANLIB"; then
5125 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5126 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5128 { echo "$as_me:$LINENO: result: no" >&5
5129 echo "${ECHO_T}no" >&6; }
5132 if test "x$ac_ct_RANLIB" = x; then
5135 case $cross_compiling:$ac_tool_warned in
5137 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5138 whose name does not start with the host triplet. If you think this
5139 configuration is useful to you, please write to autoconf@gnu.org." >&5
5140 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5141 whose name does not start with the host triplet. If you think this
5142 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5143 ac_tool_warned=yes ;;
5145 RANLIB=$ac_ct_RANLIB
5148 RANLIB="$ac_cv_prog_RANLIB"
5151 test -z "$RANLIB" && RANLIB=:
5158 # Determine commands to create old-style static archives.
5159 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5160 old_postinstall_cmds='chmod 644 $oldlib'
5161 old_postuninstall_cmds=
5163 if test -n "$RANLIB"; then
5166 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5169 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5172 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5208 # If no C compiler was specified, use CC.
5211 # If no C compiler flags were specified, use CFLAGS.
5212 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5214 # Allow CC to be a program name with arguments.
5218 # Check for command to grab the raw symbol name followed by C symbol from nm.
5219 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5220 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5221 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5222 echo $ECHO_N "(cached) $ECHO_C" >&6
5225 # These are sane defaults that work on at least a few old systems.
5226 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5228 # Character class describing NM global symbol codes.
5229 symcode='[BCDEGRST]'
5231 # Regexp to match symbols that can be accessed directly from C.
5232 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5234 # Define system-specific variables.
5239 cygwin* | mingw* | pw32* | cegcc*)
5240 symcode='[ABCDGISTW]'
5243 if test "$host_cpu" = ia64; then
5244 symcode='[ABCDEGRST]'
5248 symcode='[BCDEGRST]'
5251 symcode='[BCDEGQRST]'
5262 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5270 # If we're using GNU nm, then use its standard symbol codes.
5271 case `$NM -V 2>&1` in
5272 *GNU* | *'with BFD'*)
5273 symcode='[ABCDGIRSTW]' ;;
5276 # Transform an extracted symbol line into a proper C declaration.
5277 # Some systems (esp. on ia64) link data and code symbols differently,
5278 # so use this general approach.
5279 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5281 # Transform an extracted symbol line into symbol name and symbol address
5282 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5283 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'"
5285 # Handle CRLF in mingw tool chain
5289 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5293 # Try without a prefix underscore, then with it.
5294 for ac_symprfx in "" "_"; do
5296 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5297 symxfrm="\\1 $ac_symprfx\\2 \\2"
5299 # Write the raw and C identifiers.
5300 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5301 # Fake it for dumpbin and say T for any non-static function
5302 # and D for any global variable.
5303 # Also find C++ and __fastcall symbols from MSVC++,
5304 # which start with @ or ?.
5305 lt_cv_sys_global_symbol_pipe="$AWK '"\
5306 " {last_section=section; section=\$ 3};"\
5307 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5308 " \$ 0!~/External *\|/{next};"\
5309 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5310 " {if(hide[section]) next};"\
5311 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5312 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5313 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5314 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5315 " ' prfx=^$ac_symprfx"
5317 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5320 # Check to see that the pipe works correctly.
5324 cat > conftest.$ac_ext <<_LT_EOF
5329 void nm_test_func(void);
5330 void nm_test_func(void){}
5334 int main(){nm_test_var='a';nm_test_func();return(0);}
5337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5338 (eval $ac_compile) 2>&5
5340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5341 (exit $ac_status); }; then
5342 # Now try to grab the symbols.
5344 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5345 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5348 (exit $ac_status); } && test -s "$nlist"; then
5349 # Try sorting and uniquifying the output.
5350 if sort "$nlist" | uniq > "$nlist"T; then
5351 mv -f "$nlist"T "$nlist"
5356 # Make sure that we snagged all the symbols we need.
5357 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5358 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5359 cat <<_LT_EOF > conftest.$ac_ext
5365 # Now generate the symbol file.
5366 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5368 cat <<_LT_EOF >> conftest.$ac_ext
5370 /* The mapping between symbol names and symbols. */
5375 lt__PROGRAM__LTX_preloaded_symbols[] =
5377 { "@PROGRAM@", (void *) 0 },
5379 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5380 cat <<\_LT_EOF >> conftest.$ac_ext
5384 /* This works around a problem in FreeBSD linker */
5385 #ifdef FREEBSD_WORKAROUND
5386 static const void *lt_preloaded_setup() {
5387 return lt__PROGRAM__LTX_preloaded_symbols;
5395 # Now try linking the two files.
5396 mv conftest.$ac_objext conftstm.$ac_objext
5397 lt_save_LIBS="$LIBS"
5398 lt_save_CFLAGS="$CFLAGS"
5399 LIBS="conftstm.$ac_objext"
5400 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5402 (eval $ac_link) 2>&5
5404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5405 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5408 LIBS="$lt_save_LIBS"
5409 CFLAGS="$lt_save_CFLAGS"
5411 echo "cannot find nm_test_func in $nlist" >&5
5414 echo "cannot find nm_test_var in $nlist" >&5
5417 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5420 echo "$progname: failed program was:" >&5
5421 cat conftest.$ac_ext >&5
5423 rm -rf conftest* conftst*
5425 # Do not use the global_symbol_pipe unless it works.
5426 if test "$pipe_works" = yes; then
5429 lt_cv_sys_global_symbol_pipe=
5435 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5436 lt_cv_sys_global_symbol_to_cdecl=
5438 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5439 { echo "$as_me:$LINENO: result: failed" >&5
5440 echo "${ECHO_T}failed" >&6; }
5442 { echo "$as_me:$LINENO: result: ok" >&5
5443 echo "${ECHO_T}ok" >&6; }
5468 # Check whether --enable-libtool-lock was given.
5469 if test "${enable_libtool_lock+set}" = set; then
5470 enableval=$enable_libtool_lock;
5473 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5475 # Some flags need to be propagated to the compiler or linker for good
5479 # Find out which ABI we are using.
5480 echo 'int i;' > conftest.$ac_ext
5481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5482 (eval $ac_compile) 2>&5
5484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5485 (exit $ac_status); }; then
5486 case `/usr/bin/file conftest.$ac_objext` in
5498 # Find out which ABI we are using.
5499 echo '#line 5499 "configure"' > conftest.$ac_ext
5500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5501 (eval $ac_compile) 2>&5
5503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5504 (exit $ac_status); }; then
5505 if test "$lt_cv_prog_gnu_ld" = yes; then
5506 case `/usr/bin/file conftest.$ac_objext` in
5508 LD="${LD-ld} -melf32bsmip"
5511 LD="${LD-ld} -melf32bmipn32"
5514 LD="${LD-ld} -melf64bmip"
5518 case `/usr/bin/file conftest.$ac_objext` in
5534 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5535 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5536 # Find out which ABI we are using.
5537 echo 'int i;' > conftest.$ac_ext
5538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5539 (eval $ac_compile) 2>&5
5541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5542 (exit $ac_status); }; then
5543 case `/usr/bin/file conftest.o` in
5546 x86_64-*kfreebsd*-gnu)
5547 LD="${LD-ld} -m elf_i386_fbsd"
5550 LD="${LD-ld} -m elf_i386"
5552 ppc64-*linux*|powerpc64-*linux*)
5553 LD="${LD-ld} -m elf32ppclinux"
5556 LD="${LD-ld} -m elf_s390"
5559 LD="${LD-ld} -m elf32_sparc"
5565 x86_64-*kfreebsd*-gnu)
5566 LD="${LD-ld} -m elf_x86_64_fbsd"
5569 LD="${LD-ld} -m elf_x86_64"
5571 ppc*-*linux*|powerpc*-*linux*)
5572 LD="${LD-ld} -m elf64ppc"
5574 s390*-*linux*|s390*-*tpf*)
5575 LD="${LD-ld} -m elf64_s390"
5578 LD="${LD-ld} -m elf64_sparc"
5588 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5589 SAVE_CFLAGS="$CFLAGS"
5590 CFLAGS="$CFLAGS -belf"
5591 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5592 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
5593 if test "${lt_cv_cc_needs_belf+set}" = set; then
5594 echo $ECHO_N "(cached) $ECHO_C" >&6
5597 ac_cpp='$CPP $CPPFLAGS'
5598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5602 cat >conftest.$ac_ext <<_ACEOF
5605 cat confdefs.h >>conftest.$ac_ext
5606 cat >>conftest.$ac_ext <<_ACEOF
5607 /* end confdefs.h. */
5617 rm -f conftest.$ac_objext conftest$ac_exeext
5618 if { (ac_try="$ac_link"
5620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5621 *) ac_try_echo=$ac_try;;
5623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5624 (eval "$ac_link") 2>conftest.er1
5626 grep -v '^ *+' conftest.er1 >conftest.err
5628 cat conftest.err >&5
5629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5630 (exit $ac_status); } && {
5631 test -z "$ac_c_werror_flag" ||
5632 test ! -s conftest.err
5633 } && test -s conftest$ac_exeext &&
5634 $as_test_x conftest$ac_exeext; then
5635 lt_cv_cc_needs_belf=yes
5637 echo "$as_me: failed program was:" >&5
5638 sed 's/^/| /' conftest.$ac_ext >&5
5640 lt_cv_cc_needs_belf=no
5643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5644 conftest$ac_exeext conftest.$ac_ext
5646 ac_cpp='$CPP $CPPFLAGS'
5647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5652 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5653 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5654 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5655 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5656 CFLAGS="$SAVE_CFLAGS"
5660 # Find out which ABI we are using.
5661 echo 'int i;' > conftest.$ac_ext
5662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5663 (eval $ac_compile) 2>&5
5665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5666 (exit $ac_status); }; then
5667 case `/usr/bin/file conftest.o` in
5669 case $lt_cv_prog_gnu_ld in
5670 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5672 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5684 need_locks="$enable_libtool_lock"
5688 rhapsody* | darwin*)
5689 if test -n "$ac_tool_prefix"; then
5690 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5691 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5692 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5694 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5695 echo $ECHO_N "(cached) $ECHO_C" >&6
5697 if test -n "$DSYMUTIL"; then
5698 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5704 test -z "$as_dir" && as_dir=.
5705 for ac_exec_ext in '' $ac_executable_extensions; do
5706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5707 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5717 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5718 if test -n "$DSYMUTIL"; then
5719 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
5720 echo "${ECHO_T}$DSYMUTIL" >&6; }
5722 { echo "$as_me:$LINENO: result: no" >&5
5723 echo "${ECHO_T}no" >&6; }
5728 if test -z "$ac_cv_prog_DSYMUTIL"; then
5729 ac_ct_DSYMUTIL=$DSYMUTIL
5730 # Extract the first word of "dsymutil", so it can be a program name with args.
5731 set dummy dsymutil; ac_word=$2
5732 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5734 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5735 echo $ECHO_N "(cached) $ECHO_C" >&6
5737 if test -n "$ac_ct_DSYMUTIL"; then
5738 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5744 test -z "$as_dir" && as_dir=.
5745 for ac_exec_ext in '' $ac_executable_extensions; do
5746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5747 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5757 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5758 if test -n "$ac_ct_DSYMUTIL"; then
5759 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
5760 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
5762 { echo "$as_me:$LINENO: result: no" >&5
5763 echo "${ECHO_T}no" >&6; }
5766 if test "x$ac_ct_DSYMUTIL" = x; then
5769 case $cross_compiling:$ac_tool_warned in
5771 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5772 whose name does not start with the host triplet. If you think this
5773 configuration is useful to you, please write to autoconf@gnu.org." >&5
5774 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5775 whose name does not start with the host triplet. If you think this
5776 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5777 ac_tool_warned=yes ;;
5779 DSYMUTIL=$ac_ct_DSYMUTIL
5782 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5785 if test -n "$ac_tool_prefix"; then
5786 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5787 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5788 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5790 if test "${ac_cv_prog_NMEDIT+set}" = set; then
5791 echo $ECHO_N "(cached) $ECHO_C" >&6
5793 if test -n "$NMEDIT"; then
5794 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5800 test -z "$as_dir" && as_dir=.
5801 for ac_exec_ext in '' $ac_executable_extensions; do
5802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5803 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
5804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5813 NMEDIT=$ac_cv_prog_NMEDIT
5814 if test -n "$NMEDIT"; then
5815 { echo "$as_me:$LINENO: result: $NMEDIT" >&5
5816 echo "${ECHO_T}$NMEDIT" >&6; }
5818 { echo "$as_me:$LINENO: result: no" >&5
5819 echo "${ECHO_T}no" >&6; }
5824 if test -z "$ac_cv_prog_NMEDIT"; then
5825 ac_ct_NMEDIT=$NMEDIT
5826 # Extract the first word of "nmedit", so it can be a program name with args.
5827 set dummy nmedit; ac_word=$2
5828 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5830 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
5831 echo $ECHO_N "(cached) $ECHO_C" >&6
5833 if test -n "$ac_ct_NMEDIT"; then
5834 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5840 test -z "$as_dir" && as_dir=.
5841 for ac_exec_ext in '' $ac_executable_extensions; do
5842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5843 ac_cv_prog_ac_ct_NMEDIT="nmedit"
5844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5853 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5854 if test -n "$ac_ct_NMEDIT"; then
5855 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
5856 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
5858 { echo "$as_me:$LINENO: result: no" >&5
5859 echo "${ECHO_T}no" >&6; }
5862 if test "x$ac_ct_NMEDIT" = x; then
5865 case $cross_compiling:$ac_tool_warned in
5867 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5868 whose name does not start with the host triplet. If you think this
5869 configuration is useful to you, please write to autoconf@gnu.org." >&5
5870 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5871 whose name does not start with the host triplet. If you think this
5872 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5873 ac_tool_warned=yes ;;
5875 NMEDIT=$ac_ct_NMEDIT
5878 NMEDIT="$ac_cv_prog_NMEDIT"
5881 if test -n "$ac_tool_prefix"; then
5882 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
5883 set dummy ${ac_tool_prefix}lipo; ac_word=$2
5884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5886 if test "${ac_cv_prog_LIPO+set}" = set; then
5887 echo $ECHO_N "(cached) $ECHO_C" >&6
5889 if test -n "$LIPO"; then
5890 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
5892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5896 test -z "$as_dir" && as_dir=.
5897 for ac_exec_ext in '' $ac_executable_extensions; do
5898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5899 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
5900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5909 LIPO=$ac_cv_prog_LIPO
5910 if test -n "$LIPO"; then
5911 { echo "$as_me:$LINENO: result: $LIPO" >&5
5912 echo "${ECHO_T}$LIPO" >&6; }
5914 { echo "$as_me:$LINENO: result: no" >&5
5915 echo "${ECHO_T}no" >&6; }
5920 if test -z "$ac_cv_prog_LIPO"; then
5922 # Extract the first word of "lipo", so it can be a program name with args.
5923 set dummy lipo; ac_word=$2
5924 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5926 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
5927 echo $ECHO_N "(cached) $ECHO_C" >&6
5929 if test -n "$ac_ct_LIPO"; then
5930 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
5932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5936 test -z "$as_dir" && as_dir=.
5937 for ac_exec_ext in '' $ac_executable_extensions; do
5938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5939 ac_cv_prog_ac_ct_LIPO="lipo"
5940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5949 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
5950 if test -n "$ac_ct_LIPO"; then
5951 { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
5952 echo "${ECHO_T}$ac_ct_LIPO" >&6; }
5954 { echo "$as_me:$LINENO: result: no" >&5
5955 echo "${ECHO_T}no" >&6; }
5958 if test "x$ac_ct_LIPO" = x; then
5961 case $cross_compiling:$ac_tool_warned in
5963 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5964 whose name does not start with the host triplet. If you think this
5965 configuration is useful to you, please write to autoconf@gnu.org." >&5
5966 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5967 whose name does not start with the host triplet. If you think this
5968 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5969 ac_tool_warned=yes ;;
5974 LIPO="$ac_cv_prog_LIPO"
5977 if test -n "$ac_tool_prefix"; then
5978 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
5979 set dummy ${ac_tool_prefix}otool; ac_word=$2
5980 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5982 if test "${ac_cv_prog_OTOOL+set}" = set; then
5983 echo $ECHO_N "(cached) $ECHO_C" >&6
5985 if test -n "$OTOOL"; then
5986 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
5988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5992 test -z "$as_dir" && as_dir=.
5993 for ac_exec_ext in '' $ac_executable_extensions; do
5994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5995 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
5996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6005 OTOOL=$ac_cv_prog_OTOOL
6006 if test -n "$OTOOL"; then
6007 { echo "$as_me:$LINENO: result: $OTOOL" >&5
6008 echo "${ECHO_T}$OTOOL" >&6; }
6010 { echo "$as_me:$LINENO: result: no" >&5
6011 echo "${ECHO_T}no" >&6; }
6016 if test -z "$ac_cv_prog_OTOOL"; then
6018 # Extract the first word of "otool", so it can be a program name with args.
6019 set dummy otool; ac_word=$2
6020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6022 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6023 echo $ECHO_N "(cached) $ECHO_C" >&6
6025 if test -n "$ac_ct_OTOOL"; then
6026 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6032 test -z "$as_dir" && as_dir=.
6033 for ac_exec_ext in '' $ac_executable_extensions; do
6034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6035 ac_cv_prog_ac_ct_OTOOL="otool"
6036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6045 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6046 if test -n "$ac_ct_OTOOL"; then
6047 { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6048 echo "${ECHO_T}$ac_ct_OTOOL" >&6; }
6050 { echo "$as_me:$LINENO: result: no" >&5
6051 echo "${ECHO_T}no" >&6; }
6054 if test "x$ac_ct_OTOOL" = x; then
6057 case $cross_compiling:$ac_tool_warned in
6059 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6060 whose name does not start with the host triplet. If you think this
6061 configuration is useful to you, please write to autoconf@gnu.org." >&5
6062 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6063 whose name does not start with the host triplet. If you think this
6064 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6065 ac_tool_warned=yes ;;
6070 OTOOL="$ac_cv_prog_OTOOL"
6073 if test -n "$ac_tool_prefix"; then
6074 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6075 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6076 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6078 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6079 echo $ECHO_N "(cached) $ECHO_C" >&6
6081 if test -n "$OTOOL64"; then
6082 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6088 test -z "$as_dir" && as_dir=.
6089 for ac_exec_ext in '' $ac_executable_extensions; do
6090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6091 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6101 OTOOL64=$ac_cv_prog_OTOOL64
6102 if test -n "$OTOOL64"; then
6103 { echo "$as_me:$LINENO: result: $OTOOL64" >&5
6104 echo "${ECHO_T}$OTOOL64" >&6; }
6106 { echo "$as_me:$LINENO: result: no" >&5
6107 echo "${ECHO_T}no" >&6; }
6112 if test -z "$ac_cv_prog_OTOOL64"; then
6113 ac_ct_OTOOL64=$OTOOL64
6114 # Extract the first word of "otool64", so it can be a program name with args.
6115 set dummy otool64; ac_word=$2
6116 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6118 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6119 echo $ECHO_N "(cached) $ECHO_C" >&6
6121 if test -n "$ac_ct_OTOOL64"; then
6122 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6128 test -z "$as_dir" && as_dir=.
6129 for ac_exec_ext in '' $ac_executable_extensions; do
6130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6131 ac_cv_prog_ac_ct_OTOOL64="otool64"
6132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6141 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6142 if test -n "$ac_ct_OTOOL64"; then
6143 { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6144 echo "${ECHO_T}$ac_ct_OTOOL64" >&6; }
6146 { echo "$as_me:$LINENO: result: no" >&5
6147 echo "${ECHO_T}no" >&6; }
6150 if test "x$ac_ct_OTOOL64" = x; then
6153 case $cross_compiling:$ac_tool_warned in
6155 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6156 whose name does not start with the host triplet. If you think this
6157 configuration is useful to you, please write to autoconf@gnu.org." >&5
6158 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6159 whose name does not start with the host triplet. If you think this
6160 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6161 ac_tool_warned=yes ;;
6163 OTOOL64=$ac_ct_OTOOL64
6166 OTOOL64="$ac_cv_prog_OTOOL64"
6195 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6196 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
6197 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6198 echo $ECHO_N "(cached) $ECHO_C" >&6
6200 lt_cv_apple_cc_single_mod=no
6201 if test -z "${LT_MULTI_MODULE}"; then
6202 # By default we will add the -single_module flag. You can override
6203 # by either setting the environment variable LT_MULTI_MODULE
6204 # non-empty at configure time, or by adding -multi_module to the
6206 rm -rf libconftest.dylib*
6207 echo "int foo(void){return 1;}" > conftest.c
6208 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6209 -dynamiclib -Wl,-single_module conftest.c" >&5
6210 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6211 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6213 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6214 lt_cv_apple_cc_single_mod=yes
6216 cat conftest.err >&5
6218 rm -rf libconftest.dylib*
6222 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6223 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
6224 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6225 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
6226 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6227 echo $ECHO_N "(cached) $ECHO_C" >&6
6229 lt_cv_ld_exported_symbols_list=no
6230 save_LDFLAGS=$LDFLAGS
6231 echo "_main" > conftest.sym
6232 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6233 cat >conftest.$ac_ext <<_ACEOF
6236 cat confdefs.h >>conftest.$ac_ext
6237 cat >>conftest.$ac_ext <<_ACEOF
6238 /* end confdefs.h. */
6248 rm -f conftest.$ac_objext conftest$ac_exeext
6249 if { (ac_try="$ac_link"
6251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6252 *) ac_try_echo=$ac_try;;
6254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6255 (eval "$ac_link") 2>conftest.er1
6257 grep -v '^ *+' conftest.er1 >conftest.err
6259 cat conftest.err >&5
6260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6261 (exit $ac_status); } && {
6262 test -z "$ac_c_werror_flag" ||
6263 test ! -s conftest.err
6264 } && test -s conftest$ac_exeext &&
6265 $as_test_x conftest$ac_exeext; then
6266 lt_cv_ld_exported_symbols_list=yes
6268 echo "$as_me: failed program was:" >&5
6269 sed 's/^/| /' conftest.$ac_ext >&5
6271 lt_cv_ld_exported_symbols_list=no
6274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6275 conftest$ac_exeext conftest.$ac_ext
6276 LDFLAGS="$save_LDFLAGS"
6279 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6280 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
6282 rhapsody* | darwin1.[012])
6283 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6285 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6286 darwin*) # darwin 5.x on
6287 # if running on 10.5 or later, the deployment target defaults
6288 # to the OS version, if on x86, and 10.4, the deployment
6289 # target defaults to 10.4. Don't you love it?
6290 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6291 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6292 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6294 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6296 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6300 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6301 _lt_dar_single_mod='$single_module'
6303 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6304 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6306 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6308 if test "$DSYMUTIL" != ":"; then
6309 _lt_dsymutil='~$DSYMUTIL $lib || :'
6317 ac_cpp='$CPP $CPPFLAGS'
6318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6321 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6322 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
6323 # On Suns, sometimes $CPP names a directory.
6324 if test -n "$CPP" && test -d "$CPP"; then
6327 if test -z "$CPP"; then
6328 if test "${ac_cv_prog_CPP+set}" = set; then
6329 echo $ECHO_N "(cached) $ECHO_C" >&6
6331 # Double quotes because CPP needs to be expanded
6332 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6335 for ac_c_preproc_warn_flag in '' yes
6337 # Use a header file that comes with gcc, so configuring glibc
6338 # with a fresh cross-compiler works.
6339 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6340 # <limits.h> exists even on freestanding compilers.
6341 # On the NeXT, cc -E runs the code through the compiler's parser,
6342 # not just through cpp. "Syntax error" is here to catch this case.
6343 cat >conftest.$ac_ext <<_ACEOF
6346 cat confdefs.h >>conftest.$ac_ext
6347 cat >>conftest.$ac_ext <<_ACEOF
6348 /* end confdefs.h. */
6350 # include <limits.h>
6352 # include <assert.h>
6356 if { (ac_try="$ac_cpp conftest.$ac_ext"
6358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6359 *) ac_try_echo=$ac_try;;
6361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6362 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6364 grep -v '^ *+' conftest.er1 >conftest.err
6366 cat conftest.err >&5
6367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6368 (exit $ac_status); } >/dev/null && {
6369 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6370 test ! -s conftest.err
6374 echo "$as_me: failed program was:" >&5
6375 sed 's/^/| /' conftest.$ac_ext >&5
6377 # Broken: fails on valid input.
6381 rm -f conftest.err conftest.$ac_ext
6383 # OK, works on sane cases. Now check whether nonexistent headers
6384 # can be detected and how.
6385 cat >conftest.$ac_ext <<_ACEOF
6388 cat confdefs.h >>conftest.$ac_ext
6389 cat >>conftest.$ac_ext <<_ACEOF
6390 /* end confdefs.h. */
6391 #include <ac_nonexistent.h>
6393 if { (ac_try="$ac_cpp conftest.$ac_ext"
6395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6396 *) ac_try_echo=$ac_try;;
6398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6399 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6401 grep -v '^ *+' conftest.er1 >conftest.err
6403 cat conftest.err >&5
6404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6405 (exit $ac_status); } >/dev/null && {
6406 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6407 test ! -s conftest.err
6409 # Broken: success on invalid input.
6412 echo "$as_me: failed program was:" >&5
6413 sed 's/^/| /' conftest.$ac_ext >&5
6415 # Passes both tests.
6420 rm -f conftest.err conftest.$ac_ext
6423 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6424 rm -f conftest.err conftest.$ac_ext
6425 if $ac_preproc_ok; then
6437 { echo "$as_me:$LINENO: result: $CPP" >&5
6438 echo "${ECHO_T}$CPP" >&6; }
6440 for ac_c_preproc_warn_flag in '' yes
6442 # Use a header file that comes with gcc, so configuring glibc
6443 # with a fresh cross-compiler works.
6444 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6445 # <limits.h> exists even on freestanding compilers.
6446 # On the NeXT, cc -E runs the code through the compiler's parser,
6447 # not just through cpp. "Syntax error" is here to catch this case.
6448 cat >conftest.$ac_ext <<_ACEOF
6451 cat confdefs.h >>conftest.$ac_ext
6452 cat >>conftest.$ac_ext <<_ACEOF
6453 /* end confdefs.h. */
6455 # include <limits.h>
6457 # include <assert.h>
6461 if { (ac_try="$ac_cpp conftest.$ac_ext"
6463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6464 *) ac_try_echo=$ac_try;;
6466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6467 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6469 grep -v '^ *+' conftest.er1 >conftest.err
6471 cat conftest.err >&5
6472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6473 (exit $ac_status); } >/dev/null && {
6474 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6475 test ! -s conftest.err
6479 echo "$as_me: failed program was:" >&5
6480 sed 's/^/| /' conftest.$ac_ext >&5
6482 # Broken: fails on valid input.
6486 rm -f conftest.err conftest.$ac_ext
6488 # OK, works on sane cases. Now check whether nonexistent headers
6489 # can be detected and how.
6490 cat >conftest.$ac_ext <<_ACEOF
6493 cat confdefs.h >>conftest.$ac_ext
6494 cat >>conftest.$ac_ext <<_ACEOF
6495 /* end confdefs.h. */
6496 #include <ac_nonexistent.h>
6498 if { (ac_try="$ac_cpp conftest.$ac_ext"
6500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6501 *) ac_try_echo=$ac_try;;
6503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6504 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6506 grep -v '^ *+' conftest.er1 >conftest.err
6508 cat conftest.err >&5
6509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6510 (exit $ac_status); } >/dev/null && {
6511 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6512 test ! -s conftest.err
6514 # Broken: success on invalid input.
6517 echo "$as_me: failed program was:" >&5
6518 sed 's/^/| /' conftest.$ac_ext >&5
6520 # Passes both tests.
6525 rm -f conftest.err conftest.$ac_ext
6528 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6529 rm -f conftest.err conftest.$ac_ext
6530 if $ac_preproc_ok; then
6533 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6534 See \`config.log' for more details." >&5
6535 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6536 See \`config.log' for more details." >&2;}
6537 { (exit 1); exit 1; }; }
6541 ac_cpp='$CPP $CPPFLAGS'
6542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6547 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6548 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6549 if test "${ac_cv_header_stdc+set}" = set; then
6550 echo $ECHO_N "(cached) $ECHO_C" >&6
6552 cat >conftest.$ac_ext <<_ACEOF
6555 cat confdefs.h >>conftest.$ac_ext
6556 cat >>conftest.$ac_ext <<_ACEOF
6557 /* end confdefs.h. */
6571 rm -f conftest.$ac_objext
6572 if { (ac_try="$ac_compile"
6574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6575 *) ac_try_echo=$ac_try;;
6577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6578 (eval "$ac_compile") 2>conftest.er1
6580 grep -v '^ *+' conftest.er1 >conftest.err
6582 cat conftest.err >&5
6583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6584 (exit $ac_status); } && {
6585 test -z "$ac_c_werror_flag" ||
6586 test ! -s conftest.err
6587 } && test -s conftest.$ac_objext; then
6588 ac_cv_header_stdc=yes
6590 echo "$as_me: failed program was:" >&5
6591 sed 's/^/| /' conftest.$ac_ext >&5
6593 ac_cv_header_stdc=no
6596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6598 if test $ac_cv_header_stdc = yes; then
6599 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6600 cat >conftest.$ac_ext <<_ACEOF
6603 cat confdefs.h >>conftest.$ac_ext
6604 cat >>conftest.$ac_ext <<_ACEOF
6605 /* end confdefs.h. */
6609 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6610 $EGREP "memchr" >/dev/null 2>&1; then
6613 ac_cv_header_stdc=no
6619 if test $ac_cv_header_stdc = yes; then
6620 # ISC 2.0.2 stdlib.h does not declare free, 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 "free" >/dev/null 2>&1; then
6634 ac_cv_header_stdc=no
6640 if test $ac_cv_header_stdc = yes; then
6641 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6642 if test "$cross_compiling" = yes; then
6645 cat >conftest.$ac_ext <<_ACEOF
6648 cat confdefs.h >>conftest.$ac_ext
6649 cat >>conftest.$ac_ext <<_ACEOF
6650 /* end confdefs.h. */
6653 #if ((' ' & 0x0FF) == 0x020)
6654 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6655 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6657 # define ISLOWER(c) \
6658 (('a' <= (c) && (c) <= 'i') \
6659 || ('j' <= (c) && (c) <= 'r') \
6660 || ('s' <= (c) && (c) <= 'z'))
6661 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6664 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6669 for (i = 0; i < 256; i++)
6670 if (XOR (islower (i), ISLOWER (i))
6671 || toupper (i) != TOUPPER (i))
6676 rm -f conftest$ac_exeext
6677 if { (ac_try="$ac_link"
6679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6680 *) ac_try_echo=$ac_try;;
6682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6683 (eval "$ac_link") 2>&5
6685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6686 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6687 { (case "(($ac_try" in
6688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6689 *) ac_try_echo=$ac_try;;
6691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6692 (eval "$ac_try") 2>&5
6694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6695 (exit $ac_status); }; }; then
6698 echo "$as_me: program exited with status $ac_status" >&5
6699 echo "$as_me: failed program was:" >&5
6700 sed 's/^/| /' conftest.$ac_ext >&5
6703 ac_cv_header_stdc=no
6705 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6711 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6712 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6713 if test $ac_cv_header_stdc = yes; then
6715 cat >>confdefs.h <<\_ACEOF
6716 #define STDC_HEADERS 1
6721 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6731 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6732 inttypes.h stdint.h unistd.h
6734 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6735 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6736 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6737 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6738 echo $ECHO_N "(cached) $ECHO_C" >&6
6740 cat >conftest.$ac_ext <<_ACEOF
6743 cat confdefs.h >>conftest.$ac_ext
6744 cat >>conftest.$ac_ext <<_ACEOF
6745 /* end confdefs.h. */
6746 $ac_includes_default
6748 #include <$ac_header>
6750 rm -f conftest.$ac_objext
6751 if { (ac_try="$ac_compile"
6753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6754 *) ac_try_echo=$ac_try;;
6756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6757 (eval "$ac_compile") 2>conftest.er1
6759 grep -v '^ *+' conftest.er1 >conftest.err
6761 cat conftest.err >&5
6762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6763 (exit $ac_status); } && {
6764 test -z "$ac_c_werror_flag" ||
6765 test ! -s conftest.err
6766 } && test -s conftest.$ac_objext; then
6767 eval "$as_ac_Header=yes"
6769 echo "$as_me: failed program was:" >&5
6770 sed 's/^/| /' conftest.$ac_ext >&5
6772 eval "$as_ac_Header=no"
6775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6777 ac_res=`eval echo '${'$as_ac_Header'}'`
6778 { echo "$as_me:$LINENO: result: $ac_res" >&5
6779 echo "${ECHO_T}$ac_res" >&6; }
6780 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6781 cat >>confdefs.h <<_ACEOF
6782 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6791 for ac_header in dlfcn.h
6793 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6794 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6795 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6796 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6797 echo $ECHO_N "(cached) $ECHO_C" >&6
6799 cat >conftest.$ac_ext <<_ACEOF
6802 cat confdefs.h >>conftest.$ac_ext
6803 cat >>conftest.$ac_ext <<_ACEOF
6804 /* end confdefs.h. */
6805 $ac_includes_default
6807 #include <$ac_header>
6809 rm -f conftest.$ac_objext
6810 if { (ac_try="$ac_compile"
6812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6813 *) ac_try_echo=$ac_try;;
6815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6816 (eval "$ac_compile") 2>conftest.er1
6818 grep -v '^ *+' conftest.er1 >conftest.err
6820 cat conftest.err >&5
6821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6822 (exit $ac_status); } && {
6823 test -z "$ac_c_werror_flag" ||
6824 test ! -s conftest.err
6825 } && test -s conftest.$ac_objext; then
6826 eval "$as_ac_Header=yes"
6828 echo "$as_me: failed program was:" >&5
6829 sed 's/^/| /' conftest.$ac_ext >&5
6831 eval "$as_ac_Header=no"
6834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6836 ac_res=`eval echo '${'$as_ac_Header'}'`
6837 { echo "$as_me:$LINENO: result: $ac_res" >&5
6838 echo "${ECHO_T}$ac_res" >&6; }
6839 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6840 cat >>confdefs.h <<_ACEOF
6841 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6860 # Check whether --enable-shared was given.
6861 if test "${enable_shared+set}" = set; then
6862 enableval=$enable_shared; p=${PACKAGE-default}
6864 yes) enable_shared=yes ;;
6865 no) enable_shared=no ;;
6868 # Look at the argument we got. We use all the common list separators.
6869 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6870 for pkg in $enableval; do
6872 if test "X$pkg" = "X$p"; then
6891 # Check whether --enable-static was given.
6892 if test "${enable_static+set}" = set; then
6893 enableval=$enable_static; p=${PACKAGE-default}
6895 yes) enable_static=yes ;;
6896 no) enable_static=no ;;
6899 # Look at the argument we got. We use all the common list separators.
6900 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6901 for pkg in $enableval; do
6903 if test "X$pkg" = "X$p"; then
6923 # Check whether --with-pic was given.
6924 if test "${with_pic+set}" = set; then
6925 withval=$with_pic; pic_mode="$withval"
6931 test -z "$pic_mode" && pic_mode=default
6939 # Check whether --enable-fast-install was given.
6940 if test "${enable_fast_install+set}" = set; then
6941 enableval=$enable_fast_install; p=${PACKAGE-default}
6943 yes) enable_fast_install=yes ;;
6944 no) enable_fast_install=no ;;
6946 enable_fast_install=no
6947 # Look at the argument we got. We use all the common list separators.
6948 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6949 for pkg in $enableval; do
6951 if test "X$pkg" = "X$p"; then
6952 enable_fast_install=yes
6959 enable_fast_install=yes
6972 # This can be used to rebuild libtool when needed
6973 LIBTOOL_DEPS="$ltmain"
6975 # Always use our own libtool.
6976 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7002 test -z "$LN_S" && LN_S="ln -s"
7017 if test -n "${ZSH_VERSION+set}" ; then
7018 setopt NO_GLOB_SUBST
7021 { echo "$as_me:$LINENO: checking for objdir" >&5
7022 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7023 if test "${lt_cv_objdir+set}" = set; then
7024 echo $ECHO_N "(cached) $ECHO_C" >&6
7026 rm -f .libs 2>/dev/null
7027 mkdir .libs 2>/dev/null
7028 if test -d .libs; then
7031 # MS-DOS does not allow filenames that begin with a dot.
7034 rmdir .libs 2>/dev/null
7036 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7037 echo "${ECHO_T}$lt_cv_objdir" >&6; }
7038 objdir=$lt_cv_objdir
7044 cat >>confdefs.h <<_ACEOF
7045 #define LT_OBJDIR "$lt_cv_objdir/"
7066 # AIX sometimes has problems with the GCC collect2 program. For some
7067 # reason, if we set the COLLECT_NAMES environment variable, the problems
7068 # vanish in a puff of smoke.
7069 if test "X${COLLECT_NAMES+set}" != Xset; then
7071 export COLLECT_NAMES
7076 # Sed substitution that helps us do robust quoting. It backslashifies
7077 # metacharacters that are still active within double-quoted strings.
7078 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7080 # Same as above, but do not quote variable references.
7081 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7083 # Sed substitution to delay expansion of an escaped shell variable in a
7084 # double_quote_subst'ed string.
7085 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7087 # Sed substitution to delay expansion of an escaped single quote.
7088 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7090 # Sed substitution to avoid accidental globbing in evaled expressions
7091 no_glob_subst='s/\*/\\\*/g'
7095 can_build_shared=yes
7097 # All known linkers require a `.a' archive for static linking (except MSVC,
7098 # which needs '.lib').
7101 with_gnu_ld="$lt_cv_prog_gnu_ld"
7104 old_CFLAGS="$CFLAGS"
7106 # Set sane defaults for various variables
7107 test -z "$CC" && CC=cc
7108 test -z "$LTCC" && LTCC=$CC
7109 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7110 test -z "$LD" && LD=ld
7111 test -z "$ac_objext" && ac_objext=o
7113 for cc_temp in $compiler""; do
7115 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7116 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7121 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7124 # Only perform the check for file, if the check method requires it
7125 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7126 case $deplibs_check_method in
7128 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7129 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7130 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7131 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7132 echo $ECHO_N "(cached) $ECHO_C" >&6
7136 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7139 lt_save_MAGIC_CMD="$MAGIC_CMD"
7140 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7141 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7142 for ac_dir in $ac_dummy; do
7144 test -z "$ac_dir" && ac_dir=.
7145 if test -f $ac_dir/${ac_tool_prefix}file; then
7146 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7147 if test -n "$file_magic_test_file"; then
7148 case $deplibs_check_method in
7150 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7151 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7152 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7153 $EGREP "$file_magic_regex" > /dev/null; then
7158 *** Warning: the command libtool uses to detect shared libraries,
7159 *** $file_magic_cmd, produces output that libtool cannot recognize.
7160 *** The result is that libtool may fail to recognize shared libraries
7161 *** as such. This will affect the creation of libtool libraries that
7162 *** depend on shared libraries, but programs linked with such libtool
7163 *** libraries will work regardless of this problem. Nevertheless, you
7164 *** may want to report the problem to your system manager and/or to
7165 *** bug-libtool@gnu.org
7175 MAGIC_CMD="$lt_save_MAGIC_CMD"
7180 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7181 if test -n "$MAGIC_CMD"; then
7182 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7183 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7185 { echo "$as_me:$LINENO: result: no" >&5
7186 echo "${ECHO_T}no" >&6; }
7193 if test -z "$lt_cv_path_MAGIC_CMD"; then
7194 if test -n "$ac_tool_prefix"; then
7195 { echo "$as_me:$LINENO: checking for file" >&5
7196 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7197 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7198 echo $ECHO_N "(cached) $ECHO_C" >&6
7202 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7205 lt_save_MAGIC_CMD="$MAGIC_CMD"
7206 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7207 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7208 for ac_dir in $ac_dummy; do
7210 test -z "$ac_dir" && ac_dir=.
7211 if test -f $ac_dir/file; then
7212 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7213 if test -n "$file_magic_test_file"; then
7214 case $deplibs_check_method in
7216 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7217 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7218 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7219 $EGREP "$file_magic_regex" > /dev/null; then
7224 *** Warning: the command libtool uses to detect shared libraries,
7225 *** $file_magic_cmd, produces output that libtool cannot recognize.
7226 *** The result is that libtool may fail to recognize shared libraries
7227 *** as such. This will affect the creation of libtool libraries that
7228 *** depend on shared libraries, but programs linked with such libtool
7229 *** libraries will work regardless of this problem. Nevertheless, you
7230 *** may want to report the problem to your system manager and/or to
7231 *** bug-libtool@gnu.org
7241 MAGIC_CMD="$lt_save_MAGIC_CMD"
7246 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7247 if test -n "$MAGIC_CMD"; then
7248 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7249 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7251 { echo "$as_me:$LINENO: result: no" >&5
7252 echo "${ECHO_T}no" >&6; }
7265 # Use C for the default configuration in the libtool script
7269 ac_cpp='$CPP $CPPFLAGS'
7270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7275 # Source file extension for C test sources.
7278 # Object file extension for compiled C test sources.
7282 # Code to be used in simple compile tests
7283 lt_simple_compile_test_code="int some_variable = 0;"
7285 # Code to be used in simple link tests
7286 lt_simple_link_test_code='int main(){return(0);}'
7294 # If no C compiler was specified, use CC.
7297 # If no C compiler flags were specified, use CFLAGS.
7298 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7300 # Allow CC to be a program name with arguments.
7303 # Save the default compiler, since it gets overwritten when the other
7304 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7305 compiler_DEFAULT=$CC
7307 # save warnings/boilerplate of simple test code
7308 ac_outfile=conftest.$ac_objext
7309 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7310 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7311 _lt_compiler_boilerplate=`cat conftest.err`
7314 ac_outfile=conftest.$ac_objext
7315 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7316 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7317 _lt_linker_boilerplate=`cat conftest.err`
7321 if test -n "$compiler"; then
7323 lt_prog_compiler_no_builtin_flag=
7325 if test "$GCC" = yes; then
7326 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7328 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7329 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7330 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7331 echo $ECHO_N "(cached) $ECHO_C" >&6
7333 lt_cv_prog_compiler_rtti_exceptions=no
7334 ac_outfile=conftest.$ac_objext
7335 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7336 lt_compiler_flag="-fno-rtti -fno-exceptions"
7337 # Insert the option either (1) after the last *FLAGS variable, or
7338 # (2) before a word containing "conftest.", or (3) at the end.
7339 # Note that $ac_compile itself does not contain backslashes and begins
7340 # with a dollar sign (not a hyphen), so the echo should work correctly.
7341 # The option is referenced via a variable to avoid confusing sed.
7342 lt_compile=`echo "$ac_compile" | $SED \
7343 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7344 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7345 -e 's:$: $lt_compiler_flag:'`
7346 (eval echo "\"\$as_me:7346: $lt_compile\"" >&5)
7347 (eval "$lt_compile" 2>conftest.err)
7349 cat conftest.err >&5
7350 echo "$as_me:7350: \$? = $ac_status" >&5
7351 if (exit $ac_status) && test -s "$ac_outfile"; then
7352 # The compiler can only warn and ignore the option if not recognized
7353 # So say no if there are warnings other than the usual output.
7354 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7355 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7356 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7357 lt_cv_prog_compiler_rtti_exceptions=yes
7363 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7364 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7366 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7367 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7379 lt_prog_compiler_wl=
7380 lt_prog_compiler_pic=
7381 lt_prog_compiler_static=
7383 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7384 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7386 if test "$GCC" = yes; then
7387 lt_prog_compiler_wl='-Wl,'
7388 lt_prog_compiler_static='-static'
7392 # All AIX code is PIC.
7393 if test "$host_cpu" = ia64; then
7394 # AIX 5 now supports IA64 processor
7395 lt_prog_compiler_static='-Bstatic'
7402 # see comment about AmigaOS4 .so support
7403 lt_prog_compiler_pic='-fPIC'
7406 # FIXME: we need at least 68020 code to build shared libraries, but
7407 # adding the `-m68020' flag to GCC prevents building anything better,
7409 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7414 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7415 # PIC is the default for these OSes.
7418 mingw* | cygwin* | pw32* | os2* | cegcc*)
7419 # This hack is so that the source file can tell whether it is being
7420 # built for inclusion in a dll (and should export symbols for example).
7421 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7422 # (--disable-auto-import) libraries
7423 lt_prog_compiler_pic='-DDLL_EXPORT'
7426 darwin* | rhapsody*)
7427 # PIC is the default on this platform
7428 # Common symbols not allowed in MH_DYLIB files
7429 lt_prog_compiler_pic='-fno-common'
7433 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7434 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7435 # sets the default TLS model and affects inlining.
7441 lt_prog_compiler_pic='-fPIC'
7447 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7448 # Instead, we relocate shared libraries at runtime.
7452 # Just because we use GCC doesn't mean we suddenly get shared libraries
7453 # on systems that don't support them.
7454 lt_prog_compiler_can_build_shared=no
7459 # QNX uses GNU C++, but need to define -shared option too, otherwise
7461 lt_prog_compiler_pic='-fPIC -shared'
7465 if test -d /usr/nec; then
7466 lt_prog_compiler_pic=-Kconform_pic
7471 lt_prog_compiler_pic='-fPIC'
7475 # PORTME Check for flag to pass linker flags through the system compiler.
7478 lt_prog_compiler_wl='-Wl,'
7479 if test "$host_cpu" = ia64; then
7480 # AIX 5 now supports IA64 processor
7481 lt_prog_compiler_static='-Bstatic'
7483 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7487 mingw* | cygwin* | pw32* | os2* | cegcc*)
7488 # This hack is so that the source file can tell whether it is being
7489 # built for inclusion in a dll (and should export symbols for example).
7490 lt_prog_compiler_pic='-DDLL_EXPORT'
7493 hpux9* | hpux10* | hpux11*)
7494 lt_prog_compiler_wl='-Wl,'
7495 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7502 lt_prog_compiler_pic='+Z'
7505 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7506 lt_prog_compiler_static='${wl}-a ${wl}archive'
7509 irix5* | irix6* | nonstopux*)
7510 lt_prog_compiler_wl='-Wl,'
7511 # PIC (with -KPIC) is the default.
7512 lt_prog_compiler_static='-non_shared'
7515 linux* | k*bsd*-gnu)
7516 case $cc_basename in
7517 # old Intel for x86_64 which still supported -KPIC.
7519 lt_prog_compiler_wl='-Wl,'
7520 lt_prog_compiler_pic='-KPIC'
7521 lt_prog_compiler_static='-static'
7523 # icc used to be incompatible with GCC.
7524 # ICC 10 doesn't accept -KPIC any more.
7526 lt_prog_compiler_wl='-Wl,'
7527 lt_prog_compiler_pic='-fPIC'
7528 lt_prog_compiler_static='-static'
7530 # Lahey Fortran 8.1.
7532 lt_prog_compiler_wl='-Wl,'
7533 lt_prog_compiler_pic='--shared'
7534 lt_prog_compiler_static='--static'
7536 pgcc* | pgf77* | pgf90* | pgf95*)
7537 # Portland Group compilers (*not* the Pentium gcc compiler,
7538 # which looks to be a dead project)
7539 lt_prog_compiler_wl='-Wl,'
7540 lt_prog_compiler_pic='-fpic'
7541 lt_prog_compiler_static='-Bstatic'
7544 lt_prog_compiler_wl='-Wl,'
7545 # All Alpha code is PIC.
7546 lt_prog_compiler_static='-non_shared'
7549 # IBM XL C 8.0/Fortran 10.1 on PPC
7550 lt_prog_compiler_wl='-Wl,'
7551 lt_prog_compiler_pic='-qpic'
7552 lt_prog_compiler_static='-qstaticlink'
7555 case `$CC -V 2>&1 | sed 5q` in
7558 lt_prog_compiler_pic='-KPIC'
7559 lt_prog_compiler_static='-Bstatic'
7560 lt_prog_compiler_wl='-Wl,'
7563 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7564 lt_prog_compiler_pic='-KPIC'
7565 lt_prog_compiler_static='-Bstatic'
7566 lt_prog_compiler_wl=''
7574 lt_prog_compiler_pic='-KPIC'
7575 lt_prog_compiler_static='-Bstatic'
7579 # QNX uses GNU C++, but need to define -shared option too, otherwise
7581 lt_prog_compiler_pic='-fPIC -shared'
7584 osf3* | osf4* | osf5*)
7585 lt_prog_compiler_wl='-Wl,'
7586 # All OSF/1 code is PIC.
7587 lt_prog_compiler_static='-non_shared'
7591 lt_prog_compiler_static='-non_shared'
7595 lt_prog_compiler_pic='-KPIC'
7596 lt_prog_compiler_static='-Bstatic'
7597 case $cc_basename in
7599 lt_prog_compiler_wl='-Qoption ld ';;
7601 lt_prog_compiler_wl='-Wl,';;
7606 lt_prog_compiler_wl='-Qoption ld '
7607 lt_prog_compiler_pic='-PIC'
7608 lt_prog_compiler_static='-Bstatic'
7611 sysv4 | sysv4.2uw2* | sysv4.3*)
7612 lt_prog_compiler_wl='-Wl,'
7613 lt_prog_compiler_pic='-KPIC'
7614 lt_prog_compiler_static='-Bstatic'
7618 if test -d /usr/nec ;then
7619 lt_prog_compiler_pic='-Kconform_pic'
7620 lt_prog_compiler_static='-Bstatic'
7624 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7625 lt_prog_compiler_wl='-Wl,'
7626 lt_prog_compiler_pic='-KPIC'
7627 lt_prog_compiler_static='-Bstatic'
7631 lt_prog_compiler_wl='-Wl,'
7632 lt_prog_compiler_can_build_shared=no
7636 lt_prog_compiler_pic='-pic'
7637 lt_prog_compiler_static='-Bstatic'
7641 lt_prog_compiler_can_build_shared=no
7647 # For platforms which do not support PIC, -DPIC is meaningless:
7649 lt_prog_compiler_pic=
7652 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7655 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7656 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7664 # Check to make sure the PIC flag actually works.
7666 if test -n "$lt_prog_compiler_pic"; then
7667 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7668 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7669 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7670 echo $ECHO_N "(cached) $ECHO_C" >&6
7672 lt_cv_prog_compiler_pic_works=no
7673 ac_outfile=conftest.$ac_objext
7674 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7675 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7676 # Insert the option either (1) after the last *FLAGS variable, or
7677 # (2) before a word containing "conftest.", or (3) at the end.
7678 # Note that $ac_compile itself does not contain backslashes and begins
7679 # with a dollar sign (not a hyphen), so the echo should work correctly.
7680 # The option is referenced via a variable to avoid confusing sed.
7681 lt_compile=`echo "$ac_compile" | $SED \
7682 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7683 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7684 -e 's:$: $lt_compiler_flag:'`
7685 (eval echo "\"\$as_me:7685: $lt_compile\"" >&5)
7686 (eval "$lt_compile" 2>conftest.err)
7688 cat conftest.err >&5
7689 echo "$as_me:7689: \$? = $ac_status" >&5
7690 if (exit $ac_status) && test -s "$ac_outfile"; then
7691 # The compiler can only warn and ignore the option if not recognized
7692 # So say no if there are warnings other than the usual output.
7693 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7694 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7695 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7696 lt_cv_prog_compiler_pic_works=yes
7702 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7703 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
7705 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7706 case $lt_prog_compiler_pic in
7708 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7711 lt_prog_compiler_pic=
7712 lt_prog_compiler_can_build_shared=no
7723 # Check to make sure the static flag actually works.
7725 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7726 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7727 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7728 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7729 echo $ECHO_N "(cached) $ECHO_C" >&6
7731 lt_cv_prog_compiler_static_works=no
7732 save_LDFLAGS="$LDFLAGS"
7733 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7734 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7735 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7736 # The linker can only warn and ignore the option if not recognized
7737 # So say no if there are warnings
7738 if test -s conftest.err; then
7739 # Append any errors to the config.log.
7740 cat conftest.err 1>&5
7741 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7742 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7743 if diff conftest.exp conftest.er2 >/dev/null; then
7744 lt_cv_prog_compiler_static_works=yes
7747 lt_cv_prog_compiler_static_works=yes
7751 LDFLAGS="$save_LDFLAGS"
7754 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7755 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
7757 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7760 lt_prog_compiler_static=
7769 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7770 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7771 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7772 echo $ECHO_N "(cached) $ECHO_C" >&6
7774 lt_cv_prog_compiler_c_o=no
7775 $RM -r conftest 2>/dev/null
7779 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7781 lt_compiler_flag="-o out/conftest2.$ac_objext"
7782 # Insert the option either (1) after the last *FLAGS variable, or
7783 # (2) before a word containing "conftest.", or (3) at the end.
7784 # Note that $ac_compile itself does not contain backslashes and begins
7785 # with a dollar sign (not a hyphen), so the echo should work correctly.
7786 lt_compile=`echo "$ac_compile" | $SED \
7787 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7788 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7789 -e 's:$: $lt_compiler_flag:'`
7790 (eval echo "\"\$as_me:7790: $lt_compile\"" >&5)
7791 (eval "$lt_compile" 2>out/conftest.err)
7793 cat out/conftest.err >&5
7794 echo "$as_me:7794: \$? = $ac_status" >&5
7795 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7797 # The compiler can only warn and ignore the option if not recognized
7798 # So say no if there are warnings
7799 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7800 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7801 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7802 lt_cv_prog_compiler_c_o=yes
7807 # SGI C++ compiler will create directory out/ii_files/ for
7808 # template instantiation
7809 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7810 $RM out/* && rmdir out
7816 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7817 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7824 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7825 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7826 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7827 echo $ECHO_N "(cached) $ECHO_C" >&6
7829 lt_cv_prog_compiler_c_o=no
7830 $RM -r conftest 2>/dev/null
7834 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7836 lt_compiler_flag="-o out/conftest2.$ac_objext"
7837 # Insert the option either (1) after the last *FLAGS variable, or
7838 # (2) before a word containing "conftest.", or (3) at the end.
7839 # Note that $ac_compile itself does not contain backslashes and begins
7840 # with a dollar sign (not a hyphen), so the echo should work correctly.
7841 lt_compile=`echo "$ac_compile" | $SED \
7842 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7843 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7844 -e 's:$: $lt_compiler_flag:'`
7845 (eval echo "\"\$as_me:7845: $lt_compile\"" >&5)
7846 (eval "$lt_compile" 2>out/conftest.err)
7848 cat out/conftest.err >&5
7849 echo "$as_me:7849: \$? = $ac_status" >&5
7850 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7852 # The compiler can only warn and ignore the option if not recognized
7853 # So say no if there are warnings
7854 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7855 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7856 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7857 lt_cv_prog_compiler_c_o=yes
7862 # SGI C++ compiler will create directory out/ii_files/ for
7863 # template instantiation
7864 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7865 $RM out/* && rmdir out
7871 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7872 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7877 hard_links="nottested"
7878 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7879 # do not overwrite the value of need_locks provided by the user
7880 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7881 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7884 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7886 ln conftest.a conftest.b 2>&5 || hard_links=no
7887 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7888 { echo "$as_me:$LINENO: result: $hard_links" >&5
7889 echo "${ECHO_T}$hard_links" >&6; }
7890 if test "$hard_links" = no; then
7891 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7892 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7904 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7905 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7908 allow_undefined_flag=
7909 always_export_symbols=no
7911 archive_expsym_cmds=
7912 compiler_needs_object=no
7913 enable_shared_with_static_runtimes=no
7914 export_dynamic_flag_spec=
7915 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7916 hardcode_automatic=no
7918 hardcode_direct_absolute=no
7919 hardcode_libdir_flag_spec=
7920 hardcode_libdir_flag_spec_ld=
7921 hardcode_libdir_separator=
7923 hardcode_shlibpath_var=unsupported
7925 link_all_deplibs=unknown
7928 old_archive_from_new_cmds=
7929 old_archive_from_expsyms_cmds=
7930 thread_safe_flag_spec=
7931 whole_archive_flag_spec=
7932 # include_expsyms should be a list of space-separated symbols to be *always*
7933 # included in the symbol list
7935 # exclude_expsyms can be an extended regexp of symbols to exclude
7936 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7937 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7938 # as well as any symbol that contains `d'.
7939 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7940 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7941 # platforms (ab)use it in PIC code, but their linkers get confused if
7942 # the symbol is explicitly referenced. Since portable code cannot
7943 # rely on this symbol name, it's probably fine to never include it in
7944 # preloaded symbol tables.
7945 # Exclude shared library initialization/finalization symbols.
7946 extract_expsyms_cmds=
7949 cygwin* | mingw* | pw32* | cegcc*)
7950 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7951 # When not using gcc, we currently assume that we are using
7952 # Microsoft Visual C++.
7953 if test "$GCC" != yes; then
7958 # we just hope/assume this is gcc and not c89 (= MSVC++)
7964 linux* | k*bsd*-gnu)
7970 if test "$with_gnu_ld" = yes; then
7971 # If archive_cmds runs LD, not CC, wlarc should be empty
7974 # Set some defaults for GNU ld with shared library support. These
7975 # are reset later if shared libraries are not supported. Putting them
7976 # here allows them to be overridden if necessary.
7977 runpath_var=LD_RUN_PATH
7978 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7979 export_dynamic_flag_spec='${wl}--export-dynamic'
7980 # ancient GNU ld didn't support --whole-archive et. al.
7981 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7982 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7984 whole_archive_flag_spec=
7986 supports_anon_versioning=no
7987 case `$LD -v 2>&1` in
7988 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7989 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7990 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7991 *\ 2.11.*) ;; # other 2.11 versions
7992 *) supports_anon_versioning=yes ;;
7995 # See if GNU ld supports shared libraries.
7998 # On AIX/PPC, the GNU linker is very broken
7999 if test "$host_cpu" != ia64; then
8003 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8004 *** to be unable to reliably create shared libraries on AIX.
8005 *** Therefore, libtool is disabling shared libraries support. If you
8006 *** really care for shared libraries, you may want to modify your PATH
8007 *** so that a non-GNU linker is found, and then restart.
8016 # see comment about AmigaOS4 .so support
8017 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8018 archive_expsym_cmds=''
8021 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)'
8022 hardcode_libdir_flag_spec='-L$libdir'
8023 hardcode_minus_L=yes
8029 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8030 allow_undefined_flag=unsupported
8031 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8032 # support --undefined. This deserves some investigation. FIXME
8033 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8039 cygwin* | mingw* | pw32* | cegcc*)
8040 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8041 # as there is no search path for DLLs.
8042 hardcode_libdir_flag_spec='-L$libdir'
8043 allow_undefined_flag=unsupported
8044 always_export_symbols=no
8045 enable_shared_with_static_runtimes=yes
8046 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8048 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8049 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8050 # If the export-symbols file already is a .def file (1st line
8051 # is EXPORTS), use it as is; otherwise, prepend...
8052 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8053 cp $export_symbols $output_objdir/$soname.def;
8055 echo EXPORTS > $output_objdir/$soname.def;
8056 cat $export_symbols >> $output_objdir/$soname.def;
8058 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8066 hardcode_shlibpath_var=no
8067 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8068 export_dynamic_flag_spec='${wl}-E'
8069 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8070 # Instead, shared libraries are loaded at an image base (0x10000000 by
8071 # default) and relocated if they conflict, which is a slow very memory
8072 # consuming and fragmenting process. To avoid this, we pick a random,
8073 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8074 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8075 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8076 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'
8079 gnu* | linux* | tpf* | k*bsd*-gnu)
8081 if test "$host_os" = linux-dietlibc; then
8082 case $cc_basename in
8083 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8086 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8087 && test "$tmp_diet" = no
8090 tmp_sharedflag='-shared'
8091 case $cc_basename,$host_cpu in
8092 pgcc*) # Portland Group C compiler
8093 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'
8094 tmp_addflag=' $pic_flag'
8096 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8097 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'
8098 tmp_addflag=' $pic_flag -Mnomain' ;;
8099 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8100 tmp_addflag=' -i_dynamic' ;;
8101 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8102 tmp_addflag=' -i_dynamic -nofor_main' ;;
8103 ifc* | ifort*) # Intel Fortran compiler
8104 tmp_addflag=' -nofor_main' ;;
8105 lf95*) # Lahey Fortran 8.1
8106 whole_archive_flag_spec=
8107 tmp_sharedflag='--shared' ;;
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 export_dynamic_flag_spec='${wl}-bexpall'
8341 # It seems that -bexpall does not export symbols beginning with
8342 # underscore (_), so it is better to generate a list of symbols to export.
8343 always_export_symbols=yes
8344 if test "$aix_use_runtimelinking" = yes; then
8345 # Warning - without using the other runtime loading flags (-brtl),
8346 # -berok will link without error, but may produce a broken library.
8347 allow_undefined_flag='-berok'
8348 # Determine the default libpath from the value encoded in an
8350 cat >conftest.$ac_ext <<_ACEOF
8353 cat confdefs.h >>conftest.$ac_ext
8354 cat >>conftest.$ac_ext <<_ACEOF
8355 /* end confdefs.h. */
8365 rm -f conftest.$ac_objext conftest$ac_exeext
8366 if { (ac_try="$ac_link"
8368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8369 *) ac_try_echo=$ac_try;;
8371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8372 (eval "$ac_link") 2>conftest.er1
8374 grep -v '^ *+' conftest.er1 >conftest.err
8376 cat conftest.err >&5
8377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8378 (exit $ac_status); } && {
8379 test -z "$ac_c_werror_flag" ||
8380 test ! -s conftest.err
8381 } && test -s conftest$ac_exeext &&
8382 $as_test_x conftest$ac_exeext; then
8384 lt_aix_libpath_sed='
8385 /Import File Strings/,/^$/ {
8391 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8392 # Check for a 64-bit object if we didn't find anything.
8393 if test -z "$aix_libpath"; then
8394 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8397 echo "$as_me: failed program was:" >&5
8398 sed 's/^/| /' conftest.$ac_ext >&5
8403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8404 conftest$ac_exeext conftest.$ac_ext
8405 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8407 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8408 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"
8410 if test "$host_cpu" = ia64; then
8411 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8412 allow_undefined_flag="-z nodefs"
8413 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"
8415 # Determine the default libpath from the value encoded in an
8417 cat >conftest.$ac_ext <<_ACEOF
8420 cat confdefs.h >>conftest.$ac_ext
8421 cat >>conftest.$ac_ext <<_ACEOF
8422 /* end confdefs.h. */
8432 rm -f conftest.$ac_objext conftest$ac_exeext
8433 if { (ac_try="$ac_link"
8435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8436 *) ac_try_echo=$ac_try;;
8438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8439 (eval "$ac_link") 2>conftest.er1
8441 grep -v '^ *+' conftest.er1 >conftest.err
8443 cat conftest.err >&5
8444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8445 (exit $ac_status); } && {
8446 test -z "$ac_c_werror_flag" ||
8447 test ! -s conftest.err
8448 } && test -s conftest$ac_exeext &&
8449 $as_test_x conftest$ac_exeext; then
8451 lt_aix_libpath_sed='
8452 /Import File Strings/,/^$/ {
8458 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8459 # Check for a 64-bit object if we didn't find anything.
8460 if test -z "$aix_libpath"; then
8461 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8464 echo "$as_me: failed program was:" >&5
8465 sed 's/^/| /' conftest.$ac_ext >&5
8470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8471 conftest$ac_exeext conftest.$ac_ext
8472 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8474 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8475 # Warning - without using the other run time loading flags,
8476 # -berok will link without error, but may produce a broken library.
8477 no_undefined_flag=' ${wl}-bernotok'
8478 allow_undefined_flag=' ${wl}-berok'
8479 # Exported symbols can be pulled into shared objects from archives
8480 whole_archive_flag_spec='$convenience'
8481 archive_cmds_need_lc=yes
8482 # This is similar to how AIX traditionally builds its shared libraries.
8483 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'
8491 # see comment about AmigaOS4 .so support
8492 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8493 archive_expsym_cmds=''
8496 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)'
8497 hardcode_libdir_flag_spec='-L$libdir'
8498 hardcode_minus_L=yes
8504 export_dynamic_flag_spec=-rdynamic
8507 cygwin* | mingw* | pw32* | cegcc*)
8508 # When not using gcc, we currently assume that we are using
8509 # Microsoft Visual C++.
8510 # hardcode_libdir_flag_spec is actually meaningless, as there is
8511 # no search path for DLLs.
8512 hardcode_libdir_flag_spec=' '
8513 allow_undefined_flag=unsupported
8514 # Tell ltmain to make .lib files, not .a files.
8516 # Tell ltmain to make .dll files, not .so files.
8518 # FIXME: Setting linknames here is a bad hack.
8519 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8520 # The linker will automatically build a .lib file if we build a DLL.
8521 old_archive_from_new_cmds='true'
8522 # FIXME: Should let the user specify the lib program.
8523 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8524 fix_srcfile_path='`cygpath -w "$srcfile"`'
8525 enable_shared_with_static_runtimes=yes
8528 darwin* | rhapsody*)
8531 archive_cmds_need_lc=no
8533 hardcode_automatic=yes
8534 hardcode_shlibpath_var=unsupported
8535 whole_archive_flag_spec=''
8536 link_all_deplibs=yes
8537 allow_undefined_flag="$_lt_dar_allow_undefined"
8538 case $cc_basename in
8539 ifort*) _lt_dar_can_shared=yes ;;
8540 *) _lt_dar_can_shared=$GCC ;;
8542 if test "$_lt_dar_can_shared" = "yes"; then
8543 output_verbose_link_cmd=echo
8544 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8545 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8546 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}"
8547 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}"
8556 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8557 hardcode_libdir_flag_spec='-L$libdir'
8558 hardcode_shlibpath_var=no
8565 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8566 # support. Future versions do this automatically, but an explicit c++rt0.o
8567 # does not break anything, and helps significantly (at the cost of a little
8570 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8571 hardcode_libdir_flag_spec='-R$libdir'
8573 hardcode_shlibpath_var=no
8576 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8578 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8580 hardcode_minus_L=yes
8581 hardcode_shlibpath_var=no
8584 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8585 freebsd* | dragonfly*)
8586 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8587 hardcode_libdir_flag_spec='-R$libdir'
8589 hardcode_shlibpath_var=no
8593 if test "$GCC" = yes; then
8594 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'
8596 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'
8598 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8599 hardcode_libdir_separator=:
8602 # hardcode_minus_L: Not really in the search PATH,
8603 # but as the default location of the library.
8604 hardcode_minus_L=yes
8605 export_dynamic_flag_spec='${wl}-E'
8609 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8610 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8612 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8614 if test "$with_gnu_ld" = no; then
8615 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8616 hardcode_libdir_flag_spec_ld='+b $libdir'
8617 hardcode_libdir_separator=:
8619 hardcode_direct_absolute=yes
8620 export_dynamic_flag_spec='${wl}-E'
8621 # hardcode_minus_L: Not really in the search PATH,
8622 # but as the default location of the library.
8623 hardcode_minus_L=yes
8628 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8631 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8634 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8637 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8643 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8646 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8649 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8653 if test "$with_gnu_ld" = no; then
8654 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8655 hardcode_libdir_separator=:
8660 hardcode_shlibpath_var=no
8664 hardcode_direct_absolute=yes
8665 export_dynamic_flag_spec='${wl}-E'
8667 # hardcode_minus_L: Not really in the search PATH,
8668 # but as the default location of the library.
8669 hardcode_minus_L=yes
8675 irix5* | irix6* | nonstopux*)
8676 if test "$GCC" = yes; then
8677 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'
8678 # Try to use the -exported_symbol ld option, if it does not
8679 # work, assume that -exports_file does not work either and
8680 # implicitly export all symbols.
8681 save_LDFLAGS="$LDFLAGS"
8682 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8683 cat >conftest.$ac_ext <<_ACEOF
8686 rm -f conftest.$ac_objext conftest$ac_exeext
8687 if { (ac_try="$ac_link"
8689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8690 *) ac_try_echo=$ac_try;;
8692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8693 (eval "$ac_link") 2>conftest.er1
8695 grep -v '^ *+' conftest.er1 >conftest.err
8697 cat conftest.err >&5
8698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8699 (exit $ac_status); } && {
8700 test -z "$ac_c_werror_flag" ||
8701 test ! -s conftest.err
8702 } && test -s conftest$ac_exeext &&
8703 $as_test_x conftest$ac_exeext; then
8704 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'
8707 echo "$as_me: failed program was:" >&5
8708 sed 's/^/| /' conftest.$ac_ext >&5
8713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8714 conftest$ac_exeext conftest.$ac_ext
8715 LDFLAGS="$save_LDFLAGS"
8717 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'
8718 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'
8720 archive_cmds_need_lc='no'
8721 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8722 hardcode_libdir_separator=:
8724 link_all_deplibs=yes
8727 netbsd* | netbsdelf*-gnu)
8728 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8729 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8731 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8733 hardcode_libdir_flag_spec='-R$libdir'
8735 hardcode_shlibpath_var=no
8739 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8741 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8742 hardcode_libdir_separator=:
8743 hardcode_shlibpath_var=no
8750 if test -f /usr/libexec/ld.so; then
8752 hardcode_shlibpath_var=no
8753 hardcode_direct_absolute=yes
8754 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8755 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8756 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8757 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8758 export_dynamic_flag_spec='${wl}-E'
8761 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8762 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8763 hardcode_libdir_flag_spec='-R$libdir'
8766 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8767 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8777 hardcode_libdir_flag_spec='-L$libdir'
8778 hardcode_minus_L=yes
8779 allow_undefined_flag=unsupported
8780 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'
8781 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8785 if test "$GCC" = yes; then
8786 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8787 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'
8789 allow_undefined_flag=' -expect_unresolved \*'
8790 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'
8792 archive_cmds_need_lc='no'
8793 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8794 hardcode_libdir_separator=:
8797 osf4* | osf5*) # as osf3* with the addition of -msym flag
8798 if test "$GCC" = yes; then
8799 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8800 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'
8801 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8803 allow_undefined_flag=' -expect_unresolved \*'
8804 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'
8805 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~
8806 $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'
8808 # Both c and cxx compiler support -rpath directly
8809 hardcode_libdir_flag_spec='-rpath $libdir'
8811 archive_cmds_need_lc='no'
8812 hardcode_libdir_separator=:
8816 no_undefined_flag=' -z defs'
8817 if test "$GCC" = yes; then
8819 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8820 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8821 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8823 case `$CC -V 2>&1` in
8826 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8827 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8828 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8832 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8833 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8834 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8838 hardcode_libdir_flag_spec='-R$libdir'
8839 hardcode_shlibpath_var=no
8841 solaris2.[0-5] | solaris2.[0-5].*) ;;
8843 # The compiler driver will combine and reorder linker options,
8844 # but understands `-z linker_flag'. GCC discards it without `$wl',
8845 # but is careful enough not to reorder.
8846 # Supported since Solaris 2.6 (maybe 2.5.1?)
8847 if test "$GCC" = yes; then
8848 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8850 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8854 link_all_deplibs=yes
8858 if test "x$host_vendor" = xsequent; then
8859 # Use $CC to link under sequent, because it throws in some extra .o
8860 # files that make .init and .fini sections work.
8861 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8863 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8865 hardcode_libdir_flag_spec='-L$libdir'
8867 hardcode_minus_L=yes
8868 hardcode_shlibpath_var=no
8872 case $host_vendor in
8874 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8875 hardcode_direct=yes # is this really true???
8878 ## LD is ld it makes a PLAMLIB
8879 ## CC just makes a GrossModule.
8880 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8881 reload_cmds='$CC -r -o $output$reload_objs'
8885 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8886 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8889 runpath_var='LD_RUN_PATH'
8890 hardcode_shlibpath_var=no
8894 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8895 hardcode_shlibpath_var=no
8896 export_dynamic_flag_spec='-Bexport'
8900 if test -d /usr/nec; then
8901 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8902 hardcode_shlibpath_var=no
8903 runpath_var=LD_RUN_PATH
8904 hardcode_runpath_var=yes
8909 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8910 no_undefined_flag='${wl}-z,text'
8911 archive_cmds_need_lc=no
8912 hardcode_shlibpath_var=no
8913 runpath_var='LD_RUN_PATH'
8915 if test "$GCC" = yes; then
8916 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8917 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8919 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8920 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8924 sysv5* | sco3.2v5* | sco5v6*)
8925 # Note: We can NOT use -z defs as we might desire, because we do not
8926 # link with -lc, and that would cause any symbols used from libc to
8927 # always be unresolved, which means just about no library would
8928 # ever link correctly. If we're not using GNU ld we use -z text
8929 # though, which does catch some bad symbols but isn't as heavy-handed
8931 no_undefined_flag='${wl}-z,text'
8932 allow_undefined_flag='${wl}-z,nodefs'
8933 archive_cmds_need_lc=no
8934 hardcode_shlibpath_var=no
8935 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8936 hardcode_libdir_separator=':'
8937 link_all_deplibs=yes
8938 export_dynamic_flag_spec='${wl}-Bexport'
8939 runpath_var='LD_RUN_PATH'
8941 if test "$GCC" = yes; then
8942 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8943 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8945 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8946 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8951 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8952 hardcode_libdir_flag_spec='-L$libdir'
8953 hardcode_shlibpath_var=no
8961 if test x$host_vendor = xsni; then
8963 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8964 export_dynamic_flag_spec='${wl}-Blargedynsym'
8970 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8971 echo "${ECHO_T}$ld_shlibs" >&6; }
8972 test "$ld_shlibs" = no && can_build_shared=no
8974 with_gnu_ld=$with_gnu_ld
8991 # Do we need to explicitly link libc?
8993 case "x$archive_cmds_need_lc" in
8995 # Assume -lc should be added
8996 archive_cmds_need_lc=yes
8998 if test "$enable_shared" = yes && test "$GCC" = yes; then
8999 case $archive_cmds in
9001 # FIXME: we may have to deal with multi-command sequences.
9004 # Test whether the compiler implicitly links with -lc since on some
9005 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9006 # to ld, don't add -lc before -lgcc.
9007 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9008 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9010 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9013 (eval $ac_compile) 2>&5
9015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9016 (exit $ac_status); } 2>conftest.err; then
9019 libobjs=conftest.$ac_objext
9021 wl=$lt_prog_compiler_wl
9022 pic_flag=$lt_prog_compiler_pic
9028 lt_save_allow_undefined_flag=$allow_undefined_flag
9029 allow_undefined_flag=
9030 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9031 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9034 (exit $ac_status); }
9036 archive_cmds_need_lc=no
9038 archive_cmds_need_lc=yes
9040 allow_undefined_flag=$lt_save_allow_undefined_flag
9042 cat conftest.err 1>&5
9045 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9046 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9209 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9210 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9212 if test "$GCC" = yes; then
9214 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9215 *) lt_awk_arg="/^libraries:/" ;;
9217 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9218 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9219 # if the path contains ";" then we assume it to be the separator
9220 # otherwise default to the standard path separator (i.e. ":") - it is
9221 # assumed that no part of a normal pathname contains ";" but that should
9222 # okay in the real world where ";" in dirpaths is itself problematic.
9223 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9225 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9227 # Ok, now we have the path, separated by spaces, we can step through it
9228 # and add multilib dir if necessary.
9229 lt_tmp_lt_search_path_spec=
9230 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9231 for lt_sys_path in $lt_search_path_spec; do
9232 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9233 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9235 test -d "$lt_sys_path" && \
9236 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9239 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9240 BEGIN {RS=" "; FS="/|\n";} {
9243 for (lt_i = NF; lt_i > 0; lt_i--) {
9244 if ($lt_i != "" && $lt_i != ".") {
9245 if ($lt_i == "..") {
9248 if (lt_count == 0) {
9249 lt_foo="/" $lt_i lt_foo;
9256 if (lt_foo != "") { lt_freq[lt_foo]++; }
9257 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9259 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9261 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9264 libname_spec='lib$name'
9272 shlibpath_overrides_runpath=unknown
9274 dynamic_linker="$host_os ld.so"
9275 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9276 need_lib_prefix=unknown
9277 hardcode_into_libs=no
9279 # when you set need_version to no, make sure it does not cause -set_version
9280 # flags to be left without arguments
9281 need_version=unknown
9286 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9287 shlibpath_var=LIBPATH
9289 # AIX 3 has no versioning support, so we append a major version to the name.
9290 soname_spec='${libname}${release}${shared_ext}$major'
9297 hardcode_into_libs=yes
9298 if test "$host_cpu" = ia64; then
9299 # AIX 5 supports IA64
9300 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9301 shlibpath_var=LD_LIBRARY_PATH
9303 # With GCC up to 2.95.x, collect2 would create an import file
9304 # for dependence libraries. The import file would start with
9305 # the line `#! .'. This would cause the generated library to
9306 # depend on `.', always an invalid library. This was fixed in
9307 # development snapshots of GCC prior to 3.0.
9309 aix4 | aix4.[01] | aix4.[01].*)
9310 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9312 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9319 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9320 # soname into executable. Probably we can add versioning support to
9321 # collect2, so additional links can be useful in future.
9322 if test "$aix_use_runtimelinking" = yes; then
9323 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9324 # instead of lib<name>.a to let people know that these are not
9325 # typical AIX shared libraries.
9326 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9328 # We preserve .a as extension for shared libraries through AIX4.2
9329 # and later when we are not doing run time linking.
9330 library_names_spec='${libname}${release}.a $libname.a'
9331 soname_spec='${libname}${release}${shared_ext}$major'
9333 shlibpath_var=LIBPATH
9340 # Since July 2007 AmigaOS4 officially supports .so libraries.
9341 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9342 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9345 library_names_spec='$libname.ixlibrary $libname.a'
9346 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9347 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'
9353 library_names_spec='${libname}${shared_ext}'
9354 dynamic_linker="$host_os ld.so"
9355 shlibpath_var=LIBRARY_PATH
9361 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9362 soname_spec='${libname}${release}${shared_ext}$major'
9363 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9364 shlibpath_var=LD_LIBRARY_PATH
9365 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9366 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9367 # the default ld.so.conf also contains /usr/contrib/lib and
9368 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9369 # libtool to hard-code these into programs
9372 cygwin* | mingw* | pw32* | cegcc*)
9373 version_type=windows
9378 case $GCC,$host_os in
9379 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9380 library_names_spec='$libname.dll.a'
9381 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9382 postinstall_cmds='base_file=`basename \${file}`~
9383 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9384 dldir=$destdir/`dirname \$dlpath`~
9385 test -d \$dldir || mkdir -p \$dldir~
9386 $install_prog $dir/$dlname \$dldir/$dlname~
9387 chmod a+x \$dldir/$dlname~
9388 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9389 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9391 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9392 dlpath=$dir/\$dldll~
9394 shlibpath_overrides_runpath=yes
9398 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9399 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9400 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9403 # MinGW DLLs use traditional 'lib' prefix
9404 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9405 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9406 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9407 # It is most probably a Windows format PATH printed by
9408 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9409 # path with ; separators, and with drive letters. We can handle the
9410 # drive letters (cygwin fileutils understands them), so leave them,
9411 # especially as we might pass files found there to a mingw objdump,
9412 # which wouldn't understand a cygwinified path. Ahh.
9413 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9415 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9419 # pw32 DLLs use 'pw' prefix rather than 'lib'
9420 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9426 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9429 dynamic_linker='Win32 ld.exe'
9430 # FIXME: first we should search . and the directory the executable is in
9434 darwin* | rhapsody*)
9435 dynamic_linker="$host_os dyld"
9439 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9440 soname_spec='${libname}${release}${major}$shared_ext'
9441 shlibpath_overrides_runpath=yes
9442 shlibpath_var=DYLD_LIBRARY_PATH
9443 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9445 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9446 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9453 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9454 soname_spec='${libname}${release}${shared_ext}$major'
9455 shlibpath_var=LD_LIBRARY_PATH
9462 freebsd* | dragonfly*)
9463 # DragonFly does not have aout. When/if they implement a new
9464 # versioning mechanism, adjust this.
9465 if test -x /usr/bin/objformat; then
9466 objformat=`/usr/bin/objformat`
9469 freebsd[123]*) objformat=aout ;;
9473 version_type=freebsd-$objformat
9474 case $version_type in
9476 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9481 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9485 shlibpath_var=LD_LIBRARY_PATH
9488 shlibpath_overrides_runpath=yes
9490 freebsd3.[01]* | freebsdelf3.[01]*)
9491 shlibpath_overrides_runpath=yes
9492 hardcode_into_libs=yes
9494 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9495 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9496 shlibpath_overrides_runpath=no
9497 hardcode_into_libs=yes
9499 *) # from 4.6 on, and DragonFly
9500 shlibpath_overrides_runpath=yes
9501 hardcode_into_libs=yes
9510 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9511 soname_spec='${libname}${release}${shared_ext}$major'
9512 shlibpath_var=LD_LIBRARY_PATH
9513 hardcode_into_libs=yes
9516 hpux9* | hpux10* | hpux11*)
9517 # Give a soname corresponding to the major version so that dld.sl refuses to
9518 # link against other versions.
9525 hardcode_into_libs=yes
9526 dynamic_linker="$host_os dld.so"
9527 shlibpath_var=LD_LIBRARY_PATH
9528 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9530 soname_spec='${libname}${release}${shared_ext}$major'
9531 if test "X$HPUX_IA64_MODE" = X32; then
9532 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9534 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9536 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9540 hardcode_into_libs=yes
9541 dynamic_linker="$host_os dld.sl"
9542 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9543 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9545 soname_spec='${libname}${release}${shared_ext}$major'
9546 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9547 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9551 dynamic_linker="$host_os dld.sl"
9552 shlibpath_var=SHLIB_PATH
9553 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9555 soname_spec='${libname}${release}${shared_ext}$major'
9558 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9559 postinstall_cmds='chmod 555 $lib'
9566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9567 soname_spec='${libname}${release}${shared_ext}$major'
9568 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9569 shlibpath_var=LD_LIBRARY_PATH
9570 shlibpath_overrides_runpath=no
9571 hardcode_into_libs=yes
9574 irix5* | irix6* | nonstopux*)
9576 nonstopux*) version_type=nonstopux ;;
9578 if test "$lt_cv_prog_gnu_ld" = yes; then
9586 soname_spec='${libname}${release}${shared_ext}$major'
9587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9589 irix5* | nonstopux*)
9593 case $LD in # libtool.m4 will add one of these switches to LD
9594 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9595 libsuff= shlibsuff= libmagic=32-bit;;
9596 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9597 libsuff=32 shlibsuff=N32 libmagic=N32;;
9598 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9599 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9600 *) libsuff= shlibsuff= libmagic=never-match;;
9604 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9605 shlibpath_overrides_runpath=no
9606 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9607 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9608 hardcode_into_libs=yes
9611 # No shared lib support for Linux oldld, aout, or coff.
9612 linux*oldld* | linux*aout* | linux*coff*)
9616 # This must be Linux ELF.
9617 linux* | k*bsd*-gnu)
9621 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9622 soname_spec='${libname}${release}${shared_ext}$major'
9623 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9624 shlibpath_var=LD_LIBRARY_PATH
9625 shlibpath_overrides_runpath=no
9626 # Some binutils ld are patched to set DT_RUNPATH
9627 save_LDFLAGS=$LDFLAGS
9629 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9630 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9631 cat >conftest.$ac_ext <<_ACEOF
9634 cat confdefs.h >>conftest.$ac_ext
9635 cat >>conftest.$ac_ext <<_ACEOF
9636 /* end confdefs.h. */
9646 rm -f conftest.$ac_objext conftest$ac_exeext
9647 if { (ac_try="$ac_link"
9649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9650 *) ac_try_echo=$ac_try;;
9652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9653 (eval "$ac_link") 2>conftest.er1
9655 grep -v '^ *+' conftest.er1 >conftest.err
9657 cat conftest.err >&5
9658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9659 (exit $ac_status); } && {
9660 test -z "$ac_c_werror_flag" ||
9661 test ! -s conftest.err
9662 } && test -s conftest$ac_exeext &&
9663 $as_test_x conftest$ac_exeext; then
9664 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9665 shlibpath_overrides_runpath=yes
9669 echo "$as_me: failed program was:" >&5
9670 sed 's/^/| /' conftest.$ac_ext >&5
9675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9676 conftest$ac_exeext conftest.$ac_ext
9677 LDFLAGS=$save_LDFLAGS
9680 # This implies no fast_install, which is unacceptable.
9681 # Some rework will be needed to allow for fast_install
9682 # before this can be enabled.
9683 hardcode_into_libs=yes
9685 # Append ld.so.conf contents to the search path
9686 if test -f /etc/ld.so.conf; then
9687 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' ' '`
9688 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9691 # We used to test for /lib/ld.so.1 and disable shared libraries on
9692 # powerpc, because MkLinux only supported shared libraries with the
9693 # GNU dynamic linker. Since this was broken with cross compilers,
9694 # most powerpc-linux boxes support dynamic linking these days and
9695 # people can always --disable-shared, the test was removed, and we
9696 # assume the GNU/Linux dynamic linker is in use.
9697 dynamic_linker='GNU/Linux ld.so'
9704 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9705 soname_spec='${libname}${release}${shared_ext}$major'
9706 shlibpath_var=LD_LIBRARY_PATH
9707 shlibpath_overrides_runpath=no
9708 hardcode_into_libs=yes
9709 dynamic_linker='NetBSD ld.elf_so'
9716 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9717 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9718 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9719 dynamic_linker='NetBSD (a.out) ld.so'
9721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9722 soname_spec='${libname}${release}${shared_ext}$major'
9723 dynamic_linker='NetBSD ld.elf_so'
9725 shlibpath_var=LD_LIBRARY_PATH
9726 shlibpath_overrides_runpath=yes
9727 hardcode_into_libs=yes
9732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9733 shlibpath_var=LD_LIBRARY_PATH
9734 shlibpath_overrides_runpath=yes
9741 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9742 soname_spec='${libname}${release}${shared_ext}$major'
9743 shlibpath_var=LD_LIBRARY_PATH
9744 shlibpath_overrides_runpath=no
9745 hardcode_into_libs=yes
9746 dynamic_linker='ldqnx.so'
9751 sys_lib_dlsearch_path_spec="/usr/lib"
9753 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9755 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9756 *) need_version=no ;;
9758 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9759 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9760 shlibpath_var=LD_LIBRARY_PATH
9761 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9763 openbsd2.[89] | openbsd2.[89].*)
9764 shlibpath_overrides_runpath=no
9767 shlibpath_overrides_runpath=yes
9771 shlibpath_overrides_runpath=yes
9776 libname_spec='$name'
9779 library_names_spec='$libname${shared_ext} $libname.a'
9780 dynamic_linker='OS/2 ld.exe'
9781 shlibpath_var=LIBPATH
9784 osf3* | osf4* | osf5*)
9788 soname_spec='${libname}${release}${shared_ext}$major'
9789 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9790 shlibpath_var=LD_LIBRARY_PATH
9791 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9792 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9803 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9804 soname_spec='${libname}${release}${shared_ext}$major'
9805 shlibpath_var=LD_LIBRARY_PATH
9806 shlibpath_overrides_runpath=yes
9807 hardcode_into_libs=yes
9808 # ldd complains unless libraries are executable
9809 postinstall_cmds='chmod +x $lib'
9814 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9815 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9816 shlibpath_var=LD_LIBRARY_PATH
9817 shlibpath_overrides_runpath=yes
9818 if test "$with_gnu_ld" = yes; then
9826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9827 soname_spec='${libname}${release}${shared_ext}$major'
9828 shlibpath_var=LD_LIBRARY_PATH
9829 case $host_vendor in
9831 shlibpath_overrides_runpath=no
9833 runpath_var=LD_RUN_PATH
9841 shlibpath_overrides_runpath=no
9842 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9848 if test -d /usr/nec ;then
9850 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9851 soname_spec='$libname${shared_ext}.$major'
9852 shlibpath_var=LD_LIBRARY_PATH
9856 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9857 version_type=freebsd-elf
9860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9861 soname_spec='${libname}${release}${shared_ext}$major'
9862 shlibpath_var=LD_LIBRARY_PATH
9863 shlibpath_overrides_runpath=yes
9864 hardcode_into_libs=yes
9865 if test "$with_gnu_ld" = yes; then
9866 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9868 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9871 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9875 sys_lib_dlsearch_path_spec='/usr/lib'
9879 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9883 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9884 shlibpath_var=LD_LIBRARY_PATH
9885 shlibpath_overrides_runpath=no
9886 hardcode_into_libs=yes
9891 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9892 soname_spec='${libname}${release}${shared_ext}$major'
9893 shlibpath_var=LD_LIBRARY_PATH
9900 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9901 echo "${ECHO_T}$dynamic_linker" >&6; }
9902 test "$dynamic_linker" = no && can_build_shared=no
9904 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9905 if test "$GCC" = yes; then
9906 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9909 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9910 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9912 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9913 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10002 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10003 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10005 if test -n "$hardcode_libdir_flag_spec" ||
10006 test -n "$runpath_var" ||
10007 test "X$hardcode_automatic" = "Xyes" ; then
10009 # We can hardcode non-existent directories.
10010 if test "$hardcode_direct" != no &&
10011 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10012 # have to relink, otherwise we might link with an installed library
10013 # when we should be linking with a yet-to-be-installed one
10014 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10015 test "$hardcode_minus_L" != no; then
10016 # Linking always hardcodes the temporary library directory.
10017 hardcode_action=relink
10019 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10020 hardcode_action=immediate
10023 # We cannot hardcode anything, or else we can only hardcode existing
10025 hardcode_action=unsupported
10027 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
10028 echo "${ECHO_T}$hardcode_action" >&6; }
10030 if test "$hardcode_action" = relink ||
10031 test "$inherit_rpath" = yes; then
10032 # Fast installation is not supported
10033 enable_fast_install=no
10034 elif test "$shlibpath_overrides_runpath" = yes ||
10035 test "$enable_shared" = no; then
10036 # Fast installation is not necessary
10037 enable_fast_install=needless
10045 if test "x$enable_dlopen" != xyes; then
10046 enable_dlopen=unknown
10047 enable_dlopen_self=unknown
10048 enable_dlopen_self_static=unknown
10055 lt_cv_dlopen="load_add_on"
10057 lt_cv_dlopen_self=yes
10060 mingw* | pw32* | cegcc*)
10061 lt_cv_dlopen="LoadLibrary"
10066 lt_cv_dlopen="dlopen"
10071 # if libdl is installed we need to link against it
10072 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10073 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10074 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10075 echo $ECHO_N "(cached) $ECHO_C" >&6
10077 ac_check_lib_save_LIBS=$LIBS
10079 cat >conftest.$ac_ext <<_ACEOF
10082 cat confdefs.h >>conftest.$ac_ext
10083 cat >>conftest.$ac_ext <<_ACEOF
10084 /* end confdefs.h. */
10086 /* Override any GCC internal prototype to avoid an error.
10087 Use char because int might match the return type of a GCC
10088 builtin and then its argument prototype would still apply. */
10101 rm -f conftest.$ac_objext conftest$ac_exeext
10102 if { (ac_try="$ac_link"
10103 case "(($ac_try" in
10104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10105 *) ac_try_echo=$ac_try;;
10107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10108 (eval "$ac_link") 2>conftest.er1
10110 grep -v '^ *+' conftest.er1 >conftest.err
10112 cat conftest.err >&5
10113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10114 (exit $ac_status); } && {
10115 test -z "$ac_c_werror_flag" ||
10116 test ! -s conftest.err
10117 } && test -s conftest$ac_exeext &&
10118 $as_test_x conftest$ac_exeext; then
10119 ac_cv_lib_dl_dlopen=yes
10121 echo "$as_me: failed program was:" >&5
10122 sed 's/^/| /' conftest.$ac_ext >&5
10124 ac_cv_lib_dl_dlopen=no
10127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10128 conftest$ac_exeext conftest.$ac_ext
10129 LIBS=$ac_check_lib_save_LIBS
10131 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10132 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10133 if test $ac_cv_lib_dl_dlopen = yes; then
10134 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10137 lt_cv_dlopen="dyld"
10139 lt_cv_dlopen_self=yes
10146 { echo "$as_me:$LINENO: checking for shl_load" >&5
10147 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10148 if test "${ac_cv_func_shl_load+set}" = set; then
10149 echo $ECHO_N "(cached) $ECHO_C" >&6
10151 cat >conftest.$ac_ext <<_ACEOF
10154 cat confdefs.h >>conftest.$ac_ext
10155 cat >>conftest.$ac_ext <<_ACEOF
10156 /* end confdefs.h. */
10157 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10158 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10159 #define shl_load innocuous_shl_load
10161 /* System header to define __stub macros and hopefully few prototypes,
10162 which can conflict with char shl_load (); below.
10163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10164 <limits.h> exists even on freestanding compilers. */
10167 # include <limits.h>
10169 # include <assert.h>
10174 /* Override any GCC internal prototype to avoid an error.
10175 Use char because int might match the return type of a GCC
10176 builtin and then its argument prototype would still apply. */
10181 /* The GNU C library defines this for functions which it implements
10182 to always fail with ENOSYS. Some functions are actually named
10183 something starting with __ and the normal name is an alias. */
10184 #if defined __stub_shl_load || defined __stub___shl_load
10191 return shl_load ();
10196 rm -f conftest.$ac_objext conftest$ac_exeext
10197 if { (ac_try="$ac_link"
10198 case "(($ac_try" in
10199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10200 *) ac_try_echo=$ac_try;;
10202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10203 (eval "$ac_link") 2>conftest.er1
10205 grep -v '^ *+' conftest.er1 >conftest.err
10207 cat conftest.err >&5
10208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10209 (exit $ac_status); } && {
10210 test -z "$ac_c_werror_flag" ||
10211 test ! -s conftest.err
10212 } && test -s conftest$ac_exeext &&
10213 $as_test_x conftest$ac_exeext; then
10214 ac_cv_func_shl_load=yes
10216 echo "$as_me: failed program was:" >&5
10217 sed 's/^/| /' conftest.$ac_ext >&5
10219 ac_cv_func_shl_load=no
10222 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10223 conftest$ac_exeext conftest.$ac_ext
10225 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10226 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10227 if test $ac_cv_func_shl_load = yes; then
10228 lt_cv_dlopen="shl_load"
10230 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10231 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10232 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10233 echo $ECHO_N "(cached) $ECHO_C" >&6
10235 ac_check_lib_save_LIBS=$LIBS
10237 cat >conftest.$ac_ext <<_ACEOF
10240 cat confdefs.h >>conftest.$ac_ext
10241 cat >>conftest.$ac_ext <<_ACEOF
10242 /* end confdefs.h. */
10244 /* Override any GCC internal prototype to avoid an error.
10245 Use char because int might match the return type of a GCC
10246 builtin and then its argument prototype would still apply. */
10254 return shl_load ();
10259 rm -f conftest.$ac_objext conftest$ac_exeext
10260 if { (ac_try="$ac_link"
10261 case "(($ac_try" in
10262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10263 *) ac_try_echo=$ac_try;;
10265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10266 (eval "$ac_link") 2>conftest.er1
10268 grep -v '^ *+' conftest.er1 >conftest.err
10270 cat conftest.err >&5
10271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10272 (exit $ac_status); } && {
10273 test -z "$ac_c_werror_flag" ||
10274 test ! -s conftest.err
10275 } && test -s conftest$ac_exeext &&
10276 $as_test_x conftest$ac_exeext; then
10277 ac_cv_lib_dld_shl_load=yes
10279 echo "$as_me: failed program was:" >&5
10280 sed 's/^/| /' conftest.$ac_ext >&5
10282 ac_cv_lib_dld_shl_load=no
10285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10286 conftest$ac_exeext conftest.$ac_ext
10287 LIBS=$ac_check_lib_save_LIBS
10289 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10290 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10291 if test $ac_cv_lib_dld_shl_load = yes; then
10292 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10294 { echo "$as_me:$LINENO: checking for dlopen" >&5
10295 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10296 if test "${ac_cv_func_dlopen+set}" = set; then
10297 echo $ECHO_N "(cached) $ECHO_C" >&6
10299 cat >conftest.$ac_ext <<_ACEOF
10302 cat confdefs.h >>conftest.$ac_ext
10303 cat >>conftest.$ac_ext <<_ACEOF
10304 /* end confdefs.h. */
10305 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10307 #define dlopen innocuous_dlopen
10309 /* System header to define __stub macros and hopefully few prototypes,
10310 which can conflict with char dlopen (); below.
10311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10312 <limits.h> exists even on freestanding compilers. */
10315 # include <limits.h>
10317 # include <assert.h>
10322 /* Override any GCC internal prototype to avoid an error.
10323 Use char because int might match the return type of a GCC
10324 builtin and then its argument prototype would still apply. */
10329 /* The GNU C library defines this for functions which it implements
10330 to always fail with ENOSYS. Some functions are actually named
10331 something starting with __ and the normal name is an alias. */
10332 #if defined __stub_dlopen || defined __stub___dlopen
10344 rm -f conftest.$ac_objext conftest$ac_exeext
10345 if { (ac_try="$ac_link"
10346 case "(($ac_try" in
10347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10348 *) ac_try_echo=$ac_try;;
10350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10351 (eval "$ac_link") 2>conftest.er1
10353 grep -v '^ *+' conftest.er1 >conftest.err
10355 cat conftest.err >&5
10356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10357 (exit $ac_status); } && {
10358 test -z "$ac_c_werror_flag" ||
10359 test ! -s conftest.err
10360 } && test -s conftest$ac_exeext &&
10361 $as_test_x conftest$ac_exeext; then
10362 ac_cv_func_dlopen=yes
10364 echo "$as_me: failed program was:" >&5
10365 sed 's/^/| /' conftest.$ac_ext >&5
10367 ac_cv_func_dlopen=no
10370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10371 conftest$ac_exeext conftest.$ac_ext
10373 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10374 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10375 if test $ac_cv_func_dlopen = yes; then
10376 lt_cv_dlopen="dlopen"
10378 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10379 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10380 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10381 echo $ECHO_N "(cached) $ECHO_C" >&6
10383 ac_check_lib_save_LIBS=$LIBS
10385 cat >conftest.$ac_ext <<_ACEOF
10388 cat confdefs.h >>conftest.$ac_ext
10389 cat >>conftest.$ac_ext <<_ACEOF
10390 /* end confdefs.h. */
10392 /* Override any GCC internal prototype to avoid an error.
10393 Use char because int might match the return type of a GCC
10394 builtin and then its argument prototype would still apply. */
10407 rm -f conftest.$ac_objext conftest$ac_exeext
10408 if { (ac_try="$ac_link"
10409 case "(($ac_try" in
10410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10411 *) ac_try_echo=$ac_try;;
10413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10414 (eval "$ac_link") 2>conftest.er1
10416 grep -v '^ *+' conftest.er1 >conftest.err
10418 cat conftest.err >&5
10419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10420 (exit $ac_status); } && {
10421 test -z "$ac_c_werror_flag" ||
10422 test ! -s conftest.err
10423 } && test -s conftest$ac_exeext &&
10424 $as_test_x conftest$ac_exeext; then
10425 ac_cv_lib_dl_dlopen=yes
10427 echo "$as_me: failed program was:" >&5
10428 sed 's/^/| /' conftest.$ac_ext >&5
10430 ac_cv_lib_dl_dlopen=no
10433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10434 conftest$ac_exeext conftest.$ac_ext
10435 LIBS=$ac_check_lib_save_LIBS
10437 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10438 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10439 if test $ac_cv_lib_dl_dlopen = yes; then
10440 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10442 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10443 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10444 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10445 echo $ECHO_N "(cached) $ECHO_C" >&6
10447 ac_check_lib_save_LIBS=$LIBS
10448 LIBS="-lsvld $LIBS"
10449 cat >conftest.$ac_ext <<_ACEOF
10452 cat confdefs.h >>conftest.$ac_ext
10453 cat >>conftest.$ac_ext <<_ACEOF
10454 /* end confdefs.h. */
10456 /* Override any GCC internal prototype to avoid an error.
10457 Use char because int might match the return type of a GCC
10458 builtin and then its argument prototype would still apply. */
10471 rm -f conftest.$ac_objext conftest$ac_exeext
10472 if { (ac_try="$ac_link"
10473 case "(($ac_try" in
10474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10475 *) ac_try_echo=$ac_try;;
10477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10478 (eval "$ac_link") 2>conftest.er1
10480 grep -v '^ *+' conftest.er1 >conftest.err
10482 cat conftest.err >&5
10483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10484 (exit $ac_status); } && {
10485 test -z "$ac_c_werror_flag" ||
10486 test ! -s conftest.err
10487 } && test -s conftest$ac_exeext &&
10488 $as_test_x conftest$ac_exeext; then
10489 ac_cv_lib_svld_dlopen=yes
10491 echo "$as_me: failed program was:" >&5
10492 sed 's/^/| /' conftest.$ac_ext >&5
10494 ac_cv_lib_svld_dlopen=no
10497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10498 conftest$ac_exeext conftest.$ac_ext
10499 LIBS=$ac_check_lib_save_LIBS
10501 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10502 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10503 if test $ac_cv_lib_svld_dlopen = yes; then
10504 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10506 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10507 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10508 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10509 echo $ECHO_N "(cached) $ECHO_C" >&6
10511 ac_check_lib_save_LIBS=$LIBS
10513 cat >conftest.$ac_ext <<_ACEOF
10516 cat confdefs.h >>conftest.$ac_ext
10517 cat >>conftest.$ac_ext <<_ACEOF
10518 /* end confdefs.h. */
10520 /* Override any GCC internal prototype to avoid an error.
10521 Use char because int might match the return type of a GCC
10522 builtin and then its argument prototype would still apply. */
10530 return dld_link ();
10535 rm -f conftest.$ac_objext conftest$ac_exeext
10536 if { (ac_try="$ac_link"
10537 case "(($ac_try" in
10538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10539 *) ac_try_echo=$ac_try;;
10541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10542 (eval "$ac_link") 2>conftest.er1
10544 grep -v '^ *+' conftest.er1 >conftest.err
10546 cat conftest.err >&5
10547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10548 (exit $ac_status); } && {
10549 test -z "$ac_c_werror_flag" ||
10550 test ! -s conftest.err
10551 } && test -s conftest$ac_exeext &&
10552 $as_test_x conftest$ac_exeext; then
10553 ac_cv_lib_dld_dld_link=yes
10555 echo "$as_me: failed program was:" >&5
10556 sed 's/^/| /' conftest.$ac_ext >&5
10558 ac_cv_lib_dld_dld_link=no
10561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10562 conftest$ac_exeext conftest.$ac_ext
10563 LIBS=$ac_check_lib_save_LIBS
10565 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10566 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10567 if test $ac_cv_lib_dld_dld_link = yes; then
10568 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10589 if test "x$lt_cv_dlopen" != xno; then
10595 case $lt_cv_dlopen in
10597 save_CPPFLAGS="$CPPFLAGS"
10598 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10600 save_LDFLAGS="$LDFLAGS"
10601 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10604 LIBS="$lt_cv_dlopen_libs $LIBS"
10606 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10607 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10608 if test "${lt_cv_dlopen_self+set}" = set; then
10609 echo $ECHO_N "(cached) $ECHO_C" >&6
10611 if test "$cross_compiling" = yes; then :
10612 lt_cv_dlopen_self=cross
10614 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10615 lt_status=$lt_dlunknown
10616 cat > conftest.$ac_ext <<_LT_EOF
10617 #line 10617 "configure"
10618 #include "confdefs.h"
10627 # define LT_DLGLOBAL RTLD_GLOBAL
10630 # define LT_DLGLOBAL DL_GLOBAL
10632 # define LT_DLGLOBAL 0
10636 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10637 find out it does not work in some platform. */
10638 #ifndef LT_DLLAZY_OR_NOW
10640 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10643 # define LT_DLLAZY_OR_NOW DL_LAZY
10646 # define LT_DLLAZY_OR_NOW RTLD_NOW
10649 # define LT_DLLAZY_OR_NOW DL_NOW
10651 # define LT_DLLAZY_OR_NOW 0
10658 void fnord() { int i=42;}
10661 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10662 int status = $lt_dlunknown;
10666 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10667 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10668 /* dlclose (self); */
10676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10677 (eval $ac_link) 2>&5
10679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10680 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10681 (./conftest; exit; ) >&5 2>/dev/null
10683 case x$lt_status in
10684 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10685 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10686 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10689 # compilation failed
10690 lt_cv_dlopen_self=no
10697 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10698 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10700 if test "x$lt_cv_dlopen_self" = xyes; then
10701 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10702 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10703 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10704 if test "${lt_cv_dlopen_self_static+set}" = set; then
10705 echo $ECHO_N "(cached) $ECHO_C" >&6
10707 if test "$cross_compiling" = yes; then :
10708 lt_cv_dlopen_self_static=cross
10710 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10711 lt_status=$lt_dlunknown
10712 cat > conftest.$ac_ext <<_LT_EOF
10713 #line 10713 "configure"
10714 #include "confdefs.h"
10723 # define LT_DLGLOBAL RTLD_GLOBAL
10726 # define LT_DLGLOBAL DL_GLOBAL
10728 # define LT_DLGLOBAL 0
10732 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10733 find out it does not work in some platform. */
10734 #ifndef LT_DLLAZY_OR_NOW
10736 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10739 # define LT_DLLAZY_OR_NOW DL_LAZY
10742 # define LT_DLLAZY_OR_NOW RTLD_NOW
10745 # define LT_DLLAZY_OR_NOW DL_NOW
10747 # define LT_DLLAZY_OR_NOW 0
10754 void fnord() { int i=42;}
10757 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10758 int status = $lt_dlunknown;
10762 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10763 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10764 /* dlclose (self); */
10772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10773 (eval $ac_link) 2>&5
10775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10776 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10777 (./conftest; exit; ) >&5 2>/dev/null
10779 case x$lt_status in
10780 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10781 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10782 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10785 # compilation failed
10786 lt_cv_dlopen_self_static=no
10793 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10794 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10797 CPPFLAGS="$save_CPPFLAGS"
10798 LDFLAGS="$save_LDFLAGS"
10803 case $lt_cv_dlopen_self in
10804 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10805 *) enable_dlopen_self=unknown ;;
10808 case $lt_cv_dlopen_self_static in
10809 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10810 *) enable_dlopen_self_static=unknown ;;
10832 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10833 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10834 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10835 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10836 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10837 { echo "$as_me:$LINENO: result: yes" >&5
10838 echo "${ECHO_T}yes" >&6; }
10840 # FIXME - insert some real tests, host_os isn't really good enough
10843 if test -n "$STRIP" ; then
10844 striplib="$STRIP -x"
10845 old_striplib="$STRIP -S"
10846 { echo "$as_me:$LINENO: result: yes" >&5
10847 echo "${ECHO_T}yes" >&6; }
10849 { echo "$as_me:$LINENO: result: no" >&5
10850 echo "${ECHO_T}no" >&6; }
10854 { echo "$as_me:$LINENO: result: no" >&5
10855 echo "${ECHO_T}no" >&6; }
10871 # Report which library types will actually be built
10872 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10873 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10874 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10875 echo "${ECHO_T}$can_build_shared" >&6; }
10877 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10878 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10879 test "$can_build_shared" = "no" && enable_shared=no
10881 # On AIX, shared libraries and static libraries use the same namespace, and
10882 # are all built from PIC.
10885 test "$enable_shared" = yes && enable_static=no
10886 if test -n "$RANLIB"; then
10887 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10888 postinstall_cmds='$RANLIB $lib'
10893 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10894 test "$enable_shared" = yes && enable_static=no
10898 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10899 echo "${ECHO_T}$enable_shared" >&6; }
10901 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10902 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10903 # Make sure either enable_shared or enable_static is yes.
10904 test "$enable_shared" = yes || enable_static=yes
10905 { echo "$as_me:$LINENO: result: $enable_static" >&5
10906 echo "${ECHO_T}$enable_static" >&6; }
10913 ac_cpp='$CPP $CPPFLAGS'
10914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10932 ac_config_commands="$ac_config_commands libtool"
10937 # Only expand once:
10940 if test "x$CC" != xcc; then
10941 { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
10942 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
10944 { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
10945 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
10947 set dummy $CC; ac_cc=`echo $2 |
10948 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
10949 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
10950 echo $ECHO_N "(cached) $ECHO_C" >&6
10952 cat >conftest.$ac_ext <<_ACEOF
10955 cat confdefs.h >>conftest.$ac_ext
10956 cat >>conftest.$ac_ext <<_ACEOF
10957 /* end confdefs.h. */
10967 # Make sure it works both with $CC and with simple cc.
10968 # We do the test twice because some compilers refuse to overwrite an
10969 # existing .o file with -o, though they will create one.
10970 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
10972 if { (case "(($ac_try" in
10973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10974 *) ac_try_echo=$ac_try;;
10976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10977 (eval "$ac_try") 2>&5
10979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10980 (exit $ac_status); } &&
10981 test -f conftest2.$ac_objext && { (case "(($ac_try" in
10982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10983 *) ac_try_echo=$ac_try;;
10985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10986 (eval "$ac_try") 2>&5
10988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10989 (exit $ac_status); };
10991 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
10992 if test "x$CC" != xcc; then
10993 # Test first that cc exists at all.
10994 if { ac_try='cc -c conftest.$ac_ext >&5'
10995 { (case "(($ac_try" in
10996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10997 *) ac_try_echo=$ac_try;;
10999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11000 (eval "$ac_try") 2>&5
11002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11003 (exit $ac_status); }; }; then
11004 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11006 if { (case "(($ac_try" in
11007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11008 *) ac_try_echo=$ac_try;;
11010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11011 (eval "$ac_try") 2>&5
11013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11014 (exit $ac_status); } &&
11015 test -f conftest2.$ac_objext && { (case "(($ac_try" in
11016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11017 *) ac_try_echo=$ac_try;;
11019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11020 (eval "$ac_try") 2>&5
11022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11023 (exit $ac_status); };
11028 # cc exists but doesn't like -o.
11029 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11034 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11036 rm -f core conftest*
11039 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11040 { echo "$as_me:$LINENO: result: yes" >&5
11041 echo "${ECHO_T}yes" >&6; }
11043 { echo "$as_me:$LINENO: result: no" >&5
11044 echo "${ECHO_T}no" >&6; }
11046 cat >>confdefs.h <<\_ACEOF
11047 #define NO_MINUS_C_MINUS_O 1
11052 # FIXME: we rely on the cache variable name because
11053 # there is no other way.
11055 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11056 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
11057 # Losing compiler, so override with the script.
11058 # FIXME: It is wrong to rewrite CC.
11059 # But if we don't then we get into trouble of one sort or another.
11060 # A longer-term fix would be to have automake use am__CC in this case,
11061 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11062 CC="$am_aux_dir/compile $CC"
11066 ac_config_headers="$ac_config_headers config.h"
11070 cflags_save="$CFLAGS"
11071 if test -z "$GCC"; then
11075 CFLAGS="-O2 -w -signed"
11076 PROFILE="-p -g3 -O2 -signed"
11078 sparc-sun-solaris*)
11080 CFLAGS="-xO4 -fast -w -fsimple -native -xcg92"
11081 PROFILE="-v -xpg -g -xO4 -fast -native -fsimple -xcg92 -Dsuncc"
11092 DEBUG="-g -Wall -fsigned-char"
11093 CFLAGS="-O20 -ffast-math -fsigned-char"
11094 PROFILE="-Wall -W -pg -g -O20 -ffast-math -fsigned-char"
11098 { echo "$as_me:$LINENO: checking if gcc supports -mv8" >&5
11099 echo $ECHO_N "checking if gcc supports -mv8... $ECHO_C" >&6; }
11100 old_cflags="$CFLAGS"
11101 CFLAGS="$CFLAGS -mv8"
11102 cat >conftest.$ac_ext <<_ACEOF
11105 cat confdefs.h >>conftest.$ac_ext
11106 cat >>conftest.$ac_ext <<_ACEOF
11107 /* end confdefs.h. */
11117 rm -f conftest.$ac_objext
11118 if { (ac_try="$ac_compile"
11119 case "(($ac_try" in
11120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11121 *) ac_try_echo=$ac_try;;
11123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11124 (eval "$ac_compile") 2>conftest.er1
11126 grep -v '^ *+' conftest.er1 >conftest.err
11128 cat conftest.err >&5
11129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11130 (exit $ac_status); } && {
11131 test -z "$ac_c_werror_flag" ||
11132 test ! -s conftest.err
11133 } && test -s conftest.$ac_objext; then
11135 { echo "$as_me:$LINENO: result: yes" >&5
11136 echo "${ECHO_T}yes" >&6; }
11140 echo "$as_me: failed program was:" >&5
11141 sed 's/^/| /' conftest.$ac_ext >&5
11146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11147 CFLAGS="$old_cflags"
11148 DEBUG="-g -Wall -fsigned-char $sparc_cpu"
11149 CFLAGS="-O20 -ffast-math -fsigned-char $sparc_cpu"
11150 PROFILE="-pg -g -O20 -fsigned-char $sparc_cpu"
11153 DEBUG="-fno-common -g -Wall -fsigned-char"
11154 CFLAGS="-fno-common -O4 -Wall -fsigned-char -ffast-math"
11155 PROFILE="-fno-common -O4 -Wall -pg -g -fsigned-char -ffast-math"
11158 DEBUG="-g -Wall -fsigned-char"
11159 CFLAGS="-O20 -fsigned-char"
11160 PROFILE="-O20 -g -pg -fsigned-char"
11164 CFLAGS="$CFLAGS $cflags_save"
11165 DEBUG="$DEBUG $cflags_save"
11166 PROFILE="$PROFILE $cflags_save"
11170 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11171 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
11172 if test "${ac_cv_header_stdc+set}" = set; then
11173 echo $ECHO_N "(cached) $ECHO_C" >&6
11175 cat >conftest.$ac_ext <<_ACEOF
11178 cat confdefs.h >>conftest.$ac_ext
11179 cat >>conftest.$ac_ext <<_ACEOF
11180 /* end confdefs.h. */
11181 #include <stdlib.h>
11182 #include <stdarg.h>
11183 #include <string.h>
11194 rm -f conftest.$ac_objext
11195 if { (ac_try="$ac_compile"
11196 case "(($ac_try" in
11197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11198 *) ac_try_echo=$ac_try;;
11200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11201 (eval "$ac_compile") 2>conftest.er1
11203 grep -v '^ *+' conftest.er1 >conftest.err
11205 cat conftest.err >&5
11206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11207 (exit $ac_status); } && {
11208 test -z "$ac_c_werror_flag" ||
11209 test ! -s conftest.err
11210 } && test -s conftest.$ac_objext; then
11211 ac_cv_header_stdc=yes
11213 echo "$as_me: failed program was:" >&5
11214 sed 's/^/| /' conftest.$ac_ext >&5
11216 ac_cv_header_stdc=no
11219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11221 if test $ac_cv_header_stdc = yes; then
11222 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11223 cat >conftest.$ac_ext <<_ACEOF
11226 cat confdefs.h >>conftest.$ac_ext
11227 cat >>conftest.$ac_ext <<_ACEOF
11228 /* end confdefs.h. */
11229 #include <string.h>
11232 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11233 $EGREP "memchr" >/dev/null 2>&1; then
11236 ac_cv_header_stdc=no
11242 if test $ac_cv_header_stdc = yes; then
11243 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11244 cat >conftest.$ac_ext <<_ACEOF
11247 cat confdefs.h >>conftest.$ac_ext
11248 cat >>conftest.$ac_ext <<_ACEOF
11249 /* end confdefs.h. */
11250 #include <stdlib.h>
11253 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11254 $EGREP "free" >/dev/null 2>&1; then
11257 ac_cv_header_stdc=no
11263 if test $ac_cv_header_stdc = yes; then
11264 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11265 if test "$cross_compiling" = yes; then
11268 cat >conftest.$ac_ext <<_ACEOF
11271 cat confdefs.h >>conftest.$ac_ext
11272 cat >>conftest.$ac_ext <<_ACEOF
11273 /* end confdefs.h. */
11275 #include <stdlib.h>
11276 #if ((' ' & 0x0FF) == 0x020)
11277 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11278 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11280 # define ISLOWER(c) \
11281 (('a' <= (c) && (c) <= 'i') \
11282 || ('j' <= (c) && (c) <= 'r') \
11283 || ('s' <= (c) && (c) <= 'z'))
11284 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11287 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11292 for (i = 0; i < 256; i++)
11293 if (XOR (islower (i), ISLOWER (i))
11294 || toupper (i) != TOUPPER (i))
11299 rm -f conftest$ac_exeext
11300 if { (ac_try="$ac_link"
11301 case "(($ac_try" in
11302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11303 *) ac_try_echo=$ac_try;;
11305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11306 (eval "$ac_link") 2>&5
11308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11309 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11310 { (case "(($ac_try" in
11311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11312 *) ac_try_echo=$ac_try;;
11314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11315 (eval "$ac_try") 2>&5
11317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11318 (exit $ac_status); }; }; then
11321 echo "$as_me: program exited with status $ac_status" >&5
11322 echo "$as_me: failed program was:" >&5
11323 sed 's/^/| /' conftest.$ac_ext >&5
11325 ( exit $ac_status )
11326 ac_cv_header_stdc=no
11328 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11334 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11335 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
11336 if test $ac_cv_header_stdc = yes; then
11338 cat >>confdefs.h <<\_ACEOF
11339 #define STDC_HEADERS 1
11345 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
11346 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
11347 if test "${ac_cv_c_const+set}" = set; then
11348 echo $ECHO_N "(cached) $ECHO_C" >&6
11350 cat >conftest.$ac_ext <<_ACEOF
11353 cat confdefs.h >>conftest.$ac_ext
11354 cat >>conftest.$ac_ext <<_ACEOF
11355 /* end confdefs.h. */
11360 /* FIXME: Include the comments suggested by Paul. */
11361 #ifndef __cplusplus
11362 /* Ultrix mips cc rejects this. */
11363 typedef int charset[2];
11365 /* SunOS 4.1.1 cc rejects this. */
11366 char const *const *pcpcc;
11368 /* NEC SVR4.0.2 mips cc rejects this. */
11369 struct point {int x, y;};
11370 static struct point const zero = {0,0};
11371 /* AIX XL C 1.02.0.0 rejects this.
11372 It does not let you subtract one const X* pointer from another in
11373 an arm of an if-expression whose if-part is not a constant
11375 const char *g = "string";
11376 pcpcc = &g + (g ? g-g : 0);
11377 /* HPUX 7.0 cc rejects these. */
11379 ppc = (char**) pcpcc;
11380 pcpcc = (char const *const *) ppc;
11381 { /* SCO 3.2v4 cc rejects this. */
11383 char const *s = 0 ? (char *) 0 : (char const *) 0;
11388 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11389 int x[] = {25, 17};
11390 const int *foo = &x[0];
11393 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11394 typedef const int *iptr;
11398 { /* AIX XL C 1.02.0.0 rejects this saying
11399 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11400 struct s { int j; const int *ap[3]; };
11401 struct s *b; b->j = 5;
11403 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11404 const int foo = 10;
11405 if (!foo) return 0;
11407 return !cs[0] && !zero.x;
11414 rm -f conftest.$ac_objext
11415 if { (ac_try="$ac_compile"
11416 case "(($ac_try" in
11417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11418 *) ac_try_echo=$ac_try;;
11420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11421 (eval "$ac_compile") 2>conftest.er1
11423 grep -v '^ *+' conftest.er1 >conftest.err
11425 cat conftest.err >&5
11426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11427 (exit $ac_status); } && {
11428 test -z "$ac_c_werror_flag" ||
11429 test ! -s conftest.err
11430 } && test -s conftest.$ac_objext; then
11433 echo "$as_me: failed program was:" >&5
11434 sed 's/^/| /' conftest.$ac_ext >&5
11439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11441 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
11442 echo "${ECHO_T}$ac_cv_c_const" >&6; }
11443 if test $ac_cv_c_const = no; then
11445 cat >>confdefs.h <<\_ACEOF
11453 { echo "$as_me:$LINENO: checking for int16_t" >&5
11454 echo $ECHO_N "checking for int16_t... $ECHO_C" >&6; }
11455 if test "${has_cv_int16_t+set}" = set; then
11456 echo $ECHO_N "(cached) $ECHO_C" >&6
11458 if test "$cross_compiling" = yes; then
11462 cat >conftest.$ac_ext <<_ACEOF
11465 cat confdefs.h >>conftest.$ac_ext
11466 cat >>conftest.$ac_ext <<_ACEOF
11467 /* end confdefs.h. */
11469 #if defined __BEOS__ && !defined __HAIKU__
11470 #include <inttypes.h>
11472 #include <sys/types.h>
11474 int main() {return 0;}
11477 rm -f conftest$ac_exeext
11478 if { (ac_try="$ac_link"
11479 case "(($ac_try" in
11480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11481 *) ac_try_echo=$ac_try;;
11483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11484 (eval "$ac_link") 2>&5
11486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11487 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11488 { (case "(($ac_try" in
11489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11490 *) ac_try_echo=$ac_try;;
11492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11493 (eval "$ac_try") 2>&5
11495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11496 (exit $ac_status); }; }; then
11499 echo "$as_me: program exited with status $ac_status" >&5
11500 echo "$as_me: failed program was:" >&5
11501 sed 's/^/| /' conftest.$ac_ext >&5
11503 ( exit $ac_status )
11506 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11512 { echo "$as_me:$LINENO: result: $has_cv_int16_t" >&5
11513 echo "${ECHO_T}$has_cv_int16_t" >&6; }
11515 { echo "$as_me:$LINENO: checking for int32_t" >&5
11516 echo $ECHO_N "checking for int32_t... $ECHO_C" >&6; }
11517 if test "${has_cv_int32_t+set}" = set; then
11518 echo $ECHO_N "(cached) $ECHO_C" >&6
11520 if test "$cross_compiling" = yes; then
11524 cat >conftest.$ac_ext <<_ACEOF
11527 cat confdefs.h >>conftest.$ac_ext
11528 cat >>conftest.$ac_ext <<_ACEOF
11529 /* end confdefs.h. */
11531 #if defined __BEOS__ && !defined __HAIKU__
11532 #include <inttypes.h>
11534 #include <sys/types.h>
11536 int main() {return 0;}
11539 rm -f conftest$ac_exeext
11540 if { (ac_try="$ac_link"
11541 case "(($ac_try" in
11542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11543 *) ac_try_echo=$ac_try;;
11545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11546 (eval "$ac_link") 2>&5
11548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11549 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11550 { (case "(($ac_try" in
11551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11552 *) ac_try_echo=$ac_try;;
11554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11555 (eval "$ac_try") 2>&5
11557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11558 (exit $ac_status); }; }; then
11561 echo "$as_me: program exited with status $ac_status" >&5
11562 echo "$as_me: failed program was:" >&5
11563 sed 's/^/| /' conftest.$ac_ext >&5
11565 ( exit $ac_status )
11568 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11574 { echo "$as_me:$LINENO: result: $has_cv_int32_t" >&5
11575 echo "${ECHO_T}$has_cv_int32_t" >&6; }
11577 { echo "$as_me:$LINENO: checking for uint32_t" >&5
11578 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
11579 if test "${has_cv_uint32_t+set}" = set; then
11580 echo $ECHO_N "(cached) $ECHO_C" >&6
11582 if test "$cross_compiling" = yes; then
11586 cat >conftest.$ac_ext <<_ACEOF
11589 cat confdefs.h >>conftest.$ac_ext
11590 cat >>conftest.$ac_ext <<_ACEOF
11591 /* end confdefs.h. */
11593 #if defined __BEOS__ && !defined __HAIKU__
11594 #include <inttypes.h>
11596 #include <sys/types.h>
11598 int main() {return 0;}
11601 rm -f conftest$ac_exeext
11602 if { (ac_try="$ac_link"
11603 case "(($ac_try" in
11604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11605 *) ac_try_echo=$ac_try;;
11607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11608 (eval "$ac_link") 2>&5
11610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11611 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11612 { (case "(($ac_try" in
11613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11614 *) ac_try_echo=$ac_try;;
11616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11617 (eval "$ac_try") 2>&5
11619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11620 (exit $ac_status); }; }; then
11621 has_cv_uint32_t=yes
11623 echo "$as_me: program exited with status $ac_status" >&5
11624 echo "$as_me: failed program was:" >&5
11625 sed 's/^/| /' conftest.$ac_ext >&5
11627 ( exit $ac_status )
11630 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11636 { echo "$as_me:$LINENO: result: $has_cv_uint32_t" >&5
11637 echo "${ECHO_T}$has_cv_uint32_t" >&6; }
11639 { echo "$as_me:$LINENO: checking for uint16_t" >&5
11640 echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; }
11641 if test "${has_cv_uint16_t+set}" = set; then
11642 echo $ECHO_N "(cached) $ECHO_C" >&6
11644 if test "$cross_compiling" = yes; then
11648 cat >conftest.$ac_ext <<_ACEOF
11651 cat confdefs.h >>conftest.$ac_ext
11652 cat >>conftest.$ac_ext <<_ACEOF
11653 /* end confdefs.h. */
11655 #if defined __BEOS__ && !defined __HAIKU__
11656 #include <inttypes.h>
11658 #include <sys/types.h>
11660 int main() {return 0;}
11663 rm -f conftest$ac_exeext
11664 if { (ac_try="$ac_link"
11665 case "(($ac_try" in
11666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11667 *) ac_try_echo=$ac_try;;
11669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11670 (eval "$ac_link") 2>&5
11672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11673 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11674 { (case "(($ac_try" in
11675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11676 *) ac_try_echo=$ac_try;;
11678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11679 (eval "$ac_try") 2>&5
11681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11682 (exit $ac_status); }; }; then
11683 has_cv_uint16_t=yes
11685 echo "$as_me: program exited with status $ac_status" >&5
11686 echo "$as_me: failed program was:" >&5
11687 sed 's/^/| /' conftest.$ac_ext >&5
11689 ( exit $ac_status )
11692 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11698 { echo "$as_me:$LINENO: result: $has_cv_uint16_t" >&5
11699 echo "${ECHO_T}$has_cv_uint16_t" >&6; }
11701 { echo "$as_me:$LINENO: checking for u_int32_t" >&5
11702 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6; }
11703 if test "${has_cv_u_int32_t+set}" = set; then
11704 echo $ECHO_N "(cached) $ECHO_C" >&6
11706 if test "$cross_compiling" = yes; then
11707 has_cv_u_int32_t=no
11710 cat >conftest.$ac_ext <<_ACEOF
11713 cat confdefs.h >>conftest.$ac_ext
11714 cat >>conftest.$ac_ext <<_ACEOF
11715 /* end confdefs.h. */
11717 #if defined __BEOS__ && !defined __HAIKU__
11718 #include <inttypes.h>
11720 #include <sys/types.h>
11722 int main() {return 0;}
11725 rm -f conftest$ac_exeext
11726 if { (ac_try="$ac_link"
11727 case "(($ac_try" in
11728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11729 *) ac_try_echo=$ac_try;;
11731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11732 (eval "$ac_link") 2>&5
11734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11735 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11736 { (case "(($ac_try" in
11737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11738 *) ac_try_echo=$ac_try;;
11740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11741 (eval "$ac_try") 2>&5
11743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11744 (exit $ac_status); }; }; then
11745 has_cv_u_int32_t=yes
11747 echo "$as_me: program exited with status $ac_status" >&5
11748 echo "$as_me: failed program was:" >&5
11749 sed 's/^/| /' conftest.$ac_ext >&5
11751 ( exit $ac_status )
11752 has_cv_u_int32_t=no
11754 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11760 { echo "$as_me:$LINENO: result: $has_cv_u_int32_t" >&5
11761 echo "${ECHO_T}$has_cv_u_int32_t" >&6; }
11763 { echo "$as_me:$LINENO: checking for u_int16_t" >&5
11764 echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6; }
11765 if test "${has_cv_u_int16_t+set}" = set; then
11766 echo $ECHO_N "(cached) $ECHO_C" >&6
11768 if test "$cross_compiling" = yes; then
11769 has_cv_u_int16_t=no
11772 cat >conftest.$ac_ext <<_ACEOF
11775 cat confdefs.h >>conftest.$ac_ext
11776 cat >>conftest.$ac_ext <<_ACEOF
11777 /* end confdefs.h. */
11779 #if defined __BEOS__ && !defined __HAIKU__
11780 #include <inttypes.h>
11782 #include <sys/types.h>
11784 int main() {return 0;}
11787 rm -f conftest$ac_exeext
11788 if { (ac_try="$ac_link"
11789 case "(($ac_try" in
11790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11791 *) ac_try_echo=$ac_try;;
11793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11794 (eval "$ac_link") 2>&5
11796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11797 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11798 { (case "(($ac_try" in
11799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11800 *) ac_try_echo=$ac_try;;
11802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11803 (eval "$ac_try") 2>&5
11805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11806 (exit $ac_status); }; }; then
11807 has_cv_u_int16_t=yes
11809 echo "$as_me: program exited with status $ac_status" >&5
11810 echo "$as_me: failed program was:" >&5
11811 sed 's/^/| /' conftest.$ac_ext >&5
11813 ( exit $ac_status )
11814 has_cv_u_int16_t=no
11816 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11822 { echo "$as_me:$LINENO: result: $has_cv_u_int16_t" >&5
11823 echo "${ECHO_T}$has_cv_u_int16_t" >&6; }
11825 { echo "$as_me:$LINENO: checking for int64_t" >&5
11826 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; }
11827 if test "${has_cv_int64_t+set}" = set; then
11828 echo $ECHO_N "(cached) $ECHO_C" >&6
11830 if test "$cross_compiling" = yes; then
11834 cat >conftest.$ac_ext <<_ACEOF
11837 cat confdefs.h >>conftest.$ac_ext
11838 cat >>conftest.$ac_ext <<_ACEOF
11839 /* end confdefs.h. */
11841 #if defined __BEOS__ && !defined __HAIKU__
11842 #include <inttypes.h>
11844 #include <sys/types.h>
11846 int main() {return 0;}
11849 rm -f conftest$ac_exeext
11850 if { (ac_try="$ac_link"
11851 case "(($ac_try" in
11852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11853 *) ac_try_echo=$ac_try;;
11855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11856 (eval "$ac_link") 2>&5
11858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11859 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11860 { (case "(($ac_try" in
11861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11862 *) ac_try_echo=$ac_try;;
11864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11865 (eval "$ac_try") 2>&5
11867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11868 (exit $ac_status); }; }; then
11871 echo "$as_me: program exited with status $ac_status" >&5
11872 echo "$as_me: failed program was:" >&5
11873 sed 's/^/| /' conftest.$ac_ext >&5
11875 ( exit $ac_status )
11878 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11884 { echo "$as_me:$LINENO: result: $has_cv_int64_t" >&5
11885 echo "${ECHO_T}$has_cv_int64_t" >&6; }
11887 { echo "$as_me:$LINENO: checking for short" >&5
11888 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
11889 if test "${ac_cv_type_short+set}" = set; then
11890 echo $ECHO_N "(cached) $ECHO_C" >&6
11892 cat >conftest.$ac_ext <<_ACEOF
11895 cat confdefs.h >>conftest.$ac_ext
11896 cat >>conftest.$ac_ext <<_ACEOF
11897 /* end confdefs.h. */
11898 $ac_includes_default
11899 typedef short ac__type_new_;
11903 if ((ac__type_new_ *) 0)
11905 if (sizeof (ac__type_new_))
11911 rm -f conftest.$ac_objext
11912 if { (ac_try="$ac_compile"
11913 case "(($ac_try" in
11914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11915 *) ac_try_echo=$ac_try;;
11917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11918 (eval "$ac_compile") 2>conftest.er1
11920 grep -v '^ *+' conftest.er1 >conftest.err
11922 cat conftest.err >&5
11923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11924 (exit $ac_status); } && {
11925 test -z "$ac_c_werror_flag" ||
11926 test ! -s conftest.err
11927 } && test -s conftest.$ac_objext; then
11928 ac_cv_type_short=yes
11930 echo "$as_me: failed program was:" >&5
11931 sed 's/^/| /' conftest.$ac_ext >&5
11933 ac_cv_type_short=no
11936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11938 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
11939 echo "${ECHO_T}$ac_cv_type_short" >&6; }
11941 # The cast to long int works around a bug in the HP C Compiler
11942 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11943 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11944 # This bug is HP SR number 8606223364.
11945 { echo "$as_me:$LINENO: checking size of short" >&5
11946 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
11947 if test "${ac_cv_sizeof_short+set}" = set; then
11948 echo $ECHO_N "(cached) $ECHO_C" >&6
11950 if test "$cross_compiling" = yes; then
11951 # Depending upon the size, compute the lo and hi bounds.
11952 cat >conftest.$ac_ext <<_ACEOF
11955 cat confdefs.h >>conftest.$ac_ext
11956 cat >>conftest.$ac_ext <<_ACEOF
11957 /* end confdefs.h. */
11958 $ac_includes_default
11959 typedef short ac__type_sizeof_;
11963 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
11970 rm -f conftest.$ac_objext
11971 if { (ac_try="$ac_compile"
11972 case "(($ac_try" in
11973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11974 *) ac_try_echo=$ac_try;;
11976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11977 (eval "$ac_compile") 2>conftest.er1
11979 grep -v '^ *+' conftest.er1 >conftest.err
11981 cat conftest.err >&5
11982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11983 (exit $ac_status); } && {
11984 test -z "$ac_c_werror_flag" ||
11985 test ! -s conftest.err
11986 } && test -s conftest.$ac_objext; then
11989 cat >conftest.$ac_ext <<_ACEOF
11992 cat confdefs.h >>conftest.$ac_ext
11993 cat >>conftest.$ac_ext <<_ACEOF
11994 /* end confdefs.h. */
11995 $ac_includes_default
11996 typedef short ac__type_sizeof_;
12000 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
12007 rm -f conftest.$ac_objext
12008 if { (ac_try="$ac_compile"
12009 case "(($ac_try" in
12010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12011 *) ac_try_echo=$ac_try;;
12013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12014 (eval "$ac_compile") 2>conftest.er1
12016 grep -v '^ *+' conftest.er1 >conftest.err
12018 cat conftest.err >&5
12019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12020 (exit $ac_status); } && {
12021 test -z "$ac_c_werror_flag" ||
12022 test ! -s conftest.err
12023 } && test -s conftest.$ac_objext; then
12024 ac_hi=$ac_mid; break
12026 echo "$as_me: failed program was:" >&5
12027 sed 's/^/| /' conftest.$ac_ext >&5
12029 ac_lo=`expr $ac_mid + 1`
12030 if test $ac_lo -le $ac_mid; then
12034 ac_mid=`expr 2 '*' $ac_mid + 1`
12037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12040 echo "$as_me: failed program was:" >&5
12041 sed 's/^/| /' conftest.$ac_ext >&5
12043 cat >conftest.$ac_ext <<_ACEOF
12046 cat confdefs.h >>conftest.$ac_ext
12047 cat >>conftest.$ac_ext <<_ACEOF
12048 /* end confdefs.h. */
12049 $ac_includes_default
12050 typedef short ac__type_sizeof_;
12054 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
12061 rm -f conftest.$ac_objext
12062 if { (ac_try="$ac_compile"
12063 case "(($ac_try" in
12064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12065 *) ac_try_echo=$ac_try;;
12067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12068 (eval "$ac_compile") 2>conftest.er1
12070 grep -v '^ *+' conftest.er1 >conftest.err
12072 cat conftest.err >&5
12073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12074 (exit $ac_status); } && {
12075 test -z "$ac_c_werror_flag" ||
12076 test ! -s conftest.err
12077 } && test -s conftest.$ac_objext; then
12080 cat >conftest.$ac_ext <<_ACEOF
12083 cat confdefs.h >>conftest.$ac_ext
12084 cat >>conftest.$ac_ext <<_ACEOF
12085 /* end confdefs.h. */
12086 $ac_includes_default
12087 typedef short ac__type_sizeof_;
12091 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
12098 rm -f conftest.$ac_objext
12099 if { (ac_try="$ac_compile"
12100 case "(($ac_try" in
12101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12102 *) ac_try_echo=$ac_try;;
12104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12105 (eval "$ac_compile") 2>conftest.er1
12107 grep -v '^ *+' conftest.er1 >conftest.err
12109 cat conftest.err >&5
12110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111 (exit $ac_status); } && {
12112 test -z "$ac_c_werror_flag" ||
12113 test ! -s conftest.err
12114 } && test -s conftest.$ac_objext; then
12115 ac_lo=$ac_mid; break
12117 echo "$as_me: failed program was:" >&5
12118 sed 's/^/| /' conftest.$ac_ext >&5
12120 ac_hi=`expr '(' $ac_mid ')' - 1`
12121 if test $ac_mid -le $ac_hi; then
12125 ac_mid=`expr 2 '*' $ac_mid`
12128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12131 echo "$as_me: failed program was:" >&5
12132 sed 's/^/| /' conftest.$ac_ext >&5
12137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12141 # Binary search between lo and hi bounds.
12142 while test "x$ac_lo" != "x$ac_hi"; do
12143 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12144 cat >conftest.$ac_ext <<_ACEOF
12147 cat confdefs.h >>conftest.$ac_ext
12148 cat >>conftest.$ac_ext <<_ACEOF
12149 /* end confdefs.h. */
12150 $ac_includes_default
12151 typedef short ac__type_sizeof_;
12155 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
12162 rm -f conftest.$ac_objext
12163 if { (ac_try="$ac_compile"
12164 case "(($ac_try" in
12165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12166 *) ac_try_echo=$ac_try;;
12168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12169 (eval "$ac_compile") 2>conftest.er1
12171 grep -v '^ *+' conftest.er1 >conftest.err
12173 cat conftest.err >&5
12174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12175 (exit $ac_status); } && {
12176 test -z "$ac_c_werror_flag" ||
12177 test ! -s conftest.err
12178 } && test -s conftest.$ac_objext; then
12181 echo "$as_me: failed program was:" >&5
12182 sed 's/^/| /' conftest.$ac_ext >&5
12184 ac_lo=`expr '(' $ac_mid ')' + 1`
12187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12190 ?*) ac_cv_sizeof_short=$ac_lo;;
12191 '') if test "$ac_cv_type_short" = yes; then
12192 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
12193 See \`config.log' for more details." >&5
12194 echo "$as_me: error: cannot compute sizeof (short)
12195 See \`config.log' for more details." >&2;}
12196 { (exit 77); exit 77; }; }
12198 ac_cv_sizeof_short=0
12202 cat >conftest.$ac_ext <<_ACEOF
12205 cat confdefs.h >>conftest.$ac_ext
12206 cat >>conftest.$ac_ext <<_ACEOF
12207 /* end confdefs.h. */
12208 $ac_includes_default
12209 typedef short ac__type_sizeof_;
12210 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
12211 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
12213 #include <stdlib.h>
12218 FILE *f = fopen ("conftest.val", "w");
12221 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
12223 long int i = longval ();
12224 if (i != ((long int) (sizeof (ac__type_sizeof_))))
12226 fprintf (f, "%ld\n", i);
12230 unsigned long int i = ulongval ();
12231 if (i != ((long int) (sizeof (ac__type_sizeof_))))
12233 fprintf (f, "%lu\n", i);
12235 return ferror (f) || fclose (f) != 0;
12241 rm -f conftest$ac_exeext
12242 if { (ac_try="$ac_link"
12243 case "(($ac_try" in
12244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12245 *) ac_try_echo=$ac_try;;
12247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12248 (eval "$ac_link") 2>&5
12250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12251 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12252 { (case "(($ac_try" in
12253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12254 *) ac_try_echo=$ac_try;;
12256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12257 (eval "$ac_try") 2>&5
12259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12260 (exit $ac_status); }; }; then
12261 ac_cv_sizeof_short=`cat conftest.val`
12263 echo "$as_me: program exited with status $ac_status" >&5
12264 echo "$as_me: failed program was:" >&5
12265 sed 's/^/| /' conftest.$ac_ext >&5
12267 ( exit $ac_status )
12268 if test "$ac_cv_type_short" = yes; then
12269 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
12270 See \`config.log' for more details." >&5
12271 echo "$as_me: error: cannot compute sizeof (short)
12272 See \`config.log' for more details." >&2;}
12273 { (exit 77); exit 77; }; }
12275 ac_cv_sizeof_short=0
12278 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12282 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
12283 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
12287 cat >>confdefs.h <<_ACEOF
12288 #define SIZEOF_SHORT $ac_cv_sizeof_short
12292 { echo "$as_me:$LINENO: checking for int" >&5
12293 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
12294 if test "${ac_cv_type_int+set}" = set; then
12295 echo $ECHO_N "(cached) $ECHO_C" >&6
12297 cat >conftest.$ac_ext <<_ACEOF
12300 cat confdefs.h >>conftest.$ac_ext
12301 cat >>conftest.$ac_ext <<_ACEOF
12302 /* end confdefs.h. */
12303 $ac_includes_default
12304 typedef int ac__type_new_;
12308 if ((ac__type_new_ *) 0)
12310 if (sizeof (ac__type_new_))
12316 rm -f conftest.$ac_objext
12317 if { (ac_try="$ac_compile"
12318 case "(($ac_try" in
12319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12320 *) ac_try_echo=$ac_try;;
12322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12323 (eval "$ac_compile") 2>conftest.er1
12325 grep -v '^ *+' conftest.er1 >conftest.err
12327 cat conftest.err >&5
12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 (exit $ac_status); } && {
12330 test -z "$ac_c_werror_flag" ||
12331 test ! -s conftest.err
12332 } && test -s conftest.$ac_objext; then
12335 echo "$as_me: failed program was:" >&5
12336 sed 's/^/| /' conftest.$ac_ext >&5
12341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12343 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
12344 echo "${ECHO_T}$ac_cv_type_int" >&6; }
12346 # The cast to long int works around a bug in the HP C Compiler
12347 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12348 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12349 # This bug is HP SR number 8606223364.
12350 { echo "$as_me:$LINENO: checking size of int" >&5
12351 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
12352 if test "${ac_cv_sizeof_int+set}" = set; then
12353 echo $ECHO_N "(cached) $ECHO_C" >&6
12355 if test "$cross_compiling" = yes; then
12356 # Depending upon the size, compute the lo and hi bounds.
12357 cat >conftest.$ac_ext <<_ACEOF
12360 cat confdefs.h >>conftest.$ac_ext
12361 cat >>conftest.$ac_ext <<_ACEOF
12362 /* end confdefs.h. */
12363 $ac_includes_default
12364 typedef int ac__type_sizeof_;
12368 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
12375 rm -f conftest.$ac_objext
12376 if { (ac_try="$ac_compile"
12377 case "(($ac_try" in
12378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12379 *) ac_try_echo=$ac_try;;
12381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12382 (eval "$ac_compile") 2>conftest.er1
12384 grep -v '^ *+' conftest.er1 >conftest.err
12386 cat conftest.err >&5
12387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12388 (exit $ac_status); } && {
12389 test -z "$ac_c_werror_flag" ||
12390 test ! -s conftest.err
12391 } && test -s conftest.$ac_objext; then
12394 cat >conftest.$ac_ext <<_ACEOF
12397 cat confdefs.h >>conftest.$ac_ext
12398 cat >>conftest.$ac_ext <<_ACEOF
12399 /* end confdefs.h. */
12400 $ac_includes_default
12401 typedef int ac__type_sizeof_;
12405 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
12412 rm -f conftest.$ac_objext
12413 if { (ac_try="$ac_compile"
12414 case "(($ac_try" in
12415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12416 *) ac_try_echo=$ac_try;;
12418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12419 (eval "$ac_compile") 2>conftest.er1
12421 grep -v '^ *+' conftest.er1 >conftest.err
12423 cat conftest.err >&5
12424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12425 (exit $ac_status); } && {
12426 test -z "$ac_c_werror_flag" ||
12427 test ! -s conftest.err
12428 } && test -s conftest.$ac_objext; then
12429 ac_hi=$ac_mid; break
12431 echo "$as_me: failed program was:" >&5
12432 sed 's/^/| /' conftest.$ac_ext >&5
12434 ac_lo=`expr $ac_mid + 1`
12435 if test $ac_lo -le $ac_mid; then
12439 ac_mid=`expr 2 '*' $ac_mid + 1`
12442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12445 echo "$as_me: failed program was:" >&5
12446 sed 's/^/| /' conftest.$ac_ext >&5
12448 cat >conftest.$ac_ext <<_ACEOF
12451 cat confdefs.h >>conftest.$ac_ext
12452 cat >>conftest.$ac_ext <<_ACEOF
12453 /* end confdefs.h. */
12454 $ac_includes_default
12455 typedef int ac__type_sizeof_;
12459 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
12466 rm -f conftest.$ac_objext
12467 if { (ac_try="$ac_compile"
12468 case "(($ac_try" in
12469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12470 *) ac_try_echo=$ac_try;;
12472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12473 (eval "$ac_compile") 2>conftest.er1
12475 grep -v '^ *+' conftest.er1 >conftest.err
12477 cat conftest.err >&5
12478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12479 (exit $ac_status); } && {
12480 test -z "$ac_c_werror_flag" ||
12481 test ! -s conftest.err
12482 } && test -s conftest.$ac_objext; then
12485 cat >conftest.$ac_ext <<_ACEOF
12488 cat confdefs.h >>conftest.$ac_ext
12489 cat >>conftest.$ac_ext <<_ACEOF
12490 /* end confdefs.h. */
12491 $ac_includes_default
12492 typedef int ac__type_sizeof_;
12496 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
12503 rm -f conftest.$ac_objext
12504 if { (ac_try="$ac_compile"
12505 case "(($ac_try" in
12506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12507 *) ac_try_echo=$ac_try;;
12509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12510 (eval "$ac_compile") 2>conftest.er1
12512 grep -v '^ *+' conftest.er1 >conftest.err
12514 cat conftest.err >&5
12515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12516 (exit $ac_status); } && {
12517 test -z "$ac_c_werror_flag" ||
12518 test ! -s conftest.err
12519 } && test -s conftest.$ac_objext; then
12520 ac_lo=$ac_mid; break
12522 echo "$as_me: failed program was:" >&5
12523 sed 's/^/| /' conftest.$ac_ext >&5
12525 ac_hi=`expr '(' $ac_mid ')' - 1`
12526 if test $ac_mid -le $ac_hi; then
12530 ac_mid=`expr 2 '*' $ac_mid`
12533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12536 echo "$as_me: failed program was:" >&5
12537 sed 's/^/| /' conftest.$ac_ext >&5
12542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12546 # Binary search between lo and hi bounds.
12547 while test "x$ac_lo" != "x$ac_hi"; do
12548 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12549 cat >conftest.$ac_ext <<_ACEOF
12552 cat confdefs.h >>conftest.$ac_ext
12553 cat >>conftest.$ac_ext <<_ACEOF
12554 /* end confdefs.h. */
12555 $ac_includes_default
12556 typedef int ac__type_sizeof_;
12560 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
12567 rm -f conftest.$ac_objext
12568 if { (ac_try="$ac_compile"
12569 case "(($ac_try" in
12570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12571 *) ac_try_echo=$ac_try;;
12573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12574 (eval "$ac_compile") 2>conftest.er1
12576 grep -v '^ *+' conftest.er1 >conftest.err
12578 cat conftest.err >&5
12579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580 (exit $ac_status); } && {
12581 test -z "$ac_c_werror_flag" ||
12582 test ! -s conftest.err
12583 } && test -s conftest.$ac_objext; then
12586 echo "$as_me: failed program was:" >&5
12587 sed 's/^/| /' conftest.$ac_ext >&5
12589 ac_lo=`expr '(' $ac_mid ')' + 1`
12592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12595 ?*) ac_cv_sizeof_int=$ac_lo;;
12596 '') if test "$ac_cv_type_int" = yes; then
12597 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
12598 See \`config.log' for more details." >&5
12599 echo "$as_me: error: cannot compute sizeof (int)
12600 See \`config.log' for more details." >&2;}
12601 { (exit 77); exit 77; }; }
12607 cat >conftest.$ac_ext <<_ACEOF
12610 cat confdefs.h >>conftest.$ac_ext
12611 cat >>conftest.$ac_ext <<_ACEOF
12612 /* end confdefs.h. */
12613 $ac_includes_default
12614 typedef int ac__type_sizeof_;
12615 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
12616 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
12618 #include <stdlib.h>
12623 FILE *f = fopen ("conftest.val", "w");
12626 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
12628 long int i = longval ();
12629 if (i != ((long int) (sizeof (ac__type_sizeof_))))
12631 fprintf (f, "%ld\n", i);
12635 unsigned long int i = ulongval ();
12636 if (i != ((long int) (sizeof (ac__type_sizeof_))))
12638 fprintf (f, "%lu\n", i);
12640 return ferror (f) || fclose (f) != 0;
12646 rm -f conftest$ac_exeext
12647 if { (ac_try="$ac_link"
12648 case "(($ac_try" in
12649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12650 *) ac_try_echo=$ac_try;;
12652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12653 (eval "$ac_link") 2>&5
12655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12656 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12657 { (case "(($ac_try" in
12658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12659 *) ac_try_echo=$ac_try;;
12661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12662 (eval "$ac_try") 2>&5
12664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12665 (exit $ac_status); }; }; then
12666 ac_cv_sizeof_int=`cat conftest.val`
12668 echo "$as_me: program exited with status $ac_status" >&5
12669 echo "$as_me: failed program was:" >&5
12670 sed 's/^/| /' conftest.$ac_ext >&5
12672 ( exit $ac_status )
12673 if test "$ac_cv_type_int" = yes; then
12674 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
12675 See \`config.log' for more details." >&5
12676 echo "$as_me: error: cannot compute sizeof (int)
12677 See \`config.log' for more details." >&2;}
12678 { (exit 77); exit 77; }; }
12683 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12687 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
12688 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
12692 cat >>confdefs.h <<_ACEOF
12693 #define SIZEOF_INT $ac_cv_sizeof_int
12697 { echo "$as_me:$LINENO: checking for long" >&5
12698 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
12699 if test "${ac_cv_type_long+set}" = set; then
12700 echo $ECHO_N "(cached) $ECHO_C" >&6
12702 cat >conftest.$ac_ext <<_ACEOF
12705 cat confdefs.h >>conftest.$ac_ext
12706 cat >>conftest.$ac_ext <<_ACEOF
12707 /* end confdefs.h. */
12708 $ac_includes_default
12709 typedef long ac__type_new_;
12713 if ((ac__type_new_ *) 0)
12715 if (sizeof (ac__type_new_))
12721 rm -f conftest.$ac_objext
12722 if { (ac_try="$ac_compile"
12723 case "(($ac_try" in
12724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12725 *) ac_try_echo=$ac_try;;
12727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12728 (eval "$ac_compile") 2>conftest.er1
12730 grep -v '^ *+' conftest.er1 >conftest.err
12732 cat conftest.err >&5
12733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12734 (exit $ac_status); } && {
12735 test -z "$ac_c_werror_flag" ||
12736 test ! -s conftest.err
12737 } && test -s conftest.$ac_objext; then
12738 ac_cv_type_long=yes
12740 echo "$as_me: failed program was:" >&5
12741 sed 's/^/| /' conftest.$ac_ext >&5
12746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12748 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
12749 echo "${ECHO_T}$ac_cv_type_long" >&6; }
12751 # The cast to long int works around a bug in the HP C Compiler
12752 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12753 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12754 # This bug is HP SR number 8606223364.
12755 { echo "$as_me:$LINENO: checking size of long" >&5
12756 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
12757 if test "${ac_cv_sizeof_long+set}" = set; then
12758 echo $ECHO_N "(cached) $ECHO_C" >&6
12760 if test "$cross_compiling" = yes; then
12761 # Depending upon the size, compute the lo and hi bounds.
12762 cat >conftest.$ac_ext <<_ACEOF
12765 cat confdefs.h >>conftest.$ac_ext
12766 cat >>conftest.$ac_ext <<_ACEOF
12767 /* end confdefs.h. */
12768 $ac_includes_default
12769 typedef long ac__type_sizeof_;
12773 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
12780 rm -f conftest.$ac_objext
12781 if { (ac_try="$ac_compile"
12782 case "(($ac_try" in
12783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12784 *) ac_try_echo=$ac_try;;
12786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12787 (eval "$ac_compile") 2>conftest.er1
12789 grep -v '^ *+' conftest.er1 >conftest.err
12791 cat conftest.err >&5
12792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12793 (exit $ac_status); } && {
12794 test -z "$ac_c_werror_flag" ||
12795 test ! -s conftest.err
12796 } && test -s conftest.$ac_objext; then
12799 cat >conftest.$ac_ext <<_ACEOF
12802 cat confdefs.h >>conftest.$ac_ext
12803 cat >>conftest.$ac_ext <<_ACEOF
12804 /* end confdefs.h. */
12805 $ac_includes_default
12806 typedef long ac__type_sizeof_;
12810 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
12817 rm -f conftest.$ac_objext
12818 if { (ac_try="$ac_compile"
12819 case "(($ac_try" in
12820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12821 *) ac_try_echo=$ac_try;;
12823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12824 (eval "$ac_compile") 2>conftest.er1
12826 grep -v '^ *+' conftest.er1 >conftest.err
12828 cat conftest.err >&5
12829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12830 (exit $ac_status); } && {
12831 test -z "$ac_c_werror_flag" ||
12832 test ! -s conftest.err
12833 } && test -s conftest.$ac_objext; then
12834 ac_hi=$ac_mid; break
12836 echo "$as_me: failed program was:" >&5
12837 sed 's/^/| /' conftest.$ac_ext >&5
12839 ac_lo=`expr $ac_mid + 1`
12840 if test $ac_lo -le $ac_mid; then
12844 ac_mid=`expr 2 '*' $ac_mid + 1`
12847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12850 echo "$as_me: failed program was:" >&5
12851 sed 's/^/| /' conftest.$ac_ext >&5
12853 cat >conftest.$ac_ext <<_ACEOF
12856 cat confdefs.h >>conftest.$ac_ext
12857 cat >>conftest.$ac_ext <<_ACEOF
12858 /* end confdefs.h. */
12859 $ac_includes_default
12860 typedef long ac__type_sizeof_;
12864 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
12871 rm -f conftest.$ac_objext
12872 if { (ac_try="$ac_compile"
12873 case "(($ac_try" in
12874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12875 *) ac_try_echo=$ac_try;;
12877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12878 (eval "$ac_compile") 2>conftest.er1
12880 grep -v '^ *+' conftest.er1 >conftest.err
12882 cat conftest.err >&5
12883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12884 (exit $ac_status); } && {
12885 test -z "$ac_c_werror_flag" ||
12886 test ! -s conftest.err
12887 } && test -s conftest.$ac_objext; then
12890 cat >conftest.$ac_ext <<_ACEOF
12893 cat confdefs.h >>conftest.$ac_ext
12894 cat >>conftest.$ac_ext <<_ACEOF
12895 /* end confdefs.h. */
12896 $ac_includes_default
12897 typedef long ac__type_sizeof_;
12901 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
12908 rm -f conftest.$ac_objext
12909 if { (ac_try="$ac_compile"
12910 case "(($ac_try" in
12911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12912 *) ac_try_echo=$ac_try;;
12914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12915 (eval "$ac_compile") 2>conftest.er1
12917 grep -v '^ *+' conftest.er1 >conftest.err
12919 cat conftest.err >&5
12920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12921 (exit $ac_status); } && {
12922 test -z "$ac_c_werror_flag" ||
12923 test ! -s conftest.err
12924 } && test -s conftest.$ac_objext; then
12925 ac_lo=$ac_mid; break
12927 echo "$as_me: failed program was:" >&5
12928 sed 's/^/| /' conftest.$ac_ext >&5
12930 ac_hi=`expr '(' $ac_mid ')' - 1`
12931 if test $ac_mid -le $ac_hi; then
12935 ac_mid=`expr 2 '*' $ac_mid`
12938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12941 echo "$as_me: failed program was:" >&5
12942 sed 's/^/| /' conftest.$ac_ext >&5
12947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12951 # Binary search between lo and hi bounds.
12952 while test "x$ac_lo" != "x$ac_hi"; do
12953 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12954 cat >conftest.$ac_ext <<_ACEOF
12957 cat confdefs.h >>conftest.$ac_ext
12958 cat >>conftest.$ac_ext <<_ACEOF
12959 /* end confdefs.h. */
12960 $ac_includes_default
12961 typedef long ac__type_sizeof_;
12965 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
12972 rm -f conftest.$ac_objext
12973 if { (ac_try="$ac_compile"
12974 case "(($ac_try" in
12975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12976 *) ac_try_echo=$ac_try;;
12978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12979 (eval "$ac_compile") 2>conftest.er1
12981 grep -v '^ *+' conftest.er1 >conftest.err
12983 cat conftest.err >&5
12984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12985 (exit $ac_status); } && {
12986 test -z "$ac_c_werror_flag" ||
12987 test ! -s conftest.err
12988 } && test -s conftest.$ac_objext; then
12991 echo "$as_me: failed program was:" >&5
12992 sed 's/^/| /' conftest.$ac_ext >&5
12994 ac_lo=`expr '(' $ac_mid ')' + 1`
12997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13000 ?*) ac_cv_sizeof_long=$ac_lo;;
13001 '') if test "$ac_cv_type_long" = yes; then
13002 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
13003 See \`config.log' for more details." >&5
13004 echo "$as_me: error: cannot compute sizeof (long)
13005 See \`config.log' for more details." >&2;}
13006 { (exit 77); exit 77; }; }
13008 ac_cv_sizeof_long=0
13012 cat >conftest.$ac_ext <<_ACEOF
13015 cat confdefs.h >>conftest.$ac_ext
13016 cat >>conftest.$ac_ext <<_ACEOF
13017 /* end confdefs.h. */
13018 $ac_includes_default
13019 typedef long ac__type_sizeof_;
13020 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
13021 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
13023 #include <stdlib.h>
13028 FILE *f = fopen ("conftest.val", "w");
13031 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
13033 long int i = longval ();
13034 if (i != ((long int) (sizeof (ac__type_sizeof_))))
13036 fprintf (f, "%ld\n", i);
13040 unsigned long int i = ulongval ();
13041 if (i != ((long int) (sizeof (ac__type_sizeof_))))
13043 fprintf (f, "%lu\n", i);
13045 return ferror (f) || fclose (f) != 0;
13051 rm -f conftest$ac_exeext
13052 if { (ac_try="$ac_link"
13053 case "(($ac_try" in
13054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13055 *) ac_try_echo=$ac_try;;
13057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13058 (eval "$ac_link") 2>&5
13060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13061 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13062 { (case "(($ac_try" in
13063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13064 *) ac_try_echo=$ac_try;;
13066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13067 (eval "$ac_try") 2>&5
13069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13070 (exit $ac_status); }; }; then
13071 ac_cv_sizeof_long=`cat conftest.val`
13073 echo "$as_me: program exited with status $ac_status" >&5
13074 echo "$as_me: failed program was:" >&5
13075 sed 's/^/| /' conftest.$ac_ext >&5
13077 ( exit $ac_status )
13078 if test "$ac_cv_type_long" = yes; then
13079 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
13080 See \`config.log' for more details." >&5
13081 echo "$as_me: error: cannot compute sizeof (long)
13082 See \`config.log' for more details." >&2;}
13083 { (exit 77); exit 77; }; }
13085 ac_cv_sizeof_long=0
13088 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13092 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
13093 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
13097 cat >>confdefs.h <<_ACEOF
13098 #define SIZEOF_LONG $ac_cv_sizeof_long
13102 { echo "$as_me:$LINENO: checking for long long" >&5
13103 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
13104 if test "${ac_cv_type_long_long+set}" = set; then
13105 echo $ECHO_N "(cached) $ECHO_C" >&6
13107 cat >conftest.$ac_ext <<_ACEOF
13110 cat confdefs.h >>conftest.$ac_ext
13111 cat >>conftest.$ac_ext <<_ACEOF
13112 /* end confdefs.h. */
13113 $ac_includes_default
13114 typedef long long ac__type_new_;
13118 if ((ac__type_new_ *) 0)
13120 if (sizeof (ac__type_new_))
13126 rm -f conftest.$ac_objext
13127 if { (ac_try="$ac_compile"
13128 case "(($ac_try" in
13129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13130 *) ac_try_echo=$ac_try;;
13132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13133 (eval "$ac_compile") 2>conftest.er1
13135 grep -v '^ *+' conftest.er1 >conftest.err
13137 cat conftest.err >&5
13138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13139 (exit $ac_status); } && {
13140 test -z "$ac_c_werror_flag" ||
13141 test ! -s conftest.err
13142 } && test -s conftest.$ac_objext; then
13143 ac_cv_type_long_long=yes
13145 echo "$as_me: failed program was:" >&5
13146 sed 's/^/| /' conftest.$ac_ext >&5
13148 ac_cv_type_long_long=no
13151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13153 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
13154 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
13156 # The cast to long int works around a bug in the HP C Compiler
13157 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13158 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13159 # This bug is HP SR number 8606223364.
13160 { echo "$as_me:$LINENO: checking size of long long" >&5
13161 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
13162 if test "${ac_cv_sizeof_long_long+set}" = set; then
13163 echo $ECHO_N "(cached) $ECHO_C" >&6
13165 if test "$cross_compiling" = yes; then
13166 # Depending upon the size, compute the lo and hi bounds.
13167 cat >conftest.$ac_ext <<_ACEOF
13170 cat confdefs.h >>conftest.$ac_ext
13171 cat >>conftest.$ac_ext <<_ACEOF
13172 /* end confdefs.h. */
13173 $ac_includes_default
13174 typedef long long ac__type_sizeof_;
13178 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
13185 rm -f conftest.$ac_objext
13186 if { (ac_try="$ac_compile"
13187 case "(($ac_try" in
13188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13189 *) ac_try_echo=$ac_try;;
13191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13192 (eval "$ac_compile") 2>conftest.er1
13194 grep -v '^ *+' conftest.er1 >conftest.err
13196 cat conftest.err >&5
13197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13198 (exit $ac_status); } && {
13199 test -z "$ac_c_werror_flag" ||
13200 test ! -s conftest.err
13201 } && test -s conftest.$ac_objext; then
13204 cat >conftest.$ac_ext <<_ACEOF
13207 cat confdefs.h >>conftest.$ac_ext
13208 cat >>conftest.$ac_ext <<_ACEOF
13209 /* end confdefs.h. */
13210 $ac_includes_default
13211 typedef long long ac__type_sizeof_;
13215 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
13222 rm -f conftest.$ac_objext
13223 if { (ac_try="$ac_compile"
13224 case "(($ac_try" in
13225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13226 *) ac_try_echo=$ac_try;;
13228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13229 (eval "$ac_compile") 2>conftest.er1
13231 grep -v '^ *+' conftest.er1 >conftest.err
13233 cat conftest.err >&5
13234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13235 (exit $ac_status); } && {
13236 test -z "$ac_c_werror_flag" ||
13237 test ! -s conftest.err
13238 } && test -s conftest.$ac_objext; then
13239 ac_hi=$ac_mid; break
13241 echo "$as_me: failed program was:" >&5
13242 sed 's/^/| /' conftest.$ac_ext >&5
13244 ac_lo=`expr $ac_mid + 1`
13245 if test $ac_lo -le $ac_mid; then
13249 ac_mid=`expr 2 '*' $ac_mid + 1`
13252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13255 echo "$as_me: failed program was:" >&5
13256 sed 's/^/| /' conftest.$ac_ext >&5
13258 cat >conftest.$ac_ext <<_ACEOF
13261 cat confdefs.h >>conftest.$ac_ext
13262 cat >>conftest.$ac_ext <<_ACEOF
13263 /* end confdefs.h. */
13264 $ac_includes_default
13265 typedef long long ac__type_sizeof_;
13269 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
13276 rm -f conftest.$ac_objext
13277 if { (ac_try="$ac_compile"
13278 case "(($ac_try" in
13279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13280 *) ac_try_echo=$ac_try;;
13282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13283 (eval "$ac_compile") 2>conftest.er1
13285 grep -v '^ *+' conftest.er1 >conftest.err
13287 cat conftest.err >&5
13288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13289 (exit $ac_status); } && {
13290 test -z "$ac_c_werror_flag" ||
13291 test ! -s conftest.err
13292 } && test -s conftest.$ac_objext; then
13295 cat >conftest.$ac_ext <<_ACEOF
13298 cat confdefs.h >>conftest.$ac_ext
13299 cat >>conftest.$ac_ext <<_ACEOF
13300 /* end confdefs.h. */
13301 $ac_includes_default
13302 typedef long long ac__type_sizeof_;
13306 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
13313 rm -f conftest.$ac_objext
13314 if { (ac_try="$ac_compile"
13315 case "(($ac_try" in
13316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13317 *) ac_try_echo=$ac_try;;
13319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13320 (eval "$ac_compile") 2>conftest.er1
13322 grep -v '^ *+' conftest.er1 >conftest.err
13324 cat conftest.err >&5
13325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13326 (exit $ac_status); } && {
13327 test -z "$ac_c_werror_flag" ||
13328 test ! -s conftest.err
13329 } && test -s conftest.$ac_objext; then
13330 ac_lo=$ac_mid; break
13332 echo "$as_me: failed program was:" >&5
13333 sed 's/^/| /' conftest.$ac_ext >&5
13335 ac_hi=`expr '(' $ac_mid ')' - 1`
13336 if test $ac_mid -le $ac_hi; then
13340 ac_mid=`expr 2 '*' $ac_mid`
13343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13346 echo "$as_me: failed program was:" >&5
13347 sed 's/^/| /' conftest.$ac_ext >&5
13352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13356 # Binary search between lo and hi bounds.
13357 while test "x$ac_lo" != "x$ac_hi"; do
13358 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13359 cat >conftest.$ac_ext <<_ACEOF
13362 cat confdefs.h >>conftest.$ac_ext
13363 cat >>conftest.$ac_ext <<_ACEOF
13364 /* end confdefs.h. */
13365 $ac_includes_default
13366 typedef long long ac__type_sizeof_;
13370 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
13377 rm -f conftest.$ac_objext
13378 if { (ac_try="$ac_compile"
13379 case "(($ac_try" in
13380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13381 *) ac_try_echo=$ac_try;;
13383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13384 (eval "$ac_compile") 2>conftest.er1
13386 grep -v '^ *+' conftest.er1 >conftest.err
13388 cat conftest.err >&5
13389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13390 (exit $ac_status); } && {
13391 test -z "$ac_c_werror_flag" ||
13392 test ! -s conftest.err
13393 } && test -s conftest.$ac_objext; then
13396 echo "$as_me: failed program was:" >&5
13397 sed 's/^/| /' conftest.$ac_ext >&5
13399 ac_lo=`expr '(' $ac_mid ')' + 1`
13402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13405 ?*) ac_cv_sizeof_long_long=$ac_lo;;
13406 '') if test "$ac_cv_type_long_long" = yes; then
13407 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
13408 See \`config.log' for more details." >&5
13409 echo "$as_me: error: cannot compute sizeof (long long)
13410 See \`config.log' for more details." >&2;}
13411 { (exit 77); exit 77; }; }
13413 ac_cv_sizeof_long_long=0
13417 cat >conftest.$ac_ext <<_ACEOF
13420 cat confdefs.h >>conftest.$ac_ext
13421 cat >>conftest.$ac_ext <<_ACEOF
13422 /* end confdefs.h. */
13423 $ac_includes_default
13424 typedef long long ac__type_sizeof_;
13425 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
13426 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
13428 #include <stdlib.h>
13433 FILE *f = fopen ("conftest.val", "w");
13436 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
13438 long int i = longval ();
13439 if (i != ((long int) (sizeof (ac__type_sizeof_))))
13441 fprintf (f, "%ld\n", i);
13445 unsigned long int i = ulongval ();
13446 if (i != ((long int) (sizeof (ac__type_sizeof_))))
13448 fprintf (f, "%lu\n", i);
13450 return ferror (f) || fclose (f) != 0;
13456 rm -f conftest$ac_exeext
13457 if { (ac_try="$ac_link"
13458 case "(($ac_try" in
13459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13460 *) ac_try_echo=$ac_try;;
13462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13463 (eval "$ac_link") 2>&5
13465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13466 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13467 { (case "(($ac_try" in
13468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13469 *) ac_try_echo=$ac_try;;
13471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13472 (eval "$ac_try") 2>&5
13474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13475 (exit $ac_status); }; }; then
13476 ac_cv_sizeof_long_long=`cat conftest.val`
13478 echo "$as_me: program exited with status $ac_status" >&5
13479 echo "$as_me: failed program was:" >&5
13480 sed 's/^/| /' conftest.$ac_ext >&5
13482 ( exit $ac_status )
13483 if test "$ac_cv_type_long_long" = yes; then
13484 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
13485 See \`config.log' for more details." >&5
13486 echo "$as_me: error: cannot compute sizeof (long long)
13487 See \`config.log' for more details." >&2;}
13488 { (exit 77); exit 77; }; }
13490 ac_cv_sizeof_long_long=0
13493 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13497 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
13498 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
13502 cat >>confdefs.h <<_ACEOF
13503 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13509 if test x$has_cv_int16_t = "xyes" ; then
13513 $ac_cv_sizeof_short) SIZE16="short";;
13514 $ac_cv_sizeof_int) SIZE16="int";;
13518 if test x$has_cv_int32_t = "xyes" ; then
13522 $ac_cv_sizeof_short) SIZE32="short";;
13523 $ac_cv_sizeof_int) SIZE32="int";;
13524 $ac_cv_sizeof_long) SIZE32="long";;
13528 if test x$has_cv_uint32_t = "xyes" ; then
13531 if test x$has_cv_u_int32_t = "xyes" ; then
13532 USIZE32="u_int32_t"
13535 $ac_cv_sizeof_short) USIZE32="unsigned short";;
13536 $ac_cv_sizeof_int) USIZE32="unsigned int";;
13537 $ac_cv_sizeof_long) USIZE32="unsigned long";;
13542 if test x$has_cv_uint16_t = "xyes" ; then
13545 if test x$has_cv_u_int16_t = "xyes" ; then
13546 USIZE16="u_int16_t"
13549 $ac_cv_sizeof_short) USIZE16="unsigned short";;
13550 $ac_cv_sizeof_int) USIZE16="unsigned int";;
13551 $ac_cv_sizeof_long) USIZE16="unsigned long";;
13556 if test x$has_cv_int64_t = "xyes" ; then
13560 $ac_cv_sizeof_int) SIZE64="int";;
13561 $ac_cv_sizeof_long) SIZE64="long";;
13562 $ac_cv_sizeof_long_long) SIZE64="long long";;
13566 if test -z "$SIZE16"; then
13567 { { echo "$as_me:$LINENO: error: No 16 bit type found on this platform!" >&5
13568 echo "$as_me: error: No 16 bit type found on this platform!" >&2;}
13569 { (exit 1); exit 1; }; }
13571 if test -z "$USIZE16"; then
13572 { { echo "$as_me:$LINENO: error: No unsigned 16 bit type found on this platform!" >&5
13573 echo "$as_me: error: No unsigned 16 bit type found on this platform!" >&2;}
13574 { (exit 1); exit 1; }; }
13576 if test -z "$SIZE32"; then
13577 { { echo "$as_me:$LINENO: error: No 32 bit type found on this platform!" >&5
13578 echo "$as_me: error: No 32 bit type found on this platform!" >&2;}
13579 { (exit 1); exit 1; }; }
13581 if test -z "$USIZE32"; then
13582 { { echo "$as_me:$LINENO: error: No unsigned 32 bit type found on this platform!" >&5
13583 echo "$as_me: error: No unsigned 32 bit type found on this platform!" >&2;}
13584 { (exit 1); exit 1; }; }
13586 if test -z "$SIZE64"; then
13587 { echo "$as_me:$LINENO: WARNING: No 64 bit type found on this platform!" >&5
13588 echo "$as_me: WARNING: No 64 bit type found on this platform!" >&2;}
13591 { echo "$as_me:$LINENO: checking for working memcmp" >&5
13592 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
13593 if test "${ac_cv_func_memcmp_working+set}" = set; then
13594 echo $ECHO_N "(cached) $ECHO_C" >&6
13596 if test "$cross_compiling" = yes; then
13597 ac_cv_func_memcmp_working=no
13599 cat >conftest.$ac_ext <<_ACEOF
13602 cat confdefs.h >>conftest.$ac_ext
13603 cat >>conftest.$ac_ext <<_ACEOF
13604 /* end confdefs.h. */
13605 $ac_includes_default
13610 /* Some versions of memcmp are not 8-bit clean. */
13611 char c0 = '\100', c1 = '\200', c2 = '\201';
13612 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
13615 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
13616 or more and with at least one buffer not starting on a 4-byte boundary.
13617 William Lewis provided this test program. */
13622 for (i = 0; i < 4; i++)
13626 strcpy (a, "--------01111111");
13627 strcpy (b, "--------10000000");
13628 if (memcmp (a, b, 16) >= 0)
13638 rm -f conftest$ac_exeext
13639 if { (ac_try="$ac_link"
13640 case "(($ac_try" in
13641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13642 *) ac_try_echo=$ac_try;;
13644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13645 (eval "$ac_link") 2>&5
13647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13648 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13649 { (case "(($ac_try" in
13650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13651 *) ac_try_echo=$ac_try;;
13653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13654 (eval "$ac_try") 2>&5
13656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13657 (exit $ac_status); }; }; then
13658 ac_cv_func_memcmp_working=yes
13660 echo "$as_me: program exited with status $ac_status" >&5
13661 echo "$as_me: failed program was:" >&5
13662 sed 's/^/| /' conftest.$ac_ext >&5
13664 ( exit $ac_status )
13665 ac_cv_func_memcmp_working=no
13667 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13672 { echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
13673 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
13674 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
13675 *" memcmp.$ac_objext "* ) ;;
13676 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
13695 ac_config_files="$ac_config_files Makefile src/Makefile doc/Makefile doc/libogg/Makefile include/Makefile include/ogg/Makefile include/ogg/config_types.h libogg.spec ogg.pc ogg-uninstalled.pc"
13697 cat >confcache <<\_ACEOF
13698 # This file is a shell script that caches the results of configure
13699 # tests run on this system so they can be shared between configure
13700 # scripts and configure runs, see configure's option --config-cache.
13701 # It is not useful on other systems. If it contains results you don't
13702 # want to keep, you may remove or edit it.
13704 # config.status only pays attention to the cache file if you give it
13705 # the --recheck option to rerun configure.
13707 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13708 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13709 # following values.
13713 # The following way of writing the cache mishandles newlines in values,
13714 # but we know of no workaround that is simple, portable, and efficient.
13715 # So, we kill variables containing newlines.
13716 # Ultrix sh set writes to stderr and can't be redirected directly,
13717 # and sets the high bit in the cache file unless we assign to the vars.
13719 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13720 eval ac_val=\$$ac_var
13724 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13725 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13728 _ | IFS | as_nl) ;; #(
13729 *) $as_unset $ac_var ;;
13735 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13736 *${as_nl}ac_space=\ *)
13737 # `set' does not quote correctly, so add quotes (double-quote
13738 # substitution turns \\\\ into \\, and sed turns \\ into \).
13741 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13744 # `set' quotes correctly as required by POSIX, so do not add quotes.
13745 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13754 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13756 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13758 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13759 if test -w "$cache_file"; then
13760 test "x$cache_file" != "x/dev/null" &&
13761 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13762 echo "$as_me: updating cache $cache_file" >&6;}
13763 cat confcache >$cache_file
13765 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13766 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13771 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13772 # Let make expand exec_prefix.
13773 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13775 DEFS=-DHAVE_CONFIG_H
13779 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13780 # 1. Remove the extension, and $U if already installed.
13781 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13782 ac_i=`echo "$ac_i" | sed "$ac_script"`
13783 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13784 # will be set to the directory where LIBOBJS objects are built.
13785 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13786 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13788 LIBOBJS=$ac_libobjs
13790 LTLIBOBJS=$ac_ltlibobjs
13793 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13794 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
13795 Usually this means the macro was only invoked conditionally." >&5
13796 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
13797 Usually this means the macro was only invoked conditionally." >&2;}
13798 { (exit 1); exit 1; }; }
13800 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13801 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
13802 Usually this means the macro was only invoked conditionally." >&5
13803 echo "$as_me: error: conditional \"AMDEP\" was never defined.
13804 Usually this means the macro was only invoked conditionally." >&2;}
13805 { (exit 1); exit 1; }; }
13807 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13808 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13809 Usually this means the macro was only invoked conditionally." >&5
13810 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13811 Usually this means the macro was only invoked conditionally." >&2;}
13812 { (exit 1); exit 1; }; }
13815 : ${CONFIG_STATUS=./config.status}
13816 ac_clean_files_save=$ac_clean_files
13817 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13818 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13819 echo "$as_me: creating $CONFIG_STATUS" >&6;}
13820 cat >$CONFIG_STATUS <<_ACEOF
13822 # Generated by $as_me.
13823 # Run this file to recreate the current configuration.
13824 # Compiler output produced by configure, useful for debugging
13825 # configure, is in config.log if it exists.
13828 ac_cs_recheck=false
13830 SHELL=\${CONFIG_SHELL-$SHELL}
13833 cat >>$CONFIG_STATUS <<\_ACEOF
13834 ## --------------------- ##
13835 ## M4sh Initialization. ##
13836 ## --------------------- ##
13838 # Be more Bourne compatible
13839 DUALCASE=1; export DUALCASE # for MKS sh
13840 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13843 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13844 # is contrary to our usage. Disable this feature.
13845 alias -g '${1+"$@"}'='"$@"'
13846 setopt NO_GLOB_SUBST
13848 case `(set -o) 2>/dev/null` in
13849 *posix*) set -o posix ;;
13858 # Avoid depending upon Character Ranges.
13859 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13860 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13861 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13862 as_cr_digits='0123456789'
13863 as_cr_alnum=$as_cr_Letters$as_cr_digits
13865 # The user is always right.
13866 if test "${PATH_SEPARATOR+set}" != set; then
13867 echo "#! /bin/sh" >conf$$.sh
13868 echo "exit 0" >>conf$$.sh
13870 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13878 # Support unset when possible.
13879 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13887 # We need space, tab and new line, in precisely that order. Quoting is
13888 # there to prevent editors from complaining about space-tab.
13889 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13890 # splitting by setting IFS to empty value.)
13895 # Find who we are. Look in the path if we contain no directory separator.
13897 *[\\/]* ) as_myself=$0 ;;
13898 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13899 for as_dir in $PATH
13902 test -z "$as_dir" && as_dir=.
13903 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13909 # We did not find ourselves, most probably we were run as `sh COMMAND'
13910 # in which case we are not to be found in the path.
13911 if test "x$as_myself" = x; then
13914 if test ! -f "$as_myself"; then
13915 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13916 { (exit 1); exit 1; }
13919 # Work around bugs in pre-3.0 UWIN ksh.
13920 for as_var in ENV MAIL MAILPATH
13921 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
13929 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13930 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13931 LC_TELEPHONE LC_TIME
13933 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13934 eval $as_var=C; export $as_var
13936 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
13940 # Required to use basename.
13941 if expr a : '\(a\)' >/dev/null 2>&1 &&
13942 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13948 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13949 as_basename=basename
13955 # Name of the executable.
13956 as_me=`$as_basename -- "$0" ||
13957 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13958 X"$0" : 'X\(//\)$' \| \
13959 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13961 sed '/^.*\/\([^/][^/]*\)\/*$/{
13980 as_lineno_1=$LINENO
13981 as_lineno_2=$LINENO
13982 test "x$as_lineno_1" != "x$as_lineno_2" &&
13983 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
13985 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13986 # uniformly replaced by the line number. The first 'sed' inserts a
13987 # line-number line after each line using $LINENO; the second 'sed'
13988 # does the real work. The second script uses 'N' to pair each
13989 # line-number line with the line containing $LINENO, and appends
13990 # trailing '-' during substitution so that $LINENO is not a special
13991 # case at line end.
13992 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13993 # scripts with optimization help from Paolo Bonzini. Blame Lee
13994 # E. McMahon (1931-1989) for sed's syntax. :-)
14006 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
14009 ' >$as_me.lineno &&
14010 chmod +x "$as_me.lineno" ||
14011 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
14012 { (exit 1); exit 1; }; }
14014 # Don't try to exec as it changes $[0], causing all sort of problems
14015 # (the dirname of $[0] is not the place where we might find the
14016 # original and so on. Autoconf is especially sensitive to this).
14017 . "./$as_me.lineno"
14018 # Exit status is that of the last command.
14023 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14029 ECHO_C= ECHO_N= ECHO_T=
14030 case `echo -n x` in
14032 case `echo 'x\c'` in
14033 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14040 if expr a : '\(a\)' >/dev/null 2>&1 &&
14041 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14047 rm -f conf$$ conf$$.exe conf$$.file
14048 if test -d conf$$.dir; then
14049 rm -f conf$$.dir/conf$$.file
14055 if ln -s conf$$.file conf$$ 2>/dev/null; then
14057 # ... but there are two gotchas:
14058 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14059 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14060 # In both cases, we have to default to `cp -p'.
14061 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14063 elif ln conf$$.file conf$$ 2>/dev/null; then
14068 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14069 rmdir conf$$.dir 2>/dev/null
14071 if mkdir -p . 2>/dev/null; then
14074 test -d ./-p && rmdir ./-p
14078 if test -x / >/dev/null 2>&1; then
14079 as_test_x='test -x'
14081 if ls -dL / >/dev/null 2>&1; then
14088 if test -d "$1"; then
14094 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
14095 ???[sx]*):;;*)false;;esac;fi
14099 as_executable_p=$as_test_x
14101 # Sed expression to map a string onto a valid CPP name.
14102 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14104 # Sed expression to map a string onto a valid variable name.
14105 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14110 # Save the log message, to keep $[0] and so on meaningful, and to
14111 # report actual input values of CONFIG_FILES etc. instead of their
14112 # values after options handling.
14114 This file was extended by $as_me, which was
14115 generated by GNU Autoconf 2.61. Invocation command line was
14117 CONFIG_FILES = $CONFIG_FILES
14118 CONFIG_HEADERS = $CONFIG_HEADERS
14119 CONFIG_LINKS = $CONFIG_LINKS
14120 CONFIG_COMMANDS = $CONFIG_COMMANDS
14123 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14128 cat >>$CONFIG_STATUS <<_ACEOF
14129 # Files that config.status was made for.
14130 config_files="$ac_config_files"
14131 config_headers="$ac_config_headers"
14132 config_commands="$ac_config_commands"
14136 cat >>$CONFIG_STATUS <<\_ACEOF
14138 \`$as_me' instantiates files from templates according to the
14139 current configuration.
14141 Usage: $0 [OPTIONS] [FILE]...
14143 -h, --help print this help, then exit
14144 -V, --version print version number and configuration settings, then exit
14145 -q, --quiet do not print progress messages
14146 -d, --debug don't remove temporary files
14147 --recheck update $as_me by reconfiguring in the same conditions
14148 --file=FILE[:TEMPLATE]
14149 instantiate the configuration file FILE
14150 --header=FILE[:TEMPLATE]
14151 instantiate the configuration header FILE
14153 Configuration files:
14156 Configuration headers:
14159 Configuration commands:
14162 Report bugs to <bug-autoconf@gnu.org>."
14165 cat >>$CONFIG_STATUS <<_ACEOF
14168 configured by $0, generated by GNU Autoconf 2.61,
14169 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14171 Copyright (C) 2006 Free Software Foundation, Inc.
14172 This config.status script is free software; the Free Software Foundation
14173 gives unlimited permission to copy, distribute and modify it."
14180 cat >>$CONFIG_STATUS <<\_ACEOF
14181 # If no file are specified by the user, then we need to provide default
14182 # value. By we need to know if files were specified by the user.
14188 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14189 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14200 # Handling of the options.
14201 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14203 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14204 echo "$ac_cs_version"; exit ;;
14205 --debug | --debu | --deb | --de | --d | -d )
14207 --file | --fil | --fi | --f )
14209 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
14210 ac_need_defaults=false;;
14211 --header | --heade | --head | --hea )
14213 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
14214 ac_need_defaults=false;;
14216 # Conflict between --help and --header
14217 { echo "$as_me: error: ambiguous option: $1
14218 Try \`$0 --help' for more information." >&2
14219 { (exit 1); exit 1; }; };;
14220 --help | --hel | -h )
14221 echo "$ac_cs_usage"; exit ;;
14222 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14223 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14226 # This is an error.
14227 -*) { echo "$as_me: error: unrecognized option: $1
14228 Try \`$0 --help' for more information." >&2
14229 { (exit 1); exit 1; }; } ;;
14231 *) ac_config_targets="$ac_config_targets $1"
14232 ac_need_defaults=false ;;
14238 ac_configure_extra_args=
14240 if $ac_cs_silent; then
14242 ac_configure_extra_args="$ac_configure_extra_args --silent"
14246 cat >>$CONFIG_STATUS <<_ACEOF
14247 if \$ac_cs_recheck; then
14248 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
14249 CONFIG_SHELL=$SHELL
14250 export CONFIG_SHELL
14251 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14255 cat >>$CONFIG_STATUS <<\_ACEOF
14259 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14260 ## Running $as_me. ##
14266 cat >>$CONFIG_STATUS <<_ACEOF
14270 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14273 # The HP-UX ksh and POSIX shell print the target directory to stdout
14274 # if CDPATH is set.
14275 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14277 sed_quote_subst='$sed_quote_subst'
14278 double_quote_subst='$double_quote_subst'
14279 delay_variable_subst='$delay_variable_subst'
14280 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14281 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14282 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14283 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14284 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14285 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14286 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14287 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14288 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14289 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14290 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14291 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14292 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14293 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14294 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14295 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14296 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14297 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14298 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14299 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14300 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14301 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14302 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14303 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14304 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14305 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14306 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14307 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14308 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14309 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14310 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14311 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14312 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14313 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14314 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14315 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14316 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14317 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14318 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14319 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14320 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14321 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14322 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14323 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14324 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"`'
14325 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"`'
14326 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14327 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14328 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14329 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14330 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14331 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14332 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14333 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14334 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14335 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14336 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14337 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14338 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14339 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14340 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14341 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14342 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14343 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14344 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14345 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14346 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14347 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14348 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14349 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14350 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14351 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14352 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14353 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14354 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14355 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14356 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14357 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14358 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14359 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14360 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14361 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14362 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14363 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14364 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14365 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14366 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14367 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14368 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14369 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14370 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14371 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14372 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14373 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14374 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14375 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14376 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14377 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14378 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14379 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14380 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14381 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14382 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14383 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14384 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14385 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14386 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14387 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14388 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14389 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14390 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14391 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14392 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14393 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14394 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14395 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14396 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14397 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14400 LTCFLAGS='$LTCFLAGS'
14401 compiler='$compiler_DEFAULT'
14403 # Quote evaled strings.
14415 deplibs_check_method \
14424 lt_cv_sys_global_symbol_pipe \
14425 lt_cv_sys_global_symbol_to_cdecl \
14426 lt_cv_sys_global_symbol_to_c_name_address \
14427 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14430 lt_prog_compiler_no_builtin_flag \
14431 lt_prog_compiler_wl \
14432 lt_prog_compiler_pic \
14433 lt_prog_compiler_static \
14434 lt_cv_prog_compiler_c_o \
14442 export_dynamic_flag_spec \
14443 whole_archive_flag_spec \
14444 compiler_needs_object \
14446 allow_undefined_flag \
14447 no_undefined_flag \
14448 hardcode_libdir_flag_spec \
14449 hardcode_libdir_flag_spec_ld \
14450 hardcode_libdir_separator \
14455 variables_saved_for_relink \
14457 library_names_spec \
14462 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14463 *[\\\\\\\`\\"\\\$]*)
14464 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14467 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14472 # Double-quote double-evaled strings.
14473 for var in reload_cmds \
14474 old_postinstall_cmds \
14475 old_postuninstall_cmds \
14477 extract_expsyms_cmds \
14478 old_archive_from_new_cmds \
14479 old_archive_from_expsyms_cmds \
14481 archive_expsym_cmds \
14483 module_expsym_cmds \
14484 export_symbols_cmds \
14487 postuninstall_cmds \
14489 sys_lib_search_path_spec \
14490 sys_lib_dlsearch_path_spec; do
14491 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14492 *[\\\\\\\`\\"\\\$]*)
14493 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14496 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14501 # Fix-up fallback echo if it was mangled by the above quoting rules.
14503 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14507 ac_aux_dir='$ac_aux_dir'
14508 xsi_shell='$xsi_shell'
14509 lt_shell_append='$lt_shell_append'
14511 # See if we are running on zsh, and set the options which allow our
14512 # commands through without removal of \ escapes INIT.
14513 if test -n "\${ZSH_VERSION+set}" ; then
14514 setopt NO_GLOB_SUBST
14520 TIMESTAMP='$TIMESTAMP'
14529 cat >>$CONFIG_STATUS <<\_ACEOF
14531 # Handling of arguments.
14532 for ac_config_target in $ac_config_targets
14534 case $ac_config_target in
14535 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14536 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14537 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14538 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14539 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14540 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14541 "doc/libogg/Makefile") CONFIG_FILES="$CONFIG_FILES doc/libogg/Makefile" ;;
14542 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
14543 "include/ogg/Makefile") CONFIG_FILES="$CONFIG_FILES include/ogg/Makefile" ;;
14544 "include/ogg/config_types.h") CONFIG_FILES="$CONFIG_FILES include/ogg/config_types.h" ;;
14545 "libogg.spec") CONFIG_FILES="$CONFIG_FILES libogg.spec" ;;
14546 "ogg.pc") CONFIG_FILES="$CONFIG_FILES ogg.pc" ;;
14547 "ogg-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ogg-uninstalled.pc" ;;
14549 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14550 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14551 { (exit 1); exit 1; }; };;
14556 # If the user did not use the arguments to specify the items to instantiate,
14557 # then the envvar interface is used. Set only those that are not.
14558 # We use the long form for the default assignment because of an extremely
14559 # bizarre bug on SunOS 4.1.3.
14560 if $ac_need_defaults; then
14561 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14562 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14563 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14566 # Have a temporary directory for convenience. Make it in the build tree
14567 # simply because there is no reason against having it here, and in addition,
14568 # creating and moving files from /tmp can sometimes cause problems.
14569 # Hook for its removal unless debugging.
14570 # Note that there is a small window in which the directory will not be cleaned:
14571 # after its creation but before its name has been assigned to `$tmp'.
14575 trap 'exit_status=$?
14576 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14578 trap '{ (exit 1); exit 1; }' 1 2 13 15
14580 # Create a (secure) tmp directory for tmp files.
14583 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14584 test -n "$tmp" && test -d "$tmp"
14587 tmp=./conf$$-$RANDOM
14588 (umask 077 && mkdir "$tmp")
14591 echo "$me: cannot create a temporary directory in ." >&2
14592 { (exit 1); exit 1; }
14596 # Set up the sed scripts for CONFIG_FILES section.
14599 # No need to generate the scripts if there are no CONFIG_FILES.
14600 # This happens for instance when ./config.status config.h
14601 if test -n "$CONFIG_FILES"; then
14608 for ac_last_try in false false false false false :; do
14609 cat >conf$$subs.sed <<_ACEOF
14610 SHELL!$SHELL$ac_delim
14611 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
14612 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
14613 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
14614 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
14615 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
14616 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
14617 exec_prefix!$exec_prefix$ac_delim
14618 prefix!$prefix$ac_delim
14619 program_transform_name!$program_transform_name$ac_delim
14620 bindir!$bindir$ac_delim
14621 sbindir!$sbindir$ac_delim
14622 libexecdir!$libexecdir$ac_delim
14623 datarootdir!$datarootdir$ac_delim
14624 datadir!$datadir$ac_delim
14625 sysconfdir!$sysconfdir$ac_delim
14626 sharedstatedir!$sharedstatedir$ac_delim
14627 localstatedir!$localstatedir$ac_delim
14628 includedir!$includedir$ac_delim
14629 oldincludedir!$oldincludedir$ac_delim
14630 docdir!$docdir$ac_delim
14631 infodir!$infodir$ac_delim
14632 htmldir!$htmldir$ac_delim
14633 dvidir!$dvidir$ac_delim
14634 pdfdir!$pdfdir$ac_delim
14635 psdir!$psdir$ac_delim
14636 libdir!$libdir$ac_delim
14637 localedir!$localedir$ac_delim
14638 mandir!$mandir$ac_delim
14639 DEFS!$DEFS$ac_delim
14640 ECHO_C!$ECHO_C$ac_delim
14641 ECHO_N!$ECHO_N$ac_delim
14642 ECHO_T!$ECHO_T$ac_delim
14643 LIBS!$LIBS$ac_delim
14644 build_alias!$build_alias$ac_delim
14645 host_alias!$host_alias$ac_delim
14646 target_alias!$target_alias$ac_delim
14647 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
14648 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
14649 INSTALL_DATA!$INSTALL_DATA$ac_delim
14650 CYGPATH_W!$CYGPATH_W$ac_delim
14651 PACKAGE!$PACKAGE$ac_delim
14652 VERSION!$VERSION$ac_delim
14653 ACLOCAL!$ACLOCAL$ac_delim
14654 AUTOCONF!$AUTOCONF$ac_delim
14655 AUTOMAKE!$AUTOMAKE$ac_delim
14656 AUTOHEADER!$AUTOHEADER$ac_delim
14657 MAKEINFO!$MAKEINFO$ac_delim
14658 install_sh!$install_sh$ac_delim
14659 STRIP!$STRIP$ac_delim
14660 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
14661 mkdir_p!$mkdir_p$ac_delim
14663 SET_MAKE!$SET_MAKE$ac_delim
14664 am__leading_dot!$am__leading_dot$ac_delim
14665 AMTAR!$AMTAR$ac_delim
14666 am__tar!$am__tar$ac_delim
14667 am__untar!$am__untar$ac_delim
14668 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
14669 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
14670 MAINT!$MAINT$ac_delim
14671 LIB_CURRENT!$LIB_CURRENT$ac_delim
14672 LIB_REVISION!$LIB_REVISION$ac_delim
14673 LIB_AGE!$LIB_AGE$ac_delim
14675 CFLAGS!$CFLAGS$ac_delim
14676 LDFLAGS!$LDFLAGS$ac_delim
14677 CPPFLAGS!$CPPFLAGS$ac_delim
14678 ac_ct_CC!$ac_ct_CC$ac_delim
14679 EXEEXT!$EXEEXT$ac_delim
14680 OBJEXT!$OBJEXT$ac_delim
14681 DEPDIR!$DEPDIR$ac_delim
14682 am__include!$am__include$ac_delim
14683 am__quote!$am__quote$ac_delim
14684 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
14685 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
14686 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
14687 CCDEPMODE!$CCDEPMODE$ac_delim
14688 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
14689 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
14690 LIBTOOL!$LIBTOOL$ac_delim
14691 build!$build$ac_delim
14692 build_cpu!$build_cpu$ac_delim
14693 build_vendor!$build_vendor$ac_delim
14694 build_os!$build_os$ac_delim
14695 host!$host$ac_delim
14696 host_cpu!$host_cpu$ac_delim
14697 host_vendor!$host_vendor$ac_delim
14698 host_os!$host_os$ac_delim
14700 GREP!$GREP$ac_delim
14701 EGREP!$EGREP$ac_delim
14702 FGREP!$FGREP$ac_delim
14704 DUMPBIN!$DUMPBIN$ac_delim
14705 ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
14709 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
14711 elif $ac_last_try; then
14712 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14713 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14714 { (exit 1); exit 1; }; }
14716 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14720 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
14721 if test -n "$ac_eof"; then
14722 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
14723 ac_eof=`expr $ac_eof + 1`
14726 cat >>$CONFIG_STATUS <<_ACEOF
14727 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
14728 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14731 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
14732 s/^/s,@/; s/!/@,|#_!!_#|/
14735 s/'"$ac_delim"'$/,g/; t
14737 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
14738 ' >>$CONFIG_STATUS <conf$$subs.sed
14739 rm -f conf$$subs.sed
14740 cat >>$CONFIG_STATUS <<_ACEOF
14746 for ac_last_try in false false false false false :; do
14747 cat >conf$$subs.sed <<_ACEOF
14748 LN_S!$LN_S$ac_delim
14749 OBJDUMP!$OBJDUMP$ac_delim
14751 RANLIB!$RANLIB$ac_delim
14752 lt_ECHO!$lt_ECHO$ac_delim
14753 DSYMUTIL!$DSYMUTIL$ac_delim
14754 NMEDIT!$NMEDIT$ac_delim
14755 LIPO!$LIPO$ac_delim
14756 OTOOL!$OTOOL$ac_delim
14757 OTOOL64!$OTOOL64$ac_delim
14759 LIBOBJS!$LIBOBJS$ac_delim
14760 LIBTOOL_DEPS!$LIBTOOL_DEPS$ac_delim
14761 SIZE16!$SIZE16$ac_delim
14762 USIZE16!$USIZE16$ac_delim
14763 SIZE32!$SIZE32$ac_delim
14764 USIZE32!$USIZE32$ac_delim
14765 SIZE64!$SIZE64$ac_delim
14767 DEBUG!$DEBUG$ac_delim
14768 PROFILE!$PROFILE$ac_delim
14769 LTLIBOBJS!$LTLIBOBJS$ac_delim
14772 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 22; then
14774 elif $ac_last_try; then
14775 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14776 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14777 { (exit 1); exit 1; }; }
14779 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14783 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
14784 if test -n "$ac_eof"; then
14785 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
14786 ac_eof=`expr $ac_eof + 1`
14789 cat >>$CONFIG_STATUS <<_ACEOF
14790 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
14791 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
14794 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
14795 s/^/s,@/; s/!/@,|#_!!_#|/
14798 s/'"$ac_delim"'$/,g/; t
14800 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
14801 ' >>$CONFIG_STATUS <conf$$subs.sed
14802 rm -f conf$$subs.sed
14803 cat >>$CONFIG_STATUS <<_ACEOF
14810 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14811 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14812 # trailing colons and then remove the whole line if VPATH becomes empty
14813 # (actually we leave an empty line to preserve line numbers).
14814 if test "x$srcdir" = x.; then
14815 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14816 s/:*\$(srcdir):*/:/
14817 s/:*\${srcdir}:*/:/
14819 s/^\([^=]*=[ ]*\):*/\1/
14825 cat >>$CONFIG_STATUS <<\_ACEOF
14826 fi # test -n "$CONFIG_FILES"
14829 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
14832 :[FHLC]) ac_mode=$ac_tag; continue;;
14834 case $ac_mode$ac_tag in
14836 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
14837 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
14838 { (exit 1); exit 1; }; };;
14839 :[FH]-) ac_tag=-:-;;
14840 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14857 -) ac_f="$tmp/stdin";;
14858 *) # Look for the file first in the build tree, then in the source tree
14859 # (if the path is not absolute). The absolute path cannot be DOS-style,
14860 # because $ac_f cannot contain `:'.
14864 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14866 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14867 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14868 { (exit 1); exit 1; }; };;
14870 ac_file_inputs="$ac_file_inputs $ac_f"
14873 # Let's still pretend it is `configure' which instantiates (i.e., don't
14874 # use $as_me), people would be surprised to read:
14875 # /* config.h. Generated by config.status. */
14876 configure_input="Generated from "`IFS=:
14877 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
14878 if test x"$ac_file" != x-; then
14879 configure_input="$ac_file. $configure_input"
14880 { echo "$as_me:$LINENO: creating $ac_file" >&5
14881 echo "$as_me: creating $ac_file" >&6;}
14885 *:-:* | *:-) cat >"$tmp/stdin";;
14890 ac_dir=`$as_dirname -- "$ac_file" ||
14891 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14892 X"$ac_file" : 'X\(//\)[^/]' \| \
14893 X"$ac_file" : 'X\(//\)$' \| \
14894 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14896 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14900 /^X\(\/\/\)[^/].*/{
14915 -*) as_dir=./$as_dir;;
14917 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14921 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
14922 *) as_qdir=$as_dir;;
14924 as_dirs="'$as_qdir' $as_dirs"
14925 as_dir=`$as_dirname -- "$as_dir" ||
14926 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14927 X"$as_dir" : 'X\(//\)[^/]' \| \
14928 X"$as_dir" : 'X\(//\)$' \| \
14929 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14931 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14935 /^X\(\/\/\)[^/].*/{
14948 test -d "$as_dir" && break
14950 test -z "$as_dirs" || eval "mkdir $as_dirs"
14951 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14952 echo "$as_me: error: cannot create directory $as_dir" >&2;}
14953 { (exit 1); exit 1; }; }; }
14957 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14959 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14960 # A ".." for each directory in $ac_dir_suffix.
14961 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
14962 case $ac_top_builddir_sub in
14963 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14964 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14967 ac_abs_top_builddir=$ac_pwd
14968 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14969 # for backward compatibility:
14970 ac_top_builddir=$ac_top_build_prefix
14973 .) # We are building in place.
14975 ac_top_srcdir=$ac_top_builddir_sub
14976 ac_abs_top_srcdir=$ac_pwd ;;
14977 [\\/]* | ?:[\\/]* ) # Absolute name.
14978 ac_srcdir=$srcdir$ac_dir_suffix;
14979 ac_top_srcdir=$srcdir
14980 ac_abs_top_srcdir=$srcdir ;;
14981 *) # Relative name.
14982 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14983 ac_top_srcdir=$ac_top_build_prefix$srcdir
14984 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14986 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14996 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14997 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15001 cat >>$CONFIG_STATUS <<\_ACEOF
15002 # If the template does not know about datarootdir, expand it.
15003 # FIXME: This hack should be removed a few years after 2.60.
15004 ac_datarootdir_hack=; ac_datarootdir_seen=
15006 case `sed -n '/datarootdir/ {
15015 ' $ac_file_inputs` in
15016 *datarootdir*) ac_datarootdir_seen=yes;;
15017 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15018 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15019 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15021 cat >>$CONFIG_STATUS <<_ACEOF
15022 ac_datarootdir_hack='
15023 s&@datadir@&$datadir&g
15024 s&@docdir@&$docdir&g
15025 s&@infodir@&$infodir&g
15026 s&@localedir@&$localedir&g
15027 s&@mandir@&$mandir&g
15028 s&\\\${datarootdir}&$datarootdir&g' ;;
15032 # Neutralize VPATH when `$srcdir' = `.'.
15033 # Shell code in configure.ac might set extrasub.
15034 # FIXME: do we really want to maintain this feature?
15035 cat >>$CONFIG_STATUS <<_ACEOF
15039 cat >>$CONFIG_STATUS <<\_ACEOF
15041 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15042 s&@configure_input@&$configure_input&;t t
15043 s&@top_builddir@&$ac_top_builddir_sub&;t t
15044 s&@srcdir@&$ac_srcdir&;t t
15045 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15046 s&@top_srcdir@&$ac_top_srcdir&;t t
15047 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15048 s&@builddir@&$ac_builddir&;t t
15049 s&@abs_builddir@&$ac_abs_builddir&;t t
15050 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15051 s&@INSTALL@&$ac_INSTALL&;t t
15052 $ac_datarootdir_hack
15053 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
15055 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15056 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15057 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15058 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15059 which seems to be undefined. Please make sure it is defined." >&5
15060 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15061 which seems to be undefined. Please make sure it is defined." >&2;}
15065 -) cat "$tmp/out"; rm -f "$tmp/out";;
15066 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
15075 # Transform confdefs.h into a sed script `conftest.defines', that
15076 # substitutes the proper values into config.h.in to produce config.h.
15077 rm -f conftest.defines conftest.tail
15078 # First, append a space to every undef/define line, to ease matching.
15079 echo 's/$/ /' >conftest.defines
15080 # Then, protect against being on the right side of a sed subst, or in
15081 # an unquoted here document, in config.status. If some macros were
15082 # called several times there might be several #defines for the same
15083 # symbol, which is useless. But do not sort them, since the last
15084 # AC_DEFINE must be honored.
15085 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15086 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
15087 # NAME is the cpp macro being defined, VALUE is the value it is being given.
15088 # PARAMS is the parameter list in the macro definition--in most cases, it's
15089 # just an empty string.
15090 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
15091 ac_dB='\\)[ (].*,\\1define\\2'
15099 s/^[ ]*#[ ]*define[ ][ ]*//
15104 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
15105 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
15106 ' >>conftest.defines
15108 # Remove the space that was appended to ease matching.
15109 # Then replace #undef with comments. This is necessary, for
15110 # example, in the case of _POSIX_SOURCE, which is predefined and required
15111 # on some systems where configure will not decide to define it.
15112 # (The regexp can be short, since the line contains either #define or #undef.)
15114 s,^[ #]*u.*,/* & */,' >>conftest.defines
15116 # Break up conftest.defines:
15117 ac_max_sed_lines=50
15119 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
15120 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
15121 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
15123 ac_in='$ac_file_inputs'
15124 ac_out='"$tmp/out1"'
15125 ac_nxt='"$tmp/out2"'
15129 # Write a here document:
15130 cat >>$CONFIG_STATUS <<_ACEOF
15131 # First, check the format of the line:
15132 cat >"\$tmp/defines.sed" <<\\CEOF
15133 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
15134 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
15138 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
15140 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
15141 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
15142 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
15143 grep . conftest.tail >/dev/null || break
15144 rm -f conftest.defines
15145 mv conftest.tail conftest.defines
15147 rm -f conftest.defines conftest.tail
15149 echo "ac_result=$ac_in" >>$CONFIG_STATUS
15150 cat >>$CONFIG_STATUS <<\_ACEOF
15151 if test x"$ac_file" != x-; then
15152 echo "/* $configure_input */" >"$tmp/config.h"
15153 cat "$ac_result" >>"$tmp/config.h"
15154 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
15155 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15156 echo "$as_me: $ac_file is unchanged" >&6;}
15159 mv "$tmp/config.h" $ac_file
15162 echo "/* $configure_input */"
15166 # Compute $ac_file's index in $config_headers.
15168 for _am_header in $config_headers :; do
15169 case $_am_header in
15170 $ac_file | $ac_file:* )
15173 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15176 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
15177 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15178 X$ac_file : 'X\(//\)[^/]' \| \
15179 X$ac_file : 'X\(//\)$' \| \
15180 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
15182 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15186 /^X\(\/\/\)[^/].*/{
15198 s/.*/./; q'`/stamp-h$_am_stamp_count
15201 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
15202 echo "$as_me: executing $ac_file commands" >&6;}
15207 case $ac_file$ac_mode in
15208 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
15209 # Strip MF so we end up with the name of the file.
15210 mf=`echo "$mf" | sed -e 's/:.*$//'`
15211 # Check whether this is an Automake generated Makefile or not.
15212 # We used to match only the files named `Makefile.in', but
15213 # some people rename them; so instead we look at the file content.
15214 # Grep'ing the first line is not enough: some people post-process
15215 # each Makefile.in and add a new line on top of each file to say so.
15216 # So let's grep whole file.
15217 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
15218 dirpart=`$as_dirname -- "$mf" ||
15219 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15220 X"$mf" : 'X\(//\)[^/]' \| \
15221 X"$mf" : 'X\(//\)$' \| \
15222 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15228 /^X\(\/\/\)[^/].*/{
15244 # Extract the definition of DEPDIR, am__include, and am__quote
15245 # from the Makefile without running `make'.
15246 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15247 test -z "$DEPDIR" && continue
15248 am__include=`sed -n 's/^am__include = //p' < "$mf"`
15249 test -z "am__include" && continue
15250 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15251 # When using ansi2knr, U may be empty or an underscore; expand it
15252 U=`sed -n 's/^U = //p' < "$mf"`
15253 # Find all dependency output files, they are included files with
15254 # $(DEPDIR) in their names. We invoke sed twice because it is the
15255 # simplest approach to changing $(DEPDIR) to its actual value in the
15257 for file in `sed -n "
15258 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15259 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15260 # Make sure the directory exists.
15261 test -f "$dirpart/$file" && continue
15262 fdir=`$as_dirname -- "$file" ||
15263 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15264 X"$file" : 'X\(//\)[^/]' \| \
15265 X"$file" : 'X\(//\)$' \| \
15266 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15268 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15272 /^X\(\/\/\)[^/].*/{
15285 { as_dir=$dirpart/$fdir
15287 -*) as_dir=./$as_dir;;
15289 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
15293 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
15294 *) as_qdir=$as_dir;;
15296 as_dirs="'$as_qdir' $as_dirs"
15297 as_dir=`$as_dirname -- "$as_dir" ||
15298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15299 X"$as_dir" : 'X\(//\)[^/]' \| \
15300 X"$as_dir" : 'X\(//\)$' \| \
15301 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15307 /^X\(\/\/\)[^/].*/{
15320 test -d "$as_dir" && break
15322 test -z "$as_dirs" || eval "mkdir $as_dirs"
15323 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
15324 echo "$as_me: error: cannot create directory $as_dir" >&2;}
15325 { (exit 1); exit 1; }; }; }
15326 # echo "creating $dirpart/$file"
15327 echo '# dummy' > "$dirpart/$file"
15333 # See if we are running on zsh, and set the options which allow our
15334 # commands through without removal of \ escapes.
15335 if test -n "${ZSH_VERSION+set}" ; then
15336 setopt NO_GLOB_SUBST
15339 cfgfile="${ofile}T"
15340 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15343 cat <<_LT_EOF >> "$cfgfile"
15346 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15347 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15348 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15349 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15351 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15352 # 2006, 2007, 2008 Free Software Foundation, Inc.
15353 # Written by Gordon Matzigkeit, 1996
15355 # This file is part of GNU Libtool.
15357 # GNU Libtool is free software; you can redistribute it and/or
15358 # modify it under the terms of the GNU General Public License as
15359 # published by the Free Software Foundation; either version 2 of
15360 # the License, or (at your option) any later version.
15362 # As a special exception to the GNU General Public License,
15363 # if you distribute this file as part of a program or library that
15364 # is built using GNU Libtool, you may include this file under the
15365 # same distribution terms that you use for the rest of that program.
15367 # GNU Libtool is distributed in the hope that it will be useful,
15368 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15369 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15370 # GNU General Public License for more details.
15372 # You should have received a copy of the GNU General Public License
15373 # along with GNU Libtool; see the file COPYING. If not, a copy
15374 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15375 # obtained by writing to the Free Software Foundation, Inc.,
15376 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15379 # The names of the tagged configurations supported by this script.
15382 # ### BEGIN LIBTOOL CONFIG
15384 # Which release of libtool.m4 was used?
15385 macro_version=$macro_version
15386 macro_revision=$macro_revision
15388 # Whether or not to build shared libraries.
15389 build_libtool_libs=$enable_shared
15391 # Whether or not to build static libraries.
15392 build_old_libs=$enable_static
15394 # What type of objects to build.
15397 # Whether or not to optimize for fast installation.
15398 fast_install=$enable_fast_install
15401 host_alias=$host_alias
15405 # The build system.
15406 build_alias=$build_alias
15410 # A sed program that does not truncate output.
15413 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15414 Xsed="\$SED -e 1s/^X//"
15416 # A grep program that handles long lines.
15422 # A literal string matcher.
15425 # A BSD- or MS-compatible name lister.
15428 # Whether we need soft or hard links.
15431 # What is the maximum length of a command?
15432 max_cmd_len=$max_cmd_len
15434 # Object file suffix (normally "o").
15437 # Executable file suffix (normally "").
15440 # whether the shell understands "unset".
15443 # turn spaces into newlines.
15446 # turn newlines into spaces.
15449 # How to create reloadable object files.
15450 reload_flag=$lt_reload_flag
15451 reload_cmds=$lt_reload_cmds
15453 # An object symbol dumper.
15454 OBJDUMP=$lt_OBJDUMP
15456 # Method to check whether dependent libraries are shared objects.
15457 deplibs_check_method=$lt_deplibs_check_method
15459 # Command to use when deplibs_check_method == "file_magic".
15460 file_magic_cmd=$lt_file_magic_cmd
15464 AR_FLAGS=$lt_AR_FLAGS
15466 # A symbol stripping program.
15469 # Commands used to install an old-style archive.
15471 old_postinstall_cmds=$lt_old_postinstall_cmds
15472 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15477 # LTCC compiler flags.
15478 LTCFLAGS=$lt_CFLAGS
15480 # Take the output of nm and produce a listing of raw symbols and C names.
15481 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15483 # Transform the output of nm in a proper C declaration.
15484 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15486 # Transform the output of nm in a C name address pair.
15487 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15489 # Transform the output of nm in a C name address pair when lib prefix is needed.
15490 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15492 # The name of the directory that contains temporary libtool files.
15495 # Shell to use when invoking shell scripts.
15498 # An echo program that does not interpret backslashes.
15501 # Used to examine libraries when file_magic_cmd begins with "file".
15502 MAGIC_CMD=$MAGIC_CMD
15504 # Must we lock files when doing compilation?
15505 need_locks=$lt_need_locks
15507 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15508 DSYMUTIL=$lt_DSYMUTIL
15510 # Tool to change global to local symbols on Mac OS X.
15513 # Tool to manipulate fat objects and archives on Mac OS X.
15516 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15519 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15520 OTOOL64=$lt_OTOOL64
15522 # Old archive suffix (normally "a").
15525 # Shared library suffix (normally ".so").
15526 shrext_cmds=$lt_shrext_cmds
15528 # The commands to extract the exported symbol list from a shared archive.
15529 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15531 # Variables whose values should be saved in libtool wrapper scripts and
15532 # restored at link time.
15533 variables_saved_for_relink=$lt_variables_saved_for_relink
15535 # Do we need the "lib" prefix for modules?
15536 need_lib_prefix=$need_lib_prefix
15538 # Do we need a version for libraries?
15539 need_version=$need_version
15541 # Library versioning type.
15542 version_type=$version_type
15544 # Shared library runtime path variable.
15545 runpath_var=$runpath_var
15547 # Shared library path variable.
15548 shlibpath_var=$shlibpath_var
15550 # Is shlibpath searched before the hard-coded library search path?
15551 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15553 # Format of library name prefix.
15554 libname_spec=$lt_libname_spec
15556 # List of archive names. First name is the real one, the rest are links.
15557 # The last name is the one that the linker finds with -lNAME
15558 library_names_spec=$lt_library_names_spec
15560 # The coded name of the library, if different from the real name.
15561 soname_spec=$lt_soname_spec
15563 # Command to use after installation of a shared archive.
15564 postinstall_cmds=$lt_postinstall_cmds
15566 # Command to use after uninstallation of a shared archive.
15567 postuninstall_cmds=$lt_postuninstall_cmds
15569 # Commands used to finish a libtool library installation in a directory.
15570 finish_cmds=$lt_finish_cmds
15572 # As "finish_cmds", except a single script fragment to be evaled but
15574 finish_eval=$lt_finish_eval
15576 # Whether we should hardcode library paths into libraries.
15577 hardcode_into_libs=$hardcode_into_libs
15579 # Compile-time system search path for libraries.
15580 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15582 # Run-time system search path for libraries.
15583 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15585 # Whether dlopen is supported.
15586 dlopen_support=$enable_dlopen
15588 # Whether dlopen of programs is supported.
15589 dlopen_self=$enable_dlopen_self
15591 # Whether dlopen of statically linked programs is supported.
15592 dlopen_self_static=$enable_dlopen_self_static
15594 # Commands to strip libraries.
15595 old_striplib=$lt_old_striplib
15596 striplib=$lt_striplib
15599 # The linker used to build libraries.
15602 # Commands used to build an old-style archive.
15603 old_archive_cmds=$lt_old_archive_cmds
15605 # A language specific compiler.
15608 # Is the compiler the GNU compiler?
15611 # Compiler flag to turn off builtin functions.
15612 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15614 # How to pass a linker flag through the compiler.
15615 wl=$lt_lt_prog_compiler_wl
15617 # Additional compiler flags for building library objects.
15618 pic_flag=$lt_lt_prog_compiler_pic
15620 # Compiler flag to prevent dynamic linking.
15621 link_static_flag=$lt_lt_prog_compiler_static
15623 # Does compiler simultaneously support -c and -o options?
15624 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15626 # Whether or not to add -lc for building shared libraries.
15627 build_libtool_need_lc=$archive_cmds_need_lc
15629 # Whether or not to disallow shared libs when runtime libs are static.
15630 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15632 # Compiler flag to allow reflexive dlopens.
15633 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15635 # Compiler flag to generate shared objects directly from archives.
15636 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15638 # Whether the compiler copes with passing no objects directly.
15639 compiler_needs_object=$lt_compiler_needs_object
15641 # Create an old-style archive from a shared archive.
15642 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15644 # Create a temporary old-style archive to link instead of a shared archive.
15645 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15647 # Commands used to build a shared archive.
15648 archive_cmds=$lt_archive_cmds
15649 archive_expsym_cmds=$lt_archive_expsym_cmds
15651 # Commands used to build a loadable module if different from building
15652 # a shared archive.
15653 module_cmds=$lt_module_cmds
15654 module_expsym_cmds=$lt_module_expsym_cmds
15656 # Whether we are building with GNU ld or not.
15657 with_gnu_ld=$lt_with_gnu_ld
15659 # Flag that allows shared libraries with undefined symbols to be built.
15660 allow_undefined_flag=$lt_allow_undefined_flag
15662 # Flag that enforces no undefined symbols.
15663 no_undefined_flag=$lt_no_undefined_flag
15665 # Flag to hardcode \$libdir into a binary during linking.
15666 # This must work even if \$libdir does not exist
15667 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15669 # If ld is used when linking, flag to hardcode \$libdir into a binary
15670 # during linking. This must work even if \$libdir does not exist.
15671 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15673 # Whether we need a single "-rpath" flag with a separated argument.
15674 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15676 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15677 # DIR into the resulting binary.
15678 hardcode_direct=$hardcode_direct
15680 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15681 # DIR into the resulting binary and the resulting library dependency is
15682 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15683 # library is relocated.
15684 hardcode_direct_absolute=$hardcode_direct_absolute
15686 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15687 # into the resulting binary.
15688 hardcode_minus_L=$hardcode_minus_L
15690 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15691 # into the resulting binary.
15692 hardcode_shlibpath_var=$hardcode_shlibpath_var
15694 # Set to "yes" if building a shared library automatically hardcodes DIR
15695 # into the library and all subsequent libraries and executables linked
15697 hardcode_automatic=$hardcode_automatic
15699 # Set to yes if linker adds runtime paths of dependent libraries
15700 # to runtime path list.
15701 inherit_rpath=$inherit_rpath
15703 # Whether libtool must link a program against all its dependency libraries.
15704 link_all_deplibs=$link_all_deplibs
15706 # Fix the shell variable \$srcfile for the compiler.
15707 fix_srcfile_path=$lt_fix_srcfile_path
15709 # Set to "yes" if exported symbols are required.
15710 always_export_symbols=$always_export_symbols
15712 # The commands to list exported symbols.
15713 export_symbols_cmds=$lt_export_symbols_cmds
15715 # Symbols that should not be listed in the preloaded symbols.
15716 exclude_expsyms=$lt_exclude_expsyms
15718 # Symbols that must always be exported.
15719 include_expsyms=$lt_include_expsyms
15721 # Commands necessary for linking programs (against libraries) with templates.
15722 prelink_cmds=$lt_prelink_cmds
15724 # Specify filename containing input files.
15725 file_list_spec=$lt_file_list_spec
15727 # How to hardcode a shared library path into an executable.
15728 hardcode_action=$hardcode_action
15730 # ### END LIBTOOL CONFIG
15736 cat <<\_LT_EOF >> "$cfgfile"
15737 # AIX sometimes has problems with the GCC collect2 program. For some
15738 # reason, if we set the COLLECT_NAMES environment variable, the problems
15739 # vanish in a puff of smoke.
15740 if test "X${COLLECT_NAMES+set}" != Xset; then
15742 export COLLECT_NAMES
15749 ltmain="$ac_aux_dir/ltmain.sh"
15752 # We use sed instead of cat because bash on DJGPP gets confused if
15753 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15754 # text mode, it properly converts lines to CR/LF. This bash problem
15755 # is reportedly fixed, but why not run on old versions too?
15756 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15757 || (rm -f "$cfgfile"; exit 1)
15761 cat << \_LT_EOF >> "$cfgfile"
15763 # func_dirname file append nondir_replacement
15764 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15765 # otherwise set result to NONDIR_REPLACEMENT.
15769 */*) func_dirname_result="${1%/*}${2}" ;;
15770 * ) func_dirname_result="${3}" ;;
15774 # func_basename file
15777 func_basename_result="${1##*/}"
15780 # func_dirname_and_basename file append nondir_replacement
15781 # perform func_basename and func_dirname in a single function
15783 # dirname: Compute the dirname of FILE. If nonempty,
15784 # add APPEND to the result, otherwise set result
15785 # to NONDIR_REPLACEMENT.
15786 # value returned in "$func_dirname_result"
15787 # basename: Compute filename of FILE.
15788 # value retuned in "$func_basename_result"
15789 # Implementation must be kept synchronized with func_dirname
15790 # and func_basename. For efficiency, we do not delegate to
15791 # those functions but instead duplicate the functionality here.
15792 func_dirname_and_basename ()
15795 */*) func_dirname_result="${1%/*}${2}" ;;
15796 * ) func_dirname_result="${3}" ;;
15798 func_basename_result="${1##*/}"
15801 # func_stripname prefix suffix name
15802 # strip PREFIX and SUFFIX off of NAME.
15803 # PREFIX and SUFFIX must not contain globbing or regex special
15804 # characters, hashes, percent signs, but SUFFIX may contain a leading
15805 # dot (in which case that matches only a dot).
15808 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15809 # positional parameters, so assign one to ordinary parameter first.
15810 func_stripname_result=${3}
15811 func_stripname_result=${func_stripname_result#"${1}"}
15812 func_stripname_result=${func_stripname_result%"${2}"}
15818 func_opt_split_opt=${1%%=*}
15819 func_opt_split_arg=${1#*=}
15826 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15827 *) func_lo2o_result=${1} ;;
15831 # func_xform libobj-or-source
15834 func_xform_result=${1%.*}.lo
15837 # func_arith arithmetic-term...
15840 func_arith_result=$(( $* ))
15844 # STRING may not start with a hyphen.
15847 func_len_result=${#1}
15852 *) # Bourne compatible functions.
15853 cat << \_LT_EOF >> "$cfgfile"
15855 # func_dirname file append nondir_replacement
15856 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15857 # otherwise set result to NONDIR_REPLACEMENT.
15860 # Extract subdirectory from the argument.
15861 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15862 if test "X$func_dirname_result" = "X${1}"; then
15863 func_dirname_result="${3}"
15865 func_dirname_result="$func_dirname_result${2}"
15869 # func_basename file
15872 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15876 # func_stripname prefix suffix name
15877 # strip PREFIX and SUFFIX off of NAME.
15878 # PREFIX and SUFFIX must not contain globbing or regex special
15879 # characters, hashes, percent signs, but SUFFIX may contain a leading
15880 # dot (in which case that matches only a dot).
15881 # func_strip_suffix prefix name
15885 .*) func_stripname_result=`$ECHO "X${3}" \
15886 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15887 *) func_stripname_result=`$ECHO "X${3}" \
15888 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15893 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15894 my_sed_long_arg='1s/^-[^=]*=//'
15899 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15900 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15906 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15909 # func_xform libobj-or-source
15912 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15915 # func_arith arithmetic-term...
15918 func_arith_result=`expr "$@"`
15922 # STRING may not start with a hyphen.
15925 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15931 case $lt_shell_append in
15933 cat << \_LT_EOF >> "$cfgfile"
15935 # func_append var value
15936 # Append VALUE to the end of shell variable VAR.
15944 cat << \_LT_EOF >> "$cfgfile"
15946 # func_append var value
15947 # Append VALUE to the end of shell variable VAR.
15958 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15959 || (rm -f "$cfgfile"; exit 1)
15961 mv -f "$cfgfile" "$ofile" ||
15962 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15971 { (exit 0); exit 0; }
15973 chmod +x $CONFIG_STATUS
15974 ac_clean_files=$ac_clean_files_save
15977 # configure is writing to config.log, and then calls config.status.
15978 # config.status does its own redirection, appending to config.log.
15979 # Unfortunately, on DOS this fails, as config.log is still kept open
15980 # by configure, so config.status won't be able to write to it; its
15981 # output is simply discarded. So we exec the FD to /dev/null,
15982 # effectively closing config.log, so it can be properly (re)opened and
15983 # appended to by config.status. When coming back to configure, we
15984 # need to make the FD available again.
15985 if test "$no_create" != yes; then
15987 ac_config_status_args=
15988 test "$silent" = yes &&
15989 ac_config_status_args="$ac_config_status_args --quiet"
15991 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15993 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15994 # would make configure fail if this is the last instruction.
15995 $ac_cs_success || { (exit 1); exit 1; }