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="libspeex/speex.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
820 INSTALL_STRIP_PROGRAM
826 MAINTAINER_MODE_FALSE
890 ac_precious_vars='build_alias
904 # Initialize some variables set by options.
906 ac_init_version=false
907 # The variables have the same names as the options, with
908 # dashes changed to underlines.
916 program_transform_name=s,x,x,
924 # Installation directory options.
925 # These are left unexpanded so users can "make install exec_prefix=/foo"
926 # and all the variables that are supposed to be based on exec_prefix
927 # by default will actually change.
928 # Use braces instead of parens because sh, perl, etc. also accept them.
929 # (The list follows the same order as the GNU Coding Standards.)
930 bindir='${exec_prefix}/bin'
931 sbindir='${exec_prefix}/sbin'
932 libexecdir='${exec_prefix}/libexec'
933 datarootdir='${prefix}/share'
934 datadir='${datarootdir}'
935 sysconfdir='${prefix}/etc'
936 sharedstatedir='${prefix}/com'
937 localstatedir='${prefix}/var'
938 includedir='${prefix}/include'
939 oldincludedir='/usr/include'
940 docdir='${datarootdir}/doc/${PACKAGE}'
941 infodir='${datarootdir}/info'
946 libdir='${exec_prefix}/lib'
947 localedir='${datarootdir}/locale'
948 mandir='${datarootdir}/man'
954 # If the previous option needs an argument, assign it.
955 if test -n "$ac_prev"; then
956 eval $ac_prev=\$ac_option
962 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
966 # Accept the important Cygnus configure options, so we can diagnose typos.
968 case $ac_dashdash$ac_option in
972 -bindir | --bindir | --bindi | --bind | --bin | --bi)
974 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
977 -build | --build | --buil | --bui | --bu)
978 ac_prev=build_alias ;;
979 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
980 build_alias=$ac_optarg ;;
982 -cache-file | --cache-file | --cache-fil | --cache-fi \
983 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
984 ac_prev=cache_file ;;
985 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
986 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
987 cache_file=$ac_optarg ;;
990 cache_file=config.cache ;;
992 -datadir | --datadir | --datadi | --datad)
994 -datadir=* | --datadir=* | --datadi=* | --datad=*)
995 datadir=$ac_optarg ;;
997 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
998 | --dataroo | --dataro | --datar)
999 ac_prev=datarootdir ;;
1000 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1001 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1002 datarootdir=$ac_optarg ;;
1004 -disable-* | --disable-*)
1005 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1006 # Reject names that are not valid shell variable names.
1007 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1008 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1009 { (exit 1); exit 1; }; }
1010 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1011 eval enable_$ac_feature=no ;;
1013 -docdir | --docdir | --docdi | --doc | --do)
1015 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1016 docdir=$ac_optarg ;;
1018 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1020 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1021 dvidir=$ac_optarg ;;
1023 -enable-* | --enable-*)
1024 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1025 # Reject names that are not valid shell variable names.
1026 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1027 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1028 { (exit 1); exit 1; }; }
1029 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1030 eval enable_$ac_feature=\$ac_optarg ;;
1032 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1033 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1034 | --exec | --exe | --ex)
1035 ac_prev=exec_prefix ;;
1036 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1037 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1038 | --exec=* | --exe=* | --ex=*)
1039 exec_prefix=$ac_optarg ;;
1041 -gas | --gas | --ga | --g)
1042 # Obsolete; use --with-gas.
1045 -help | --help | --hel | --he | -h)
1046 ac_init_help=long ;;
1047 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1048 ac_init_help=recursive ;;
1049 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1050 ac_init_help=short ;;
1052 -host | --host | --hos | --ho)
1053 ac_prev=host_alias ;;
1054 -host=* | --host=* | --hos=* | --ho=*)
1055 host_alias=$ac_optarg ;;
1057 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1059 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1061 htmldir=$ac_optarg ;;
1063 -includedir | --includedir | --includedi | --included | --include \
1064 | --includ | --inclu | --incl | --inc)
1065 ac_prev=includedir ;;
1066 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1067 | --includ=* | --inclu=* | --incl=* | --inc=*)
1068 includedir=$ac_optarg ;;
1070 -infodir | --infodir | --infodi | --infod | --info | --inf)
1072 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1073 infodir=$ac_optarg ;;
1075 -libdir | --libdir | --libdi | --libd)
1077 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1078 libdir=$ac_optarg ;;
1080 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1081 | --libexe | --libex | --libe)
1082 ac_prev=libexecdir ;;
1083 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1084 | --libexe=* | --libex=* | --libe=*)
1085 libexecdir=$ac_optarg ;;
1087 -localedir | --localedir | --localedi | --localed | --locale)
1088 ac_prev=localedir ;;
1089 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1090 localedir=$ac_optarg ;;
1092 -localstatedir | --localstatedir | --localstatedi | --localstated \
1093 | --localstate | --localstat | --localsta | --localst | --locals)
1094 ac_prev=localstatedir ;;
1095 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1096 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1097 localstatedir=$ac_optarg ;;
1099 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1101 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1102 mandir=$ac_optarg ;;
1104 -nfp | --nfp | --nf)
1105 # Obsolete; use --without-fp.
1108 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1109 | --no-cr | --no-c | -n)
1112 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1113 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1116 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1117 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1118 | --oldin | --oldi | --old | --ol | --o)
1119 ac_prev=oldincludedir ;;
1120 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1121 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1122 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1123 oldincludedir=$ac_optarg ;;
1125 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1127 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1128 prefix=$ac_optarg ;;
1130 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1131 | --program-pre | --program-pr | --program-p)
1132 ac_prev=program_prefix ;;
1133 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1134 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1135 program_prefix=$ac_optarg ;;
1137 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1138 | --program-suf | --program-su | --program-s)
1139 ac_prev=program_suffix ;;
1140 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1141 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1142 program_suffix=$ac_optarg ;;
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 ac_prev=program_transform_name ;;
1152 -program-transform-name=* | --program-transform-name=* \
1153 | --program-transform-nam=* | --program-transform-na=* \
1154 | --program-transform-n=* | --program-transform-=* \
1155 | --program-transform=* | --program-transfor=* \
1156 | --program-transfo=* | --program-transf=* \
1157 | --program-trans=* | --program-tran=* \
1158 | --progr-tra=* | --program-tr=* | --program-t=*)
1159 program_transform_name=$ac_optarg ;;
1161 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1163 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1164 pdfdir=$ac_optarg ;;
1166 -psdir | --psdir | --psdi | --psd | --ps)
1168 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1171 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1172 | -silent | --silent | --silen | --sile | --sil)
1175 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1177 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1179 sbindir=$ac_optarg ;;
1181 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1182 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1183 | --sharedst | --shareds | --shared | --share | --shar \
1185 ac_prev=sharedstatedir ;;
1186 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1187 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1188 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1190 sharedstatedir=$ac_optarg ;;
1192 -site | --site | --sit)
1194 -site=* | --site=* | --sit=*)
1197 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1199 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1200 srcdir=$ac_optarg ;;
1202 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1203 | --syscon | --sysco | --sysc | --sys | --sy)
1204 ac_prev=sysconfdir ;;
1205 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1206 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1207 sysconfdir=$ac_optarg ;;
1209 -target | --target | --targe | --targ | --tar | --ta | --t)
1210 ac_prev=target_alias ;;
1211 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1212 target_alias=$ac_optarg ;;
1214 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1217 -version | --version | --versio | --versi | --vers | -V)
1218 ac_init_version=: ;;
1221 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1222 # Reject names that are not valid shell variable names.
1223 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1224 { echo "$as_me: error: invalid package name: $ac_package" >&2
1225 { (exit 1); exit 1; }; }
1226 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1227 eval with_$ac_package=\$ac_optarg ;;
1229 -without-* | --without-*)
1230 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1231 # Reject names that are not valid shell variable names.
1232 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1233 { echo "$as_me: error: invalid package name: $ac_package" >&2
1234 { (exit 1); exit 1; }; }
1235 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1236 eval with_$ac_package=no ;;
1239 # Obsolete; use --with-x.
1242 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1243 | --x-incl | --x-inc | --x-in | --x-i)
1244 ac_prev=x_includes ;;
1245 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1246 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1247 x_includes=$ac_optarg ;;
1249 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1250 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1251 ac_prev=x_libraries ;;
1252 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1253 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1254 x_libraries=$ac_optarg ;;
1256 -*) { echo "$as_me: error: unrecognized option: $ac_option
1257 Try \`$0 --help' for more information." >&2
1258 { (exit 1); exit 1; }; }
1262 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1263 # Reject names that are not valid shell variable names.
1264 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1265 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1266 { (exit 1); exit 1; }; }
1267 eval $ac_envvar=\$ac_optarg
1268 export $ac_envvar ;;
1271 # FIXME: should be removed in autoconf 3.0.
1272 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1273 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1274 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1275 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1281 if test -n "$ac_prev"; then
1282 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1283 { echo "$as_me: error: missing argument to $ac_option" >&2
1284 { (exit 1); exit 1; }; }
1287 # Be sure to have absolute directory names.
1288 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1289 datadir sysconfdir sharedstatedir localstatedir includedir \
1290 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1291 libdir localedir mandir
1293 eval ac_val=\$$ac_var
1295 [\\/$]* | ?:[\\/]* ) continue;;
1296 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1298 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1299 { (exit 1); exit 1; }; }
1302 # There might be people who depend on the old broken behavior: `$host'
1303 # used to hold the argument of --host etc.
1304 # FIXME: To remove some day.
1307 target=$target_alias
1309 # FIXME: To remove some day.
1310 if test "x$host_alias" != x; then
1311 if test "x$build_alias" = x; then
1312 cross_compiling=maybe
1313 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1314 If a cross compiler is detected then cross compile mode will be used." >&2
1315 elif test "x$build_alias" != "x$host_alias"; then
1321 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1323 test "$silent" = yes && exec 6>/dev/null
1326 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1327 ac_ls_di=`ls -di .` &&
1328 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1329 { echo "$as_me: error: Working directory cannot be determined" >&2
1330 { (exit 1); exit 1; }; }
1331 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1332 { echo "$as_me: error: pwd does not report name of working directory" >&2
1333 { (exit 1); exit 1; }; }
1336 # Find the source files, if location was not specified.
1337 if test -z "$srcdir"; then
1338 ac_srcdir_defaulted=yes
1339 # Try the directory containing this script, then the parent directory.
1340 ac_confdir=`$as_dirname -- "$0" ||
1341 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1342 X"$0" : 'X\(//\)[^/]' \| \
1343 X"$0" : 'X\(//\)$' \| \
1344 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1364 if test ! -r "$srcdir/$ac_unique_file"; then
1368 ac_srcdir_defaulted=no
1370 if test ! -r "$srcdir/$ac_unique_file"; then
1371 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1372 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1373 { (exit 1); exit 1; }; }
1375 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1377 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1378 { (exit 1); exit 1; }; }
1380 # When building in place, set srcdir=.
1381 if test "$ac_abs_confdir" = "$ac_pwd"; then
1384 # Remove unnecessary trailing slashes from srcdir.
1385 # Double slashes in file names in object file debugging info
1386 # mess up M-x gdb in Emacs.
1388 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1390 for ac_var in $ac_precious_vars; do
1391 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1392 eval ac_env_${ac_var}_value=\$${ac_var}
1393 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1394 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1398 # Report the --help message.
1400 if test "$ac_init_help" = "long"; then
1401 # Omit some internal or obsolete options to make the list less imposing.
1402 # This message is too long to be a string in the A/UX 3.1 sh.
1404 \`configure' configures this package to adapt to many kinds of systems.
1406 Usage: $0 [OPTION]... [VAR=VALUE]...
1408 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1409 VAR=VALUE. See below for descriptions of some of the useful variables.
1411 Defaults for the options are specified in brackets.
1414 -h, --help display this help and exit
1415 --help=short display options specific to this package
1416 --help=recursive display the short help of all the included packages
1417 -V, --version display version information and exit
1418 -q, --quiet, --silent do not print \`checking...' messages
1419 --cache-file=FILE cache test results in FILE [disabled]
1420 -C, --config-cache alias for \`--cache-file=config.cache'
1421 -n, --no-create do not create output files
1422 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1424 Installation directories:
1425 --prefix=PREFIX install architecture-independent files in PREFIX
1426 [$ac_default_prefix]
1427 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1430 By default, \`make install' will install all the files in
1431 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1432 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1433 for instance \`--prefix=\$HOME'.
1435 For better control, use the options below.
1437 Fine tuning of the installation directories:
1438 --bindir=DIR user executables [EPREFIX/bin]
1439 --sbindir=DIR system admin executables [EPREFIX/sbin]
1440 --libexecdir=DIR program executables [EPREFIX/libexec]
1441 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1442 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1443 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1444 --libdir=DIR object code libraries [EPREFIX/lib]
1445 --includedir=DIR C header files [PREFIX/include]
1446 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1447 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1448 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1449 --infodir=DIR info documentation [DATAROOTDIR/info]
1450 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1451 --mandir=DIR man documentation [DATAROOTDIR/man]
1452 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1453 --htmldir=DIR html documentation [DOCDIR]
1454 --dvidir=DIR dvi documentation [DOCDIR]
1455 --pdfdir=DIR pdf documentation [DOCDIR]
1456 --psdir=DIR ps documentation [DOCDIR]
1462 --program-prefix=PREFIX prepend PREFIX to installed program names
1463 --program-suffix=SUFFIX append SUFFIX to installed program names
1464 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1467 --build=BUILD configure for building on BUILD [guessed]
1468 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1472 if test -n "$ac_init_help"; then
1477 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1478 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1479 --enable-maintainer-mode enable make rules and dependencies not useful
1480 (and sometimes confusing) to the casual installer
1481 --enable-shared[=PKGS] build shared libraries [default=yes]
1482 --enable-static[=PKGS] build static libraries [default=yes]
1483 --enable-fast-install[=PKGS]
1484 optimize for fast installation [default=yes]
1485 --disable-dependency-tracking speeds up one-time build
1486 --enable-dependency-tracking do not reject slow dependency extractors
1487 --disable-libtool-lock avoid locking (might break parallel builds)
1488 --disable-oggtest Do not try to compile and run a test Ogg program
1489 --enable-valgrind Enable valgrind extra checks
1490 --enable-sse Enable SSE support
1491 --enable-fixed-point Compile as fixed-point
1492 --disable-float-api Disable the floating-point API
1493 --disable-vbr Disable VBR and VAD from the codec
1494 --enable-arm4-asm Make use of ARM4 assembly optimizations
1495 --enable-arm5e-asm Make use of ARM5E assembly optimizations
1496 --enable-blackfin-asm Make use of Blackfin assembly optimizations
1497 --enable-fixed-point-debug Debug fixed-point implementation
1498 --enable-ti-c55x Enable support for TI C55X DSP
1501 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1502 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1503 --with-pic try to use only PIC/non-PIC objects [default=use
1505 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1506 --with-ogg=PFX Prefix where libogg is installed (optional)
1507 --with-ogg-libraries=DIR Directory where libogg library is installed (optional)
1508 --with-ogg-includes=DIR Directory where libogg header files are installed (optional)
1509 --with-fft=choice use an alternate FFT implementation. The available
1510 choices are kiss (default fixed point), smallft
1511 (default floating point), gpl-fftw3 and
1512 proprietary-intel-mkl
1514 Some influential environment variables:
1515 CC C compiler command
1516 CFLAGS C compiler flags
1517 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1518 nonstandard directory <lib dir>
1519 LIBS libraries to pass to the linker, e.g. -l<library>
1520 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1521 you have headers in a nonstandard directory <include dir>
1523 PKG_CONFIG path to pkg-config utility
1524 FFT_CFLAGS C compiler flags for FFT, overriding pkg-config
1525 FFT_LIBS linker flags for FFT, overriding pkg-config
1527 Use these variables to override the choices made by `configure' or to help
1528 it to find libraries and programs with nonstandard names/locations.
1534 if test "$ac_init_help" = "recursive"; then
1535 # If there are subdirs, report their specific --help.
1536 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1537 test -d "$ac_dir" || continue
1541 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1543 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1544 # A ".." for each directory in $ac_dir_suffix.
1545 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1546 case $ac_top_builddir_sub in
1547 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1548 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1551 ac_abs_top_builddir=$ac_pwd
1552 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1553 # for backward compatibility:
1554 ac_top_builddir=$ac_top_build_prefix
1557 .) # We are building in place.
1559 ac_top_srcdir=$ac_top_builddir_sub
1560 ac_abs_top_srcdir=$ac_pwd ;;
1561 [\\/]* | ?:[\\/]* ) # Absolute name.
1562 ac_srcdir=$srcdir$ac_dir_suffix;
1563 ac_top_srcdir=$srcdir
1564 ac_abs_top_srcdir=$srcdir ;;
1566 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1567 ac_top_srcdir=$ac_top_build_prefix$srcdir
1568 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1570 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1572 cd "$ac_dir" || { ac_status=$?; continue; }
1573 # Check for guested configure.
1574 if test -f "$ac_srcdir/configure.gnu"; then
1576 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1577 elif test -f "$ac_srcdir/configure"; then
1579 $SHELL "$ac_srcdir/configure" --help=recursive
1581 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1583 cd "$ac_pwd" || { ac_status=$?; break; }
1587 test -n "$ac_init_help" && exit $ac_status
1588 if $ac_init_version; then
1591 generated by GNU Autoconf 2.61
1593 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1594 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1595 This configure script is free software; the Free Software Foundation
1596 gives unlimited permission to copy, distribute and modify it.
1600 cat >config.log <<_ACEOF
1601 This file contains any messages produced by compilers while
1602 running configure, to aid debugging if configure makes a mistake.
1604 It was created by $as_me, which was
1605 generated by GNU Autoconf 2.61. Invocation command line was
1617 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1618 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1619 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1620 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1621 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1623 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1624 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1626 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1627 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1628 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1629 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1630 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1631 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1632 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1640 test -z "$as_dir" && as_dir=.
1641 echo "PATH: $as_dir"
1657 # Keep a trace of the command line.
1658 # Strip out --no-create and --no-recursion so they do not pile up.
1659 # Strip out --silent because we don't want to record it for future runs.
1660 # Also quote any args containing shell meta-characters.
1661 # Make two passes to allow for proper duplicate-argument suppression.
1665 ac_must_keep_next=false
1671 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1672 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1673 | -silent | --silent | --silen | --sile | --sil)
1676 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1679 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1681 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1682 if test $ac_must_keep_next = true; then
1683 ac_must_keep_next=false # Got value, back to normal.
1686 *=* | --config-cache | -C | -disable-* | --disable-* \
1687 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1688 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1689 | -with-* | --with-* | -without-* | --without-* | --x)
1690 case "$ac_configure_args0 " in
1691 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1694 -* ) ac_must_keep_next=true ;;
1697 ac_configure_args="$ac_configure_args '$ac_arg'"
1702 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1703 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1705 # When interrupted or exit'd, cleanup temporary files, and complete
1706 # config.log. We remove comments because anyway the quotes in there
1707 # would cause problems or look ugly.
1708 # WARNING: Use '\'' to represent an apostrophe within the trap.
1709 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1710 trap 'exit_status=$?
1711 # Save into config.log some information that might help in debugging.
1716 ## ---------------- ##
1717 ## Cache variables. ##
1718 ## ---------------- ##
1721 # The following way of writing the cache mishandles newlines in values,
1723 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1724 eval ac_val=\$$ac_var
1728 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1729 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1732 _ | IFS | as_nl) ;; #(
1733 *) $as_unset $ac_var ;;
1738 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1739 *${as_nl}ac_space=\ *)
1741 "s/'\''/'\''\\\\'\'''\''/g;
1742 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1745 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1753 ## ----------------- ##
1754 ## Output variables. ##
1755 ## ----------------- ##
1758 for ac_var in $ac_subst_vars
1760 eval ac_val=\$$ac_var
1762 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1764 echo "$ac_var='\''$ac_val'\''"
1768 if test -n "$ac_subst_files"; then
1770 ## ------------------- ##
1771 ## File substitutions. ##
1772 ## ------------------- ##
1775 for ac_var in $ac_subst_files
1777 eval ac_val=\$$ac_var
1779 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1781 echo "$ac_var='\''$ac_val'\''"
1786 if test -s confdefs.h; then
1796 test "$ac_signal" != 0 &&
1797 echo "$as_me: caught signal $ac_signal"
1798 echo "$as_me: exit $exit_status"
1800 rm -f core *.core core.conftest.* &&
1801 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1804 for ac_signal in 1 2 13 15; do
1805 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1809 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1810 rm -f -r conftest* confdefs.h
1812 # Predefined preprocessor variables.
1814 cat >>confdefs.h <<_ACEOF
1815 #define PACKAGE_NAME "$PACKAGE_NAME"
1819 cat >>confdefs.h <<_ACEOF
1820 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1824 cat >>confdefs.h <<_ACEOF
1825 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1829 cat >>confdefs.h <<_ACEOF
1830 #define PACKAGE_STRING "$PACKAGE_STRING"
1834 cat >>confdefs.h <<_ACEOF
1835 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1839 # Let the site file select an alternate cache file if it wants to.
1840 # Prefer explicitly selected file to automatically selected ones.
1841 if test -n "$CONFIG_SITE"; then
1842 set x "$CONFIG_SITE"
1843 elif test "x$prefix" != xNONE; then
1844 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1846 set x "$ac_default_prefix/share/config.site" \
1847 "$ac_default_prefix/etc/config.site"
1852 if test -r "$ac_site_file"; then
1853 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1854 echo "$as_me: loading site script $ac_site_file" >&6;}
1855 sed 's/^/| /' "$ac_site_file" >&5
1860 if test -r "$cache_file"; then
1861 # Some versions of bash will fail to source /dev/null (special
1862 # files actually), so we avoid doing that.
1863 if test -f "$cache_file"; then
1864 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1865 echo "$as_me: loading cache $cache_file" >&6;}
1867 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1868 *) . "./$cache_file";;
1872 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1873 echo "$as_me: creating cache $cache_file" >&6;}
1877 # Check that the precious variables saved in the cache have kept the same
1879 ac_cache_corrupted=false
1880 for ac_var in $ac_precious_vars; do
1881 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1882 eval ac_new_set=\$ac_env_${ac_var}_set
1883 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1884 eval ac_new_val=\$ac_env_${ac_var}_value
1885 case $ac_old_set,$ac_new_set in
1887 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1888 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1889 ac_cache_corrupted=: ;;
1891 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1892 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1893 ac_cache_corrupted=: ;;
1896 if test "x$ac_old_val" != "x$ac_new_val"; then
1897 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1898 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1899 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1900 echo "$as_me: former value: $ac_old_val" >&2;}
1901 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1902 echo "$as_me: current value: $ac_new_val" >&2;}
1903 ac_cache_corrupted=:
1906 # Pass precious variables to config.status.
1907 if test "$ac_new_set" = set; then
1909 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1910 *) ac_arg=$ac_var=$ac_new_val ;;
1912 case " $ac_configure_args " in
1913 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1914 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1918 if $ac_cache_corrupted; then
1919 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1920 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1921 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1922 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1923 { (exit 1); exit 1; }; }
1943 ac_cpp='$CPP $CPPFLAGS'
1944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1950 ac_config_headers="$ac_config_headers config.h"
1953 SPEEX_MAJOR_VERSION=1
1954 SPEEX_MINOR_VERSION=1
1955 SPEEX_MICRO_VERSION=16
1956 SPEEX_EXTRA_VERSION=
1958 #SPEEX_VERSION=$SPEEX_MAJOR_VERSION.$SPEEX_MINOR_VERSION.$SPEEX_MICRO_VERSION$SPEEX_EXTRA_VERSION
1959 SPEEX_VERSION="1.2rc1"
1970 VERSION=$SPEEX_VERSION
1975 am__api_version="1.8"
1977 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1978 if test -f "$ac_dir/install-sh"; then
1980 ac_install_sh="$ac_aux_dir/install-sh -c"
1982 elif test -f "$ac_dir/install.sh"; then
1984 ac_install_sh="$ac_aux_dir/install.sh -c"
1986 elif test -f "$ac_dir/shtool"; then
1988 ac_install_sh="$ac_aux_dir/shtool install -c"
1992 if test -z "$ac_aux_dir"; then
1993 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1994 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1995 { (exit 1); exit 1; }; }
1998 # These three variables are undocumented and unsupported,
1999 # and are intended to be withdrawn in a future Autoconf release.
2000 # They can cause serious problems if a builder's source tree is in a directory
2001 # whose full name contains unusual characters.
2002 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2003 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2004 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2007 # Find a good install program. We prefer a C program (faster),
2008 # so one script is as good as another. But avoid the broken or
2009 # incompatible versions:
2010 # SysV /etc/install, /usr/sbin/install
2011 # SunOS /usr/etc/install
2012 # IRIX /sbin/install
2014 # AmigaOS /C/install, which installs bootblocks on floppy discs
2015 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2016 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2017 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2018 # OS/2's system install, which has a completely different semantic
2019 # ./install, which can be erroneously created by make from ./install.sh.
2020 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2021 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2022 if test -z "$INSTALL"; then
2023 if test "${ac_cv_path_install+set}" = set; then
2024 echo $ECHO_N "(cached) $ECHO_C" >&6
2026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2030 test -z "$as_dir" && as_dir=.
2031 # Account for people who put trailing slashes in PATH elements.
2033 ./ | .// | /cC/* | \
2034 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2035 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2038 # OSF1 and SCO ODT 3.0 have their own names for install.
2039 # Don't use installbsd from OSF since it installs stuff as root
2041 for ac_prog in ginstall scoinst install; do
2042 for ac_exec_ext in '' $ac_executable_extensions; do
2043 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2044 if test $ac_prog = install &&
2045 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2046 # AIX install. It has an incompatible calling convention.
2048 elif test $ac_prog = install &&
2049 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2050 # program-specific install script used by HP pwplus--don't use.
2053 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2066 if test "${ac_cv_path_install+set}" = set; then
2067 INSTALL=$ac_cv_path_install
2069 # As a last resort, use the slow shell script. Don't cache a
2070 # value for INSTALL within a source directory, because that will
2071 # break other packages using the cache if that directory is
2072 # removed, or if the value is a relative name.
2073 INSTALL=$ac_install_sh
2076 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2077 echo "${ECHO_T}$INSTALL" >&6; }
2079 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2080 # It thinks the first close brace ends the variable substitution.
2081 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2083 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2085 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2087 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2088 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2091 echo timestamp > conftest.file
2092 # Do `set' in a subshell so we don't clobber the current shell's
2093 # arguments. Must try -L first in case configure is actually a
2094 # symlink; some systems play weird games with the mod time of symlinks
2095 # (eg FreeBSD returns the mod time of the symlink's containing
2098 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2099 if test "$*" = "X"; then
2101 set X `ls -t $srcdir/configure conftest.file`
2104 if test "$*" != "X $srcdir/configure conftest.file" \
2105 && test "$*" != "X conftest.file $srcdir/configure"; then
2107 # If neither matched, then we have a broken ls. This can happen
2108 # if, for instance, CONFIG_SHELL is bash and it inherits a
2109 # broken ls alias from the environment. This has actually
2110 # happened. Such a system could not be considered "sane".
2111 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2112 alias in your environment" >&5
2113 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2114 alias in your environment" >&2;}
2115 { (exit 1); exit 1; }; }
2118 test "$2" = conftest.file
2124 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2125 Check your system clock" >&5
2126 echo "$as_me: error: newly created file is older than distributed files!
2127 Check your system clock" >&2;}
2128 { (exit 1); exit 1; }; }
2130 { echo "$as_me:$LINENO: result: yes" >&5
2131 echo "${ECHO_T}yes" >&6; }
2132 test "$program_prefix" != NONE &&
2133 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2134 # Use a double $ so make ignores it.
2135 test "$program_suffix" != NONE &&
2136 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2137 # Double any \ or $. echo might interpret backslashes.
2138 # By default was `s,x,x', remove it if useless.
2139 cat <<\_ACEOF >conftest.sed
2140 s/[\\$]/&&/g;s/;s,x,x,$//
2142 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2145 # expand $ac_aux_dir to an absolute path
2146 am_aux_dir=`cd $ac_aux_dir && pwd`
2148 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2149 # Use eval to expand $SHELL
2150 if eval "$MISSING --run true"; then
2151 am_missing_run="$MISSING --run "
2154 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2155 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2158 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2159 # Keeping the `.' argument allows $(mkdir_p) to be used without
2160 # argument. Indeed, we sometimes output rules like
2161 # $(mkdir_p) $(somedir)
2162 # where $(somedir) is conditionally defined.
2163 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
2164 # expensive solution, as it forces Make to start a sub-shell.)
2165 mkdir_p='mkdir -p -- .'
2167 # On NextStep and OpenStep, the `mkdir' command does not
2168 # recognize any option. It will interpret all options as
2169 # directories to create, and then abort because `.' already
2171 for d in ./-p ./--version;
2173 test -d $d && rmdir $d
2175 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2176 if test -f "$ac_aux_dir/mkinstalldirs"; then
2177 mkdir_p='$(mkinstalldirs)'
2179 mkdir_p='$(install_sh) -d'
2183 for ac_prog in gawk mawk nawk awk
2185 # Extract the first word of "$ac_prog", so it can be a program name with args.
2186 set dummy $ac_prog; ac_word=$2
2187 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2189 if test "${ac_cv_prog_AWK+set}" = set; then
2190 echo $ECHO_N "(cached) $ECHO_C" >&6
2192 if test -n "$AWK"; then
2193 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2199 test -z "$as_dir" && as_dir=.
2200 for ac_exec_ext in '' $ac_executable_extensions; do
2201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2202 ac_cv_prog_AWK="$ac_prog"
2203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2213 if test -n "$AWK"; then
2214 { echo "$as_me:$LINENO: result: $AWK" >&5
2215 echo "${ECHO_T}$AWK" >&6; }
2217 { echo "$as_me:$LINENO: result: no" >&5
2218 echo "${ECHO_T}no" >&6; }
2222 test -n "$AWK" && break
2225 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2226 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2227 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2228 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2229 echo $ECHO_N "(cached) $ECHO_C" >&6
2231 cat >conftest.make <<\_ACEOF
2234 @echo '@@@%%%=$(MAKE)=@@@%%%'
2236 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2237 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2239 eval ac_cv_prog_make_${ac_make}_set=yes;;
2241 eval ac_cv_prog_make_${ac_make}_set=no;;
2245 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2246 { echo "$as_me:$LINENO: result: yes" >&5
2247 echo "${ECHO_T}yes" >&6; }
2250 { echo "$as_me:$LINENO: result: no" >&5
2251 echo "${ECHO_T}no" >&6; }
2252 SET_MAKE="MAKE=${MAKE-make}"
2255 rm -rf .tst 2>/dev/null
2256 mkdir .tst 2>/dev/null
2257 if test -d .tst; then
2262 rmdir .tst 2>/dev/null
2264 # test to see if srcdir already configured
2265 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2266 test -f $srcdir/config.status; then
2267 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2268 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2269 { (exit 1); exit 1; }; }
2272 # test whether we have cygpath
2273 if test -z "$CYGPATH_W"; then
2274 if (cygpath --version) >/dev/null 2>/dev/null; then
2275 CYGPATH_W='cygpath -w'
2282 # Define the identity of the package.
2287 # Some tools Automake needs.
2289 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2292 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2295 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2298 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2301 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2304 AMTAR=${AMTAR-"${am_missing_run}tar"}
2306 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2308 # Installed binaries are usually stripped using `strip' when the user
2309 # run `make install-strip'. However `strip' might not be the right
2310 # tool to use in cross-compilation environments, therefore Automake
2311 # will honor the `STRIP' environment variable to overrule this program.
2312 if test "$cross_compiling" != no; then
2313 if test -n "$ac_tool_prefix"; then
2314 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2315 set dummy ${ac_tool_prefix}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_STRIP+set}" = set; then
2319 echo $ECHO_N "(cached) $ECHO_C" >&6
2321 if test -n "$STRIP"; then
2322 ac_cv_prog_STRIP="$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_STRIP="${ac_tool_prefix}strip"
2332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2341 STRIP=$ac_cv_prog_STRIP
2342 if test -n "$STRIP"; then
2343 { echo "$as_me:$LINENO: result: $STRIP" >&5
2344 echo "${ECHO_T}$STRIP" >&6; }
2346 { echo "$as_me:$LINENO: result: no" >&5
2347 echo "${ECHO_T}no" >&6; }
2352 if test -z "$ac_cv_prog_STRIP"; then
2354 # Extract the first word of "strip", so it can be a program name with args.
2355 set dummy strip; ac_word=$2
2356 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2358 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2359 echo $ECHO_N "(cached) $ECHO_C" >&6
2361 if test -n "$ac_ct_STRIP"; then
2362 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2368 test -z "$as_dir" && as_dir=.
2369 for ac_exec_ext in '' $ac_executable_extensions; do
2370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2371 ac_cv_prog_ac_ct_STRIP="strip"
2372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2381 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2382 if test -n "$ac_ct_STRIP"; then
2383 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2384 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2386 { echo "$as_me:$LINENO: result: no" >&5
2387 echo "${ECHO_T}no" >&6; }
2390 if test "x$ac_ct_STRIP" = x; then
2393 case $cross_compiling:$ac_tool_warned in
2395 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2396 whose name does not start with the host triplet. If you think this
2397 configuration is useful to you, please write to autoconf@gnu.org." >&5
2398 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2399 whose name does not start with the host triplet. If you think this
2400 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2401 ac_tool_warned=yes ;;
2406 STRIP="$ac_cv_prog_STRIP"
2410 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2412 # We need awk for the "check" target. The system "awk" is bad on
2417 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2418 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2419 # Check whether --enable-maintainer-mode was given.
2420 if test "${enable_maintainer_mode+set}" = set; then
2421 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2423 USE_MAINTAINER_MODE=no
2426 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2427 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2430 if test $USE_MAINTAINER_MODE = yes; then
2431 MAINTAINER_MODE_TRUE=
2432 MAINTAINER_MODE_FALSE='#'
2434 MAINTAINER_MODE_TRUE='#'
2435 MAINTAINER_MODE_FALSE=
2438 MAINT=$MAINTAINER_MODE_TRUE
2442 # Make sure we can run config.sub.
2443 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2444 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2445 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2446 { (exit 1); exit 1; }; }
2448 { echo "$as_me:$LINENO: checking build system type" >&5
2449 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2450 if test "${ac_cv_build+set}" = set; then
2451 echo $ECHO_N "(cached) $ECHO_C" >&6
2453 ac_build_alias=$build_alias
2454 test "x$ac_build_alias" = x &&
2455 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2456 test "x$ac_build_alias" = x &&
2457 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2458 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2459 { (exit 1); exit 1; }; }
2460 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2461 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2462 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2463 { (exit 1); exit 1; }; }
2466 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2467 echo "${ECHO_T}$ac_cv_build" >&6; }
2468 case $ac_cv_build in
2470 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2471 echo "$as_me: error: invalid value of canonical build" >&2;}
2472 { (exit 1); exit 1; }; };;
2475 ac_save_IFS=$IFS; IFS='-'
2481 # Remember, the first character of IFS is used to create $*,
2482 # except with old shells:
2485 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2488 { echo "$as_me:$LINENO: checking host system type" >&5
2489 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2490 if test "${ac_cv_host+set}" = set; then
2491 echo $ECHO_N "(cached) $ECHO_C" >&6
2493 if test "x$host_alias" = x; then
2494 ac_cv_host=$ac_cv_build
2496 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2497 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2498 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2499 { (exit 1); exit 1; }; }
2503 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2504 echo "${ECHO_T}$ac_cv_host" >&6; }
2507 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2508 echo "$as_me: error: invalid value of canonical host" >&2;}
2509 { (exit 1); exit 1; }; };;
2512 ac_save_IFS=$IFS; IFS='-'
2518 # Remember, the first character of IFS is used to create $*,
2519 # except with old shells:
2522 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2525 enable_win32_dll=yes
2528 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
2529 if test -n "$ac_tool_prefix"; then
2530 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2531 set dummy ${ac_tool_prefix}as; ac_word=$2
2532 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2534 if test "${ac_cv_prog_AS+set}" = set; then
2535 echo $ECHO_N "(cached) $ECHO_C" >&6
2537 if test -n "$AS"; then
2538 ac_cv_prog_AS="$AS" # Let the user override the test.
2540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2544 test -z "$as_dir" && as_dir=.
2545 for ac_exec_ext in '' $ac_executable_extensions; do
2546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2547 ac_cv_prog_AS="${ac_tool_prefix}as"
2548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2558 if test -n "$AS"; then
2559 { echo "$as_me:$LINENO: result: $AS" >&5
2560 echo "${ECHO_T}$AS" >&6; }
2562 { echo "$as_me:$LINENO: result: no" >&5
2563 echo "${ECHO_T}no" >&6; }
2568 if test -z "$ac_cv_prog_AS"; then
2570 # Extract the first word of "as", so it can be a program name with args.
2571 set dummy as; ac_word=$2
2572 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2574 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
2575 echo $ECHO_N "(cached) $ECHO_C" >&6
2577 if test -n "$ac_ct_AS"; then
2578 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
2580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2584 test -z "$as_dir" && as_dir=.
2585 for ac_exec_ext in '' $ac_executable_extensions; do
2586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2587 ac_cv_prog_ac_ct_AS="as"
2588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2597 ac_ct_AS=$ac_cv_prog_ac_ct_AS
2598 if test -n "$ac_ct_AS"; then
2599 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
2600 echo "${ECHO_T}$ac_ct_AS" >&6; }
2602 { echo "$as_me:$LINENO: result: no" >&5
2603 echo "${ECHO_T}no" >&6; }
2606 if test "x$ac_ct_AS" = x; then
2609 case $cross_compiling:$ac_tool_warned in
2611 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2612 whose name does not start with the host triplet. If you think this
2613 configuration is useful to you, please write to autoconf@gnu.org." >&5
2614 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2615 whose name does not start with the host triplet. If you think this
2616 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2617 ac_tool_warned=yes ;;
2625 if test -n "$ac_tool_prefix"; then
2626 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
2627 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
2628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2630 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
2631 echo $ECHO_N "(cached) $ECHO_C" >&6
2633 if test -n "$DLLTOOL"; then
2634 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
2636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2640 test -z "$as_dir" && as_dir=.
2641 for ac_exec_ext in '' $ac_executable_extensions; do
2642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2643 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
2644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2653 DLLTOOL=$ac_cv_prog_DLLTOOL
2654 if test -n "$DLLTOOL"; then
2655 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
2656 echo "${ECHO_T}$DLLTOOL" >&6; }
2658 { echo "$as_me:$LINENO: result: no" >&5
2659 echo "${ECHO_T}no" >&6; }
2664 if test -z "$ac_cv_prog_DLLTOOL"; then
2665 ac_ct_DLLTOOL=$DLLTOOL
2666 # Extract the first word of "dlltool", so it can be a program name with args.
2667 set dummy dlltool; ac_word=$2
2668 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2670 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
2671 echo $ECHO_N "(cached) $ECHO_C" >&6
2673 if test -n "$ac_ct_DLLTOOL"; then
2674 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
2676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2680 test -z "$as_dir" && as_dir=.
2681 for ac_exec_ext in '' $ac_executable_extensions; do
2682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2683 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
2684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2693 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
2694 if test -n "$ac_ct_DLLTOOL"; then
2695 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
2696 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
2698 { echo "$as_me:$LINENO: result: no" >&5
2699 echo "${ECHO_T}no" >&6; }
2702 if test "x$ac_ct_DLLTOOL" = x; then
2705 case $cross_compiling:$ac_tool_warned in
2707 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2708 whose name does not start with the host triplet. If you think this
2709 configuration is useful to you, please write to autoconf@gnu.org." >&5
2710 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2711 whose name does not start with the host triplet. If you think this
2712 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2713 ac_tool_warned=yes ;;
2715 DLLTOOL=$ac_ct_DLLTOOL
2718 DLLTOOL="$ac_cv_prog_DLLTOOL"
2721 if test -n "$ac_tool_prefix"; then
2722 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
2723 set dummy ${ac_tool_prefix}objdump; ac_word=$2
2724 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2726 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
2727 echo $ECHO_N "(cached) $ECHO_C" >&6
2729 if test -n "$OBJDUMP"; then
2730 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
2732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2736 test -z "$as_dir" && as_dir=.
2737 for ac_exec_ext in '' $ac_executable_extensions; do
2738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2739 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
2740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2749 OBJDUMP=$ac_cv_prog_OBJDUMP
2750 if test -n "$OBJDUMP"; then
2751 { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
2752 echo "${ECHO_T}$OBJDUMP" >&6; }
2754 { echo "$as_me:$LINENO: result: no" >&5
2755 echo "${ECHO_T}no" >&6; }
2760 if test -z "$ac_cv_prog_OBJDUMP"; then
2761 ac_ct_OBJDUMP=$OBJDUMP
2762 # Extract the first word of "objdump", so it can be a program name with args.
2763 set dummy objdump; ac_word=$2
2764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2766 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
2767 echo $ECHO_N "(cached) $ECHO_C" >&6
2769 if test -n "$ac_ct_OBJDUMP"; then
2770 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
2772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2776 test -z "$as_dir" && as_dir=.
2777 for ac_exec_ext in '' $ac_executable_extensions; do
2778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2779 ac_cv_prog_ac_ct_OBJDUMP="objdump"
2780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2789 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
2790 if test -n "$ac_ct_OBJDUMP"; then
2791 { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
2792 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
2794 { echo "$as_me:$LINENO: result: no" >&5
2795 echo "${ECHO_T}no" >&6; }
2798 if test "x$ac_ct_OBJDUMP" = x; then
2801 case $cross_compiling:$ac_tool_warned in
2803 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2804 whose name does not start with the host triplet. If you think this
2805 configuration is useful to you, please write to autoconf@gnu.org." >&5
2806 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2807 whose name does not start with the host triplet. If you think this
2808 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2809 ac_tool_warned=yes ;;
2811 OBJDUMP=$ac_ct_OBJDUMP
2814 OBJDUMP="$ac_cv_prog_OBJDUMP"
2820 test -z "$AS" && AS=as
2826 test -z "$DLLTOOL" && DLLTOOL=dlltool
2832 test -z "$OBJDUMP" && OBJDUMP=objdump
2842 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2843 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2848 macro_version='2.2.4'
2849 macro_revision='1.2976'
2863 ltmain="$ac_aux_dir/ltmain.sh"
2865 DEPDIR="${am__leading_dot}deps"
2867 ac_config_commands="$ac_config_commands depfiles"
2870 am_make=${MAKE-make}
2871 cat > confinc << 'END'
2876 # If we don't find an include directive, just comment out the code.
2877 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2878 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2882 # First try GNU make style include.
2883 echo "include confinc" > confmf
2884 # We grep out `Entering directory' and `Leaving directory'
2885 # messages which can occur if `w' ends up in MAKEFLAGS.
2886 # In particular we don't look at `^make:' because GNU make might
2887 # be invoked under some other name (usually "gmake"), in which
2888 # case it prints its new name instead of `make'.
2889 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2894 # Now try BSD make style include.
2895 if test "$am__include" = "#"; then
2896 echo '.include "confinc"' > confmf
2897 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2898 am__include=.include
2905 { echo "$as_me:$LINENO: result: $_am_result" >&5
2906 echo "${ECHO_T}$_am_result" >&6; }
2907 rm -f confinc confmf
2909 # Check whether --enable-dependency-tracking was given.
2910 if test "${enable_dependency_tracking+set}" = set; then
2911 enableval=$enable_dependency_tracking;
2914 if test "x$enable_dependency_tracking" != xno; then
2915 am_depcomp="$ac_aux_dir/depcomp"
2920 if test "x$enable_dependency_tracking" != xno; then
2931 ac_cpp='$CPP $CPPFLAGS'
2932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2935 if test -n "$ac_tool_prefix"; then
2936 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2937 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2938 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2940 if test "${ac_cv_prog_CC+set}" = set; then
2941 echo $ECHO_N "(cached) $ECHO_C" >&6
2943 if test -n "$CC"; then
2944 ac_cv_prog_CC="$CC" # Let the user override the test.
2946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2950 test -z "$as_dir" && as_dir=.
2951 for ac_exec_ext in '' $ac_executable_extensions; do
2952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2953 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2964 if test -n "$CC"; then
2965 { echo "$as_me:$LINENO: result: $CC" >&5
2966 echo "${ECHO_T}$CC" >&6; }
2968 { echo "$as_me:$LINENO: result: no" >&5
2969 echo "${ECHO_T}no" >&6; }
2974 if test -z "$ac_cv_prog_CC"; then
2976 # Extract the first word of "gcc", so it can be a program name with args.
2977 set dummy gcc; ac_word=$2
2978 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2980 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2981 echo $ECHO_N "(cached) $ECHO_C" >&6
2983 if test -n "$ac_ct_CC"; then
2984 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2990 test -z "$as_dir" && as_dir=.
2991 for ac_exec_ext in '' $ac_executable_extensions; do
2992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2993 ac_cv_prog_ac_ct_CC="gcc"
2994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3003 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3004 if test -n "$ac_ct_CC"; then
3005 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3006 echo "${ECHO_T}$ac_ct_CC" >&6; }
3008 { echo "$as_me:$LINENO: result: no" >&5
3009 echo "${ECHO_T}no" >&6; }
3012 if test "x$ac_ct_CC" = x; then
3015 case $cross_compiling:$ac_tool_warned in
3017 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3018 whose name does not start with the host triplet. If you think this
3019 configuration is useful to you, please write to autoconf@gnu.org." >&5
3020 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3021 whose name does not start with the host triplet. If you think this
3022 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3023 ac_tool_warned=yes ;;
3031 if test -z "$CC"; then
3032 if test -n "$ac_tool_prefix"; then
3033 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3034 set dummy ${ac_tool_prefix}cc; ac_word=$2
3035 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3037 if test "${ac_cv_prog_CC+set}" = set; then
3038 echo $ECHO_N "(cached) $ECHO_C" >&6
3040 if test -n "$CC"; then
3041 ac_cv_prog_CC="$CC" # Let the user override the test.
3043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3047 test -z "$as_dir" && as_dir=.
3048 for ac_exec_ext in '' $ac_executable_extensions; do
3049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3050 ac_cv_prog_CC="${ac_tool_prefix}cc"
3051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3061 if test -n "$CC"; then
3062 { echo "$as_me:$LINENO: result: $CC" >&5
3063 echo "${ECHO_T}$CC" >&6; }
3065 { echo "$as_me:$LINENO: result: no" >&5
3066 echo "${ECHO_T}no" >&6; }
3072 if test -z "$CC"; then
3073 # Extract the first word of "cc", so it can be a program name with args.
3074 set dummy cc; ac_word=$2
3075 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3077 if test "${ac_cv_prog_CC+set}" = set; then
3078 echo $ECHO_N "(cached) $ECHO_C" >&6
3080 if test -n "$CC"; then
3081 ac_cv_prog_CC="$CC" # Let the user override the test.
3084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3088 test -z "$as_dir" && as_dir=.
3089 for ac_exec_ext in '' $ac_executable_extensions; do
3090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3091 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3092 ac_prog_rejected=yes
3096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3103 if test $ac_prog_rejected = yes; then
3104 # We found a bogon in the path, so make sure we never use it.
3105 set dummy $ac_cv_prog_CC
3107 if test $# != 0; then
3108 # We chose a different compiler from the bogus one.
3109 # However, it has the same basename, so the bogon will be chosen
3110 # first if we set CC to just the basename; use the full file name.
3112 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3118 if test -n "$CC"; then
3119 { echo "$as_me:$LINENO: result: $CC" >&5
3120 echo "${ECHO_T}$CC" >&6; }
3122 { echo "$as_me:$LINENO: result: no" >&5
3123 echo "${ECHO_T}no" >&6; }
3128 if test -z "$CC"; then
3129 if test -n "$ac_tool_prefix"; then
3130 for ac_prog in cl.exe
3132 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3133 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3136 if test "${ac_cv_prog_CC+set}" = set; then
3137 echo $ECHO_N "(cached) $ECHO_C" >&6
3139 if test -n "$CC"; then
3140 ac_cv_prog_CC="$CC" # Let the user override the test.
3142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3146 test -z "$as_dir" && as_dir=.
3147 for ac_exec_ext in '' $ac_executable_extensions; do
3148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3149 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3160 if test -n "$CC"; then
3161 { echo "$as_me:$LINENO: result: $CC" >&5
3162 echo "${ECHO_T}$CC" >&6; }
3164 { echo "$as_me:$LINENO: result: no" >&5
3165 echo "${ECHO_T}no" >&6; }
3169 test -n "$CC" && break
3172 if test -z "$CC"; then
3174 for ac_prog in cl.exe
3176 # Extract the first word of "$ac_prog", so it can be a program name with args.
3177 set dummy $ac_prog; ac_word=$2
3178 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3180 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3181 echo $ECHO_N "(cached) $ECHO_C" >&6
3183 if test -n "$ac_ct_CC"; then
3184 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3190 test -z "$as_dir" && as_dir=.
3191 for ac_exec_ext in '' $ac_executable_extensions; do
3192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3193 ac_cv_prog_ac_ct_CC="$ac_prog"
3194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3203 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3204 if test -n "$ac_ct_CC"; then
3205 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3206 echo "${ECHO_T}$ac_ct_CC" >&6; }
3208 { echo "$as_me:$LINENO: result: no" >&5
3209 echo "${ECHO_T}no" >&6; }
3213 test -n "$ac_ct_CC" && break
3216 if test "x$ac_ct_CC" = x; then
3219 case $cross_compiling:$ac_tool_warned in
3221 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3222 whose name does not start with the host triplet. If you think this
3223 configuration is useful to you, please write to autoconf@gnu.org." >&5
3224 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3225 whose name does not start with the host triplet. If you think this
3226 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3227 ac_tool_warned=yes ;;
3236 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3237 See \`config.log' for more details." >&5
3238 echo "$as_me: error: no acceptable C compiler found in \$PATH
3239 See \`config.log' for more details." >&2;}
3240 { (exit 1); exit 1; }; }
3242 # Provide some information about the compiler.
3243 echo "$as_me:$LINENO: checking for C compiler version" >&5
3244 ac_compiler=`set X $ac_compile; echo $2`
3245 { (ac_try="$ac_compiler --version >&5"
3247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3248 *) ac_try_echo=$ac_try;;
3250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3251 (eval "$ac_compiler --version >&5") 2>&5
3253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3254 (exit $ac_status); }
3255 { (ac_try="$ac_compiler -v >&5"
3257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3258 *) ac_try_echo=$ac_try;;
3260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3261 (eval "$ac_compiler -v >&5") 2>&5
3263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3264 (exit $ac_status); }
3265 { (ac_try="$ac_compiler -V >&5"
3267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3268 *) ac_try_echo=$ac_try;;
3270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3271 (eval "$ac_compiler -V >&5") 2>&5
3273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3274 (exit $ac_status); }
3276 cat >conftest.$ac_ext <<_ACEOF
3279 cat confdefs.h >>conftest.$ac_ext
3280 cat >>conftest.$ac_ext <<_ACEOF
3281 /* end confdefs.h. */
3291 ac_clean_files_save=$ac_clean_files
3292 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3293 # Try to create an executable without -o first, disregard a.out.
3294 # It will help us diagnose broken compilers, and finding out an intuition
3296 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3297 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3298 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3300 # List of possible output files, starting from the most likely.
3301 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3302 # only as a last resort. b.out is created by i960 compilers.
3303 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3305 # The IRIX 6 linker writes into existing files which may not be
3306 # executable, retaining their permissions. Remove them first so a
3307 # subsequent execution test works.
3309 for ac_file in $ac_files
3312 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3313 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3318 if { (ac_try="$ac_link_default"
3320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3321 *) ac_try_echo=$ac_try;;
3323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3324 (eval "$ac_link_default") 2>&5
3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327 (exit $ac_status); }; then
3328 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3329 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3330 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3331 # so that the user can short-circuit this test for compilers unknown to
3333 for ac_file in $ac_files ''
3335 test -f "$ac_file" || continue
3337 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3340 # We found the default executable, but exeext='' is most
3344 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3346 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3348 # We set ac_cv_exeext here because the later test for it is not
3349 # safe: cross compilers may not add the suffix if given an `-o'
3350 # argument, so we may need to know it at that point already.
3351 # Even if this section looks crufty: it has the advantage of
3358 test "$ac_cv_exeext" = no && ac_cv_exeext=
3364 { echo "$as_me:$LINENO: result: $ac_file" >&5
3365 echo "${ECHO_T}$ac_file" >&6; }
3366 if test -z "$ac_file"; then
3367 echo "$as_me: failed program was:" >&5
3368 sed 's/^/| /' conftest.$ac_ext >&5
3370 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3371 See \`config.log' for more details." >&5
3372 echo "$as_me: error: C compiler cannot create executables
3373 See \`config.log' for more details." >&2;}
3374 { (exit 77); exit 77; }; }
3377 ac_exeext=$ac_cv_exeext
3379 # Check that the compiler produces executables we can run. If not, either
3380 # the compiler is broken, or we cross compile.
3381 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3382 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3383 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3384 # If not cross compiling, check that we can run a simple program.
3385 if test "$cross_compiling" != yes; then
3386 if { ac_try='./$ac_file'
3387 { (case "(($ac_try" in
3388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3389 *) ac_try_echo=$ac_try;;
3391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3392 (eval "$ac_try") 2>&5
3394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3395 (exit $ac_status); }; }; then
3398 if test "$cross_compiling" = maybe; then
3401 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3402 If you meant to cross compile, use \`--host'.
3403 See \`config.log' for more details." >&5
3404 echo "$as_me: error: cannot run C compiled programs.
3405 If you meant to cross compile, use \`--host'.
3406 See \`config.log' for more details." >&2;}
3407 { (exit 1); exit 1; }; }
3411 { echo "$as_me:$LINENO: result: yes" >&5
3412 echo "${ECHO_T}yes" >&6; }
3414 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3415 ac_clean_files=$ac_clean_files_save
3416 # Check that the compiler produces executables we can run. If not, either
3417 # the compiler is broken, or we cross compile.
3418 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3419 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3420 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3421 echo "${ECHO_T}$cross_compiling" >&6; }
3423 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3424 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3425 if { (ac_try="$ac_link"
3427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3428 *) ac_try_echo=$ac_try;;
3430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3431 (eval "$ac_link") 2>&5
3433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3434 (exit $ac_status); }; then
3435 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3436 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3437 # work properly (i.e., refer to `conftest.exe'), while it won't with
3439 for ac_file in conftest.exe conftest conftest.*; do
3440 test -f "$ac_file" || continue
3442 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3443 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3449 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3450 See \`config.log' for more details." >&5
3451 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3452 See \`config.log' for more details." >&2;}
3453 { (exit 1); exit 1; }; }
3456 rm -f conftest$ac_cv_exeext
3457 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3458 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3460 rm -f conftest.$ac_ext
3461 EXEEXT=$ac_cv_exeext
3463 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3464 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3465 if test "${ac_cv_objext+set}" = set; then
3466 echo $ECHO_N "(cached) $ECHO_C" >&6
3468 cat >conftest.$ac_ext <<_ACEOF
3471 cat confdefs.h >>conftest.$ac_ext
3472 cat >>conftest.$ac_ext <<_ACEOF
3473 /* end confdefs.h. */
3483 rm -f conftest.o conftest.obj
3484 if { (ac_try="$ac_compile"
3486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3487 *) ac_try_echo=$ac_try;;
3489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3490 (eval "$ac_compile") 2>&5
3492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3493 (exit $ac_status); }; then
3494 for ac_file in conftest.o conftest.obj conftest.*; do
3495 test -f "$ac_file" || continue;
3497 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3498 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3503 echo "$as_me: failed program was:" >&5
3504 sed 's/^/| /' conftest.$ac_ext >&5
3506 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3507 See \`config.log' for more details." >&5
3508 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3509 See \`config.log' for more details." >&2;}
3510 { (exit 1); exit 1; }; }
3513 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3515 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3516 echo "${ECHO_T}$ac_cv_objext" >&6; }
3517 OBJEXT=$ac_cv_objext
3519 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3520 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3521 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3522 echo $ECHO_N "(cached) $ECHO_C" >&6
3524 cat >conftest.$ac_ext <<_ACEOF
3527 cat confdefs.h >>conftest.$ac_ext
3528 cat >>conftest.$ac_ext <<_ACEOF
3529 /* end confdefs.h. */
3542 rm -f conftest.$ac_objext
3543 if { (ac_try="$ac_compile"
3545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3546 *) ac_try_echo=$ac_try;;
3548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3549 (eval "$ac_compile") 2>conftest.er1
3551 grep -v '^ *+' conftest.er1 >conftest.err
3553 cat conftest.err >&5
3554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3555 (exit $ac_status); } && {
3556 test -z "$ac_c_werror_flag" ||
3557 test ! -s conftest.err
3558 } && test -s conftest.$ac_objext; then
3561 echo "$as_me: failed program was:" >&5
3562 sed 's/^/| /' conftest.$ac_ext >&5
3567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3568 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3571 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3572 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3573 GCC=`test $ac_compiler_gnu = yes && echo yes`
3574 ac_test_CFLAGS=${CFLAGS+set}
3575 ac_save_CFLAGS=$CFLAGS
3576 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3577 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3578 if test "${ac_cv_prog_cc_g+set}" = set; then
3579 echo $ECHO_N "(cached) $ECHO_C" >&6
3581 ac_save_c_werror_flag=$ac_c_werror_flag
3582 ac_c_werror_flag=yes
3585 cat >conftest.$ac_ext <<_ACEOF
3588 cat confdefs.h >>conftest.$ac_ext
3589 cat >>conftest.$ac_ext <<_ACEOF
3590 /* end confdefs.h. */
3600 rm -f conftest.$ac_objext
3601 if { (ac_try="$ac_compile"
3603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3604 *) ac_try_echo=$ac_try;;
3606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3607 (eval "$ac_compile") 2>conftest.er1
3609 grep -v '^ *+' conftest.er1 >conftest.err
3611 cat conftest.err >&5
3612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613 (exit $ac_status); } && {
3614 test -z "$ac_c_werror_flag" ||
3615 test ! -s conftest.err
3616 } && test -s conftest.$ac_objext; then
3619 echo "$as_me: failed program was:" >&5
3620 sed 's/^/| /' conftest.$ac_ext >&5
3623 cat >conftest.$ac_ext <<_ACEOF
3626 cat confdefs.h >>conftest.$ac_ext
3627 cat >>conftest.$ac_ext <<_ACEOF
3628 /* end confdefs.h. */
3638 rm -f conftest.$ac_objext
3639 if { (ac_try="$ac_compile"
3641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3642 *) ac_try_echo=$ac_try;;
3644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3645 (eval "$ac_compile") 2>conftest.er1
3647 grep -v '^ *+' conftest.er1 >conftest.err
3649 cat conftest.err >&5
3650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3651 (exit $ac_status); } && {
3652 test -z "$ac_c_werror_flag" ||
3653 test ! -s conftest.err
3654 } && test -s conftest.$ac_objext; then
3657 echo "$as_me: failed program was:" >&5
3658 sed 's/^/| /' conftest.$ac_ext >&5
3660 ac_c_werror_flag=$ac_save_c_werror_flag
3662 cat >conftest.$ac_ext <<_ACEOF
3665 cat confdefs.h >>conftest.$ac_ext
3666 cat >>conftest.$ac_ext <<_ACEOF
3667 /* end confdefs.h. */
3677 rm -f conftest.$ac_objext
3678 if { (ac_try="$ac_compile"
3680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3681 *) ac_try_echo=$ac_try;;
3683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3684 (eval "$ac_compile") 2>conftest.er1
3686 grep -v '^ *+' conftest.er1 >conftest.err
3688 cat conftest.err >&5
3689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3690 (exit $ac_status); } && {
3691 test -z "$ac_c_werror_flag" ||
3692 test ! -s conftest.err
3693 } && test -s conftest.$ac_objext; then
3696 echo "$as_me: failed program was:" >&5
3697 sed 's/^/| /' conftest.$ac_ext >&5
3702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3709 ac_c_werror_flag=$ac_save_c_werror_flag
3711 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3712 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3713 if test "$ac_test_CFLAGS" = set; then
3714 CFLAGS=$ac_save_CFLAGS
3715 elif test $ac_cv_prog_cc_g = yes; then
3716 if test "$GCC" = yes; then
3722 if test "$GCC" = yes; then
3728 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3729 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3730 if test "${ac_cv_prog_cc_c89+set}" = set; then
3731 echo $ECHO_N "(cached) $ECHO_C" >&6
3733 ac_cv_prog_cc_c89=no
3735 cat >conftest.$ac_ext <<_ACEOF
3738 cat confdefs.h >>conftest.$ac_ext
3739 cat >>conftest.$ac_ext <<_ACEOF
3740 /* end confdefs.h. */
3743 #include <sys/types.h>
3744 #include <sys/stat.h>
3745 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3746 struct buf { int x; };
3747 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3748 static char *e (p, i)
3754 static char *f (char * (*g) (char **, int), char **p, ...)
3759 s = g (p, va_arg (v,int));
3764 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3765 function prototypes and stuff, but not '\xHH' hex character constants.
3766 These don't provoke an error unfortunately, instead are silently treated
3767 as 'x'. The following induces an error, until -std is added to get
3768 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3769 array size at least. It's necessary to write '\x00'==0 to get something
3770 that's true only with -std. */
3771 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3773 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3774 inside strings and character constants. */
3776 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3778 int test (int i, double x);
3779 struct s1 {int (*f) (int a);};
3780 struct s2 {int (*f) (double a);};
3781 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3787 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3792 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3793 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3795 CC="$ac_save_CC $ac_arg"
3796 rm -f conftest.$ac_objext
3797 if { (ac_try="$ac_compile"
3799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3800 *) ac_try_echo=$ac_try;;
3802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3803 (eval "$ac_compile") 2>conftest.er1
3805 grep -v '^ *+' conftest.er1 >conftest.err
3807 cat conftest.err >&5
3808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809 (exit $ac_status); } && {
3810 test -z "$ac_c_werror_flag" ||
3811 test ! -s conftest.err
3812 } && test -s conftest.$ac_objext; then
3813 ac_cv_prog_cc_c89=$ac_arg
3815 echo "$as_me: failed program was:" >&5
3816 sed 's/^/| /' conftest.$ac_ext >&5
3821 rm -f core conftest.err conftest.$ac_objext
3822 test "x$ac_cv_prog_cc_c89" != "xno" && break
3824 rm -f conftest.$ac_ext
3829 case "x$ac_cv_prog_cc_c89" in
3831 { echo "$as_me:$LINENO: result: none needed" >&5
3832 echo "${ECHO_T}none needed" >&6; } ;;
3834 { echo "$as_me:$LINENO: result: unsupported" >&5
3835 echo "${ECHO_T}unsupported" >&6; } ;;
3837 CC="$CC $ac_cv_prog_cc_c89"
3838 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3839 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3844 ac_cpp='$CPP $CPPFLAGS'
3845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3849 depcc="$CC" am_compiler_list=
3851 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3852 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3853 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3854 echo $ECHO_N "(cached) $ECHO_C" >&6
3856 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3857 # We make a subdir and do the tests there. Otherwise we can end up
3858 # making bogus files that we don't know about and never remove. For
3859 # instance it was reported that on HP-UX the gcc test will end up
3860 # making a dummy file named `D' -- because `-MD' means `put the output
3863 # Copy depcomp to subdir because otherwise we won't find it if we're
3864 # using a relative directory.
3865 cp "$am_depcomp" conftest.dir
3867 # We will build objects and dependencies in a subdirectory because
3868 # it helps to detect inapplicable dependency modes. For instance
3869 # both Tru64's cc and ICC support -MD to output dependencies as a
3870 # side effect of compilation, but ICC will put the dependencies in
3871 # the current directory while Tru64 will put them in the object
3875 am_cv_CC_dependencies_compiler_type=none
3876 if test "$am_compiler_list" = ""; then
3877 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3879 for depmode in $am_compiler_list; do
3880 # Setup a source with many dependencies, because some compilers
3881 # like to wrap large dependency lists on column 80 (with \), and
3882 # we should not choose a depcomp mode which is confused by this.
3884 # We need to recreate these files for each test, as the compiler may
3885 # overwrite some of them when testing with obscure command lines.
3886 # This happens at least with the AIX C compiler.
3888 for i in 1 2 3 4 5 6; do
3889 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3890 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3891 # Solaris 8's {/usr,}/bin/sh.
3892 touch sub/conftst$i.h
3894 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3898 # after this tag, mechanisms are not by side-effect, so they'll
3899 # only be used when explicitly requested
3900 if test "x$enable_dependency_tracking" = xyes; then
3908 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3909 # mode. It turns out that the SunPro C++ compiler does not properly
3910 # handle `-M -o', and we need to detect this.
3911 if depmode=$depmode \
3912 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3913 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3914 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3915 >/dev/null 2>conftest.err &&
3916 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3917 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3918 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3919 # icc doesn't choke on unknown options, it will just issue warnings
3920 # or remarks (even with -Werror). So we grep stderr for any message
3921 # that says an option was ignored or not supported.
3922 # When given -MP, icc 7.0 and 7.1 complain thusly:
3923 # icc: Command line warning: ignoring option '-M'; no argument required
3924 # The diagnosis changed in icc 8.0:
3925 # icc: Command line remark: option '-MP' not supported
3926 if (grep 'ignoring option' conftest.err ||
3927 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3928 am_cv_CC_dependencies_compiler_type=$depmode
3937 am_cv_CC_dependencies_compiler_type=none
3941 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3942 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3943 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3948 test "x$enable_dependency_tracking" != xno \
3949 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3951 am__fastdepCC_FALSE='#'
3953 am__fastdepCC_TRUE='#'
3954 am__fastdepCC_FALSE=
3958 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3959 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3960 if test "${ac_cv_path_SED+set}" = set; then
3961 echo $ECHO_N "(cached) $ECHO_C" >&6
3963 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3964 for ac_i in 1 2 3 4 5 6 7; do
3965 ac_script="$ac_script$as_nl$ac_script"
3967 echo "$ac_script" | sed 99q >conftest.sed
3968 $as_unset ac_script || ac_script=
3969 # Extract the first word of "sed gsed" to use in msg output
3970 if test -z "$SED"; then
3971 set dummy sed gsed; ac_prog_name=$2
3972 if test "${ac_cv_path_SED+set}" = set; then
3973 echo $ECHO_N "(cached) $ECHO_C" >&6
3975 ac_path_SED_found=false
3976 # Loop through the user's path and test for each of PROGNAME-LIST
3977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3981 test -z "$as_dir" && as_dir=.
3982 for ac_prog in sed gsed; do
3983 for ac_exec_ext in '' $ac_executable_extensions; do
3984 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3985 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3986 # Check for GNU ac_path_SED and select it if it is found.
3987 # Check for GNU $ac_path_SED
3988 case `"$ac_path_SED" --version 2>&1` in
3990 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3993 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3996 cat "conftest.in" "conftest.in" >"conftest.tmp"
3997 mv "conftest.tmp" "conftest.in"
3998 cp "conftest.in" "conftest.nl"
3999 echo '' >> "conftest.nl"
4000 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4001 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4002 ac_count=`expr $ac_count + 1`
4003 if test $ac_count -gt ${ac_path_SED_max-0}; then
4004 # Best one so far, save it but keep looking for a better one
4005 ac_cv_path_SED="$ac_path_SED"
4006 ac_path_SED_max=$ac_count
4008 # 10*(2^10) chars as input seems more than enough
4009 test $ac_count -gt 10 && break
4011 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4015 $ac_path_SED_found && break 3
4025 SED="$ac_cv_path_SED"
4026 if test -z "$SED"; then
4027 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
4028 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
4029 { (exit 1); exit 1; }; }
4037 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4038 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
4039 SED="$ac_cv_path_SED"
4042 test -z "$SED" && SED=sed
4043 Xsed="$SED -e 1s/^X//"
4055 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4056 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4057 if test "${ac_cv_path_GREP+set}" = set; then
4058 echo $ECHO_N "(cached) $ECHO_C" >&6
4060 # Extract the first word of "grep ggrep" to use in msg output
4061 if test -z "$GREP"; then
4062 set dummy grep ggrep; ac_prog_name=$2
4063 if test "${ac_cv_path_GREP+set}" = set; then
4064 echo $ECHO_N "(cached) $ECHO_C" >&6
4066 ac_path_GREP_found=false
4067 # Loop through the user's path and test for each of PROGNAME-LIST
4068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4069 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4072 test -z "$as_dir" && as_dir=.
4073 for ac_prog in grep ggrep; do
4074 for ac_exec_ext in '' $ac_executable_extensions; do
4075 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4076 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4077 # Check for GNU ac_path_GREP and select it if it is found.
4078 # Check for GNU $ac_path_GREP
4079 case `"$ac_path_GREP" --version 2>&1` in
4081 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4084 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4087 cat "conftest.in" "conftest.in" >"conftest.tmp"
4088 mv "conftest.tmp" "conftest.in"
4089 cp "conftest.in" "conftest.nl"
4090 echo 'GREP' >> "conftest.nl"
4091 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4092 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4093 ac_count=`expr $ac_count + 1`
4094 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4095 # Best one so far, save it but keep looking for a better one
4096 ac_cv_path_GREP="$ac_path_GREP"
4097 ac_path_GREP_max=$ac_count
4099 # 10*(2^10) chars as input seems more than enough
4100 test $ac_count -gt 10 && break
4102 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4106 $ac_path_GREP_found && break 3
4116 GREP="$ac_cv_path_GREP"
4117 if test -z "$GREP"; then
4118 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4119 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4120 { (exit 1); exit 1; }; }
4124 ac_cv_path_GREP=$GREP
4129 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4130 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4131 GREP="$ac_cv_path_GREP"
4134 { echo "$as_me:$LINENO: checking for egrep" >&5
4135 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4136 if test "${ac_cv_path_EGREP+set}" = set; then
4137 echo $ECHO_N "(cached) $ECHO_C" >&6
4139 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4140 then ac_cv_path_EGREP="$GREP -E"
4142 # Extract the first word of "egrep" to use in msg output
4143 if test -z "$EGREP"; then
4144 set dummy egrep; ac_prog_name=$2
4145 if test "${ac_cv_path_EGREP+set}" = set; then
4146 echo $ECHO_N "(cached) $ECHO_C" >&6
4148 ac_path_EGREP_found=false
4149 # Loop through the user's path and test for each of PROGNAME-LIST
4150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4151 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4154 test -z "$as_dir" && as_dir=.
4155 for ac_prog in egrep; do
4156 for ac_exec_ext in '' $ac_executable_extensions; do
4157 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4158 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4159 # Check for GNU ac_path_EGREP and select it if it is found.
4160 # Check for GNU $ac_path_EGREP
4161 case `"$ac_path_EGREP" --version 2>&1` in
4163 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4166 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4169 cat "conftest.in" "conftest.in" >"conftest.tmp"
4170 mv "conftest.tmp" "conftest.in"
4171 cp "conftest.in" "conftest.nl"
4172 echo 'EGREP' >> "conftest.nl"
4173 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4174 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4175 ac_count=`expr $ac_count + 1`
4176 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4177 # Best one so far, save it but keep looking for a better one
4178 ac_cv_path_EGREP="$ac_path_EGREP"
4179 ac_path_EGREP_max=$ac_count
4181 # 10*(2^10) chars as input seems more than enough
4182 test $ac_count -gt 10 && break
4184 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4188 $ac_path_EGREP_found && break 3
4198 EGREP="$ac_cv_path_EGREP"
4199 if test -z "$EGREP"; then
4200 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4201 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4202 { (exit 1); exit 1; }; }
4206 ac_cv_path_EGREP=$EGREP
4212 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4213 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4214 EGREP="$ac_cv_path_EGREP"
4217 { echo "$as_me:$LINENO: checking for fgrep" >&5
4218 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
4219 if test "${ac_cv_path_FGREP+set}" = set; then
4220 echo $ECHO_N "(cached) $ECHO_C" >&6
4222 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4223 then ac_cv_path_FGREP="$GREP -F"
4225 # Extract the first word of "fgrep" to use in msg output
4226 if test -z "$FGREP"; then
4227 set dummy fgrep; ac_prog_name=$2
4228 if test "${ac_cv_path_FGREP+set}" = set; then
4229 echo $ECHO_N "(cached) $ECHO_C" >&6
4231 ac_path_FGREP_found=false
4232 # Loop through the user's path and test for each of PROGNAME-LIST
4233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4234 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4237 test -z "$as_dir" && as_dir=.
4238 for ac_prog in fgrep; do
4239 for ac_exec_ext in '' $ac_executable_extensions; do
4240 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4241 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4242 # Check for GNU ac_path_FGREP and select it if it is found.
4243 # Check for GNU $ac_path_FGREP
4244 case `"$ac_path_FGREP" --version 2>&1` in
4246 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4249 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4252 cat "conftest.in" "conftest.in" >"conftest.tmp"
4253 mv "conftest.tmp" "conftest.in"
4254 cp "conftest.in" "conftest.nl"
4255 echo 'FGREP' >> "conftest.nl"
4256 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4257 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4258 ac_count=`expr $ac_count + 1`
4259 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4260 # Best one so far, save it but keep looking for a better one
4261 ac_cv_path_FGREP="$ac_path_FGREP"
4262 ac_path_FGREP_max=$ac_count
4264 # 10*(2^10) chars as input seems more than enough
4265 test $ac_count -gt 10 && break
4267 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4271 $ac_path_FGREP_found && break 3
4281 FGREP="$ac_cv_path_FGREP"
4282 if test -z "$FGREP"; then
4283 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4284 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4285 { (exit 1); exit 1; }; }
4289 ac_cv_path_FGREP=$FGREP
4295 { echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4296 echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
4297 FGREP="$ac_cv_path_FGREP"
4300 test -z "$GREP" && GREP=grep
4320 # Check whether --with-gnu-ld was given.
4321 if test "${with_gnu_ld+set}" = set; then
4322 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4328 if test "$GCC" = yes; then
4329 # Check if gcc -print-prog-name=ld gives a path.
4330 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4331 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4334 # gcc leaves a trailing carriage return which upsets mingw
4335 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4337 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4340 # Accept absolute paths.
4342 re_direlt='/[^/][^/]*/\.\./'
4343 # Canonicalize the pathname of ld
4344 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4345 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4346 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4348 test -z "$LD" && LD="$ac_prog"
4351 # If it fails, then pretend we aren't using GCC.
4355 # If it is relative, then search for the first ld in PATH.
4359 elif test "$with_gnu_ld" = yes; then
4360 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4361 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4363 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4364 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4366 if test "${lt_cv_path_LD+set}" = set; then
4367 echo $ECHO_N "(cached) $ECHO_C" >&6
4369 if test -z "$LD"; then
4370 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4371 for ac_dir in $PATH; do
4373 test -z "$ac_dir" && ac_dir=.
4374 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4375 lt_cv_path_LD="$ac_dir/$ac_prog"
4376 # Check to see if the program is GNU ld. I'd rather use --version,
4377 # but apparently some variants of GNU ld only accept -v.
4378 # Break only if it was the GNU/non-GNU ld that we prefer.
4379 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4380 *GNU* | *'with BFD'*)
4381 test "$with_gnu_ld" != no && break
4384 test "$with_gnu_ld" != yes && break
4391 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4396 if test -n "$LD"; then
4397 { echo "$as_me:$LINENO: result: $LD" >&5
4398 echo "${ECHO_T}$LD" >&6; }
4400 { echo "$as_me:$LINENO: result: no" >&5
4401 echo "${ECHO_T}no" >&6; }
4403 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4404 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4405 { (exit 1); exit 1; }; }
4406 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4407 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4408 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4409 echo $ECHO_N "(cached) $ECHO_C" >&6
4411 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4412 case `$LD -v 2>&1 </dev/null` in
4413 *GNU* | *'with BFD'*)
4414 lt_cv_prog_gnu_ld=yes
4417 lt_cv_prog_gnu_ld=no
4421 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4422 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4423 with_gnu_ld=$lt_cv_prog_gnu_ld
4433 { echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4434 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
4435 if test "${lt_cv_path_NM+set}" = set; then
4436 echo $ECHO_N "(cached) $ECHO_C" >&6
4438 if test -n "$NM"; then
4439 # Let the user override the test.
4442 lt_nm_to_check="${ac_tool_prefix}nm"
4443 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4444 lt_nm_to_check="$lt_nm_to_check nm"
4446 for lt_tmp_nm in $lt_nm_to_check; do
4447 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4448 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4450 test -z "$ac_dir" && ac_dir=.
4451 tmp_nm="$ac_dir/$lt_tmp_nm"
4452 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4453 # Check to see if the nm accepts a BSD-compat flag.
4454 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4455 # nm: unknown option "B" ignored
4456 # Tru64's nm complains that /dev/null is an invalid object file
4457 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4458 */dev/null* | *'Invalid file or object type'*)
4459 lt_cv_path_NM="$tmp_nm -B"
4463 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4465 lt_cv_path_NM="$tmp_nm -p"
4469 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4470 continue # so that we can try to find one that supports BSD flags
4479 : ${lt_cv_path_NM=no}
4482 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4483 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4484 if test "$lt_cv_path_NM" != "no"; then
4487 # Didn't find any BSD compatible name lister, look for dumpbin.
4488 if test -n "$ac_tool_prefix"; then
4489 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4491 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4492 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4493 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4495 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4496 echo $ECHO_N "(cached) $ECHO_C" >&6
4498 if test -n "$DUMPBIN"; then
4499 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4505 test -z "$as_dir" && as_dir=.
4506 for ac_exec_ext in '' $ac_executable_extensions; do
4507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4508 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4518 DUMPBIN=$ac_cv_prog_DUMPBIN
4519 if test -n "$DUMPBIN"; then
4520 { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4521 echo "${ECHO_T}$DUMPBIN" >&6; }
4523 { echo "$as_me:$LINENO: result: no" >&5
4524 echo "${ECHO_T}no" >&6; }
4528 test -n "$DUMPBIN" && break
4531 if test -z "$DUMPBIN"; then
4532 ac_ct_DUMPBIN=$DUMPBIN
4533 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4535 # Extract the first word of "$ac_prog", so it can be a program name with args.
4536 set dummy $ac_prog; ac_word=$2
4537 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4539 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4540 echo $ECHO_N "(cached) $ECHO_C" >&6
4542 if test -n "$ac_ct_DUMPBIN"; then
4543 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4549 test -z "$as_dir" && as_dir=.
4550 for ac_exec_ext in '' $ac_executable_extensions; do
4551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4552 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4562 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4563 if test -n "$ac_ct_DUMPBIN"; then
4564 { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4565 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
4567 { echo "$as_me:$LINENO: result: no" >&5
4568 echo "${ECHO_T}no" >&6; }
4572 test -n "$ac_ct_DUMPBIN" && break
4575 if test "x$ac_ct_DUMPBIN" = x; then
4578 case $cross_compiling:$ac_tool_warned in
4580 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4581 whose name does not start with the host triplet. If you think this
4582 configuration is useful to you, please write to autoconf@gnu.org." >&5
4583 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4584 whose name does not start with the host triplet. If you think this
4585 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4586 ac_tool_warned=yes ;;
4588 DUMPBIN=$ac_ct_DUMPBIN
4593 if test "$DUMPBIN" != ":"; then
4597 test -z "$NM" && NM=nm
4604 { echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4605 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
4606 if test "${lt_cv_nm_interface+set}" = set; then
4607 echo $ECHO_N "(cached) $ECHO_C" >&6
4609 lt_cv_nm_interface="BSD nm"
4610 echo "int some_variable = 0;" > conftest.$ac_ext
4611 (eval echo "\"\$as_me:4611: $ac_compile\"" >&5)
4612 (eval "$ac_compile" 2>conftest.err)
4613 cat conftest.err >&5
4614 (eval echo "\"\$as_me:4614: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4615 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4616 cat conftest.err >&5
4617 (eval echo "\"\$as_me:4617: output\"" >&5)
4618 cat conftest.out >&5
4619 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4620 lt_cv_nm_interface="MS dumpbin"
4624 { echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4625 echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
4627 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4628 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4630 if test "$LN_S" = "ln -s"; then
4631 { echo "$as_me:$LINENO: result: yes" >&5
4632 echo "${ECHO_T}yes" >&6; }
4634 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4635 echo "${ECHO_T}no, using $LN_S" >&6; }
4638 # find the maximum length of command line arguments
4639 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4640 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
4641 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4642 echo $ECHO_N "(cached) $ECHO_C" >&6
4649 # On DJGPP, this test can blow up pretty badly due to problems in libc
4650 # (any single argument exceeding 2000 bytes causes a buffer overrun
4651 # during glob expansion). Even if it were fixed, the result of this
4652 # check would be larger than it should be.
4653 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4657 # Under GNU Hurd, this test is not required because there is
4658 # no limit to the length of command line arguments.
4659 # Libtool will interpret -1 as no limit whatsoever
4660 lt_cv_sys_max_cmd_len=-1;
4664 # On Win9x/ME, this test blows up -- it succeeds, but takes
4665 # about 5 minutes as the teststring grows exponentially.
4666 # Worse, since 9x/ME are not pre-emptively multitasking,
4667 # you end up with a "frozen" computer, even though with patience
4668 # the test eventually succeeds (with a max line length of 256k).
4669 # Instead, let's just punt: use the minimum linelength reported by
4670 # all of the supported platforms: 8192 (on NT/2K/XP).
4671 lt_cv_sys_max_cmd_len=8192;
4675 # On AmigaOS with pdksh, this test takes hours, literally.
4676 # So we just punt and use a minimum line length of 8192.
4677 lt_cv_sys_max_cmd_len=8192;
4680 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4681 # This has been around since 386BSD, at least. Likely further.
4682 if test -x /sbin/sysctl; then
4683 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4684 elif test -x /usr/sbin/sysctl; then
4685 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4687 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4689 # And add a safety zone
4690 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4691 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4695 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4696 lt_cv_sys_max_cmd_len=196608
4700 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4701 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4702 # nice to cause kernel panics so lets avoid the loop below.
4703 # First set a reasonable default.
4704 lt_cv_sys_max_cmd_len=16384
4706 if test -x /sbin/sysconfig; then
4707 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4708 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4713 lt_cv_sys_max_cmd_len=102400
4715 sysv5* | sco5v6* | sysv4.2uw2*)
4716 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4717 if test -n "$kargmax"; then
4718 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4720 lt_cv_sys_max_cmd_len=32768
4724 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4725 if test -n "$lt_cv_sys_max_cmd_len"; then
4726 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4727 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4729 # Make teststring a little bigger before we do anything with it.
4730 # a 1K string should be a reasonable start.
4731 for i in 1 2 3 4 5 6 7 8 ; do
4732 teststring=$teststring$teststring
4734 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4735 # If test is not a shell built-in, we'll probably end up computing a
4736 # maximum length that is only half of the actual maximum length, but
4738 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4739 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4740 test $i != 17 # 1/2 MB should be enough
4743 teststring=$teststring$teststring
4745 # Only check the string length outside the loop.
4746 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4748 # Add a significant safety factor because C++ compilers can tack on
4749 # massive amounts of additional arguments before passing them to the
4750 # linker. It appears as though 1/2 is a usable value.
4751 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4758 if test -n $lt_cv_sys_max_cmd_len ; then
4759 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4760 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
4762 { echo "$as_me:$LINENO: result: none" >&5
4763 echo "${ECHO_T}none" >&6; }
4765 max_cmd_len=$lt_cv_sys_max_cmd_len
4776 { echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4777 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
4778 # Try some XSI features
4781 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4783 && eval 'test $(( 1 + 1 )) -eq 2 \
4784 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4786 { echo "$as_me:$LINENO: result: $xsi_shell" >&5
4787 echo "${ECHO_T}$xsi_shell" >&6; }
4790 { echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4791 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
4793 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4795 && lt_shell_append=yes
4796 { echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4797 echo "${ECHO_T}$lt_shell_append" >&6; }
4800 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4810 # test EBCDIC or ASCII
4811 case `echo X|tr X '\101'` in
4812 A) # ASCII based system
4813 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4814 lt_SP2NL='tr \040 \012'
4815 lt_NL2SP='tr \015\012 \040\040'
4817 *) # EBCDIC based system
4818 lt_SP2NL='tr \100 \n'
4819 lt_NL2SP='tr \r\n \100\100'
4831 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4832 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4833 if test "${lt_cv_ld_reload_flag+set}" = set; then
4834 echo $ECHO_N "(cached) $ECHO_C" >&6
4836 lt_cv_ld_reload_flag='-r'
4838 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4839 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4840 reload_flag=$lt_cv_ld_reload_flag
4841 case $reload_flag in
4843 *) reload_flag=" $reload_flag" ;;
4845 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4848 if test "$GCC" = yes; then
4849 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4851 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4865 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4866 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4867 if test "${lt_cv_deplibs_check_method+set}" = set; then
4868 echo $ECHO_N "(cached) $ECHO_C" >&6
4870 lt_cv_file_magic_cmd='$MAGIC_CMD'
4871 lt_cv_file_magic_test_file=
4872 lt_cv_deplibs_check_method='unknown'
4873 # Need to set the preceding variable on all platforms that support
4874 # interlibrary dependencies.
4875 # 'none' -- dependencies not supported.
4876 # `unknown' -- same as none, but documents that we really don't know.
4877 # 'pass_all' -- all dependencies passed with no checks.
4878 # 'test_compile' -- check by making test program.
4879 # 'file_magic [[regex]]' -- check by looking for files in library path
4880 # which responds to the $file_magic_cmd with a given extended regex.
4881 # If you have `file' or equivalent on your system and you're not sure
4882 # whether `pass_all' will *always* work, you probably want this one.
4886 lt_cv_deplibs_check_method=pass_all
4890 lt_cv_deplibs_check_method=pass_all
4894 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4895 lt_cv_file_magic_cmd='/usr/bin/file -L'
4896 lt_cv_file_magic_test_file=/shlib/libc.so
4900 # func_win32_libid is a shell function defined in ltmain.sh
4901 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4902 lt_cv_file_magic_cmd='func_win32_libid'
4906 # Base MSYS/MinGW do not provide the 'file' command needed by
4907 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4908 # unless we find 'file', for example because we are cross-compiling.
4909 if ( file / ) >/dev/null 2>&1; then
4910 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4911 lt_cv_file_magic_cmd='func_win32_libid'
4913 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4914 lt_cv_file_magic_cmd='$OBJDUMP -f'
4918 darwin* | rhapsody*)
4919 lt_cv_deplibs_check_method=pass_all
4922 freebsd* | dragonfly*)
4923 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4926 # Not sure whether the presence of OpenBSD here was a mistake.
4927 # Let's accept both of them until this is cleared up.
4928 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4929 lt_cv_file_magic_cmd=/usr/bin/file
4930 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4934 lt_cv_deplibs_check_method=pass_all
4939 lt_cv_deplibs_check_method=pass_all
4942 hpux10.20* | hpux11*)
4943 lt_cv_file_magic_cmd=/usr/bin/file
4946 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4947 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4950 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]'
4951 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4954 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4955 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4961 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4962 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4965 irix5* | irix6* | nonstopux*)
4967 *-32|*"-32 ") libmagic=32-bit;;
4968 *-n32|*"-n32 ") libmagic=N32;;
4969 *-64|*"-64 ") libmagic=64-bit;;
4970 *) libmagic=never-match;;
4972 lt_cv_deplibs_check_method=pass_all
4975 # This must be Linux ELF.
4976 linux* | k*bsd*-gnu)
4977 lt_cv_deplibs_check_method=pass_all
4981 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4982 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4984 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4989 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4990 lt_cv_file_magic_cmd=/usr/bin/file
4991 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4995 lt_cv_deplibs_check_method=pass_all
4999 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5000 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5002 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5006 osf3* | osf4* | osf5*)
5007 lt_cv_deplibs_check_method=pass_all
5011 lt_cv_deplibs_check_method=pass_all
5015 lt_cv_deplibs_check_method=pass_all
5018 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5019 lt_cv_deplibs_check_method=pass_all
5023 case $host_vendor in
5025 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]'
5026 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5029 lt_cv_deplibs_check_method=pass_all
5032 lt_cv_file_magic_cmd='/bin/file'
5033 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5036 lt_cv_file_magic_cmd='/bin/file'
5037 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5038 lt_cv_file_magic_test_file=/lib/libc.so
5041 lt_cv_deplibs_check_method=pass_all
5044 lt_cv_deplibs_check_method=pass_all
5050 lt_cv_deplibs_check_method=pass_all
5055 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5056 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
5057 file_magic_cmd=$lt_cv_file_magic_cmd
5058 deplibs_check_method=$lt_cv_deplibs_check_method
5059 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5072 if test -n "$ac_tool_prefix"; then
5073 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5074 set dummy ${ac_tool_prefix}ar; ac_word=$2
5075 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5077 if test "${ac_cv_prog_AR+set}" = set; then
5078 echo $ECHO_N "(cached) $ECHO_C" >&6
5080 if test -n "$AR"; then
5081 ac_cv_prog_AR="$AR" # Let the user override the test.
5083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5087 test -z "$as_dir" && as_dir=.
5088 for ac_exec_ext in '' $ac_executable_extensions; do
5089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5090 ac_cv_prog_AR="${ac_tool_prefix}ar"
5091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5101 if test -n "$AR"; then
5102 { echo "$as_me:$LINENO: result: $AR" >&5
5103 echo "${ECHO_T}$AR" >&6; }
5105 { echo "$as_me:$LINENO: result: no" >&5
5106 echo "${ECHO_T}no" >&6; }
5111 if test -z "$ac_cv_prog_AR"; then
5113 # Extract the first word of "ar", so it can be a program name with args.
5114 set dummy ar; ac_word=$2
5115 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5117 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5118 echo $ECHO_N "(cached) $ECHO_C" >&6
5120 if test -n "$ac_ct_AR"; then
5121 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5127 test -z "$as_dir" && as_dir=.
5128 for ac_exec_ext in '' $ac_executable_extensions; do
5129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5130 ac_cv_prog_ac_ct_AR="ar"
5131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5140 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5141 if test -n "$ac_ct_AR"; then
5142 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5143 echo "${ECHO_T}$ac_ct_AR" >&6; }
5145 { echo "$as_me:$LINENO: result: no" >&5
5146 echo "${ECHO_T}no" >&6; }
5149 if test "x$ac_ct_AR" = x; then
5152 case $cross_compiling:$ac_tool_warned in
5154 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5155 whose name does not start with the host triplet. If you think this
5156 configuration is useful to you, please write to autoconf@gnu.org." >&5
5157 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5158 whose name does not start with the host triplet. If you think this
5159 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5160 ac_tool_warned=yes ;;
5168 test -z "$AR" && AR=ar
5169 test -z "$AR_FLAGS" && AR_FLAGS=cru
5181 if test -n "$ac_tool_prefix"; then
5182 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5183 set dummy ${ac_tool_prefix}strip; ac_word=$2
5184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5186 if test "${ac_cv_prog_STRIP+set}" = set; then
5187 echo $ECHO_N "(cached) $ECHO_C" >&6
5189 if test -n "$STRIP"; then
5190 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5196 test -z "$as_dir" && as_dir=.
5197 for ac_exec_ext in '' $ac_executable_extensions; do
5198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5199 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5209 STRIP=$ac_cv_prog_STRIP
5210 if test -n "$STRIP"; then
5211 { echo "$as_me:$LINENO: result: $STRIP" >&5
5212 echo "${ECHO_T}$STRIP" >&6; }
5214 { echo "$as_me:$LINENO: result: no" >&5
5215 echo "${ECHO_T}no" >&6; }
5220 if test -z "$ac_cv_prog_STRIP"; then
5222 # Extract the first word of "strip", so it can be a program name with args.
5223 set dummy strip; ac_word=$2
5224 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5226 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5227 echo $ECHO_N "(cached) $ECHO_C" >&6
5229 if test -n "$ac_ct_STRIP"; then
5230 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5236 test -z "$as_dir" && as_dir=.
5237 for ac_exec_ext in '' $ac_executable_extensions; do
5238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5239 ac_cv_prog_ac_ct_STRIP="strip"
5240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5249 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5250 if test -n "$ac_ct_STRIP"; then
5251 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5252 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5254 { echo "$as_me:$LINENO: result: no" >&5
5255 echo "${ECHO_T}no" >&6; }
5258 if test "x$ac_ct_STRIP" = x; then
5261 case $cross_compiling:$ac_tool_warned in
5263 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5264 whose name does not start with the host triplet. If you think this
5265 configuration is useful to you, please write to autoconf@gnu.org." >&5
5266 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5267 whose name does not start with the host triplet. If you think this
5268 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5269 ac_tool_warned=yes ;;
5274 STRIP="$ac_cv_prog_STRIP"
5277 test -z "$STRIP" && STRIP=:
5284 if test -n "$ac_tool_prefix"; then
5285 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5286 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5289 if test "${ac_cv_prog_RANLIB+set}" = set; then
5290 echo $ECHO_N "(cached) $ECHO_C" >&6
5292 if test -n "$RANLIB"; then
5293 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5299 test -z "$as_dir" && as_dir=.
5300 for ac_exec_ext in '' $ac_executable_extensions; do
5301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5302 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5312 RANLIB=$ac_cv_prog_RANLIB
5313 if test -n "$RANLIB"; then
5314 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5315 echo "${ECHO_T}$RANLIB" >&6; }
5317 { echo "$as_me:$LINENO: result: no" >&5
5318 echo "${ECHO_T}no" >&6; }
5323 if test -z "$ac_cv_prog_RANLIB"; then
5324 ac_ct_RANLIB=$RANLIB
5325 # Extract the first word of "ranlib", so it can be a program name with args.
5326 set dummy ranlib; ac_word=$2
5327 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5329 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5330 echo $ECHO_N "(cached) $ECHO_C" >&6
5332 if test -n "$ac_ct_RANLIB"; then
5333 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5339 test -z "$as_dir" && as_dir=.
5340 for ac_exec_ext in '' $ac_executable_extensions; do
5341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5342 ac_cv_prog_ac_ct_RANLIB="ranlib"
5343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5352 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5353 if test -n "$ac_ct_RANLIB"; then
5354 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5355 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5357 { echo "$as_me:$LINENO: result: no" >&5
5358 echo "${ECHO_T}no" >&6; }
5361 if test "x$ac_ct_RANLIB" = x; then
5364 case $cross_compiling:$ac_tool_warned in
5366 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5367 whose name does not start with the host triplet. If you think this
5368 configuration is useful to you, please write to autoconf@gnu.org." >&5
5369 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5370 whose name does not start with the host triplet. If you think this
5371 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5372 ac_tool_warned=yes ;;
5374 RANLIB=$ac_ct_RANLIB
5377 RANLIB="$ac_cv_prog_RANLIB"
5380 test -z "$RANLIB" && RANLIB=:
5387 # Determine commands to create old-style static archives.
5388 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5389 old_postinstall_cmds='chmod 644 $oldlib'
5390 old_postuninstall_cmds=
5392 if test -n "$RANLIB"; then
5395 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5398 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5401 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5437 # If no C compiler was specified, use CC.
5440 # If no C compiler flags were specified, use CFLAGS.
5441 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5443 # Allow CC to be a program name with arguments.
5447 # Check for command to grab the raw symbol name followed by C symbol from nm.
5448 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5449 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5450 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5451 echo $ECHO_N "(cached) $ECHO_C" >&6
5454 # These are sane defaults that work on at least a few old systems.
5455 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5457 # Character class describing NM global symbol codes.
5458 symcode='[BCDEGRST]'
5460 # Regexp to match symbols that can be accessed directly from C.
5461 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5463 # Define system-specific variables.
5468 cygwin* | mingw* | pw32*)
5469 symcode='[ABCDGISTW]'
5472 if test "$host_cpu" = ia64; then
5473 symcode='[ABCDEGRST]'
5477 symcode='[BCDEGRST]'
5480 symcode='[BCDEGQRST]'
5491 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5499 # If we're using GNU nm, then use its standard symbol codes.
5500 case `$NM -V 2>&1` in
5501 *GNU* | *'with BFD'*)
5502 symcode='[ABCDGIRSTW]' ;;
5505 # Transform an extracted symbol line into a proper C declaration.
5506 # Some systems (esp. on ia64) link data and code symbols differently,
5507 # so use this general approach.
5508 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5510 # Transform an extracted symbol line into symbol name and symbol address
5511 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5512 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'"
5514 # Handle CRLF in mingw tool chain
5518 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5522 # Try without a prefix underscore, then with it.
5523 for ac_symprfx in "" "_"; do
5525 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5526 symxfrm="\\1 $ac_symprfx\\2 \\2"
5528 # Write the raw and C identifiers.
5529 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5530 # Fake it for dumpbin and say T for any non-static function
5531 # and D for any global variable.
5532 # Also find C++ and __fastcall symbols from MSVC++,
5533 # which start with @ or ?.
5534 lt_cv_sys_global_symbol_pipe="$AWK '"\
5535 " {last_section=section; section=\$ 3};"\
5536 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5537 " \$ 0!~/External *\|/{next};"\
5538 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5539 " {if(hide[section]) next};"\
5540 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5541 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5542 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5543 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5544 " ' prfx=^$ac_symprfx"
5546 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5549 # Check to see that the pipe works correctly.
5553 cat > conftest.$ac_ext <<_LT_EOF
5558 void nm_test_func(void);
5559 void nm_test_func(void){}
5563 int main(){nm_test_var='a';nm_test_func();return(0);}
5566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5567 (eval $ac_compile) 2>&5
5569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570 (exit $ac_status); }; then
5571 # Now try to grab the symbols.
5573 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5574 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5577 (exit $ac_status); } && test -s "$nlist"; then
5578 # Try sorting and uniquifying the output.
5579 if sort "$nlist" | uniq > "$nlist"T; then
5580 mv -f "$nlist"T "$nlist"
5585 # Make sure that we snagged all the symbols we need.
5586 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5587 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5588 cat <<_LT_EOF > conftest.$ac_ext
5594 # Now generate the symbol file.
5595 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5597 cat <<_LT_EOF >> conftest.$ac_ext
5599 /* The mapping between symbol names and symbols. */
5604 lt__PROGRAM__LTX_preloaded_symbols[] =
5606 { "@PROGRAM@", (void *) 0 },
5608 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5609 cat <<\_LT_EOF >> conftest.$ac_ext
5613 /* This works around a problem in FreeBSD linker */
5614 #ifdef FREEBSD_WORKAROUND
5615 static const void *lt_preloaded_setup() {
5616 return lt__PROGRAM__LTX_preloaded_symbols;
5624 # Now try linking the two files.
5625 mv conftest.$ac_objext conftstm.$ac_objext
5626 lt_save_LIBS="$LIBS"
5627 lt_save_CFLAGS="$CFLAGS"
5628 LIBS="conftstm.$ac_objext"
5629 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5631 (eval $ac_link) 2>&5
5633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5634 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5637 LIBS="$lt_save_LIBS"
5638 CFLAGS="$lt_save_CFLAGS"
5640 echo "cannot find nm_test_func in $nlist" >&5
5643 echo "cannot find nm_test_var in $nlist" >&5
5646 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5649 echo "$progname: failed program was:" >&5
5650 cat conftest.$ac_ext >&5
5652 rm -rf conftest* conftst*
5654 # Do not use the global_symbol_pipe unless it works.
5655 if test "$pipe_works" = yes; then
5658 lt_cv_sys_global_symbol_pipe=
5664 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5665 lt_cv_sys_global_symbol_to_cdecl=
5667 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5668 { echo "$as_me:$LINENO: result: failed" >&5
5669 echo "${ECHO_T}failed" >&6; }
5671 { echo "$as_me:$LINENO: result: ok" >&5
5672 echo "${ECHO_T}ok" >&6; }
5697 # Check whether --enable-libtool-lock was given.
5698 if test "${enable_libtool_lock+set}" = set; then
5699 enableval=$enable_libtool_lock;
5702 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5704 # Some flags need to be propagated to the compiler or linker for good
5708 # Find out which ABI we are using.
5709 echo 'int i;' > conftest.$ac_ext
5710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5711 (eval $ac_compile) 2>&5
5713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5714 (exit $ac_status); }; then
5715 case `/usr/bin/file conftest.$ac_objext` in
5727 # Find out which ABI we are using.
5728 echo '#line 5728 "configure"' > conftest.$ac_ext
5729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5730 (eval $ac_compile) 2>&5
5732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5733 (exit $ac_status); }; then
5734 if test "$lt_cv_prog_gnu_ld" = yes; then
5735 case `/usr/bin/file conftest.$ac_objext` in
5737 LD="${LD-ld} -melf32bsmip"
5740 LD="${LD-ld} -melf32bmipn32"
5743 LD="${LD-ld} -melf64bmip"
5747 case `/usr/bin/file conftest.$ac_objext` in
5763 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5764 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5765 # Find out which ABI we are using.
5766 echo 'int i;' > conftest.$ac_ext
5767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5768 (eval $ac_compile) 2>&5
5770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5771 (exit $ac_status); }; then
5772 case `/usr/bin/file conftest.o` in
5775 x86_64-*kfreebsd*-gnu)
5776 LD="${LD-ld} -m elf_i386_fbsd"
5779 LD="${LD-ld} -m elf_i386"
5781 ppc64-*linux*|powerpc64-*linux*)
5782 LD="${LD-ld} -m elf32ppclinux"
5785 LD="${LD-ld} -m elf_s390"
5788 LD="${LD-ld} -m elf32_sparc"
5794 x86_64-*kfreebsd*-gnu)
5795 LD="${LD-ld} -m elf_x86_64_fbsd"
5798 LD="${LD-ld} -m elf_x86_64"
5800 ppc*-*linux*|powerpc*-*linux*)
5801 LD="${LD-ld} -m elf64ppc"
5803 s390*-*linux*|s390*-*tpf*)
5804 LD="${LD-ld} -m elf64_s390"
5807 LD="${LD-ld} -m elf64_sparc"
5817 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5818 SAVE_CFLAGS="$CFLAGS"
5819 CFLAGS="$CFLAGS -belf"
5820 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5821 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
5822 if test "${lt_cv_cc_needs_belf+set}" = set; then
5823 echo $ECHO_N "(cached) $ECHO_C" >&6
5826 ac_cpp='$CPP $CPPFLAGS'
5827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5831 cat >conftest.$ac_ext <<_ACEOF
5834 cat confdefs.h >>conftest.$ac_ext
5835 cat >>conftest.$ac_ext <<_ACEOF
5836 /* end confdefs.h. */
5846 rm -f conftest.$ac_objext conftest$ac_exeext
5847 if { (ac_try="$ac_link"
5849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5850 *) ac_try_echo=$ac_try;;
5852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5853 (eval "$ac_link") 2>conftest.er1
5855 grep -v '^ *+' conftest.er1 >conftest.err
5857 cat conftest.err >&5
5858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5859 (exit $ac_status); } && {
5860 test -z "$ac_c_werror_flag" ||
5861 test ! -s conftest.err
5862 } && test -s conftest$ac_exeext &&
5863 $as_test_x conftest$ac_exeext; then
5864 lt_cv_cc_needs_belf=yes
5866 echo "$as_me: failed program was:" >&5
5867 sed 's/^/| /' conftest.$ac_ext >&5
5869 lt_cv_cc_needs_belf=no
5872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5873 conftest$ac_exeext conftest.$ac_ext
5875 ac_cpp='$CPP $CPPFLAGS'
5876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5881 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5882 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5883 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5884 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5885 CFLAGS="$SAVE_CFLAGS"
5889 # Find out which ABI we are using.
5890 echo 'int i;' > conftest.$ac_ext
5891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5892 (eval $ac_compile) 2>&5
5894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5895 (exit $ac_status); }; then
5896 case `/usr/bin/file conftest.o` in
5898 case $lt_cv_prog_gnu_ld in
5899 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5901 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5913 need_locks="$enable_libtool_lock"
5917 rhapsody* | darwin*)
5918 if test -n "$ac_tool_prefix"; then
5919 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5920 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5921 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5923 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5924 echo $ECHO_N "(cached) $ECHO_C" >&6
5926 if test -n "$DSYMUTIL"; then
5927 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5933 test -z "$as_dir" && as_dir=.
5934 for ac_exec_ext in '' $ac_executable_extensions; do
5935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5936 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5946 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5947 if test -n "$DSYMUTIL"; then
5948 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
5949 echo "${ECHO_T}$DSYMUTIL" >&6; }
5951 { echo "$as_me:$LINENO: result: no" >&5
5952 echo "${ECHO_T}no" >&6; }
5957 if test -z "$ac_cv_prog_DSYMUTIL"; then
5958 ac_ct_DSYMUTIL=$DSYMUTIL
5959 # Extract the first word of "dsymutil", so it can be a program name with args.
5960 set dummy dsymutil; ac_word=$2
5961 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5963 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5964 echo $ECHO_N "(cached) $ECHO_C" >&6
5966 if test -n "$ac_ct_DSYMUTIL"; then
5967 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5973 test -z "$as_dir" && as_dir=.
5974 for ac_exec_ext in '' $ac_executable_extensions; do
5975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5976 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5986 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5987 if test -n "$ac_ct_DSYMUTIL"; then
5988 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
5989 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
5991 { echo "$as_me:$LINENO: result: no" >&5
5992 echo "${ECHO_T}no" >&6; }
5995 if test "x$ac_ct_DSYMUTIL" = x; then
5998 case $cross_compiling:$ac_tool_warned in
6000 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6001 whose name does not start with the host triplet. If you think this
6002 configuration is useful to you, please write to autoconf@gnu.org." >&5
6003 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6004 whose name does not start with the host triplet. If you think this
6005 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6006 ac_tool_warned=yes ;;
6008 DSYMUTIL=$ac_ct_DSYMUTIL
6011 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6014 if test -n "$ac_tool_prefix"; then
6015 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6016 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6017 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6019 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6020 echo $ECHO_N "(cached) $ECHO_C" >&6
6022 if test -n "$NMEDIT"; then
6023 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6029 test -z "$as_dir" && as_dir=.
6030 for ac_exec_ext in '' $ac_executable_extensions; do
6031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6032 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6042 NMEDIT=$ac_cv_prog_NMEDIT
6043 if test -n "$NMEDIT"; then
6044 { echo "$as_me:$LINENO: result: $NMEDIT" >&5
6045 echo "${ECHO_T}$NMEDIT" >&6; }
6047 { echo "$as_me:$LINENO: result: no" >&5
6048 echo "${ECHO_T}no" >&6; }
6053 if test -z "$ac_cv_prog_NMEDIT"; then
6054 ac_ct_NMEDIT=$NMEDIT
6055 # Extract the first word of "nmedit", so it can be a program name with args.
6056 set dummy nmedit; ac_word=$2
6057 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6059 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6060 echo $ECHO_N "(cached) $ECHO_C" >&6
6062 if test -n "$ac_ct_NMEDIT"; then
6063 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6069 test -z "$as_dir" && as_dir=.
6070 for ac_exec_ext in '' $ac_executable_extensions; do
6071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6072 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6082 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6083 if test -n "$ac_ct_NMEDIT"; then
6084 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6085 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
6087 { echo "$as_me:$LINENO: result: no" >&5
6088 echo "${ECHO_T}no" >&6; }
6091 if test "x$ac_ct_NMEDIT" = x; then
6094 case $cross_compiling:$ac_tool_warned in
6096 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6097 whose name does not start with the host triplet. If you think this
6098 configuration is useful to you, please write to autoconf@gnu.org." >&5
6099 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6100 whose name does not start with the host triplet. If you think this
6101 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6102 ac_tool_warned=yes ;;
6104 NMEDIT=$ac_ct_NMEDIT
6107 NMEDIT="$ac_cv_prog_NMEDIT"
6110 if test -n "$ac_tool_prefix"; then
6111 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6112 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6113 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6114 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6115 if test "${ac_cv_prog_LIPO+set}" = set; then
6116 echo $ECHO_N "(cached) $ECHO_C" >&6
6118 if test -n "$LIPO"; then
6119 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6125 test -z "$as_dir" && as_dir=.
6126 for ac_exec_ext in '' $ac_executable_extensions; do
6127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6128 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6138 LIPO=$ac_cv_prog_LIPO
6139 if test -n "$LIPO"; then
6140 { echo "$as_me:$LINENO: result: $LIPO" >&5
6141 echo "${ECHO_T}$LIPO" >&6; }
6143 { echo "$as_me:$LINENO: result: no" >&5
6144 echo "${ECHO_T}no" >&6; }
6149 if test -z "$ac_cv_prog_LIPO"; then
6151 # Extract the first word of "lipo", so it can be a program name with args.
6152 set dummy lipo; ac_word=$2
6153 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6155 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6156 echo $ECHO_N "(cached) $ECHO_C" >&6
6158 if test -n "$ac_ct_LIPO"; then
6159 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6165 test -z "$as_dir" && as_dir=.
6166 for ac_exec_ext in '' $ac_executable_extensions; do
6167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6168 ac_cv_prog_ac_ct_LIPO="lipo"
6169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6178 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6179 if test -n "$ac_ct_LIPO"; then
6180 { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6181 echo "${ECHO_T}$ac_ct_LIPO" >&6; }
6183 { echo "$as_me:$LINENO: result: no" >&5
6184 echo "${ECHO_T}no" >&6; }
6187 if test "x$ac_ct_LIPO" = x; then
6190 case $cross_compiling:$ac_tool_warned in
6192 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6193 whose name does not start with the host triplet. If you think this
6194 configuration is useful to you, please write to autoconf@gnu.org." >&5
6195 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6196 whose name does not start with the host triplet. If you think this
6197 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6198 ac_tool_warned=yes ;;
6203 LIPO="$ac_cv_prog_LIPO"
6206 if test -n "$ac_tool_prefix"; then
6207 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6208 set dummy ${ac_tool_prefix}otool; ac_word=$2
6209 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6211 if test "${ac_cv_prog_OTOOL+set}" = set; then
6212 echo $ECHO_N "(cached) $ECHO_C" >&6
6214 if test -n "$OTOOL"; then
6215 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6221 test -z "$as_dir" && as_dir=.
6222 for ac_exec_ext in '' $ac_executable_extensions; do
6223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6224 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6234 OTOOL=$ac_cv_prog_OTOOL
6235 if test -n "$OTOOL"; then
6236 { echo "$as_me:$LINENO: result: $OTOOL" >&5
6237 echo "${ECHO_T}$OTOOL" >&6; }
6239 { echo "$as_me:$LINENO: result: no" >&5
6240 echo "${ECHO_T}no" >&6; }
6245 if test -z "$ac_cv_prog_OTOOL"; then
6247 # Extract the first word of "otool", so it can be a program name with args.
6248 set dummy otool; ac_word=$2
6249 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6251 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6252 echo $ECHO_N "(cached) $ECHO_C" >&6
6254 if test -n "$ac_ct_OTOOL"; then
6255 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6261 test -z "$as_dir" && as_dir=.
6262 for ac_exec_ext in '' $ac_executable_extensions; do
6263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6264 ac_cv_prog_ac_ct_OTOOL="otool"
6265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6274 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6275 if test -n "$ac_ct_OTOOL"; then
6276 { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6277 echo "${ECHO_T}$ac_ct_OTOOL" >&6; }
6279 { echo "$as_me:$LINENO: result: no" >&5
6280 echo "${ECHO_T}no" >&6; }
6283 if test "x$ac_ct_OTOOL" = x; then
6286 case $cross_compiling:$ac_tool_warned in
6288 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6289 whose name does not start with the host triplet. If you think this
6290 configuration is useful to you, please write to autoconf@gnu.org." >&5
6291 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6292 whose name does not start with the host triplet. If you think this
6293 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6294 ac_tool_warned=yes ;;
6299 OTOOL="$ac_cv_prog_OTOOL"
6302 if test -n "$ac_tool_prefix"; then
6303 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6304 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6305 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6307 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6308 echo $ECHO_N "(cached) $ECHO_C" >&6
6310 if test -n "$OTOOL64"; then
6311 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6317 test -z "$as_dir" && as_dir=.
6318 for ac_exec_ext in '' $ac_executable_extensions; do
6319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6320 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6330 OTOOL64=$ac_cv_prog_OTOOL64
6331 if test -n "$OTOOL64"; then
6332 { echo "$as_me:$LINENO: result: $OTOOL64" >&5
6333 echo "${ECHO_T}$OTOOL64" >&6; }
6335 { echo "$as_me:$LINENO: result: no" >&5
6336 echo "${ECHO_T}no" >&6; }
6341 if test -z "$ac_cv_prog_OTOOL64"; then
6342 ac_ct_OTOOL64=$OTOOL64
6343 # Extract the first word of "otool64", so it can be a program name with args.
6344 set dummy otool64; ac_word=$2
6345 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6347 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6348 echo $ECHO_N "(cached) $ECHO_C" >&6
6350 if test -n "$ac_ct_OTOOL64"; then
6351 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6357 test -z "$as_dir" && as_dir=.
6358 for ac_exec_ext in '' $ac_executable_extensions; do
6359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6360 ac_cv_prog_ac_ct_OTOOL64="otool64"
6361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6370 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6371 if test -n "$ac_ct_OTOOL64"; then
6372 { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6373 echo "${ECHO_T}$ac_ct_OTOOL64" >&6; }
6375 { echo "$as_me:$LINENO: result: no" >&5
6376 echo "${ECHO_T}no" >&6; }
6379 if test "x$ac_ct_OTOOL64" = x; then
6382 case $cross_compiling:$ac_tool_warned in
6384 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6385 whose name does not start with the host triplet. If you think this
6386 configuration is useful to you, please write to autoconf@gnu.org." >&5
6387 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6388 whose name does not start with the host triplet. If you think this
6389 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6390 ac_tool_warned=yes ;;
6392 OTOOL64=$ac_ct_OTOOL64
6395 OTOOL64="$ac_cv_prog_OTOOL64"
6424 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6425 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
6426 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6427 echo $ECHO_N "(cached) $ECHO_C" >&6
6429 lt_cv_apple_cc_single_mod=no
6430 if test -z "${LT_MULTI_MODULE}"; then
6431 # By default we will add the -single_module flag. You can override
6432 # by either setting the environment variable LT_MULTI_MODULE
6433 # non-empty at configure time, or by adding -multi_module to the
6435 rm -rf libconftest.dylib*
6436 echo "int foo(void){return 1;}" > conftest.c
6437 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6438 -dynamiclib -Wl,-single_module conftest.c" >&5
6439 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6440 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6442 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6443 lt_cv_apple_cc_single_mod=yes
6445 cat conftest.err >&5
6447 rm -rf libconftest.dylib*
6451 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6452 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
6453 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6454 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
6455 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6456 echo $ECHO_N "(cached) $ECHO_C" >&6
6458 lt_cv_ld_exported_symbols_list=no
6459 save_LDFLAGS=$LDFLAGS
6460 echo "_main" > conftest.sym
6461 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6462 cat >conftest.$ac_ext <<_ACEOF
6465 cat confdefs.h >>conftest.$ac_ext
6466 cat >>conftest.$ac_ext <<_ACEOF
6467 /* end confdefs.h. */
6477 rm -f conftest.$ac_objext conftest$ac_exeext
6478 if { (ac_try="$ac_link"
6480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6481 *) ac_try_echo=$ac_try;;
6483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6484 (eval "$ac_link") 2>conftest.er1
6486 grep -v '^ *+' conftest.er1 >conftest.err
6488 cat conftest.err >&5
6489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6490 (exit $ac_status); } && {
6491 test -z "$ac_c_werror_flag" ||
6492 test ! -s conftest.err
6493 } && test -s conftest$ac_exeext &&
6494 $as_test_x conftest$ac_exeext; then
6495 lt_cv_ld_exported_symbols_list=yes
6497 echo "$as_me: failed program was:" >&5
6498 sed 's/^/| /' conftest.$ac_ext >&5
6500 lt_cv_ld_exported_symbols_list=no
6503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6504 conftest$ac_exeext conftest.$ac_ext
6505 LDFLAGS="$save_LDFLAGS"
6508 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6509 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
6511 rhapsody* | darwin1.[012])
6512 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6514 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6515 darwin*) # darwin 5.x on
6516 # if running on 10.5 or later, the deployment target defaults
6517 # to the OS version, if on x86, and 10.4, the deployment
6518 # target defaults to 10.4. Don't you love it?
6519 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6520 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6521 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6523 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6525 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6529 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6530 _lt_dar_single_mod='$single_module'
6532 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6533 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6535 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6537 if test "$DSYMUTIL" != ":"; then
6538 _lt_dsymutil='~$DSYMUTIL $lib || :'
6546 ac_cpp='$CPP $CPPFLAGS'
6547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6550 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6551 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
6552 # On Suns, sometimes $CPP names a directory.
6553 if test -n "$CPP" && test -d "$CPP"; then
6556 if test -z "$CPP"; then
6557 if test "${ac_cv_prog_CPP+set}" = set; then
6558 echo $ECHO_N "(cached) $ECHO_C" >&6
6560 # Double quotes because CPP needs to be expanded
6561 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6564 for ac_c_preproc_warn_flag in '' yes
6566 # Use a header file that comes with gcc, so configuring glibc
6567 # with a fresh cross-compiler works.
6568 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6569 # <limits.h> exists even on freestanding compilers.
6570 # On the NeXT, cc -E runs the code through the compiler's parser,
6571 # not just through cpp. "Syntax error" is here to catch this case.
6572 cat >conftest.$ac_ext <<_ACEOF
6575 cat confdefs.h >>conftest.$ac_ext
6576 cat >>conftest.$ac_ext <<_ACEOF
6577 /* end confdefs.h. */
6579 # include <limits.h>
6581 # include <assert.h>
6585 if { (ac_try="$ac_cpp conftest.$ac_ext"
6587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6588 *) ac_try_echo=$ac_try;;
6590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6591 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6593 grep -v '^ *+' conftest.er1 >conftest.err
6595 cat conftest.err >&5
6596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6597 (exit $ac_status); } >/dev/null && {
6598 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6599 test ! -s conftest.err
6603 echo "$as_me: failed program was:" >&5
6604 sed 's/^/| /' conftest.$ac_ext >&5
6606 # Broken: fails on valid input.
6610 rm -f conftest.err conftest.$ac_ext
6612 # OK, works on sane cases. Now check whether nonexistent headers
6613 # can be detected and how.
6614 cat >conftest.$ac_ext <<_ACEOF
6617 cat confdefs.h >>conftest.$ac_ext
6618 cat >>conftest.$ac_ext <<_ACEOF
6619 /* end confdefs.h. */
6620 #include <ac_nonexistent.h>
6622 if { (ac_try="$ac_cpp conftest.$ac_ext"
6624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6625 *) ac_try_echo=$ac_try;;
6627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6628 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6630 grep -v '^ *+' conftest.er1 >conftest.err
6632 cat conftest.err >&5
6633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6634 (exit $ac_status); } >/dev/null && {
6635 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6636 test ! -s conftest.err
6638 # Broken: success on invalid input.
6641 echo "$as_me: failed program was:" >&5
6642 sed 's/^/| /' conftest.$ac_ext >&5
6644 # Passes both tests.
6649 rm -f conftest.err conftest.$ac_ext
6652 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6653 rm -f conftest.err conftest.$ac_ext
6654 if $ac_preproc_ok; then
6666 { echo "$as_me:$LINENO: result: $CPP" >&5
6667 echo "${ECHO_T}$CPP" >&6; }
6669 for ac_c_preproc_warn_flag in '' yes
6671 # Use a header file that comes with gcc, so configuring glibc
6672 # with a fresh cross-compiler works.
6673 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6674 # <limits.h> exists even on freestanding compilers.
6675 # On the NeXT, cc -E runs the code through the compiler's parser,
6676 # not just through cpp. "Syntax error" is here to catch this case.
6677 cat >conftest.$ac_ext <<_ACEOF
6680 cat confdefs.h >>conftest.$ac_ext
6681 cat >>conftest.$ac_ext <<_ACEOF
6682 /* end confdefs.h. */
6684 # include <limits.h>
6686 # include <assert.h>
6690 if { (ac_try="$ac_cpp conftest.$ac_ext"
6692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6693 *) ac_try_echo=$ac_try;;
6695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6696 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6698 grep -v '^ *+' conftest.er1 >conftest.err
6700 cat conftest.err >&5
6701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6702 (exit $ac_status); } >/dev/null && {
6703 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6704 test ! -s conftest.err
6708 echo "$as_me: failed program was:" >&5
6709 sed 's/^/| /' conftest.$ac_ext >&5
6711 # Broken: fails on valid input.
6715 rm -f conftest.err conftest.$ac_ext
6717 # OK, works on sane cases. Now check whether nonexistent headers
6718 # can be detected and how.
6719 cat >conftest.$ac_ext <<_ACEOF
6722 cat confdefs.h >>conftest.$ac_ext
6723 cat >>conftest.$ac_ext <<_ACEOF
6724 /* end confdefs.h. */
6725 #include <ac_nonexistent.h>
6727 if { (ac_try="$ac_cpp conftest.$ac_ext"
6729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6730 *) ac_try_echo=$ac_try;;
6732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6733 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6735 grep -v '^ *+' conftest.er1 >conftest.err
6737 cat conftest.err >&5
6738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6739 (exit $ac_status); } >/dev/null && {
6740 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6741 test ! -s conftest.err
6743 # Broken: success on invalid input.
6746 echo "$as_me: failed program was:" >&5
6747 sed 's/^/| /' conftest.$ac_ext >&5
6749 # Passes both tests.
6754 rm -f conftest.err conftest.$ac_ext
6757 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6758 rm -f conftest.err conftest.$ac_ext
6759 if $ac_preproc_ok; then
6762 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6763 See \`config.log' for more details." >&5
6764 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6765 See \`config.log' for more details." >&2;}
6766 { (exit 1); exit 1; }; }
6770 ac_cpp='$CPP $CPPFLAGS'
6771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6776 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6777 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6778 if test "${ac_cv_header_stdc+set}" = set; then
6779 echo $ECHO_N "(cached) $ECHO_C" >&6
6781 cat >conftest.$ac_ext <<_ACEOF
6784 cat confdefs.h >>conftest.$ac_ext
6785 cat >>conftest.$ac_ext <<_ACEOF
6786 /* end confdefs.h. */
6800 rm -f conftest.$ac_objext
6801 if { (ac_try="$ac_compile"
6803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6804 *) ac_try_echo=$ac_try;;
6806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6807 (eval "$ac_compile") 2>conftest.er1
6809 grep -v '^ *+' conftest.er1 >conftest.err
6811 cat conftest.err >&5
6812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6813 (exit $ac_status); } && {
6814 test -z "$ac_c_werror_flag" ||
6815 test ! -s conftest.err
6816 } && test -s conftest.$ac_objext; then
6817 ac_cv_header_stdc=yes
6819 echo "$as_me: failed program was:" >&5
6820 sed 's/^/| /' conftest.$ac_ext >&5
6822 ac_cv_header_stdc=no
6825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6827 if test $ac_cv_header_stdc = yes; then
6828 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6829 cat >conftest.$ac_ext <<_ACEOF
6832 cat confdefs.h >>conftest.$ac_ext
6833 cat >>conftest.$ac_ext <<_ACEOF
6834 /* end confdefs.h. */
6838 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6839 $EGREP "memchr" >/dev/null 2>&1; then
6842 ac_cv_header_stdc=no
6848 if test $ac_cv_header_stdc = yes; then
6849 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6850 cat >conftest.$ac_ext <<_ACEOF
6853 cat confdefs.h >>conftest.$ac_ext
6854 cat >>conftest.$ac_ext <<_ACEOF
6855 /* end confdefs.h. */
6859 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6860 $EGREP "free" >/dev/null 2>&1; then
6863 ac_cv_header_stdc=no
6869 if test $ac_cv_header_stdc = yes; then
6870 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6871 if test "$cross_compiling" = yes; then
6874 cat >conftest.$ac_ext <<_ACEOF
6877 cat confdefs.h >>conftest.$ac_ext
6878 cat >>conftest.$ac_ext <<_ACEOF
6879 /* end confdefs.h. */
6882 #if ((' ' & 0x0FF) == 0x020)
6883 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6884 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6886 # define ISLOWER(c) \
6887 (('a' <= (c) && (c) <= 'i') \
6888 || ('j' <= (c) && (c) <= 'r') \
6889 || ('s' <= (c) && (c) <= 'z'))
6890 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6893 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6898 for (i = 0; i < 256; i++)
6899 if (XOR (islower (i), ISLOWER (i))
6900 || toupper (i) != TOUPPER (i))
6905 rm -f conftest$ac_exeext
6906 if { (ac_try="$ac_link"
6908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6909 *) ac_try_echo=$ac_try;;
6911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6912 (eval "$ac_link") 2>&5
6914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6915 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6916 { (case "(($ac_try" in
6917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6918 *) ac_try_echo=$ac_try;;
6920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6921 (eval "$ac_try") 2>&5
6923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6924 (exit $ac_status); }; }; then
6927 echo "$as_me: program exited with status $ac_status" >&5
6928 echo "$as_me: failed program was:" >&5
6929 sed 's/^/| /' conftest.$ac_ext >&5
6932 ac_cv_header_stdc=no
6934 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6940 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6941 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6942 if test $ac_cv_header_stdc = yes; then
6944 cat >>confdefs.h <<\_ACEOF
6945 #define STDC_HEADERS 1
6950 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6960 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6961 inttypes.h stdint.h unistd.h
6963 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6964 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6965 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6966 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6967 echo $ECHO_N "(cached) $ECHO_C" >&6
6969 cat >conftest.$ac_ext <<_ACEOF
6972 cat confdefs.h >>conftest.$ac_ext
6973 cat >>conftest.$ac_ext <<_ACEOF
6974 /* end confdefs.h. */
6975 $ac_includes_default
6977 #include <$ac_header>
6979 rm -f conftest.$ac_objext
6980 if { (ac_try="$ac_compile"
6982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6983 *) ac_try_echo=$ac_try;;
6985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6986 (eval "$ac_compile") 2>conftest.er1
6988 grep -v '^ *+' conftest.er1 >conftest.err
6990 cat conftest.err >&5
6991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6992 (exit $ac_status); } && {
6993 test -z "$ac_c_werror_flag" ||
6994 test ! -s conftest.err
6995 } && test -s conftest.$ac_objext; then
6996 eval "$as_ac_Header=yes"
6998 echo "$as_me: failed program was:" >&5
6999 sed 's/^/| /' conftest.$ac_ext >&5
7001 eval "$as_ac_Header=no"
7004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7006 ac_res=`eval echo '${'$as_ac_Header'}'`
7007 { echo "$as_me:$LINENO: result: $ac_res" >&5
7008 echo "${ECHO_T}$ac_res" >&6; }
7009 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7010 cat >>confdefs.h <<_ACEOF
7011 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7020 for ac_header in dlfcn.h
7022 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7023 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7024 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7025 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7026 echo $ECHO_N "(cached) $ECHO_C" >&6
7028 cat >conftest.$ac_ext <<_ACEOF
7031 cat confdefs.h >>conftest.$ac_ext
7032 cat >>conftest.$ac_ext <<_ACEOF
7033 /* end confdefs.h. */
7034 $ac_includes_default
7036 #include <$ac_header>
7038 rm -f conftest.$ac_objext
7039 if { (ac_try="$ac_compile"
7041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7042 *) ac_try_echo=$ac_try;;
7044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7045 (eval "$ac_compile") 2>conftest.er1
7047 grep -v '^ *+' conftest.er1 >conftest.err
7049 cat conftest.err >&5
7050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7051 (exit $ac_status); } && {
7052 test -z "$ac_c_werror_flag" ||
7053 test ! -s conftest.err
7054 } && test -s conftest.$ac_objext; then
7055 eval "$as_ac_Header=yes"
7057 echo "$as_me: failed program was:" >&5
7058 sed 's/^/| /' conftest.$ac_ext >&5
7060 eval "$as_ac_Header=no"
7063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7065 ac_res=`eval echo '${'$as_ac_Header'}'`
7066 { echo "$as_me:$LINENO: result: $ac_res" >&5
7067 echo "${ECHO_T}$ac_res" >&6; }
7068 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7069 cat >>confdefs.h <<_ACEOF
7070 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7087 # Check whether --enable-shared was given.
7088 if test "${enable_shared+set}" = set; then
7089 enableval=$enable_shared; p=${PACKAGE-default}
7091 yes) enable_shared=yes ;;
7092 no) enable_shared=no ;;
7095 # Look at the argument we got. We use all the common list separators.
7096 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7097 for pkg in $enableval; do
7099 if test "X$pkg" = "X$p"; then
7118 # Check whether --enable-static was given.
7119 if test "${enable_static+set}" = set; then
7120 enableval=$enable_static; p=${PACKAGE-default}
7122 yes) enable_static=yes ;;
7123 no) enable_static=no ;;
7126 # Look at the argument we got. We use all the common list separators.
7127 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7128 for pkg in $enableval; do
7130 if test "X$pkg" = "X$p"; then
7150 # Check whether --with-pic was given.
7151 if test "${with_pic+set}" = set; then
7152 withval=$with_pic; pic_mode="$withval"
7158 test -z "$pic_mode" && pic_mode=default
7166 # Check whether --enable-fast-install was given.
7167 if test "${enable_fast_install+set}" = set; then
7168 enableval=$enable_fast_install; p=${PACKAGE-default}
7170 yes) enable_fast_install=yes ;;
7171 no) enable_fast_install=no ;;
7173 enable_fast_install=no
7174 # Look at the argument we got. We use all the common list separators.
7175 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7176 for pkg in $enableval; do
7178 if test "X$pkg" = "X$p"; then
7179 enable_fast_install=yes
7186 enable_fast_install=yes
7199 # This can be used to rebuild libtool when needed
7200 LIBTOOL_DEPS="$ltmain"
7202 # Always use our own libtool.
7203 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7229 test -z "$LN_S" && LN_S="ln -s"
7244 if test -n "${ZSH_VERSION+set}" ; then
7245 setopt NO_GLOB_SUBST
7248 { echo "$as_me:$LINENO: checking for objdir" >&5
7249 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7250 if test "${lt_cv_objdir+set}" = set; then
7251 echo $ECHO_N "(cached) $ECHO_C" >&6
7253 rm -f .libs 2>/dev/null
7254 mkdir .libs 2>/dev/null
7255 if test -d .libs; then
7258 # MS-DOS does not allow filenames that begin with a dot.
7261 rmdir .libs 2>/dev/null
7263 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7264 echo "${ECHO_T}$lt_cv_objdir" >&6; }
7265 objdir=$lt_cv_objdir
7271 cat >>confdefs.h <<_ACEOF
7272 #define LT_OBJDIR "$lt_cv_objdir/"
7293 # AIX sometimes has problems with the GCC collect2 program. For some
7294 # reason, if we set the COLLECT_NAMES environment variable, the problems
7295 # vanish in a puff of smoke.
7296 if test "X${COLLECT_NAMES+set}" != Xset; then
7298 export COLLECT_NAMES
7303 # Sed substitution that helps us do robust quoting. It backslashifies
7304 # metacharacters that are still active within double-quoted strings.
7305 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7307 # Same as above, but do not quote variable references.
7308 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7310 # Sed substitution to delay expansion of an escaped shell variable in a
7311 # double_quote_subst'ed string.
7312 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7314 # Sed substitution to delay expansion of an escaped single quote.
7315 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7317 # Sed substitution to avoid accidental globbing in evaled expressions
7318 no_glob_subst='s/\*/\\\*/g'
7322 can_build_shared=yes
7324 # All known linkers require a `.a' archive for static linking (except MSVC,
7325 # which needs '.lib').
7328 with_gnu_ld="$lt_cv_prog_gnu_ld"
7331 old_CFLAGS="$CFLAGS"
7333 # Set sane defaults for various variables
7334 test -z "$CC" && CC=cc
7335 test -z "$LTCC" && LTCC=$CC
7336 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7337 test -z "$LD" && LD=ld
7338 test -z "$ac_objext" && ac_objext=o
7340 for cc_temp in $compiler""; do
7342 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7343 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7348 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7351 # Only perform the check for file, if the check method requires it
7352 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7353 case $deplibs_check_method in
7355 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7356 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7357 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7358 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7359 echo $ECHO_N "(cached) $ECHO_C" >&6
7363 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7366 lt_save_MAGIC_CMD="$MAGIC_CMD"
7367 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7368 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7369 for ac_dir in $ac_dummy; do
7371 test -z "$ac_dir" && ac_dir=.
7372 if test -f $ac_dir/${ac_tool_prefix}file; then
7373 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7374 if test -n "$file_magic_test_file"; then
7375 case $deplibs_check_method in
7377 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7378 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7379 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7380 $EGREP "$file_magic_regex" > /dev/null; then
7385 *** Warning: the command libtool uses to detect shared libraries,
7386 *** $file_magic_cmd, produces output that libtool cannot recognize.
7387 *** The result is that libtool may fail to recognize shared libraries
7388 *** as such. This will affect the creation of libtool libraries that
7389 *** depend on shared libraries, but programs linked with such libtool
7390 *** libraries will work regardless of this problem. Nevertheless, you
7391 *** may want to report the problem to your system manager and/or to
7392 *** bug-libtool@gnu.org
7402 MAGIC_CMD="$lt_save_MAGIC_CMD"
7407 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7408 if test -n "$MAGIC_CMD"; then
7409 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7410 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7412 { echo "$as_me:$LINENO: result: no" >&5
7413 echo "${ECHO_T}no" >&6; }
7420 if test -z "$lt_cv_path_MAGIC_CMD"; then
7421 if test -n "$ac_tool_prefix"; then
7422 { echo "$as_me:$LINENO: checking for file" >&5
7423 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7424 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7425 echo $ECHO_N "(cached) $ECHO_C" >&6
7429 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7432 lt_save_MAGIC_CMD="$MAGIC_CMD"
7433 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7434 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7435 for ac_dir in $ac_dummy; do
7437 test -z "$ac_dir" && ac_dir=.
7438 if test -f $ac_dir/file; then
7439 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7440 if test -n "$file_magic_test_file"; then
7441 case $deplibs_check_method in
7443 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7444 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7445 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7446 $EGREP "$file_magic_regex" > /dev/null; then
7451 *** Warning: the command libtool uses to detect shared libraries,
7452 *** $file_magic_cmd, produces output that libtool cannot recognize.
7453 *** The result is that libtool may fail to recognize shared libraries
7454 *** as such. This will affect the creation of libtool libraries that
7455 *** depend on shared libraries, but programs linked with such libtool
7456 *** libraries will work regardless of this problem. Nevertheless, you
7457 *** may want to report the problem to your system manager and/or to
7458 *** bug-libtool@gnu.org
7468 MAGIC_CMD="$lt_save_MAGIC_CMD"
7473 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7474 if test -n "$MAGIC_CMD"; then
7475 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7476 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7478 { echo "$as_me:$LINENO: result: no" >&5
7479 echo "${ECHO_T}no" >&6; }
7492 # Use C for the default configuration in the libtool script
7496 ac_cpp='$CPP $CPPFLAGS'
7497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7502 # Source file extension for C test sources.
7505 # Object file extension for compiled C test sources.
7509 # Code to be used in simple compile tests
7510 lt_simple_compile_test_code="int some_variable = 0;"
7512 # Code to be used in simple link tests
7513 lt_simple_link_test_code='int main(){return(0);}'
7521 # If no C compiler was specified, use CC.
7524 # If no C compiler flags were specified, use CFLAGS.
7525 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7527 # Allow CC to be a program name with arguments.
7530 # Save the default compiler, since it gets overwritten when the other
7531 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7532 compiler_DEFAULT=$CC
7534 # save warnings/boilerplate of simple test code
7535 ac_outfile=conftest.$ac_objext
7536 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7537 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7538 _lt_compiler_boilerplate=`cat conftest.err`
7541 ac_outfile=conftest.$ac_objext
7542 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7543 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7544 _lt_linker_boilerplate=`cat conftest.err`
7548 if test -n "$compiler"; then
7550 lt_prog_compiler_no_builtin_flag=
7552 if test "$GCC" = yes; then
7553 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7555 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7556 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7557 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7558 echo $ECHO_N "(cached) $ECHO_C" >&6
7560 lt_cv_prog_compiler_rtti_exceptions=no
7561 ac_outfile=conftest.$ac_objext
7562 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7563 lt_compiler_flag="-fno-rtti -fno-exceptions"
7564 # Insert the option either (1) after the last *FLAGS variable, or
7565 # (2) before a word containing "conftest.", or (3) at the end.
7566 # Note that $ac_compile itself does not contain backslashes and begins
7567 # with a dollar sign (not a hyphen), so the echo should work correctly.
7568 # The option is referenced via a variable to avoid confusing sed.
7569 lt_compile=`echo "$ac_compile" | $SED \
7570 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7571 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7572 -e 's:$: $lt_compiler_flag:'`
7573 (eval echo "\"\$as_me:7573: $lt_compile\"" >&5)
7574 (eval "$lt_compile" 2>conftest.err)
7576 cat conftest.err >&5
7577 echo "$as_me:7577: \$? = $ac_status" >&5
7578 if (exit $ac_status) && test -s "$ac_outfile"; then
7579 # The compiler can only warn and ignore the option if not recognized
7580 # So say no if there are warnings other than the usual output.
7581 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7582 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7583 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7584 lt_cv_prog_compiler_rtti_exceptions=yes
7590 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7591 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7593 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7594 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7606 lt_prog_compiler_wl=
7607 lt_prog_compiler_pic=
7608 lt_prog_compiler_static=
7610 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7611 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7613 if test "$GCC" = yes; then
7614 lt_prog_compiler_wl='-Wl,'
7615 lt_prog_compiler_static='-static'
7619 # All AIX code is PIC.
7620 if test "$host_cpu" = ia64; then
7621 # AIX 5 now supports IA64 processor
7622 lt_prog_compiler_static='-Bstatic'
7629 # see comment about AmigaOS4 .so support
7630 lt_prog_compiler_pic='-fPIC'
7633 # FIXME: we need at least 68020 code to build shared libraries, but
7634 # adding the `-m68020' flag to GCC prevents building anything better,
7636 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7641 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7642 # PIC is the default for these OSes.
7645 mingw* | cygwin* | pw32* | os2*)
7646 # This hack is so that the source file can tell whether it is being
7647 # built for inclusion in a dll (and should export symbols for example).
7648 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7649 # (--disable-auto-import) libraries
7650 lt_prog_compiler_pic='-DDLL_EXPORT'
7653 darwin* | rhapsody*)
7654 # PIC is the default on this platform
7655 # Common symbols not allowed in MH_DYLIB files
7656 lt_prog_compiler_pic='-fno-common'
7660 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7667 lt_prog_compiler_pic='-fPIC'
7673 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7674 # Instead, we relocate shared libraries at runtime.
7678 # Just because we use GCC doesn't mean we suddenly get shared libraries
7679 # on systems that don't support them.
7680 lt_prog_compiler_can_build_shared=no
7685 # QNX uses GNU C++, but need to define -shared option too, otherwise
7687 lt_prog_compiler_pic='-fPIC -shared'
7691 if test -d /usr/nec; then
7692 lt_prog_compiler_pic=-Kconform_pic
7697 lt_prog_compiler_pic='-fPIC'
7701 # PORTME Check for flag to pass linker flags through the system compiler.
7704 lt_prog_compiler_wl='-Wl,'
7705 if test "$host_cpu" = ia64; then
7706 # AIX 5 now supports IA64 processor
7707 lt_prog_compiler_static='-Bstatic'
7709 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7713 mingw* | cygwin* | pw32* | os2*)
7714 # This hack is so that the source file can tell whether it is being
7715 # built for inclusion in a dll (and should export symbols for example).
7716 lt_prog_compiler_pic='-DDLL_EXPORT'
7719 hpux9* | hpux10* | hpux11*)
7720 lt_prog_compiler_wl='-Wl,'
7721 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7728 lt_prog_compiler_pic='+Z'
7731 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7732 lt_prog_compiler_static='${wl}-a ${wl}archive'
7735 irix5* | irix6* | nonstopux*)
7736 lt_prog_compiler_wl='-Wl,'
7737 # PIC (with -KPIC) is the default.
7738 lt_prog_compiler_static='-non_shared'
7741 linux* | k*bsd*-gnu)
7742 case $cc_basename in
7743 icc* | ecc* | ifort*)
7744 lt_prog_compiler_wl='-Wl,'
7745 lt_prog_compiler_pic='-KPIC'
7746 lt_prog_compiler_static='-static'
7748 pgcc* | pgf77* | pgf90* | pgf95*)
7749 # Portland Group compilers (*not* the Pentium gcc compiler,
7750 # which looks to be a dead project)
7751 lt_prog_compiler_wl='-Wl,'
7752 lt_prog_compiler_pic='-fpic'
7753 lt_prog_compiler_static='-Bstatic'
7756 lt_prog_compiler_wl='-Wl,'
7757 # All Alpha code is PIC.
7758 lt_prog_compiler_static='-non_shared'
7761 # IBM XL C 8.0/Fortran 10.1 on PPC
7762 lt_prog_compiler_wl='-Wl,'
7763 lt_prog_compiler_pic='-qpic'
7764 lt_prog_compiler_static='-qstaticlink'
7767 case `$CC -V 2>&1 | sed 5q` in
7770 lt_prog_compiler_pic='-KPIC'
7771 lt_prog_compiler_static='-Bstatic'
7772 lt_prog_compiler_wl='-Wl,'
7775 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7776 lt_prog_compiler_pic='-KPIC'
7777 lt_prog_compiler_static='-Bstatic'
7778 lt_prog_compiler_wl=''
7786 lt_prog_compiler_pic='-KPIC'
7787 lt_prog_compiler_static='-Bstatic'
7791 # QNX uses GNU C++, but need to define -shared option too, otherwise
7793 lt_prog_compiler_pic='-fPIC -shared'
7796 osf3* | osf4* | osf5*)
7797 lt_prog_compiler_wl='-Wl,'
7798 # All OSF/1 code is PIC.
7799 lt_prog_compiler_static='-non_shared'
7803 lt_prog_compiler_static='-non_shared'
7807 lt_prog_compiler_pic='-KPIC'
7808 lt_prog_compiler_static='-Bstatic'
7809 case $cc_basename in
7811 lt_prog_compiler_wl='-Qoption ld ';;
7813 lt_prog_compiler_wl='-Wl,';;
7818 lt_prog_compiler_wl='-Qoption ld '
7819 lt_prog_compiler_pic='-PIC'
7820 lt_prog_compiler_static='-Bstatic'
7823 sysv4 | sysv4.2uw2* | sysv4.3*)
7824 lt_prog_compiler_wl='-Wl,'
7825 lt_prog_compiler_pic='-KPIC'
7826 lt_prog_compiler_static='-Bstatic'
7830 if test -d /usr/nec ;then
7831 lt_prog_compiler_pic='-Kconform_pic'
7832 lt_prog_compiler_static='-Bstatic'
7836 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7837 lt_prog_compiler_wl='-Wl,'
7838 lt_prog_compiler_pic='-KPIC'
7839 lt_prog_compiler_static='-Bstatic'
7843 lt_prog_compiler_wl='-Wl,'
7844 lt_prog_compiler_can_build_shared=no
7848 lt_prog_compiler_pic='-pic'
7849 lt_prog_compiler_static='-Bstatic'
7853 lt_prog_compiler_can_build_shared=no
7859 # For platforms which do not support PIC, -DPIC is meaningless:
7861 lt_prog_compiler_pic=
7864 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7867 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7868 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7876 # Check to make sure the PIC flag actually works.
7878 if test -n "$lt_prog_compiler_pic"; then
7879 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7880 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7881 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7882 echo $ECHO_N "(cached) $ECHO_C" >&6
7884 lt_cv_prog_compiler_pic_works=no
7885 ac_outfile=conftest.$ac_objext
7886 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7887 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7888 # Insert the option either (1) after the last *FLAGS variable, or
7889 # (2) before a word containing "conftest.", or (3) at the end.
7890 # Note that $ac_compile itself does not contain backslashes and begins
7891 # with a dollar sign (not a hyphen), so the echo should work correctly.
7892 # The option is referenced via a variable to avoid confusing sed.
7893 lt_compile=`echo "$ac_compile" | $SED \
7894 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7895 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7896 -e 's:$: $lt_compiler_flag:'`
7897 (eval echo "\"\$as_me:7897: $lt_compile\"" >&5)
7898 (eval "$lt_compile" 2>conftest.err)
7900 cat conftest.err >&5
7901 echo "$as_me:7901: \$? = $ac_status" >&5
7902 if (exit $ac_status) && test -s "$ac_outfile"; then
7903 # The compiler can only warn and ignore the option if not recognized
7904 # So say no if there are warnings other than the usual output.
7905 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7906 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7907 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7908 lt_cv_prog_compiler_pic_works=yes
7914 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7915 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
7917 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7918 case $lt_prog_compiler_pic in
7920 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7923 lt_prog_compiler_pic=
7924 lt_prog_compiler_can_build_shared=no
7935 # Check to make sure the static flag actually works.
7937 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7938 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7939 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7940 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7941 echo $ECHO_N "(cached) $ECHO_C" >&6
7943 lt_cv_prog_compiler_static_works=no
7944 save_LDFLAGS="$LDFLAGS"
7945 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7946 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7947 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7948 # The linker can only warn and ignore the option if not recognized
7949 # So say no if there are warnings
7950 if test -s conftest.err; then
7951 # Append any errors to the config.log.
7952 cat conftest.err 1>&5
7953 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7954 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7955 if diff conftest.exp conftest.er2 >/dev/null; then
7956 lt_cv_prog_compiler_static_works=yes
7959 lt_cv_prog_compiler_static_works=yes
7963 LDFLAGS="$save_LDFLAGS"
7966 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7967 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
7969 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7972 lt_prog_compiler_static=
7981 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7982 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7983 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7984 echo $ECHO_N "(cached) $ECHO_C" >&6
7986 lt_cv_prog_compiler_c_o=no
7987 $RM -r conftest 2>/dev/null
7991 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7993 lt_compiler_flag="-o out/conftest2.$ac_objext"
7994 # Insert the option either (1) after the last *FLAGS variable, or
7995 # (2) before a word containing "conftest.", or (3) at the end.
7996 # Note that $ac_compile itself does not contain backslashes and begins
7997 # with a dollar sign (not a hyphen), so the echo should work correctly.
7998 lt_compile=`echo "$ac_compile" | $SED \
7999 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8000 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8001 -e 's:$: $lt_compiler_flag:'`
8002 (eval echo "\"\$as_me:8002: $lt_compile\"" >&5)
8003 (eval "$lt_compile" 2>out/conftest.err)
8005 cat out/conftest.err >&5
8006 echo "$as_me:8006: \$? = $ac_status" >&5
8007 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8009 # The compiler can only warn and ignore the option if not recognized
8010 # So say no if there are warnings
8011 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8012 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8013 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8014 lt_cv_prog_compiler_c_o=yes
8019 # SGI C++ compiler will create directory out/ii_files/ for
8020 # template instantiation
8021 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8022 $RM out/* && rmdir out
8028 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8029 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8036 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8037 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8038 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8039 echo $ECHO_N "(cached) $ECHO_C" >&6
8041 lt_cv_prog_compiler_c_o=no
8042 $RM -r conftest 2>/dev/null
8046 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8048 lt_compiler_flag="-o out/conftest2.$ac_objext"
8049 # Insert the option either (1) after the last *FLAGS variable, or
8050 # (2) before a word containing "conftest.", or (3) at the end.
8051 # Note that $ac_compile itself does not contain backslashes and begins
8052 # with a dollar sign (not a hyphen), so the echo should work correctly.
8053 lt_compile=`echo "$ac_compile" | $SED \
8054 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8055 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8056 -e 's:$: $lt_compiler_flag:'`
8057 (eval echo "\"\$as_me:8057: $lt_compile\"" >&5)
8058 (eval "$lt_compile" 2>out/conftest.err)
8060 cat out/conftest.err >&5
8061 echo "$as_me:8061: \$? = $ac_status" >&5
8062 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8064 # The compiler can only warn and ignore the option if not recognized
8065 # So say no if there are warnings
8066 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8067 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8068 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8069 lt_cv_prog_compiler_c_o=yes
8074 # SGI C++ compiler will create directory out/ii_files/ for
8075 # template instantiation
8076 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8077 $RM out/* && rmdir out
8083 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8084 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8089 hard_links="nottested"
8090 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8091 # do not overwrite the value of need_locks provided by the user
8092 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8093 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
8096 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8098 ln conftest.a conftest.b 2>&5 || hard_links=no
8099 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8100 { echo "$as_me:$LINENO: result: $hard_links" >&5
8101 echo "${ECHO_T}$hard_links" >&6; }
8102 if test "$hard_links" = no; then
8103 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8104 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8116 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8117 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
8120 allow_undefined_flag=
8121 always_export_symbols=no
8123 archive_expsym_cmds=
8124 compiler_needs_object=no
8125 enable_shared_with_static_runtimes=no
8126 export_dynamic_flag_spec=
8127 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8128 hardcode_automatic=no
8130 hardcode_direct_absolute=no
8131 hardcode_libdir_flag_spec=
8132 hardcode_libdir_flag_spec_ld=
8133 hardcode_libdir_separator=
8135 hardcode_shlibpath_var=unsupported
8137 link_all_deplibs=unknown
8140 old_archive_from_new_cmds=
8141 old_archive_from_expsyms_cmds=
8142 thread_safe_flag_spec=
8143 whole_archive_flag_spec=
8144 # include_expsyms should be a list of space-separated symbols to be *always*
8145 # included in the symbol list
8147 # exclude_expsyms can be an extended regexp of symbols to exclude
8148 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8149 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8150 # as well as any symbol that contains `d'.
8151 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8152 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8153 # platforms (ab)use it in PIC code, but their linkers get confused if
8154 # the symbol is explicitly referenced. Since portable code cannot
8155 # rely on this symbol name, it's probably fine to never include it in
8156 # preloaded symbol tables.
8157 # Exclude shared library initialization/finalization symbols.
8158 extract_expsyms_cmds=
8161 cygwin* | mingw* | pw32*)
8162 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8163 # When not using gcc, we currently assume that we are using
8164 # Microsoft Visual C++.
8165 if test "$GCC" != yes; then
8170 # we just hope/assume this is gcc and not c89 (= MSVC++)
8179 if test "$with_gnu_ld" = yes; then
8180 # If archive_cmds runs LD, not CC, wlarc should be empty
8183 # Set some defaults for GNU ld with shared library support. These
8184 # are reset later if shared libraries are not supported. Putting them
8185 # here allows them to be overridden if necessary.
8186 runpath_var=LD_RUN_PATH
8187 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8188 export_dynamic_flag_spec='${wl}--export-dynamic'
8189 # ancient GNU ld didn't support --whole-archive et. al.
8190 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8191 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8193 whole_archive_flag_spec=
8195 supports_anon_versioning=no
8196 case `$LD -v 2>&1` in
8197 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8198 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8199 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8200 *\ 2.11.*) ;; # other 2.11 versions
8201 *) supports_anon_versioning=yes ;;
8204 # See if GNU ld supports shared libraries.
8207 # On AIX/PPC, the GNU linker is very broken
8208 if test "$host_cpu" != ia64; then
8212 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8213 *** to be unable to reliably create shared libraries on AIX.
8214 *** Therefore, libtool is disabling shared libraries support. If you
8215 *** really care for shared libraries, you may want to modify your PATH
8216 *** so that a non-GNU linker is found, and then restart.
8225 # see comment about AmigaOS4 .so support
8226 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8227 archive_expsym_cmds=''
8230 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)'
8231 hardcode_libdir_flag_spec='-L$libdir'
8232 hardcode_minus_L=yes
8238 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8239 allow_undefined_flag=unsupported
8240 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8241 # support --undefined. This deserves some investigation. FIXME
8242 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8248 cygwin* | mingw* | pw32*)
8249 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8250 # as there is no search path for DLLs.
8251 hardcode_libdir_flag_spec='-L$libdir'
8252 allow_undefined_flag=unsupported
8253 always_export_symbols=no
8254 enable_shared_with_static_runtimes=yes
8255 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8257 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8258 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8259 # If the export-symbols file already is a .def file (1st line
8260 # is EXPORTS), use it as is; otherwise, prepend...
8261 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8262 cp $export_symbols $output_objdir/$soname.def;
8264 echo EXPORTS > $output_objdir/$soname.def;
8265 cat $export_symbols >> $output_objdir/$soname.def;
8267 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8275 hardcode_shlibpath_var=no
8276 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8277 export_dynamic_flag_spec='${wl}-E'
8278 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8279 # Instead, shared libraries are loaded at an image base (0x10000000 by
8280 # default) and relocated if they conflict, which is a slow very memory
8281 # consuming and fragmenting process. To avoid this, we pick a random,
8282 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8283 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8284 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8285 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'
8288 gnu* | linux* | tpf* | k*bsd*-gnu)
8290 if test "$host_os" = linux-dietlibc; then
8291 case $cc_basename in
8292 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8295 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8296 && test "$tmp_diet" = no
8299 tmp_sharedflag='-shared'
8300 case $cc_basename,$host_cpu in
8301 pgcc*) # Portland Group C compiler
8302 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'
8303 tmp_addflag=' $pic_flag'
8305 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8306 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'
8307 tmp_addflag=' $pic_flag -Mnomain' ;;
8308 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8309 tmp_addflag=' -i_dynamic' ;;
8310 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8311 tmp_addflag=' -i_dynamic -nofor_main' ;;
8312 ifc* | ifort*) # Intel Fortran compiler
8313 tmp_addflag=' -nofor_main' ;;
8314 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8315 tmp_sharedflag='-qmkshrobj'
8318 case `$CC -V 2>&1 | sed 5q` in
8319 *Sun\ C*) # Sun C 5.9
8320 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'
8321 compiler_needs_object=yes
8322 tmp_sharedflag='-G' ;;
8323 *Sun\ F*) # Sun Fortran 8.3
8324 tmp_sharedflag='-G' ;;
8326 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8328 if test "x$supports_anon_versioning" = xyes; then
8329 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8330 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8331 echo "local: *; };" >> $output_objdir/$libname.ver~
8332 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8335 case $cc_basename in
8337 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8338 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8339 hardcode_libdir_flag_spec=
8340 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8341 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8342 if test "x$supports_anon_versioning" = xyes; then
8343 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8344 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8345 echo "local: *; };" >> $output_objdir/$libname.ver~
8346 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8356 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8357 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8360 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8361 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8366 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8370 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8371 *** create shared libraries on Solaris systems. Therefore, libtool
8372 *** is disabling shared libraries support. We urge you to upgrade GNU
8373 *** binutils to release 2.9.1 or newer. Another option is to modify
8374 *** your PATH or compiler configuration so that the native linker is
8375 *** used, and then restart.
8378 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8379 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8380 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8386 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8387 case `$LD -v 2>&1` in
8388 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8392 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8393 *** reliably create shared libraries on SCO systems. Therefore, libtool
8394 *** is disabling shared libraries support. We urge you to upgrade GNU
8395 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8396 *** your PATH or compiler configuration so that the native linker is
8397 *** used, and then restart.
8402 # For security reasons, it is highly recommended that you always
8403 # use absolute paths for naming shared libraries, and exclude the
8404 # DT_RUNPATH tag from executables and libraries. But doing so
8405 # requires that you compile everything twice, which is a pain.
8406 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8407 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8408 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8409 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8418 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8421 hardcode_shlibpath_var=no
8425 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8426 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8427 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8434 if test "$ld_shlibs" = no; then
8436 hardcode_libdir_flag_spec=
8437 export_dynamic_flag_spec=
8438 whole_archive_flag_spec=
8441 # PORTME fill in a description of your system's linker (not GNU ld)
8444 allow_undefined_flag=unsupported
8445 always_export_symbols=yes
8446 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'
8447 # Note: this linker hardcodes the directories in LIBPATH if there
8448 # are no directories specified by -L.
8449 hardcode_minus_L=yes
8450 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8451 # Neither direct hardcoding nor static linking is supported with a
8453 hardcode_direct=unsupported
8458 if test "$host_cpu" = ia64; then
8459 # On IA64, the linker does run time linking by default, so we don't
8460 # have to do anything special.
8461 aix_use_runtimelinking=no
8462 exp_sym_flag='-Bexport'
8465 # If we're using GNU nm, then we don't want the "-C" option.
8466 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8467 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8468 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'
8470 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'
8472 aix_use_runtimelinking=no
8474 # Test if we are trying to use run time linking or normal
8475 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8476 # need to do runtime linking.
8477 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8478 for ld_flag in $LDFLAGS; do
8479 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8480 aix_use_runtimelinking=yes
8487 exp_sym_flag='-bexport'
8488 no_entry_flag='-bnoentry'
8491 # When large executables or shared objects are built, AIX ld can
8492 # have problems creating the table of contents. If linking a library
8493 # or program results in "error TOC overflow" add -mminimal-toc to
8494 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8495 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8499 hardcode_direct_absolute=yes
8500 hardcode_libdir_separator=':'
8501 link_all_deplibs=yes
8502 file_list_spec='${wl}-f,'
8504 if test "$GCC" = yes; then
8505 case $host_os in aix4.[012]|aix4.[012].*)
8506 # We only want to do this on AIX 4.2 and lower, the check
8507 # below for broken collect2 doesn't work under 4.3+
8508 collect2name=`${CC} -print-prog-name=collect2`
8509 if test -f "$collect2name" &&
8510 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8512 # We have reworked collect2
8515 # We have old collect2
8516 hardcode_direct=unsupported
8517 # It fails to find uninstalled libraries when the uninstalled
8518 # path is not listed in the libpath. Setting hardcode_minus_L
8519 # to unsupported forces relinking
8520 hardcode_minus_L=yes
8521 hardcode_libdir_flag_spec='-L$libdir'
8522 hardcode_libdir_separator=
8526 shared_flag='-shared'
8527 if test "$aix_use_runtimelinking" = yes; then
8528 shared_flag="$shared_flag "'${wl}-G'
8532 if test "$host_cpu" = ia64; then
8533 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8534 # chokes on -Wl,-G. The following line is correct:
8537 if test "$aix_use_runtimelinking" = yes; then
8538 shared_flag='${wl}-G'
8540 shared_flag='${wl}-bM:SRE'
8545 # It seems that -bexpall does not export symbols beginning with
8546 # underscore (_), so it is better to generate a list of symbols to export.
8547 always_export_symbols=yes
8548 if test "$aix_use_runtimelinking" = yes; then
8549 # Warning - without using the other runtime loading flags (-brtl),
8550 # -berok will link without error, but may produce a broken library.
8551 allow_undefined_flag='-berok'
8552 # Determine the default libpath from the value encoded in an
8554 cat >conftest.$ac_ext <<_ACEOF
8557 cat confdefs.h >>conftest.$ac_ext
8558 cat >>conftest.$ac_ext <<_ACEOF
8559 /* end confdefs.h. */
8569 rm -f conftest.$ac_objext conftest$ac_exeext
8570 if { (ac_try="$ac_link"
8572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8573 *) ac_try_echo=$ac_try;;
8575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8576 (eval "$ac_link") 2>conftest.er1
8578 grep -v '^ *+' conftest.er1 >conftest.err
8580 cat conftest.err >&5
8581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8582 (exit $ac_status); } && {
8583 test -z "$ac_c_werror_flag" ||
8584 test ! -s conftest.err
8585 } && test -s conftest$ac_exeext &&
8586 $as_test_x conftest$ac_exeext; then
8588 lt_aix_libpath_sed='
8589 /Import File Strings/,/^$/ {
8595 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8596 # Check for a 64-bit object if we didn't find anything.
8597 if test -z "$aix_libpath"; then
8598 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8601 echo "$as_me: failed program was:" >&5
8602 sed 's/^/| /' conftest.$ac_ext >&5
8607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8608 conftest$ac_exeext conftest.$ac_ext
8609 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8611 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8612 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"
8614 if test "$host_cpu" = ia64; then
8615 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8616 allow_undefined_flag="-z nodefs"
8617 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"
8619 # Determine the default libpath from the value encoded in an
8621 cat >conftest.$ac_ext <<_ACEOF
8624 cat confdefs.h >>conftest.$ac_ext
8625 cat >>conftest.$ac_ext <<_ACEOF
8626 /* end confdefs.h. */
8636 rm -f conftest.$ac_objext conftest$ac_exeext
8637 if { (ac_try="$ac_link"
8639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8640 *) ac_try_echo=$ac_try;;
8642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8643 (eval "$ac_link") 2>conftest.er1
8645 grep -v '^ *+' conftest.er1 >conftest.err
8647 cat conftest.err >&5
8648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8649 (exit $ac_status); } && {
8650 test -z "$ac_c_werror_flag" ||
8651 test ! -s conftest.err
8652 } && test -s conftest$ac_exeext &&
8653 $as_test_x conftest$ac_exeext; then
8655 lt_aix_libpath_sed='
8656 /Import File Strings/,/^$/ {
8662 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8663 # Check for a 64-bit object if we didn't find anything.
8664 if test -z "$aix_libpath"; then
8665 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8668 echo "$as_me: failed program was:" >&5
8669 sed 's/^/| /' conftest.$ac_ext >&5
8674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8675 conftest$ac_exeext conftest.$ac_ext
8676 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8678 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8679 # Warning - without using the other run time loading flags,
8680 # -berok will link without error, but may produce a broken library.
8681 no_undefined_flag=' ${wl}-bernotok'
8682 allow_undefined_flag=' ${wl}-berok'
8683 # Exported symbols can be pulled into shared objects from archives
8684 whole_archive_flag_spec='$convenience'
8685 archive_cmds_need_lc=yes
8686 # This is similar to how AIX traditionally builds its shared libraries.
8687 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'
8695 # see comment about AmigaOS4 .so support
8696 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8697 archive_expsym_cmds=''
8700 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)'
8701 hardcode_libdir_flag_spec='-L$libdir'
8702 hardcode_minus_L=yes
8708 export_dynamic_flag_spec=-rdynamic
8711 cygwin* | mingw* | pw32*)
8712 # When not using gcc, we currently assume that we are using
8713 # Microsoft Visual C++.
8714 # hardcode_libdir_flag_spec is actually meaningless, as there is
8715 # no search path for DLLs.
8716 hardcode_libdir_flag_spec=' '
8717 allow_undefined_flag=unsupported
8718 # Tell ltmain to make .lib files, not .a files.
8720 # Tell ltmain to make .dll files, not .so files.
8722 # FIXME: Setting linknames here is a bad hack.
8723 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8724 # The linker will automatically build a .lib file if we build a DLL.
8725 old_archive_from_new_cmds='true'
8726 # FIXME: Should let the user specify the lib program.
8727 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8728 fix_srcfile_path='`cygpath -w "$srcfile"`'
8729 enable_shared_with_static_runtimes=yes
8732 darwin* | rhapsody*)
8735 archive_cmds_need_lc=no
8737 hardcode_automatic=yes
8738 hardcode_shlibpath_var=unsupported
8739 whole_archive_flag_spec=''
8740 link_all_deplibs=yes
8741 allow_undefined_flag="$_lt_dar_allow_undefined"
8742 if test "$GCC" = "yes"; then
8743 output_verbose_link_cmd=echo
8744 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8745 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8746 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}"
8747 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}"
8756 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8757 hardcode_libdir_flag_spec='-L$libdir'
8758 hardcode_shlibpath_var=no
8765 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8766 # support. Future versions do this automatically, but an explicit c++rt0.o
8767 # does not break anything, and helps significantly (at the cost of a little
8770 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8771 hardcode_libdir_flag_spec='-R$libdir'
8773 hardcode_shlibpath_var=no
8776 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8778 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8780 hardcode_minus_L=yes
8781 hardcode_shlibpath_var=no
8784 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8785 freebsd* | dragonfly*)
8786 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8787 hardcode_libdir_flag_spec='-R$libdir'
8789 hardcode_shlibpath_var=no
8793 if test "$GCC" = yes; then
8794 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'
8796 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'
8798 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8799 hardcode_libdir_separator=:
8802 # hardcode_minus_L: Not really in the search PATH,
8803 # but as the default location of the library.
8804 hardcode_minus_L=yes
8805 export_dynamic_flag_spec='${wl}-E'
8809 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8810 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8812 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8814 if test "$with_gnu_ld" = no; then
8815 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8816 hardcode_libdir_flag_spec_ld='+b $libdir'
8817 hardcode_libdir_separator=:
8819 hardcode_direct_absolute=yes
8820 export_dynamic_flag_spec='${wl}-E'
8821 # hardcode_minus_L: Not really in the search PATH,
8822 # but as the default location of the library.
8823 hardcode_minus_L=yes
8828 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8831 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8834 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8837 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8843 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8846 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8849 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8853 if test "$with_gnu_ld" = no; then
8854 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8855 hardcode_libdir_separator=:
8860 hardcode_shlibpath_var=no
8864 hardcode_direct_absolute=yes
8865 export_dynamic_flag_spec='${wl}-E'
8867 # hardcode_minus_L: Not really in the search PATH,
8868 # but as the default location of the library.
8869 hardcode_minus_L=yes
8875 irix5* | irix6* | nonstopux*)
8876 if test "$GCC" = yes; then
8877 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'
8878 # Try to use the -exported_symbol ld option, if it does not
8879 # work, assume that -exports_file does not work either and
8880 # implicitly export all symbols.
8881 save_LDFLAGS="$LDFLAGS"
8882 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8883 cat >conftest.$ac_ext <<_ACEOF
8886 rm -f conftest.$ac_objext conftest$ac_exeext
8887 if { (ac_try="$ac_link"
8889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8890 *) ac_try_echo=$ac_try;;
8892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8893 (eval "$ac_link") 2>conftest.er1
8895 grep -v '^ *+' conftest.er1 >conftest.err
8897 cat conftest.err >&5
8898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8899 (exit $ac_status); } && {
8900 test -z "$ac_c_werror_flag" ||
8901 test ! -s conftest.err
8902 } && test -s conftest$ac_exeext &&
8903 $as_test_x conftest$ac_exeext; then
8904 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'
8907 echo "$as_me: failed program was:" >&5
8908 sed 's/^/| /' conftest.$ac_ext >&5
8913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8914 conftest$ac_exeext conftest.$ac_ext
8915 LDFLAGS="$save_LDFLAGS"
8917 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'
8918 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'
8920 archive_cmds_need_lc='no'
8921 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8922 hardcode_libdir_separator=:
8924 link_all_deplibs=yes
8928 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8929 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8931 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8933 hardcode_libdir_flag_spec='-R$libdir'
8935 hardcode_shlibpath_var=no
8939 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8941 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8942 hardcode_libdir_separator=:
8943 hardcode_shlibpath_var=no
8950 if test -f /usr/libexec/ld.so; then
8952 hardcode_shlibpath_var=no
8953 hardcode_direct_absolute=yes
8954 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8955 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8956 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8957 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8958 export_dynamic_flag_spec='${wl}-E'
8961 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8962 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8963 hardcode_libdir_flag_spec='-R$libdir'
8966 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8967 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8977 hardcode_libdir_flag_spec='-L$libdir'
8978 hardcode_minus_L=yes
8979 allow_undefined_flag=unsupported
8980 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'
8981 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8985 if test "$GCC" = yes; then
8986 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8987 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'
8989 allow_undefined_flag=' -expect_unresolved \*'
8990 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'
8992 archive_cmds_need_lc='no'
8993 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8994 hardcode_libdir_separator=:
8997 osf4* | osf5*) # as osf3* with the addition of -msym flag
8998 if test "$GCC" = yes; then
8999 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9000 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'
9001 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9003 allow_undefined_flag=' -expect_unresolved \*'
9004 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'
9005 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~
9006 $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'
9008 # Both c and cxx compiler support -rpath directly
9009 hardcode_libdir_flag_spec='-rpath $libdir'
9011 archive_cmds_need_lc='no'
9012 hardcode_libdir_separator=:
9016 no_undefined_flag=' -z defs'
9017 if test "$GCC" = yes; then
9019 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9020 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9021 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9023 case `$CC -V 2>&1` in
9026 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9027 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9028 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9032 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9033 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9034 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9038 hardcode_libdir_flag_spec='-R$libdir'
9039 hardcode_shlibpath_var=no
9041 solaris2.[0-5] | solaris2.[0-5].*) ;;
9043 # The compiler driver will combine and reorder linker options,
9044 # but understands `-z linker_flag'. GCC discards it without `$wl',
9045 # but is careful enough not to reorder.
9046 # Supported since Solaris 2.6 (maybe 2.5.1?)
9047 if test "$GCC" = yes; then
9048 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9050 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9054 link_all_deplibs=yes
9058 if test "x$host_vendor" = xsequent; then
9059 # Use $CC to link under sequent, because it throws in some extra .o
9060 # files that make .init and .fini sections work.
9061 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9063 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9065 hardcode_libdir_flag_spec='-L$libdir'
9067 hardcode_minus_L=yes
9068 hardcode_shlibpath_var=no
9072 case $host_vendor in
9074 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9075 hardcode_direct=yes # is this really true???
9078 ## LD is ld it makes a PLAMLIB
9079 ## CC just makes a GrossModule.
9080 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9081 reload_cmds='$CC -r -o $output$reload_objs'
9085 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9086 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9089 runpath_var='LD_RUN_PATH'
9090 hardcode_shlibpath_var=no
9094 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9095 hardcode_shlibpath_var=no
9096 export_dynamic_flag_spec='-Bexport'
9100 if test -d /usr/nec; then
9101 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9102 hardcode_shlibpath_var=no
9103 runpath_var=LD_RUN_PATH
9104 hardcode_runpath_var=yes
9109 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9110 no_undefined_flag='${wl}-z,text'
9111 archive_cmds_need_lc=no
9112 hardcode_shlibpath_var=no
9113 runpath_var='LD_RUN_PATH'
9115 if test "$GCC" = yes; then
9116 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9117 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9119 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9120 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9124 sysv5* | sco3.2v5* | sco5v6*)
9125 # Note: We can NOT use -z defs as we might desire, because we do not
9126 # link with -lc, and that would cause any symbols used from libc to
9127 # always be unresolved, which means just about no library would
9128 # ever link correctly. If we're not using GNU ld we use -z text
9129 # though, which does catch some bad symbols but isn't as heavy-handed
9131 no_undefined_flag='${wl}-z,text'
9132 allow_undefined_flag='${wl}-z,nodefs'
9133 archive_cmds_need_lc=no
9134 hardcode_shlibpath_var=no
9135 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9136 hardcode_libdir_separator=':'
9137 link_all_deplibs=yes
9138 export_dynamic_flag_spec='${wl}-Bexport'
9139 runpath_var='LD_RUN_PATH'
9141 if test "$GCC" = yes; then
9142 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9143 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9145 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9146 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9151 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9152 hardcode_libdir_flag_spec='-L$libdir'
9153 hardcode_shlibpath_var=no
9161 if test x$host_vendor = xsni; then
9163 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9164 export_dynamic_flag_spec='${wl}-Blargedynsym'
9170 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9171 echo "${ECHO_T}$ld_shlibs" >&6; }
9172 test "$ld_shlibs" = no && can_build_shared=no
9174 with_gnu_ld=$with_gnu_ld
9191 # Do we need to explicitly link libc?
9193 case "x$archive_cmds_need_lc" in
9195 # Assume -lc should be added
9196 archive_cmds_need_lc=yes
9198 if test "$enable_shared" = yes && test "$GCC" = yes; then
9199 case $archive_cmds in
9201 # FIXME: we may have to deal with multi-command sequences.
9204 # Test whether the compiler implicitly links with -lc since on some
9205 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9206 # to ld, don't add -lc before -lgcc.
9207 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9208 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9210 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9213 (eval $ac_compile) 2>&5
9215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9216 (exit $ac_status); } 2>conftest.err; then
9219 libobjs=conftest.$ac_objext
9221 wl=$lt_prog_compiler_wl
9222 pic_flag=$lt_prog_compiler_pic
9228 lt_save_allow_undefined_flag=$allow_undefined_flag
9229 allow_undefined_flag=
9230 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9231 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9234 (exit $ac_status); }
9236 archive_cmds_need_lc=no
9238 archive_cmds_need_lc=yes
9240 allow_undefined_flag=$lt_save_allow_undefined_flag
9242 cat conftest.err 1>&5
9245 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9246 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9409 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9410 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9412 if test "$GCC" = yes; then
9414 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9415 *) lt_awk_arg="/^libraries:/" ;;
9417 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9418 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9419 # if the path contains ";" then we assume it to be the separator
9420 # otherwise default to the standard path separator (i.e. ":") - it is
9421 # assumed that no part of a normal pathname contains ";" but that should
9422 # okay in the real world where ";" in dirpaths is itself problematic.
9423 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9425 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9427 # Ok, now we have the path, separated by spaces, we can step through it
9428 # and add multilib dir if necessary.
9429 lt_tmp_lt_search_path_spec=
9430 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9431 for lt_sys_path in $lt_search_path_spec; do
9432 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9433 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9435 test -d "$lt_sys_path" && \
9436 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9439 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9440 BEGIN {RS=" "; FS="/|\n";} {
9443 for (lt_i = NF; lt_i > 0; lt_i--) {
9444 if ($lt_i != "" && $lt_i != ".") {
9445 if ($lt_i == "..") {
9448 if (lt_count == 0) {
9449 lt_foo="/" $lt_i lt_foo;
9456 if (lt_foo != "") { lt_freq[lt_foo]++; }
9457 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9459 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9461 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9464 libname_spec='lib$name'
9472 shlibpath_overrides_runpath=unknown
9474 dynamic_linker="$host_os ld.so"
9475 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9476 need_lib_prefix=unknown
9477 hardcode_into_libs=no
9479 # when you set need_version to no, make sure it does not cause -set_version
9480 # flags to be left without arguments
9481 need_version=unknown
9486 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9487 shlibpath_var=LIBPATH
9489 # AIX 3 has no versioning support, so we append a major version to the name.
9490 soname_spec='${libname}${release}${shared_ext}$major'
9497 hardcode_into_libs=yes
9498 if test "$host_cpu" = ia64; then
9499 # AIX 5 supports IA64
9500 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9501 shlibpath_var=LD_LIBRARY_PATH
9503 # With GCC up to 2.95.x, collect2 would create an import file
9504 # for dependence libraries. The import file would start with
9505 # the line `#! .'. This would cause the generated library to
9506 # depend on `.', always an invalid library. This was fixed in
9507 # development snapshots of GCC prior to 3.0.
9509 aix4 | aix4.[01] | aix4.[01].*)
9510 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9512 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9519 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9520 # soname into executable. Probably we can add versioning support to
9521 # collect2, so additional links can be useful in future.
9522 if test "$aix_use_runtimelinking" = yes; then
9523 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9524 # instead of lib<name>.a to let people know that these are not
9525 # typical AIX shared libraries.
9526 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9528 # We preserve .a as extension for shared libraries through AIX4.2
9529 # and later when we are not doing run time linking.
9530 library_names_spec='${libname}${release}.a $libname.a'
9531 soname_spec='${libname}${release}${shared_ext}$major'
9533 shlibpath_var=LIBPATH
9540 # Since July 2007 AmigaOS4 officially supports .so libraries.
9541 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9545 library_names_spec='$libname.ixlibrary $libname.a'
9546 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9547 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'
9553 library_names_spec='${libname}${shared_ext}'
9554 dynamic_linker="$host_os ld.so"
9555 shlibpath_var=LIBRARY_PATH
9561 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9562 soname_spec='${libname}${release}${shared_ext}$major'
9563 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9564 shlibpath_var=LD_LIBRARY_PATH
9565 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9566 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9567 # the default ld.so.conf also contains /usr/contrib/lib and
9568 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9569 # libtool to hard-code these into programs
9572 cygwin* | mingw* | pw32*)
9573 version_type=windows
9578 case $GCC,$host_os in
9579 yes,cygwin* | yes,mingw* | yes,pw32*)
9580 library_names_spec='$libname.dll.a'
9581 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9582 postinstall_cmds='base_file=`basename \${file}`~
9583 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9584 dldir=$destdir/`dirname \$dlpath`~
9585 test -d \$dldir || mkdir -p \$dldir~
9586 $install_prog $dir/$dlname \$dldir/$dlname~
9587 chmod a+x \$dldir/$dlname~
9588 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9589 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9591 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9592 dlpath=$dir/\$dldll~
9594 shlibpath_overrides_runpath=yes
9598 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9599 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9600 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9603 # MinGW DLLs use traditional 'lib' prefix
9604 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9605 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9606 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9607 # It is most probably a Windows format PATH printed by
9608 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9609 # path with ; separators, and with drive letters. We can handle the
9610 # drive letters (cygwin fileutils understands them), so leave them,
9611 # especially as we might pass files found there to a mingw objdump,
9612 # which wouldn't understand a cygwinified path. Ahh.
9613 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9615 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9619 # pw32 DLLs use 'pw' prefix rather than 'lib'
9620 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9626 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9629 dynamic_linker='Win32 ld.exe'
9630 # FIXME: first we should search . and the directory the executable is in
9634 darwin* | rhapsody*)
9635 dynamic_linker="$host_os dyld"
9639 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9640 soname_spec='${libname}${release}${major}$shared_ext'
9641 shlibpath_overrides_runpath=yes
9642 shlibpath_var=DYLD_LIBRARY_PATH
9643 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9645 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9646 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9654 soname_spec='${libname}${release}${shared_ext}$major'
9655 shlibpath_var=LD_LIBRARY_PATH
9662 freebsd* | dragonfly*)
9663 # DragonFly does not have aout. When/if they implement a new
9664 # versioning mechanism, adjust this.
9665 if test -x /usr/bin/objformat; then
9666 objformat=`/usr/bin/objformat`
9669 freebsd[123]*) objformat=aout ;;
9673 version_type=freebsd-$objformat
9674 case $version_type in
9676 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9681 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9685 shlibpath_var=LD_LIBRARY_PATH
9688 shlibpath_overrides_runpath=yes
9690 freebsd3.[01]* | freebsdelf3.[01]*)
9691 shlibpath_overrides_runpath=yes
9692 hardcode_into_libs=yes
9694 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9695 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9696 shlibpath_overrides_runpath=no
9697 hardcode_into_libs=yes
9699 *) # from 4.6 on, and DragonFly
9700 shlibpath_overrides_runpath=yes
9701 hardcode_into_libs=yes
9710 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9711 soname_spec='${libname}${release}${shared_ext}$major'
9712 shlibpath_var=LD_LIBRARY_PATH
9713 hardcode_into_libs=yes
9716 hpux9* | hpux10* | hpux11*)
9717 # Give a soname corresponding to the major version so that dld.sl refuses to
9718 # link against other versions.
9725 hardcode_into_libs=yes
9726 dynamic_linker="$host_os dld.so"
9727 shlibpath_var=LD_LIBRARY_PATH
9728 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9729 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9730 soname_spec='${libname}${release}${shared_ext}$major'
9731 if test "X$HPUX_IA64_MODE" = X32; then
9732 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9734 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9736 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9740 hardcode_into_libs=yes
9741 dynamic_linker="$host_os dld.sl"
9742 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9743 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9745 soname_spec='${libname}${release}${shared_ext}$major'
9746 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9747 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9751 dynamic_linker="$host_os dld.sl"
9752 shlibpath_var=SHLIB_PATH
9753 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9754 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9755 soname_spec='${libname}${release}${shared_ext}$major'
9758 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9759 postinstall_cmds='chmod 555 $lib'
9766 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9767 soname_spec='${libname}${release}${shared_ext}$major'
9768 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9769 shlibpath_var=LD_LIBRARY_PATH
9770 shlibpath_overrides_runpath=no
9771 hardcode_into_libs=yes
9774 irix5* | irix6* | nonstopux*)
9776 nonstopux*) version_type=nonstopux ;;
9778 if test "$lt_cv_prog_gnu_ld" = yes; then
9786 soname_spec='${libname}${release}${shared_ext}$major'
9787 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9789 irix5* | nonstopux*)
9793 case $LD in # libtool.m4 will add one of these switches to LD
9794 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9795 libsuff= shlibsuff= libmagic=32-bit;;
9796 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9797 libsuff=32 shlibsuff=N32 libmagic=N32;;
9798 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9799 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9800 *) libsuff= shlibsuff= libmagic=never-match;;
9804 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9805 shlibpath_overrides_runpath=no
9806 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9807 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9808 hardcode_into_libs=yes
9811 # No shared lib support for Linux oldld, aout, or coff.
9812 linux*oldld* | linux*aout* | linux*coff*)
9816 # This must be Linux ELF.
9817 linux* | k*bsd*-gnu)
9821 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9822 soname_spec='${libname}${release}${shared_ext}$major'
9823 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9824 shlibpath_var=LD_LIBRARY_PATH
9825 shlibpath_overrides_runpath=no
9826 # Some binutils ld are patched to set DT_RUNPATH
9827 save_LDFLAGS=$LDFLAGS
9829 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9830 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9831 cat >conftest.$ac_ext <<_ACEOF
9834 cat confdefs.h >>conftest.$ac_ext
9835 cat >>conftest.$ac_ext <<_ACEOF
9836 /* end confdefs.h. */
9846 rm -f conftest.$ac_objext conftest$ac_exeext
9847 if { (ac_try="$ac_link"
9849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9850 *) ac_try_echo=$ac_try;;
9852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9853 (eval "$ac_link") 2>conftest.er1
9855 grep -v '^ *+' conftest.er1 >conftest.err
9857 cat conftest.err >&5
9858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9859 (exit $ac_status); } && {
9860 test -z "$ac_c_werror_flag" ||
9861 test ! -s conftest.err
9862 } && test -s conftest$ac_exeext &&
9863 $as_test_x conftest$ac_exeext; then
9864 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9865 shlibpath_overrides_runpath=yes
9869 echo "$as_me: failed program was:" >&5
9870 sed 's/^/| /' conftest.$ac_ext >&5
9875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9876 conftest$ac_exeext conftest.$ac_ext
9877 LDFLAGS=$save_LDFLAGS
9880 # This implies no fast_install, which is unacceptable.
9881 # Some rework will be needed to allow for fast_install
9882 # before this can be enabled.
9883 hardcode_into_libs=yes
9885 # Append ld.so.conf contents to the search path
9886 if test -f /etc/ld.so.conf; then
9887 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' ' '`
9888 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9891 # We used to test for /lib/ld.so.1 and disable shared libraries on
9892 # powerpc, because MkLinux only supported shared libraries with the
9893 # GNU dynamic linker. Since this was broken with cross compilers,
9894 # most powerpc-linux boxes support dynamic linking these days and
9895 # people can always --disable-shared, the test was removed, and we
9896 # assume the GNU/Linux dynamic linker is in use.
9897 dynamic_linker='GNU/Linux ld.so'
9904 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9905 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9906 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9907 dynamic_linker='NetBSD (a.out) ld.so'
9909 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9910 soname_spec='${libname}${release}${shared_ext}$major'
9911 dynamic_linker='NetBSD ld.elf_so'
9913 shlibpath_var=LD_LIBRARY_PATH
9914 shlibpath_overrides_runpath=yes
9915 hardcode_into_libs=yes
9920 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9921 shlibpath_var=LD_LIBRARY_PATH
9922 shlibpath_overrides_runpath=yes
9929 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9930 soname_spec='${libname}${release}${shared_ext}$major'
9931 shlibpath_var=LD_LIBRARY_PATH
9932 shlibpath_overrides_runpath=no
9933 hardcode_into_libs=yes
9934 dynamic_linker='ldqnx.so'
9939 sys_lib_dlsearch_path_spec="/usr/lib"
9941 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9943 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9944 *) need_version=no ;;
9946 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9947 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9948 shlibpath_var=LD_LIBRARY_PATH
9949 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9951 openbsd2.[89] | openbsd2.[89].*)
9952 shlibpath_overrides_runpath=no
9955 shlibpath_overrides_runpath=yes
9959 shlibpath_overrides_runpath=yes
9964 libname_spec='$name'
9967 library_names_spec='$libname${shared_ext} $libname.a'
9968 dynamic_linker='OS/2 ld.exe'
9969 shlibpath_var=LIBPATH
9972 osf3* | osf4* | osf5*)
9976 soname_spec='${libname}${release}${shared_ext}$major'
9977 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9978 shlibpath_var=LD_LIBRARY_PATH
9979 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9980 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9992 soname_spec='${libname}${release}${shared_ext}$major'
9993 shlibpath_var=LD_LIBRARY_PATH
9994 shlibpath_overrides_runpath=yes
9995 hardcode_into_libs=yes
9996 # ldd complains unless libraries are executable
9997 postinstall_cmds='chmod +x $lib'
10002 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10003 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10004 shlibpath_var=LD_LIBRARY_PATH
10005 shlibpath_overrides_runpath=yes
10006 if test "$with_gnu_ld" = yes; then
10014 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10015 soname_spec='${libname}${release}${shared_ext}$major'
10016 shlibpath_var=LD_LIBRARY_PATH
10017 case $host_vendor in
10019 shlibpath_overrides_runpath=no
10021 runpath_var=LD_RUN_PATH
10029 shlibpath_overrides_runpath=no
10030 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10036 if test -d /usr/nec ;then
10038 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10039 soname_spec='$libname${shared_ext}.$major'
10040 shlibpath_var=LD_LIBRARY_PATH
10044 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10045 version_type=freebsd-elf
10048 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10049 soname_spec='${libname}${release}${shared_ext}$major'
10050 shlibpath_var=LD_LIBRARY_PATH
10051 shlibpath_overrides_runpath=yes
10052 hardcode_into_libs=yes
10053 if test "$with_gnu_ld" = yes; then
10054 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10056 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10059 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10063 sys_lib_dlsearch_path_spec='/usr/lib'
10067 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10071 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10072 shlibpath_var=LD_LIBRARY_PATH
10073 shlibpath_overrides_runpath=no
10074 hardcode_into_libs=yes
10079 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10080 soname_spec='${libname}${release}${shared_ext}$major'
10081 shlibpath_var=LD_LIBRARY_PATH
10088 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10089 echo "${ECHO_T}$dynamic_linker" >&6; }
10090 test "$dynamic_linker" = no && can_build_shared=no
10092 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10093 if test "$GCC" = yes; then
10094 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10097 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10098 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10100 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10101 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10190 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10191 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10193 if test -n "$hardcode_libdir_flag_spec" ||
10194 test -n "$runpath_var" ||
10195 test "X$hardcode_automatic" = "Xyes" ; then
10197 # We can hardcode non-existent directories.
10198 if test "$hardcode_direct" != no &&
10199 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10200 # have to relink, otherwise we might link with an installed library
10201 # when we should be linking with a yet-to-be-installed one
10202 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10203 test "$hardcode_minus_L" != no; then
10204 # Linking always hardcodes the temporary library directory.
10205 hardcode_action=relink
10207 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10208 hardcode_action=immediate
10211 # We cannot hardcode anything, or else we can only hardcode existing
10213 hardcode_action=unsupported
10215 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
10216 echo "${ECHO_T}$hardcode_action" >&6; }
10218 if test "$hardcode_action" = relink ||
10219 test "$inherit_rpath" = yes; then
10220 # Fast installation is not supported
10221 enable_fast_install=no
10222 elif test "$shlibpath_overrides_runpath" = yes ||
10223 test "$enable_shared" = no; then
10224 # Fast installation is not necessary
10225 enable_fast_install=needless
10233 if test "x$enable_dlopen" != xyes; then
10234 enable_dlopen=unknown
10235 enable_dlopen_self=unknown
10236 enable_dlopen_self_static=unknown
10243 lt_cv_dlopen="load_add_on"
10245 lt_cv_dlopen_self=yes
10249 lt_cv_dlopen="LoadLibrary"
10254 lt_cv_dlopen="dlopen"
10259 # if libdl is installed we need to link against it
10260 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10261 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10262 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10263 echo $ECHO_N "(cached) $ECHO_C" >&6
10265 ac_check_lib_save_LIBS=$LIBS
10267 cat >conftest.$ac_ext <<_ACEOF
10270 cat confdefs.h >>conftest.$ac_ext
10271 cat >>conftest.$ac_ext <<_ACEOF
10272 /* end confdefs.h. */
10274 /* Override any GCC internal prototype to avoid an error.
10275 Use char because int might match the return type of a GCC
10276 builtin and then its argument prototype would still apply. */
10289 rm -f conftest.$ac_objext conftest$ac_exeext
10290 if { (ac_try="$ac_link"
10291 case "(($ac_try" in
10292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10293 *) ac_try_echo=$ac_try;;
10295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10296 (eval "$ac_link") 2>conftest.er1
10298 grep -v '^ *+' conftest.er1 >conftest.err
10300 cat conftest.err >&5
10301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10302 (exit $ac_status); } && {
10303 test -z "$ac_c_werror_flag" ||
10304 test ! -s conftest.err
10305 } && test -s conftest$ac_exeext &&
10306 $as_test_x conftest$ac_exeext; then
10307 ac_cv_lib_dl_dlopen=yes
10309 echo "$as_me: failed program was:" >&5
10310 sed 's/^/| /' conftest.$ac_ext >&5
10312 ac_cv_lib_dl_dlopen=no
10315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10316 conftest$ac_exeext conftest.$ac_ext
10317 LIBS=$ac_check_lib_save_LIBS
10319 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10320 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10321 if test $ac_cv_lib_dl_dlopen = yes; then
10322 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10325 lt_cv_dlopen="dyld"
10327 lt_cv_dlopen_self=yes
10334 { echo "$as_me:$LINENO: checking for shl_load" >&5
10335 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10336 if test "${ac_cv_func_shl_load+set}" = set; then
10337 echo $ECHO_N "(cached) $ECHO_C" >&6
10339 cat >conftest.$ac_ext <<_ACEOF
10342 cat confdefs.h >>conftest.$ac_ext
10343 cat >>conftest.$ac_ext <<_ACEOF
10344 /* end confdefs.h. */
10345 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10347 #define shl_load innocuous_shl_load
10349 /* System header to define __stub macros and hopefully few prototypes,
10350 which can conflict with char shl_load (); below.
10351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10352 <limits.h> exists even on freestanding compilers. */
10355 # include <limits.h>
10357 # include <assert.h>
10362 /* Override any GCC internal prototype to avoid an error.
10363 Use char because int might match the return type of a GCC
10364 builtin and then its argument prototype would still apply. */
10369 /* The GNU C library defines this for functions which it implements
10370 to always fail with ENOSYS. Some functions are actually named
10371 something starting with __ and the normal name is an alias. */
10372 #if defined __stub_shl_load || defined __stub___shl_load
10379 return shl_load ();
10384 rm -f conftest.$ac_objext conftest$ac_exeext
10385 if { (ac_try="$ac_link"
10386 case "(($ac_try" in
10387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10388 *) ac_try_echo=$ac_try;;
10390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10391 (eval "$ac_link") 2>conftest.er1
10393 grep -v '^ *+' conftest.er1 >conftest.err
10395 cat conftest.err >&5
10396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10397 (exit $ac_status); } && {
10398 test -z "$ac_c_werror_flag" ||
10399 test ! -s conftest.err
10400 } && test -s conftest$ac_exeext &&
10401 $as_test_x conftest$ac_exeext; then
10402 ac_cv_func_shl_load=yes
10404 echo "$as_me: failed program was:" >&5
10405 sed 's/^/| /' conftest.$ac_ext >&5
10407 ac_cv_func_shl_load=no
10410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10411 conftest$ac_exeext conftest.$ac_ext
10413 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10414 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10415 if test $ac_cv_func_shl_load = yes; then
10416 lt_cv_dlopen="shl_load"
10418 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10419 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10420 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10421 echo $ECHO_N "(cached) $ECHO_C" >&6
10423 ac_check_lib_save_LIBS=$LIBS
10425 cat >conftest.$ac_ext <<_ACEOF
10428 cat confdefs.h >>conftest.$ac_ext
10429 cat >>conftest.$ac_ext <<_ACEOF
10430 /* end confdefs.h. */
10432 /* Override any GCC internal prototype to avoid an error.
10433 Use char because int might match the return type of a GCC
10434 builtin and then its argument prototype would still apply. */
10442 return shl_load ();
10447 rm -f conftest.$ac_objext conftest$ac_exeext
10448 if { (ac_try="$ac_link"
10449 case "(($ac_try" in
10450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10451 *) ac_try_echo=$ac_try;;
10453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10454 (eval "$ac_link") 2>conftest.er1
10456 grep -v '^ *+' conftest.er1 >conftest.err
10458 cat conftest.err >&5
10459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10460 (exit $ac_status); } && {
10461 test -z "$ac_c_werror_flag" ||
10462 test ! -s conftest.err
10463 } && test -s conftest$ac_exeext &&
10464 $as_test_x conftest$ac_exeext; then
10465 ac_cv_lib_dld_shl_load=yes
10467 echo "$as_me: failed program was:" >&5
10468 sed 's/^/| /' conftest.$ac_ext >&5
10470 ac_cv_lib_dld_shl_load=no
10473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10474 conftest$ac_exeext conftest.$ac_ext
10475 LIBS=$ac_check_lib_save_LIBS
10477 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10478 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10479 if test $ac_cv_lib_dld_shl_load = yes; then
10480 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10482 { echo "$as_me:$LINENO: checking for dlopen" >&5
10483 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10484 if test "${ac_cv_func_dlopen+set}" = set; then
10485 echo $ECHO_N "(cached) $ECHO_C" >&6
10487 cat >conftest.$ac_ext <<_ACEOF
10490 cat confdefs.h >>conftest.$ac_ext
10491 cat >>conftest.$ac_ext <<_ACEOF
10492 /* end confdefs.h. */
10493 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10495 #define dlopen innocuous_dlopen
10497 /* System header to define __stub macros and hopefully few prototypes,
10498 which can conflict with char dlopen (); below.
10499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10500 <limits.h> exists even on freestanding compilers. */
10503 # include <limits.h>
10505 # include <assert.h>
10510 /* Override any GCC internal prototype to avoid an error.
10511 Use char because int might match the return type of a GCC
10512 builtin and then its argument prototype would still apply. */
10517 /* The GNU C library defines this for functions which it implements
10518 to always fail with ENOSYS. Some functions are actually named
10519 something starting with __ and the normal name is an alias. */
10520 #if defined __stub_dlopen || defined __stub___dlopen
10532 rm -f conftest.$ac_objext conftest$ac_exeext
10533 if { (ac_try="$ac_link"
10534 case "(($ac_try" in
10535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10536 *) ac_try_echo=$ac_try;;
10538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10539 (eval "$ac_link") 2>conftest.er1
10541 grep -v '^ *+' conftest.er1 >conftest.err
10543 cat conftest.err >&5
10544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10545 (exit $ac_status); } && {
10546 test -z "$ac_c_werror_flag" ||
10547 test ! -s conftest.err
10548 } && test -s conftest$ac_exeext &&
10549 $as_test_x conftest$ac_exeext; then
10550 ac_cv_func_dlopen=yes
10552 echo "$as_me: failed program was:" >&5
10553 sed 's/^/| /' conftest.$ac_ext >&5
10555 ac_cv_func_dlopen=no
10558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10559 conftest$ac_exeext conftest.$ac_ext
10561 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10562 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10563 if test $ac_cv_func_dlopen = yes; then
10564 lt_cv_dlopen="dlopen"
10566 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10567 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10568 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10569 echo $ECHO_N "(cached) $ECHO_C" >&6
10571 ac_check_lib_save_LIBS=$LIBS
10573 cat >conftest.$ac_ext <<_ACEOF
10576 cat confdefs.h >>conftest.$ac_ext
10577 cat >>conftest.$ac_ext <<_ACEOF
10578 /* end confdefs.h. */
10580 /* Override any GCC internal prototype to avoid an error.
10581 Use char because int might match the return type of a GCC
10582 builtin and then its argument prototype would still apply. */
10595 rm -f conftest.$ac_objext conftest$ac_exeext
10596 if { (ac_try="$ac_link"
10597 case "(($ac_try" in
10598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10599 *) ac_try_echo=$ac_try;;
10601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10602 (eval "$ac_link") 2>conftest.er1
10604 grep -v '^ *+' conftest.er1 >conftest.err
10606 cat conftest.err >&5
10607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10608 (exit $ac_status); } && {
10609 test -z "$ac_c_werror_flag" ||
10610 test ! -s conftest.err
10611 } && test -s conftest$ac_exeext &&
10612 $as_test_x conftest$ac_exeext; then
10613 ac_cv_lib_dl_dlopen=yes
10615 echo "$as_me: failed program was:" >&5
10616 sed 's/^/| /' conftest.$ac_ext >&5
10618 ac_cv_lib_dl_dlopen=no
10621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10622 conftest$ac_exeext conftest.$ac_ext
10623 LIBS=$ac_check_lib_save_LIBS
10625 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10626 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10627 if test $ac_cv_lib_dl_dlopen = yes; then
10628 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10630 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10631 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10632 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10633 echo $ECHO_N "(cached) $ECHO_C" >&6
10635 ac_check_lib_save_LIBS=$LIBS
10636 LIBS="-lsvld $LIBS"
10637 cat >conftest.$ac_ext <<_ACEOF
10640 cat confdefs.h >>conftest.$ac_ext
10641 cat >>conftest.$ac_ext <<_ACEOF
10642 /* end confdefs.h. */
10644 /* Override any GCC internal prototype to avoid an error.
10645 Use char because int might match the return type of a GCC
10646 builtin and then its argument prototype would still apply. */
10659 rm -f conftest.$ac_objext conftest$ac_exeext
10660 if { (ac_try="$ac_link"
10661 case "(($ac_try" in
10662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10663 *) ac_try_echo=$ac_try;;
10665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10666 (eval "$ac_link") 2>conftest.er1
10668 grep -v '^ *+' conftest.er1 >conftest.err
10670 cat conftest.err >&5
10671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10672 (exit $ac_status); } && {
10673 test -z "$ac_c_werror_flag" ||
10674 test ! -s conftest.err
10675 } && test -s conftest$ac_exeext &&
10676 $as_test_x conftest$ac_exeext; then
10677 ac_cv_lib_svld_dlopen=yes
10679 echo "$as_me: failed program was:" >&5
10680 sed 's/^/| /' conftest.$ac_ext >&5
10682 ac_cv_lib_svld_dlopen=no
10685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10686 conftest$ac_exeext conftest.$ac_ext
10687 LIBS=$ac_check_lib_save_LIBS
10689 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10690 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10691 if test $ac_cv_lib_svld_dlopen = yes; then
10692 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10694 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10695 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10696 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10697 echo $ECHO_N "(cached) $ECHO_C" >&6
10699 ac_check_lib_save_LIBS=$LIBS
10701 cat >conftest.$ac_ext <<_ACEOF
10704 cat confdefs.h >>conftest.$ac_ext
10705 cat >>conftest.$ac_ext <<_ACEOF
10706 /* end confdefs.h. */
10708 /* Override any GCC internal prototype to avoid an error.
10709 Use char because int might match the return type of a GCC
10710 builtin and then its argument prototype would still apply. */
10718 return dld_link ();
10723 rm -f conftest.$ac_objext conftest$ac_exeext
10724 if { (ac_try="$ac_link"
10725 case "(($ac_try" in
10726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10727 *) ac_try_echo=$ac_try;;
10729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10730 (eval "$ac_link") 2>conftest.er1
10732 grep -v '^ *+' conftest.er1 >conftest.err
10734 cat conftest.err >&5
10735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10736 (exit $ac_status); } && {
10737 test -z "$ac_c_werror_flag" ||
10738 test ! -s conftest.err
10739 } && test -s conftest$ac_exeext &&
10740 $as_test_x conftest$ac_exeext; then
10741 ac_cv_lib_dld_dld_link=yes
10743 echo "$as_me: failed program was:" >&5
10744 sed 's/^/| /' conftest.$ac_ext >&5
10746 ac_cv_lib_dld_dld_link=no
10749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10750 conftest$ac_exeext conftest.$ac_ext
10751 LIBS=$ac_check_lib_save_LIBS
10753 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10754 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10755 if test $ac_cv_lib_dld_dld_link = yes; then
10756 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10777 if test "x$lt_cv_dlopen" != xno; then
10783 case $lt_cv_dlopen in
10785 save_CPPFLAGS="$CPPFLAGS"
10786 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10788 save_LDFLAGS="$LDFLAGS"
10789 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10792 LIBS="$lt_cv_dlopen_libs $LIBS"
10794 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10795 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10796 if test "${lt_cv_dlopen_self+set}" = set; then
10797 echo $ECHO_N "(cached) $ECHO_C" >&6
10799 if test "$cross_compiling" = yes; then :
10800 lt_cv_dlopen_self=cross
10802 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10803 lt_status=$lt_dlunknown
10804 cat > conftest.$ac_ext <<_LT_EOF
10805 #line 10805 "configure"
10806 #include "confdefs.h"
10815 # define LT_DLGLOBAL RTLD_GLOBAL
10818 # define LT_DLGLOBAL DL_GLOBAL
10820 # define LT_DLGLOBAL 0
10824 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10825 find out it does not work in some platform. */
10826 #ifndef LT_DLLAZY_OR_NOW
10828 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10831 # define LT_DLLAZY_OR_NOW DL_LAZY
10834 # define LT_DLLAZY_OR_NOW RTLD_NOW
10837 # define LT_DLLAZY_OR_NOW DL_NOW
10839 # define LT_DLLAZY_OR_NOW 0
10847 extern "C" void exit (int);
10850 void fnord() { int i=42;}
10853 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10854 int status = $lt_dlunknown;
10858 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10859 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10860 /* dlclose (self); */
10868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10869 (eval $ac_link) 2>&5
10871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10872 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10873 (./conftest; exit; ) >&5 2>/dev/null
10875 case x$lt_status in
10876 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10877 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10878 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10881 # compilation failed
10882 lt_cv_dlopen_self=no
10889 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10890 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10892 if test "x$lt_cv_dlopen_self" = xyes; then
10893 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10894 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10895 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10896 if test "${lt_cv_dlopen_self_static+set}" = set; then
10897 echo $ECHO_N "(cached) $ECHO_C" >&6
10899 if test "$cross_compiling" = yes; then :
10900 lt_cv_dlopen_self_static=cross
10902 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10903 lt_status=$lt_dlunknown
10904 cat > conftest.$ac_ext <<_LT_EOF
10905 #line 10905 "configure"
10906 #include "confdefs.h"
10915 # define LT_DLGLOBAL RTLD_GLOBAL
10918 # define LT_DLGLOBAL DL_GLOBAL
10920 # define LT_DLGLOBAL 0
10924 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10925 find out it does not work in some platform. */
10926 #ifndef LT_DLLAZY_OR_NOW
10928 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10931 # define LT_DLLAZY_OR_NOW DL_LAZY
10934 # define LT_DLLAZY_OR_NOW RTLD_NOW
10937 # define LT_DLLAZY_OR_NOW DL_NOW
10939 # define LT_DLLAZY_OR_NOW 0
10947 extern "C" void exit (int);
10950 void fnord() { int i=42;}
10953 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10954 int status = $lt_dlunknown;
10958 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10959 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10960 /* dlclose (self); */
10968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10969 (eval $ac_link) 2>&5
10971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10972 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10973 (./conftest; exit; ) >&5 2>/dev/null
10975 case x$lt_status in
10976 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10977 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10978 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10981 # compilation failed
10982 lt_cv_dlopen_self_static=no
10989 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10990 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10993 CPPFLAGS="$save_CPPFLAGS"
10994 LDFLAGS="$save_LDFLAGS"
10999 case $lt_cv_dlopen_self in
11000 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11001 *) enable_dlopen_self=unknown ;;
11004 case $lt_cv_dlopen_self_static in
11005 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11006 *) enable_dlopen_self_static=unknown ;;
11028 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11029 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
11030 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11031 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11032 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11033 { echo "$as_me:$LINENO: result: yes" >&5
11034 echo "${ECHO_T}yes" >&6; }
11036 # FIXME - insert some real tests, host_os isn't really good enough
11039 if test -n "$STRIP" ; then
11040 striplib="$STRIP -x"
11041 old_striplib="$STRIP -S"
11042 { echo "$as_me:$LINENO: result: yes" >&5
11043 echo "${ECHO_T}yes" >&6; }
11045 { echo "$as_me:$LINENO: result: no" >&5
11046 echo "${ECHO_T}no" >&6; }
11050 { echo "$as_me:$LINENO: result: no" >&5
11051 echo "${ECHO_T}no" >&6; }
11067 # Report which library types will actually be built
11068 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11069 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11070 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
11071 echo "${ECHO_T}$can_build_shared" >&6; }
11073 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11074 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11075 test "$can_build_shared" = "no" && enable_shared=no
11077 # On AIX, shared libraries and static libraries use the same namespace, and
11078 # are all built from PIC.
11081 test "$enable_shared" = yes && enable_static=no
11082 if test -n "$RANLIB"; then
11083 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11084 postinstall_cmds='$RANLIB $lib'
11089 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11090 test "$enable_shared" = yes && enable_static=no
11094 { echo "$as_me:$LINENO: result: $enable_shared" >&5
11095 echo "${ECHO_T}$enable_shared" >&6; }
11097 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11098 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11099 # Make sure either enable_shared or enable_static is yes.
11100 test "$enable_shared" = yes || enable_static=yes
11101 { echo "$as_me:$LINENO: result: $enable_static" >&5
11102 echo "${ECHO_T}$enable_static" >&6; }
11109 ac_cpp='$CPP $CPPFLAGS'
11110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11128 ac_config_commands="$ac_config_commands libtool"
11133 # Only expand once:
11137 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
11138 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
11139 if test "${ac_cv_c_bigendian+set}" = set; then
11140 echo $ECHO_N "(cached) $ECHO_C" >&6
11142 # See if sys/param.h defines the BYTE_ORDER macro.
11143 cat >conftest.$ac_ext <<_ACEOF
11146 cat confdefs.h >>conftest.$ac_ext
11147 cat >>conftest.$ac_ext <<_ACEOF
11148 /* end confdefs.h. */
11149 #include <sys/types.h>
11150 #include <sys/param.h>
11155 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
11156 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
11157 bogus endian macros
11164 rm -f conftest.$ac_objext
11165 if { (ac_try="$ac_compile"
11166 case "(($ac_try" in
11167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11168 *) ac_try_echo=$ac_try;;
11170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11171 (eval "$ac_compile") 2>conftest.er1
11173 grep -v '^ *+' conftest.er1 >conftest.err
11175 cat conftest.err >&5
11176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11177 (exit $ac_status); } && {
11178 test -z "$ac_c_werror_flag" ||
11179 test ! -s conftest.err
11180 } && test -s conftest.$ac_objext; then
11181 # It does; now see whether it defined to BIG_ENDIAN or not.
11182 cat >conftest.$ac_ext <<_ACEOF
11185 cat confdefs.h >>conftest.$ac_ext
11186 cat >>conftest.$ac_ext <<_ACEOF
11187 /* end confdefs.h. */
11188 #include <sys/types.h>
11189 #include <sys/param.h>
11194 #if BYTE_ORDER != BIG_ENDIAN
11202 rm -f conftest.$ac_objext
11203 if { (ac_try="$ac_compile"
11204 case "(($ac_try" in
11205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11206 *) ac_try_echo=$ac_try;;
11208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11209 (eval "$ac_compile") 2>conftest.er1
11211 grep -v '^ *+' conftest.er1 >conftest.err
11213 cat conftest.err >&5
11214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11215 (exit $ac_status); } && {
11216 test -z "$ac_c_werror_flag" ||
11217 test ! -s conftest.err
11218 } && test -s conftest.$ac_objext; then
11219 ac_cv_c_bigendian=yes
11221 echo "$as_me: failed program was:" >&5
11222 sed 's/^/| /' conftest.$ac_ext >&5
11224 ac_cv_c_bigendian=no
11227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11229 echo "$as_me: failed program was:" >&5
11230 sed 's/^/| /' conftest.$ac_ext >&5
11232 # It does not; compile a test program.
11233 if test "$cross_compiling" = yes; then
11234 # try to guess the endianness by grepping values into an object file
11235 ac_cv_c_bigendian=unknown
11236 cat >conftest.$ac_ext <<_ACEOF
11239 cat confdefs.h >>conftest.$ac_ext
11240 cat >>conftest.$ac_ext <<_ACEOF
11241 /* end confdefs.h. */
11242 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
11243 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
11244 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
11245 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
11246 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
11247 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
11251 _ascii (); _ebcdic ();
11256 rm -f conftest.$ac_objext
11257 if { (ac_try="$ac_compile"
11258 case "(($ac_try" in
11259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11260 *) ac_try_echo=$ac_try;;
11262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11263 (eval "$ac_compile") 2>conftest.er1
11265 grep -v '^ *+' conftest.er1 >conftest.err
11267 cat conftest.err >&5
11268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11269 (exit $ac_status); } && {
11270 test -z "$ac_c_werror_flag" ||
11271 test ! -s conftest.err
11272 } && test -s conftest.$ac_objext; then
11273 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
11274 ac_cv_c_bigendian=yes
11276 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
11277 if test "$ac_cv_c_bigendian" = unknown; then
11278 ac_cv_c_bigendian=no
11280 # finding both strings is unlikely to happen, but who knows?
11281 ac_cv_c_bigendian=unknown
11285 echo "$as_me: failed program was:" >&5
11286 sed 's/^/| /' conftest.$ac_ext >&5
11291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11293 cat >conftest.$ac_ext <<_ACEOF
11296 cat confdefs.h >>conftest.$ac_ext
11297 cat >>conftest.$ac_ext <<_ACEOF
11298 /* end confdefs.h. */
11299 $ac_includes_default
11304 /* Are we little or big endian? From Harbison&Steele. */
11308 char c[sizeof (long int)];
11311 return u.c[sizeof (long int) - 1] == 1;
11317 rm -f conftest$ac_exeext
11318 if { (ac_try="$ac_link"
11319 case "(($ac_try" in
11320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11321 *) ac_try_echo=$ac_try;;
11323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11324 (eval "$ac_link") 2>&5
11326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11327 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11328 { (case "(($ac_try" in
11329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11330 *) ac_try_echo=$ac_try;;
11332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11333 (eval "$ac_try") 2>&5
11335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11336 (exit $ac_status); }; }; then
11337 ac_cv_c_bigendian=no
11339 echo "$as_me: program exited with status $ac_status" >&5
11340 echo "$as_me: failed program was:" >&5
11341 sed 's/^/| /' conftest.$ac_ext >&5
11343 ( exit $ac_status )
11344 ac_cv_c_bigendian=yes
11346 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11354 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
11355 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
11356 case $ac_cv_c_bigendian in
11359 cat >>confdefs.h <<\_ACEOF
11360 #define WORDS_BIGENDIAN 1
11366 { { echo "$as_me:$LINENO: error: unknown endianness
11367 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
11368 echo "$as_me: error: unknown endianness
11369 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
11370 { (exit 1); exit 1; }; } ;;
11373 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
11374 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
11375 if test "${ac_cv_c_const+set}" = set; then
11376 echo $ECHO_N "(cached) $ECHO_C" >&6
11378 cat >conftest.$ac_ext <<_ACEOF
11381 cat confdefs.h >>conftest.$ac_ext
11382 cat >>conftest.$ac_ext <<_ACEOF
11383 /* end confdefs.h. */
11388 /* FIXME: Include the comments suggested by Paul. */
11389 #ifndef __cplusplus
11390 /* Ultrix mips cc rejects this. */
11391 typedef int charset[2];
11393 /* SunOS 4.1.1 cc rejects this. */
11394 char const *const *pcpcc;
11396 /* NEC SVR4.0.2 mips cc rejects this. */
11397 struct point {int x, y;};
11398 static struct point const zero = {0,0};
11399 /* AIX XL C 1.02.0.0 rejects this.
11400 It does not let you subtract one const X* pointer from another in
11401 an arm of an if-expression whose if-part is not a constant
11403 const char *g = "string";
11404 pcpcc = &g + (g ? g-g : 0);
11405 /* HPUX 7.0 cc rejects these. */
11407 ppc = (char**) pcpcc;
11408 pcpcc = (char const *const *) ppc;
11409 { /* SCO 3.2v4 cc rejects this. */
11411 char const *s = 0 ? (char *) 0 : (char const *) 0;
11416 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11417 int x[] = {25, 17};
11418 const int *foo = &x[0];
11421 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11422 typedef const int *iptr;
11426 { /* AIX XL C 1.02.0.0 rejects this saying
11427 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11428 struct s { int j; const int *ap[3]; };
11429 struct s *b; b->j = 5;
11431 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11432 const int foo = 10;
11433 if (!foo) return 0;
11435 return !cs[0] && !zero.x;
11442 rm -f conftest.$ac_objext
11443 if { (ac_try="$ac_compile"
11444 case "(($ac_try" in
11445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11446 *) ac_try_echo=$ac_try;;
11448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11449 (eval "$ac_compile") 2>conftest.er1
11451 grep -v '^ *+' conftest.er1 >conftest.err
11453 cat conftest.err >&5
11454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11455 (exit $ac_status); } && {
11456 test -z "$ac_c_werror_flag" ||
11457 test ! -s conftest.err
11458 } && test -s conftest.$ac_objext; then
11461 echo "$as_me: failed program was:" >&5
11462 sed 's/^/| /' conftest.$ac_ext >&5
11467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11469 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
11470 echo "${ECHO_T}$ac_cv_c_const" >&6; }
11471 if test $ac_cv_c_const = no; then
11473 cat >>confdefs.h <<\_ACEOF
11479 { echo "$as_me:$LINENO: checking for inline" >&5
11480 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
11481 if test "${ac_cv_c_inline+set}" = set; then
11482 echo $ECHO_N "(cached) $ECHO_C" >&6
11485 for ac_kw in inline __inline__ __inline; do
11486 cat >conftest.$ac_ext <<_ACEOF
11489 cat confdefs.h >>conftest.$ac_ext
11490 cat >>conftest.$ac_ext <<_ACEOF
11491 /* end confdefs.h. */
11492 #ifndef __cplusplus
11494 static $ac_kw foo_t static_foo () {return 0; }
11495 $ac_kw foo_t foo () {return 0; }
11499 rm -f conftest.$ac_objext
11500 if { (ac_try="$ac_compile"
11501 case "(($ac_try" in
11502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11503 *) ac_try_echo=$ac_try;;
11505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11506 (eval "$ac_compile") 2>conftest.er1
11508 grep -v '^ *+' conftest.er1 >conftest.err
11510 cat conftest.err >&5
11511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11512 (exit $ac_status); } && {
11513 test -z "$ac_c_werror_flag" ||
11514 test ! -s conftest.err
11515 } && test -s conftest.$ac_objext; then
11516 ac_cv_c_inline=$ac_kw
11518 echo "$as_me: failed program was:" >&5
11519 sed 's/^/| /' conftest.$ac_ext >&5
11524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11525 test "$ac_cv_c_inline" != no && break
11529 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
11530 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
11533 case $ac_cv_c_inline in
11536 case $ac_cv_c_inline in
11538 *) ac_val=$ac_cv_c_inline;;
11540 cat >>confdefs.h <<_ACEOF
11541 #ifndef __cplusplus
11542 #define inline $ac_val
11548 { echo "$as_me:$LINENO: checking for C/C++ restrict keyword" >&5
11549 echo $ECHO_N "checking for C/C++ restrict keyword... $ECHO_C" >&6; }
11550 if test "${ac_cv_c_restrict+set}" = set; then
11551 echo $ECHO_N "(cached) $ECHO_C" >&6
11553 ac_cv_c_restrict=no
11554 # Try the official restrict keyword, then gcc's __restrict, and
11555 # the less common variants.
11556 for ac_kw in restrict __restrict __restrict__ _Restrict; do
11557 cat >conftest.$ac_ext <<_ACEOF
11560 cat confdefs.h >>conftest.$ac_ext
11561 cat >>conftest.$ac_ext <<_ACEOF
11562 /* end confdefs.h. */
11563 typedef int * int_ptr;
11564 int foo (int_ptr $ac_kw ip) {
11571 int * $ac_kw t = s;
11578 rm -f conftest.$ac_objext
11579 if { (ac_try="$ac_compile"
11580 case "(($ac_try" in
11581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11582 *) ac_try_echo=$ac_try;;
11584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11585 (eval "$ac_compile") 2>conftest.er1
11587 grep -v '^ *+' conftest.er1 >conftest.err
11589 cat conftest.err >&5
11590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11591 (exit $ac_status); } && {
11592 test -z "$ac_c_werror_flag" ||
11593 test ! -s conftest.err
11594 } && test -s conftest.$ac_objext; then
11595 ac_cv_c_restrict=$ac_kw
11597 echo "$as_me: failed program was:" >&5
11598 sed 's/^/| /' conftest.$ac_ext >&5
11603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11604 test "$ac_cv_c_restrict" != no && break
11608 { echo "$as_me:$LINENO: result: $ac_cv_c_restrict" >&5
11609 echo "${ECHO_T}$ac_cv_c_restrict" >&6; }
11610 case $ac_cv_c_restrict in
11613 cat >>confdefs.h <<\_ACEOF
11617 *) cat >>confdefs.h <<_ACEOF
11618 #define restrict $ac_cv_c_restrict
11625 { echo "$as_me:$LINENO: checking for C99 variable-size arrays" >&5
11626 echo $ECHO_N "checking for C99 variable-size arrays... $ECHO_C" >&6; }
11627 cat >conftest.$ac_ext <<_ACEOF
11630 cat confdefs.h >>conftest.$ac_ext
11631 cat >>conftest.$ac_ext <<_ACEOF
11632 /* end confdefs.h. */
11646 rm -f conftest.$ac_objext
11647 if { (ac_try="$ac_compile"
11648 case "(($ac_try" in
11649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11650 *) ac_try_echo=$ac_try;;
11652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11653 (eval "$ac_compile") 2>conftest.er1
11655 grep -v '^ *+' conftest.er1 >conftest.err
11657 cat conftest.err >&5
11658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11659 (exit $ac_status); } && {
11660 test -z "$ac_c_werror_flag" ||
11661 test ! -s conftest.err
11662 } && test -s conftest.$ac_objext; then
11663 has_var_arrays=yes;
11664 cat >>confdefs.h <<\_ACEOF
11670 echo "$as_me: failed program was:" >&5
11671 sed 's/^/| /' conftest.$ac_ext >&5
11677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11678 { echo "$as_me:$LINENO: result: $has_var_arrays" >&5
11679 echo "${ECHO_T}$has_var_arrays" >&6; }
11683 for ac_header in alloca.h getopt.h
11685 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11686 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11687 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11689 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11690 echo $ECHO_N "(cached) $ECHO_C" >&6
11692 ac_res=`eval echo '${'$as_ac_Header'}'`
11693 { echo "$as_me:$LINENO: result: $ac_res" >&5
11694 echo "${ECHO_T}$ac_res" >&6; }
11696 # Is the header compilable?
11697 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11698 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11699 cat >conftest.$ac_ext <<_ACEOF
11702 cat confdefs.h >>conftest.$ac_ext
11703 cat >>conftest.$ac_ext <<_ACEOF
11704 /* end confdefs.h. */
11705 $ac_includes_default
11706 #include <$ac_header>
11708 rm -f conftest.$ac_objext
11709 if { (ac_try="$ac_compile"
11710 case "(($ac_try" in
11711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11712 *) ac_try_echo=$ac_try;;
11714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11715 (eval "$ac_compile") 2>conftest.er1
11717 grep -v '^ *+' conftest.er1 >conftest.err
11719 cat conftest.err >&5
11720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11721 (exit $ac_status); } && {
11722 test -z "$ac_c_werror_flag" ||
11723 test ! -s conftest.err
11724 } && test -s conftest.$ac_objext; then
11725 ac_header_compiler=yes
11727 echo "$as_me: failed program was:" >&5
11728 sed 's/^/| /' conftest.$ac_ext >&5
11730 ac_header_compiler=no
11733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11734 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11735 echo "${ECHO_T}$ac_header_compiler" >&6; }
11737 # Is the header present?
11738 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11739 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11740 cat >conftest.$ac_ext <<_ACEOF
11743 cat confdefs.h >>conftest.$ac_ext
11744 cat >>conftest.$ac_ext <<_ACEOF
11745 /* end confdefs.h. */
11746 #include <$ac_header>
11748 if { (ac_try="$ac_cpp conftest.$ac_ext"
11749 case "(($ac_try" in
11750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11751 *) ac_try_echo=$ac_try;;
11753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11754 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11756 grep -v '^ *+' conftest.er1 >conftest.err
11758 cat conftest.err >&5
11759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11760 (exit $ac_status); } >/dev/null && {
11761 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11762 test ! -s conftest.err
11764 ac_header_preproc=yes
11766 echo "$as_me: failed program was:" >&5
11767 sed 's/^/| /' conftest.$ac_ext >&5
11769 ac_header_preproc=no
11772 rm -f conftest.err conftest.$ac_ext
11773 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11774 echo "${ECHO_T}$ac_header_preproc" >&6; }
11776 # So? What about this header?
11777 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11779 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11780 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11781 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11782 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11783 ac_header_preproc=yes
11786 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11787 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11788 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11789 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11790 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11791 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11792 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11793 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11794 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11795 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11796 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11797 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11801 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11802 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11803 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11804 echo $ECHO_N "(cached) $ECHO_C" >&6
11806 eval "$as_ac_Header=\$ac_header_preproc"
11808 ac_res=`eval echo '${'$as_ac_Header'}'`
11809 { echo "$as_me:$LINENO: result: $ac_res" >&5
11810 echo "${ECHO_T}$ac_res" >&6; }
11813 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11814 cat >>confdefs.h <<_ACEOF
11815 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11822 { echo "$as_me:$LINENO: checking for alloca" >&5
11823 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
11824 cat >conftest.$ac_ext <<_ACEOF
11827 cat confdefs.h >>conftest.$ac_ext
11828 cat >>conftest.$ac_ext <<_ACEOF
11829 /* end confdefs.h. */
11831 #ifdef HAVE_ALLOCA_H
11832 # include <alloca.h>
11834 #include <stdlib.h>
11841 int *array = alloca(foo);
11847 rm -f conftest.$ac_objext
11848 if { (ac_try="$ac_compile"
11849 case "(($ac_try" in
11850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11851 *) ac_try_echo=$ac_try;;
11853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11854 (eval "$ac_compile") 2>conftest.er1
11856 grep -v '^ *+' conftest.er1 >conftest.err
11858 cat conftest.err >&5
11859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11860 (exit $ac_status); } && {
11861 test -z "$ac_c_werror_flag" ||
11862 test ! -s conftest.err
11863 } && test -s conftest.$ac_objext; then
11866 if test x$has_var_arrays = "xno" ; then
11868 cat >>confdefs.h <<\_ACEOF
11875 echo "$as_me: failed program was:" >&5
11876 sed 's/^/| /' conftest.$ac_ext >&5
11882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11883 { echo "$as_me:$LINENO: result: $has_alloca" >&5
11884 echo "${ECHO_T}$has_alloca" >&6; }
11886 { echo "$as_me:$LINENO: checking for SSE in current arch/CFLAGS" >&5
11887 echo $ECHO_N "checking for SSE in current arch/CFLAGS... $ECHO_C" >&6; }
11888 cat >conftest.$ac_ext <<_ACEOF
11892 cat confdefs.h >>conftest.$ac_ext
11893 cat >>conftest.$ac_ext <<_ACEOF
11894 /* end confdefs.h. */
11896 #include <xmmintrin.h>
11897 __m128 testfunc(float *a, float *b) {
11898 return _mm_add_ps(_mm_loadu_ps(a), _mm_loadu_ps(b));
11909 rm -f conftest.$ac_objext conftest$ac_exeext
11910 if { (ac_try="$ac_link"
11911 case "(($ac_try" in
11912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11913 *) ac_try_echo=$ac_try;;
11915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11916 (eval "$ac_link") 2>conftest.er1
11918 grep -v '^ *+' conftest.er1 >conftest.err
11920 cat conftest.err >&5
11921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11922 (exit $ac_status); } && {
11923 test -z "$ac_c_werror_flag" ||
11924 test ! -s conftest.err
11925 } && test -s conftest$ac_exeext &&
11926 $as_test_x conftest$ac_exeext; then
11931 echo "$as_me: failed program was:" >&5
11932 sed 's/^/| /' conftest.$ac_ext >&5
11940 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11941 conftest$ac_exeext conftest.$ac_ext
11942 { echo "$as_me:$LINENO: result: $has_sse" >&5
11943 echo "${ECHO_T}$has_sse" >&6; }
11945 SAVE_CFLAGS="$CFLAGS"
11946 CFLAGS="$CFLAGS -fvisibility=hidden"
11947 { echo "$as_me:$LINENO: checking for ELF visibility" >&5
11948 echo $ECHO_N "checking for ELF visibility... $ECHO_C" >&6; }
11949 cat >conftest.$ac_ext <<_ACEOF
11953 cat confdefs.h >>conftest.$ac_ext
11954 cat >>conftest.$ac_ext <<_ACEOF
11955 /* end confdefs.h. */
11957 #pragma GCC visibility push(hidden)
11958 __attribute__((visibility("default")))
11969 rm -f conftest.$ac_objext
11970 if { (ac_try="$ac_compile"
11971 case "(($ac_try" in
11972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11973 *) ac_try_echo=$ac_try;;
11975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11976 (eval "$ac_compile") 2>conftest.er1
11978 grep -v '^ *+' conftest.er1 >conftest.err
11980 cat conftest.err >&5
11981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11982 (exit $ac_status); } && {
11983 test -z "$ac_c_werror_flag" ||
11984 test ! -s conftest.err
11985 } && test -s conftest.$ac_objext; then
11989 cat >>confdefs.h <<\_ACEOF
11990 #define EXPORT __attribute__((visibility("default")))
11995 echo "$as_me: failed program was:" >&5
11996 sed 's/^/| /' conftest.$ac_ext >&5
12001 cat >>confdefs.h <<\_ACEOF
12005 CFLAGS="$SAVE_CFLAGS"
12010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12011 { echo "$as_me:$LINENO: result: $has_visibility" >&5
12012 echo "${ECHO_T}$has_visibility" >&6; }
12016 for ac_header in sys/soundcard.h sys/audioio.h
12018 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12019 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12020 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12021 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12022 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12023 echo $ECHO_N "(cached) $ECHO_C" >&6
12025 ac_res=`eval echo '${'$as_ac_Header'}'`
12026 { echo "$as_me:$LINENO: result: $ac_res" >&5
12027 echo "${ECHO_T}$ac_res" >&6; }
12029 # Is the header compilable?
12030 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12031 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12032 cat >conftest.$ac_ext <<_ACEOF
12035 cat confdefs.h >>conftest.$ac_ext
12036 cat >>conftest.$ac_ext <<_ACEOF
12037 /* end confdefs.h. */
12038 $ac_includes_default
12039 #include <$ac_header>
12041 rm -f conftest.$ac_objext
12042 if { (ac_try="$ac_compile"
12043 case "(($ac_try" in
12044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12045 *) ac_try_echo=$ac_try;;
12047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12048 (eval "$ac_compile") 2>conftest.er1
12050 grep -v '^ *+' conftest.er1 >conftest.err
12052 cat conftest.err >&5
12053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12054 (exit $ac_status); } && {
12055 test -z "$ac_c_werror_flag" ||
12056 test ! -s conftest.err
12057 } && test -s conftest.$ac_objext; then
12058 ac_header_compiler=yes
12060 echo "$as_me: failed program was:" >&5
12061 sed 's/^/| /' conftest.$ac_ext >&5
12063 ac_header_compiler=no
12066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12067 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12068 echo "${ECHO_T}$ac_header_compiler" >&6; }
12070 # Is the header present?
12071 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12072 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12073 cat >conftest.$ac_ext <<_ACEOF
12076 cat confdefs.h >>conftest.$ac_ext
12077 cat >>conftest.$ac_ext <<_ACEOF
12078 /* end confdefs.h. */
12079 #include <$ac_header>
12081 if { (ac_try="$ac_cpp conftest.$ac_ext"
12082 case "(($ac_try" in
12083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12084 *) ac_try_echo=$ac_try;;
12086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12087 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12089 grep -v '^ *+' conftest.er1 >conftest.err
12091 cat conftest.err >&5
12092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12093 (exit $ac_status); } >/dev/null && {
12094 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12095 test ! -s conftest.err
12097 ac_header_preproc=yes
12099 echo "$as_me: failed program was:" >&5
12100 sed 's/^/| /' conftest.$ac_ext >&5
12102 ac_header_preproc=no
12105 rm -f conftest.err conftest.$ac_ext
12106 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12107 echo "${ECHO_T}$ac_header_preproc" >&6; }
12109 # So? What about this header?
12110 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12112 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12113 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12114 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12115 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12116 ac_header_preproc=yes
12119 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12120 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12121 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12122 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12123 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12124 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12125 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12126 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12127 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12128 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12129 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12130 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12134 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12136 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12137 echo $ECHO_N "(cached) $ECHO_C" >&6
12139 eval "$as_ac_Header=\$ac_header_preproc"
12141 ac_res=`eval echo '${'$as_ac_Header'}'`
12142 { echo "$as_me:$LINENO: result: $ac_res" >&5
12143 echo "${ECHO_T}$ac_res" >&6; }
12146 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12147 cat >>confdefs.h <<_ACEOF
12148 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12157 # Check whether --with-ogg was given.
12158 if test "${with_ogg+set}" = set; then
12159 withval=$with_ogg; ogg_prefix="$withval"
12165 # Check whether --with-ogg-libraries was given.
12166 if test "${with_ogg_libraries+set}" = set; then
12167 withval=$with_ogg_libraries; ogg_libraries="$withval"
12173 # Check whether --with-ogg-includes was given.
12174 if test "${with_ogg_includes+set}" = set; then
12175 withval=$with_ogg_includes; ogg_includes="$withval"
12180 # Check whether --enable-oggtest was given.
12181 if test "${enable_oggtest+set}" = set; then
12182 enableval=$enable_oggtest;
12188 if test "x$ogg_libraries" != "x" ; then
12189 OGG_LIBS="-L$ogg_libraries"
12190 elif test "x$ogg_prefix" != "x" ; then
12191 OGG_LIBS="-L$ogg_prefix/lib"
12192 elif test "x$prefix" != "xNONE" ; then
12193 OGG_LIBS="-L$prefix/lib"
12196 OGG_LIBS="$OGG_LIBS -logg"
12198 if test "x$ogg_includes" != "x" ; then
12199 OGG_CFLAGS="-I$ogg_includes"
12200 elif test "x$ogg_prefix" != "x" ; then
12201 OGG_CFLAGS="-I$ogg_prefix/include"
12202 elif test "x$prefix" != "xNONE"; then
12203 OGG_CFLAGS="-I$prefix/include"
12206 { echo "$as_me:$LINENO: checking for Ogg" >&5
12207 echo $ECHO_N "checking for Ogg... $ECHO_C" >&6; }
12211 if test "x$enable_oggtest" = "xyes" ; then
12212 ac_save_CFLAGS="$CFLAGS"
12213 ac_save_LIBS="$LIBS"
12214 CFLAGS="$CFLAGS $OGG_CFLAGS"
12215 LIBS="$LIBS $OGG_LIBS"
12217 if test "$cross_compiling" = yes; then
12218 echo $ac_n "cross compiling; assumed OK... $ac_c"
12220 cat >conftest.$ac_ext <<_ACEOF
12223 cat confdefs.h >>conftest.$ac_ext
12224 cat >>conftest.$ac_ext <<_ACEOF
12225 /* end confdefs.h. */
12228 #include <stdlib.h>
12229 #include <string.h>
12230 #include <ogg/ogg.h>
12234 system("touch conf.oggtest");
12240 rm -f conftest$ac_exeext
12241 if { (ac_try="$ac_link"
12242 case "(($ac_try" in
12243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12244 *) ac_try_echo=$ac_try;;
12246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12247 (eval "$ac_link") 2>&5
12249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12250 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12251 { (case "(($ac_try" in
12252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12253 *) ac_try_echo=$ac_try;;
12255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12256 (eval "$ac_try") 2>&5
12258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12259 (exit $ac_status); }; }; then
12262 echo "$as_me: program exited with status $ac_status" >&5
12263 echo "$as_me: failed program was:" >&5
12264 sed 's/^/| /' conftest.$ac_ext >&5
12266 ( exit $ac_status )
12269 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12273 CFLAGS="$ac_save_CFLAGS"
12274 LIBS="$ac_save_LIBS"
12277 if test "x$no_ogg" = "x" ; then
12278 { echo "$as_me:$LINENO: result: yes" >&5
12279 echo "${ECHO_T}yes" >&6; }
12282 { echo "$as_me:$LINENO: result: no" >&5
12283 echo "${ECHO_T}no" >&6; }
12284 if test -f conf.oggtest ; then
12287 echo "*** Could not run Ogg test program, checking why..."
12288 CFLAGS="$CFLAGS $OGG_CFLAGS"
12289 LIBS="$LIBS $OGG_LIBS"
12290 cat >conftest.$ac_ext <<_ACEOF
12293 cat confdefs.h >>conftest.$ac_ext
12294 cat >>conftest.$ac_ext <<_ACEOF
12295 /* end confdefs.h. */
12298 #include <ogg/ogg.h>
12308 rm -f conftest.$ac_objext conftest$ac_exeext
12309 if { (ac_try="$ac_link"
12310 case "(($ac_try" in
12311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12312 *) ac_try_echo=$ac_try;;
12314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12315 (eval "$ac_link") 2>conftest.er1
12317 grep -v '^ *+' conftest.er1 >conftest.err
12319 cat conftest.err >&5
12320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12321 (exit $ac_status); } && {
12322 test -z "$ac_c_werror_flag" ||
12323 test ! -s conftest.err
12324 } && test -s conftest$ac_exeext &&
12325 $as_test_x conftest$ac_exeext; then
12326 echo "*** The test program compiled, but did not run. This usually means"
12327 echo "*** that the run-time linker is not finding Ogg or finding the wrong"
12328 echo "*** version of Ogg. If it is not finding Ogg, you'll need to set your"
12329 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12330 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12331 echo "*** is required on your system"
12333 echo "*** If you have an old version installed, it is best to remove it, although"
12334 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12336 echo "$as_me: failed program was:" >&5
12337 sed 's/^/| /' conftest.$ac_ext >&5
12339 echo "*** The test program failed to compile or link. See the file config.log for the"
12340 echo "*** exact error that occured. This usually means Ogg was incorrectly installed"
12341 echo "*** or that you have moved Ogg since it was installed."
12344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12345 conftest$ac_exeext conftest.$ac_ext
12346 CFLAGS="$ac_save_CFLAGS"
12347 LIBS="$ac_save_LIBS"
12360 { echo "$as_me:$LINENO: checking for sin in -lm" >&5
12361 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
12362 if test "${ac_cv_lib_m_sin+set}" = set; then
12363 echo $ECHO_N "(cached) $ECHO_C" >&6
12365 ac_check_lib_save_LIBS=$LIBS
12367 cat >conftest.$ac_ext <<_ACEOF
12370 cat confdefs.h >>conftest.$ac_ext
12371 cat >>conftest.$ac_ext <<_ACEOF
12372 /* end confdefs.h. */
12374 /* Override any GCC internal prototype to avoid an error.
12375 Use char because int might match the return type of a GCC
12376 builtin and then its argument prototype would still apply. */
12389 rm -f conftest.$ac_objext conftest$ac_exeext
12390 if { (ac_try="$ac_link"
12391 case "(($ac_try" in
12392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12393 *) ac_try_echo=$ac_try;;
12395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12396 (eval "$ac_link") 2>conftest.er1
12398 grep -v '^ *+' conftest.er1 >conftest.err
12400 cat conftest.err >&5
12401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12402 (exit $ac_status); } && {
12403 test -z "$ac_c_werror_flag" ||
12404 test ! -s conftest.err
12405 } && test -s conftest$ac_exeext &&
12406 $as_test_x conftest$ac_exeext; then
12407 ac_cv_lib_m_sin=yes
12409 echo "$as_me: failed program was:" >&5
12410 sed 's/^/| /' conftest.$ac_ext >&5
12415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12416 conftest$ac_exeext conftest.$ac_ext
12417 LIBS=$ac_check_lib_save_LIBS
12419 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
12420 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; }
12421 if test $ac_cv_lib_m_sin = yes; then
12422 cat >>confdefs.h <<_ACEOF
12423 #define HAVE_LIBM 1
12431 # Check for getopt_long; if not found, use included source.
12433 for ac_func in getopt_long
12435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12436 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12438 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12439 echo $ECHO_N "(cached) $ECHO_C" >&6
12441 cat >conftest.$ac_ext <<_ACEOF
12444 cat confdefs.h >>conftest.$ac_ext
12445 cat >>conftest.$ac_ext <<_ACEOF
12446 /* end confdefs.h. */
12447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12449 #define $ac_func innocuous_$ac_func
12451 /* System header to define __stub macros and hopefully few prototypes,
12452 which can conflict with char $ac_func (); below.
12453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12454 <limits.h> exists even on freestanding compilers. */
12457 # include <limits.h>
12459 # include <assert.h>
12464 /* Override any GCC internal prototype to avoid an error.
12465 Use char because int might match the return type of a GCC
12466 builtin and then its argument prototype would still apply. */
12471 /* The GNU C library defines this for functions which it implements
12472 to always fail with ENOSYS. Some functions are actually named
12473 something starting with __ and the normal name is an alias. */
12474 #if defined __stub_$ac_func || defined __stub___$ac_func
12481 return $ac_func ();
12486 rm -f conftest.$ac_objext conftest$ac_exeext
12487 if { (ac_try="$ac_link"
12488 case "(($ac_try" in
12489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12490 *) ac_try_echo=$ac_try;;
12492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12493 (eval "$ac_link") 2>conftest.er1
12495 grep -v '^ *+' conftest.er1 >conftest.err
12497 cat conftest.err >&5
12498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12499 (exit $ac_status); } && {
12500 test -z "$ac_c_werror_flag" ||
12501 test ! -s conftest.err
12502 } && test -s conftest$ac_exeext &&
12503 $as_test_x conftest$ac_exeext; then
12504 eval "$as_ac_var=yes"
12506 echo "$as_me: failed program was:" >&5
12507 sed 's/^/| /' conftest.$ac_ext >&5
12509 eval "$as_ac_var=no"
12512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12513 conftest$ac_exeext conftest.$ac_ext
12515 ac_res=`eval echo '${'$as_ac_var'}'`
12516 { echo "$as_me:$LINENO: result: $ac_res" >&5
12517 echo "${ECHO_T}$ac_res" >&6; }
12518 if test `eval echo '${'$as_ac_var'}'` = yes; then
12519 cat >>confdefs.h <<_ACEOF
12520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12524 # FreeBSD has a gnugetopt library.
12525 { echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5
12526 echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6; }
12527 if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
12528 echo $ECHO_N "(cached) $ECHO_C" >&6
12530 ac_check_lib_save_LIBS=$LIBS
12531 LIBS="-lgnugetopt $LIBS"
12532 cat >conftest.$ac_ext <<_ACEOF
12535 cat confdefs.h >>conftest.$ac_ext
12536 cat >>conftest.$ac_ext <<_ACEOF
12537 /* end confdefs.h. */
12539 /* Override any GCC internal prototype to avoid an error.
12540 Use char because int might match the return type of a GCC
12541 builtin and then its argument prototype would still apply. */
12545 char getopt_long ();
12549 return getopt_long ();
12554 rm -f conftest.$ac_objext conftest$ac_exeext
12555 if { (ac_try="$ac_link"
12556 case "(($ac_try" in
12557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12558 *) ac_try_echo=$ac_try;;
12560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12561 (eval "$ac_link") 2>conftest.er1
12563 grep -v '^ *+' conftest.er1 >conftest.err
12565 cat conftest.err >&5
12566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12567 (exit $ac_status); } && {
12568 test -z "$ac_c_werror_flag" ||
12569 test ! -s conftest.err
12570 } && test -s conftest$ac_exeext &&
12571 $as_test_x conftest$ac_exeext; then
12572 ac_cv_lib_gnugetopt_getopt_long=yes
12574 echo "$as_me: failed program was:" >&5
12575 sed 's/^/| /' conftest.$ac_ext >&5
12577 ac_cv_lib_gnugetopt_getopt_long=no
12580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12581 conftest$ac_exeext conftest.$ac_ext
12582 LIBS=$ac_check_lib_save_LIBS
12584 { echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
12585 echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6; }
12586 if test $ac_cv_lib_gnugetopt_getopt_long = yes; then
12587 cat >>confdefs.h <<\_ACEOF
12588 #define HAVE_GETOPT_LONG 1
12592 # Use the GNU replacement.
12593 case " $LIBOBJS " in
12594 *" getopt.$ac_objext "* ) ;;
12595 *) LIBOBJS="$LIBOBJS getopt.$ac_objext"
12599 case " $LIBOBJS " in
12600 *" getopt1.$ac_objext "* ) ;;
12601 *) LIBOBJS="$LIBOBJS getopt1.$ac_objext"
12612 { echo "$as_me:$LINENO: checking for main in -lwinmm" >&5
12613 echo $ECHO_N "checking for main in -lwinmm... $ECHO_C" >&6; }
12614 if test "${ac_cv_lib_winmm_main+set}" = set; then
12615 echo $ECHO_N "(cached) $ECHO_C" >&6
12617 ac_check_lib_save_LIBS=$LIBS
12618 LIBS="-lwinmm $LIBS"
12619 cat >conftest.$ac_ext <<_ACEOF
12622 cat confdefs.h >>conftest.$ac_ext
12623 cat >>conftest.$ac_ext <<_ACEOF
12624 /* end confdefs.h. */
12635 rm -f conftest.$ac_objext conftest$ac_exeext
12636 if { (ac_try="$ac_link"
12637 case "(($ac_try" in
12638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12639 *) ac_try_echo=$ac_try;;
12641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12642 (eval "$ac_link") 2>conftest.er1
12644 grep -v '^ *+' conftest.er1 >conftest.err
12646 cat conftest.err >&5
12647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12648 (exit $ac_status); } && {
12649 test -z "$ac_c_werror_flag" ||
12650 test ! -s conftest.err
12651 } && test -s conftest$ac_exeext &&
12652 $as_test_x conftest$ac_exeext; then
12653 ac_cv_lib_winmm_main=yes
12655 echo "$as_me: failed program was:" >&5
12656 sed 's/^/| /' conftest.$ac_ext >&5
12658 ac_cv_lib_winmm_main=no
12661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12662 conftest$ac_exeext conftest.$ac_ext
12663 LIBS=$ac_check_lib_save_LIBS
12665 { echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_main" >&5
12666 echo "${ECHO_T}$ac_cv_lib_winmm_main" >&6; }
12667 if test $ac_cv_lib_winmm_main = yes; then
12668 cat >>confdefs.h <<_ACEOF
12669 #define HAVE_LIBWINMM 1
12672 LIBS="-lwinmm $LIBS"
12678 cat >>confdefs.h <<_ACEOF
12679 #define SPEEX_VERSION "${SPEEX_VERSION}"
12683 cat >>confdefs.h <<_ACEOF
12684 #define SPEEX_MAJOR_VERSION ${SPEEX_MAJOR_VERSION}
12688 cat >>confdefs.h <<_ACEOF
12689 #define SPEEX_MINOR_VERSION ${SPEEX_MINOR_VERSION}
12693 cat >>confdefs.h <<_ACEOF
12694 #define SPEEX_MICRO_VERSION ${SPEEX_MICRO_VERSION}
12698 cat >>confdefs.h <<_ACEOF
12699 #define SPEEX_EXTRA_VERSION "${SPEEX_EXTRA_VERSION}"
12703 # Check whether --enable-valgrind was given.
12704 if test "${enable_valgrind+set}" = set; then
12705 enableval=$enable_valgrind; if test "$enableval" = yes; then
12707 cat >>confdefs.h <<\_ACEOF
12708 #define ENABLE_VALGRIND
12715 # Check whether --enable-sse was given.
12716 if test "${enable_sse+set}" = set; then
12717 enableval=$enable_sse;
12718 if test "x$enableval" != xno; then
12720 CFLAGS="$CFLAGS -O3 -msse"
12731 # Check whether --enable-fixed-point was given.
12732 if test "${enable_fixed_point+set}" = set; then
12733 enableval=$enable_fixed_point; if test "$enableval" = yes; then
12737 cat >>confdefs.h <<\_ACEOF
12738 #define FIXED_POINT
12743 cat >>confdefs.h <<\_ACEOF
12744 #define FLOATING_POINT
12750 cat >>confdefs.h <<\_ACEOF
12751 #define FLOATING_POINT
12757 if test "$has_sse" = yes; then
12759 cat >>confdefs.h <<\_ACEOF
12765 # Check whether --enable-float-api was given.
12766 if test "${enable_float_api+set}" = set; then
12767 enableval=$enable_float_api; if test "$enableval" = no; then
12769 cat >>confdefs.h <<\_ACEOF
12770 #define DISABLE_FLOAT_API
12777 # Check whether --enable-vbr was given.
12778 if test "${enable_vbr+set}" = set; then
12779 enableval=$enable_vbr; if test "$enableval" = no; then
12781 cat >>confdefs.h <<\_ACEOF
12782 #define DISABLE_VBR
12789 # Check whether --enable-arm4-asm was given.
12790 if test "${enable_arm4_asm+set}" = set; then
12791 enableval=$enable_arm4_asm; if test "$enableval" = yes; then
12793 cat >>confdefs.h <<\_ACEOF
12801 # Check whether --enable-arm5e-asm was given.
12802 if test "${enable_arm5e_asm+set}" = set; then
12803 enableval=$enable_arm5e_asm; if test "$enableval" = yes; then
12805 cat >>confdefs.h <<\_ACEOF
12813 # Check whether --enable-blackfin-asm was given.
12814 if test "${enable_blackfin_asm+set}" = set; then
12815 enableval=$enable_blackfin_asm; if test "$enableval" = yes; then
12817 cat >>confdefs.h <<\_ACEOF
12821 LDFLAGS="-Wl,-elf2flt=-s100000"
12826 # Check whether --enable-fixed-point-debug was given.
12827 if test "${enable_fixed_point_debug+set}" = set; then
12828 enableval=$enable_fixed_point_debug; if test "$enableval" = yes; then
12830 cat >>confdefs.h <<\_ACEOF
12831 #define FIXED_DEBUG
12838 # Check whether --enable-ti-c55x was given.
12839 if test "${enable_ti_c55x+set}" = set; then
12840 enableval=$enable_ti_c55x; if test "$enableval" = yes; then
12843 cat >>confdefs.h <<\_ACEOF
12852 # Check whether --with-fft was given.
12853 if test "${with_fft+set}" = set; then
12854 withval=$with_fft; FFT=$withval
12862 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12863 if test -n "$ac_tool_prefix"; then
12864 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12865 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12866 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12868 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12869 echo $ECHO_N "(cached) $ECHO_C" >&6
12871 case $PKG_CONFIG in
12873 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12877 for as_dir in $PATH
12880 test -z "$as_dir" && as_dir=.
12881 for ac_exec_ext in '' $ac_executable_extensions; do
12882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12883 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12894 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12895 if test -n "$PKG_CONFIG"; then
12896 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12897 echo "${ECHO_T}$PKG_CONFIG" >&6; }
12899 { echo "$as_me:$LINENO: result: no" >&5
12900 echo "${ECHO_T}no" >&6; }
12905 if test -z "$ac_cv_path_PKG_CONFIG"; then
12906 ac_pt_PKG_CONFIG=$PKG_CONFIG
12907 # Extract the first word of "pkg-config", so it can be a program name with args.
12908 set dummy pkg-config; ac_word=$2
12909 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12911 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
12912 echo $ECHO_N "(cached) $ECHO_C" >&6
12914 case $ac_pt_PKG_CONFIG in
12916 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12920 for as_dir in $PATH
12923 test -z "$as_dir" && as_dir=.
12924 for ac_exec_ext in '' $ac_executable_extensions; do
12925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12926 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12937 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12938 if test -n "$ac_pt_PKG_CONFIG"; then
12939 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
12940 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
12942 { echo "$as_me:$LINENO: result: no" >&5
12943 echo "${ECHO_T}no" >&6; }
12946 if test "x$ac_pt_PKG_CONFIG" = x; then
12949 case $cross_compiling:$ac_tool_warned in
12951 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12952 whose name does not start with the host triplet. If you think this
12953 configuration is useful to you, please write to autoconf@gnu.org." >&5
12954 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12955 whose name does not start with the host triplet. If you think this
12956 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12957 ac_tool_warned=yes ;;
12959 PKG_CONFIG=$ac_pt_PKG_CONFIG
12962 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12966 if test -n "$PKG_CONFIG"; then
12967 _pkg_min_version=0.9.0
12968 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
12969 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
12970 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12971 { echo "$as_me:$LINENO: result: yes" >&5
12972 echo "${ECHO_T}yes" >&6; }
12974 { echo "$as_me:$LINENO: result: no" >&5
12975 echo "${ECHO_T}no" >&6; }
12983 cat >>confdefs.h <<\_ACEOF
12984 #define USE_KISS_FFT
12990 cat >>confdefs.h <<\_ACEOF
12991 #define USE_SMALLFT
12997 cat >>confdefs.h <<\_ACEOF
12998 #define USE_GPL_FFTW3
13003 { echo "$as_me:$LINENO: checking for FFT" >&5
13004 echo $ECHO_N "checking for FFT... $ECHO_C" >&6; }
13006 if test -n "$PKG_CONFIG"; then
13007 if test -n "$FFT_CFLAGS"; then
13008 pkg_cv_FFT_CFLAGS="$FFT_CFLAGS"
13010 if test -n "$PKG_CONFIG" && \
13011 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fftw3f\"") >&5
13012 ($PKG_CONFIG --exists --print-errors "fftw3f") 2>&5
13014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13015 (exit $ac_status); }; then
13016 pkg_cv_FFT_CFLAGS=`$PKG_CONFIG --cflags "fftw3f" 2>/dev/null`
13024 if test -n "$PKG_CONFIG"; then
13025 if test -n "$FFT_LIBS"; then
13026 pkg_cv_FFT_LIBS="$FFT_LIBS"
13028 if test -n "$PKG_CONFIG" && \
13029 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fftw3f\"") >&5
13030 ($PKG_CONFIG --exists --print-errors "fftw3f") 2>&5
13032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13033 (exit $ac_status); }; then
13034 pkg_cv_FFT_LIBS=`$PKG_CONFIG --libs "fftw3f" 2>/dev/null`
13045 if test $pkg_failed = yes; then
13047 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13048 _pkg_short_errors_supported=yes
13050 _pkg_short_errors_supported=no
13052 if test $_pkg_short_errors_supported = yes; then
13053 FFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "fftw3f"`
13055 FFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "fftw3f"`
13057 # Put the nasty error message in config.log where it belongs
13058 echo "$FFT_PKG_ERRORS" >&5
13060 { { echo "$as_me:$LINENO: error: Package requirements (fftw3f) were not met:
13064 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13065 installed software in a non-standard prefix.
13067 Alternatively, you may set the environment variables FFT_CFLAGS
13068 and FFT_LIBS to avoid the need to call pkg-config.
13069 See the pkg-config man page for more details.
13071 echo "$as_me: error: Package requirements (fftw3f) were not met:
13075 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13076 installed software in a non-standard prefix.
13078 Alternatively, you may set the environment variables FFT_CFLAGS
13079 and FFT_LIBS to avoid the need to call pkg-config.
13080 See the pkg-config man page for more details.
13082 { (exit 1); exit 1; }; }
13083 elif test $pkg_failed = untried; then
13084 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
13085 is in your PATH or set the PKG_CONFIG environment variable to the full
13086 path to pkg-config.
13088 Alternatively, you may set the environment variables FFT_CFLAGS
13089 and FFT_LIBS to avoid the need to call pkg-config.
13090 See the pkg-config man page for more details.
13092 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
13093 See \`config.log' for more details." >&5
13094 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
13095 is in your PATH or set the PKG_CONFIG environment variable to the full
13096 path to pkg-config.
13098 Alternatively, you may set the environment variables FFT_CFLAGS
13099 and FFT_LIBS to avoid the need to call pkg-config.
13100 See the pkg-config man page for more details.
13102 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
13103 See \`config.log' for more details." >&2;}
13104 { (exit 1); exit 1; }; }
13106 FFT_CFLAGS=$pkg_cv_FFT_CFLAGS
13107 FFT_LIBS=$pkg_cv_FFT_LIBS
13108 { echo "$as_me:$LINENO: result: yes" >&5
13109 echo "${ECHO_T}yes" >&6; }
13113 proprietary-intel-mkl)
13115 cat >>confdefs.h <<\_ACEOF
13116 #define USE_INTEL_MKL
13119 { echo "$as_me:$LINENO: checking for valid MKL" >&5
13120 echo $ECHO_N "checking for valid MKL... $ECHO_C" >&6; }
13121 cat >conftest.$ac_ext <<_ACEOF
13125 cat confdefs.h >>conftest.$ac_ext
13126 cat >>conftest.$ac_ext <<_ACEOF
13127 /* end confdefs.h. */
13131 DFTI_DESCRIPTOR_HANDLE h;
13132 MKL_LONG result=DftiCreateDescriptor(&h, DFTI_SINGLE, DFTI_REAL, 0);
13142 rm -f conftest.$ac_objext conftest$ac_exeext
13143 if { (ac_try="$ac_link"
13144 case "(($ac_try" in
13145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13146 *) ac_try_echo=$ac_try;;
13148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13149 (eval "$ac_link") 2>conftest.er1
13151 grep -v '^ *+' conftest.er1 >conftest.err
13153 cat conftest.err >&5
13154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13155 (exit $ac_status); } && {
13156 test -z "$ac_c_werror_flag" ||
13157 test ! -s conftest.err
13158 } && test -s conftest$ac_exeext &&
13159 $as_test_x conftest$ac_exeext; then
13160 { echo "$as_me:$LINENO: result: yes" >&5
13161 echo "${ECHO_T}yes" >&6; }
13163 echo "$as_me: failed program was:" >&5
13164 sed 's/^/| /' conftest.$ac_ext >&5
13166 { { echo "$as_me:$LINENO: error: Failed to compile MKL test program. Make sure you set CFLAGS to include the include directory and set LDFLAGS to include the library directory and all necesarry libraries.
13167 See \`config.log' for more details." >&5
13168 echo "$as_me: error: Failed to compile MKL test program. Make sure you set CFLAGS to include the include directory and set LDFLAGS to include the library directory and all necesarry libraries.
13169 See \`config.log' for more details." >&2;}
13170 { (exit 1); exit 1; }; }
13174 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13175 conftest$ac_exeext conftest.$ac_ext
13177 *) { { echo "$as_me:$LINENO: error: Unknown FFT $FFT specified for --with-fft
13178 See \`config.log' for more details." >&5
13179 echo "$as_me: error: Unknown FFT $FFT specified for --with-fft
13180 See \`config.log' for more details." >&2;}
13181 { (exit 1); exit 1; }; }
13187 if test "$FFT" = "kiss"; then
13188 BUILD_KISS_FFT_TRUE=
13189 BUILD_KISS_FFT_FALSE='#'
13191 BUILD_KISS_FFT_TRUE='#'
13192 BUILD_KISS_FFT_FALSE=
13197 if test "$FFT" = "smallft"; then
13198 BUILD_SMALLFT_TRUE=
13199 BUILD_SMALLFT_FALSE='#'
13201 BUILD_SMALLFT_TRUE='#'
13202 BUILD_SMALLFT_FALSE=
13208 { echo "$as_me:$LINENO: checking for short" >&5
13209 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
13210 if test "${ac_cv_type_short+set}" = set; then
13211 echo $ECHO_N "(cached) $ECHO_C" >&6
13213 cat >conftest.$ac_ext <<_ACEOF
13216 cat confdefs.h >>conftest.$ac_ext
13217 cat >>conftest.$ac_ext <<_ACEOF
13218 /* end confdefs.h. */
13219 $ac_includes_default
13220 typedef short ac__type_new_;
13224 if ((ac__type_new_ *) 0)
13226 if (sizeof (ac__type_new_))
13232 rm -f conftest.$ac_objext
13233 if { (ac_try="$ac_compile"
13234 case "(($ac_try" in
13235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13236 *) ac_try_echo=$ac_try;;
13238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13239 (eval "$ac_compile") 2>conftest.er1
13241 grep -v '^ *+' conftest.er1 >conftest.err
13243 cat conftest.err >&5
13244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13245 (exit $ac_status); } && {
13246 test -z "$ac_c_werror_flag" ||
13247 test ! -s conftest.err
13248 } && test -s conftest.$ac_objext; then
13249 ac_cv_type_short=yes
13251 echo "$as_me: failed program was:" >&5
13252 sed 's/^/| /' conftest.$ac_ext >&5
13254 ac_cv_type_short=no
13257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13259 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
13260 echo "${ECHO_T}$ac_cv_type_short" >&6; }
13262 # The cast to long int works around a bug in the HP C Compiler
13263 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13264 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13265 # This bug is HP SR number 8606223364.
13266 { echo "$as_me:$LINENO: checking size of short" >&5
13267 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
13268 if test "${ac_cv_sizeof_short+set}" = set; then
13269 echo $ECHO_N "(cached) $ECHO_C" >&6
13271 if test "$cross_compiling" = yes; then
13272 # Depending upon the size, compute the lo and hi bounds.
13273 cat >conftest.$ac_ext <<_ACEOF
13276 cat confdefs.h >>conftest.$ac_ext
13277 cat >>conftest.$ac_ext <<_ACEOF
13278 /* end confdefs.h. */
13279 $ac_includes_default
13280 typedef short ac__type_sizeof_;
13284 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
13291 rm -f conftest.$ac_objext
13292 if { (ac_try="$ac_compile"
13293 case "(($ac_try" in
13294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13295 *) ac_try_echo=$ac_try;;
13297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13298 (eval "$ac_compile") 2>conftest.er1
13300 grep -v '^ *+' conftest.er1 >conftest.err
13302 cat conftest.err >&5
13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); } && {
13305 test -z "$ac_c_werror_flag" ||
13306 test ! -s conftest.err
13307 } && test -s conftest.$ac_objext; then
13310 cat >conftest.$ac_ext <<_ACEOF
13313 cat confdefs.h >>conftest.$ac_ext
13314 cat >>conftest.$ac_ext <<_ACEOF
13315 /* end confdefs.h. */
13316 $ac_includes_default
13317 typedef short ac__type_sizeof_;
13321 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
13328 rm -f conftest.$ac_objext
13329 if { (ac_try="$ac_compile"
13330 case "(($ac_try" in
13331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13332 *) ac_try_echo=$ac_try;;
13334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13335 (eval "$ac_compile") 2>conftest.er1
13337 grep -v '^ *+' conftest.er1 >conftest.err
13339 cat conftest.err >&5
13340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13341 (exit $ac_status); } && {
13342 test -z "$ac_c_werror_flag" ||
13343 test ! -s conftest.err
13344 } && test -s conftest.$ac_objext; then
13345 ac_hi=$ac_mid; break
13347 echo "$as_me: failed program was:" >&5
13348 sed 's/^/| /' conftest.$ac_ext >&5
13350 ac_lo=`expr $ac_mid + 1`
13351 if test $ac_lo -le $ac_mid; then
13355 ac_mid=`expr 2 '*' $ac_mid + 1`
13358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13361 echo "$as_me: failed program was:" >&5
13362 sed 's/^/| /' conftest.$ac_ext >&5
13364 cat >conftest.$ac_ext <<_ACEOF
13367 cat confdefs.h >>conftest.$ac_ext
13368 cat >>conftest.$ac_ext <<_ACEOF
13369 /* end confdefs.h. */
13370 $ac_includes_default
13371 typedef short ac__type_sizeof_;
13375 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
13382 rm -f conftest.$ac_objext
13383 if { (ac_try="$ac_compile"
13384 case "(($ac_try" in
13385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13386 *) ac_try_echo=$ac_try;;
13388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13389 (eval "$ac_compile") 2>conftest.er1
13391 grep -v '^ *+' conftest.er1 >conftest.err
13393 cat conftest.err >&5
13394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13395 (exit $ac_status); } && {
13396 test -z "$ac_c_werror_flag" ||
13397 test ! -s conftest.err
13398 } && test -s conftest.$ac_objext; then
13401 cat >conftest.$ac_ext <<_ACEOF
13404 cat confdefs.h >>conftest.$ac_ext
13405 cat >>conftest.$ac_ext <<_ACEOF
13406 /* end confdefs.h. */
13407 $ac_includes_default
13408 typedef short ac__type_sizeof_;
13412 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
13419 rm -f conftest.$ac_objext
13420 if { (ac_try="$ac_compile"
13421 case "(($ac_try" in
13422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13423 *) ac_try_echo=$ac_try;;
13425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13426 (eval "$ac_compile") 2>conftest.er1
13428 grep -v '^ *+' conftest.er1 >conftest.err
13430 cat conftest.err >&5
13431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13432 (exit $ac_status); } && {
13433 test -z "$ac_c_werror_flag" ||
13434 test ! -s conftest.err
13435 } && test -s conftest.$ac_objext; then
13436 ac_lo=$ac_mid; break
13438 echo "$as_me: failed program was:" >&5
13439 sed 's/^/| /' conftest.$ac_ext >&5
13441 ac_hi=`expr '(' $ac_mid ')' - 1`
13442 if test $ac_mid -le $ac_hi; then
13446 ac_mid=`expr 2 '*' $ac_mid`
13449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13452 echo "$as_me: failed program was:" >&5
13453 sed 's/^/| /' conftest.$ac_ext >&5
13458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13462 # Binary search between lo and hi bounds.
13463 while test "x$ac_lo" != "x$ac_hi"; do
13464 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13465 cat >conftest.$ac_ext <<_ACEOF
13468 cat confdefs.h >>conftest.$ac_ext
13469 cat >>conftest.$ac_ext <<_ACEOF
13470 /* end confdefs.h. */
13471 $ac_includes_default
13472 typedef short ac__type_sizeof_;
13476 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
13483 rm -f conftest.$ac_objext
13484 if { (ac_try="$ac_compile"
13485 case "(($ac_try" in
13486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13487 *) ac_try_echo=$ac_try;;
13489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13490 (eval "$ac_compile") 2>conftest.er1
13492 grep -v '^ *+' conftest.er1 >conftest.err
13494 cat conftest.err >&5
13495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13496 (exit $ac_status); } && {
13497 test -z "$ac_c_werror_flag" ||
13498 test ! -s conftest.err
13499 } && test -s conftest.$ac_objext; then
13502 echo "$as_me: failed program was:" >&5
13503 sed 's/^/| /' conftest.$ac_ext >&5
13505 ac_lo=`expr '(' $ac_mid ')' + 1`
13508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13511 ?*) ac_cv_sizeof_short=$ac_lo;;
13512 '') if test "$ac_cv_type_short" = yes; then
13513 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
13514 See \`config.log' for more details." >&5
13515 echo "$as_me: error: cannot compute sizeof (short)
13516 See \`config.log' for more details." >&2;}
13517 { (exit 77); exit 77; }; }
13519 ac_cv_sizeof_short=0
13523 cat >conftest.$ac_ext <<_ACEOF
13526 cat confdefs.h >>conftest.$ac_ext
13527 cat >>conftest.$ac_ext <<_ACEOF
13528 /* end confdefs.h. */
13529 $ac_includes_default
13530 typedef short ac__type_sizeof_;
13531 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
13532 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
13534 #include <stdlib.h>
13539 FILE *f = fopen ("conftest.val", "w");
13542 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
13544 long int i = longval ();
13545 if (i != ((long int) (sizeof (ac__type_sizeof_))))
13547 fprintf (f, "%ld\n", i);
13551 unsigned long int i = ulongval ();
13552 if (i != ((long int) (sizeof (ac__type_sizeof_))))
13554 fprintf (f, "%lu\n", i);
13556 return ferror (f) || fclose (f) != 0;
13562 rm -f conftest$ac_exeext
13563 if { (ac_try="$ac_link"
13564 case "(($ac_try" in
13565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13566 *) ac_try_echo=$ac_try;;
13568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13569 (eval "$ac_link") 2>&5
13571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13572 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13573 { (case "(($ac_try" in
13574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13575 *) ac_try_echo=$ac_try;;
13577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13578 (eval "$ac_try") 2>&5
13580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13581 (exit $ac_status); }; }; then
13582 ac_cv_sizeof_short=`cat conftest.val`
13584 echo "$as_me: program exited with status $ac_status" >&5
13585 echo "$as_me: failed program was:" >&5
13586 sed 's/^/| /' conftest.$ac_ext >&5
13588 ( exit $ac_status )
13589 if test "$ac_cv_type_short" = yes; then
13590 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
13591 See \`config.log' for more details." >&5
13592 echo "$as_me: error: cannot compute sizeof (short)
13593 See \`config.log' for more details." >&2;}
13594 { (exit 77); exit 77; }; }
13596 ac_cv_sizeof_short=0
13599 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13603 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
13604 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
13608 cat >>confdefs.h <<_ACEOF
13609 #define SIZEOF_SHORT $ac_cv_sizeof_short
13613 { echo "$as_me:$LINENO: checking for int" >&5
13614 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
13615 if test "${ac_cv_type_int+set}" = set; then
13616 echo $ECHO_N "(cached) $ECHO_C" >&6
13618 cat >conftest.$ac_ext <<_ACEOF
13621 cat confdefs.h >>conftest.$ac_ext
13622 cat >>conftest.$ac_ext <<_ACEOF
13623 /* end confdefs.h. */
13624 $ac_includes_default
13625 typedef int ac__type_new_;
13629 if ((ac__type_new_ *) 0)
13631 if (sizeof (ac__type_new_))
13637 rm -f conftest.$ac_objext
13638 if { (ac_try="$ac_compile"
13639 case "(($ac_try" in
13640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13641 *) ac_try_echo=$ac_try;;
13643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13644 (eval "$ac_compile") 2>conftest.er1
13646 grep -v '^ *+' conftest.er1 >conftest.err
13648 cat conftest.err >&5
13649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13650 (exit $ac_status); } && {
13651 test -z "$ac_c_werror_flag" ||
13652 test ! -s conftest.err
13653 } && test -s conftest.$ac_objext; then
13656 echo "$as_me: failed program was:" >&5
13657 sed 's/^/| /' conftest.$ac_ext >&5
13662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13664 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
13665 echo "${ECHO_T}$ac_cv_type_int" >&6; }
13667 # The cast to long int works around a bug in the HP C Compiler
13668 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13669 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13670 # This bug is HP SR number 8606223364.
13671 { echo "$as_me:$LINENO: checking size of int" >&5
13672 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
13673 if test "${ac_cv_sizeof_int+set}" = set; then
13674 echo $ECHO_N "(cached) $ECHO_C" >&6
13676 if test "$cross_compiling" = yes; then
13677 # Depending upon the size, compute the lo and hi bounds.
13678 cat >conftest.$ac_ext <<_ACEOF
13681 cat confdefs.h >>conftest.$ac_ext
13682 cat >>conftest.$ac_ext <<_ACEOF
13683 /* end confdefs.h. */
13684 $ac_includes_default
13685 typedef int ac__type_sizeof_;
13689 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
13696 rm -f conftest.$ac_objext
13697 if { (ac_try="$ac_compile"
13698 case "(($ac_try" in
13699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13700 *) ac_try_echo=$ac_try;;
13702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13703 (eval "$ac_compile") 2>conftest.er1
13705 grep -v '^ *+' conftest.er1 >conftest.err
13707 cat conftest.err >&5
13708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13709 (exit $ac_status); } && {
13710 test -z "$ac_c_werror_flag" ||
13711 test ! -s conftest.err
13712 } && test -s conftest.$ac_objext; then
13715 cat >conftest.$ac_ext <<_ACEOF
13718 cat confdefs.h >>conftest.$ac_ext
13719 cat >>conftest.$ac_ext <<_ACEOF
13720 /* end confdefs.h. */
13721 $ac_includes_default
13722 typedef int ac__type_sizeof_;
13726 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
13733 rm -f conftest.$ac_objext
13734 if { (ac_try="$ac_compile"
13735 case "(($ac_try" in
13736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13737 *) ac_try_echo=$ac_try;;
13739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13740 (eval "$ac_compile") 2>conftest.er1
13742 grep -v '^ *+' conftest.er1 >conftest.err
13744 cat conftest.err >&5
13745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13746 (exit $ac_status); } && {
13747 test -z "$ac_c_werror_flag" ||
13748 test ! -s conftest.err
13749 } && test -s conftest.$ac_objext; then
13750 ac_hi=$ac_mid; break
13752 echo "$as_me: failed program was:" >&5
13753 sed 's/^/| /' conftest.$ac_ext >&5
13755 ac_lo=`expr $ac_mid + 1`
13756 if test $ac_lo -le $ac_mid; then
13760 ac_mid=`expr 2 '*' $ac_mid + 1`
13763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13766 echo "$as_me: failed program was:" >&5
13767 sed 's/^/| /' conftest.$ac_ext >&5
13769 cat >conftest.$ac_ext <<_ACEOF
13772 cat confdefs.h >>conftest.$ac_ext
13773 cat >>conftest.$ac_ext <<_ACEOF
13774 /* end confdefs.h. */
13775 $ac_includes_default
13776 typedef int ac__type_sizeof_;
13780 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
13787 rm -f conftest.$ac_objext
13788 if { (ac_try="$ac_compile"
13789 case "(($ac_try" in
13790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13791 *) ac_try_echo=$ac_try;;
13793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13794 (eval "$ac_compile") 2>conftest.er1
13796 grep -v '^ *+' conftest.er1 >conftest.err
13798 cat conftest.err >&5
13799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13800 (exit $ac_status); } && {
13801 test -z "$ac_c_werror_flag" ||
13802 test ! -s conftest.err
13803 } && test -s conftest.$ac_objext; then
13806 cat >conftest.$ac_ext <<_ACEOF
13809 cat confdefs.h >>conftest.$ac_ext
13810 cat >>conftest.$ac_ext <<_ACEOF
13811 /* end confdefs.h. */
13812 $ac_includes_default
13813 typedef int ac__type_sizeof_;
13817 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
13824 rm -f conftest.$ac_objext
13825 if { (ac_try="$ac_compile"
13826 case "(($ac_try" in
13827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13828 *) ac_try_echo=$ac_try;;
13830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13831 (eval "$ac_compile") 2>conftest.er1
13833 grep -v '^ *+' conftest.er1 >conftest.err
13835 cat conftest.err >&5
13836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13837 (exit $ac_status); } && {
13838 test -z "$ac_c_werror_flag" ||
13839 test ! -s conftest.err
13840 } && test -s conftest.$ac_objext; then
13841 ac_lo=$ac_mid; break
13843 echo "$as_me: failed program was:" >&5
13844 sed 's/^/| /' conftest.$ac_ext >&5
13846 ac_hi=`expr '(' $ac_mid ')' - 1`
13847 if test $ac_mid -le $ac_hi; then
13851 ac_mid=`expr 2 '*' $ac_mid`
13854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13857 echo "$as_me: failed program was:" >&5
13858 sed 's/^/| /' conftest.$ac_ext >&5
13863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13867 # Binary search between lo and hi bounds.
13868 while test "x$ac_lo" != "x$ac_hi"; do
13869 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13870 cat >conftest.$ac_ext <<_ACEOF
13873 cat confdefs.h >>conftest.$ac_ext
13874 cat >>conftest.$ac_ext <<_ACEOF
13875 /* end confdefs.h. */
13876 $ac_includes_default
13877 typedef int ac__type_sizeof_;
13881 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
13888 rm -f conftest.$ac_objext
13889 if { (ac_try="$ac_compile"
13890 case "(($ac_try" in
13891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13892 *) ac_try_echo=$ac_try;;
13894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13895 (eval "$ac_compile") 2>conftest.er1
13897 grep -v '^ *+' conftest.er1 >conftest.err
13899 cat conftest.err >&5
13900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13901 (exit $ac_status); } && {
13902 test -z "$ac_c_werror_flag" ||
13903 test ! -s conftest.err
13904 } && test -s conftest.$ac_objext; then
13907 echo "$as_me: failed program was:" >&5
13908 sed 's/^/| /' conftest.$ac_ext >&5
13910 ac_lo=`expr '(' $ac_mid ')' + 1`
13913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13916 ?*) ac_cv_sizeof_int=$ac_lo;;
13917 '') if test "$ac_cv_type_int" = yes; then
13918 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
13919 See \`config.log' for more details." >&5
13920 echo "$as_me: error: cannot compute sizeof (int)
13921 See \`config.log' for more details." >&2;}
13922 { (exit 77); exit 77; }; }
13928 cat >conftest.$ac_ext <<_ACEOF
13931 cat confdefs.h >>conftest.$ac_ext
13932 cat >>conftest.$ac_ext <<_ACEOF
13933 /* end confdefs.h. */
13934 $ac_includes_default
13935 typedef int ac__type_sizeof_;
13936 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
13937 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
13939 #include <stdlib.h>
13944 FILE *f = fopen ("conftest.val", "w");
13947 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
13949 long int i = longval ();
13950 if (i != ((long int) (sizeof (ac__type_sizeof_))))
13952 fprintf (f, "%ld\n", i);
13956 unsigned long int i = ulongval ();
13957 if (i != ((long int) (sizeof (ac__type_sizeof_))))
13959 fprintf (f, "%lu\n", i);
13961 return ferror (f) || fclose (f) != 0;
13967 rm -f conftest$ac_exeext
13968 if { (ac_try="$ac_link"
13969 case "(($ac_try" in
13970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13971 *) ac_try_echo=$ac_try;;
13973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13974 (eval "$ac_link") 2>&5
13976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13977 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13978 { (case "(($ac_try" in
13979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13980 *) ac_try_echo=$ac_try;;
13982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13983 (eval "$ac_try") 2>&5
13985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13986 (exit $ac_status); }; }; then
13987 ac_cv_sizeof_int=`cat conftest.val`
13989 echo "$as_me: program exited with status $ac_status" >&5
13990 echo "$as_me: failed program was:" >&5
13991 sed 's/^/| /' conftest.$ac_ext >&5
13993 ( exit $ac_status )
13994 if test "$ac_cv_type_int" = yes; then
13995 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
13996 See \`config.log' for more details." >&5
13997 echo "$as_me: error: cannot compute sizeof (int)
13998 See \`config.log' for more details." >&2;}
13999 { (exit 77); exit 77; }; }
14004 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14008 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
14009 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
14013 cat >>confdefs.h <<_ACEOF
14014 #define SIZEOF_INT $ac_cv_sizeof_int
14018 { echo "$as_me:$LINENO: checking for long" >&5
14019 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
14020 if test "${ac_cv_type_long+set}" = set; then
14021 echo $ECHO_N "(cached) $ECHO_C" >&6
14023 cat >conftest.$ac_ext <<_ACEOF
14026 cat confdefs.h >>conftest.$ac_ext
14027 cat >>conftest.$ac_ext <<_ACEOF
14028 /* end confdefs.h. */
14029 $ac_includes_default
14030 typedef long ac__type_new_;
14034 if ((ac__type_new_ *) 0)
14036 if (sizeof (ac__type_new_))
14042 rm -f conftest.$ac_objext
14043 if { (ac_try="$ac_compile"
14044 case "(($ac_try" in
14045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14046 *) ac_try_echo=$ac_try;;
14048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14049 (eval "$ac_compile") 2>conftest.er1
14051 grep -v '^ *+' conftest.er1 >conftest.err
14053 cat conftest.err >&5
14054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14055 (exit $ac_status); } && {
14056 test -z "$ac_c_werror_flag" ||
14057 test ! -s conftest.err
14058 } && test -s conftest.$ac_objext; then
14059 ac_cv_type_long=yes
14061 echo "$as_me: failed program was:" >&5
14062 sed 's/^/| /' conftest.$ac_ext >&5
14067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14069 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
14070 echo "${ECHO_T}$ac_cv_type_long" >&6; }
14072 # The cast to long int works around a bug in the HP C Compiler
14073 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14074 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14075 # This bug is HP SR number 8606223364.
14076 { echo "$as_me:$LINENO: checking size of long" >&5
14077 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
14078 if test "${ac_cv_sizeof_long+set}" = set; then
14079 echo $ECHO_N "(cached) $ECHO_C" >&6
14081 if test "$cross_compiling" = yes; then
14082 # Depending upon the size, compute the lo and hi bounds.
14083 cat >conftest.$ac_ext <<_ACEOF
14086 cat confdefs.h >>conftest.$ac_ext
14087 cat >>conftest.$ac_ext <<_ACEOF
14088 /* end confdefs.h. */
14089 $ac_includes_default
14090 typedef long ac__type_sizeof_;
14094 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
14101 rm -f conftest.$ac_objext
14102 if { (ac_try="$ac_compile"
14103 case "(($ac_try" in
14104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14105 *) ac_try_echo=$ac_try;;
14107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14108 (eval "$ac_compile") 2>conftest.er1
14110 grep -v '^ *+' conftest.er1 >conftest.err
14112 cat conftest.err >&5
14113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14114 (exit $ac_status); } && {
14115 test -z "$ac_c_werror_flag" ||
14116 test ! -s conftest.err
14117 } && test -s conftest.$ac_objext; then
14120 cat >conftest.$ac_ext <<_ACEOF
14123 cat confdefs.h >>conftest.$ac_ext
14124 cat >>conftest.$ac_ext <<_ACEOF
14125 /* end confdefs.h. */
14126 $ac_includes_default
14127 typedef long ac__type_sizeof_;
14131 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
14138 rm -f conftest.$ac_objext
14139 if { (ac_try="$ac_compile"
14140 case "(($ac_try" in
14141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14142 *) ac_try_echo=$ac_try;;
14144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14145 (eval "$ac_compile") 2>conftest.er1
14147 grep -v '^ *+' conftest.er1 >conftest.err
14149 cat conftest.err >&5
14150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14151 (exit $ac_status); } && {
14152 test -z "$ac_c_werror_flag" ||
14153 test ! -s conftest.err
14154 } && test -s conftest.$ac_objext; then
14155 ac_hi=$ac_mid; break
14157 echo "$as_me: failed program was:" >&5
14158 sed 's/^/| /' conftest.$ac_ext >&5
14160 ac_lo=`expr $ac_mid + 1`
14161 if test $ac_lo -le $ac_mid; then
14165 ac_mid=`expr 2 '*' $ac_mid + 1`
14168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14171 echo "$as_me: failed program was:" >&5
14172 sed 's/^/| /' conftest.$ac_ext >&5
14174 cat >conftest.$ac_ext <<_ACEOF
14177 cat confdefs.h >>conftest.$ac_ext
14178 cat >>conftest.$ac_ext <<_ACEOF
14179 /* end confdefs.h. */
14180 $ac_includes_default
14181 typedef long ac__type_sizeof_;
14185 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
14192 rm -f conftest.$ac_objext
14193 if { (ac_try="$ac_compile"
14194 case "(($ac_try" in
14195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14196 *) ac_try_echo=$ac_try;;
14198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14199 (eval "$ac_compile") 2>conftest.er1
14201 grep -v '^ *+' conftest.er1 >conftest.err
14203 cat conftest.err >&5
14204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14205 (exit $ac_status); } && {
14206 test -z "$ac_c_werror_flag" ||
14207 test ! -s conftest.err
14208 } && test -s conftest.$ac_objext; then
14211 cat >conftest.$ac_ext <<_ACEOF
14214 cat confdefs.h >>conftest.$ac_ext
14215 cat >>conftest.$ac_ext <<_ACEOF
14216 /* end confdefs.h. */
14217 $ac_includes_default
14218 typedef long ac__type_sizeof_;
14222 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
14229 rm -f conftest.$ac_objext
14230 if { (ac_try="$ac_compile"
14231 case "(($ac_try" in
14232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14233 *) ac_try_echo=$ac_try;;
14235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14236 (eval "$ac_compile") 2>conftest.er1
14238 grep -v '^ *+' conftest.er1 >conftest.err
14240 cat conftest.err >&5
14241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14242 (exit $ac_status); } && {
14243 test -z "$ac_c_werror_flag" ||
14244 test ! -s conftest.err
14245 } && test -s conftest.$ac_objext; then
14246 ac_lo=$ac_mid; break
14248 echo "$as_me: failed program was:" >&5
14249 sed 's/^/| /' conftest.$ac_ext >&5
14251 ac_hi=`expr '(' $ac_mid ')' - 1`
14252 if test $ac_mid -le $ac_hi; then
14256 ac_mid=`expr 2 '*' $ac_mid`
14259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14262 echo "$as_me: failed program was:" >&5
14263 sed 's/^/| /' conftest.$ac_ext >&5
14268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14272 # Binary search between lo and hi bounds.
14273 while test "x$ac_lo" != "x$ac_hi"; do
14274 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14275 cat >conftest.$ac_ext <<_ACEOF
14278 cat confdefs.h >>conftest.$ac_ext
14279 cat >>conftest.$ac_ext <<_ACEOF
14280 /* end confdefs.h. */
14281 $ac_includes_default
14282 typedef long ac__type_sizeof_;
14286 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
14293 rm -f conftest.$ac_objext
14294 if { (ac_try="$ac_compile"
14295 case "(($ac_try" in
14296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14297 *) ac_try_echo=$ac_try;;
14299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14300 (eval "$ac_compile") 2>conftest.er1
14302 grep -v '^ *+' conftest.er1 >conftest.err
14304 cat conftest.err >&5
14305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14306 (exit $ac_status); } && {
14307 test -z "$ac_c_werror_flag" ||
14308 test ! -s conftest.err
14309 } && test -s conftest.$ac_objext; then
14312 echo "$as_me: failed program was:" >&5
14313 sed 's/^/| /' conftest.$ac_ext >&5
14315 ac_lo=`expr '(' $ac_mid ')' + 1`
14318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14321 ?*) ac_cv_sizeof_long=$ac_lo;;
14322 '') if test "$ac_cv_type_long" = yes; then
14323 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
14324 See \`config.log' for more details." >&5
14325 echo "$as_me: error: cannot compute sizeof (long)
14326 See \`config.log' for more details." >&2;}
14327 { (exit 77); exit 77; }; }
14329 ac_cv_sizeof_long=0
14333 cat >conftest.$ac_ext <<_ACEOF
14336 cat confdefs.h >>conftest.$ac_ext
14337 cat >>conftest.$ac_ext <<_ACEOF
14338 /* end confdefs.h. */
14339 $ac_includes_default
14340 typedef long ac__type_sizeof_;
14341 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
14342 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
14344 #include <stdlib.h>
14349 FILE *f = fopen ("conftest.val", "w");
14352 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
14354 long int i = longval ();
14355 if (i != ((long int) (sizeof (ac__type_sizeof_))))
14357 fprintf (f, "%ld\n", i);
14361 unsigned long int i = ulongval ();
14362 if (i != ((long int) (sizeof (ac__type_sizeof_))))
14364 fprintf (f, "%lu\n", i);
14366 return ferror (f) || fclose (f) != 0;
14372 rm -f conftest$ac_exeext
14373 if { (ac_try="$ac_link"
14374 case "(($ac_try" in
14375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14376 *) ac_try_echo=$ac_try;;
14378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14379 (eval "$ac_link") 2>&5
14381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14382 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14383 { (case "(($ac_try" in
14384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14385 *) ac_try_echo=$ac_try;;
14387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14388 (eval "$ac_try") 2>&5
14390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14391 (exit $ac_status); }; }; then
14392 ac_cv_sizeof_long=`cat conftest.val`
14394 echo "$as_me: program exited with status $ac_status" >&5
14395 echo "$as_me: failed program was:" >&5
14396 sed 's/^/| /' conftest.$ac_ext >&5
14398 ( exit $ac_status )
14399 if test "$ac_cv_type_long" = yes; then
14400 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
14401 See \`config.log' for more details." >&5
14402 echo "$as_me: error: cannot compute sizeof (long)
14403 See \`config.log' for more details." >&2;}
14404 { (exit 77); exit 77; }; }
14406 ac_cv_sizeof_long=0
14409 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14413 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
14414 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
14418 cat >>confdefs.h <<_ACEOF
14419 #define SIZEOF_LONG $ac_cv_sizeof_long
14424 if test x$has_char16 = "xyes" ; then
14426 $ac_cv_sizeof_short) SIZE16="short";;
14427 $ac_cv_sizeof_int) SIZE16="int";;
14431 $ac_cv_sizeof_short) SIZE16="short";;
14432 $ac_cv_sizeof_int) SIZE16="int";;
14436 if test x$has_char16 = "xyes" ; then
14438 $ac_cv_sizeof_int) SIZE32="int";;
14439 $ac_cv_sizeof_long) SIZE32="long";;
14440 $ac_cv_sizeof_short) SIZE32="short";;
14444 $ac_cv_sizeof_int) SIZE32="int";;
14445 $ac_cv_sizeof_long) SIZE32="long";;
14446 $ac_cv_sizeof_short) SIZE32="short";;
14453 ac_config_files="$ac_config_files Makefile libspeex/Makefile src/Makefile doc/Makefile include/Makefile include/speex/Makefile speex.pc speexdsp.pc win32/Makefile win32/libspeex/Makefile win32/speexenc/Makefile win32/speexdec/Makefile symbian/Makefile win32/VS2003/Makefile win32/VS2003/tests/Makefile win32/VS2003/libspeex/Makefile win32/VS2003/libspeexdsp/Makefile win32/VS2003/speexdec/Makefile win32/VS2003/speexenc/Makefile win32/VS2005/Makefile win32/VS2005/libspeex/Makefile win32/VS2005/speexdec/Makefile win32/VS2005/speexenc/Makefile win32/VS2005/libspeexdsp/Makefile win32/VS2005/tests/Makefile win32/VS2008/libspeexdsp/Makefile win32/VS2008/Makefile win32/VS2008/speexdec/Makefile win32/VS2008/tests/Makefile win32/VS2008/libspeex/Makefile win32/VS2008/speexenc/Makefile include/speex/speex_config_types.h ti/Makefile ti/speex_C54_test/Makefile ti/speex_C55_test/Makefile ti/speex_C64_test/Makefile"
14455 cat >confcache <<\_ACEOF
14456 # This file is a shell script that caches the results of configure
14457 # tests run on this system so they can be shared between configure
14458 # scripts and configure runs, see configure's option --config-cache.
14459 # It is not useful on other systems. If it contains results you don't
14460 # want to keep, you may remove or edit it.
14462 # config.status only pays attention to the cache file if you give it
14463 # the --recheck option to rerun configure.
14465 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14466 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14467 # following values.
14471 # The following way of writing the cache mishandles newlines in values,
14472 # but we know of no workaround that is simple, portable, and efficient.
14473 # So, we kill variables containing newlines.
14474 # Ultrix sh set writes to stderr and can't be redirected directly,
14475 # and sets the high bit in the cache file unless we assign to the vars.
14477 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14478 eval ac_val=\$$ac_var
14482 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14483 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14486 _ | IFS | as_nl) ;; #(
14487 *) $as_unset $ac_var ;;
14493 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14494 *${as_nl}ac_space=\ *)
14495 # `set' does not quote correctly, so add quotes (double-quote
14496 # substitution turns \\\\ into \\, and sed turns \\ into \).
14499 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14502 # `set' quotes correctly as required by POSIX, so do not add quotes.
14503 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14512 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14514 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14516 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14517 if test -w "$cache_file"; then
14518 test "x$cache_file" != "x/dev/null" &&
14519 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14520 echo "$as_me: updating cache $cache_file" >&6;}
14521 cat confcache >$cache_file
14523 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14524 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14529 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14530 # Let make expand exec_prefix.
14531 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14533 DEFS=-DHAVE_CONFIG_H
14537 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14538 # 1. Remove the extension, and $U if already installed.
14539 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14540 ac_i=`echo "$ac_i" | sed "$ac_script"`
14541 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14542 # will be set to the directory where LIBOBJS objects are built.
14543 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14544 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
14546 LIBOBJS=$ac_libobjs
14548 LTLIBOBJS=$ac_ltlibobjs
14551 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14552 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
14553 Usually this means the macro was only invoked conditionally." >&5
14554 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
14555 Usually this means the macro was only invoked conditionally." >&2;}
14556 { (exit 1); exit 1; }; }
14558 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14559 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
14560 Usually this means the macro was only invoked conditionally." >&5
14561 echo "$as_me: error: conditional \"AMDEP\" was never defined.
14562 Usually this means the macro was only invoked conditionally." >&2;}
14563 { (exit 1); exit 1; }; }
14565 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14566 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
14567 Usually this means the macro was only invoked conditionally." >&5
14568 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
14569 Usually this means the macro was only invoked conditionally." >&2;}
14570 { (exit 1); exit 1; }; }
14572 if test -z "${BUILD_KISS_FFT_TRUE}" && test -z "${BUILD_KISS_FFT_FALSE}"; then
14573 { { echo "$as_me:$LINENO: error: conditional \"BUILD_KISS_FFT\" was never defined.
14574 Usually this means the macro was only invoked conditionally." >&5
14575 echo "$as_me: error: conditional \"BUILD_KISS_FFT\" was never defined.
14576 Usually this means the macro was only invoked conditionally." >&2;}
14577 { (exit 1); exit 1; }; }
14579 if test -z "${BUILD_SMALLFT_TRUE}" && test -z "${BUILD_SMALLFT_FALSE}"; then
14580 { { echo "$as_me:$LINENO: error: conditional \"BUILD_SMALLFT\" was never defined.
14581 Usually this means the macro was only invoked conditionally." >&5
14582 echo "$as_me: error: conditional \"BUILD_SMALLFT\" was never defined.
14583 Usually this means the macro was only invoked conditionally." >&2;}
14584 { (exit 1); exit 1; }; }
14587 : ${CONFIG_STATUS=./config.status}
14588 ac_clean_files_save=$ac_clean_files
14589 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14590 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14591 echo "$as_me: creating $CONFIG_STATUS" >&6;}
14592 cat >$CONFIG_STATUS <<_ACEOF
14594 # Generated by $as_me.
14595 # Run this file to recreate the current configuration.
14596 # Compiler output produced by configure, useful for debugging
14597 # configure, is in config.log if it exists.
14600 ac_cs_recheck=false
14602 SHELL=\${CONFIG_SHELL-$SHELL}
14605 cat >>$CONFIG_STATUS <<\_ACEOF
14606 ## --------------------- ##
14607 ## M4sh Initialization. ##
14608 ## --------------------- ##
14610 # Be more Bourne compatible
14611 DUALCASE=1; export DUALCASE # for MKS sh
14612 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14615 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
14616 # is contrary to our usage. Disable this feature.
14617 alias -g '${1+"$@"}'='"$@"'
14618 setopt NO_GLOB_SUBST
14620 case `(set -o) 2>/dev/null` in
14621 *posix*) set -o posix ;;
14630 # Avoid depending upon Character Ranges.
14631 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14632 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14633 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14634 as_cr_digits='0123456789'
14635 as_cr_alnum=$as_cr_Letters$as_cr_digits
14637 # The user is always right.
14638 if test "${PATH_SEPARATOR+set}" != set; then
14639 echo "#! /bin/sh" >conf$$.sh
14640 echo "exit 0" >>conf$$.sh
14642 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14650 # Support unset when possible.
14651 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
14659 # We need space, tab and new line, in precisely that order. Quoting is
14660 # there to prevent editors from complaining about space-tab.
14661 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14662 # splitting by setting IFS to empty value.)
14667 # Find who we are. Look in the path if we contain no directory separator.
14669 *[\\/]* ) as_myself=$0 ;;
14670 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14671 for as_dir in $PATH
14674 test -z "$as_dir" && as_dir=.
14675 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14681 # We did not find ourselves, most probably we were run as `sh COMMAND'
14682 # in which case we are not to be found in the path.
14683 if test "x$as_myself" = x; then
14686 if test ! -f "$as_myself"; then
14687 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14688 { (exit 1); exit 1; }
14691 # Work around bugs in pre-3.0 UWIN ksh.
14692 for as_var in ENV MAIL MAILPATH
14693 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
14701 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
14702 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
14703 LC_TELEPHONE LC_TIME
14705 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
14706 eval $as_var=C; export $as_var
14708 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
14712 # Required to use basename.
14713 if expr a : '\(a\)' >/dev/null 2>&1 &&
14714 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14720 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14721 as_basename=basename
14727 # Name of the executable.
14728 as_me=`$as_basename -- "$0" ||
14729 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14730 X"$0" : 'X\(//\)$' \| \
14731 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14733 sed '/^.*\/\([^/][^/]*\)\/*$/{
14752 as_lineno_1=$LINENO
14753 as_lineno_2=$LINENO
14754 test "x$as_lineno_1" != "x$as_lineno_2" &&
14755 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
14757 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14758 # uniformly replaced by the line number. The first 'sed' inserts a
14759 # line-number line after each line using $LINENO; the second 'sed'
14760 # does the real work. The second script uses 'N' to pair each
14761 # line-number line with the line containing $LINENO, and appends
14762 # trailing '-' during substitution so that $LINENO is not a special
14763 # case at line end.
14764 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14765 # scripts with optimization help from Paolo Bonzini. Blame Lee
14766 # E. McMahon (1931-1989) for sed's syntax. :-)
14778 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
14781 ' >$as_me.lineno &&
14782 chmod +x "$as_me.lineno" ||
14783 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
14784 { (exit 1); exit 1; }; }
14786 # Don't try to exec as it changes $[0], causing all sort of problems
14787 # (the dirname of $[0] is not the place where we might find the
14788 # original and so on. Autoconf is especially sensitive to this).
14789 . "./$as_me.lineno"
14790 # Exit status is that of the last command.
14795 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14801 ECHO_C= ECHO_N= ECHO_T=
14802 case `echo -n x` in
14804 case `echo 'x\c'` in
14805 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14812 if expr a : '\(a\)' >/dev/null 2>&1 &&
14813 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14819 rm -f conf$$ conf$$.exe conf$$.file
14820 if test -d conf$$.dir; then
14821 rm -f conf$$.dir/conf$$.file
14827 if ln -s conf$$.file conf$$ 2>/dev/null; then
14829 # ... but there are two gotchas:
14830 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14831 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14832 # In both cases, we have to default to `cp -p'.
14833 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14835 elif ln conf$$.file conf$$ 2>/dev/null; then
14840 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14841 rmdir conf$$.dir 2>/dev/null
14843 if mkdir -p . 2>/dev/null; then
14846 test -d ./-p && rmdir ./-p
14850 if test -x / >/dev/null 2>&1; then
14851 as_test_x='test -x'
14853 if ls -dL / >/dev/null 2>&1; then
14860 if test -d "$1"; then
14866 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
14867 ???[sx]*):;;*)false;;esac;fi
14871 as_executable_p=$as_test_x
14873 # Sed expression to map a string onto a valid CPP name.
14874 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14876 # Sed expression to map a string onto a valid variable name.
14877 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14882 # Save the log message, to keep $[0] and so on meaningful, and to
14883 # report actual input values of CONFIG_FILES etc. instead of their
14884 # values after options handling.
14886 This file was extended by $as_me, which was
14887 generated by GNU Autoconf 2.61. Invocation command line was
14889 CONFIG_FILES = $CONFIG_FILES
14890 CONFIG_HEADERS = $CONFIG_HEADERS
14891 CONFIG_LINKS = $CONFIG_LINKS
14892 CONFIG_COMMANDS = $CONFIG_COMMANDS
14895 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14900 cat >>$CONFIG_STATUS <<_ACEOF
14901 # Files that config.status was made for.
14902 config_files="$ac_config_files"
14903 config_headers="$ac_config_headers"
14904 config_commands="$ac_config_commands"
14908 cat >>$CONFIG_STATUS <<\_ACEOF
14910 \`$as_me' instantiates files from templates according to the
14911 current configuration.
14913 Usage: $0 [OPTIONS] [FILE]...
14915 -h, --help print this help, then exit
14916 -V, --version print version number and configuration settings, then exit
14917 -q, --quiet do not print progress messages
14918 -d, --debug don't remove temporary files
14919 --recheck update $as_me by reconfiguring in the same conditions
14920 --file=FILE[:TEMPLATE]
14921 instantiate the configuration file FILE
14922 --header=FILE[:TEMPLATE]
14923 instantiate the configuration header FILE
14925 Configuration files:
14928 Configuration headers:
14931 Configuration commands:
14934 Report bugs to <bug-autoconf@gnu.org>."
14937 cat >>$CONFIG_STATUS <<_ACEOF
14940 configured by $0, generated by GNU Autoconf 2.61,
14941 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14943 Copyright (C) 2006 Free Software Foundation, Inc.
14944 This config.status script is free software; the Free Software Foundation
14945 gives unlimited permission to copy, distribute and modify it."
14952 cat >>$CONFIG_STATUS <<\_ACEOF
14953 # If no file are specified by the user, then we need to provide default
14954 # value. By we need to know if files were specified by the user.
14960 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14961 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14972 # Handling of the options.
14973 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14975 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14976 echo "$ac_cs_version"; exit ;;
14977 --debug | --debu | --deb | --de | --d | -d )
14979 --file | --fil | --fi | --f )
14981 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
14982 ac_need_defaults=false;;
14983 --header | --heade | --head | --hea )
14985 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
14986 ac_need_defaults=false;;
14988 # Conflict between --help and --header
14989 { echo "$as_me: error: ambiguous option: $1
14990 Try \`$0 --help' for more information." >&2
14991 { (exit 1); exit 1; }; };;
14992 --help | --hel | -h )
14993 echo "$ac_cs_usage"; exit ;;
14994 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14995 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14998 # This is an error.
14999 -*) { echo "$as_me: error: unrecognized option: $1
15000 Try \`$0 --help' for more information." >&2
15001 { (exit 1); exit 1; }; } ;;
15003 *) ac_config_targets="$ac_config_targets $1"
15004 ac_need_defaults=false ;;
15010 ac_configure_extra_args=
15012 if $ac_cs_silent; then
15014 ac_configure_extra_args="$ac_configure_extra_args --silent"
15018 cat >>$CONFIG_STATUS <<_ACEOF
15019 if \$ac_cs_recheck; then
15020 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15021 CONFIG_SHELL=$SHELL
15022 export CONFIG_SHELL
15023 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15027 cat >>$CONFIG_STATUS <<\_ACEOF
15031 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15032 ## Running $as_me. ##
15038 cat >>$CONFIG_STATUS <<_ACEOF
15042 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15045 # The HP-UX ksh and POSIX shell print the target directory to stdout
15046 # if CDPATH is set.
15047 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15049 sed_quote_subst='$sed_quote_subst'
15050 double_quote_subst='$double_quote_subst'
15051 delay_variable_subst='$delay_variable_subst'
15052 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
15053 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15054 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15055 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15056 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15057 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15058 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15059 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15060 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15061 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15062 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15063 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15064 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15065 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15066 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15067 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15068 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15069 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15070 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15071 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15072 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15073 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15074 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15075 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15076 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15077 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15078 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15079 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15080 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15081 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15082 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15083 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15084 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15085 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15086 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15087 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15088 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15089 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15090 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15091 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15092 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15093 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15094 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15095 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15096 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15097 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15098 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"`'
15099 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"`'
15100 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15101 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15102 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15103 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15104 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15105 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15106 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15107 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15108 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15109 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15110 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15111 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15112 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15113 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15114 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15115 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15116 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15117 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15118 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15119 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15120 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15121 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15122 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15123 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15124 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15125 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15126 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15127 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15128 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15129 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15130 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15131 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15132 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15133 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15134 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15135 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15136 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15137 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15138 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15139 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15140 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15141 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15142 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15143 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15144 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15145 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15146 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15147 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15148 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15149 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15150 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15151 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15152 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15153 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15154 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15155 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15156 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15157 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15158 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15159 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15160 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15161 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15162 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15163 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15164 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15165 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15166 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15167 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15168 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15169 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15170 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15171 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15174 LTCFLAGS='$LTCFLAGS'
15175 compiler='$compiler_DEFAULT'
15177 # Quote evaled strings.
15188 deplibs_check_method \
15197 lt_cv_sys_global_symbol_pipe \
15198 lt_cv_sys_global_symbol_to_cdecl \
15199 lt_cv_sys_global_symbol_to_c_name_address \
15200 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15203 lt_prog_compiler_no_builtin_flag \
15204 lt_prog_compiler_wl \
15205 lt_prog_compiler_pic \
15206 lt_prog_compiler_static \
15207 lt_cv_prog_compiler_c_o \
15215 export_dynamic_flag_spec \
15216 whole_archive_flag_spec \
15217 compiler_needs_object \
15219 allow_undefined_flag \
15220 no_undefined_flag \
15221 hardcode_libdir_flag_spec \
15222 hardcode_libdir_flag_spec_ld \
15223 hardcode_libdir_separator \
15228 variables_saved_for_relink \
15230 library_names_spec \
15235 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15236 *[\\\\\\\`\\"\\\$]*)
15237 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15240 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15245 # Double-quote double-evaled strings.
15246 for var in reload_cmds \
15247 old_postinstall_cmds \
15248 old_postuninstall_cmds \
15250 extract_expsyms_cmds \
15251 old_archive_from_new_cmds \
15252 old_archive_from_expsyms_cmds \
15254 archive_expsym_cmds \
15256 module_expsym_cmds \
15257 export_symbols_cmds \
15260 postuninstall_cmds \
15262 sys_lib_search_path_spec \
15263 sys_lib_dlsearch_path_spec; do
15264 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15265 *[\\\\\\\`\\"\\\$]*)
15266 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15269 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15274 # Fix-up fallback echo if it was mangled by the above quoting rules.
15276 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
15280 ac_aux_dir='$ac_aux_dir'
15281 xsi_shell='$xsi_shell'
15282 lt_shell_append='$lt_shell_append'
15284 # See if we are running on zsh, and set the options which allow our
15285 # commands through without removal of \ escapes INIT.
15286 if test -n "\${ZSH_VERSION+set}" ; then
15287 setopt NO_GLOB_SUBST
15293 TIMESTAMP='$TIMESTAMP'
15302 cat >>$CONFIG_STATUS <<\_ACEOF
15304 # Handling of arguments.
15305 for ac_config_target in $ac_config_targets
15307 case $ac_config_target in
15308 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15309 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15310 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15311 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15312 "libspeex/Makefile") CONFIG_FILES="$CONFIG_FILES libspeex/Makefile" ;;
15313 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15314 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15315 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
15316 "include/speex/Makefile") CONFIG_FILES="$CONFIG_FILES include/speex/Makefile" ;;
15317 "speex.pc") CONFIG_FILES="$CONFIG_FILES speex.pc" ;;
15318 "speexdsp.pc") CONFIG_FILES="$CONFIG_FILES speexdsp.pc" ;;
15319 "win32/Makefile") CONFIG_FILES="$CONFIG_FILES win32/Makefile" ;;
15320 "win32/libspeex/Makefile") CONFIG_FILES="$CONFIG_FILES win32/libspeex/Makefile" ;;
15321 "win32/speexenc/Makefile") CONFIG_FILES="$CONFIG_FILES win32/speexenc/Makefile" ;;
15322 "win32/speexdec/Makefile") CONFIG_FILES="$CONFIG_FILES win32/speexdec/Makefile" ;;
15323 "symbian/Makefile") CONFIG_FILES="$CONFIG_FILES symbian/Makefile" ;;
15324 "win32/VS2003/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2003/Makefile" ;;
15325 "win32/VS2003/tests/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2003/tests/Makefile" ;;
15326 "win32/VS2003/libspeex/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2003/libspeex/Makefile" ;;
15327 "win32/VS2003/libspeexdsp/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2003/libspeexdsp/Makefile" ;;
15328 "win32/VS2003/speexdec/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2003/speexdec/Makefile" ;;
15329 "win32/VS2003/speexenc/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2003/speexenc/Makefile" ;;
15330 "win32/VS2005/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2005/Makefile" ;;
15331 "win32/VS2005/libspeex/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2005/libspeex/Makefile" ;;
15332 "win32/VS2005/speexdec/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2005/speexdec/Makefile" ;;
15333 "win32/VS2005/speexenc/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2005/speexenc/Makefile" ;;
15334 "win32/VS2005/libspeexdsp/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2005/libspeexdsp/Makefile" ;;
15335 "win32/VS2005/tests/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2005/tests/Makefile" ;;
15336 "win32/VS2008/libspeexdsp/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2008/libspeexdsp/Makefile" ;;
15337 "win32/VS2008/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2008/Makefile" ;;
15338 "win32/VS2008/speexdec/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2008/speexdec/Makefile" ;;
15339 "win32/VS2008/tests/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2008/tests/Makefile" ;;
15340 "win32/VS2008/libspeex/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2008/libspeex/Makefile" ;;
15341 "win32/VS2008/speexenc/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2008/speexenc/Makefile" ;;
15342 "include/speex/speex_config_types.h") CONFIG_FILES="$CONFIG_FILES include/speex/speex_config_types.h" ;;
15343 "ti/Makefile") CONFIG_FILES="$CONFIG_FILES ti/Makefile" ;;
15344 "ti/speex_C54_test/Makefile") CONFIG_FILES="$CONFIG_FILES ti/speex_C54_test/Makefile" ;;
15345 "ti/speex_C55_test/Makefile") CONFIG_FILES="$CONFIG_FILES ti/speex_C55_test/Makefile" ;;
15346 "ti/speex_C64_test/Makefile") CONFIG_FILES="$CONFIG_FILES ti/speex_C64_test/Makefile" ;;
15348 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15349 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15350 { (exit 1); exit 1; }; };;
15355 # If the user did not use the arguments to specify the items to instantiate,
15356 # then the envvar interface is used. Set only those that are not.
15357 # We use the long form for the default assignment because of an extremely
15358 # bizarre bug on SunOS 4.1.3.
15359 if $ac_need_defaults; then
15360 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15361 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15362 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15365 # Have a temporary directory for convenience. Make it in the build tree
15366 # simply because there is no reason against having it here, and in addition,
15367 # creating and moving files from /tmp can sometimes cause problems.
15368 # Hook for its removal unless debugging.
15369 # Note that there is a small window in which the directory will not be cleaned:
15370 # after its creation but before its name has been assigned to `$tmp'.
15374 trap 'exit_status=$?
15375 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15377 trap '{ (exit 1); exit 1; }' 1 2 13 15
15379 # Create a (secure) tmp directory for tmp files.
15382 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15383 test -n "$tmp" && test -d "$tmp"
15386 tmp=./conf$$-$RANDOM
15387 (umask 077 && mkdir "$tmp")
15390 echo "$me: cannot create a temporary directory in ." >&2
15391 { (exit 1); exit 1; }
15395 # Set up the sed scripts for CONFIG_FILES section.
15398 # No need to generate the scripts if there are no CONFIG_FILES.
15399 # This happens for instance when ./config.status config.h
15400 if test -n "$CONFIG_FILES"; then
15407 for ac_last_try in false false false false false :; do
15408 cat >conf$$subs.sed <<_ACEOF
15409 SHELL!$SHELL$ac_delim
15410 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
15411 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
15412 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
15413 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
15414 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
15415 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
15416 exec_prefix!$exec_prefix$ac_delim
15417 prefix!$prefix$ac_delim
15418 program_transform_name!$program_transform_name$ac_delim
15419 bindir!$bindir$ac_delim
15420 sbindir!$sbindir$ac_delim
15421 libexecdir!$libexecdir$ac_delim
15422 datarootdir!$datarootdir$ac_delim
15423 datadir!$datadir$ac_delim
15424 sysconfdir!$sysconfdir$ac_delim
15425 sharedstatedir!$sharedstatedir$ac_delim
15426 localstatedir!$localstatedir$ac_delim
15427 includedir!$includedir$ac_delim
15428 oldincludedir!$oldincludedir$ac_delim
15429 docdir!$docdir$ac_delim
15430 infodir!$infodir$ac_delim
15431 htmldir!$htmldir$ac_delim
15432 dvidir!$dvidir$ac_delim
15433 pdfdir!$pdfdir$ac_delim
15434 psdir!$psdir$ac_delim
15435 libdir!$libdir$ac_delim
15436 localedir!$localedir$ac_delim
15437 mandir!$mandir$ac_delim
15438 DEFS!$DEFS$ac_delim
15439 ECHO_C!$ECHO_C$ac_delim
15440 ECHO_N!$ECHO_N$ac_delim
15441 ECHO_T!$ECHO_T$ac_delim
15442 LIBS!$LIBS$ac_delim
15443 build_alias!$build_alias$ac_delim
15444 host_alias!$host_alias$ac_delim
15445 target_alias!$target_alias$ac_delim
15446 SPEEX_LT_CURRENT!$SPEEX_LT_CURRENT$ac_delim
15447 SPEEX_LT_REVISION!$SPEEX_LT_REVISION$ac_delim
15448 SPEEX_LT_AGE!$SPEEX_LT_AGE$ac_delim
15449 SPEEX_VERSION!$SPEEX_VERSION$ac_delim
15450 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
15451 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
15452 INSTALL_DATA!$INSTALL_DATA$ac_delim
15453 CYGPATH_W!$CYGPATH_W$ac_delim
15454 PACKAGE!$PACKAGE$ac_delim
15455 VERSION!$VERSION$ac_delim
15456 ACLOCAL!$ACLOCAL$ac_delim
15457 AUTOCONF!$AUTOCONF$ac_delim
15458 AUTOMAKE!$AUTOMAKE$ac_delim
15459 AUTOHEADER!$AUTOHEADER$ac_delim
15460 MAKEINFO!$MAKEINFO$ac_delim
15461 AMTAR!$AMTAR$ac_delim
15462 install_sh!$install_sh$ac_delim
15463 STRIP!$STRIP$ac_delim
15464 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
15465 mkdir_p!$mkdir_p$ac_delim
15467 SET_MAKE!$SET_MAKE$ac_delim
15468 am__leading_dot!$am__leading_dot$ac_delim
15469 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
15470 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
15471 MAINT!$MAINT$ac_delim
15472 build!$build$ac_delim
15473 build_cpu!$build_cpu$ac_delim
15474 build_vendor!$build_vendor$ac_delim
15475 build_os!$build_os$ac_delim
15476 host!$host$ac_delim
15477 host_cpu!$host_cpu$ac_delim
15478 host_vendor!$host_vendor$ac_delim
15479 host_os!$host_os$ac_delim
15481 DLLTOOL!$DLLTOOL$ac_delim
15482 OBJDUMP!$OBJDUMP$ac_delim
15483 LIBTOOL!$LIBTOOL$ac_delim
15485 CFLAGS!$CFLAGS$ac_delim
15486 LDFLAGS!$LDFLAGS$ac_delim
15487 CPPFLAGS!$CPPFLAGS$ac_delim
15488 ac_ct_CC!$ac_ct_CC$ac_delim
15489 EXEEXT!$EXEEXT$ac_delim
15490 OBJEXT!$OBJEXT$ac_delim
15491 DEPDIR!$DEPDIR$ac_delim
15492 am__include!$am__include$ac_delim
15493 am__quote!$am__quote$ac_delim
15494 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
15495 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
15496 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
15497 CCDEPMODE!$CCDEPMODE$ac_delim
15498 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
15499 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
15501 GREP!$GREP$ac_delim
15502 EGREP!$EGREP$ac_delim
15503 FGREP!$FGREP$ac_delim
15505 DUMPBIN!$DUMPBIN$ac_delim
15508 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
15510 elif $ac_last_try; then
15511 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15512 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15513 { (exit 1); exit 1; }; }
15515 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15519 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
15520 if test -n "$ac_eof"; then
15521 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
15522 ac_eof=`expr $ac_eof + 1`
15525 cat >>$CONFIG_STATUS <<_ACEOF
15526 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
15527 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15530 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
15531 s/^/s,@/; s/!/@,|#_!!_#|/
15534 s/'"$ac_delim"'$/,g/; t
15536 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
15537 ' >>$CONFIG_STATUS <conf$$subs.sed
15538 rm -f conf$$subs.sed
15539 cat >>$CONFIG_STATUS <<_ACEOF
15545 for ac_last_try in false false false false false :; do
15546 cat >conf$$subs.sed <<_ACEOF
15547 ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
15549 LN_S!$LN_S$ac_delim
15551 RANLIB!$RANLIB$ac_delim
15552 lt_ECHO!$lt_ECHO$ac_delim
15553 DSYMUTIL!$DSYMUTIL$ac_delim
15554 NMEDIT!$NMEDIT$ac_delim
15555 LIPO!$LIPO$ac_delim
15556 OTOOL!$OTOOL$ac_delim
15557 OTOOL64!$OTOOL64$ac_delim
15559 OGG_CFLAGS!$OGG_CFLAGS$ac_delim
15560 OGG_LIBS!$OGG_LIBS$ac_delim
15562 LIBOBJS!$LIBOBJS$ac_delim
15563 PKG_CONFIG!$PKG_CONFIG$ac_delim
15564 FFT_CFLAGS!$FFT_CFLAGS$ac_delim
15565 FFT_LIBS!$FFT_LIBS$ac_delim
15566 BUILD_KISS_FFT_TRUE!$BUILD_KISS_FFT_TRUE$ac_delim
15567 BUILD_KISS_FFT_FALSE!$BUILD_KISS_FFT_FALSE$ac_delim
15568 BUILD_SMALLFT_TRUE!$BUILD_SMALLFT_TRUE$ac_delim
15569 BUILD_SMALLFT_FALSE!$BUILD_SMALLFT_FALSE$ac_delim
15570 FFT_PKGCONFIG!$FFT_PKGCONFIG$ac_delim
15571 SIZE16!$SIZE16$ac_delim
15572 SIZE32!$SIZE32$ac_delim
15573 LTLIBOBJS!$LTLIBOBJS$ac_delim
15576 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 27; then
15578 elif $ac_last_try; then
15579 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15580 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15581 { (exit 1); exit 1; }; }
15583 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15587 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
15588 if test -n "$ac_eof"; then
15589 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
15590 ac_eof=`expr $ac_eof + 1`
15593 cat >>$CONFIG_STATUS <<_ACEOF
15594 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
15595 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
15598 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
15599 s/^/s,@/; s/!/@,|#_!!_#|/
15602 s/'"$ac_delim"'$/,g/; t
15604 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
15605 ' >>$CONFIG_STATUS <conf$$subs.sed
15606 rm -f conf$$subs.sed
15607 cat >>$CONFIG_STATUS <<_ACEOF
15614 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15615 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15616 # trailing colons and then remove the whole line if VPATH becomes empty
15617 # (actually we leave an empty line to preserve line numbers).
15618 if test "x$srcdir" = x.; then
15619 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15620 s/:*\$(srcdir):*/:/
15621 s/:*\${srcdir}:*/:/
15623 s/^\([^=]*=[ ]*\):*/\1/
15629 cat >>$CONFIG_STATUS <<\_ACEOF
15630 fi # test -n "$CONFIG_FILES"
15633 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
15636 :[FHLC]) ac_mode=$ac_tag; continue;;
15638 case $ac_mode$ac_tag in
15640 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
15641 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
15642 { (exit 1); exit 1; }; };;
15643 :[FH]-) ac_tag=-:-;;
15644 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15661 -) ac_f="$tmp/stdin";;
15662 *) # Look for the file first in the build tree, then in the source tree
15663 # (if the path is not absolute). The absolute path cannot be DOS-style,
15664 # because $ac_f cannot contain `:'.
15668 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15670 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
15671 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
15672 { (exit 1); exit 1; }; };;
15674 ac_file_inputs="$ac_file_inputs $ac_f"
15677 # Let's still pretend it is `configure' which instantiates (i.e., don't
15678 # use $as_me), people would be surprised to read:
15679 # /* config.h. Generated by config.status. */
15680 configure_input="Generated from "`IFS=:
15681 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
15682 if test x"$ac_file" != x-; then
15683 configure_input="$ac_file. $configure_input"
15684 { echo "$as_me:$LINENO: creating $ac_file" >&5
15685 echo "$as_me: creating $ac_file" >&6;}
15689 *:-:* | *:-) cat >"$tmp/stdin";;
15694 ac_dir=`$as_dirname -- "$ac_file" ||
15695 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15696 X"$ac_file" : 'X\(//\)[^/]' \| \
15697 X"$ac_file" : 'X\(//\)$' \| \
15698 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15700 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15704 /^X\(\/\/\)[^/].*/{
15719 -*) as_dir=./$as_dir;;
15721 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
15725 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
15726 *) as_qdir=$as_dir;;
15728 as_dirs="'$as_qdir' $as_dirs"
15729 as_dir=`$as_dirname -- "$as_dir" ||
15730 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15731 X"$as_dir" : 'X\(//\)[^/]' \| \
15732 X"$as_dir" : 'X\(//\)$' \| \
15733 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15735 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15739 /^X\(\/\/\)[^/].*/{
15752 test -d "$as_dir" && break
15754 test -z "$as_dirs" || eval "mkdir $as_dirs"
15755 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
15756 echo "$as_me: error: cannot create directory $as_dir" >&2;}
15757 { (exit 1); exit 1; }; }; }
15761 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15763 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15764 # A ".." for each directory in $ac_dir_suffix.
15765 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
15766 case $ac_top_builddir_sub in
15767 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15768 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15771 ac_abs_top_builddir=$ac_pwd
15772 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15773 # for backward compatibility:
15774 ac_top_builddir=$ac_top_build_prefix
15777 .) # We are building in place.
15779 ac_top_srcdir=$ac_top_builddir_sub
15780 ac_abs_top_srcdir=$ac_pwd ;;
15781 [\\/]* | ?:[\\/]* ) # Absolute name.
15782 ac_srcdir=$srcdir$ac_dir_suffix;
15783 ac_top_srcdir=$srcdir
15784 ac_abs_top_srcdir=$srcdir ;;
15785 *) # Relative name.
15786 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15787 ac_top_srcdir=$ac_top_build_prefix$srcdir
15788 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15790 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15800 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15801 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15805 cat >>$CONFIG_STATUS <<\_ACEOF
15806 # If the template does not know about datarootdir, expand it.
15807 # FIXME: This hack should be removed a few years after 2.60.
15808 ac_datarootdir_hack=; ac_datarootdir_seen=
15810 case `sed -n '/datarootdir/ {
15819 ' $ac_file_inputs` in
15820 *datarootdir*) ac_datarootdir_seen=yes;;
15821 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15822 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15823 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15825 cat >>$CONFIG_STATUS <<_ACEOF
15826 ac_datarootdir_hack='
15827 s&@datadir@&$datadir&g
15828 s&@docdir@&$docdir&g
15829 s&@infodir@&$infodir&g
15830 s&@localedir@&$localedir&g
15831 s&@mandir@&$mandir&g
15832 s&\\\${datarootdir}&$datarootdir&g' ;;
15836 # Neutralize VPATH when `$srcdir' = `.'.
15837 # Shell code in configure.ac might set extrasub.
15838 # FIXME: do we really want to maintain this feature?
15839 cat >>$CONFIG_STATUS <<_ACEOF
15843 cat >>$CONFIG_STATUS <<\_ACEOF
15845 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15846 s&@configure_input@&$configure_input&;t t
15847 s&@top_builddir@&$ac_top_builddir_sub&;t t
15848 s&@srcdir@&$ac_srcdir&;t t
15849 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15850 s&@top_srcdir@&$ac_top_srcdir&;t t
15851 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15852 s&@builddir@&$ac_builddir&;t t
15853 s&@abs_builddir@&$ac_abs_builddir&;t t
15854 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15855 s&@INSTALL@&$ac_INSTALL&;t t
15856 $ac_datarootdir_hack
15857 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
15859 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15860 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15861 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15862 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15863 which seems to be undefined. Please make sure it is defined." >&5
15864 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15865 which seems to be undefined. Please make sure it is defined." >&2;}
15869 -) cat "$tmp/out"; rm -f "$tmp/out";;
15870 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
15879 # Transform confdefs.h into a sed script `conftest.defines', that
15880 # substitutes the proper values into config.h.in to produce config.h.
15881 rm -f conftest.defines conftest.tail
15882 # First, append a space to every undef/define line, to ease matching.
15883 echo 's/$/ /' >conftest.defines
15884 # Then, protect against being on the right side of a sed subst, or in
15885 # an unquoted here document, in config.status. If some macros were
15886 # called several times there might be several #defines for the same
15887 # symbol, which is useless. But do not sort them, since the last
15888 # AC_DEFINE must be honored.
15889 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15890 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
15891 # NAME is the cpp macro being defined, VALUE is the value it is being given.
15892 # PARAMS is the parameter list in the macro definition--in most cases, it's
15893 # just an empty string.
15894 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
15895 ac_dB='\\)[ (].*,\\1define\\2'
15903 s/^[ ]*#[ ]*define[ ][ ]*//
15908 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
15909 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
15910 ' >>conftest.defines
15912 # Remove the space that was appended to ease matching.
15913 # Then replace #undef with comments. This is necessary, for
15914 # example, in the case of _POSIX_SOURCE, which is predefined and required
15915 # on some systems where configure will not decide to define it.
15916 # (The regexp can be short, since the line contains either #define or #undef.)
15918 s,^[ #]*u.*,/* & */,' >>conftest.defines
15920 # Break up conftest.defines:
15921 ac_max_sed_lines=50
15923 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
15924 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
15925 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
15927 ac_in='$ac_file_inputs'
15928 ac_out='"$tmp/out1"'
15929 ac_nxt='"$tmp/out2"'
15933 # Write a here document:
15934 cat >>$CONFIG_STATUS <<_ACEOF
15935 # First, check the format of the line:
15936 cat >"\$tmp/defines.sed" <<\\CEOF
15937 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
15938 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
15942 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
15944 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
15945 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
15946 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
15947 grep . conftest.tail >/dev/null || break
15948 rm -f conftest.defines
15949 mv conftest.tail conftest.defines
15951 rm -f conftest.defines conftest.tail
15953 echo "ac_result=$ac_in" >>$CONFIG_STATUS
15954 cat >>$CONFIG_STATUS <<\_ACEOF
15955 if test x"$ac_file" != x-; then
15956 echo "/* $configure_input */" >"$tmp/config.h"
15957 cat "$ac_result" >>"$tmp/config.h"
15958 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
15959 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15960 echo "$as_me: $ac_file is unchanged" >&6;}
15963 mv "$tmp/config.h" $ac_file
15966 echo "/* $configure_input */"
15970 # Compute $ac_file's index in $config_headers.
15972 for _am_header in $config_headers :; do
15973 case $_am_header in
15974 $ac_file | $ac_file:* )
15977 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15980 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
15981 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15982 X$ac_file : 'X\(//\)[^/]' \| \
15983 X$ac_file : 'X\(//\)$' \| \
15984 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
15986 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15990 /^X\(\/\/\)[^/].*/{
16002 s/.*/./; q'`/stamp-h$_am_stamp_count
16005 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
16006 echo "$as_me: executing $ac_file commands" >&6;}
16011 case $ac_file$ac_mode in
16012 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
16013 # Strip MF so we end up with the name of the file.
16014 mf=`echo "$mf" | sed -e 's/:.*$//'`
16015 # Check whether this is an Automake generated Makefile or not.
16016 # We used to match only the files named `Makefile.in', but
16017 # some people rename them; so instead we look at the file content.
16018 # Grep'ing the first line is not enough: some people post-process
16019 # each Makefile.in and add a new line on top of each file to say so.
16020 # So let's grep whole file.
16021 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
16022 dirpart=`$as_dirname -- "$mf" ||
16023 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16024 X"$mf" : 'X\(//\)[^/]' \| \
16025 X"$mf" : 'X\(//\)$' \| \
16026 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16028 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16032 /^X\(\/\/\)[^/].*/{
16048 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
16049 # Extract the definition of DEP_FILES from the Makefile without
16051 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16052 test -z "$DEPDIR" && continue
16053 # When using ansi2knr, U may be empty or an underscore; expand it
16054 U=`sed -n 's/^U = //p' < "$mf"`
16055 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
16056 # We invoke sed twice because it is the simplest approach to
16057 # changing $(DEPDIR) to its actual value in the expansion.
16058 for file in `sed -n '
16059 /^DEP_FILES = .*\\\\$/ {
16068 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
16069 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16070 # Make sure the directory exists.
16071 test -f "$dirpart/$file" && continue
16072 fdir=`$as_dirname -- "$file" ||
16073 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16074 X"$file" : 'X\(//\)[^/]' \| \
16075 X"$file" : 'X\(//\)$' \| \
16076 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16078 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16082 /^X\(\/\/\)[^/].*/{
16095 { as_dir=$dirpart/$fdir
16097 -*) as_dir=./$as_dir;;
16099 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
16103 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
16104 *) as_qdir=$as_dir;;
16106 as_dirs="'$as_qdir' $as_dirs"
16107 as_dir=`$as_dirname -- "$as_dir" ||
16108 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16109 X"$as_dir" : 'X\(//\)[^/]' \| \
16110 X"$as_dir" : 'X\(//\)$' \| \
16111 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16113 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16117 /^X\(\/\/\)[^/].*/{
16130 test -d "$as_dir" && break
16132 test -z "$as_dirs" || eval "mkdir $as_dirs"
16133 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16134 echo "$as_me: error: cannot create directory $as_dir" >&2;}
16135 { (exit 1); exit 1; }; }; }
16136 # echo "creating $dirpart/$file"
16137 echo '# dummy' > "$dirpart/$file"
16143 # See if we are running on zsh, and set the options which allow our
16144 # commands through without removal of \ escapes.
16145 if test -n "${ZSH_VERSION+set}" ; then
16146 setopt NO_GLOB_SUBST
16149 cfgfile="${ofile}T"
16150 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16153 cat <<_LT_EOF >> "$cfgfile"
16156 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16157 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16158 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16159 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16161 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16162 # 2006, 2007, 2008 Free Software Foundation, Inc.
16163 # Written by Gordon Matzigkeit, 1996
16165 # This file is part of GNU Libtool.
16167 # GNU Libtool is free software; you can redistribute it and/or
16168 # modify it under the terms of the GNU General Public License as
16169 # published by the Free Software Foundation; either version 2 of
16170 # the License, or (at your option) any later version.
16172 # As a special exception to the GNU General Public License,
16173 # if you distribute this file as part of a program or library that
16174 # is built using GNU Libtool, you may include this file under the
16175 # same distribution terms that you use for the rest of that program.
16177 # GNU Libtool is distributed in the hope that it will be useful,
16178 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16179 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16180 # GNU General Public License for more details.
16182 # You should have received a copy of the GNU General Public License
16183 # along with GNU Libtool; see the file COPYING. If not, a copy
16184 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16185 # obtained by writing to the Free Software Foundation, Inc.,
16186 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16189 # The names of the tagged configurations supported by this script.
16192 # ### BEGIN LIBTOOL CONFIG
16194 # Assembler program.
16197 # DLL creation program.
16200 # Object dumper program.
16203 # Which release of libtool.m4 was used?
16204 macro_version=$macro_version
16205 macro_revision=$macro_revision
16207 # Whether or not to build shared libraries.
16208 build_libtool_libs=$enable_shared
16210 # Whether or not to build static libraries.
16211 build_old_libs=$enable_static
16213 # What type of objects to build.
16216 # Whether or not to optimize for fast installation.
16217 fast_install=$enable_fast_install
16220 host_alias=$host_alias
16224 # The build system.
16225 build_alias=$build_alias
16229 # A sed program that does not truncate output.
16232 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16233 Xsed="\$SED -e 1s/^X//"
16235 # A grep program that handles long lines.
16241 # A literal string matcher.
16244 # A BSD- or MS-compatible name lister.
16247 # Whether we need soft or hard links.
16250 # What is the maximum length of a command?
16251 max_cmd_len=$max_cmd_len
16253 # Object file suffix (normally "o").
16256 # Executable file suffix (normally "").
16259 # whether the shell understands "unset".
16262 # turn spaces into newlines.
16265 # turn newlines into spaces.
16268 # How to create reloadable object files.
16269 reload_flag=$lt_reload_flag
16270 reload_cmds=$lt_reload_cmds
16272 # Method to check whether dependent libraries are shared objects.
16273 deplibs_check_method=$lt_deplibs_check_method
16275 # Command to use when deplibs_check_method == "file_magic".
16276 file_magic_cmd=$lt_file_magic_cmd
16280 AR_FLAGS=$lt_AR_FLAGS
16282 # A symbol stripping program.
16285 # Commands used to install an old-style archive.
16287 old_postinstall_cmds=$lt_old_postinstall_cmds
16288 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16293 # LTCC compiler flags.
16294 LTCFLAGS=$lt_CFLAGS
16296 # Take the output of nm and produce a listing of raw symbols and C names.
16297 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16299 # Transform the output of nm in a proper C declaration.
16300 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16302 # Transform the output of nm in a C name address pair.
16303 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16305 # Transform the output of nm in a C name address pair when lib prefix is needed.
16306 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16308 # The name of the directory that contains temporary libtool files.
16311 # Shell to use when invoking shell scripts.
16314 # An echo program that does not interpret backslashes.
16317 # Used to examine libraries when file_magic_cmd begins with "file".
16318 MAGIC_CMD=$MAGIC_CMD
16320 # Must we lock files when doing compilation?
16321 need_locks=$lt_need_locks
16323 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16324 DSYMUTIL=$lt_DSYMUTIL
16326 # Tool to change global to local symbols on Mac OS X.
16329 # Tool to manipulate fat objects and archives on Mac OS X.
16332 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16335 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16336 OTOOL64=$lt_OTOOL64
16338 # Old archive suffix (normally "a").
16341 # Shared library suffix (normally ".so").
16342 shrext_cmds=$lt_shrext_cmds
16344 # The commands to extract the exported symbol list from a shared archive.
16345 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16347 # Variables whose values should be saved in libtool wrapper scripts and
16348 # restored at link time.
16349 variables_saved_for_relink=$lt_variables_saved_for_relink
16351 # Do we need the "lib" prefix for modules?
16352 need_lib_prefix=$need_lib_prefix
16354 # Do we need a version for libraries?
16355 need_version=$need_version
16357 # Library versioning type.
16358 version_type=$version_type
16360 # Shared library runtime path variable.
16361 runpath_var=$runpath_var
16363 # Shared library path variable.
16364 shlibpath_var=$shlibpath_var
16366 # Is shlibpath searched before the hard-coded library search path?
16367 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16369 # Format of library name prefix.
16370 libname_spec=$lt_libname_spec
16372 # List of archive names. First name is the real one, the rest are links.
16373 # The last name is the one that the linker finds with -lNAME
16374 library_names_spec=$lt_library_names_spec
16376 # The coded name of the library, if different from the real name.
16377 soname_spec=$lt_soname_spec
16379 # Command to use after installation of a shared archive.
16380 postinstall_cmds=$lt_postinstall_cmds
16382 # Command to use after uninstallation of a shared archive.
16383 postuninstall_cmds=$lt_postuninstall_cmds
16385 # Commands used to finish a libtool library installation in a directory.
16386 finish_cmds=$lt_finish_cmds
16388 # As "finish_cmds", except a single script fragment to be evaled but
16390 finish_eval=$lt_finish_eval
16392 # Whether we should hardcode library paths into libraries.
16393 hardcode_into_libs=$hardcode_into_libs
16395 # Compile-time system search path for libraries.
16396 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16398 # Run-time system search path for libraries.
16399 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16401 # Whether dlopen is supported.
16402 dlopen_support=$enable_dlopen
16404 # Whether dlopen of programs is supported.
16405 dlopen_self=$enable_dlopen_self
16407 # Whether dlopen of statically linked programs is supported.
16408 dlopen_self_static=$enable_dlopen_self_static
16410 # Commands to strip libraries.
16411 old_striplib=$lt_old_striplib
16412 striplib=$lt_striplib
16415 # The linker used to build libraries.
16418 # Commands used to build an old-style archive.
16419 old_archive_cmds=$lt_old_archive_cmds
16421 # A language specific compiler.
16424 # Is the compiler the GNU compiler?
16427 # Compiler flag to turn off builtin functions.
16428 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16430 # How to pass a linker flag through the compiler.
16431 wl=$lt_lt_prog_compiler_wl
16433 # Additional compiler flags for building library objects.
16434 pic_flag=$lt_lt_prog_compiler_pic
16436 # Compiler flag to prevent dynamic linking.
16437 link_static_flag=$lt_lt_prog_compiler_static
16439 # Does compiler simultaneously support -c and -o options?
16440 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16442 # Whether or not to add -lc for building shared libraries.
16443 build_libtool_need_lc=$archive_cmds_need_lc
16445 # Whether or not to disallow shared libs when runtime libs are static.
16446 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16448 # Compiler flag to allow reflexive dlopens.
16449 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16451 # Compiler flag to generate shared objects directly from archives.
16452 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16454 # Whether the compiler copes with passing no objects directly.
16455 compiler_needs_object=$lt_compiler_needs_object
16457 # Create an old-style archive from a shared archive.
16458 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16460 # Create a temporary old-style archive to link instead of a shared archive.
16461 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16463 # Commands used to build a shared archive.
16464 archive_cmds=$lt_archive_cmds
16465 archive_expsym_cmds=$lt_archive_expsym_cmds
16467 # Commands used to build a loadable module if different from building
16468 # a shared archive.
16469 module_cmds=$lt_module_cmds
16470 module_expsym_cmds=$lt_module_expsym_cmds
16472 # Whether we are building with GNU ld or not.
16473 with_gnu_ld=$lt_with_gnu_ld
16475 # Flag that allows shared libraries with undefined symbols to be built.
16476 allow_undefined_flag=$lt_allow_undefined_flag
16478 # Flag that enforces no undefined symbols.
16479 no_undefined_flag=$lt_no_undefined_flag
16481 # Flag to hardcode \$libdir into a binary during linking.
16482 # This must work even if \$libdir does not exist
16483 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16485 # If ld is used when linking, flag to hardcode \$libdir into a binary
16486 # during linking. This must work even if \$libdir does not exist.
16487 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16489 # Whether we need a single "-rpath" flag with a separated argument.
16490 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16492 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16493 # DIR into the resulting binary.
16494 hardcode_direct=$hardcode_direct
16496 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16497 # DIR into the resulting binary and the resulting library dependency is
16498 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16499 # library is relocated.
16500 hardcode_direct_absolute=$hardcode_direct_absolute
16502 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16503 # into the resulting binary.
16504 hardcode_minus_L=$hardcode_minus_L
16506 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16507 # into the resulting binary.
16508 hardcode_shlibpath_var=$hardcode_shlibpath_var
16510 # Set to "yes" if building a shared library automatically hardcodes DIR
16511 # into the library and all subsequent libraries and executables linked
16513 hardcode_automatic=$hardcode_automatic
16515 # Set to yes if linker adds runtime paths of dependent libraries
16516 # to runtime path list.
16517 inherit_rpath=$inherit_rpath
16519 # Whether libtool must link a program against all its dependency libraries.
16520 link_all_deplibs=$link_all_deplibs
16522 # Fix the shell variable \$srcfile for the compiler.
16523 fix_srcfile_path=$lt_fix_srcfile_path
16525 # Set to "yes" if exported symbols are required.
16526 always_export_symbols=$always_export_symbols
16528 # The commands to list exported symbols.
16529 export_symbols_cmds=$lt_export_symbols_cmds
16531 # Symbols that should not be listed in the preloaded symbols.
16532 exclude_expsyms=$lt_exclude_expsyms
16534 # Symbols that must always be exported.
16535 include_expsyms=$lt_include_expsyms
16537 # Commands necessary for linking programs (against libraries) with templates.
16538 prelink_cmds=$lt_prelink_cmds
16540 # Specify filename containing input files.
16541 file_list_spec=$lt_file_list_spec
16543 # How to hardcode a shared library path into an executable.
16544 hardcode_action=$hardcode_action
16546 # ### END LIBTOOL CONFIG
16552 cat <<\_LT_EOF >> "$cfgfile"
16553 # AIX sometimes has problems with the GCC collect2 program. For some
16554 # reason, if we set the COLLECT_NAMES environment variable, the problems
16555 # vanish in a puff of smoke.
16556 if test "X${COLLECT_NAMES+set}" != Xset; then
16558 export COLLECT_NAMES
16565 ltmain="$ac_aux_dir/ltmain.sh"
16568 # We use sed instead of cat because bash on DJGPP gets confused if
16569 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16570 # text mode, it properly converts lines to CR/LF. This bash problem
16571 # is reportedly fixed, but why not run on old versions too?
16572 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16573 || (rm -f "$cfgfile"; exit 1)
16577 cat << \_LT_EOF >> "$cfgfile"
16579 # func_dirname file append nondir_replacement
16580 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16581 # otherwise set result to NONDIR_REPLACEMENT.
16585 */*) func_dirname_result="${1%/*}${2}" ;;
16586 * ) func_dirname_result="${3}" ;;
16590 # func_basename file
16593 func_basename_result="${1##*/}"
16596 # func_dirname_and_basename file append nondir_replacement
16597 # perform func_basename and func_dirname in a single function
16599 # dirname: Compute the dirname of FILE. If nonempty,
16600 # add APPEND to the result, otherwise set result
16601 # to NONDIR_REPLACEMENT.
16602 # value returned in "$func_dirname_result"
16603 # basename: Compute filename of FILE.
16604 # value retuned in "$func_basename_result"
16605 # Implementation must be kept synchronized with func_dirname
16606 # and func_basename. For efficiency, we do not delegate to
16607 # those functions but instead duplicate the functionality here.
16608 func_dirname_and_basename ()
16611 */*) func_dirname_result="${1%/*}${2}" ;;
16612 * ) func_dirname_result="${3}" ;;
16614 func_basename_result="${1##*/}"
16617 # func_stripname prefix suffix name
16618 # strip PREFIX and SUFFIX off of NAME.
16619 # PREFIX and SUFFIX must not contain globbing or regex special
16620 # characters, hashes, percent signs, but SUFFIX may contain a leading
16621 # dot (in which case that matches only a dot).
16624 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16625 # positional parameters, so assign one to ordinary parameter first.
16626 func_stripname_result=${3}
16627 func_stripname_result=${func_stripname_result#"${1}"}
16628 func_stripname_result=${func_stripname_result%"${2}"}
16634 func_opt_split_opt=${1%%=*}
16635 func_opt_split_arg=${1#*=}
16642 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
16643 *) func_lo2o_result=${1} ;;
16647 # func_xform libobj-or-source
16650 func_xform_result=${1%.*}.lo
16653 # func_arith arithmetic-term...
16656 func_arith_result=$(( $* ))
16660 # STRING may not start with a hyphen.
16663 func_len_result=${#1}
16668 *) # Bourne compatible functions.
16669 cat << \_LT_EOF >> "$cfgfile"
16671 # func_dirname file append nondir_replacement
16672 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16673 # otherwise set result to NONDIR_REPLACEMENT.
16676 # Extract subdirectory from the argument.
16677 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
16678 if test "X$func_dirname_result" = "X${1}"; then
16679 func_dirname_result="${3}"
16681 func_dirname_result="$func_dirname_result${2}"
16685 # func_basename file
16688 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
16692 # func_stripname prefix suffix name
16693 # strip PREFIX and SUFFIX off of NAME.
16694 # PREFIX and SUFFIX must not contain globbing or regex special
16695 # characters, hashes, percent signs, but SUFFIX may contain a leading
16696 # dot (in which case that matches only a dot).
16697 # func_strip_suffix prefix name
16701 .*) func_stripname_result=`$ECHO "X${3}" \
16702 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16703 *) func_stripname_result=`$ECHO "X${3}" \
16704 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16709 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16710 my_sed_long_arg='1s/^-[^=]*=//'
16715 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16716 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16722 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16725 # func_xform libobj-or-source
16728 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16731 # func_arith arithmetic-term...
16734 func_arith_result=`expr "$@"`
16738 # STRING may not start with a hyphen.
16741 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16747 case $lt_shell_append in
16749 cat << \_LT_EOF >> "$cfgfile"
16751 # func_append var value
16752 # Append VALUE to the end of shell variable VAR.
16760 cat << \_LT_EOF >> "$cfgfile"
16762 # func_append var value
16763 # Append VALUE to the end of shell variable VAR.
16774 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16775 || (rm -f "$cfgfile"; exit 1)
16777 mv -f "$cfgfile" "$ofile" ||
16778 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16787 { (exit 0); exit 0; }
16789 chmod +x $CONFIG_STATUS
16790 ac_clean_files=$ac_clean_files_save
16793 # configure is writing to config.log, and then calls config.status.
16794 # config.status does its own redirection, appending to config.log.
16795 # Unfortunately, on DOS this fails, as config.log is still kept open
16796 # by configure, so config.status won't be able to write to it; its
16797 # output is simply discarded. So we exec the FD to /dev/null,
16798 # effectively closing config.log, so it can be properly (re)opened and
16799 # appended to by config.status. When coming back to configure, we
16800 # need to make the FD available again.
16801 if test "$no_create" != yes; then
16803 ac_config_status_args=
16804 test "$silent" = yes &&
16805 ac_config_status_args="$ac_config_status_args --quiet"
16807 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16809 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16810 # would make configure fail if this is the last instruction.
16811 $ac_cs_success || { (exit 1); exit 1; }
16815 if test "x$src" = "x"; then
16816 echo "**IMPORTANT**"
16817 echo "You don't seem to have the development package for libogg (libogg-devel) installed. Only the Speex library (libspeex) will be built (no encoder/decoder executable)"
16818 echo "You can download libogg from http://downloads.xiph.org/releases/ogg/"
16821 echo "Type \"make; make install\" to compile and install Speex";