2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for libvorbis 1.3.1.
5 # Report bugs to <vorbis-dev@xiph.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir=.
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
260 CONFIG_SHELL=$as_shell
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
288 as_func_ret_success () {
291 as_func_ret_failure () {
296 if as_func_success; then
300 echo as_func_success failed.
303 if as_func_failure; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474 ECHO_C= ECHO_N= ECHO_T=
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 elif ln conf$$.file conf$$ 2>/dev/null; then
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
519 test -d ./-p && rmdir ./-p
523 if test -x / >/dev/null 2>&1; then
526 if ls -dL / >/dev/null 2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 # Check that we are running under the correct shell.
556 SHELL=${CONFIG_SHELL-/bin/sh}
560 # Remove one level of quotation (which was required for Make).
561 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
566 if test "X$1" = X--no-reexec; then
567 # Discard the --no-reexec flag, and continue.
569 elif test "X$1" = X--fallback-echo; then
570 # Avoid inline document here, it may be left over
572 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
573 # Yippee, $ECHO works!
576 # Restart under the correct shell.
577 exec $SHELL "$0" --no-reexec ${1+"$@"}
580 if test "X$1" = X--fallback-echo; then
581 # used as fallback echo
589 # The HP-UX ksh and POSIX shell print the target directory to stdout
591 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
593 if test -z "$lt_ECHO"; then
594 if test "X${echo_test_string+set}" != Xset; then
595 # find a string as large as possible, as long as the shell can cope with it
596 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
599 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
606 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
607 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
608 test "X$echo_testing_string" = "X$echo_test_string"; then
611 # The Solaris, AIX, and Digital Unix default echo programs unquote
612 # backslashes. This makes it impossible to quote backslashes using
613 # echo "$something" | sed 's/\\/\\\\/g'
615 # So, first we look for a working echo in the user's PATH.
617 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
618 for dir in $PATH /usr/ucb; do
620 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
621 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
622 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
623 test "X$echo_testing_string" = "X$echo_test_string"; then
630 if test "X$ECHO" = Xecho; then
631 # We didn't find a better echo, so look for alternatives.
632 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
633 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
635 # This shell has a builtin print -r that does the trick.
637 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
638 test "X$CONFIG_SHELL" != X/bin/ksh; then
639 # If we have ksh, try running configure again with it.
640 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
641 export ORIGINAL_CONFIG_SHELL
642 CONFIG_SHELL=/bin/ksh
644 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
648 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
649 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
650 test "X$echo_testing_string" = "X$echo_test_string"; then
653 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
654 test "X$echo_testing_string" = 'X\t' &&
655 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
656 test "X$echo_testing_string" = "X$echo_test_string"; then
657 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
659 SHELL="$CONFIG_SHELL"
661 ECHO="$CONFIG_SHELL $0 --fallback-echo"
662 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
663 test "X$echo_testing_string" = 'X\t' &&
664 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
665 test "X$echo_testing_string" = "X$echo_test_string"; then
666 ECHO="$CONFIG_SHELL $0 --fallback-echo"
668 # maybe with a smaller string...
671 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
672 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
679 if test "$prev" != 'sed 50q "$0"'; then
680 echo_test_string=`eval $prev`
681 export echo_test_string
682 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
684 # Oops. We lost completely, so just stick with echo.
693 # Copy echo and quote the copy suitably for passing to libtool from
694 # the Makefile, instead of quoting the original, which is used later.
696 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
697 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
703 exec 7<&0 </dev/null 6>&1
706 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
707 # so uname gets run too.
708 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
713 ac_default_prefix=/usr/local
715 ac_config_libobj_dir=.
721 SHELL=${CONFIG_SHELL-/bin/sh}
723 # Identity of this package.
724 PACKAGE_NAME='libvorbis'
725 PACKAGE_TARNAME='libvorbis'
726 PACKAGE_VERSION='1.3.1'
727 PACKAGE_STRING='libvorbis 1.3.1'
728 PACKAGE_BUGREPORT='vorbis-dev@xiph.org'
730 ac_unique_file="lib/mdct.c"
731 # Factoring default headers for most tests.
732 ac_includes_default="\
734 #ifdef HAVE_SYS_TYPES_H
735 # include <sys/types.h>
737 #ifdef HAVE_SYS_STAT_H
738 # include <sys/stat.h>
744 # ifdef HAVE_STDLIB_H
749 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
754 #ifdef HAVE_STRINGS_H
755 # include <strings.h>
757 #ifdef HAVE_INTTYPES_H
758 # include <inttypes.h>
776 program_transform_name
830 INSTALL_STRIP_PROGRAM
839 MAINTAINER_MODE_FALSE
910 ac_precious_vars='build_alias
924 # Initialize some variables set by options.
926 ac_init_version=false
927 # The variables have the same names as the options, with
928 # dashes changed to underlines.
936 program_transform_name=s,x,x,
944 # Installation directory options.
945 # These are left unexpanded so users can "make install exec_prefix=/foo"
946 # and all the variables that are supposed to be based on exec_prefix
947 # by default will actually change.
948 # Use braces instead of parens because sh, perl, etc. also accept them.
949 # (The list follows the same order as the GNU Coding Standards.)
950 bindir='${exec_prefix}/bin'
951 sbindir='${exec_prefix}/sbin'
952 libexecdir='${exec_prefix}/libexec'
953 datarootdir='${prefix}/share'
954 datadir='${datarootdir}'
955 sysconfdir='${prefix}/etc'
956 sharedstatedir='${prefix}/com'
957 localstatedir='${prefix}/var'
958 includedir='${prefix}/include'
959 oldincludedir='/usr/include'
960 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
961 infodir='${datarootdir}/info'
966 libdir='${exec_prefix}/lib'
967 localedir='${datarootdir}/locale'
968 mandir='${datarootdir}/man'
974 # If the previous option needs an argument, assign it.
975 if test -n "$ac_prev"; then
976 eval $ac_prev=\$ac_option
982 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
986 # Accept the important Cygnus configure options, so we can diagnose typos.
988 case $ac_dashdash$ac_option in
992 -bindir | --bindir | --bindi | --bind | --bin | --bi)
994 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
997 -build | --build | --buil | --bui | --bu)
998 ac_prev=build_alias ;;
999 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1000 build_alias=$ac_optarg ;;
1002 -cache-file | --cache-file | --cache-fil | --cache-fi \
1003 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1004 ac_prev=cache_file ;;
1005 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1006 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1007 cache_file=$ac_optarg ;;
1009 --config-cache | -C)
1010 cache_file=config.cache ;;
1012 -datadir | --datadir | --datadi | --datad)
1014 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1015 datadir=$ac_optarg ;;
1017 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1018 | --dataroo | --dataro | --datar)
1019 ac_prev=datarootdir ;;
1020 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1021 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1022 datarootdir=$ac_optarg ;;
1024 -disable-* | --disable-*)
1025 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1026 # Reject names that are not valid shell variable names.
1027 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1028 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1029 { (exit 1); exit 1; }; }
1030 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1031 eval enable_$ac_feature=no ;;
1033 -docdir | --docdir | --docdi | --doc | --do)
1035 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1036 docdir=$ac_optarg ;;
1038 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1040 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1041 dvidir=$ac_optarg ;;
1043 -enable-* | --enable-*)
1044 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1045 # Reject names that are not valid shell variable names.
1046 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1047 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1048 { (exit 1); exit 1; }; }
1049 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1050 eval enable_$ac_feature=\$ac_optarg ;;
1052 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1053 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1054 | --exec | --exe | --ex)
1055 ac_prev=exec_prefix ;;
1056 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1057 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1058 | --exec=* | --exe=* | --ex=*)
1059 exec_prefix=$ac_optarg ;;
1061 -gas | --gas | --ga | --g)
1062 # Obsolete; use --with-gas.
1065 -help | --help | --hel | --he | -h)
1066 ac_init_help=long ;;
1067 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1068 ac_init_help=recursive ;;
1069 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1070 ac_init_help=short ;;
1072 -host | --host | --hos | --ho)
1073 ac_prev=host_alias ;;
1074 -host=* | --host=* | --hos=* | --ho=*)
1075 host_alias=$ac_optarg ;;
1077 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1079 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1081 htmldir=$ac_optarg ;;
1083 -includedir | --includedir | --includedi | --included | --include \
1084 | --includ | --inclu | --incl | --inc)
1085 ac_prev=includedir ;;
1086 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1087 | --includ=* | --inclu=* | --incl=* | --inc=*)
1088 includedir=$ac_optarg ;;
1090 -infodir | --infodir | --infodi | --infod | --info | --inf)
1092 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1093 infodir=$ac_optarg ;;
1095 -libdir | --libdir | --libdi | --libd)
1097 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1098 libdir=$ac_optarg ;;
1100 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1101 | --libexe | --libex | --libe)
1102 ac_prev=libexecdir ;;
1103 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1104 | --libexe=* | --libex=* | --libe=*)
1105 libexecdir=$ac_optarg ;;
1107 -localedir | --localedir | --localedi | --localed | --locale)
1108 ac_prev=localedir ;;
1109 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1110 localedir=$ac_optarg ;;
1112 -localstatedir | --localstatedir | --localstatedi | --localstated \
1113 | --localstate | --localstat | --localsta | --localst | --locals)
1114 ac_prev=localstatedir ;;
1115 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1116 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1117 localstatedir=$ac_optarg ;;
1119 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1121 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1122 mandir=$ac_optarg ;;
1124 -nfp | --nfp | --nf)
1125 # Obsolete; use --without-fp.
1128 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1129 | --no-cr | --no-c | -n)
1132 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1133 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1136 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1137 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1138 | --oldin | --oldi | --old | --ol | --o)
1139 ac_prev=oldincludedir ;;
1140 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1141 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1142 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1143 oldincludedir=$ac_optarg ;;
1145 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1147 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1148 prefix=$ac_optarg ;;
1150 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1151 | --program-pre | --program-pr | --program-p)
1152 ac_prev=program_prefix ;;
1153 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1154 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1155 program_prefix=$ac_optarg ;;
1157 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1158 | --program-suf | --program-su | --program-s)
1159 ac_prev=program_suffix ;;
1160 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1161 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1162 program_suffix=$ac_optarg ;;
1164 -program-transform-name | --program-transform-name \
1165 | --program-transform-nam | --program-transform-na \
1166 | --program-transform-n | --program-transform- \
1167 | --program-transform | --program-transfor \
1168 | --program-transfo | --program-transf \
1169 | --program-trans | --program-tran \
1170 | --progr-tra | --program-tr | --program-t)
1171 ac_prev=program_transform_name ;;
1172 -program-transform-name=* | --program-transform-name=* \
1173 | --program-transform-nam=* | --program-transform-na=* \
1174 | --program-transform-n=* | --program-transform-=* \
1175 | --program-transform=* | --program-transfor=* \
1176 | --program-transfo=* | --program-transf=* \
1177 | --program-trans=* | --program-tran=* \
1178 | --progr-tra=* | --program-tr=* | --program-t=*)
1179 program_transform_name=$ac_optarg ;;
1181 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1183 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1184 pdfdir=$ac_optarg ;;
1186 -psdir | --psdir | --psdi | --psd | --ps)
1188 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1191 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1192 | -silent | --silent | --silen | --sile | --sil)
1195 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1197 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1199 sbindir=$ac_optarg ;;
1201 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1202 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1203 | --sharedst | --shareds | --shared | --share | --shar \
1205 ac_prev=sharedstatedir ;;
1206 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1207 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1208 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1210 sharedstatedir=$ac_optarg ;;
1212 -site | --site | --sit)
1214 -site=* | --site=* | --sit=*)
1217 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1219 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1220 srcdir=$ac_optarg ;;
1222 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1223 | --syscon | --sysco | --sysc | --sys | --sy)
1224 ac_prev=sysconfdir ;;
1225 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1226 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1227 sysconfdir=$ac_optarg ;;
1229 -target | --target | --targe | --targ | --tar | --ta | --t)
1230 ac_prev=target_alias ;;
1231 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1232 target_alias=$ac_optarg ;;
1234 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1237 -version | --version | --versio | --versi | --vers | -V)
1238 ac_init_version=: ;;
1241 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1242 # Reject names that are not valid shell variable names.
1243 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1244 { echo "$as_me: error: invalid package name: $ac_package" >&2
1245 { (exit 1); exit 1; }; }
1246 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1247 eval with_$ac_package=\$ac_optarg ;;
1249 -without-* | --without-*)
1250 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1251 # Reject names that are not valid shell variable names.
1252 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1253 { echo "$as_me: error: invalid package name: $ac_package" >&2
1254 { (exit 1); exit 1; }; }
1255 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1256 eval with_$ac_package=no ;;
1259 # Obsolete; use --with-x.
1262 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1263 | --x-incl | --x-inc | --x-in | --x-i)
1264 ac_prev=x_includes ;;
1265 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1266 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1267 x_includes=$ac_optarg ;;
1269 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1270 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1271 ac_prev=x_libraries ;;
1272 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1273 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1274 x_libraries=$ac_optarg ;;
1276 -*) { echo "$as_me: error: unrecognized option: $ac_option
1277 Try \`$0 --help' for more information." >&2
1278 { (exit 1); exit 1; }; }
1282 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1283 # Reject names that are not valid shell variable names.
1284 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1285 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1286 { (exit 1); exit 1; }; }
1287 eval $ac_envvar=\$ac_optarg
1288 export $ac_envvar ;;
1291 # FIXME: should be removed in autoconf 3.0.
1292 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1293 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1294 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1295 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1301 if test -n "$ac_prev"; then
1302 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1303 { echo "$as_me: error: missing argument to $ac_option" >&2
1304 { (exit 1); exit 1; }; }
1307 # Be sure to have absolute directory names.
1308 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1309 datadir sysconfdir sharedstatedir localstatedir includedir \
1310 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1311 libdir localedir mandir
1313 eval ac_val=\$$ac_var
1315 [\\/$]* | ?:[\\/]* ) continue;;
1316 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1318 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1319 { (exit 1); exit 1; }; }
1322 # There might be people who depend on the old broken behavior: `$host'
1323 # used to hold the argument of --host etc.
1324 # FIXME: To remove some day.
1327 target=$target_alias
1329 # FIXME: To remove some day.
1330 if test "x$host_alias" != x; then
1331 if test "x$build_alias" = x; then
1332 cross_compiling=maybe
1333 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1334 If a cross compiler is detected then cross compile mode will be used." >&2
1335 elif test "x$build_alias" != "x$host_alias"; then
1341 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1343 test "$silent" = yes && exec 6>/dev/null
1346 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1347 ac_ls_di=`ls -di .` &&
1348 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1349 { echo "$as_me: error: Working directory cannot be determined" >&2
1350 { (exit 1); exit 1; }; }
1351 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1352 { echo "$as_me: error: pwd does not report name of working directory" >&2
1353 { (exit 1); exit 1; }; }
1356 # Find the source files, if location was not specified.
1357 if test -z "$srcdir"; then
1358 ac_srcdir_defaulted=yes
1359 # Try the directory containing this script, then the parent directory.
1360 ac_confdir=`$as_dirname -- "$0" ||
1361 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1362 X"$0" : 'X\(//\)[^/]' \| \
1363 X"$0" : 'X\(//\)$' \| \
1364 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1366 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1384 if test ! -r "$srcdir/$ac_unique_file"; then
1388 ac_srcdir_defaulted=no
1390 if test ! -r "$srcdir/$ac_unique_file"; then
1391 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1392 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1393 { (exit 1); exit 1; }; }
1395 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1397 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1398 { (exit 1); exit 1; }; }
1400 # When building in place, set srcdir=.
1401 if test "$ac_abs_confdir" = "$ac_pwd"; then
1404 # Remove unnecessary trailing slashes from srcdir.
1405 # Double slashes in file names in object file debugging info
1406 # mess up M-x gdb in Emacs.
1408 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1410 for ac_var in $ac_precious_vars; do
1411 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1412 eval ac_env_${ac_var}_value=\$${ac_var}
1413 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1414 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1418 # Report the --help message.
1420 if test "$ac_init_help" = "long"; then
1421 # Omit some internal or obsolete options to make the list less imposing.
1422 # This message is too long to be a string in the A/UX 3.1 sh.
1424 \`configure' configures libvorbis 1.3.1 to adapt to many kinds of systems.
1426 Usage: $0 [OPTION]... [VAR=VALUE]...
1428 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1429 VAR=VALUE. See below for descriptions of some of the useful variables.
1431 Defaults for the options are specified in brackets.
1434 -h, --help display this help and exit
1435 --help=short display options specific to this package
1436 --help=recursive display the short help of all the included packages
1437 -V, --version display version information and exit
1438 -q, --quiet, --silent do not print \`checking...' messages
1439 --cache-file=FILE cache test results in FILE [disabled]
1440 -C, --config-cache alias for \`--cache-file=config.cache'
1441 -n, --no-create do not create output files
1442 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1444 Installation directories:
1445 --prefix=PREFIX install architecture-independent files in PREFIX
1446 [$ac_default_prefix]
1447 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1450 By default, \`make install' will install all the files in
1451 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1452 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1453 for instance \`--prefix=\$HOME'.
1455 For better control, use the options below.
1457 Fine tuning of the installation directories:
1458 --bindir=DIR user executables [EPREFIX/bin]
1459 --sbindir=DIR system admin executables [EPREFIX/sbin]
1460 --libexecdir=DIR program executables [EPREFIX/libexec]
1461 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1462 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1463 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1464 --libdir=DIR object code libraries [EPREFIX/lib]
1465 --includedir=DIR C header files [PREFIX/include]
1466 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1467 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1468 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1469 --infodir=DIR info documentation [DATAROOTDIR/info]
1470 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1471 --mandir=DIR man documentation [DATAROOTDIR/man]
1472 --docdir=DIR documentation root [DATAROOTDIR/doc/libvorbis]
1473 --htmldir=DIR html documentation [DOCDIR]
1474 --dvidir=DIR dvi documentation [DOCDIR]
1475 --pdfdir=DIR pdf documentation [DOCDIR]
1476 --psdir=DIR ps documentation [DOCDIR]
1482 --program-prefix=PREFIX prepend PREFIX to installed program names
1483 --program-suffix=SUFFIX append SUFFIX to installed program names
1484 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1487 --build=BUILD configure for building on BUILD [guessed]
1488 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1489 --target=TARGET configure for building compilers for TARGET [HOST]
1493 if test -n "$ac_init_help"; then
1494 case $ac_init_help in
1495 short | recursive ) echo "Configuration of libvorbis 1.3.1:";;
1500 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1501 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1502 --enable-maintainer-mode enable make rules and dependencies not useful
1503 (and sometimes confusing) to the casual installer
1504 --disable-dependency-tracking speeds up one-time build
1505 --enable-dependency-tracking do not reject slow dependency extractors
1506 --enable-shared[=PKGS] build shared libraries [default=yes]
1507 --enable-static[=PKGS] build static libraries [default=yes]
1508 --enable-fast-install[=PKGS]
1509 optimize for fast installation [default=yes]
1510 --disable-libtool-lock avoid locking (might break parallel builds)
1511 --enable-docs build the documentation
1512 --enable-examples build the examples
1513 --disable-oggtest Do not try to compile and run a test Ogg program
1516 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1517 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1518 --with-pic try to use only PIC/non-PIC objects [default=use
1520 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1521 --with-ogg=PFX Prefix where libogg is installed (optional)
1522 --with-ogg-libraries=DIR
1523 Directory where libogg library is installed
1525 --with-ogg-includes=DIR Directory where libogg header files are installed
1528 Some influential environment variables:
1529 CC C compiler command
1530 CFLAGS C compiler flags
1531 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1532 nonstandard directory <lib dir>
1533 LIBS libraries to pass to the linker, e.g. -l<library>
1534 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1535 you have headers in a nonstandard directory <include dir>
1537 PKG_CONFIG path to pkg-config utility
1538 OGG_CFLAGS C compiler flags for OGG, overriding pkg-config
1539 OGG_LIBS linker flags for OGG, overriding pkg-config
1541 Use these variables to override the choices made by `configure' or to help
1542 it to find libraries and programs with nonstandard names/locations.
1544 Report bugs to <vorbis-dev@xiph.org>.
1549 if test "$ac_init_help" = "recursive"; then
1550 # If there are subdirs, report their specific --help.
1551 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1552 test -d "$ac_dir" || continue
1556 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1558 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1559 # A ".." for each directory in $ac_dir_suffix.
1560 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1561 case $ac_top_builddir_sub in
1562 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1563 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1566 ac_abs_top_builddir=$ac_pwd
1567 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1568 # for backward compatibility:
1569 ac_top_builddir=$ac_top_build_prefix
1572 .) # We are building in place.
1574 ac_top_srcdir=$ac_top_builddir_sub
1575 ac_abs_top_srcdir=$ac_pwd ;;
1576 [\\/]* | ?:[\\/]* ) # Absolute name.
1577 ac_srcdir=$srcdir$ac_dir_suffix;
1578 ac_top_srcdir=$srcdir
1579 ac_abs_top_srcdir=$srcdir ;;
1581 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1582 ac_top_srcdir=$ac_top_build_prefix$srcdir
1583 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1585 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1587 cd "$ac_dir" || { ac_status=$?; continue; }
1588 # Check for guested configure.
1589 if test -f "$ac_srcdir/configure.gnu"; then
1591 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1592 elif test -f "$ac_srcdir/configure"; then
1594 $SHELL "$ac_srcdir/configure" --help=recursive
1596 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1598 cd "$ac_pwd" || { ac_status=$?; break; }
1602 test -n "$ac_init_help" && exit $ac_status
1603 if $ac_init_version; then
1605 libvorbis configure 1.3.1
1606 generated by GNU Autoconf 2.61
1608 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1609 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1610 This configure script is free software; the Free Software Foundation
1611 gives unlimited permission to copy, distribute and modify it.
1615 cat >config.log <<_ACEOF
1616 This file contains any messages produced by compilers while
1617 running configure, to aid debugging if configure makes a mistake.
1619 It was created by libvorbis $as_me 1.3.1, which was
1620 generated by GNU Autoconf 2.61. Invocation command line was
1632 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1633 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1634 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1635 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1636 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1638 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1639 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1641 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1642 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1643 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1644 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1645 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1646 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1647 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1655 test -z "$as_dir" && as_dir=.
1656 echo "PATH: $as_dir"
1672 # Keep a trace of the command line.
1673 # Strip out --no-create and --no-recursion so they do not pile up.
1674 # Strip out --silent because we don't want to record it for future runs.
1675 # Also quote any args containing shell meta-characters.
1676 # Make two passes to allow for proper duplicate-argument suppression.
1680 ac_must_keep_next=false
1686 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1687 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1688 | -silent | --silent | --silen | --sile | --sil)
1691 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1694 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1696 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1697 if test $ac_must_keep_next = true; then
1698 ac_must_keep_next=false # Got value, back to normal.
1701 *=* | --config-cache | -C | -disable-* | --disable-* \
1702 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1703 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1704 | -with-* | --with-* | -without-* | --without-* | --x)
1705 case "$ac_configure_args0 " in
1706 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1709 -* ) ac_must_keep_next=true ;;
1712 ac_configure_args="$ac_configure_args '$ac_arg'"
1717 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1718 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1720 # When interrupted or exit'd, cleanup temporary files, and complete
1721 # config.log. We remove comments because anyway the quotes in there
1722 # would cause problems or look ugly.
1723 # WARNING: Use '\'' to represent an apostrophe within the trap.
1724 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1725 trap 'exit_status=$?
1726 # Save into config.log some information that might help in debugging.
1731 ## ---------------- ##
1732 ## Cache variables. ##
1733 ## ---------------- ##
1736 # The following way of writing the cache mishandles newlines in values,
1738 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1739 eval ac_val=\$$ac_var
1743 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1744 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1747 _ | IFS | as_nl) ;; #(
1748 *) $as_unset $ac_var ;;
1753 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1754 *${as_nl}ac_space=\ *)
1756 "s/'\''/'\''\\\\'\'''\''/g;
1757 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1760 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1768 ## ----------------- ##
1769 ## Output variables. ##
1770 ## ----------------- ##
1773 for ac_var in $ac_subst_vars
1775 eval ac_val=\$$ac_var
1777 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1779 echo "$ac_var='\''$ac_val'\''"
1783 if test -n "$ac_subst_files"; then
1785 ## ------------------- ##
1786 ## File substitutions. ##
1787 ## ------------------- ##
1790 for ac_var in $ac_subst_files
1792 eval ac_val=\$$ac_var
1794 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1796 echo "$ac_var='\''$ac_val'\''"
1801 if test -s confdefs.h; then
1811 test "$ac_signal" != 0 &&
1812 echo "$as_me: caught signal $ac_signal"
1813 echo "$as_me: exit $exit_status"
1815 rm -f core *.core core.conftest.* &&
1816 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1819 for ac_signal in 1 2 13 15; do
1820 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1824 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1825 rm -f -r conftest* confdefs.h
1827 # Predefined preprocessor variables.
1829 cat >>confdefs.h <<_ACEOF
1830 #define PACKAGE_NAME "$PACKAGE_NAME"
1834 cat >>confdefs.h <<_ACEOF
1835 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1839 cat >>confdefs.h <<_ACEOF
1840 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1844 cat >>confdefs.h <<_ACEOF
1845 #define PACKAGE_STRING "$PACKAGE_STRING"
1849 cat >>confdefs.h <<_ACEOF
1850 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1854 # Let the site file select an alternate cache file if it wants to.
1855 # Prefer explicitly selected file to automatically selected ones.
1856 if test -n "$CONFIG_SITE"; then
1857 set x "$CONFIG_SITE"
1858 elif test "x$prefix" != xNONE; then
1859 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1861 set x "$ac_default_prefix/share/config.site" \
1862 "$ac_default_prefix/etc/config.site"
1867 if test -r "$ac_site_file"; then
1868 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1869 echo "$as_me: loading site script $ac_site_file" >&6;}
1870 sed 's/^/| /' "$ac_site_file" >&5
1875 if test -r "$cache_file"; then
1876 # Some versions of bash will fail to source /dev/null (special
1877 # files actually), so we avoid doing that.
1878 if test -f "$cache_file"; then
1879 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1880 echo "$as_me: loading cache $cache_file" >&6;}
1882 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1883 *) . "./$cache_file";;
1887 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1888 echo "$as_me: creating cache $cache_file" >&6;}
1892 # Check that the precious variables saved in the cache have kept the same
1894 ac_cache_corrupted=false
1895 for ac_var in $ac_precious_vars; do
1896 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1897 eval ac_new_set=\$ac_env_${ac_var}_set
1898 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1899 eval ac_new_val=\$ac_env_${ac_var}_value
1900 case $ac_old_set,$ac_new_set in
1902 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1903 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1904 ac_cache_corrupted=: ;;
1906 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1907 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1908 ac_cache_corrupted=: ;;
1911 if test "x$ac_old_val" != "x$ac_new_val"; then
1912 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1913 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1914 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1915 echo "$as_me: former value: $ac_old_val" >&2;}
1916 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1917 echo "$as_me: current value: $ac_new_val" >&2;}
1918 ac_cache_corrupted=:
1921 # Pass precious variables to config.status.
1922 if test "$ac_new_set" = set; then
1924 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1925 *) ac_arg=$ac_var=$ac_new_val ;;
1927 case " $ac_configure_args " in
1928 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1929 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1933 if $ac_cache_corrupted; then
1934 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1935 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1936 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1937 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1938 { (exit 1); exit 1; }; }
1966 ac_cpp='$CPP $CPPFLAGS'
1967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1976 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1977 if test -f "$ac_dir/install-sh"; then
1979 ac_install_sh="$ac_aux_dir/install-sh -c"
1981 elif test -f "$ac_dir/install.sh"; then
1983 ac_install_sh="$ac_aux_dir/install.sh -c"
1985 elif test -f "$ac_dir/shtool"; then
1987 ac_install_sh="$ac_aux_dir/shtool install -c"
1991 if test -z "$ac_aux_dir"; then
1992 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1993 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1994 { (exit 1); exit 1; }; }
1997 # These three variables are undocumented and unsupported,
1998 # and are intended to be withdrawn in a future Autoconf release.
1999 # They can cause serious problems if a builder's source tree is in a directory
2000 # whose full name contains unusual characters.
2001 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2002 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2003 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2006 # Make sure we can run config.sub.
2007 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2008 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2009 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2010 { (exit 1); exit 1; }; }
2012 { echo "$as_me:$LINENO: checking build system type" >&5
2013 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2014 if test "${ac_cv_build+set}" = set; then
2015 echo $ECHO_N "(cached) $ECHO_C" >&6
2017 ac_build_alias=$build_alias
2018 test "x$ac_build_alias" = x &&
2019 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2020 test "x$ac_build_alias" = x &&
2021 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2022 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2023 { (exit 1); exit 1; }; }
2024 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2025 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2026 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2027 { (exit 1); exit 1; }; }
2030 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2031 echo "${ECHO_T}$ac_cv_build" >&6; }
2032 case $ac_cv_build in
2034 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2035 echo "$as_me: error: invalid value of canonical build" >&2;}
2036 { (exit 1); exit 1; }; };;
2039 ac_save_IFS=$IFS; IFS='-'
2045 # Remember, the first character of IFS is used to create $*,
2046 # except with old shells:
2049 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2052 { echo "$as_me:$LINENO: checking host system type" >&5
2053 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2054 if test "${ac_cv_host+set}" = set; then
2055 echo $ECHO_N "(cached) $ECHO_C" >&6
2057 if test "x$host_alias" = x; then
2058 ac_cv_host=$ac_cv_build
2060 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2061 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2062 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2063 { (exit 1); exit 1; }; }
2067 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2068 echo "${ECHO_T}$ac_cv_host" >&6; }
2071 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2072 echo "$as_me: error: invalid value of canonical host" >&2;}
2073 { (exit 1); exit 1; }; };;
2076 ac_save_IFS=$IFS; IFS='-'
2082 # Remember, the first character of IFS is used to create $*,
2083 # except with old shells:
2086 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2089 { echo "$as_me:$LINENO: checking target system type" >&5
2090 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2091 if test "${ac_cv_target+set}" = set; then
2092 echo $ECHO_N "(cached) $ECHO_C" >&6
2094 if test "x$target_alias" = x; then
2095 ac_cv_target=$ac_cv_host
2097 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2098 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2099 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2100 { (exit 1); exit 1; }; }
2104 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2105 echo "${ECHO_T}$ac_cv_target" >&6; }
2106 case $ac_cv_target in
2108 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2109 echo "$as_me: error: invalid value of canonical target" >&2;}
2110 { (exit 1); exit 1; }; };;
2112 target=$ac_cv_target
2113 ac_save_IFS=$IFS; IFS='-'
2119 # Remember, the first character of IFS is used to create $*,
2120 # except with old shells:
2123 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2126 # The aliases save the names the user supplied, while $host etc.
2127 # will get canonicalized.
2128 test -n "$target_alias" &&
2129 test "$program_prefix$program_suffix$program_transform_name" = \
2131 program_prefix=${target_alias}-
2133 am__api_version='1.10'
2135 # Find a good install program. We prefer a C program (faster),
2136 # so one script is as good as another. But avoid the broken or
2137 # incompatible versions:
2138 # SysV /etc/install, /usr/sbin/install
2139 # SunOS /usr/etc/install
2140 # IRIX /sbin/install
2142 # AmigaOS /C/install, which installs bootblocks on floppy discs
2143 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2144 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2145 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2146 # OS/2's system install, which has a completely different semantic
2147 # ./install, which can be erroneously created by make from ./install.sh.
2148 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2149 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2150 if test -z "$INSTALL"; then
2151 if test "${ac_cv_path_install+set}" = set; then
2152 echo $ECHO_N "(cached) $ECHO_C" >&6
2154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2158 test -z "$as_dir" && as_dir=.
2159 # Account for people who put trailing slashes in PATH elements.
2161 ./ | .// | /cC/* | \
2162 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2163 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2166 # OSF1 and SCO ODT 3.0 have their own names for install.
2167 # Don't use installbsd from OSF since it installs stuff as root
2169 for ac_prog in ginstall scoinst install; do
2170 for ac_exec_ext in '' $ac_executable_extensions; do
2171 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2172 if test $ac_prog = install &&
2173 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2174 # AIX install. It has an incompatible calling convention.
2176 elif test $ac_prog = install &&
2177 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2178 # program-specific install script used by HP pwplus--don't use.
2181 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2194 if test "${ac_cv_path_install+set}" = set; then
2195 INSTALL=$ac_cv_path_install
2197 # As a last resort, use the slow shell script. Don't cache a
2198 # value for INSTALL within a source directory, because that will
2199 # break other packages using the cache if that directory is
2200 # removed, or if the value is a relative name.
2201 INSTALL=$ac_install_sh
2204 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2205 echo "${ECHO_T}$INSTALL" >&6; }
2207 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2208 # It thinks the first close brace ends the variable substitution.
2209 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2211 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2213 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2215 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2216 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2219 echo timestamp > conftest.file
2220 # Do `set' in a subshell so we don't clobber the current shell's
2221 # arguments. Must try -L first in case configure is actually a
2222 # symlink; some systems play weird games with the mod time of symlinks
2223 # (eg FreeBSD returns the mod time of the symlink's containing
2226 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2227 if test "$*" = "X"; then
2229 set X `ls -t $srcdir/configure conftest.file`
2232 if test "$*" != "X $srcdir/configure conftest.file" \
2233 && test "$*" != "X conftest.file $srcdir/configure"; then
2235 # If neither matched, then we have a broken ls. This can happen
2236 # if, for instance, CONFIG_SHELL is bash and it inherits a
2237 # broken ls alias from the environment. This has actually
2238 # happened. Such a system could not be considered "sane".
2239 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2240 alias in your environment" >&5
2241 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2242 alias in your environment" >&2;}
2243 { (exit 1); exit 1; }; }
2246 test "$2" = conftest.file
2252 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2253 Check your system clock" >&5
2254 echo "$as_me: error: newly created file is older than distributed files!
2255 Check your system clock" >&2;}
2256 { (exit 1); exit 1; }; }
2258 { echo "$as_me:$LINENO: result: yes" >&5
2259 echo "${ECHO_T}yes" >&6; }
2260 test "$program_prefix" != NONE &&
2261 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2262 # Use a double $ so make ignores it.
2263 test "$program_suffix" != NONE &&
2264 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2265 # Double any \ or $. echo might interpret backslashes.
2266 # By default was `s,x,x', remove it if useless.
2267 cat <<\_ACEOF >conftest.sed
2268 s/[\\$]/&&/g;s/;s,x,x,$//
2270 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2273 # expand $ac_aux_dir to an absolute path
2274 am_aux_dir=`cd $ac_aux_dir && pwd`
2276 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2277 # Use eval to expand $SHELL
2278 if eval "$MISSING --run true"; then
2279 am_missing_run="$MISSING --run "
2282 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2283 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2286 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2287 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2288 if test -z "$MKDIR_P"; then
2289 if test "${ac_cv_path_mkdir+set}" = set; then
2290 echo $ECHO_N "(cached) $ECHO_C" >&6
2292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2293 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2296 test -z "$as_dir" && as_dir=.
2297 for ac_prog in mkdir gmkdir; do
2298 for ac_exec_ext in '' $ac_executable_extensions; do
2299 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2300 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2301 'mkdir (GNU coreutils) '* | \
2302 'mkdir (coreutils) '* | \
2303 'mkdir (fileutils) '4.1*)
2304 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2314 if test "${ac_cv_path_mkdir+set}" = set; then
2315 MKDIR_P="$ac_cv_path_mkdir -p"
2317 # As a last resort, use the slow shell script. Don't cache a
2318 # value for MKDIR_P within a source directory, because that will
2319 # break other packages using the cache if that directory is
2320 # removed, or if the value is a relative name.
2321 test -d ./--version && rmdir ./--version
2322 MKDIR_P="$ac_install_sh -d"
2325 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2326 echo "${ECHO_T}$MKDIR_P" >&6; }
2330 [\\/$]* | ?:[\\/]*) ;;
2331 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2334 for ac_prog in gawk mawk nawk awk
2336 # Extract the first word of "$ac_prog", so it can be a program name with args.
2337 set dummy $ac_prog; ac_word=$2
2338 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2340 if test "${ac_cv_prog_AWK+set}" = set; then
2341 echo $ECHO_N "(cached) $ECHO_C" >&6
2343 if test -n "$AWK"; then
2344 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2350 test -z "$as_dir" && as_dir=.
2351 for ac_exec_ext in '' $ac_executable_extensions; do
2352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2353 ac_cv_prog_AWK="$ac_prog"
2354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2364 if test -n "$AWK"; then
2365 { echo "$as_me:$LINENO: result: $AWK" >&5
2366 echo "${ECHO_T}$AWK" >&6; }
2368 { echo "$as_me:$LINENO: result: no" >&5
2369 echo "${ECHO_T}no" >&6; }
2373 test -n "$AWK" && break
2376 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2377 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2378 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2379 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2380 echo $ECHO_N "(cached) $ECHO_C" >&6
2382 cat >conftest.make <<\_ACEOF
2385 @echo '@@@%%%=$(MAKE)=@@@%%%'
2387 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2388 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2390 eval ac_cv_prog_make_${ac_make}_set=yes;;
2392 eval ac_cv_prog_make_${ac_make}_set=no;;
2396 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2397 { echo "$as_me:$LINENO: result: yes" >&5
2398 echo "${ECHO_T}yes" >&6; }
2401 { echo "$as_me:$LINENO: result: no" >&5
2402 echo "${ECHO_T}no" >&6; }
2403 SET_MAKE="MAKE=${MAKE-make}"
2406 rm -rf .tst 2>/dev/null
2407 mkdir .tst 2>/dev/null
2408 if test -d .tst; then
2413 rmdir .tst 2>/dev/null
2415 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2416 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2417 # is not polluted with repeated "-I."
2418 am__isrc=' -I$(srcdir)'
2419 # test to see if srcdir already configured
2420 if test -f $srcdir/config.status; then
2421 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2422 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2423 { (exit 1); exit 1; }; }
2427 # test whether we have cygpath
2428 if test -z "$CYGPATH_W"; then
2429 if (cygpath --version) >/dev/null 2>/dev/null; then
2430 CYGPATH_W='cygpath -w'
2437 # Define the identity of the package.
2438 PACKAGE=$PACKAGE_NAME
2439 VERSION=$PACKAGE_VERSION
2442 cat >>confdefs.h <<_ACEOF
2443 #define PACKAGE "$PACKAGE"
2447 cat >>confdefs.h <<_ACEOF
2448 #define VERSION "$VERSION"
2451 # Some tools Automake needs.
2453 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2456 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2459 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2462 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2465 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2467 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2469 # Installed binaries are usually stripped using `strip' when the user
2470 # run `make install-strip'. However `strip' might not be the right
2471 # tool to use in cross-compilation environments, therefore Automake
2472 # will honor the `STRIP' environment variable to overrule this program.
2473 if test "$cross_compiling" != no; then
2474 if test -n "$ac_tool_prefix"; then
2475 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2476 set dummy ${ac_tool_prefix}strip; ac_word=$2
2477 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2479 if test "${ac_cv_prog_STRIP+set}" = set; then
2480 echo $ECHO_N "(cached) $ECHO_C" >&6
2482 if test -n "$STRIP"; then
2483 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2489 test -z "$as_dir" && as_dir=.
2490 for ac_exec_ext in '' $ac_executable_extensions; do
2491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2492 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2502 STRIP=$ac_cv_prog_STRIP
2503 if test -n "$STRIP"; then
2504 { echo "$as_me:$LINENO: result: $STRIP" >&5
2505 echo "${ECHO_T}$STRIP" >&6; }
2507 { echo "$as_me:$LINENO: result: no" >&5
2508 echo "${ECHO_T}no" >&6; }
2513 if test -z "$ac_cv_prog_STRIP"; then
2515 # Extract the first word of "strip", so it can be a program name with args.
2516 set dummy strip; ac_word=$2
2517 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2519 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2520 echo $ECHO_N "(cached) $ECHO_C" >&6
2522 if test -n "$ac_ct_STRIP"; then
2523 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2529 test -z "$as_dir" && as_dir=.
2530 for ac_exec_ext in '' $ac_executable_extensions; do
2531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2532 ac_cv_prog_ac_ct_STRIP="strip"
2533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2542 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2543 if test -n "$ac_ct_STRIP"; then
2544 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2545 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2547 { echo "$as_me:$LINENO: result: no" >&5
2548 echo "${ECHO_T}no" >&6; }
2551 if test "x$ac_ct_STRIP" = x; then
2554 case $cross_compiling:$ac_tool_warned in
2556 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2557 whose name does not start with the host triplet. If you think this
2558 configuration is useful to you, please write to autoconf@gnu.org." >&5
2559 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2560 whose name does not start with the host triplet. If you think this
2561 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2562 ac_tool_warned=yes ;;
2567 STRIP="$ac_cv_prog_STRIP"
2571 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2573 # We need awk for the "check" target. The system "awk" is bad on
2575 # Always define AMTAR for backward compatibility.
2577 AMTAR=${AMTAR-"${am_missing_run}tar"}
2579 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2585 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2586 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2587 # Check whether --enable-maintainer-mode was given.
2588 if test "${enable_maintainer_mode+set}" = set; then
2589 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2591 USE_MAINTAINER_MODE=no
2594 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2595 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2596 if test $USE_MAINTAINER_MODE = yes; then
2597 MAINTAINER_MODE_TRUE=
2598 MAINTAINER_MODE_FALSE='#'
2600 MAINTAINER_MODE_TRUE='#'
2601 MAINTAINER_MODE_FALSE=
2604 MAINT=$MAINTAINER_MODE_TRUE
2607 ac_config_headers="$ac_config_headers config.h"
2610 ACLOCAL_AMFLAGS="-I m4"
2637 cflags_save="$CFLAGS"
2639 ac_cpp='$CPP $CPPFLAGS'
2640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2643 if test -n "$ac_tool_prefix"; then
2644 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2645 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2646 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2648 if test "${ac_cv_prog_CC+set}" = set; then
2649 echo $ECHO_N "(cached) $ECHO_C" >&6
2651 if test -n "$CC"; then
2652 ac_cv_prog_CC="$CC" # Let the user override the test.
2654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2658 test -z "$as_dir" && as_dir=.
2659 for ac_exec_ext in '' $ac_executable_extensions; do
2660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2661 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2672 if test -n "$CC"; then
2673 { echo "$as_me:$LINENO: result: $CC" >&5
2674 echo "${ECHO_T}$CC" >&6; }
2676 { echo "$as_me:$LINENO: result: no" >&5
2677 echo "${ECHO_T}no" >&6; }
2682 if test -z "$ac_cv_prog_CC"; then
2684 # Extract the first word of "gcc", so it can be a program name with args.
2685 set dummy gcc; ac_word=$2
2686 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2688 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2689 echo $ECHO_N "(cached) $ECHO_C" >&6
2691 if test -n "$ac_ct_CC"; then
2692 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2698 test -z "$as_dir" && as_dir=.
2699 for ac_exec_ext in '' $ac_executable_extensions; do
2700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2701 ac_cv_prog_ac_ct_CC="gcc"
2702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2711 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2712 if test -n "$ac_ct_CC"; then
2713 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2714 echo "${ECHO_T}$ac_ct_CC" >&6; }
2716 { echo "$as_me:$LINENO: result: no" >&5
2717 echo "${ECHO_T}no" >&6; }
2720 if test "x$ac_ct_CC" = x; then
2723 case $cross_compiling:$ac_tool_warned in
2725 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2726 whose name does not start with the host triplet. If you think this
2727 configuration is useful to you, please write to autoconf@gnu.org." >&5
2728 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2729 whose name does not start with the host triplet. If you think this
2730 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2731 ac_tool_warned=yes ;;
2739 if test -z "$CC"; then
2740 if test -n "$ac_tool_prefix"; then
2741 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2742 set dummy ${ac_tool_prefix}cc; ac_word=$2
2743 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2745 if test "${ac_cv_prog_CC+set}" = set; then
2746 echo $ECHO_N "(cached) $ECHO_C" >&6
2748 if test -n "$CC"; then
2749 ac_cv_prog_CC="$CC" # Let the user override the test.
2751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2755 test -z "$as_dir" && as_dir=.
2756 for ac_exec_ext in '' $ac_executable_extensions; do
2757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2758 ac_cv_prog_CC="${ac_tool_prefix}cc"
2759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2769 if test -n "$CC"; then
2770 { echo "$as_me:$LINENO: result: $CC" >&5
2771 echo "${ECHO_T}$CC" >&6; }
2773 { echo "$as_me:$LINENO: result: no" >&5
2774 echo "${ECHO_T}no" >&6; }
2780 if test -z "$CC"; then
2781 # Extract the first word of "cc", so it can be a program name with args.
2782 set dummy cc; ac_word=$2
2783 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2785 if test "${ac_cv_prog_CC+set}" = set; then
2786 echo $ECHO_N "(cached) $ECHO_C" >&6
2788 if test -n "$CC"; then
2789 ac_cv_prog_CC="$CC" # Let the user override the test.
2792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2796 test -z "$as_dir" && as_dir=.
2797 for ac_exec_ext in '' $ac_executable_extensions; do
2798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2799 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2800 ac_prog_rejected=yes
2804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2811 if test $ac_prog_rejected = yes; then
2812 # We found a bogon in the path, so make sure we never use it.
2813 set dummy $ac_cv_prog_CC
2815 if test $# != 0; then
2816 # We chose a different compiler from the bogus one.
2817 # However, it has the same basename, so the bogon will be chosen
2818 # first if we set CC to just the basename; use the full file name.
2820 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2826 if test -n "$CC"; then
2827 { echo "$as_me:$LINENO: result: $CC" >&5
2828 echo "${ECHO_T}$CC" >&6; }
2830 { echo "$as_me:$LINENO: result: no" >&5
2831 echo "${ECHO_T}no" >&6; }
2836 if test -z "$CC"; then
2837 if test -n "$ac_tool_prefix"; then
2838 for ac_prog in cl.exe
2840 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2841 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2842 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2844 if test "${ac_cv_prog_CC+set}" = set; then
2845 echo $ECHO_N "(cached) $ECHO_C" >&6
2847 if test -n "$CC"; then
2848 ac_cv_prog_CC="$CC" # Let the user override the test.
2850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2854 test -z "$as_dir" && as_dir=.
2855 for ac_exec_ext in '' $ac_executable_extensions; do
2856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2857 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2868 if test -n "$CC"; then
2869 { echo "$as_me:$LINENO: result: $CC" >&5
2870 echo "${ECHO_T}$CC" >&6; }
2872 { echo "$as_me:$LINENO: result: no" >&5
2873 echo "${ECHO_T}no" >&6; }
2877 test -n "$CC" && break
2880 if test -z "$CC"; then
2882 for ac_prog in cl.exe
2884 # Extract the first word of "$ac_prog", so it can be a program name with args.
2885 set dummy $ac_prog; ac_word=$2
2886 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2888 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2889 echo $ECHO_N "(cached) $ECHO_C" >&6
2891 if test -n "$ac_ct_CC"; then
2892 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2898 test -z "$as_dir" && as_dir=.
2899 for ac_exec_ext in '' $ac_executable_extensions; do
2900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2901 ac_cv_prog_ac_ct_CC="$ac_prog"
2902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2911 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2912 if test -n "$ac_ct_CC"; then
2913 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2914 echo "${ECHO_T}$ac_ct_CC" >&6; }
2916 { echo "$as_me:$LINENO: result: no" >&5
2917 echo "${ECHO_T}no" >&6; }
2921 test -n "$ac_ct_CC" && break
2924 if test "x$ac_ct_CC" = x; then
2927 case $cross_compiling:$ac_tool_warned in
2929 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2930 whose name does not start with the host triplet. If you think this
2931 configuration is useful to you, please write to autoconf@gnu.org." >&5
2932 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2933 whose name does not start with the host triplet. If you think this
2934 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2935 ac_tool_warned=yes ;;
2944 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2945 See \`config.log' for more details." >&5
2946 echo "$as_me: error: no acceptable C compiler found in \$PATH
2947 See \`config.log' for more details." >&2;}
2948 { (exit 1); exit 1; }; }
2950 # Provide some information about the compiler.
2951 echo "$as_me:$LINENO: checking for C compiler version" >&5
2952 ac_compiler=`set X $ac_compile; echo $2`
2953 { (ac_try="$ac_compiler --version >&5"
2955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2956 *) ac_try_echo=$ac_try;;
2958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2959 (eval "$ac_compiler --version >&5") 2>&5
2961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962 (exit $ac_status); }
2963 { (ac_try="$ac_compiler -v >&5"
2965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2966 *) ac_try_echo=$ac_try;;
2968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2969 (eval "$ac_compiler -v >&5") 2>&5
2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972 (exit $ac_status); }
2973 { (ac_try="$ac_compiler -V >&5"
2975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2976 *) ac_try_echo=$ac_try;;
2978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2979 (eval "$ac_compiler -V >&5") 2>&5
2981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2982 (exit $ac_status); }
2984 cat >conftest.$ac_ext <<_ACEOF
2987 cat confdefs.h >>conftest.$ac_ext
2988 cat >>conftest.$ac_ext <<_ACEOF
2989 /* end confdefs.h. */
2999 ac_clean_files_save=$ac_clean_files
3000 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3001 # Try to create an executable without -o first, disregard a.out.
3002 # It will help us diagnose broken compilers, and finding out an intuition
3004 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3005 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3006 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3008 # List of possible output files, starting from the most likely.
3009 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3010 # only as a last resort. b.out is created by i960 compilers.
3011 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3013 # The IRIX 6 linker writes into existing files which may not be
3014 # executable, retaining their permissions. Remove them first so a
3015 # subsequent execution test works.
3017 for ac_file in $ac_files
3020 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3021 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3026 if { (ac_try="$ac_link_default"
3028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3029 *) ac_try_echo=$ac_try;;
3031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3032 (eval "$ac_link_default") 2>&5
3034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3035 (exit $ac_status); }; then
3036 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3037 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3038 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3039 # so that the user can short-circuit this test for compilers unknown to
3041 for ac_file in $ac_files ''
3043 test -f "$ac_file" || continue
3045 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3048 # We found the default executable, but exeext='' is most
3052 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3054 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3056 # We set ac_cv_exeext here because the later test for it is not
3057 # safe: cross compilers may not add the suffix if given an `-o'
3058 # argument, so we may need to know it at that point already.
3059 # Even if this section looks crufty: it has the advantage of
3066 test "$ac_cv_exeext" = no && ac_cv_exeext=
3072 { echo "$as_me:$LINENO: result: $ac_file" >&5
3073 echo "${ECHO_T}$ac_file" >&6; }
3074 if test -z "$ac_file"; then
3075 echo "$as_me: failed program was:" >&5
3076 sed 's/^/| /' conftest.$ac_ext >&5
3078 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3079 See \`config.log' for more details." >&5
3080 echo "$as_me: error: C compiler cannot create executables
3081 See \`config.log' for more details." >&2;}
3082 { (exit 77); exit 77; }; }
3085 ac_exeext=$ac_cv_exeext
3087 # Check that the compiler produces executables we can run. If not, either
3088 # the compiler is broken, or we cross compile.
3089 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3090 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3091 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3092 # If not cross compiling, check that we can run a simple program.
3093 if test "$cross_compiling" != yes; then
3094 if { ac_try='./$ac_file'
3095 { (case "(($ac_try" in
3096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3097 *) ac_try_echo=$ac_try;;
3099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3100 (eval "$ac_try") 2>&5
3102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103 (exit $ac_status); }; }; then
3106 if test "$cross_compiling" = maybe; then
3109 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3110 If you meant to cross compile, use \`--host'.
3111 See \`config.log' for more details." >&5
3112 echo "$as_me: error: cannot run C compiled programs.
3113 If you meant to cross compile, use \`--host'.
3114 See \`config.log' for more details." >&2;}
3115 { (exit 1); exit 1; }; }
3119 { echo "$as_me:$LINENO: result: yes" >&5
3120 echo "${ECHO_T}yes" >&6; }
3122 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3123 ac_clean_files=$ac_clean_files_save
3124 # Check that the compiler produces executables we can run. If not, either
3125 # the compiler is broken, or we cross compile.
3126 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3127 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3128 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3129 echo "${ECHO_T}$cross_compiling" >&6; }
3131 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3132 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3133 if { (ac_try="$ac_link"
3135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3136 *) ac_try_echo=$ac_try;;
3138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3139 (eval "$ac_link") 2>&5
3141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3142 (exit $ac_status); }; then
3143 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3144 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3145 # work properly (i.e., refer to `conftest.exe'), while it won't with
3147 for ac_file in conftest.exe conftest conftest.*; do
3148 test -f "$ac_file" || continue
3150 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3151 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3157 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3158 See \`config.log' for more details." >&5
3159 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3160 See \`config.log' for more details." >&2;}
3161 { (exit 1); exit 1; }; }
3164 rm -f conftest$ac_cv_exeext
3165 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3166 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3168 rm -f conftest.$ac_ext
3169 EXEEXT=$ac_cv_exeext
3171 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3172 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3173 if test "${ac_cv_objext+set}" = set; then
3174 echo $ECHO_N "(cached) $ECHO_C" >&6
3176 cat >conftest.$ac_ext <<_ACEOF
3179 cat confdefs.h >>conftest.$ac_ext
3180 cat >>conftest.$ac_ext <<_ACEOF
3181 /* end confdefs.h. */
3191 rm -f conftest.o conftest.obj
3192 if { (ac_try="$ac_compile"
3194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3195 *) ac_try_echo=$ac_try;;
3197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3198 (eval "$ac_compile") 2>&5
3200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201 (exit $ac_status); }; then
3202 for ac_file in conftest.o conftest.obj conftest.*; do
3203 test -f "$ac_file" || continue;
3205 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3206 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3211 echo "$as_me: failed program was:" >&5
3212 sed 's/^/| /' conftest.$ac_ext >&5
3214 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3215 See \`config.log' for more details." >&5
3216 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3217 See \`config.log' for more details." >&2;}
3218 { (exit 1); exit 1; }; }
3221 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3223 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3224 echo "${ECHO_T}$ac_cv_objext" >&6; }
3225 OBJEXT=$ac_cv_objext
3227 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3228 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3229 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3230 echo $ECHO_N "(cached) $ECHO_C" >&6
3232 cat >conftest.$ac_ext <<_ACEOF
3235 cat confdefs.h >>conftest.$ac_ext
3236 cat >>conftest.$ac_ext <<_ACEOF
3237 /* end confdefs.h. */
3250 rm -f conftest.$ac_objext
3251 if { (ac_try="$ac_compile"
3253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3254 *) ac_try_echo=$ac_try;;
3256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3257 (eval "$ac_compile") 2>conftest.er1
3259 grep -v '^ *+' conftest.er1 >conftest.err
3261 cat conftest.err >&5
3262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263 (exit $ac_status); } && {
3264 test -z "$ac_c_werror_flag" ||
3265 test ! -s conftest.err
3266 } && test -s conftest.$ac_objext; then
3269 echo "$as_me: failed program was:" >&5
3270 sed 's/^/| /' conftest.$ac_ext >&5
3275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3276 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3279 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3280 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3281 GCC=`test $ac_compiler_gnu = yes && echo yes`
3282 ac_test_CFLAGS=${CFLAGS+set}
3283 ac_save_CFLAGS=$CFLAGS
3284 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3285 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3286 if test "${ac_cv_prog_cc_g+set}" = set; then
3287 echo $ECHO_N "(cached) $ECHO_C" >&6
3289 ac_save_c_werror_flag=$ac_c_werror_flag
3290 ac_c_werror_flag=yes
3293 cat >conftest.$ac_ext <<_ACEOF
3296 cat confdefs.h >>conftest.$ac_ext
3297 cat >>conftest.$ac_ext <<_ACEOF
3298 /* end confdefs.h. */
3308 rm -f conftest.$ac_objext
3309 if { (ac_try="$ac_compile"
3311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3312 *) ac_try_echo=$ac_try;;
3314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3315 (eval "$ac_compile") 2>conftest.er1
3317 grep -v '^ *+' conftest.er1 >conftest.err
3319 cat conftest.err >&5
3320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321 (exit $ac_status); } && {
3322 test -z "$ac_c_werror_flag" ||
3323 test ! -s conftest.err
3324 } && test -s conftest.$ac_objext; then
3327 echo "$as_me: failed program was:" >&5
3328 sed 's/^/| /' conftest.$ac_ext >&5
3331 cat >conftest.$ac_ext <<_ACEOF
3334 cat confdefs.h >>conftest.$ac_ext
3335 cat >>conftest.$ac_ext <<_ACEOF
3336 /* end confdefs.h. */
3346 rm -f conftest.$ac_objext
3347 if { (ac_try="$ac_compile"
3349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3350 *) ac_try_echo=$ac_try;;
3352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3353 (eval "$ac_compile") 2>conftest.er1
3355 grep -v '^ *+' conftest.er1 >conftest.err
3357 cat conftest.err >&5
3358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3359 (exit $ac_status); } && {
3360 test -z "$ac_c_werror_flag" ||
3361 test ! -s conftest.err
3362 } && test -s conftest.$ac_objext; then
3365 echo "$as_me: failed program was:" >&5
3366 sed 's/^/| /' conftest.$ac_ext >&5
3368 ac_c_werror_flag=$ac_save_c_werror_flag
3370 cat >conftest.$ac_ext <<_ACEOF
3373 cat confdefs.h >>conftest.$ac_ext
3374 cat >>conftest.$ac_ext <<_ACEOF
3375 /* end confdefs.h. */
3385 rm -f conftest.$ac_objext
3386 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
3394 grep -v '^ *+' conftest.er1 >conftest.err
3396 cat conftest.err >&5
3397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398 (exit $ac_status); } && {
3399 test -z "$ac_c_werror_flag" ||
3400 test ! -s conftest.err
3401 } && test -s conftest.$ac_objext; then
3404 echo "$as_me: failed program was:" >&5
3405 sed 's/^/| /' conftest.$ac_ext >&5
3410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3417 ac_c_werror_flag=$ac_save_c_werror_flag
3419 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3420 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3421 if test "$ac_test_CFLAGS" = set; then
3422 CFLAGS=$ac_save_CFLAGS
3423 elif test $ac_cv_prog_cc_g = yes; then
3424 if test "$GCC" = yes; then
3430 if test "$GCC" = yes; then
3436 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3437 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3438 if test "${ac_cv_prog_cc_c89+set}" = set; then
3439 echo $ECHO_N "(cached) $ECHO_C" >&6
3441 ac_cv_prog_cc_c89=no
3443 cat >conftest.$ac_ext <<_ACEOF
3446 cat confdefs.h >>conftest.$ac_ext
3447 cat >>conftest.$ac_ext <<_ACEOF
3448 /* end confdefs.h. */
3451 #include <sys/types.h>
3452 #include <sys/stat.h>
3453 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3454 struct buf { int x; };
3455 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3456 static char *e (p, i)
3462 static char *f (char * (*g) (char **, int), char **p, ...)
3467 s = g (p, va_arg (v,int));
3472 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3473 function prototypes and stuff, but not '\xHH' hex character constants.
3474 These don't provoke an error unfortunately, instead are silently treated
3475 as 'x'. The following induces an error, until -std is added to get
3476 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3477 array size at least. It's necessary to write '\x00'==0 to get something
3478 that's true only with -std. */
3479 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3481 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3482 inside strings and character constants. */
3484 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3486 int test (int i, double x);
3487 struct s1 {int (*f) (int a);};
3488 struct s2 {int (*f) (double a);};
3489 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3495 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3500 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3501 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3503 CC="$ac_save_CC $ac_arg"
3504 rm -f conftest.$ac_objext
3505 if { (ac_try="$ac_compile"
3507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3508 *) ac_try_echo=$ac_try;;
3510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3511 (eval "$ac_compile") 2>conftest.er1
3513 grep -v '^ *+' conftest.er1 >conftest.err
3515 cat conftest.err >&5
3516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517 (exit $ac_status); } && {
3518 test -z "$ac_c_werror_flag" ||
3519 test ! -s conftest.err
3520 } && test -s conftest.$ac_objext; then
3521 ac_cv_prog_cc_c89=$ac_arg
3523 echo "$as_me: failed program was:" >&5
3524 sed 's/^/| /' conftest.$ac_ext >&5
3529 rm -f core conftest.err conftest.$ac_objext
3530 test "x$ac_cv_prog_cc_c89" != "xno" && break
3532 rm -f conftest.$ac_ext
3537 case "x$ac_cv_prog_cc_c89" in
3539 { echo "$as_me:$LINENO: result: none needed" >&5
3540 echo "${ECHO_T}none needed" >&6; } ;;
3542 { echo "$as_me:$LINENO: result: unsupported" >&5
3543 echo "${ECHO_T}unsupported" >&6; } ;;
3545 CC="$CC $ac_cv_prog_cc_c89"
3546 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3547 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3552 ac_cpp='$CPP $CPPFLAGS'
3553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3556 DEPDIR="${am__leading_dot}deps"
3558 ac_config_commands="$ac_config_commands depfiles"
3561 am_make=${MAKE-make}
3562 cat > confinc << 'END'
3567 # If we don't find an include directive, just comment out the code.
3568 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3569 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3573 # First try GNU make style include.
3574 echo "include confinc" > confmf
3575 # We grep out `Entering directory' and `Leaving directory'
3576 # messages which can occur if `w' ends up in MAKEFLAGS.
3577 # In particular we don't look at `^make:' because GNU make might
3578 # be invoked under some other name (usually "gmake"), in which
3579 # case it prints its new name instead of `make'.
3580 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3585 # Now try BSD make style include.
3586 if test "$am__include" = "#"; then
3587 echo '.include "confinc"' > confmf
3588 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3589 am__include=.include
3596 { echo "$as_me:$LINENO: result: $_am_result" >&5
3597 echo "${ECHO_T}$_am_result" >&6; }
3598 rm -f confinc confmf
3600 # Check whether --enable-dependency-tracking was given.
3601 if test "${enable_dependency_tracking+set}" = set; then
3602 enableval=$enable_dependency_tracking;
3605 if test "x$enable_dependency_tracking" != xno; then
3606 am_depcomp="$ac_aux_dir/depcomp"
3609 if test "x$enable_dependency_tracking" != xno; then
3619 depcc="$CC" am_compiler_list=
3621 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3622 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3623 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3624 echo $ECHO_N "(cached) $ECHO_C" >&6
3626 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3627 # We make a subdir and do the tests there. Otherwise we can end up
3628 # making bogus files that we don't know about and never remove. For
3629 # instance it was reported that on HP-UX the gcc test will end up
3630 # making a dummy file named `D' -- because `-MD' means `put the output
3633 # Copy depcomp to subdir because otherwise we won't find it if we're
3634 # using a relative directory.
3635 cp "$am_depcomp" conftest.dir
3637 # We will build objects and dependencies in a subdirectory because
3638 # it helps to detect inapplicable dependency modes. For instance
3639 # both Tru64's cc and ICC support -MD to output dependencies as a
3640 # side effect of compilation, but ICC will put the dependencies in
3641 # the current directory while Tru64 will put them in the object
3645 am_cv_CC_dependencies_compiler_type=none
3646 if test "$am_compiler_list" = ""; then
3647 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3649 for depmode in $am_compiler_list; do
3650 # Setup a source with many dependencies, because some compilers
3651 # like to wrap large dependency lists on column 80 (with \), and
3652 # we should not choose a depcomp mode which is confused by this.
3654 # We need to recreate these files for each test, as the compiler may
3655 # overwrite some of them when testing with obscure command lines.
3656 # This happens at least with the AIX C compiler.
3658 for i in 1 2 3 4 5 6; do
3659 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3660 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3661 # Solaris 8's {/usr,}/bin/sh.
3662 touch sub/conftst$i.h
3664 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3668 # after this tag, mechanisms are not by side-effect, so they'll
3669 # only be used when explicitly requested
3670 if test "x$enable_dependency_tracking" = xyes; then
3678 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3679 # mode. It turns out that the SunPro C++ compiler does not properly
3680 # handle `-M -o', and we need to detect this.
3681 if depmode=$depmode \
3682 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3683 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3684 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3685 >/dev/null 2>conftest.err &&
3686 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3687 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3688 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3689 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3690 # icc doesn't choke on unknown options, it will just issue warnings
3691 # or remarks (even with -Werror). So we grep stderr for any message
3692 # that says an option was ignored or not supported.
3693 # When given -MP, icc 7.0 and 7.1 complain thusly:
3694 # icc: Command line warning: ignoring option '-M'; no argument required
3695 # The diagnosis changed in icc 8.0:
3696 # icc: Command line remark: option '-MP' not supported
3697 if (grep 'ignoring option' conftest.err ||
3698 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3699 am_cv_CC_dependencies_compiler_type=$depmode
3708 am_cv_CC_dependencies_compiler_type=none
3712 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3713 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3714 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3717 test "x$enable_dependency_tracking" != xno \
3718 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3720 am__fastdepCC_FALSE='#'
3722 am__fastdepCC_TRUE='#'
3723 am__fastdepCC_FALSE=
3728 ac_cpp='$CPP $CPPFLAGS'
3729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3732 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3733 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3734 # On Suns, sometimes $CPP names a directory.
3735 if test -n "$CPP" && test -d "$CPP"; then
3738 if test -z "$CPP"; then
3739 if test "${ac_cv_prog_CPP+set}" = set; then
3740 echo $ECHO_N "(cached) $ECHO_C" >&6
3742 # Double quotes because CPP needs to be expanded
3743 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3746 for ac_c_preproc_warn_flag in '' yes
3748 # Use a header file that comes with gcc, so configuring glibc
3749 # with a fresh cross-compiler works.
3750 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3751 # <limits.h> exists even on freestanding compilers.
3752 # On the NeXT, cc -E runs the code through the compiler's parser,
3753 # not just through cpp. "Syntax error" is here to catch this case.
3754 cat >conftest.$ac_ext <<_ACEOF
3757 cat confdefs.h >>conftest.$ac_ext
3758 cat >>conftest.$ac_ext <<_ACEOF
3759 /* end confdefs.h. */
3761 # include <limits.h>
3763 # include <assert.h>
3767 if { (ac_try="$ac_cpp conftest.$ac_ext"
3769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3770 *) ac_try_echo=$ac_try;;
3772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3773 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3775 grep -v '^ *+' conftest.er1 >conftest.err
3777 cat conftest.err >&5
3778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3779 (exit $ac_status); } >/dev/null && {
3780 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3781 test ! -s conftest.err
3785 echo "$as_me: failed program was:" >&5
3786 sed 's/^/| /' conftest.$ac_ext >&5
3788 # Broken: fails on valid input.
3792 rm -f conftest.err conftest.$ac_ext
3794 # OK, works on sane cases. Now check whether nonexistent headers
3795 # can be detected and how.
3796 cat >conftest.$ac_ext <<_ACEOF
3799 cat confdefs.h >>conftest.$ac_ext
3800 cat >>conftest.$ac_ext <<_ACEOF
3801 /* end confdefs.h. */
3802 #include <ac_nonexistent.h>
3804 if { (ac_try="$ac_cpp conftest.$ac_ext"
3806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3807 *) ac_try_echo=$ac_try;;
3809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3810 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3812 grep -v '^ *+' conftest.er1 >conftest.err
3814 cat conftest.err >&5
3815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3816 (exit $ac_status); } >/dev/null && {
3817 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3818 test ! -s conftest.err
3820 # Broken: success on invalid input.
3823 echo "$as_me: failed program was:" >&5
3824 sed 's/^/| /' conftest.$ac_ext >&5
3826 # Passes both tests.
3831 rm -f conftest.err conftest.$ac_ext
3834 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3835 rm -f conftest.err conftest.$ac_ext
3836 if $ac_preproc_ok; then
3848 { echo "$as_me:$LINENO: result: $CPP" >&5
3849 echo "${ECHO_T}$CPP" >&6; }
3851 for ac_c_preproc_warn_flag in '' yes
3853 # Use a header file that comes with gcc, so configuring glibc
3854 # with a fresh cross-compiler works.
3855 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3856 # <limits.h> exists even on freestanding compilers.
3857 # On the NeXT, cc -E runs the code through the compiler's parser,
3858 # not just through cpp. "Syntax error" is here to catch this case.
3859 cat >conftest.$ac_ext <<_ACEOF
3862 cat confdefs.h >>conftest.$ac_ext
3863 cat >>conftest.$ac_ext <<_ACEOF
3864 /* end confdefs.h. */
3866 # include <limits.h>
3868 # include <assert.h>
3872 if { (ac_try="$ac_cpp conftest.$ac_ext"
3874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3875 *) ac_try_echo=$ac_try;;
3877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3878 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3880 grep -v '^ *+' conftest.er1 >conftest.err
3882 cat conftest.err >&5
3883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3884 (exit $ac_status); } >/dev/null && {
3885 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3886 test ! -s conftest.err
3890 echo "$as_me: failed program was:" >&5
3891 sed 's/^/| /' conftest.$ac_ext >&5
3893 # Broken: fails on valid input.
3897 rm -f conftest.err conftest.$ac_ext
3899 # OK, works on sane cases. Now check whether nonexistent headers
3900 # can be detected and how.
3901 cat >conftest.$ac_ext <<_ACEOF
3904 cat confdefs.h >>conftest.$ac_ext
3905 cat >>conftest.$ac_ext <<_ACEOF
3906 /* end confdefs.h. */
3907 #include <ac_nonexistent.h>
3909 if { (ac_try="$ac_cpp conftest.$ac_ext"
3911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3912 *) ac_try_echo=$ac_try;;
3914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3915 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3917 grep -v '^ *+' conftest.er1 >conftest.err
3919 cat conftest.err >&5
3920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3921 (exit $ac_status); } >/dev/null && {
3922 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3923 test ! -s conftest.err
3925 # Broken: success on invalid input.
3928 echo "$as_me: failed program was:" >&5
3929 sed 's/^/| /' conftest.$ac_ext >&5
3931 # Passes both tests.
3936 rm -f conftest.err conftest.$ac_ext
3939 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3940 rm -f conftest.err conftest.$ac_ext
3941 if $ac_preproc_ok; then
3944 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3945 See \`config.log' for more details." >&5
3946 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3947 See \`config.log' for more details." >&2;}
3948 { (exit 1); exit 1; }; }
3952 ac_cpp='$CPP $CPPFLAGS'
3953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3957 CFLAGS="$cflags_save"
3960 { echo "$as_me:$LINENO: checking for inline" >&5
3961 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
3962 if test "${ac_cv_c_inline+set}" = set; then
3963 echo $ECHO_N "(cached) $ECHO_C" >&6
3966 for ac_kw in inline __inline__ __inline; do
3967 cat >conftest.$ac_ext <<_ACEOF
3970 cat confdefs.h >>conftest.$ac_ext
3971 cat >>conftest.$ac_ext <<_ACEOF
3972 /* end confdefs.h. */
3975 static $ac_kw foo_t static_foo () {return 0; }
3976 $ac_kw foo_t foo () {return 0; }
3980 rm -f conftest.$ac_objext
3981 if { (ac_try="$ac_compile"
3983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3984 *) ac_try_echo=$ac_try;;
3986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3987 (eval "$ac_compile") 2>conftest.er1
3989 grep -v '^ *+' conftest.er1 >conftest.err
3991 cat conftest.err >&5
3992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3993 (exit $ac_status); } && {
3994 test -z "$ac_c_werror_flag" ||
3995 test ! -s conftest.err
3996 } && test -s conftest.$ac_objext; then
3997 ac_cv_c_inline=$ac_kw
3999 echo "$as_me: failed program was:" >&5
4000 sed 's/^/| /' conftest.$ac_ext >&5
4005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4006 test "$ac_cv_c_inline" != no && break
4010 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4011 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
4014 case $ac_cv_c_inline in
4017 case $ac_cv_c_inline in
4019 *) ac_val=$ac_cv_c_inline;;
4021 cat >>confdefs.h <<_ACEOF
4023 #define inline $ac_val
4030 enable_win32_dll=yes
4033 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
4034 if test -n "$ac_tool_prefix"; then
4035 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4036 set dummy ${ac_tool_prefix}as; ac_word=$2
4037 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4039 if test "${ac_cv_prog_AS+set}" = set; then
4040 echo $ECHO_N "(cached) $ECHO_C" >&6
4042 if test -n "$AS"; then
4043 ac_cv_prog_AS="$AS" # Let the user override the test.
4045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4049 test -z "$as_dir" && as_dir=.
4050 for ac_exec_ext in '' $ac_executable_extensions; do
4051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4052 ac_cv_prog_AS="${ac_tool_prefix}as"
4053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4063 if test -n "$AS"; then
4064 { echo "$as_me:$LINENO: result: $AS" >&5
4065 echo "${ECHO_T}$AS" >&6; }
4067 { echo "$as_me:$LINENO: result: no" >&5
4068 echo "${ECHO_T}no" >&6; }
4073 if test -z "$ac_cv_prog_AS"; then
4075 # Extract the first word of "as", so it can be a program name with args.
4076 set dummy as; ac_word=$2
4077 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4079 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4080 echo $ECHO_N "(cached) $ECHO_C" >&6
4082 if test -n "$ac_ct_AS"; then
4083 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4089 test -z "$as_dir" && as_dir=.
4090 for ac_exec_ext in '' $ac_executable_extensions; do
4091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4092 ac_cv_prog_ac_ct_AS="as"
4093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4102 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4103 if test -n "$ac_ct_AS"; then
4104 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4105 echo "${ECHO_T}$ac_ct_AS" >&6; }
4107 { echo "$as_me:$LINENO: result: no" >&5
4108 echo "${ECHO_T}no" >&6; }
4111 if test "x$ac_ct_AS" = x; then
4114 case $cross_compiling:$ac_tool_warned in
4116 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4117 whose name does not start with the host triplet. If you think this
4118 configuration is useful to you, please write to autoconf@gnu.org." >&5
4119 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4120 whose name does not start with the host triplet. If you think this
4121 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4122 ac_tool_warned=yes ;;
4130 if test -n "$ac_tool_prefix"; then
4131 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4132 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4133 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4135 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4136 echo $ECHO_N "(cached) $ECHO_C" >&6
4138 if test -n "$DLLTOOL"; then
4139 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4145 test -z "$as_dir" && as_dir=.
4146 for ac_exec_ext in '' $ac_executable_extensions; do
4147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4148 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4158 DLLTOOL=$ac_cv_prog_DLLTOOL
4159 if test -n "$DLLTOOL"; then
4160 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4161 echo "${ECHO_T}$DLLTOOL" >&6; }
4163 { echo "$as_me:$LINENO: result: no" >&5
4164 echo "${ECHO_T}no" >&6; }
4169 if test -z "$ac_cv_prog_DLLTOOL"; then
4170 ac_ct_DLLTOOL=$DLLTOOL
4171 # Extract the first word of "dlltool", so it can be a program name with args.
4172 set dummy dlltool; ac_word=$2
4173 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4175 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4176 echo $ECHO_N "(cached) $ECHO_C" >&6
4178 if test -n "$ac_ct_DLLTOOL"; then
4179 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4185 test -z "$as_dir" && as_dir=.
4186 for ac_exec_ext in '' $ac_executable_extensions; do
4187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4188 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4198 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4199 if test -n "$ac_ct_DLLTOOL"; then
4200 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4201 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
4203 { echo "$as_me:$LINENO: result: no" >&5
4204 echo "${ECHO_T}no" >&6; }
4207 if test "x$ac_ct_DLLTOOL" = x; then
4210 case $cross_compiling:$ac_tool_warned in
4212 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4213 whose name does not start with the host triplet. If you think this
4214 configuration is useful to you, please write to autoconf@gnu.org." >&5
4215 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4216 whose name does not start with the host triplet. If you think this
4217 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4218 ac_tool_warned=yes ;;
4220 DLLTOOL=$ac_ct_DLLTOOL
4223 DLLTOOL="$ac_cv_prog_DLLTOOL"
4226 if test -n "$ac_tool_prefix"; then
4227 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4228 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4229 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4231 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4232 echo $ECHO_N "(cached) $ECHO_C" >&6
4234 if test -n "$OBJDUMP"; then
4235 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4241 test -z "$as_dir" && as_dir=.
4242 for ac_exec_ext in '' $ac_executable_extensions; do
4243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4244 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4254 OBJDUMP=$ac_cv_prog_OBJDUMP
4255 if test -n "$OBJDUMP"; then
4256 { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4257 echo "${ECHO_T}$OBJDUMP" >&6; }
4259 { echo "$as_me:$LINENO: result: no" >&5
4260 echo "${ECHO_T}no" >&6; }
4265 if test -z "$ac_cv_prog_OBJDUMP"; then
4266 ac_ct_OBJDUMP=$OBJDUMP
4267 # Extract the first word of "objdump", so it can be a program name with args.
4268 set dummy objdump; ac_word=$2
4269 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4271 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4272 echo $ECHO_N "(cached) $ECHO_C" >&6
4274 if test -n "$ac_ct_OBJDUMP"; then
4275 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4281 test -z "$as_dir" && as_dir=.
4282 for ac_exec_ext in '' $ac_executable_extensions; do
4283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4284 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4294 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4295 if test -n "$ac_ct_OBJDUMP"; then
4296 { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4297 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
4299 { echo "$as_me:$LINENO: result: no" >&5
4300 echo "${ECHO_T}no" >&6; }
4303 if test "x$ac_ct_OBJDUMP" = x; then
4306 case $cross_compiling:$ac_tool_warned in
4308 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4309 whose name does not start with the host triplet. If you think this
4310 configuration is useful to you, please write to autoconf@gnu.org." >&5
4311 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4312 whose name does not start with the host triplet. If you think this
4313 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4314 ac_tool_warned=yes ;;
4316 OBJDUMP=$ac_ct_OBJDUMP
4319 OBJDUMP="$ac_cv_prog_OBJDUMP"
4325 test -z "$AS" && AS=as
4331 test -z "$DLLTOOL" && DLLTOOL=dlltool
4337 test -z "$OBJDUMP" && OBJDUMP=objdump
4347 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4348 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4353 macro_version='2.2.6'
4354 macro_revision='1.3012'
4368 ltmain="$ac_aux_dir/ltmain.sh"
4370 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4371 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4372 if test "${ac_cv_path_SED+set}" = set; then
4373 echo $ECHO_N "(cached) $ECHO_C" >&6
4375 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4376 for ac_i in 1 2 3 4 5 6 7; do
4377 ac_script="$ac_script$as_nl$ac_script"
4379 echo "$ac_script" | sed 99q >conftest.sed
4380 $as_unset ac_script || ac_script=
4381 # Extract the first word of "sed gsed" to use in msg output
4382 if test -z "$SED"; then
4383 set dummy sed gsed; ac_prog_name=$2
4384 if test "${ac_cv_path_SED+set}" = set; then
4385 echo $ECHO_N "(cached) $ECHO_C" >&6
4387 ac_path_SED_found=false
4388 # Loop through the user's path and test for each of PROGNAME-LIST
4389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4393 test -z "$as_dir" && as_dir=.
4394 for ac_prog in sed gsed; do
4395 for ac_exec_ext in '' $ac_executable_extensions; do
4396 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4397 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4398 # Check for GNU ac_path_SED and select it if it is found.
4399 # Check for GNU $ac_path_SED
4400 case `"$ac_path_SED" --version 2>&1` in
4402 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4405 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4408 cat "conftest.in" "conftest.in" >"conftest.tmp"
4409 mv "conftest.tmp" "conftest.in"
4410 cp "conftest.in" "conftest.nl"
4411 echo '' >> "conftest.nl"
4412 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4413 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4414 ac_count=`expr $ac_count + 1`
4415 if test $ac_count -gt ${ac_path_SED_max-0}; then
4416 # Best one so far, save it but keep looking for a better one
4417 ac_cv_path_SED="$ac_path_SED"
4418 ac_path_SED_max=$ac_count
4420 # 10*(2^10) chars as input seems more than enough
4421 test $ac_count -gt 10 && break
4423 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4427 $ac_path_SED_found && break 3
4437 SED="$ac_cv_path_SED"
4438 if test -z "$SED"; then
4439 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
4440 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
4441 { (exit 1); exit 1; }; }
4449 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4450 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
4451 SED="$ac_cv_path_SED"
4454 test -z "$SED" && SED=sed
4455 Xsed="$SED -e 1s/^X//"
4467 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4468 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4469 if test "${ac_cv_path_GREP+set}" = set; then
4470 echo $ECHO_N "(cached) $ECHO_C" >&6
4472 # Extract the first word of "grep ggrep" to use in msg output
4473 if test -z "$GREP"; then
4474 set dummy grep ggrep; ac_prog_name=$2
4475 if test "${ac_cv_path_GREP+set}" = set; then
4476 echo $ECHO_N "(cached) $ECHO_C" >&6
4478 ac_path_GREP_found=false
4479 # Loop through the user's path and test for each of PROGNAME-LIST
4480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4481 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4484 test -z "$as_dir" && as_dir=.
4485 for ac_prog in grep ggrep; do
4486 for ac_exec_ext in '' $ac_executable_extensions; do
4487 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4488 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4489 # Check for GNU ac_path_GREP and select it if it is found.
4490 # Check for GNU $ac_path_GREP
4491 case `"$ac_path_GREP" --version 2>&1` in
4493 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4496 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4499 cat "conftest.in" "conftest.in" >"conftest.tmp"
4500 mv "conftest.tmp" "conftest.in"
4501 cp "conftest.in" "conftest.nl"
4502 echo 'GREP' >> "conftest.nl"
4503 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4504 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4505 ac_count=`expr $ac_count + 1`
4506 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4507 # Best one so far, save it but keep looking for a better one
4508 ac_cv_path_GREP="$ac_path_GREP"
4509 ac_path_GREP_max=$ac_count
4511 # 10*(2^10) chars as input seems more than enough
4512 test $ac_count -gt 10 && break
4514 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4518 $ac_path_GREP_found && break 3
4528 GREP="$ac_cv_path_GREP"
4529 if test -z "$GREP"; then
4530 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4531 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4532 { (exit 1); exit 1; }; }
4536 ac_cv_path_GREP=$GREP
4541 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4542 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4543 GREP="$ac_cv_path_GREP"
4546 { echo "$as_me:$LINENO: checking for egrep" >&5
4547 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4548 if test "${ac_cv_path_EGREP+set}" = set; then
4549 echo $ECHO_N "(cached) $ECHO_C" >&6
4551 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4552 then ac_cv_path_EGREP="$GREP -E"
4554 # Extract the first word of "egrep" to use in msg output
4555 if test -z "$EGREP"; then
4556 set dummy egrep; ac_prog_name=$2
4557 if test "${ac_cv_path_EGREP+set}" = set; then
4558 echo $ECHO_N "(cached) $ECHO_C" >&6
4560 ac_path_EGREP_found=false
4561 # Loop through the user's path and test for each of PROGNAME-LIST
4562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4563 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4566 test -z "$as_dir" && as_dir=.
4567 for ac_prog in egrep; do
4568 for ac_exec_ext in '' $ac_executable_extensions; do
4569 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4570 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4571 # Check for GNU ac_path_EGREP and select it if it is found.
4572 # Check for GNU $ac_path_EGREP
4573 case `"$ac_path_EGREP" --version 2>&1` in
4575 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4578 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4581 cat "conftest.in" "conftest.in" >"conftest.tmp"
4582 mv "conftest.tmp" "conftest.in"
4583 cp "conftest.in" "conftest.nl"
4584 echo 'EGREP' >> "conftest.nl"
4585 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4586 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4587 ac_count=`expr $ac_count + 1`
4588 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4589 # Best one so far, save it but keep looking for a better one
4590 ac_cv_path_EGREP="$ac_path_EGREP"
4591 ac_path_EGREP_max=$ac_count
4593 # 10*(2^10) chars as input seems more than enough
4594 test $ac_count -gt 10 && break
4596 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4600 $ac_path_EGREP_found && break 3
4610 EGREP="$ac_cv_path_EGREP"
4611 if test -z "$EGREP"; then
4612 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4613 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4614 { (exit 1); exit 1; }; }
4618 ac_cv_path_EGREP=$EGREP
4624 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4625 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4626 EGREP="$ac_cv_path_EGREP"
4629 { echo "$as_me:$LINENO: checking for fgrep" >&5
4630 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
4631 if test "${ac_cv_path_FGREP+set}" = set; then
4632 echo $ECHO_N "(cached) $ECHO_C" >&6
4634 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4635 then ac_cv_path_FGREP="$GREP -F"
4637 # Extract the first word of "fgrep" to use in msg output
4638 if test -z "$FGREP"; then
4639 set dummy fgrep; ac_prog_name=$2
4640 if test "${ac_cv_path_FGREP+set}" = set; then
4641 echo $ECHO_N "(cached) $ECHO_C" >&6
4643 ac_path_FGREP_found=false
4644 # Loop through the user's path and test for each of PROGNAME-LIST
4645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4646 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4649 test -z "$as_dir" && as_dir=.
4650 for ac_prog in fgrep; do
4651 for ac_exec_ext in '' $ac_executable_extensions; do
4652 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4653 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4654 # Check for GNU ac_path_FGREP and select it if it is found.
4655 # Check for GNU $ac_path_FGREP
4656 case `"$ac_path_FGREP" --version 2>&1` in
4658 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4661 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4664 cat "conftest.in" "conftest.in" >"conftest.tmp"
4665 mv "conftest.tmp" "conftest.in"
4666 cp "conftest.in" "conftest.nl"
4667 echo 'FGREP' >> "conftest.nl"
4668 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4669 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4670 ac_count=`expr $ac_count + 1`
4671 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4672 # Best one so far, save it but keep looking for a better one
4673 ac_cv_path_FGREP="$ac_path_FGREP"
4674 ac_path_FGREP_max=$ac_count
4676 # 10*(2^10) chars as input seems more than enough
4677 test $ac_count -gt 10 && break
4679 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4683 $ac_path_FGREP_found && break 3
4693 FGREP="$ac_cv_path_FGREP"
4694 if test -z "$FGREP"; then
4695 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4696 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4697 { (exit 1); exit 1; }; }
4701 ac_cv_path_FGREP=$FGREP
4707 { echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4708 echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
4709 FGREP="$ac_cv_path_FGREP"
4712 test -z "$GREP" && GREP=grep
4732 # Check whether --with-gnu-ld was given.
4733 if test "${with_gnu_ld+set}" = set; then
4734 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4740 if test "$GCC" = yes; then
4741 # Check if gcc -print-prog-name=ld gives a path.
4742 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4743 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4746 # gcc leaves a trailing carriage return which upsets mingw
4747 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4749 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4752 # Accept absolute paths.
4754 re_direlt='/[^/][^/]*/\.\./'
4755 # Canonicalize the pathname of ld
4756 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4757 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4758 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4760 test -z "$LD" && LD="$ac_prog"
4763 # If it fails, then pretend we aren't using GCC.
4767 # If it is relative, then search for the first ld in PATH.
4771 elif test "$with_gnu_ld" = yes; then
4772 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4773 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4775 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4776 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4778 if test "${lt_cv_path_LD+set}" = set; then
4779 echo $ECHO_N "(cached) $ECHO_C" >&6
4781 if test -z "$LD"; then
4782 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4783 for ac_dir in $PATH; do
4785 test -z "$ac_dir" && ac_dir=.
4786 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4787 lt_cv_path_LD="$ac_dir/$ac_prog"
4788 # Check to see if the program is GNU ld. I'd rather use --version,
4789 # but apparently some variants of GNU ld only accept -v.
4790 # Break only if it was the GNU/non-GNU ld that we prefer.
4791 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4792 *GNU* | *'with BFD'*)
4793 test "$with_gnu_ld" != no && break
4796 test "$with_gnu_ld" != yes && break
4803 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4808 if test -n "$LD"; then
4809 { echo "$as_me:$LINENO: result: $LD" >&5
4810 echo "${ECHO_T}$LD" >&6; }
4812 { echo "$as_me:$LINENO: result: no" >&5
4813 echo "${ECHO_T}no" >&6; }
4815 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4816 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4817 { (exit 1); exit 1; }; }
4818 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4819 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4820 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4821 echo $ECHO_N "(cached) $ECHO_C" >&6
4823 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4824 case `$LD -v 2>&1 </dev/null` in
4825 *GNU* | *'with BFD'*)
4826 lt_cv_prog_gnu_ld=yes
4829 lt_cv_prog_gnu_ld=no
4833 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4834 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4835 with_gnu_ld=$lt_cv_prog_gnu_ld
4845 { echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4846 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
4847 if test "${lt_cv_path_NM+set}" = set; then
4848 echo $ECHO_N "(cached) $ECHO_C" >&6
4850 if test -n "$NM"; then
4851 # Let the user override the test.
4854 lt_nm_to_check="${ac_tool_prefix}nm"
4855 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4856 lt_nm_to_check="$lt_nm_to_check nm"
4858 for lt_tmp_nm in $lt_nm_to_check; do
4859 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4860 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4862 test -z "$ac_dir" && ac_dir=.
4863 tmp_nm="$ac_dir/$lt_tmp_nm"
4864 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4865 # Check to see if the nm accepts a BSD-compat flag.
4866 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4867 # nm: unknown option "B" ignored
4868 # Tru64's nm complains that /dev/null is an invalid object file
4869 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4870 */dev/null* | *'Invalid file or object type'*)
4871 lt_cv_path_NM="$tmp_nm -B"
4875 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4877 lt_cv_path_NM="$tmp_nm -p"
4881 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4882 continue # so that we can try to find one that supports BSD flags
4891 : ${lt_cv_path_NM=no}
4894 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4895 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4896 if test "$lt_cv_path_NM" != "no"; then
4899 # Didn't find any BSD compatible name lister, look for dumpbin.
4900 if test -n "$ac_tool_prefix"; then
4901 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4903 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4904 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4905 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4907 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4908 echo $ECHO_N "(cached) $ECHO_C" >&6
4910 if test -n "$DUMPBIN"; then
4911 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4917 test -z "$as_dir" && as_dir=.
4918 for ac_exec_ext in '' $ac_executable_extensions; do
4919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4920 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4930 DUMPBIN=$ac_cv_prog_DUMPBIN
4931 if test -n "$DUMPBIN"; then
4932 { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4933 echo "${ECHO_T}$DUMPBIN" >&6; }
4935 { echo "$as_me:$LINENO: result: no" >&5
4936 echo "${ECHO_T}no" >&6; }
4940 test -n "$DUMPBIN" && break
4943 if test -z "$DUMPBIN"; then
4944 ac_ct_DUMPBIN=$DUMPBIN
4945 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4947 # Extract the first word of "$ac_prog", so it can be a program name with args.
4948 set dummy $ac_prog; ac_word=$2
4949 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4951 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4952 echo $ECHO_N "(cached) $ECHO_C" >&6
4954 if test -n "$ac_ct_DUMPBIN"; then
4955 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4961 test -z "$as_dir" && as_dir=.
4962 for ac_exec_ext in '' $ac_executable_extensions; do
4963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4964 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4974 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4975 if test -n "$ac_ct_DUMPBIN"; then
4976 { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4977 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
4979 { echo "$as_me:$LINENO: result: no" >&5
4980 echo "${ECHO_T}no" >&6; }
4984 test -n "$ac_ct_DUMPBIN" && break
4987 if test "x$ac_ct_DUMPBIN" = x; then
4990 case $cross_compiling:$ac_tool_warned in
4992 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4993 whose name does not start with the host triplet. If you think this
4994 configuration is useful to you, please write to autoconf@gnu.org." >&5
4995 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4996 whose name does not start with the host triplet. If you think this
4997 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4998 ac_tool_warned=yes ;;
5000 DUMPBIN=$ac_ct_DUMPBIN
5005 if test "$DUMPBIN" != ":"; then
5009 test -z "$NM" && NM=nm
5016 { echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5017 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
5018 if test "${lt_cv_nm_interface+set}" = set; then
5019 echo $ECHO_N "(cached) $ECHO_C" >&6
5021 lt_cv_nm_interface="BSD nm"
5022 echo "int some_variable = 0;" > conftest.$ac_ext
5023 (eval echo "\"\$as_me:5023: $ac_compile\"" >&5)
5024 (eval "$ac_compile" 2>conftest.err)
5025 cat conftest.err >&5
5026 (eval echo "\"\$as_me:5026: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5027 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5028 cat conftest.err >&5
5029 (eval echo "\"\$as_me:5029: output\"" >&5)
5030 cat conftest.out >&5
5031 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5032 lt_cv_nm_interface="MS dumpbin"
5036 { echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5037 echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
5039 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5040 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5042 if test "$LN_S" = "ln -s"; then
5043 { echo "$as_me:$LINENO: result: yes" >&5
5044 echo "${ECHO_T}yes" >&6; }
5046 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5047 echo "${ECHO_T}no, using $LN_S" >&6; }
5050 # find the maximum length of command line arguments
5051 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5052 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5053 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5054 echo $ECHO_N "(cached) $ECHO_C" >&6
5061 # On DJGPP, this test can blow up pretty badly due to problems in libc
5062 # (any single argument exceeding 2000 bytes causes a buffer overrun
5063 # during glob expansion). Even if it were fixed, the result of this
5064 # check would be larger than it should be.
5065 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5069 # Under GNU Hurd, this test is not required because there is
5070 # no limit to the length of command line arguments.
5071 # Libtool will interpret -1 as no limit whatsoever
5072 lt_cv_sys_max_cmd_len=-1;
5075 cygwin* | mingw* | cegcc*)
5076 # On Win9x/ME, this test blows up -- it succeeds, but takes
5077 # about 5 minutes as the teststring grows exponentially.
5078 # Worse, since 9x/ME are not pre-emptively multitasking,
5079 # you end up with a "frozen" computer, even though with patience
5080 # the test eventually succeeds (with a max line length of 256k).
5081 # Instead, let's just punt: use the minimum linelength reported by
5082 # all of the supported platforms: 8192 (on NT/2K/XP).
5083 lt_cv_sys_max_cmd_len=8192;
5087 # On AmigaOS with pdksh, this test takes hours, literally.
5088 # So we just punt and use a minimum line length of 8192.
5089 lt_cv_sys_max_cmd_len=8192;
5092 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5093 # This has been around since 386BSD, at least. Likely further.
5094 if test -x /sbin/sysctl; then
5095 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5096 elif test -x /usr/sbin/sysctl; then
5097 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5099 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5101 # And add a safety zone
5102 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5103 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5107 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5108 lt_cv_sys_max_cmd_len=196608
5112 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5113 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5114 # nice to cause kernel panics so lets avoid the loop below.
5115 # First set a reasonable default.
5116 lt_cv_sys_max_cmd_len=16384
5118 if test -x /sbin/sysconfig; then
5119 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5120 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5125 lt_cv_sys_max_cmd_len=102400
5127 sysv5* | sco5v6* | sysv4.2uw2*)
5128 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5129 if test -n "$kargmax"; then
5130 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5132 lt_cv_sys_max_cmd_len=32768
5136 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5137 if test -n "$lt_cv_sys_max_cmd_len"; then
5138 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5139 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5141 # Make teststring a little bigger before we do anything with it.
5142 # a 1K string should be a reasonable start.
5143 for i in 1 2 3 4 5 6 7 8 ; do
5144 teststring=$teststring$teststring
5146 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5147 # If test is not a shell built-in, we'll probably end up computing a
5148 # maximum length that is only half of the actual maximum length, but
5150 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5151 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5152 test $i != 17 # 1/2 MB should be enough
5155 teststring=$teststring$teststring
5157 # Only check the string length outside the loop.
5158 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5160 # Add a significant safety factor because C++ compilers can tack on
5161 # massive amounts of additional arguments before passing them to the
5162 # linker. It appears as though 1/2 is a usable value.
5163 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5170 if test -n $lt_cv_sys_max_cmd_len ; then
5171 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5172 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5174 { echo "$as_me:$LINENO: result: none" >&5
5175 echo "${ECHO_T}none" >&6; }
5177 max_cmd_len=$lt_cv_sys_max_cmd_len
5188 { echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5189 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
5190 # Try some XSI features
5193 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5195 && eval 'test $(( 1 + 1 )) -eq 2 \
5196 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5198 { echo "$as_me:$LINENO: result: $xsi_shell" >&5
5199 echo "${ECHO_T}$xsi_shell" >&6; }
5202 { echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
5203 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
5205 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5207 && lt_shell_append=yes
5208 { echo "$as_me:$LINENO: result: $lt_shell_append" >&5
5209 echo "${ECHO_T}$lt_shell_append" >&6; }
5212 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5222 # test EBCDIC or ASCII
5223 case `echo X|tr X '\101'` in
5224 A) # ASCII based system
5225 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5226 lt_SP2NL='tr \040 \012'
5227 lt_NL2SP='tr \015\012 \040\040'
5229 *) # EBCDIC based system
5230 lt_SP2NL='tr \100 \n'
5231 lt_NL2SP='tr \r\n \100\100'
5243 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5244 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
5245 if test "${lt_cv_ld_reload_flag+set}" = set; then
5246 echo $ECHO_N "(cached) $ECHO_C" >&6
5248 lt_cv_ld_reload_flag='-r'
5250 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5251 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
5252 reload_flag=$lt_cv_ld_reload_flag
5253 case $reload_flag in
5255 *) reload_flag=" $reload_flag" ;;
5257 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5260 if test "$GCC" = yes; then
5261 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5263 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5276 if test -n "$ac_tool_prefix"; then
5277 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5278 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5281 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5282 echo $ECHO_N "(cached) $ECHO_C" >&6
5284 if test -n "$OBJDUMP"; then
5285 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5291 test -z "$as_dir" && as_dir=.
5292 for ac_exec_ext in '' $ac_executable_extensions; do
5293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5294 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5304 OBJDUMP=$ac_cv_prog_OBJDUMP
5305 if test -n "$OBJDUMP"; then
5306 { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5307 echo "${ECHO_T}$OBJDUMP" >&6; }
5309 { echo "$as_me:$LINENO: result: no" >&5
5310 echo "${ECHO_T}no" >&6; }
5315 if test -z "$ac_cv_prog_OBJDUMP"; then
5316 ac_ct_OBJDUMP=$OBJDUMP
5317 # Extract the first word of "objdump", so it can be a program name with args.
5318 set dummy objdump; ac_word=$2
5319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5321 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5322 echo $ECHO_N "(cached) $ECHO_C" >&6
5324 if test -n "$ac_ct_OBJDUMP"; then
5325 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5331 test -z "$as_dir" && as_dir=.
5332 for ac_exec_ext in '' $ac_executable_extensions; do
5333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5334 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5344 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5345 if test -n "$ac_ct_OBJDUMP"; then
5346 { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5347 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
5349 { echo "$as_me:$LINENO: result: no" >&5
5350 echo "${ECHO_T}no" >&6; }
5353 if test "x$ac_ct_OBJDUMP" = x; then
5356 case $cross_compiling:$ac_tool_warned in
5358 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5359 whose name does not start with the host triplet. If you think this
5360 configuration is useful to you, please write to autoconf@gnu.org." >&5
5361 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5362 whose name does not start with the host triplet. If you think this
5363 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5364 ac_tool_warned=yes ;;
5366 OBJDUMP=$ac_ct_OBJDUMP
5369 OBJDUMP="$ac_cv_prog_OBJDUMP"
5372 test -z "$OBJDUMP" && OBJDUMP=objdump
5379 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5380 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
5381 if test "${lt_cv_deplibs_check_method+set}" = set; then
5382 echo $ECHO_N "(cached) $ECHO_C" >&6
5384 lt_cv_file_magic_cmd='$MAGIC_CMD'
5385 lt_cv_file_magic_test_file=
5386 lt_cv_deplibs_check_method='unknown'
5387 # Need to set the preceding variable on all platforms that support
5388 # interlibrary dependencies.
5389 # 'none' -- dependencies not supported.
5390 # `unknown' -- same as none, but documents that we really don't know.
5391 # 'pass_all' -- all dependencies passed with no checks.
5392 # 'test_compile' -- check by making test program.
5393 # 'file_magic [[regex]]' -- check by looking for files in library path
5394 # which responds to the $file_magic_cmd with a given extended regex.
5395 # If you have `file' or equivalent on your system and you're not sure
5396 # whether `pass_all' will *always* work, you probably want this one.
5400 lt_cv_deplibs_check_method=pass_all
5404 lt_cv_deplibs_check_method=pass_all
5408 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5409 lt_cv_file_magic_cmd='/usr/bin/file -L'
5410 lt_cv_file_magic_test_file=/shlib/libc.so
5414 # func_win32_libid is a shell function defined in ltmain.sh
5415 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5416 lt_cv_file_magic_cmd='func_win32_libid'
5420 # Base MSYS/MinGW do not provide the 'file' command needed by
5421 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5422 # unless we find 'file', for example because we are cross-compiling.
5423 if ( file / ) >/dev/null 2>&1; then
5424 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5425 lt_cv_file_magic_cmd='func_win32_libid'
5427 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5428 lt_cv_file_magic_cmd='$OBJDUMP -f'
5433 # use the weaker test based on 'objdump'. See mingw*.
5434 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5435 lt_cv_file_magic_cmd='$OBJDUMP -f'
5438 darwin* | rhapsody*)
5439 lt_cv_deplibs_check_method=pass_all
5442 freebsd* | dragonfly*)
5443 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5446 # Not sure whether the presence of OpenBSD here was a mistake.
5447 # Let's accept both of them until this is cleared up.
5448 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5449 lt_cv_file_magic_cmd=/usr/bin/file
5450 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5454 lt_cv_deplibs_check_method=pass_all
5459 lt_cv_deplibs_check_method=pass_all
5462 hpux10.20* | hpux11*)
5463 lt_cv_file_magic_cmd=/usr/bin/file
5466 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5467 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5470 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]'
5471 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5474 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5475 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5481 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5482 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5485 irix5* | irix6* | nonstopux*)
5487 *-32|*"-32 ") libmagic=32-bit;;
5488 *-n32|*"-n32 ") libmagic=N32;;
5489 *-64|*"-64 ") libmagic=64-bit;;
5490 *) libmagic=never-match;;
5492 lt_cv_deplibs_check_method=pass_all
5495 # This must be Linux ELF.
5496 linux* | k*bsd*-gnu)
5497 lt_cv_deplibs_check_method=pass_all
5500 netbsd* | netbsdelf*-gnu)
5501 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5502 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5504 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5509 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5510 lt_cv_file_magic_cmd=/usr/bin/file
5511 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5515 lt_cv_deplibs_check_method=pass_all
5519 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5520 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5522 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5526 osf3* | osf4* | osf5*)
5527 lt_cv_deplibs_check_method=pass_all
5531 lt_cv_deplibs_check_method=pass_all
5535 lt_cv_deplibs_check_method=pass_all
5538 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5539 lt_cv_deplibs_check_method=pass_all
5543 case $host_vendor in
5545 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]'
5546 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5549 lt_cv_deplibs_check_method=pass_all
5552 lt_cv_file_magic_cmd='/bin/file'
5553 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5556 lt_cv_file_magic_cmd='/bin/file'
5557 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5558 lt_cv_file_magic_test_file=/lib/libc.so
5561 lt_cv_deplibs_check_method=pass_all
5564 lt_cv_deplibs_check_method=pass_all
5570 lt_cv_deplibs_check_method=pass_all
5575 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5576 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
5577 file_magic_cmd=$lt_cv_file_magic_cmd
5578 deplibs_check_method=$lt_cv_deplibs_check_method
5579 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5592 if test -n "$ac_tool_prefix"; then
5593 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5594 set dummy ${ac_tool_prefix}ar; ac_word=$2
5595 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5597 if test "${ac_cv_prog_AR+set}" = set; then
5598 echo $ECHO_N "(cached) $ECHO_C" >&6
5600 if test -n "$AR"; then
5601 ac_cv_prog_AR="$AR" # Let the user override the test.
5603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5607 test -z "$as_dir" && as_dir=.
5608 for ac_exec_ext in '' $ac_executable_extensions; do
5609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5610 ac_cv_prog_AR="${ac_tool_prefix}ar"
5611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5621 if test -n "$AR"; then
5622 { echo "$as_me:$LINENO: result: $AR" >&5
5623 echo "${ECHO_T}$AR" >&6; }
5625 { echo "$as_me:$LINENO: result: no" >&5
5626 echo "${ECHO_T}no" >&6; }
5631 if test -z "$ac_cv_prog_AR"; then
5633 # Extract the first word of "ar", so it can be a program name with args.
5634 set dummy ar; ac_word=$2
5635 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5637 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5638 echo $ECHO_N "(cached) $ECHO_C" >&6
5640 if test -n "$ac_ct_AR"; then
5641 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5647 test -z "$as_dir" && as_dir=.
5648 for ac_exec_ext in '' $ac_executable_extensions; do
5649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5650 ac_cv_prog_ac_ct_AR="ar"
5651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5660 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5661 if test -n "$ac_ct_AR"; then
5662 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5663 echo "${ECHO_T}$ac_ct_AR" >&6; }
5665 { echo "$as_me:$LINENO: result: no" >&5
5666 echo "${ECHO_T}no" >&6; }
5669 if test "x$ac_ct_AR" = x; then
5672 case $cross_compiling:$ac_tool_warned in
5674 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5675 whose name does not start with the host triplet. If you think this
5676 configuration is useful to you, please write to autoconf@gnu.org." >&5
5677 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5678 whose name does not start with the host triplet. If you think this
5679 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5680 ac_tool_warned=yes ;;
5688 test -z "$AR" && AR=ar
5689 test -z "$AR_FLAGS" && AR_FLAGS=cru
5701 if test -n "$ac_tool_prefix"; then
5702 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5703 set dummy ${ac_tool_prefix}strip; ac_word=$2
5704 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5706 if test "${ac_cv_prog_STRIP+set}" = set; then
5707 echo $ECHO_N "(cached) $ECHO_C" >&6
5709 if test -n "$STRIP"; then
5710 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5716 test -z "$as_dir" && as_dir=.
5717 for ac_exec_ext in '' $ac_executable_extensions; do
5718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5719 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5729 STRIP=$ac_cv_prog_STRIP
5730 if test -n "$STRIP"; then
5731 { echo "$as_me:$LINENO: result: $STRIP" >&5
5732 echo "${ECHO_T}$STRIP" >&6; }
5734 { echo "$as_me:$LINENO: result: no" >&5
5735 echo "${ECHO_T}no" >&6; }
5740 if test -z "$ac_cv_prog_STRIP"; then
5742 # Extract the first word of "strip", so it can be a program name with args.
5743 set dummy strip; ac_word=$2
5744 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5746 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5747 echo $ECHO_N "(cached) $ECHO_C" >&6
5749 if test -n "$ac_ct_STRIP"; then
5750 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5756 test -z "$as_dir" && as_dir=.
5757 for ac_exec_ext in '' $ac_executable_extensions; do
5758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5759 ac_cv_prog_ac_ct_STRIP="strip"
5760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5769 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5770 if test -n "$ac_ct_STRIP"; then
5771 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5772 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5774 { echo "$as_me:$LINENO: result: no" >&5
5775 echo "${ECHO_T}no" >&6; }
5778 if test "x$ac_ct_STRIP" = x; then
5781 case $cross_compiling:$ac_tool_warned in
5783 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5784 whose name does not start with the host triplet. If you think this
5785 configuration is useful to you, please write to autoconf@gnu.org." >&5
5786 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5787 whose name does not start with the host triplet. If you think this
5788 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5789 ac_tool_warned=yes ;;
5794 STRIP="$ac_cv_prog_STRIP"
5797 test -z "$STRIP" && STRIP=:
5804 if test -n "$ac_tool_prefix"; then
5805 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5806 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5807 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5809 if test "${ac_cv_prog_RANLIB+set}" = set; then
5810 echo $ECHO_N "(cached) $ECHO_C" >&6
5812 if test -n "$RANLIB"; then
5813 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5819 test -z "$as_dir" && as_dir=.
5820 for ac_exec_ext in '' $ac_executable_extensions; do
5821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5822 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5832 RANLIB=$ac_cv_prog_RANLIB
5833 if test -n "$RANLIB"; then
5834 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5835 echo "${ECHO_T}$RANLIB" >&6; }
5837 { echo "$as_me:$LINENO: result: no" >&5
5838 echo "${ECHO_T}no" >&6; }
5843 if test -z "$ac_cv_prog_RANLIB"; then
5844 ac_ct_RANLIB=$RANLIB
5845 # Extract the first word of "ranlib", so it can be a program name with args.
5846 set dummy ranlib; ac_word=$2
5847 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5849 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5850 echo $ECHO_N "(cached) $ECHO_C" >&6
5852 if test -n "$ac_ct_RANLIB"; then
5853 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5859 test -z "$as_dir" && as_dir=.
5860 for ac_exec_ext in '' $ac_executable_extensions; do
5861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5862 ac_cv_prog_ac_ct_RANLIB="ranlib"
5863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5872 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5873 if test -n "$ac_ct_RANLIB"; then
5874 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5875 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5877 { echo "$as_me:$LINENO: result: no" >&5
5878 echo "${ECHO_T}no" >&6; }
5881 if test "x$ac_ct_RANLIB" = x; then
5884 case $cross_compiling:$ac_tool_warned in
5886 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5887 whose name does not start with the host triplet. If you think this
5888 configuration is useful to you, please write to autoconf@gnu.org." >&5
5889 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5890 whose name does not start with the host triplet. If you think this
5891 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5892 ac_tool_warned=yes ;;
5894 RANLIB=$ac_ct_RANLIB
5897 RANLIB="$ac_cv_prog_RANLIB"
5900 test -z "$RANLIB" && RANLIB=:
5907 # Determine commands to create old-style static archives.
5908 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5909 old_postinstall_cmds='chmod 644 $oldlib'
5910 old_postuninstall_cmds=
5912 if test -n "$RANLIB"; then
5915 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5918 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5921 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5957 # If no C compiler was specified, use CC.
5960 # If no C compiler flags were specified, use CFLAGS.
5961 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5963 # Allow CC to be a program name with arguments.
5967 # Check for command to grab the raw symbol name followed by C symbol from nm.
5968 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5969 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5970 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5971 echo $ECHO_N "(cached) $ECHO_C" >&6
5974 # These are sane defaults that work on at least a few old systems.
5975 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5977 # Character class describing NM global symbol codes.
5978 symcode='[BCDEGRST]'
5980 # Regexp to match symbols that can be accessed directly from C.
5981 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5983 # Define system-specific variables.
5988 cygwin* | mingw* | pw32* | cegcc*)
5989 symcode='[ABCDGISTW]'
5992 if test "$host_cpu" = ia64; then
5993 symcode='[ABCDEGRST]'
5997 symcode='[BCDEGRST]'
6000 symcode='[BCDEGQRST]'
6011 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6019 # If we're using GNU nm, then use its standard symbol codes.
6020 case `$NM -V 2>&1` in
6021 *GNU* | *'with BFD'*)
6022 symcode='[ABCDGIRSTW]' ;;
6025 # Transform an extracted symbol line into a proper C declaration.
6026 # Some systems (esp. on ia64) link data and code symbols differently,
6027 # so use this general approach.
6028 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6030 # Transform an extracted symbol line into symbol name and symbol address
6031 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6032 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'"
6034 # Handle CRLF in mingw tool chain
6038 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6042 # Try without a prefix underscore, then with it.
6043 for ac_symprfx in "" "_"; do
6045 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6046 symxfrm="\\1 $ac_symprfx\\2 \\2"
6048 # Write the raw and C identifiers.
6049 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6050 # Fake it for dumpbin and say T for any non-static function
6051 # and D for any global variable.
6052 # Also find C++ and __fastcall symbols from MSVC++,
6053 # which start with @ or ?.
6054 lt_cv_sys_global_symbol_pipe="$AWK '"\
6055 " {last_section=section; section=\$ 3};"\
6056 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6057 " \$ 0!~/External *\|/{next};"\
6058 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6059 " {if(hide[section]) next};"\
6060 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6061 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6062 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6063 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6064 " ' prfx=^$ac_symprfx"
6066 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6069 # Check to see that the pipe works correctly.
6073 cat > conftest.$ac_ext <<_LT_EOF
6078 void nm_test_func(void);
6079 void nm_test_func(void){}
6083 int main(){nm_test_var='a';nm_test_func();return(0);}
6086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6087 (eval $ac_compile) 2>&5
6089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6090 (exit $ac_status); }; then
6091 # Now try to grab the symbols.
6093 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6094 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6097 (exit $ac_status); } && test -s "$nlist"; then
6098 # Try sorting and uniquifying the output.
6099 if sort "$nlist" | uniq > "$nlist"T; then
6100 mv -f "$nlist"T "$nlist"
6105 # Make sure that we snagged all the symbols we need.
6106 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6107 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6108 cat <<_LT_EOF > conftest.$ac_ext
6114 # Now generate the symbol file.
6115 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6117 cat <<_LT_EOF >> conftest.$ac_ext
6119 /* The mapping between symbol names and symbols. */
6124 lt__PROGRAM__LTX_preloaded_symbols[] =
6126 { "@PROGRAM@", (void *) 0 },
6128 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6129 cat <<\_LT_EOF >> conftest.$ac_ext
6133 /* This works around a problem in FreeBSD linker */
6134 #ifdef FREEBSD_WORKAROUND
6135 static const void *lt_preloaded_setup() {
6136 return lt__PROGRAM__LTX_preloaded_symbols;
6144 # Now try linking the two files.
6145 mv conftest.$ac_objext conftstm.$ac_objext
6146 lt_save_LIBS="$LIBS"
6147 lt_save_CFLAGS="$CFLAGS"
6148 LIBS="conftstm.$ac_objext"
6149 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6151 (eval $ac_link) 2>&5
6153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6154 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6157 LIBS="$lt_save_LIBS"
6158 CFLAGS="$lt_save_CFLAGS"
6160 echo "cannot find nm_test_func in $nlist" >&5
6163 echo "cannot find nm_test_var in $nlist" >&5
6166 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6169 echo "$progname: failed program was:" >&5
6170 cat conftest.$ac_ext >&5
6172 rm -rf conftest* conftst*
6174 # Do not use the global_symbol_pipe unless it works.
6175 if test "$pipe_works" = yes; then
6178 lt_cv_sys_global_symbol_pipe=
6184 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6185 lt_cv_sys_global_symbol_to_cdecl=
6187 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6188 { echo "$as_me:$LINENO: result: failed" >&5
6189 echo "${ECHO_T}failed" >&6; }
6191 { echo "$as_me:$LINENO: result: ok" >&5
6192 echo "${ECHO_T}ok" >&6; }
6216 # Check whether --enable-libtool-lock was given.
6217 if test "${enable_libtool_lock+set}" = set; then
6218 enableval=$enable_libtool_lock;
6221 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6223 # Some flags need to be propagated to the compiler or linker for good
6227 # Find out which ABI we are using.
6228 echo 'int i;' > conftest.$ac_ext
6229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6230 (eval $ac_compile) 2>&5
6232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6233 (exit $ac_status); }; then
6234 case `/usr/bin/file conftest.$ac_objext` in
6246 # Find out which ABI we are using.
6247 echo '#line 6247 "configure"' > conftest.$ac_ext
6248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6249 (eval $ac_compile) 2>&5
6251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6252 (exit $ac_status); }; then
6253 if test "$lt_cv_prog_gnu_ld" = yes; then
6254 case `/usr/bin/file conftest.$ac_objext` in
6256 LD="${LD-ld} -melf32bsmip"
6259 LD="${LD-ld} -melf32bmipn32"
6262 LD="${LD-ld} -melf64bmip"
6266 case `/usr/bin/file conftest.$ac_objext` in
6282 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6283 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6284 # Find out which ABI we are using.
6285 echo 'int i;' > conftest.$ac_ext
6286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6287 (eval $ac_compile) 2>&5
6289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290 (exit $ac_status); }; then
6291 case `/usr/bin/file conftest.o` in
6294 x86_64-*kfreebsd*-gnu)
6295 LD="${LD-ld} -m elf_i386_fbsd"
6298 LD="${LD-ld} -m elf_i386"
6300 ppc64-*linux*|powerpc64-*linux*)
6301 LD="${LD-ld} -m elf32ppclinux"
6304 LD="${LD-ld} -m elf_s390"
6307 LD="${LD-ld} -m elf32_sparc"
6313 x86_64-*kfreebsd*-gnu)
6314 LD="${LD-ld} -m elf_x86_64_fbsd"
6317 LD="${LD-ld} -m elf_x86_64"
6319 ppc*-*linux*|powerpc*-*linux*)
6320 LD="${LD-ld} -m elf64ppc"
6322 s390*-*linux*|s390*-*tpf*)
6323 LD="${LD-ld} -m elf64_s390"
6326 LD="${LD-ld} -m elf64_sparc"
6336 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6337 SAVE_CFLAGS="$CFLAGS"
6338 CFLAGS="$CFLAGS -belf"
6339 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6340 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
6341 if test "${lt_cv_cc_needs_belf+set}" = set; then
6342 echo $ECHO_N "(cached) $ECHO_C" >&6
6345 ac_cpp='$CPP $CPPFLAGS'
6346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6350 cat >conftest.$ac_ext <<_ACEOF
6353 cat confdefs.h >>conftest.$ac_ext
6354 cat >>conftest.$ac_ext <<_ACEOF
6355 /* end confdefs.h. */
6365 rm -f conftest.$ac_objext conftest$ac_exeext
6366 if { (ac_try="$ac_link"
6368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6369 *) ac_try_echo=$ac_try;;
6371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6372 (eval "$ac_link") 2>conftest.er1
6374 grep -v '^ *+' conftest.er1 >conftest.err
6376 cat conftest.err >&5
6377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6378 (exit $ac_status); } && {
6379 test -z "$ac_c_werror_flag" ||
6380 test ! -s conftest.err
6381 } && test -s conftest$ac_exeext &&
6382 $as_test_x conftest$ac_exeext; then
6383 lt_cv_cc_needs_belf=yes
6385 echo "$as_me: failed program was:" >&5
6386 sed 's/^/| /' conftest.$ac_ext >&5
6388 lt_cv_cc_needs_belf=no
6391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6392 conftest$ac_exeext conftest.$ac_ext
6394 ac_cpp='$CPP $CPPFLAGS'
6395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6400 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6401 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
6402 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6403 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6404 CFLAGS="$SAVE_CFLAGS"
6408 # Find out which ABI we are using.
6409 echo 'int i;' > conftest.$ac_ext
6410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6411 (eval $ac_compile) 2>&5
6413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6414 (exit $ac_status); }; then
6415 case `/usr/bin/file conftest.o` in
6417 case $lt_cv_prog_gnu_ld in
6418 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6420 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6432 need_locks="$enable_libtool_lock"
6436 rhapsody* | darwin*)
6437 if test -n "$ac_tool_prefix"; then
6438 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6439 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6440 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6442 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6443 echo $ECHO_N "(cached) $ECHO_C" >&6
6445 if test -n "$DSYMUTIL"; then
6446 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6452 test -z "$as_dir" && as_dir=.
6453 for ac_exec_ext in '' $ac_executable_extensions; do
6454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6455 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6465 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6466 if test -n "$DSYMUTIL"; then
6467 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
6468 echo "${ECHO_T}$DSYMUTIL" >&6; }
6470 { echo "$as_me:$LINENO: result: no" >&5
6471 echo "${ECHO_T}no" >&6; }
6476 if test -z "$ac_cv_prog_DSYMUTIL"; then
6477 ac_ct_DSYMUTIL=$DSYMUTIL
6478 # Extract the first word of "dsymutil", so it can be a program name with args.
6479 set dummy dsymutil; ac_word=$2
6480 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6482 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6483 echo $ECHO_N "(cached) $ECHO_C" >&6
6485 if test -n "$ac_ct_DSYMUTIL"; then
6486 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6492 test -z "$as_dir" && as_dir=.
6493 for ac_exec_ext in '' $ac_executable_extensions; do
6494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6495 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6505 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6506 if test -n "$ac_ct_DSYMUTIL"; then
6507 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
6508 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
6510 { echo "$as_me:$LINENO: result: no" >&5
6511 echo "${ECHO_T}no" >&6; }
6514 if test "x$ac_ct_DSYMUTIL" = x; then
6517 case $cross_compiling:$ac_tool_warned in
6519 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6520 whose name does not start with the host triplet. If you think this
6521 configuration is useful to you, please write to autoconf@gnu.org." >&5
6522 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6523 whose name does not start with the host triplet. If you think this
6524 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6525 ac_tool_warned=yes ;;
6527 DSYMUTIL=$ac_ct_DSYMUTIL
6530 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6533 if test -n "$ac_tool_prefix"; then
6534 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6535 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6536 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6538 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6539 echo $ECHO_N "(cached) $ECHO_C" >&6
6541 if test -n "$NMEDIT"; then
6542 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6548 test -z "$as_dir" && as_dir=.
6549 for ac_exec_ext in '' $ac_executable_extensions; do
6550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6551 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6561 NMEDIT=$ac_cv_prog_NMEDIT
6562 if test -n "$NMEDIT"; then
6563 { echo "$as_me:$LINENO: result: $NMEDIT" >&5
6564 echo "${ECHO_T}$NMEDIT" >&6; }
6566 { echo "$as_me:$LINENO: result: no" >&5
6567 echo "${ECHO_T}no" >&6; }
6572 if test -z "$ac_cv_prog_NMEDIT"; then
6573 ac_ct_NMEDIT=$NMEDIT
6574 # Extract the first word of "nmedit", so it can be a program name with args.
6575 set dummy nmedit; ac_word=$2
6576 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6578 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6579 echo $ECHO_N "(cached) $ECHO_C" >&6
6581 if test -n "$ac_ct_NMEDIT"; then
6582 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6588 test -z "$as_dir" && as_dir=.
6589 for ac_exec_ext in '' $ac_executable_extensions; do
6590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6591 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6601 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6602 if test -n "$ac_ct_NMEDIT"; then
6603 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6604 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
6606 { echo "$as_me:$LINENO: result: no" >&5
6607 echo "${ECHO_T}no" >&6; }
6610 if test "x$ac_ct_NMEDIT" = x; then
6613 case $cross_compiling:$ac_tool_warned in
6615 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6616 whose name does not start with the host triplet. If you think this
6617 configuration is useful to you, please write to autoconf@gnu.org." >&5
6618 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6619 whose name does not start with the host triplet. If you think this
6620 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6621 ac_tool_warned=yes ;;
6623 NMEDIT=$ac_ct_NMEDIT
6626 NMEDIT="$ac_cv_prog_NMEDIT"
6629 if test -n "$ac_tool_prefix"; then
6630 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6631 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6632 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6634 if test "${ac_cv_prog_LIPO+set}" = set; then
6635 echo $ECHO_N "(cached) $ECHO_C" >&6
6637 if test -n "$LIPO"; then
6638 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6644 test -z "$as_dir" && as_dir=.
6645 for ac_exec_ext in '' $ac_executable_extensions; do
6646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6647 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6657 LIPO=$ac_cv_prog_LIPO
6658 if test -n "$LIPO"; then
6659 { echo "$as_me:$LINENO: result: $LIPO" >&5
6660 echo "${ECHO_T}$LIPO" >&6; }
6662 { echo "$as_me:$LINENO: result: no" >&5
6663 echo "${ECHO_T}no" >&6; }
6668 if test -z "$ac_cv_prog_LIPO"; then
6670 # Extract the first word of "lipo", so it can be a program name with args.
6671 set dummy lipo; ac_word=$2
6672 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6674 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6675 echo $ECHO_N "(cached) $ECHO_C" >&6
6677 if test -n "$ac_ct_LIPO"; then
6678 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6684 test -z "$as_dir" && as_dir=.
6685 for ac_exec_ext in '' $ac_executable_extensions; do
6686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6687 ac_cv_prog_ac_ct_LIPO="lipo"
6688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6697 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6698 if test -n "$ac_ct_LIPO"; then
6699 { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6700 echo "${ECHO_T}$ac_ct_LIPO" >&6; }
6702 { echo "$as_me:$LINENO: result: no" >&5
6703 echo "${ECHO_T}no" >&6; }
6706 if test "x$ac_ct_LIPO" = x; then
6709 case $cross_compiling:$ac_tool_warned in
6711 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6712 whose name does not start with the host triplet. If you think this
6713 configuration is useful to you, please write to autoconf@gnu.org." >&5
6714 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6715 whose name does not start with the host triplet. If you think this
6716 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6717 ac_tool_warned=yes ;;
6722 LIPO="$ac_cv_prog_LIPO"
6725 if test -n "$ac_tool_prefix"; then
6726 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6727 set dummy ${ac_tool_prefix}otool; ac_word=$2
6728 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6730 if test "${ac_cv_prog_OTOOL+set}" = set; then
6731 echo $ECHO_N "(cached) $ECHO_C" >&6
6733 if test -n "$OTOOL"; then
6734 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6740 test -z "$as_dir" && as_dir=.
6741 for ac_exec_ext in '' $ac_executable_extensions; do
6742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6743 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6753 OTOOL=$ac_cv_prog_OTOOL
6754 if test -n "$OTOOL"; then
6755 { echo "$as_me:$LINENO: result: $OTOOL" >&5
6756 echo "${ECHO_T}$OTOOL" >&6; }
6758 { echo "$as_me:$LINENO: result: no" >&5
6759 echo "${ECHO_T}no" >&6; }
6764 if test -z "$ac_cv_prog_OTOOL"; then
6766 # Extract the first word of "otool", so it can be a program name with args.
6767 set dummy otool; ac_word=$2
6768 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6770 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6771 echo $ECHO_N "(cached) $ECHO_C" >&6
6773 if test -n "$ac_ct_OTOOL"; then
6774 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6780 test -z "$as_dir" && as_dir=.
6781 for ac_exec_ext in '' $ac_executable_extensions; do
6782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6783 ac_cv_prog_ac_ct_OTOOL="otool"
6784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6793 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6794 if test -n "$ac_ct_OTOOL"; then
6795 { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6796 echo "${ECHO_T}$ac_ct_OTOOL" >&6; }
6798 { echo "$as_me:$LINENO: result: no" >&5
6799 echo "${ECHO_T}no" >&6; }
6802 if test "x$ac_ct_OTOOL" = x; then
6805 case $cross_compiling:$ac_tool_warned in
6807 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6808 whose name does not start with the host triplet. If you think this
6809 configuration is useful to you, please write to autoconf@gnu.org." >&5
6810 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6811 whose name does not start with the host triplet. If you think this
6812 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6813 ac_tool_warned=yes ;;
6818 OTOOL="$ac_cv_prog_OTOOL"
6821 if test -n "$ac_tool_prefix"; then
6822 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6823 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6824 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6826 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6827 echo $ECHO_N "(cached) $ECHO_C" >&6
6829 if test -n "$OTOOL64"; then
6830 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6836 test -z "$as_dir" && as_dir=.
6837 for ac_exec_ext in '' $ac_executable_extensions; do
6838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6839 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6849 OTOOL64=$ac_cv_prog_OTOOL64
6850 if test -n "$OTOOL64"; then
6851 { echo "$as_me:$LINENO: result: $OTOOL64" >&5
6852 echo "${ECHO_T}$OTOOL64" >&6; }
6854 { echo "$as_me:$LINENO: result: no" >&5
6855 echo "${ECHO_T}no" >&6; }
6860 if test -z "$ac_cv_prog_OTOOL64"; then
6861 ac_ct_OTOOL64=$OTOOL64
6862 # Extract the first word of "otool64", so it can be a program name with args.
6863 set dummy otool64; ac_word=$2
6864 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6866 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6867 echo $ECHO_N "(cached) $ECHO_C" >&6
6869 if test -n "$ac_ct_OTOOL64"; then
6870 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6876 test -z "$as_dir" && as_dir=.
6877 for ac_exec_ext in '' $ac_executable_extensions; do
6878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6879 ac_cv_prog_ac_ct_OTOOL64="otool64"
6880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6889 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6890 if test -n "$ac_ct_OTOOL64"; then
6891 { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6892 echo "${ECHO_T}$ac_ct_OTOOL64" >&6; }
6894 { echo "$as_me:$LINENO: result: no" >&5
6895 echo "${ECHO_T}no" >&6; }
6898 if test "x$ac_ct_OTOOL64" = x; then
6901 case $cross_compiling:$ac_tool_warned in
6903 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6904 whose name does not start with the host triplet. If you think this
6905 configuration is useful to you, please write to autoconf@gnu.org." >&5
6906 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6907 whose name does not start with the host triplet. If you think this
6908 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6909 ac_tool_warned=yes ;;
6911 OTOOL64=$ac_ct_OTOOL64
6914 OTOOL64="$ac_cv_prog_OTOOL64"
6943 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6944 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
6945 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6946 echo $ECHO_N "(cached) $ECHO_C" >&6
6948 lt_cv_apple_cc_single_mod=no
6949 if test -z "${LT_MULTI_MODULE}"; then
6950 # By default we will add the -single_module flag. You can override
6951 # by either setting the environment variable LT_MULTI_MODULE
6952 # non-empty at configure time, or by adding -multi_module to the
6954 rm -rf libconftest.dylib*
6955 echo "int foo(void){return 1;}" > conftest.c
6956 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6957 -dynamiclib -Wl,-single_module conftest.c" >&5
6958 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6959 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6961 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6962 lt_cv_apple_cc_single_mod=yes
6964 cat conftest.err >&5
6966 rm -rf libconftest.dylib*
6970 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6971 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
6972 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6973 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
6974 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6975 echo $ECHO_N "(cached) $ECHO_C" >&6
6977 lt_cv_ld_exported_symbols_list=no
6978 save_LDFLAGS=$LDFLAGS
6979 echo "_main" > conftest.sym
6980 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6981 cat >conftest.$ac_ext <<_ACEOF
6984 cat confdefs.h >>conftest.$ac_ext
6985 cat >>conftest.$ac_ext <<_ACEOF
6986 /* end confdefs.h. */
6996 rm -f conftest.$ac_objext conftest$ac_exeext
6997 if { (ac_try="$ac_link"
6999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7000 *) ac_try_echo=$ac_try;;
7002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7003 (eval "$ac_link") 2>conftest.er1
7005 grep -v '^ *+' conftest.er1 >conftest.err
7007 cat conftest.err >&5
7008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7009 (exit $ac_status); } && {
7010 test -z "$ac_c_werror_flag" ||
7011 test ! -s conftest.err
7012 } && test -s conftest$ac_exeext &&
7013 $as_test_x conftest$ac_exeext; then
7014 lt_cv_ld_exported_symbols_list=yes
7016 echo "$as_me: failed program was:" >&5
7017 sed 's/^/| /' conftest.$ac_ext >&5
7019 lt_cv_ld_exported_symbols_list=no
7022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7023 conftest$ac_exeext conftest.$ac_ext
7024 LDFLAGS="$save_LDFLAGS"
7027 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7028 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
7030 rhapsody* | darwin1.[012])
7031 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7033 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7034 darwin*) # darwin 5.x on
7035 # if running on 10.5 or later, the deployment target defaults
7036 # to the OS version, if on x86, and 10.4, the deployment
7037 # target defaults to 10.4. Don't you love it?
7038 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7039 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7040 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7042 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7044 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7048 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7049 _lt_dar_single_mod='$single_module'
7051 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7052 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7054 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7056 if test "$DSYMUTIL" != ":"; then
7057 _lt_dsymutil='~$DSYMUTIL $lib || :'
7065 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7066 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7067 if test "${ac_cv_header_stdc+set}" = set; then
7068 echo $ECHO_N "(cached) $ECHO_C" >&6
7070 cat >conftest.$ac_ext <<_ACEOF
7073 cat confdefs.h >>conftest.$ac_ext
7074 cat >>conftest.$ac_ext <<_ACEOF
7075 /* end confdefs.h. */
7089 rm -f conftest.$ac_objext
7090 if { (ac_try="$ac_compile"
7092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7093 *) ac_try_echo=$ac_try;;
7095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7096 (eval "$ac_compile") 2>conftest.er1
7098 grep -v '^ *+' conftest.er1 >conftest.err
7100 cat conftest.err >&5
7101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7102 (exit $ac_status); } && {
7103 test -z "$ac_c_werror_flag" ||
7104 test ! -s conftest.err
7105 } && test -s conftest.$ac_objext; then
7106 ac_cv_header_stdc=yes
7108 echo "$as_me: failed program was:" >&5
7109 sed 's/^/| /' conftest.$ac_ext >&5
7111 ac_cv_header_stdc=no
7114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7116 if test $ac_cv_header_stdc = yes; then
7117 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7118 cat >conftest.$ac_ext <<_ACEOF
7121 cat confdefs.h >>conftest.$ac_ext
7122 cat >>conftest.$ac_ext <<_ACEOF
7123 /* end confdefs.h. */
7127 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7128 $EGREP "memchr" >/dev/null 2>&1; then
7131 ac_cv_header_stdc=no
7137 if test $ac_cv_header_stdc = yes; then
7138 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7139 cat >conftest.$ac_ext <<_ACEOF
7142 cat confdefs.h >>conftest.$ac_ext
7143 cat >>conftest.$ac_ext <<_ACEOF
7144 /* end confdefs.h. */
7148 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7149 $EGREP "free" >/dev/null 2>&1; then
7152 ac_cv_header_stdc=no
7158 if test $ac_cv_header_stdc = yes; then
7159 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7160 if test "$cross_compiling" = yes; then
7163 cat >conftest.$ac_ext <<_ACEOF
7166 cat confdefs.h >>conftest.$ac_ext
7167 cat >>conftest.$ac_ext <<_ACEOF
7168 /* end confdefs.h. */
7171 #if ((' ' & 0x0FF) == 0x020)
7172 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7173 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7175 # define ISLOWER(c) \
7176 (('a' <= (c) && (c) <= 'i') \
7177 || ('j' <= (c) && (c) <= 'r') \
7178 || ('s' <= (c) && (c) <= 'z'))
7179 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7182 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7187 for (i = 0; i < 256; i++)
7188 if (XOR (islower (i), ISLOWER (i))
7189 || toupper (i) != TOUPPER (i))
7194 rm -f conftest$ac_exeext
7195 if { (ac_try="$ac_link"
7197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7198 *) ac_try_echo=$ac_try;;
7200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7201 (eval "$ac_link") 2>&5
7203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7204 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7205 { (case "(($ac_try" in
7206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7207 *) ac_try_echo=$ac_try;;
7209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7210 (eval "$ac_try") 2>&5
7212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7213 (exit $ac_status); }; }; then
7216 echo "$as_me: program exited with status $ac_status" >&5
7217 echo "$as_me: failed program was:" >&5
7218 sed 's/^/| /' conftest.$ac_ext >&5
7221 ac_cv_header_stdc=no
7223 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7229 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7230 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7231 if test $ac_cv_header_stdc = yes; then
7233 cat >>confdefs.h <<\_ACEOF
7234 #define STDC_HEADERS 1
7239 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7249 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7250 inttypes.h stdint.h unistd.h
7252 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7253 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7255 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7256 echo $ECHO_N "(cached) $ECHO_C" >&6
7258 cat >conftest.$ac_ext <<_ACEOF
7261 cat confdefs.h >>conftest.$ac_ext
7262 cat >>conftest.$ac_ext <<_ACEOF
7263 /* end confdefs.h. */
7264 $ac_includes_default
7266 #include <$ac_header>
7268 rm -f conftest.$ac_objext
7269 if { (ac_try="$ac_compile"
7271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7272 *) ac_try_echo=$ac_try;;
7274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7275 (eval "$ac_compile") 2>conftest.er1
7277 grep -v '^ *+' conftest.er1 >conftest.err
7279 cat conftest.err >&5
7280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7281 (exit $ac_status); } && {
7282 test -z "$ac_c_werror_flag" ||
7283 test ! -s conftest.err
7284 } && test -s conftest.$ac_objext; then
7285 eval "$as_ac_Header=yes"
7287 echo "$as_me: failed program was:" >&5
7288 sed 's/^/| /' conftest.$ac_ext >&5
7290 eval "$as_ac_Header=no"
7293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7295 ac_res=`eval echo '${'$as_ac_Header'}'`
7296 { echo "$as_me:$LINENO: result: $ac_res" >&5
7297 echo "${ECHO_T}$ac_res" >&6; }
7298 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7299 cat >>confdefs.h <<_ACEOF
7300 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7309 for ac_header in dlfcn.h
7311 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7312 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7313 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7314 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7315 echo $ECHO_N "(cached) $ECHO_C" >&6
7317 cat >conftest.$ac_ext <<_ACEOF
7320 cat confdefs.h >>conftest.$ac_ext
7321 cat >>conftest.$ac_ext <<_ACEOF
7322 /* end confdefs.h. */
7323 $ac_includes_default
7325 #include <$ac_header>
7327 rm -f conftest.$ac_objext
7328 if { (ac_try="$ac_compile"
7330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7331 *) ac_try_echo=$ac_try;;
7333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7334 (eval "$ac_compile") 2>conftest.er1
7336 grep -v '^ *+' conftest.er1 >conftest.err
7338 cat conftest.err >&5
7339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7340 (exit $ac_status); } && {
7341 test -z "$ac_c_werror_flag" ||
7342 test ! -s conftest.err
7343 } && test -s conftest.$ac_objext; then
7344 eval "$as_ac_Header=yes"
7346 echo "$as_me: failed program was:" >&5
7347 sed 's/^/| /' conftest.$ac_ext >&5
7349 eval "$as_ac_Header=no"
7352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7354 ac_res=`eval echo '${'$as_ac_Header'}'`
7355 { echo "$as_me:$LINENO: result: $ac_res" >&5
7356 echo "${ECHO_T}$ac_res" >&6; }
7357 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7358 cat >>confdefs.h <<_ACEOF
7359 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7376 # Check whether --enable-shared was given.
7377 if test "${enable_shared+set}" = set; then
7378 enableval=$enable_shared; p=${PACKAGE-default}
7380 yes) enable_shared=yes ;;
7381 no) enable_shared=no ;;
7384 # Look at the argument we got. We use all the common list separators.
7385 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7386 for pkg in $enableval; do
7388 if test "X$pkg" = "X$p"; then
7407 # Check whether --enable-static was given.
7408 if test "${enable_static+set}" = set; then
7409 enableval=$enable_static; p=${PACKAGE-default}
7411 yes) enable_static=yes ;;
7412 no) enable_static=no ;;
7415 # Look at the argument we got. We use all the common list separators.
7416 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7417 for pkg in $enableval; do
7419 if test "X$pkg" = "X$p"; then
7439 # Check whether --with-pic was given.
7440 if test "${with_pic+set}" = set; then
7441 withval=$with_pic; pic_mode="$withval"
7447 test -z "$pic_mode" && pic_mode=default
7455 # Check whether --enable-fast-install was given.
7456 if test "${enable_fast_install+set}" = set; then
7457 enableval=$enable_fast_install; p=${PACKAGE-default}
7459 yes) enable_fast_install=yes ;;
7460 no) enable_fast_install=no ;;
7462 enable_fast_install=no
7463 # Look at the argument we got. We use all the common list separators.
7464 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7465 for pkg in $enableval; do
7467 if test "X$pkg" = "X$p"; then
7468 enable_fast_install=yes
7475 enable_fast_install=yes
7488 # This can be used to rebuild libtool when needed
7489 LIBTOOL_DEPS="$ltmain"
7491 # Always use our own libtool.
7492 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7518 test -z "$LN_S" && LN_S="ln -s"
7533 if test -n "${ZSH_VERSION+set}" ; then
7534 setopt NO_GLOB_SUBST
7537 { echo "$as_me:$LINENO: checking for objdir" >&5
7538 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7539 if test "${lt_cv_objdir+set}" = set; then
7540 echo $ECHO_N "(cached) $ECHO_C" >&6
7542 rm -f .libs 2>/dev/null
7543 mkdir .libs 2>/dev/null
7544 if test -d .libs; then
7547 # MS-DOS does not allow filenames that begin with a dot.
7550 rmdir .libs 2>/dev/null
7552 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7553 echo "${ECHO_T}$lt_cv_objdir" >&6; }
7554 objdir=$lt_cv_objdir
7560 cat >>confdefs.h <<_ACEOF
7561 #define LT_OBJDIR "$lt_cv_objdir/"
7582 # AIX sometimes has problems with the GCC collect2 program. For some
7583 # reason, if we set the COLLECT_NAMES environment variable, the problems
7584 # vanish in a puff of smoke.
7585 if test "X${COLLECT_NAMES+set}" != Xset; then
7587 export COLLECT_NAMES
7592 # Sed substitution that helps us do robust quoting. It backslashifies
7593 # metacharacters that are still active within double-quoted strings.
7594 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7596 # Same as above, but do not quote variable references.
7597 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7599 # Sed substitution to delay expansion of an escaped shell variable in a
7600 # double_quote_subst'ed string.
7601 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7603 # Sed substitution to delay expansion of an escaped single quote.
7604 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7606 # Sed substitution to avoid accidental globbing in evaled expressions
7607 no_glob_subst='s/\*/\\\*/g'
7611 can_build_shared=yes
7613 # All known linkers require a `.a' archive for static linking (except MSVC,
7614 # which needs '.lib').
7617 with_gnu_ld="$lt_cv_prog_gnu_ld"
7620 old_CFLAGS="$CFLAGS"
7622 # Set sane defaults for various variables
7623 test -z "$CC" && CC=cc
7624 test -z "$LTCC" && LTCC=$CC
7625 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7626 test -z "$LD" && LD=ld
7627 test -z "$ac_objext" && ac_objext=o
7629 for cc_temp in $compiler""; do
7631 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7632 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7637 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7640 # Only perform the check for file, if the check method requires it
7641 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7642 case $deplibs_check_method in
7644 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7645 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7646 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7647 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7648 echo $ECHO_N "(cached) $ECHO_C" >&6
7652 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7655 lt_save_MAGIC_CMD="$MAGIC_CMD"
7656 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7657 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7658 for ac_dir in $ac_dummy; do
7660 test -z "$ac_dir" && ac_dir=.
7661 if test -f $ac_dir/${ac_tool_prefix}file; then
7662 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7663 if test -n "$file_magic_test_file"; then
7664 case $deplibs_check_method in
7666 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7667 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7668 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7669 $EGREP "$file_magic_regex" > /dev/null; then
7674 *** Warning: the command libtool uses to detect shared libraries,
7675 *** $file_magic_cmd, produces output that libtool cannot recognize.
7676 *** The result is that libtool may fail to recognize shared libraries
7677 *** as such. This will affect the creation of libtool libraries that
7678 *** depend on shared libraries, but programs linked with such libtool
7679 *** libraries will work regardless of this problem. Nevertheless, you
7680 *** may want to report the problem to your system manager and/or to
7681 *** bug-libtool@gnu.org
7691 MAGIC_CMD="$lt_save_MAGIC_CMD"
7696 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7697 if test -n "$MAGIC_CMD"; then
7698 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7699 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7701 { echo "$as_me:$LINENO: result: no" >&5
7702 echo "${ECHO_T}no" >&6; }
7709 if test -z "$lt_cv_path_MAGIC_CMD"; then
7710 if test -n "$ac_tool_prefix"; then
7711 { echo "$as_me:$LINENO: checking for file" >&5
7712 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7713 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7714 echo $ECHO_N "(cached) $ECHO_C" >&6
7718 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7721 lt_save_MAGIC_CMD="$MAGIC_CMD"
7722 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7723 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7724 for ac_dir in $ac_dummy; do
7726 test -z "$ac_dir" && ac_dir=.
7727 if test -f $ac_dir/file; then
7728 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7729 if test -n "$file_magic_test_file"; then
7730 case $deplibs_check_method in
7732 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7733 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7734 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7735 $EGREP "$file_magic_regex" > /dev/null; then
7740 *** Warning: the command libtool uses to detect shared libraries,
7741 *** $file_magic_cmd, produces output that libtool cannot recognize.
7742 *** The result is that libtool may fail to recognize shared libraries
7743 *** as such. This will affect the creation of libtool libraries that
7744 *** depend on shared libraries, but programs linked with such libtool
7745 *** libraries will work regardless of this problem. Nevertheless, you
7746 *** may want to report the problem to your system manager and/or to
7747 *** bug-libtool@gnu.org
7757 MAGIC_CMD="$lt_save_MAGIC_CMD"
7762 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7763 if test -n "$MAGIC_CMD"; then
7764 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7765 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7767 { echo "$as_me:$LINENO: result: no" >&5
7768 echo "${ECHO_T}no" >&6; }
7781 # Use C for the default configuration in the libtool script
7785 ac_cpp='$CPP $CPPFLAGS'
7786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7791 # Source file extension for C test sources.
7794 # Object file extension for compiled C test sources.
7798 # Code to be used in simple compile tests
7799 lt_simple_compile_test_code="int some_variable = 0;"
7801 # Code to be used in simple link tests
7802 lt_simple_link_test_code='int main(){return(0);}'
7810 # If no C compiler was specified, use CC.
7813 # If no C compiler flags were specified, use CFLAGS.
7814 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7816 # Allow CC to be a program name with arguments.
7819 # Save the default compiler, since it gets overwritten when the other
7820 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7821 compiler_DEFAULT=$CC
7823 # save warnings/boilerplate of simple test code
7824 ac_outfile=conftest.$ac_objext
7825 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7826 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7827 _lt_compiler_boilerplate=`cat conftest.err`
7830 ac_outfile=conftest.$ac_objext
7831 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7832 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7833 _lt_linker_boilerplate=`cat conftest.err`
7837 if test -n "$compiler"; then
7839 lt_prog_compiler_no_builtin_flag=
7841 if test "$GCC" = yes; then
7842 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7844 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7845 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7846 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7847 echo $ECHO_N "(cached) $ECHO_C" >&6
7849 lt_cv_prog_compiler_rtti_exceptions=no
7850 ac_outfile=conftest.$ac_objext
7851 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7852 lt_compiler_flag="-fno-rtti -fno-exceptions"
7853 # Insert the option either (1) after the last *FLAGS variable, or
7854 # (2) before a word containing "conftest.", or (3) at the end.
7855 # Note that $ac_compile itself does not contain backslashes and begins
7856 # with a dollar sign (not a hyphen), so the echo should work correctly.
7857 # The option is referenced via a variable to avoid confusing sed.
7858 lt_compile=`echo "$ac_compile" | $SED \
7859 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7860 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7861 -e 's:$: $lt_compiler_flag:'`
7862 (eval echo "\"\$as_me:7862: $lt_compile\"" >&5)
7863 (eval "$lt_compile" 2>conftest.err)
7865 cat conftest.err >&5
7866 echo "$as_me:7866: \$? = $ac_status" >&5
7867 if (exit $ac_status) && test -s "$ac_outfile"; then
7868 # The compiler can only warn and ignore the option if not recognized
7869 # So say no if there are warnings other than the usual output.
7870 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7871 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7872 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7873 lt_cv_prog_compiler_rtti_exceptions=yes
7879 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7880 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7882 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7883 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7895 lt_prog_compiler_wl=
7896 lt_prog_compiler_pic=
7897 lt_prog_compiler_static=
7899 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7900 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7902 if test "$GCC" = yes; then
7903 lt_prog_compiler_wl='-Wl,'
7904 lt_prog_compiler_static='-static'
7908 # All AIX code is PIC.
7909 if test "$host_cpu" = ia64; then
7910 # AIX 5 now supports IA64 processor
7911 lt_prog_compiler_static='-Bstatic'
7918 # see comment about AmigaOS4 .so support
7919 lt_prog_compiler_pic='-fPIC'
7922 # FIXME: we need at least 68020 code to build shared libraries, but
7923 # adding the `-m68020' flag to GCC prevents building anything better,
7925 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7930 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7931 # PIC is the default for these OSes.
7934 mingw* | cygwin* | pw32* | os2* | cegcc*)
7935 # This hack is so that the source file can tell whether it is being
7936 # built for inclusion in a dll (and should export symbols for example).
7937 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7938 # (--disable-auto-import) libraries
7939 lt_prog_compiler_pic='-DDLL_EXPORT'
7942 darwin* | rhapsody*)
7943 # PIC is the default on this platform
7944 # Common symbols not allowed in MH_DYLIB files
7945 lt_prog_compiler_pic='-fno-common'
7949 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7950 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7951 # sets the default TLS model and affects inlining.
7957 lt_prog_compiler_pic='-fPIC'
7963 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7964 # Instead, we relocate shared libraries at runtime.
7968 # Just because we use GCC doesn't mean we suddenly get shared libraries
7969 # on systems that don't support them.
7970 lt_prog_compiler_can_build_shared=no
7975 # QNX uses GNU C++, but need to define -shared option too, otherwise
7977 lt_prog_compiler_pic='-fPIC -shared'
7981 if test -d /usr/nec; then
7982 lt_prog_compiler_pic=-Kconform_pic
7987 lt_prog_compiler_pic='-fPIC'
7991 # PORTME Check for flag to pass linker flags through the system compiler.
7994 lt_prog_compiler_wl='-Wl,'
7995 if test "$host_cpu" = ia64; then
7996 # AIX 5 now supports IA64 processor
7997 lt_prog_compiler_static='-Bstatic'
7999 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8003 mingw* | cygwin* | pw32* | os2* | cegcc*)
8004 # This hack is so that the source file can tell whether it is being
8005 # built for inclusion in a dll (and should export symbols for example).
8006 lt_prog_compiler_pic='-DDLL_EXPORT'
8009 hpux9* | hpux10* | hpux11*)
8010 lt_prog_compiler_wl='-Wl,'
8011 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8018 lt_prog_compiler_pic='+Z'
8021 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8022 lt_prog_compiler_static='${wl}-a ${wl}archive'
8025 irix5* | irix6* | nonstopux*)
8026 lt_prog_compiler_wl='-Wl,'
8027 # PIC (with -KPIC) is the default.
8028 lt_prog_compiler_static='-non_shared'
8031 linux* | k*bsd*-gnu)
8032 case $cc_basename in
8033 # old Intel for x86_64 which still supported -KPIC.
8035 lt_prog_compiler_wl='-Wl,'
8036 lt_prog_compiler_pic='-KPIC'
8037 lt_prog_compiler_static='-static'
8039 # icc used to be incompatible with GCC.
8040 # ICC 10 doesn't accept -KPIC any more.
8042 lt_prog_compiler_wl='-Wl,'
8043 lt_prog_compiler_pic='-fPIC'
8044 lt_prog_compiler_static='-static'
8046 # Lahey Fortran 8.1.
8048 lt_prog_compiler_wl='-Wl,'
8049 lt_prog_compiler_pic='--shared'
8050 lt_prog_compiler_static='--static'
8052 pgcc* | pgf77* | pgf90* | pgf95*)
8053 # Portland Group compilers (*not* the Pentium gcc compiler,
8054 # which looks to be a dead project)
8055 lt_prog_compiler_wl='-Wl,'
8056 lt_prog_compiler_pic='-fpic'
8057 lt_prog_compiler_static='-Bstatic'
8060 lt_prog_compiler_wl='-Wl,'
8061 # All Alpha code is PIC.
8062 lt_prog_compiler_static='-non_shared'
8065 # IBM XL C 8.0/Fortran 10.1 on PPC
8066 lt_prog_compiler_wl='-Wl,'
8067 lt_prog_compiler_pic='-qpic'
8068 lt_prog_compiler_static='-qstaticlink'
8071 case `$CC -V 2>&1 | sed 5q` in
8074 lt_prog_compiler_pic='-KPIC'
8075 lt_prog_compiler_static='-Bstatic'
8076 lt_prog_compiler_wl='-Wl,'
8079 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8080 lt_prog_compiler_pic='-KPIC'
8081 lt_prog_compiler_static='-Bstatic'
8082 lt_prog_compiler_wl=''
8090 lt_prog_compiler_pic='-KPIC'
8091 lt_prog_compiler_static='-Bstatic'
8095 # QNX uses GNU C++, but need to define -shared option too, otherwise
8097 lt_prog_compiler_pic='-fPIC -shared'
8100 osf3* | osf4* | osf5*)
8101 lt_prog_compiler_wl='-Wl,'
8102 # All OSF/1 code is PIC.
8103 lt_prog_compiler_static='-non_shared'
8107 lt_prog_compiler_static='-non_shared'
8111 lt_prog_compiler_pic='-KPIC'
8112 lt_prog_compiler_static='-Bstatic'
8113 case $cc_basename in
8115 lt_prog_compiler_wl='-Qoption ld ';;
8117 lt_prog_compiler_wl='-Wl,';;
8122 lt_prog_compiler_wl='-Qoption ld '
8123 lt_prog_compiler_pic='-PIC'
8124 lt_prog_compiler_static='-Bstatic'
8127 sysv4 | sysv4.2uw2* | sysv4.3*)
8128 lt_prog_compiler_wl='-Wl,'
8129 lt_prog_compiler_pic='-KPIC'
8130 lt_prog_compiler_static='-Bstatic'
8134 if test -d /usr/nec ;then
8135 lt_prog_compiler_pic='-Kconform_pic'
8136 lt_prog_compiler_static='-Bstatic'
8140 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8141 lt_prog_compiler_wl='-Wl,'
8142 lt_prog_compiler_pic='-KPIC'
8143 lt_prog_compiler_static='-Bstatic'
8147 lt_prog_compiler_wl='-Wl,'
8148 lt_prog_compiler_can_build_shared=no
8152 lt_prog_compiler_pic='-pic'
8153 lt_prog_compiler_static='-Bstatic'
8157 lt_prog_compiler_can_build_shared=no
8163 # For platforms which do not support PIC, -DPIC is meaningless:
8165 lt_prog_compiler_pic=
8168 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8171 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8172 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
8180 # Check to make sure the PIC flag actually works.
8182 if test -n "$lt_prog_compiler_pic"; then
8183 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8184 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
8185 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8186 echo $ECHO_N "(cached) $ECHO_C" >&6
8188 lt_cv_prog_compiler_pic_works=no
8189 ac_outfile=conftest.$ac_objext
8190 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8191 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8192 # Insert the option either (1) after the last *FLAGS variable, or
8193 # (2) before a word containing "conftest.", or (3) at the end.
8194 # Note that $ac_compile itself does not contain backslashes and begins
8195 # with a dollar sign (not a hyphen), so the echo should work correctly.
8196 # The option is referenced via a variable to avoid confusing sed.
8197 lt_compile=`echo "$ac_compile" | $SED \
8198 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8199 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8200 -e 's:$: $lt_compiler_flag:'`
8201 (eval echo "\"\$as_me:8201: $lt_compile\"" >&5)
8202 (eval "$lt_compile" 2>conftest.err)
8204 cat conftest.err >&5
8205 echo "$as_me:8205: \$? = $ac_status" >&5
8206 if (exit $ac_status) && test -s "$ac_outfile"; then
8207 # The compiler can only warn and ignore the option if not recognized
8208 # So say no if there are warnings other than the usual output.
8209 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8210 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8211 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8212 lt_cv_prog_compiler_pic_works=yes
8218 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8219 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
8221 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8222 case $lt_prog_compiler_pic in
8224 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8227 lt_prog_compiler_pic=
8228 lt_prog_compiler_can_build_shared=no
8239 # Check to make sure the static flag actually works.
8241 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8242 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8243 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
8244 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8245 echo $ECHO_N "(cached) $ECHO_C" >&6
8247 lt_cv_prog_compiler_static_works=no
8248 save_LDFLAGS="$LDFLAGS"
8249 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8250 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8251 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8252 # The linker can only warn and ignore the option if not recognized
8253 # So say no if there are warnings
8254 if test -s conftest.err; then
8255 # Append any errors to the config.log.
8256 cat conftest.err 1>&5
8257 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8258 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8259 if diff conftest.exp conftest.er2 >/dev/null; then
8260 lt_cv_prog_compiler_static_works=yes
8263 lt_cv_prog_compiler_static_works=yes
8267 LDFLAGS="$save_LDFLAGS"
8270 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8271 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
8273 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8276 lt_prog_compiler_static=
8285 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8286 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8287 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8288 echo $ECHO_N "(cached) $ECHO_C" >&6
8290 lt_cv_prog_compiler_c_o=no
8291 $RM -r conftest 2>/dev/null
8295 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8297 lt_compiler_flag="-o out/conftest2.$ac_objext"
8298 # Insert the option either (1) after the last *FLAGS variable, or
8299 # (2) before a word containing "conftest.", or (3) at the end.
8300 # Note that $ac_compile itself does not contain backslashes and begins
8301 # with a dollar sign (not a hyphen), so the echo should work correctly.
8302 lt_compile=`echo "$ac_compile" | $SED \
8303 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8304 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8305 -e 's:$: $lt_compiler_flag:'`
8306 (eval echo "\"\$as_me:8306: $lt_compile\"" >&5)
8307 (eval "$lt_compile" 2>out/conftest.err)
8309 cat out/conftest.err >&5
8310 echo "$as_me:8310: \$? = $ac_status" >&5
8311 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8313 # The compiler can only warn and ignore the option if not recognized
8314 # So say no if there are warnings
8315 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8316 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8317 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8318 lt_cv_prog_compiler_c_o=yes
8323 # SGI C++ compiler will create directory out/ii_files/ for
8324 # template instantiation
8325 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8326 $RM out/* && rmdir out
8332 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8333 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8340 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8341 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8342 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8343 echo $ECHO_N "(cached) $ECHO_C" >&6
8345 lt_cv_prog_compiler_c_o=no
8346 $RM -r conftest 2>/dev/null
8350 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8352 lt_compiler_flag="-o out/conftest2.$ac_objext"
8353 # Insert the option either (1) after the last *FLAGS variable, or
8354 # (2) before a word containing "conftest.", or (3) at the end.
8355 # Note that $ac_compile itself does not contain backslashes and begins
8356 # with a dollar sign (not a hyphen), so the echo should work correctly.
8357 lt_compile=`echo "$ac_compile" | $SED \
8358 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8359 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8360 -e 's:$: $lt_compiler_flag:'`
8361 (eval echo "\"\$as_me:8361: $lt_compile\"" >&5)
8362 (eval "$lt_compile" 2>out/conftest.err)
8364 cat out/conftest.err >&5
8365 echo "$as_me:8365: \$? = $ac_status" >&5
8366 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8368 # The compiler can only warn and ignore the option if not recognized
8369 # So say no if there are warnings
8370 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8371 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8372 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8373 lt_cv_prog_compiler_c_o=yes
8378 # SGI C++ compiler will create directory out/ii_files/ for
8379 # template instantiation
8380 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8381 $RM out/* && rmdir out
8387 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8388 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8393 hard_links="nottested"
8394 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8395 # do not overwrite the value of need_locks provided by the user
8396 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8397 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
8400 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8402 ln conftest.a conftest.b 2>&5 || hard_links=no
8403 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8404 { echo "$as_me:$LINENO: result: $hard_links" >&5
8405 echo "${ECHO_T}$hard_links" >&6; }
8406 if test "$hard_links" = no; then
8407 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8408 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8420 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8421 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
8424 allow_undefined_flag=
8425 always_export_symbols=no
8427 archive_expsym_cmds=
8428 compiler_needs_object=no
8429 enable_shared_with_static_runtimes=no
8430 export_dynamic_flag_spec=
8431 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8432 hardcode_automatic=no
8434 hardcode_direct_absolute=no
8435 hardcode_libdir_flag_spec=
8436 hardcode_libdir_flag_spec_ld=
8437 hardcode_libdir_separator=
8439 hardcode_shlibpath_var=unsupported
8441 link_all_deplibs=unknown
8444 old_archive_from_new_cmds=
8445 old_archive_from_expsyms_cmds=
8446 thread_safe_flag_spec=
8447 whole_archive_flag_spec=
8448 # include_expsyms should be a list of space-separated symbols to be *always*
8449 # included in the symbol list
8451 # exclude_expsyms can be an extended regexp of symbols to exclude
8452 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8453 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8454 # as well as any symbol that contains `d'.
8455 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8456 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8457 # platforms (ab)use it in PIC code, but their linkers get confused if
8458 # the symbol is explicitly referenced. Since portable code cannot
8459 # rely on this symbol name, it's probably fine to never include it in
8460 # preloaded symbol tables.
8461 # Exclude shared library initialization/finalization symbols.
8462 extract_expsyms_cmds=
8465 cygwin* | mingw* | pw32* | cegcc*)
8466 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8467 # When not using gcc, we currently assume that we are using
8468 # Microsoft Visual C++.
8469 if test "$GCC" != yes; then
8474 # we just hope/assume this is gcc and not c89 (= MSVC++)
8480 linux* | k*bsd*-gnu)
8486 if test "$with_gnu_ld" = yes; then
8487 # If archive_cmds runs LD, not CC, wlarc should be empty
8490 # Set some defaults for GNU ld with shared library support. These
8491 # are reset later if shared libraries are not supported. Putting them
8492 # here allows them to be overridden if necessary.
8493 runpath_var=LD_RUN_PATH
8494 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8495 export_dynamic_flag_spec='${wl}--export-dynamic'
8496 # ancient GNU ld didn't support --whole-archive et. al.
8497 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8498 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8500 whole_archive_flag_spec=
8502 supports_anon_versioning=no
8503 case `$LD -v 2>&1` in
8504 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8505 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8506 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8507 *\ 2.11.*) ;; # other 2.11 versions
8508 *) supports_anon_versioning=yes ;;
8511 # See if GNU ld supports shared libraries.
8514 # On AIX/PPC, the GNU linker is very broken
8515 if test "$host_cpu" != ia64; then
8519 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8520 *** to be unable to reliably create shared libraries on AIX.
8521 *** Therefore, libtool is disabling shared libraries support. If you
8522 *** really care for shared libraries, you may want to modify your PATH
8523 *** so that a non-GNU linker is found, and then restart.
8532 # see comment about AmigaOS4 .so support
8533 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8534 archive_expsym_cmds=''
8537 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)'
8538 hardcode_libdir_flag_spec='-L$libdir'
8539 hardcode_minus_L=yes
8545 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8546 allow_undefined_flag=unsupported
8547 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8548 # support --undefined. This deserves some investigation. FIXME
8549 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8555 cygwin* | mingw* | pw32* | cegcc*)
8556 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8557 # as there is no search path for DLLs.
8558 hardcode_libdir_flag_spec='-L$libdir'
8559 allow_undefined_flag=unsupported
8560 always_export_symbols=no
8561 enable_shared_with_static_runtimes=yes
8562 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8564 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8565 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8566 # If the export-symbols file already is a .def file (1st line
8567 # is EXPORTS), use it as is; otherwise, prepend...
8568 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8569 cp $export_symbols $output_objdir/$soname.def;
8571 echo EXPORTS > $output_objdir/$soname.def;
8572 cat $export_symbols >> $output_objdir/$soname.def;
8574 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8582 hardcode_shlibpath_var=no
8583 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8584 export_dynamic_flag_spec='${wl}-E'
8585 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8586 # Instead, shared libraries are loaded at an image base (0x10000000 by
8587 # default) and relocated if they conflict, which is a slow very memory
8588 # consuming and fragmenting process. To avoid this, we pick a random,
8589 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8590 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8591 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8592 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'
8595 gnu* | linux* | tpf* | k*bsd*-gnu)
8597 if test "$host_os" = linux-dietlibc; then
8598 case $cc_basename in
8599 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8602 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8603 && test "$tmp_diet" = no
8606 tmp_sharedflag='-shared'
8607 case $cc_basename,$host_cpu in
8608 pgcc*) # Portland Group C compiler
8609 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'
8610 tmp_addflag=' $pic_flag'
8612 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8613 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'
8614 tmp_addflag=' $pic_flag -Mnomain' ;;
8615 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8616 tmp_addflag=' -i_dynamic' ;;
8617 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8618 tmp_addflag=' -i_dynamic -nofor_main' ;;
8619 ifc* | ifort*) # Intel Fortran compiler
8620 tmp_addflag=' -nofor_main' ;;
8621 lf95*) # Lahey Fortran 8.1
8622 whole_archive_flag_spec=
8623 tmp_sharedflag='--shared' ;;
8624 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8625 tmp_sharedflag='-qmkshrobj'
8628 case `$CC -V 2>&1 | sed 5q` in
8629 *Sun\ C*) # Sun C 5.9
8630 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'
8631 compiler_needs_object=yes
8632 tmp_sharedflag='-G' ;;
8633 *Sun\ F*) # Sun Fortran 8.3
8634 tmp_sharedflag='-G' ;;
8636 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8638 if test "x$supports_anon_versioning" = xyes; then
8639 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8640 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8641 echo "local: *; };" >> $output_objdir/$libname.ver~
8642 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8645 case $cc_basename in
8647 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8648 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8649 hardcode_libdir_flag_spec=
8650 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8651 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8652 if test "x$supports_anon_versioning" = xyes; then
8653 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8654 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8655 echo "local: *; };" >> $output_objdir/$libname.ver~
8656 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8665 netbsd* | netbsdelf*-gnu)
8666 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8667 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8670 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8671 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8676 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8680 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8681 *** create shared libraries on Solaris systems. Therefore, libtool
8682 *** is disabling shared libraries support. We urge you to upgrade GNU
8683 *** binutils to release 2.9.1 or newer. Another option is to modify
8684 *** your PATH or compiler configuration so that the native linker is
8685 *** used, and then restart.
8688 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8689 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8690 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8696 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8697 case `$LD -v 2>&1` in
8698 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8702 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8703 *** reliably create shared libraries on SCO systems. Therefore, libtool
8704 *** is disabling shared libraries support. We urge you to upgrade GNU
8705 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8706 *** your PATH or compiler configuration so that the native linker is
8707 *** used, and then restart.
8712 # For security reasons, it is highly recommended that you always
8713 # use absolute paths for naming shared libraries, and exclude the
8714 # DT_RUNPATH tag from executables and libraries. But doing so
8715 # requires that you compile everything twice, which is a pain.
8716 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8717 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8718 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8719 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8728 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8731 hardcode_shlibpath_var=no
8735 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8736 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8737 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8744 if test "$ld_shlibs" = no; then
8746 hardcode_libdir_flag_spec=
8747 export_dynamic_flag_spec=
8748 whole_archive_flag_spec=
8751 # PORTME fill in a description of your system's linker (not GNU ld)
8754 allow_undefined_flag=unsupported
8755 always_export_symbols=yes
8756 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'
8757 # Note: this linker hardcodes the directories in LIBPATH if there
8758 # are no directories specified by -L.
8759 hardcode_minus_L=yes
8760 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8761 # Neither direct hardcoding nor static linking is supported with a
8763 hardcode_direct=unsupported
8768 if test "$host_cpu" = ia64; then
8769 # On IA64, the linker does run time linking by default, so we don't
8770 # have to do anything special.
8771 aix_use_runtimelinking=no
8772 exp_sym_flag='-Bexport'
8775 # If we're using GNU nm, then we don't want the "-C" option.
8776 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8777 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8778 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'
8780 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'
8782 aix_use_runtimelinking=no
8784 # Test if we are trying to use run time linking or normal
8785 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8786 # need to do runtime linking.
8787 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8788 for ld_flag in $LDFLAGS; do
8789 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8790 aix_use_runtimelinking=yes
8797 exp_sym_flag='-bexport'
8798 no_entry_flag='-bnoentry'
8801 # When large executables or shared objects are built, AIX ld can
8802 # have problems creating the table of contents. If linking a library
8803 # or program results in "error TOC overflow" add -mminimal-toc to
8804 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8805 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8809 hardcode_direct_absolute=yes
8810 hardcode_libdir_separator=':'
8811 link_all_deplibs=yes
8812 file_list_spec='${wl}-f,'
8814 if test "$GCC" = yes; then
8815 case $host_os in aix4.[012]|aix4.[012].*)
8816 # We only want to do this on AIX 4.2 and lower, the check
8817 # below for broken collect2 doesn't work under 4.3+
8818 collect2name=`${CC} -print-prog-name=collect2`
8819 if test -f "$collect2name" &&
8820 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8822 # We have reworked collect2
8825 # We have old collect2
8826 hardcode_direct=unsupported
8827 # It fails to find uninstalled libraries when the uninstalled
8828 # path is not listed in the libpath. Setting hardcode_minus_L
8829 # to unsupported forces relinking
8830 hardcode_minus_L=yes
8831 hardcode_libdir_flag_spec='-L$libdir'
8832 hardcode_libdir_separator=
8836 shared_flag='-shared'
8837 if test "$aix_use_runtimelinking" = yes; then
8838 shared_flag="$shared_flag "'${wl}-G'
8843 if test "$host_cpu" = ia64; then
8844 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8845 # chokes on -Wl,-G. The following line is correct:
8848 if test "$aix_use_runtimelinking" = yes; then
8849 shared_flag='${wl}-G'
8851 shared_flag='${wl}-bM:SRE'
8856 export_dynamic_flag_spec='${wl}-bexpall'
8857 # It seems that -bexpall does not export symbols beginning with
8858 # underscore (_), so it is better to generate a list of symbols to export.
8859 always_export_symbols=yes
8860 if test "$aix_use_runtimelinking" = yes; then
8861 # Warning - without using the other runtime loading flags (-brtl),
8862 # -berok will link without error, but may produce a broken library.
8863 allow_undefined_flag='-berok'
8864 # Determine the default libpath from the value encoded in an
8866 cat >conftest.$ac_ext <<_ACEOF
8869 cat confdefs.h >>conftest.$ac_ext
8870 cat >>conftest.$ac_ext <<_ACEOF
8871 /* end confdefs.h. */
8881 rm -f conftest.$ac_objext conftest$ac_exeext
8882 if { (ac_try="$ac_link"
8884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8885 *) ac_try_echo=$ac_try;;
8887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8888 (eval "$ac_link") 2>conftest.er1
8890 grep -v '^ *+' conftest.er1 >conftest.err
8892 cat conftest.err >&5
8893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8894 (exit $ac_status); } && {
8895 test -z "$ac_c_werror_flag" ||
8896 test ! -s conftest.err
8897 } && test -s conftest$ac_exeext &&
8898 $as_test_x conftest$ac_exeext; then
8900 lt_aix_libpath_sed='
8901 /Import File Strings/,/^$/ {
8907 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8908 # Check for a 64-bit object if we didn't find anything.
8909 if test -z "$aix_libpath"; then
8910 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8913 echo "$as_me: failed program was:" >&5
8914 sed 's/^/| /' conftest.$ac_ext >&5
8919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8920 conftest$ac_exeext conftest.$ac_ext
8921 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8923 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8924 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"
8926 if test "$host_cpu" = ia64; then
8927 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8928 allow_undefined_flag="-z nodefs"
8929 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"
8931 # Determine the default libpath from the value encoded in an
8933 cat >conftest.$ac_ext <<_ACEOF
8936 cat confdefs.h >>conftest.$ac_ext
8937 cat >>conftest.$ac_ext <<_ACEOF
8938 /* end confdefs.h. */
8948 rm -f conftest.$ac_objext conftest$ac_exeext
8949 if { (ac_try="$ac_link"
8951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8952 *) ac_try_echo=$ac_try;;
8954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8955 (eval "$ac_link") 2>conftest.er1
8957 grep -v '^ *+' conftest.er1 >conftest.err
8959 cat conftest.err >&5
8960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8961 (exit $ac_status); } && {
8962 test -z "$ac_c_werror_flag" ||
8963 test ! -s conftest.err
8964 } && test -s conftest$ac_exeext &&
8965 $as_test_x conftest$ac_exeext; then
8967 lt_aix_libpath_sed='
8968 /Import File Strings/,/^$/ {
8974 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8975 # Check for a 64-bit object if we didn't find anything.
8976 if test -z "$aix_libpath"; then
8977 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8980 echo "$as_me: failed program was:" >&5
8981 sed 's/^/| /' conftest.$ac_ext >&5
8986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8987 conftest$ac_exeext conftest.$ac_ext
8988 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8990 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8991 # Warning - without using the other run time loading flags,
8992 # -berok will link without error, but may produce a broken library.
8993 no_undefined_flag=' ${wl}-bernotok'
8994 allow_undefined_flag=' ${wl}-berok'
8995 # Exported symbols can be pulled into shared objects from archives
8996 whole_archive_flag_spec='$convenience'
8997 archive_cmds_need_lc=yes
8998 # This is similar to how AIX traditionally builds its shared libraries.
8999 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'
9007 # see comment about AmigaOS4 .so support
9008 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9009 archive_expsym_cmds=''
9012 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)'
9013 hardcode_libdir_flag_spec='-L$libdir'
9014 hardcode_minus_L=yes
9020 export_dynamic_flag_spec=-rdynamic
9023 cygwin* | mingw* | pw32* | cegcc*)
9024 # When not using gcc, we currently assume that we are using
9025 # Microsoft Visual C++.
9026 # hardcode_libdir_flag_spec is actually meaningless, as there is
9027 # no search path for DLLs.
9028 hardcode_libdir_flag_spec=' '
9029 allow_undefined_flag=unsupported
9030 # Tell ltmain to make .lib files, not .a files.
9032 # Tell ltmain to make .dll files, not .so files.
9034 # FIXME: Setting linknames here is a bad hack.
9035 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9036 # The linker will automatically build a .lib file if we build a DLL.
9037 old_archive_from_new_cmds='true'
9038 # FIXME: Should let the user specify the lib program.
9039 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9040 fix_srcfile_path='`cygpath -w "$srcfile"`'
9041 enable_shared_with_static_runtimes=yes
9044 darwin* | rhapsody*)
9047 archive_cmds_need_lc=no
9049 hardcode_automatic=yes
9050 hardcode_shlibpath_var=unsupported
9051 whole_archive_flag_spec=''
9052 link_all_deplibs=yes
9053 allow_undefined_flag="$_lt_dar_allow_undefined"
9054 case $cc_basename in
9055 ifort*) _lt_dar_can_shared=yes ;;
9056 *) _lt_dar_can_shared=$GCC ;;
9058 if test "$_lt_dar_can_shared" = "yes"; then
9059 output_verbose_link_cmd=echo
9060 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9061 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9062 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}"
9063 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}"
9072 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9073 hardcode_libdir_flag_spec='-L$libdir'
9074 hardcode_shlibpath_var=no
9081 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9082 # support. Future versions do this automatically, but an explicit c++rt0.o
9083 # does not break anything, and helps significantly (at the cost of a little
9086 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9087 hardcode_libdir_flag_spec='-R$libdir'
9089 hardcode_shlibpath_var=no
9092 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9094 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9096 hardcode_minus_L=yes
9097 hardcode_shlibpath_var=no
9100 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9101 freebsd* | dragonfly*)
9102 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9103 hardcode_libdir_flag_spec='-R$libdir'
9105 hardcode_shlibpath_var=no
9109 if test "$GCC" = yes; then
9110 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'
9112 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'
9114 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9115 hardcode_libdir_separator=:
9118 # hardcode_minus_L: Not really in the search PATH,
9119 # but as the default location of the library.
9120 hardcode_minus_L=yes
9121 export_dynamic_flag_spec='${wl}-E'
9125 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9126 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9128 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9130 if test "$with_gnu_ld" = no; then
9131 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9132 hardcode_libdir_flag_spec_ld='+b $libdir'
9133 hardcode_libdir_separator=:
9135 hardcode_direct_absolute=yes
9136 export_dynamic_flag_spec='${wl}-E'
9137 # hardcode_minus_L: Not really in the search PATH,
9138 # but as the default location of the library.
9139 hardcode_minus_L=yes
9144 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9147 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9150 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9153 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9159 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9162 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9165 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9169 if test "$with_gnu_ld" = no; then
9170 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9171 hardcode_libdir_separator=:
9176 hardcode_shlibpath_var=no
9180 hardcode_direct_absolute=yes
9181 export_dynamic_flag_spec='${wl}-E'
9183 # hardcode_minus_L: Not really in the search PATH,
9184 # but as the default location of the library.
9185 hardcode_minus_L=yes
9191 irix5* | irix6* | nonstopux*)
9192 if test "$GCC" = yes; then
9193 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'
9194 # Try to use the -exported_symbol ld option, if it does not
9195 # work, assume that -exports_file does not work either and
9196 # implicitly export all symbols.
9197 save_LDFLAGS="$LDFLAGS"
9198 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9199 cat >conftest.$ac_ext <<_ACEOF
9202 rm -f conftest.$ac_objext conftest$ac_exeext
9203 if { (ac_try="$ac_link"
9205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9206 *) ac_try_echo=$ac_try;;
9208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9209 (eval "$ac_link") 2>conftest.er1
9211 grep -v '^ *+' conftest.er1 >conftest.err
9213 cat conftest.err >&5
9214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9215 (exit $ac_status); } && {
9216 test -z "$ac_c_werror_flag" ||
9217 test ! -s conftest.err
9218 } && test -s conftest$ac_exeext &&
9219 $as_test_x conftest$ac_exeext; then
9220 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'
9223 echo "$as_me: failed program was:" >&5
9224 sed 's/^/| /' conftest.$ac_ext >&5
9229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9230 conftest$ac_exeext conftest.$ac_ext
9231 LDFLAGS="$save_LDFLAGS"
9233 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'
9234 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'
9236 archive_cmds_need_lc='no'
9237 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9238 hardcode_libdir_separator=:
9240 link_all_deplibs=yes
9243 netbsd* | netbsdelf*-gnu)
9244 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9245 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9247 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9249 hardcode_libdir_flag_spec='-R$libdir'
9251 hardcode_shlibpath_var=no
9255 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9257 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9258 hardcode_libdir_separator=:
9259 hardcode_shlibpath_var=no
9266 if test -f /usr/libexec/ld.so; then
9268 hardcode_shlibpath_var=no
9269 hardcode_direct_absolute=yes
9270 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9271 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9272 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9273 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9274 export_dynamic_flag_spec='${wl}-E'
9277 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9278 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9279 hardcode_libdir_flag_spec='-R$libdir'
9282 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9283 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9293 hardcode_libdir_flag_spec='-L$libdir'
9294 hardcode_minus_L=yes
9295 allow_undefined_flag=unsupported
9296 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'
9297 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9301 if test "$GCC" = yes; then
9302 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9303 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'
9305 allow_undefined_flag=' -expect_unresolved \*'
9306 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'
9308 archive_cmds_need_lc='no'
9309 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9310 hardcode_libdir_separator=:
9313 osf4* | osf5*) # as osf3* with the addition of -msym flag
9314 if test "$GCC" = yes; then
9315 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9316 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'
9317 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9319 allow_undefined_flag=' -expect_unresolved \*'
9320 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'
9321 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~
9322 $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'
9324 # Both c and cxx compiler support -rpath directly
9325 hardcode_libdir_flag_spec='-rpath $libdir'
9327 archive_cmds_need_lc='no'
9328 hardcode_libdir_separator=:
9332 no_undefined_flag=' -z defs'
9333 if test "$GCC" = yes; then
9335 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9336 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9337 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9339 case `$CC -V 2>&1` in
9342 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9343 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9344 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9348 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9349 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9350 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9354 hardcode_libdir_flag_spec='-R$libdir'
9355 hardcode_shlibpath_var=no
9357 solaris2.[0-5] | solaris2.[0-5].*) ;;
9359 # The compiler driver will combine and reorder linker options,
9360 # but understands `-z linker_flag'. GCC discards it without `$wl',
9361 # but is careful enough not to reorder.
9362 # Supported since Solaris 2.6 (maybe 2.5.1?)
9363 if test "$GCC" = yes; then
9364 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9366 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9370 link_all_deplibs=yes
9374 if test "x$host_vendor" = xsequent; then
9375 # Use $CC to link under sequent, because it throws in some extra .o
9376 # files that make .init and .fini sections work.
9377 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9379 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9381 hardcode_libdir_flag_spec='-L$libdir'
9383 hardcode_minus_L=yes
9384 hardcode_shlibpath_var=no
9388 case $host_vendor in
9390 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9391 hardcode_direct=yes # is this really true???
9394 ## LD is ld it makes a PLAMLIB
9395 ## CC just makes a GrossModule.
9396 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9397 reload_cmds='$CC -r -o $output$reload_objs'
9401 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9402 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9405 runpath_var='LD_RUN_PATH'
9406 hardcode_shlibpath_var=no
9410 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9411 hardcode_shlibpath_var=no
9412 export_dynamic_flag_spec='-Bexport'
9416 if test -d /usr/nec; then
9417 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9418 hardcode_shlibpath_var=no
9419 runpath_var=LD_RUN_PATH
9420 hardcode_runpath_var=yes
9425 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9426 no_undefined_flag='${wl}-z,text'
9427 archive_cmds_need_lc=no
9428 hardcode_shlibpath_var=no
9429 runpath_var='LD_RUN_PATH'
9431 if test "$GCC" = yes; then
9432 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9433 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9435 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9436 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9440 sysv5* | sco3.2v5* | sco5v6*)
9441 # Note: We can NOT use -z defs as we might desire, because we do not
9442 # link with -lc, and that would cause any symbols used from libc to
9443 # always be unresolved, which means just about no library would
9444 # ever link correctly. If we're not using GNU ld we use -z text
9445 # though, which does catch some bad symbols but isn't as heavy-handed
9447 no_undefined_flag='${wl}-z,text'
9448 allow_undefined_flag='${wl}-z,nodefs'
9449 archive_cmds_need_lc=no
9450 hardcode_shlibpath_var=no
9451 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9452 hardcode_libdir_separator=':'
9453 link_all_deplibs=yes
9454 export_dynamic_flag_spec='${wl}-Bexport'
9455 runpath_var='LD_RUN_PATH'
9457 if test "$GCC" = yes; then
9458 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9459 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9461 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9462 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9467 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9468 hardcode_libdir_flag_spec='-L$libdir'
9469 hardcode_shlibpath_var=no
9477 if test x$host_vendor = xsni; then
9479 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9480 export_dynamic_flag_spec='${wl}-Blargedynsym'
9486 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9487 echo "${ECHO_T}$ld_shlibs" >&6; }
9488 test "$ld_shlibs" = no && can_build_shared=no
9490 with_gnu_ld=$with_gnu_ld
9507 # Do we need to explicitly link libc?
9509 case "x$archive_cmds_need_lc" in
9511 # Assume -lc should be added
9512 archive_cmds_need_lc=yes
9514 if test "$enable_shared" = yes && test "$GCC" = yes; then
9515 case $archive_cmds in
9517 # FIXME: we may have to deal with multi-command sequences.
9520 # Test whether the compiler implicitly links with -lc since on some
9521 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9522 # to ld, don't add -lc before -lgcc.
9523 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9524 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9526 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9529 (eval $ac_compile) 2>&5
9531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9532 (exit $ac_status); } 2>conftest.err; then
9535 libobjs=conftest.$ac_objext
9537 wl=$lt_prog_compiler_wl
9538 pic_flag=$lt_prog_compiler_pic
9544 lt_save_allow_undefined_flag=$allow_undefined_flag
9545 allow_undefined_flag=
9546 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9547 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9550 (exit $ac_status); }
9552 archive_cmds_need_lc=no
9554 archive_cmds_need_lc=yes
9556 allow_undefined_flag=$lt_save_allow_undefined_flag
9558 cat conftest.err 1>&5
9561 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9562 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9725 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9726 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9728 if test "$GCC" = yes; then
9730 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9731 *) lt_awk_arg="/^libraries:/" ;;
9733 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9734 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9735 # if the path contains ";" then we assume it to be the separator
9736 # otherwise default to the standard path separator (i.e. ":") - it is
9737 # assumed that no part of a normal pathname contains ";" but that should
9738 # okay in the real world where ";" in dirpaths is itself problematic.
9739 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9741 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9743 # Ok, now we have the path, separated by spaces, we can step through it
9744 # and add multilib dir if necessary.
9745 lt_tmp_lt_search_path_spec=
9746 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9747 for lt_sys_path in $lt_search_path_spec; do
9748 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9749 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9751 test -d "$lt_sys_path" && \
9752 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9755 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9756 BEGIN {RS=" "; FS="/|\n";} {
9759 for (lt_i = NF; lt_i > 0; lt_i--) {
9760 if ($lt_i != "" && $lt_i != ".") {
9761 if ($lt_i == "..") {
9764 if (lt_count == 0) {
9765 lt_foo="/" $lt_i lt_foo;
9772 if (lt_foo != "") { lt_freq[lt_foo]++; }
9773 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9775 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9777 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9780 libname_spec='lib$name'
9788 shlibpath_overrides_runpath=unknown
9790 dynamic_linker="$host_os ld.so"
9791 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9792 need_lib_prefix=unknown
9793 hardcode_into_libs=no
9795 # when you set need_version to no, make sure it does not cause -set_version
9796 # flags to be left without arguments
9797 need_version=unknown
9802 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9803 shlibpath_var=LIBPATH
9805 # AIX 3 has no versioning support, so we append a major version to the name.
9806 soname_spec='${libname}${release}${shared_ext}$major'
9813 hardcode_into_libs=yes
9814 if test "$host_cpu" = ia64; then
9815 # AIX 5 supports IA64
9816 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9817 shlibpath_var=LD_LIBRARY_PATH
9819 # With GCC up to 2.95.x, collect2 would create an import file
9820 # for dependence libraries. The import file would start with
9821 # the line `#! .'. This would cause the generated library to
9822 # depend on `.', always an invalid library. This was fixed in
9823 # development snapshots of GCC prior to 3.0.
9825 aix4 | aix4.[01] | aix4.[01].*)
9826 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9828 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9835 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9836 # soname into executable. Probably we can add versioning support to
9837 # collect2, so additional links can be useful in future.
9838 if test "$aix_use_runtimelinking" = yes; then
9839 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9840 # instead of lib<name>.a to let people know that these are not
9841 # typical AIX shared libraries.
9842 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9844 # We preserve .a as extension for shared libraries through AIX4.2
9845 # and later when we are not doing run time linking.
9846 library_names_spec='${libname}${release}.a $libname.a'
9847 soname_spec='${libname}${release}${shared_ext}$major'
9849 shlibpath_var=LIBPATH
9856 # Since July 2007 AmigaOS4 officially supports .so libraries.
9857 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9858 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9861 library_names_spec='$libname.ixlibrary $libname.a'
9862 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9863 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'
9869 library_names_spec='${libname}${shared_ext}'
9870 dynamic_linker="$host_os ld.so"
9871 shlibpath_var=LIBRARY_PATH
9877 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9878 soname_spec='${libname}${release}${shared_ext}$major'
9879 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9880 shlibpath_var=LD_LIBRARY_PATH
9881 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9882 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9883 # the default ld.so.conf also contains /usr/contrib/lib and
9884 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9885 # libtool to hard-code these into programs
9888 cygwin* | mingw* | pw32* | cegcc*)
9889 version_type=windows
9894 case $GCC,$host_os in
9895 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9896 library_names_spec='$libname.dll.a'
9897 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9898 postinstall_cmds='base_file=`basename \${file}`~
9899 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9900 dldir=$destdir/`dirname \$dlpath`~
9901 test -d \$dldir || mkdir -p \$dldir~
9902 $install_prog $dir/$dlname \$dldir/$dlname~
9903 chmod a+x \$dldir/$dlname~
9904 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9905 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9907 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9908 dlpath=$dir/\$dldll~
9910 shlibpath_overrides_runpath=yes
9914 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9915 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9916 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9919 # MinGW DLLs use traditional 'lib' prefix
9920 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9921 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9922 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9923 # It is most probably a Windows format PATH printed by
9924 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9925 # path with ; separators, and with drive letters. We can handle the
9926 # drive letters (cygwin fileutils understands them), so leave them,
9927 # especially as we might pass files found there to a mingw objdump,
9928 # which wouldn't understand a cygwinified path. Ahh.
9929 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9931 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9935 # pw32 DLLs use 'pw' prefix rather than 'lib'
9936 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9942 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9945 dynamic_linker='Win32 ld.exe'
9946 # FIXME: first we should search . and the directory the executable is in
9950 darwin* | rhapsody*)
9951 dynamic_linker="$host_os dyld"
9955 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9956 soname_spec='${libname}${release}${major}$shared_ext'
9957 shlibpath_overrides_runpath=yes
9958 shlibpath_var=DYLD_LIBRARY_PATH
9959 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9961 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9962 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9969 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9970 soname_spec='${libname}${release}${shared_ext}$major'
9971 shlibpath_var=LD_LIBRARY_PATH
9978 freebsd* | dragonfly*)
9979 # DragonFly does not have aout. When/if they implement a new
9980 # versioning mechanism, adjust this.
9981 if test -x /usr/bin/objformat; then
9982 objformat=`/usr/bin/objformat`
9985 freebsd[123]*) objformat=aout ;;
9989 version_type=freebsd-$objformat
9990 case $version_type in
9992 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9997 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10001 shlibpath_var=LD_LIBRARY_PATH
10004 shlibpath_overrides_runpath=yes
10006 freebsd3.[01]* | freebsdelf3.[01]*)
10007 shlibpath_overrides_runpath=yes
10008 hardcode_into_libs=yes
10010 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10011 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10012 shlibpath_overrides_runpath=no
10013 hardcode_into_libs=yes
10015 *) # from 4.6 on, and DragonFly
10016 shlibpath_overrides_runpath=yes
10017 hardcode_into_libs=yes
10026 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10027 soname_spec='${libname}${release}${shared_ext}$major'
10028 shlibpath_var=LD_LIBRARY_PATH
10029 hardcode_into_libs=yes
10032 hpux9* | hpux10* | hpux11*)
10033 # Give a soname corresponding to the major version so that dld.sl refuses to
10034 # link against other versions.
10041 hardcode_into_libs=yes
10042 dynamic_linker="$host_os dld.so"
10043 shlibpath_var=LD_LIBRARY_PATH
10044 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10045 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10046 soname_spec='${libname}${release}${shared_ext}$major'
10047 if test "X$HPUX_IA64_MODE" = X32; then
10048 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10050 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10052 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10056 hardcode_into_libs=yes
10057 dynamic_linker="$host_os dld.sl"
10058 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10059 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10060 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10061 soname_spec='${libname}${release}${shared_ext}$major'
10062 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10063 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10067 dynamic_linker="$host_os dld.sl"
10068 shlibpath_var=SHLIB_PATH
10069 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10070 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10071 soname_spec='${libname}${release}${shared_ext}$major'
10074 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10075 postinstall_cmds='chmod 555 $lib'
10082 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10083 soname_spec='${libname}${release}${shared_ext}$major'
10084 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10085 shlibpath_var=LD_LIBRARY_PATH
10086 shlibpath_overrides_runpath=no
10087 hardcode_into_libs=yes
10090 irix5* | irix6* | nonstopux*)
10092 nonstopux*) version_type=nonstopux ;;
10094 if test "$lt_cv_prog_gnu_ld" = yes; then
10102 soname_spec='${libname}${release}${shared_ext}$major'
10103 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10105 irix5* | nonstopux*)
10106 libsuff= shlibsuff=
10109 case $LD in # libtool.m4 will add one of these switches to LD
10110 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10111 libsuff= shlibsuff= libmagic=32-bit;;
10112 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10113 libsuff=32 shlibsuff=N32 libmagic=N32;;
10114 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10115 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10116 *) libsuff= shlibsuff= libmagic=never-match;;
10120 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10121 shlibpath_overrides_runpath=no
10122 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10123 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10124 hardcode_into_libs=yes
10127 # No shared lib support for Linux oldld, aout, or coff.
10128 linux*oldld* | linux*aout* | linux*coff*)
10132 # This must be Linux ELF.
10133 linux* | k*bsd*-gnu)
10137 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10138 soname_spec='${libname}${release}${shared_ext}$major'
10139 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10140 shlibpath_var=LD_LIBRARY_PATH
10141 shlibpath_overrides_runpath=no
10142 # Some binutils ld are patched to set DT_RUNPATH
10143 save_LDFLAGS=$LDFLAGS
10144 save_libdir=$libdir
10145 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10146 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10147 cat >conftest.$ac_ext <<_ACEOF
10150 cat confdefs.h >>conftest.$ac_ext
10151 cat >>conftest.$ac_ext <<_ACEOF
10152 /* end confdefs.h. */
10162 rm -f conftest.$ac_objext conftest$ac_exeext
10163 if { (ac_try="$ac_link"
10164 case "(($ac_try" in
10165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10166 *) ac_try_echo=$ac_try;;
10168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10169 (eval "$ac_link") 2>conftest.er1
10171 grep -v '^ *+' conftest.er1 >conftest.err
10173 cat conftest.err >&5
10174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10175 (exit $ac_status); } && {
10176 test -z "$ac_c_werror_flag" ||
10177 test ! -s conftest.err
10178 } && test -s conftest$ac_exeext &&
10179 $as_test_x conftest$ac_exeext; then
10180 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10181 shlibpath_overrides_runpath=yes
10185 echo "$as_me: failed program was:" >&5
10186 sed 's/^/| /' conftest.$ac_ext >&5
10191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10192 conftest$ac_exeext conftest.$ac_ext
10193 LDFLAGS=$save_LDFLAGS
10194 libdir=$save_libdir
10196 # This implies no fast_install, which is unacceptable.
10197 # Some rework will be needed to allow for fast_install
10198 # before this can be enabled.
10199 hardcode_into_libs=yes
10201 # Append ld.so.conf contents to the search path
10202 if test -f /etc/ld.so.conf; then
10203 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' ' '`
10204 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10207 # We used to test for /lib/ld.so.1 and disable shared libraries on
10208 # powerpc, because MkLinux only supported shared libraries with the
10209 # GNU dynamic linker. Since this was broken with cross compilers,
10210 # most powerpc-linux boxes support dynamic linking these days and
10211 # people can always --disable-shared, the test was removed, and we
10212 # assume the GNU/Linux dynamic linker is in use.
10213 dynamic_linker='GNU/Linux ld.so'
10220 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10221 soname_spec='${libname}${release}${shared_ext}$major'
10222 shlibpath_var=LD_LIBRARY_PATH
10223 shlibpath_overrides_runpath=no
10224 hardcode_into_libs=yes
10225 dynamic_linker='NetBSD ld.elf_so'
10232 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10233 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10234 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10235 dynamic_linker='NetBSD (a.out) ld.so'
10237 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10238 soname_spec='${libname}${release}${shared_ext}$major'
10239 dynamic_linker='NetBSD ld.elf_so'
10241 shlibpath_var=LD_LIBRARY_PATH
10242 shlibpath_overrides_runpath=yes
10243 hardcode_into_libs=yes
10248 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10249 shlibpath_var=LD_LIBRARY_PATH
10250 shlibpath_overrides_runpath=yes
10257 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10258 soname_spec='${libname}${release}${shared_ext}$major'
10259 shlibpath_var=LD_LIBRARY_PATH
10260 shlibpath_overrides_runpath=no
10261 hardcode_into_libs=yes
10262 dynamic_linker='ldqnx.so'
10267 sys_lib_dlsearch_path_spec="/usr/lib"
10269 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10271 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10272 *) need_version=no ;;
10274 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10275 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10276 shlibpath_var=LD_LIBRARY_PATH
10277 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10279 openbsd2.[89] | openbsd2.[89].*)
10280 shlibpath_overrides_runpath=no
10283 shlibpath_overrides_runpath=yes
10287 shlibpath_overrides_runpath=yes
10292 libname_spec='$name'
10295 library_names_spec='$libname${shared_ext} $libname.a'
10296 dynamic_linker='OS/2 ld.exe'
10297 shlibpath_var=LIBPATH
10300 osf3* | osf4* | osf5*)
10304 soname_spec='${libname}${release}${shared_ext}$major'
10305 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10306 shlibpath_var=LD_LIBRARY_PATH
10307 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10308 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10319 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10320 soname_spec='${libname}${release}${shared_ext}$major'
10321 shlibpath_var=LD_LIBRARY_PATH
10322 shlibpath_overrides_runpath=yes
10323 hardcode_into_libs=yes
10324 # ldd complains unless libraries are executable
10325 postinstall_cmds='chmod +x $lib'
10330 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10331 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10332 shlibpath_var=LD_LIBRARY_PATH
10333 shlibpath_overrides_runpath=yes
10334 if test "$with_gnu_ld" = yes; then
10342 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10343 soname_spec='${libname}${release}${shared_ext}$major'
10344 shlibpath_var=LD_LIBRARY_PATH
10345 case $host_vendor in
10347 shlibpath_overrides_runpath=no
10349 runpath_var=LD_RUN_PATH
10357 shlibpath_overrides_runpath=no
10358 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10364 if test -d /usr/nec ;then
10366 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10367 soname_spec='$libname${shared_ext}.$major'
10368 shlibpath_var=LD_LIBRARY_PATH
10372 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10373 version_type=freebsd-elf
10376 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10377 soname_spec='${libname}${release}${shared_ext}$major'
10378 shlibpath_var=LD_LIBRARY_PATH
10379 shlibpath_overrides_runpath=yes
10380 hardcode_into_libs=yes
10381 if test "$with_gnu_ld" = yes; then
10382 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10384 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10387 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10391 sys_lib_dlsearch_path_spec='/usr/lib'
10395 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10399 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10400 shlibpath_var=LD_LIBRARY_PATH
10401 shlibpath_overrides_runpath=no
10402 hardcode_into_libs=yes
10407 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10408 soname_spec='${libname}${release}${shared_ext}$major'
10409 shlibpath_var=LD_LIBRARY_PATH
10416 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10417 echo "${ECHO_T}$dynamic_linker" >&6; }
10418 test "$dynamic_linker" = no && can_build_shared=no
10420 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10421 if test "$GCC" = yes; then
10422 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10425 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10426 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10428 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10429 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10518 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10519 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10521 if test -n "$hardcode_libdir_flag_spec" ||
10522 test -n "$runpath_var" ||
10523 test "X$hardcode_automatic" = "Xyes" ; then
10525 # We can hardcode non-existent directories.
10526 if test "$hardcode_direct" != no &&
10527 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10528 # have to relink, otherwise we might link with an installed library
10529 # when we should be linking with a yet-to-be-installed one
10530 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10531 test "$hardcode_minus_L" != no; then
10532 # Linking always hardcodes the temporary library directory.
10533 hardcode_action=relink
10535 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10536 hardcode_action=immediate
10539 # We cannot hardcode anything, or else we can only hardcode existing
10541 hardcode_action=unsupported
10543 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
10544 echo "${ECHO_T}$hardcode_action" >&6; }
10546 if test "$hardcode_action" = relink ||
10547 test "$inherit_rpath" = yes; then
10548 # Fast installation is not supported
10549 enable_fast_install=no
10550 elif test "$shlibpath_overrides_runpath" = yes ||
10551 test "$enable_shared" = no; then
10552 # Fast installation is not necessary
10553 enable_fast_install=needless
10561 if test "x$enable_dlopen" != xyes; then
10562 enable_dlopen=unknown
10563 enable_dlopen_self=unknown
10564 enable_dlopen_self_static=unknown
10571 lt_cv_dlopen="load_add_on"
10573 lt_cv_dlopen_self=yes
10576 mingw* | pw32* | cegcc*)
10577 lt_cv_dlopen="LoadLibrary"
10582 lt_cv_dlopen="dlopen"
10587 # if libdl is installed we need to link against it
10588 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10589 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10590 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10591 echo $ECHO_N "(cached) $ECHO_C" >&6
10593 ac_check_lib_save_LIBS=$LIBS
10595 cat >conftest.$ac_ext <<_ACEOF
10598 cat confdefs.h >>conftest.$ac_ext
10599 cat >>conftest.$ac_ext <<_ACEOF
10600 /* end confdefs.h. */
10602 /* Override any GCC internal prototype to avoid an error.
10603 Use char because int might match the return type of a GCC
10604 builtin and then its argument prototype would still apply. */
10617 rm -f conftest.$ac_objext conftest$ac_exeext
10618 if { (ac_try="$ac_link"
10619 case "(($ac_try" in
10620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10621 *) ac_try_echo=$ac_try;;
10623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10624 (eval "$ac_link") 2>conftest.er1
10626 grep -v '^ *+' conftest.er1 >conftest.err
10628 cat conftest.err >&5
10629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10630 (exit $ac_status); } && {
10631 test -z "$ac_c_werror_flag" ||
10632 test ! -s conftest.err
10633 } && test -s conftest$ac_exeext &&
10634 $as_test_x conftest$ac_exeext; then
10635 ac_cv_lib_dl_dlopen=yes
10637 echo "$as_me: failed program was:" >&5
10638 sed 's/^/| /' conftest.$ac_ext >&5
10640 ac_cv_lib_dl_dlopen=no
10643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10644 conftest$ac_exeext conftest.$ac_ext
10645 LIBS=$ac_check_lib_save_LIBS
10647 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10648 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10649 if test $ac_cv_lib_dl_dlopen = yes; then
10650 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10653 lt_cv_dlopen="dyld"
10655 lt_cv_dlopen_self=yes
10662 { echo "$as_me:$LINENO: checking for shl_load" >&5
10663 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10664 if test "${ac_cv_func_shl_load+set}" = set; then
10665 echo $ECHO_N "(cached) $ECHO_C" >&6
10667 cat >conftest.$ac_ext <<_ACEOF
10670 cat confdefs.h >>conftest.$ac_ext
10671 cat >>conftest.$ac_ext <<_ACEOF
10672 /* end confdefs.h. */
10673 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10675 #define shl_load innocuous_shl_load
10677 /* System header to define __stub macros and hopefully few prototypes,
10678 which can conflict with char shl_load (); below.
10679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10680 <limits.h> exists even on freestanding compilers. */
10683 # include <limits.h>
10685 # include <assert.h>
10690 /* Override any GCC internal prototype to avoid an error.
10691 Use char because int might match the return type of a GCC
10692 builtin and then its argument prototype would still apply. */
10697 /* The GNU C library defines this for functions which it implements
10698 to always fail with ENOSYS. Some functions are actually named
10699 something starting with __ and the normal name is an alias. */
10700 #if defined __stub_shl_load || defined __stub___shl_load
10707 return shl_load ();
10712 rm -f conftest.$ac_objext conftest$ac_exeext
10713 if { (ac_try="$ac_link"
10714 case "(($ac_try" in
10715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10716 *) ac_try_echo=$ac_try;;
10718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10719 (eval "$ac_link") 2>conftest.er1
10721 grep -v '^ *+' conftest.er1 >conftest.err
10723 cat conftest.err >&5
10724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10725 (exit $ac_status); } && {
10726 test -z "$ac_c_werror_flag" ||
10727 test ! -s conftest.err
10728 } && test -s conftest$ac_exeext &&
10729 $as_test_x conftest$ac_exeext; then
10730 ac_cv_func_shl_load=yes
10732 echo "$as_me: failed program was:" >&5
10733 sed 's/^/| /' conftest.$ac_ext >&5
10735 ac_cv_func_shl_load=no
10738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10739 conftest$ac_exeext conftest.$ac_ext
10741 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10742 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10743 if test $ac_cv_func_shl_load = yes; then
10744 lt_cv_dlopen="shl_load"
10746 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10747 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10748 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10749 echo $ECHO_N "(cached) $ECHO_C" >&6
10751 ac_check_lib_save_LIBS=$LIBS
10753 cat >conftest.$ac_ext <<_ACEOF
10756 cat confdefs.h >>conftest.$ac_ext
10757 cat >>conftest.$ac_ext <<_ACEOF
10758 /* end confdefs.h. */
10760 /* Override any GCC internal prototype to avoid an error.
10761 Use char because int might match the return type of a GCC
10762 builtin and then its argument prototype would still apply. */
10770 return shl_load ();
10775 rm -f conftest.$ac_objext conftest$ac_exeext
10776 if { (ac_try="$ac_link"
10777 case "(($ac_try" in
10778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10779 *) ac_try_echo=$ac_try;;
10781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10782 (eval "$ac_link") 2>conftest.er1
10784 grep -v '^ *+' conftest.er1 >conftest.err
10786 cat conftest.err >&5
10787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10788 (exit $ac_status); } && {
10789 test -z "$ac_c_werror_flag" ||
10790 test ! -s conftest.err
10791 } && test -s conftest$ac_exeext &&
10792 $as_test_x conftest$ac_exeext; then
10793 ac_cv_lib_dld_shl_load=yes
10795 echo "$as_me: failed program was:" >&5
10796 sed 's/^/| /' conftest.$ac_ext >&5
10798 ac_cv_lib_dld_shl_load=no
10801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10802 conftest$ac_exeext conftest.$ac_ext
10803 LIBS=$ac_check_lib_save_LIBS
10805 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10806 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10807 if test $ac_cv_lib_dld_shl_load = yes; then
10808 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10810 { echo "$as_me:$LINENO: checking for dlopen" >&5
10811 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10812 if test "${ac_cv_func_dlopen+set}" = set; then
10813 echo $ECHO_N "(cached) $ECHO_C" >&6
10815 cat >conftest.$ac_ext <<_ACEOF
10818 cat confdefs.h >>conftest.$ac_ext
10819 cat >>conftest.$ac_ext <<_ACEOF
10820 /* end confdefs.h. */
10821 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10823 #define dlopen innocuous_dlopen
10825 /* System header to define __stub macros and hopefully few prototypes,
10826 which can conflict with char dlopen (); below.
10827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10828 <limits.h> exists even on freestanding compilers. */
10831 # include <limits.h>
10833 # include <assert.h>
10838 /* Override any GCC internal prototype to avoid an error.
10839 Use char because int might match the return type of a GCC
10840 builtin and then its argument prototype would still apply. */
10845 /* The GNU C library defines this for functions which it implements
10846 to always fail with ENOSYS. Some functions are actually named
10847 something starting with __ and the normal name is an alias. */
10848 #if defined __stub_dlopen || defined __stub___dlopen
10860 rm -f conftest.$ac_objext conftest$ac_exeext
10861 if { (ac_try="$ac_link"
10862 case "(($ac_try" in
10863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10864 *) ac_try_echo=$ac_try;;
10866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10867 (eval "$ac_link") 2>conftest.er1
10869 grep -v '^ *+' conftest.er1 >conftest.err
10871 cat conftest.err >&5
10872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10873 (exit $ac_status); } && {
10874 test -z "$ac_c_werror_flag" ||
10875 test ! -s conftest.err
10876 } && test -s conftest$ac_exeext &&
10877 $as_test_x conftest$ac_exeext; then
10878 ac_cv_func_dlopen=yes
10880 echo "$as_me: failed program was:" >&5
10881 sed 's/^/| /' conftest.$ac_ext >&5
10883 ac_cv_func_dlopen=no
10886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10887 conftest$ac_exeext conftest.$ac_ext
10889 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10890 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10891 if test $ac_cv_func_dlopen = yes; then
10892 lt_cv_dlopen="dlopen"
10894 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10895 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10896 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10897 echo $ECHO_N "(cached) $ECHO_C" >&6
10899 ac_check_lib_save_LIBS=$LIBS
10901 cat >conftest.$ac_ext <<_ACEOF
10904 cat confdefs.h >>conftest.$ac_ext
10905 cat >>conftest.$ac_ext <<_ACEOF
10906 /* end confdefs.h. */
10908 /* Override any GCC internal prototype to avoid an error.
10909 Use char because int might match the return type of a GCC
10910 builtin and then its argument prototype would still apply. */
10923 rm -f conftest.$ac_objext conftest$ac_exeext
10924 if { (ac_try="$ac_link"
10925 case "(($ac_try" in
10926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10927 *) ac_try_echo=$ac_try;;
10929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10930 (eval "$ac_link") 2>conftest.er1
10932 grep -v '^ *+' conftest.er1 >conftest.err
10934 cat conftest.err >&5
10935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10936 (exit $ac_status); } && {
10937 test -z "$ac_c_werror_flag" ||
10938 test ! -s conftest.err
10939 } && test -s conftest$ac_exeext &&
10940 $as_test_x conftest$ac_exeext; then
10941 ac_cv_lib_dl_dlopen=yes
10943 echo "$as_me: failed program was:" >&5
10944 sed 's/^/| /' conftest.$ac_ext >&5
10946 ac_cv_lib_dl_dlopen=no
10949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10950 conftest$ac_exeext conftest.$ac_ext
10951 LIBS=$ac_check_lib_save_LIBS
10953 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10954 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10955 if test $ac_cv_lib_dl_dlopen = yes; then
10956 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10958 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10959 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10960 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10961 echo $ECHO_N "(cached) $ECHO_C" >&6
10963 ac_check_lib_save_LIBS=$LIBS
10964 LIBS="-lsvld $LIBS"
10965 cat >conftest.$ac_ext <<_ACEOF
10968 cat confdefs.h >>conftest.$ac_ext
10969 cat >>conftest.$ac_ext <<_ACEOF
10970 /* end confdefs.h. */
10972 /* Override any GCC internal prototype to avoid an error.
10973 Use char because int might match the return type of a GCC
10974 builtin and then its argument prototype would still apply. */
10987 rm -f conftest.$ac_objext conftest$ac_exeext
10988 if { (ac_try="$ac_link"
10989 case "(($ac_try" in
10990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10991 *) ac_try_echo=$ac_try;;
10993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10994 (eval "$ac_link") 2>conftest.er1
10996 grep -v '^ *+' conftest.er1 >conftest.err
10998 cat conftest.err >&5
10999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11000 (exit $ac_status); } && {
11001 test -z "$ac_c_werror_flag" ||
11002 test ! -s conftest.err
11003 } && test -s conftest$ac_exeext &&
11004 $as_test_x conftest$ac_exeext; then
11005 ac_cv_lib_svld_dlopen=yes
11007 echo "$as_me: failed program was:" >&5
11008 sed 's/^/| /' conftest.$ac_ext >&5
11010 ac_cv_lib_svld_dlopen=no
11013 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11014 conftest$ac_exeext conftest.$ac_ext
11015 LIBS=$ac_check_lib_save_LIBS
11017 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11018 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
11019 if test $ac_cv_lib_svld_dlopen = yes; then
11020 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11022 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11023 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
11024 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11025 echo $ECHO_N "(cached) $ECHO_C" >&6
11027 ac_check_lib_save_LIBS=$LIBS
11029 cat >conftest.$ac_ext <<_ACEOF
11032 cat confdefs.h >>conftest.$ac_ext
11033 cat >>conftest.$ac_ext <<_ACEOF
11034 /* end confdefs.h. */
11036 /* Override any GCC internal prototype to avoid an error.
11037 Use char because int might match the return type of a GCC
11038 builtin and then its argument prototype would still apply. */
11046 return dld_link ();
11051 rm -f conftest.$ac_objext conftest$ac_exeext
11052 if { (ac_try="$ac_link"
11053 case "(($ac_try" in
11054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11055 *) ac_try_echo=$ac_try;;
11057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11058 (eval "$ac_link") 2>conftest.er1
11060 grep -v '^ *+' conftest.er1 >conftest.err
11062 cat conftest.err >&5
11063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11064 (exit $ac_status); } && {
11065 test -z "$ac_c_werror_flag" ||
11066 test ! -s conftest.err
11067 } && test -s conftest$ac_exeext &&
11068 $as_test_x conftest$ac_exeext; then
11069 ac_cv_lib_dld_dld_link=yes
11071 echo "$as_me: failed program was:" >&5
11072 sed 's/^/| /' conftest.$ac_ext >&5
11074 ac_cv_lib_dld_dld_link=no
11077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11078 conftest$ac_exeext conftest.$ac_ext
11079 LIBS=$ac_check_lib_save_LIBS
11081 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11082 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11083 if test $ac_cv_lib_dld_dld_link = yes; then
11084 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11105 if test "x$lt_cv_dlopen" != xno; then
11111 case $lt_cv_dlopen in
11113 save_CPPFLAGS="$CPPFLAGS"
11114 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11116 save_LDFLAGS="$LDFLAGS"
11117 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11120 LIBS="$lt_cv_dlopen_libs $LIBS"
11122 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11123 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
11124 if test "${lt_cv_dlopen_self+set}" = set; then
11125 echo $ECHO_N "(cached) $ECHO_C" >&6
11127 if test "$cross_compiling" = yes; then :
11128 lt_cv_dlopen_self=cross
11130 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11131 lt_status=$lt_dlunknown
11132 cat > conftest.$ac_ext <<_LT_EOF
11133 #line 11133 "configure"
11134 #include "confdefs.h"
11143 # define LT_DLGLOBAL RTLD_GLOBAL
11146 # define LT_DLGLOBAL DL_GLOBAL
11148 # define LT_DLGLOBAL 0
11152 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11153 find out it does not work in some platform. */
11154 #ifndef LT_DLLAZY_OR_NOW
11156 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11159 # define LT_DLLAZY_OR_NOW DL_LAZY
11162 # define LT_DLLAZY_OR_NOW RTLD_NOW
11165 # define LT_DLLAZY_OR_NOW DL_NOW
11167 # define LT_DLLAZY_OR_NOW 0
11174 void fnord() { int i=42;}
11177 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11178 int status = $lt_dlunknown;
11182 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11183 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11184 /* dlclose (self); */
11192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11193 (eval $ac_link) 2>&5
11195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11196 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11197 (./conftest; exit; ) >&5 2>/dev/null
11199 case x$lt_status in
11200 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11201 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11202 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11205 # compilation failed
11206 lt_cv_dlopen_self=no
11213 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11214 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
11216 if test "x$lt_cv_dlopen_self" = xyes; then
11217 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11218 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11219 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
11220 if test "${lt_cv_dlopen_self_static+set}" = set; then
11221 echo $ECHO_N "(cached) $ECHO_C" >&6
11223 if test "$cross_compiling" = yes; then :
11224 lt_cv_dlopen_self_static=cross
11226 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11227 lt_status=$lt_dlunknown
11228 cat > conftest.$ac_ext <<_LT_EOF
11229 #line 11229 "configure"
11230 #include "confdefs.h"
11239 # define LT_DLGLOBAL RTLD_GLOBAL
11242 # define LT_DLGLOBAL DL_GLOBAL
11244 # define LT_DLGLOBAL 0
11248 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11249 find out it does not work in some platform. */
11250 #ifndef LT_DLLAZY_OR_NOW
11252 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11255 # define LT_DLLAZY_OR_NOW DL_LAZY
11258 # define LT_DLLAZY_OR_NOW RTLD_NOW
11261 # define LT_DLLAZY_OR_NOW DL_NOW
11263 # define LT_DLLAZY_OR_NOW 0
11270 void fnord() { int i=42;}
11273 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11274 int status = $lt_dlunknown;
11278 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11279 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11280 /* dlclose (self); */
11288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11289 (eval $ac_link) 2>&5
11291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11292 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11293 (./conftest; exit; ) >&5 2>/dev/null
11295 case x$lt_status in
11296 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11297 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11298 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11301 # compilation failed
11302 lt_cv_dlopen_self_static=no
11309 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11310 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
11313 CPPFLAGS="$save_CPPFLAGS"
11314 LDFLAGS="$save_LDFLAGS"
11319 case $lt_cv_dlopen_self in
11320 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11321 *) enable_dlopen_self=unknown ;;
11324 case $lt_cv_dlopen_self_static in
11325 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11326 *) enable_dlopen_self_static=unknown ;;
11348 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11349 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
11350 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11351 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11352 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11353 { echo "$as_me:$LINENO: result: yes" >&5
11354 echo "${ECHO_T}yes" >&6; }
11356 # FIXME - insert some real tests, host_os isn't really good enough
11359 if test -n "$STRIP" ; then
11360 striplib="$STRIP -x"
11361 old_striplib="$STRIP -S"
11362 { echo "$as_me:$LINENO: result: yes" >&5
11363 echo "${ECHO_T}yes" >&6; }
11365 { echo "$as_me:$LINENO: result: no" >&5
11366 echo "${ECHO_T}no" >&6; }
11370 { echo "$as_me:$LINENO: result: no" >&5
11371 echo "${ECHO_T}no" >&6; }
11387 # Report which library types will actually be built
11388 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11389 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11390 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
11391 echo "${ECHO_T}$can_build_shared" >&6; }
11393 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11394 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11395 test "$can_build_shared" = "no" && enable_shared=no
11397 # On AIX, shared libraries and static libraries use the same namespace, and
11398 # are all built from PIC.
11401 test "$enable_shared" = yes && enable_static=no
11402 if test -n "$RANLIB"; then
11403 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11404 postinstall_cmds='$RANLIB $lib'
11409 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11410 test "$enable_shared" = yes && enable_static=no
11414 { echo "$as_me:$LINENO: result: $enable_shared" >&5
11415 echo "${ECHO_T}$enable_shared" >&6; }
11417 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11418 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11419 # Make sure either enable_shared or enable_static is yes.
11420 test "$enable_shared" = yes || enable_static=yes
11421 { echo "$as_me:$LINENO: result: $enable_static" >&5
11422 echo "${ECHO_T}$enable_static" >&6; }
11429 ac_cpp='$CPP $CPPFLAGS'
11430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11448 ac_config_commands="$ac_config_commands libtool"
11453 # Only expand once:
11456 if test "x$CC" != xcc; then
11457 { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
11458 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
11460 { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
11461 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
11463 set dummy $CC; ac_cc=`echo $2 |
11464 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11465 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
11466 echo $ECHO_N "(cached) $ECHO_C" >&6
11468 cat >conftest.$ac_ext <<_ACEOF
11471 cat confdefs.h >>conftest.$ac_ext
11472 cat >>conftest.$ac_ext <<_ACEOF
11473 /* end confdefs.h. */
11483 # Make sure it works both with $CC and with simple cc.
11484 # We do the test twice because some compilers refuse to overwrite an
11485 # existing .o file with -o, though they will create one.
11486 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11488 if { (case "(($ac_try" in
11489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11490 *) ac_try_echo=$ac_try;;
11492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11493 (eval "$ac_try") 2>&5
11495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11496 (exit $ac_status); } &&
11497 test -f conftest2.$ac_objext && { (case "(($ac_try" in
11498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11499 *) ac_try_echo=$ac_try;;
11501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11502 (eval "$ac_try") 2>&5
11504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11505 (exit $ac_status); };
11507 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
11508 if test "x$CC" != xcc; then
11509 # Test first that cc exists at all.
11510 if { ac_try='cc -c conftest.$ac_ext >&5'
11511 { (case "(($ac_try" in
11512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11513 *) ac_try_echo=$ac_try;;
11515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11516 (eval "$ac_try") 2>&5
11518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11519 (exit $ac_status); }; }; then
11520 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11522 if { (case "(($ac_try" in
11523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11524 *) ac_try_echo=$ac_try;;
11526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11527 (eval "$ac_try") 2>&5
11529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11530 (exit $ac_status); } &&
11531 test -f conftest2.$ac_objext && { (case "(($ac_try" in
11532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11533 *) ac_try_echo=$ac_try;;
11535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11536 (eval "$ac_try") 2>&5
11538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11539 (exit $ac_status); };
11544 # cc exists but doesn't like -o.
11545 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11550 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11552 rm -f core conftest*
11555 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11556 { echo "$as_me:$LINENO: result: yes" >&5
11557 echo "${ECHO_T}yes" >&6; }
11559 { echo "$as_me:$LINENO: result: no" >&5
11560 echo "${ECHO_T}no" >&6; }
11562 cat >>confdefs.h <<\_ACEOF
11563 #define NO_MINUS_C_MINUS_O 1
11568 # FIXME: we rely on the cache variable name because
11569 # there is no other way.
11571 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11572 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11573 if test "$am_t" != yes; then
11574 # Losing compiler, so override with the script.
11575 # FIXME: It is wrong to rewrite CC.
11576 # But if we don't then we get into trouble of one sort or another.
11577 # A longer-term fix would be to have automake use am__CC in this case,
11578 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11579 CC="$am_aux_dir/compile $CC"
11584 if test "x$enable_docs" = xyes; then
11585 # Extract the first word of "doxygen", so it can be a program name with args.
11586 set dummy doxygen; ac_word=$2
11587 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11589 if test "${ac_cv_prog_HAVE_DOXYGEN+set}" = set; then
11590 echo $ECHO_N "(cached) $ECHO_C" >&6
11592 if test -n "$HAVE_DOXYGEN"; then
11593 ac_cv_prog_HAVE_DOXYGEN="$HAVE_DOXYGEN" # Let the user override the test.
11595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11596 for as_dir in $PATH
11599 test -z "$as_dir" && as_dir=.
11600 for ac_exec_ext in '' $ac_executable_extensions; do
11601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11602 ac_cv_prog_HAVE_DOXYGEN="true"
11603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11610 test -z "$ac_cv_prog_HAVE_DOXYGEN" && ac_cv_prog_HAVE_DOXYGEN="false"
11613 HAVE_DOXYGEN=$ac_cv_prog_HAVE_DOXYGEN
11614 if test -n "$HAVE_DOXYGEN"; then
11615 { echo "$as_me:$LINENO: result: $HAVE_DOXYGEN" >&5
11616 echo "${ECHO_T}$HAVE_DOXYGEN" >&6; }
11618 { echo "$as_me:$LINENO: result: no" >&5
11619 echo "${ECHO_T}no" >&6; }
11623 if test $HAVE_DOXYGEN = "false"; then
11624 { echo "$as_me:$LINENO: WARNING: *** doxygen not found, API documentation will not be built" >&5
11625 echo "$as_me: WARNING: *** doxygen not found, API documentation will not be built" >&2;}
11630 if $HAVE_DOXYGEN; then
11632 HAVE_DOXYGEN_FALSE='#'
11634 HAVE_DOXYGEN_TRUE='#'
11635 HAVE_DOXYGEN_FALSE=
11639 # Check whether --enable-docs was given.
11640 if test "${enable_docs+set}" = set; then
11641 enableval=$enable_docs;
11645 if test "x$enable_docs" = xyes; then
11646 for ac_prog in pdflatex
11648 # Extract the first word of "$ac_prog", so it can be a program name with args.
11649 set dummy $ac_prog; ac_word=$2
11650 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11652 if test "${ac_cv_prog_PDFLATEX+set}" = set; then
11653 echo $ECHO_N "(cached) $ECHO_C" >&6
11655 if test -n "$PDFLATEX"; then
11656 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
11658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11659 for as_dir in $PATH
11662 test -z "$as_dir" && as_dir=.
11663 for ac_exec_ext in '' $ac_executable_extensions; do
11664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11665 ac_cv_prog_PDFLATEX="$ac_prog"
11666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11675 PDFLATEX=$ac_cv_prog_PDFLATEX
11676 if test -n "$PDFLATEX"; then
11677 { echo "$as_me:$LINENO: result: $PDFLATEX" >&5
11678 echo "${ECHO_T}$PDFLATEX" >&6; }
11680 { echo "$as_me:$LINENO: result: no" >&5
11681 echo "${ECHO_T}no" >&6; }
11685 test -n "$PDFLATEX" && break
11687 test -n "$PDFLATEX" || PDFLATEX="/bin/false"
11689 for ac_prog in htlatex
11691 # Extract the first word of "$ac_prog", so it can be a program name with args.
11692 set dummy $ac_prog; ac_word=$2
11693 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11695 if test "${ac_cv_prog_HTLATEX+set}" = set; then
11696 echo $ECHO_N "(cached) $ECHO_C" >&6
11698 if test -n "$HTLATEX"; then
11699 ac_cv_prog_HTLATEX="$HTLATEX" # Let the user override the test.
11701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11702 for as_dir in $PATH
11705 test -z "$as_dir" && as_dir=.
11706 for ac_exec_ext in '' $ac_executable_extensions; do
11707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11708 ac_cv_prog_HTLATEX="$ac_prog"
11709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11718 HTLATEX=$ac_cv_prog_HTLATEX
11719 if test -n "$HTLATEX"; then
11720 { echo "$as_me:$LINENO: result: $HTLATEX" >&5
11721 echo "${ECHO_T}$HTLATEX" >&6; }
11723 { echo "$as_me:$LINENO: result: no" >&5
11724 echo "${ECHO_T}no" >&6; }
11728 test -n "$HTLATEX" && break
11730 test -n "$HTLATEX" || HTLATEX="/bin/false"
11732 if test "x$PDFLATEX" = x/bin/false || test "x$HTLATEX" = x/bin/false; then
11734 { echo "$as_me:$LINENO: WARNING: Documentation will not be built!" >&5
11735 echo "$as_me: WARNING: Documentation will not be built!" >&2;}
11739 if test "x$enable_docs" = xyes; then
11741 BUILD_DOCS_FALSE='#'
11743 BUILD_DOCS_TRUE='#'
11748 # Check whether --enable-examples was given.
11749 if test "${enable_examples+set}" = set; then
11750 enableval=$enable_examples;
11754 if test "x$enable_examples" = xyes; then
11755 BUILD_EXAMPLES_TRUE=
11756 BUILD_EXAMPLES_FALSE='#'
11758 BUILD_EXAMPLES_TRUE='#'
11759 BUILD_EXAMPLES_FALSE=
11765 cflags_save="$CFLAGS"
11766 if test -z "$GCC"; then
11769 if test -z "$CC"; then
11773 CFLAGS="-O2 -w -signed"
11774 PROFILE="-p -g3 -O2 -signed" ;;
11775 sparc-sun-solaris*)
11777 CFLAGS="-xO4 -fast -w -fsimple -native -xcg92"
11778 PROFILE="-v -xpg -g -xO4 -fast -native -fsimple -xcg92 -Dsuncc" ;;
11786 { echo "$as_me:$LINENO: checking GCC version" >&5
11787 echo $ECHO_N "checking GCC version... $ECHO_C" >&6; }
11788 GCC_VERSION=`$CC -dumpversion`
11789 { echo "$as_me:$LINENO: result: $GCC_VERSION" >&5
11790 echo "${ECHO_T}$GCC_VERSION" >&6; }
11793 DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
11794 CFLAGS="-O20 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char"
11795 # PROFILE="-Wall -Wextra -pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char -fno-inline -static"
11796 PROFILE="-Wall -Wextra -pg -g -O20 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char -fno-inline"
11798 # glibc < 2.1.3 has a serious FP bug in the math inline header
11799 # that will cripple Vorbis. Look to see if the magic FP stack
11800 # clobber is missing in the mathinline header, thus indicating
11801 # the buggy version
11803 cat >conftest.$ac_ext <<_ACEOF
11806 cat confdefs.h >>conftest.$ac_ext
11807 cat >>conftest.$ac_ext <<_ACEOF
11808 /* end confdefs.h. */
11810 #define __LIBC_INTERNAL_MATH_INLINES 1
11811 #define __OPTIMIZE__
11815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11816 $EGREP "log10.*fldlg2.*fxch" >/dev/null 2>&1; then
11823 if test ${bad} = "maybe" ;then
11824 cat >conftest.$ac_ext <<_ACEOF
11827 cat confdefs.h >>conftest.$ac_ext
11828 cat >>conftest.$ac_ext <<_ACEOF
11829 /* end confdefs.h. */
11831 #define __LIBC_INTERNAL_MATH_INLINES 1
11832 #define __OPTIMIZE__
11836 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11837 $EGREP "log10.*fldlg2.*fxch.*st\([0123456789]*\)" >/dev/null 2>&1; then
11845 if test ${bad} = "yes" ;then
11846 { echo "$as_me:$LINENO: WARNING: " >&5
11847 echo "$as_me: WARNING: " >&2;}
11848 { echo "$as_me:$LINENO: WARNING: ********************************************************" >&5
11849 echo "$as_me: WARNING: ********************************************************" >&2;}
11850 { echo "$as_me:$LINENO: WARNING: * The glibc headers on this machine have a serious bug *" >&5
11851 echo "$as_me: WARNING: * The glibc headers on this machine have a serious bug *" >&2;}
11852 { echo "$as_me:$LINENO: WARNING: * in /usr/include/bits/mathinline.h This bug affects *" >&5
11853 echo "$as_me: WARNING: * in /usr/include/bits/mathinline.h This bug affects *" >&2;}
11854 { echo "$as_me:$LINENO: WARNING: * all floating point code, not just Ogg, built on this *" >&5
11855 echo "$as_me: WARNING: * all floating point code, not just Ogg, built on this *" >&2;}
11856 { echo "$as_me:$LINENO: WARNING: * machine. Upgrading to glibc 2.1.3 is strongly urged *" >&5
11857 echo "$as_me: WARNING: * machine. Upgrading to glibc 2.1.3 is strongly urged *" >&2;}
11858 { echo "$as_me:$LINENO: WARNING: * to correct the problem. Note that upgrading glibc *" >&5
11859 echo "$as_me: WARNING: * to correct the problem. Note that upgrading glibc *" >&2;}
11860 { echo "$as_me:$LINENO: WARNING: * will not fix any previously built programs; this is *" >&5
11861 echo "$as_me: WARNING: * will not fix any previously built programs; this is *" >&2;}
11862 { echo "$as_me:$LINENO: WARNING: * a compile-time time bug. *" >&5
11863 echo "$as_me: WARNING: * a compile-time time bug. *" >&2;}
11864 { echo "$as_me:$LINENO: WARNING: * To work around the problem for this build of Ogg, *" >&5
11865 echo "$as_me: WARNING: * To work around the problem for this build of Ogg, *" >&2;}
11866 { echo "$as_me:$LINENO: WARNING: * autoconf is disabling all math inlining. This will *" >&5
11867 echo "$as_me: WARNING: * autoconf is disabling all math inlining. This will *" >&2;}
11868 { echo "$as_me:$LINENO: WARNING: * hurt Ogg performace but is necessary for an Ogg that *" >&5
11869 echo "$as_me: WARNING: * hurt Ogg performace but is necessary for an Ogg that *" >&2;}
11870 { echo "$as_me:$LINENO: WARNING: * will actually work. Once glibc is upgraded, rerun *" >&5
11871 echo "$as_me: WARNING: * will actually work. Once glibc is upgraded, rerun *" >&2;}
11872 { echo "$as_me:$LINENO: WARNING: * configure and make to build with inlining. *" >&5
11873 echo "$as_me: WARNING: * configure and make to build with inlining. *" >&2;}
11874 { echo "$as_me:$LINENO: WARNING: ********************************************************" >&5
11875 echo "$as_me: WARNING: ********************************************************" >&2;}
11876 { echo "$as_me:$LINENO: WARNING: " >&5
11877 echo "$as_me: WARNING: " >&2;}
11879 CFLAGS=${OPT}" -D__NO_MATH_INLINES"
11880 PROFILE=${PROFILE}" -D__NO_MATH_INLINES"
11882 powerpc-*-linux*spe)
11883 DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES"
11884 CFLAGS="-O3 -Wall -Wextra -ffast-math -mfused-madd -D_REENTRANT"
11885 PROFILE="-pg -g -O3 -ffast-math -mfused-madd -D_REENTRANT";;
11887 DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES"
11888 CFLAGS="-O3 -Wall -Wextra -ffast-math -mfused-madd -mcpu=750 -D_REENTRANT"
11889 PROFILE="-pg -g -O3 -ffast-math -mfused-madd -mcpu=750 -D_REENTRANT";;
11891 DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
11892 CFLAGS="-O20 -Wall -Wextra -ffast-math -D_REENTRANT -fsigned-char"
11893 PROFILE="-pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char";;
11896 { echo "$as_me:$LINENO: checking if gcc supports -mv8" >&5
11897 echo $ECHO_N "checking if gcc supports -mv8... $ECHO_C" >&6; }
11898 old_cflags="$CFLAGS"
11899 CFLAGS="$CFLAGS -mv8"
11900 cat >conftest.$ac_ext <<_ACEOF
11903 cat confdefs.h >>conftest.$ac_ext
11904 cat >>conftest.$ac_ext <<_ACEOF
11905 /* end confdefs.h. */
11915 rm -f conftest.$ac_objext
11916 if { (ac_try="$ac_compile"
11917 case "(($ac_try" in
11918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11919 *) ac_try_echo=$ac_try;;
11921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11922 (eval "$ac_compile") 2>conftest.er1
11924 grep -v '^ *+' conftest.er1 >conftest.err
11926 cat conftest.err >&5
11927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11928 (exit $ac_status); } && {
11929 test -z "$ac_c_werror_flag" ||
11930 test ! -s conftest.err
11931 } && test -s conftest.$ac_objext; then
11933 { echo "$as_me:$LINENO: result: yes" >&5
11934 echo "${ECHO_T}yes" >&6; }
11938 echo "$as_me: failed program was:" >&5
11939 sed 's/^/| /' conftest.$ac_ext >&5
11944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11945 CFLAGS="$old_cflags"
11946 DEBUG="-g -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char $sparc_cpu"
11947 CFLAGS="-O20 -Wall -Wextra -ffast-math -D__NO_MATH_INLINES -fsigned-char $sparc_cpu"
11948 PROFILE="-pg -g -O20 -D__NO_MATH_INLINES -fsigned-char $sparc_cpu" ;;
11950 DEBUG="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -O0 -fsigned-char"
11951 CFLAGS="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -O4 -ffast-math -fsigned-char"
11952 PROFILE="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -pg -O4 -ffast-math -fsigned-char";;
11954 # Use -W instead of -Wextra because gcc on OS/2 is an old version.
11955 DEBUG="-g -Wall -W -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
11956 CFLAGS="-O20 -Wall -W -ffast-math -D_REENTRANT -fsigned-char"
11957 PROFILE="-pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char";;
11959 DEBUG="-g -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char"
11960 CFLAGS="-O20 -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char"
11961 PROFILE="-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
11964 { echo "$as_me:$LINENO: checking if $CC accepts -Wdeclaration-after-statement" >&5
11965 echo $ECHO_N "checking if $CC accepts -Wdeclaration-after-statement... $ECHO_C" >&6; }
11966 ac_add_cflags__old_cflags="$CFLAGS"
11967 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
11968 cat >conftest.$ac_ext <<_ACEOF
11971 cat confdefs.h >>conftest.$ac_ext
11972 cat >>conftest.$ac_ext <<_ACEOF
11973 /* end confdefs.h. */
11978 puts("Hello, World!"); return 0;
11983 rm -f conftest.$ac_objext conftest$ac_exeext
11984 if { (ac_try="$ac_link"
11985 case "(($ac_try" in
11986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11987 *) ac_try_echo=$ac_try;;
11989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11990 (eval "$ac_link") 2>conftest.er1
11992 grep -v '^ *+' conftest.er1 >conftest.err
11994 cat conftest.err >&5
11995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11996 (exit $ac_status); } && {
11997 test -z "$ac_c_werror_flag" ||
11998 test ! -s conftest.err
11999 } && test -s conftest$ac_exeext &&
12000 $as_test_x conftest$ac_exeext; then
12001 { echo "$as_me:$LINENO: result: yes" >&5
12002 echo "${ECHO_T}yes" >&6; }
12004 echo "$as_me: failed program was:" >&5
12005 sed 's/^/| /' conftest.$ac_ext >&5
12007 { echo "$as_me:$LINENO: result: no" >&5
12008 echo "${ECHO_T}no" >&6; }
12009 CFLAGS="$ac_add_cflags__old_cflags"
12012 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12013 conftest$ac_exeext conftest.$ac_ext
12016 CFLAGS="$CFLAGS $cflags_save"
12019 if test "${ac_cv_header_memory_h+set}" = set; then
12020 { echo "$as_me:$LINENO: checking for memory.h" >&5
12021 echo $ECHO_N "checking for memory.h... $ECHO_C" >&6; }
12022 if test "${ac_cv_header_memory_h+set}" = set; then
12023 echo $ECHO_N "(cached) $ECHO_C" >&6
12025 { echo "$as_me:$LINENO: result: $ac_cv_header_memory_h" >&5
12026 echo "${ECHO_T}$ac_cv_header_memory_h" >&6; }
12028 # Is the header compilable?
12029 { echo "$as_me:$LINENO: checking memory.h usability" >&5
12030 echo $ECHO_N "checking memory.h usability... $ECHO_C" >&6; }
12031 cat >conftest.$ac_ext <<_ACEOF
12034 cat confdefs.h >>conftest.$ac_ext
12035 cat >>conftest.$ac_ext <<_ACEOF
12036 /* end confdefs.h. */
12037 $ac_includes_default
12038 #include <memory.h>
12040 rm -f conftest.$ac_objext
12041 if { (ac_try="$ac_compile"
12042 case "(($ac_try" in
12043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12044 *) ac_try_echo=$ac_try;;
12046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12047 (eval "$ac_compile") 2>conftest.er1
12049 grep -v '^ *+' conftest.er1 >conftest.err
12051 cat conftest.err >&5
12052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12053 (exit $ac_status); } && {
12054 test -z "$ac_c_werror_flag" ||
12055 test ! -s conftest.err
12056 } && test -s conftest.$ac_objext; then
12057 ac_header_compiler=yes
12059 echo "$as_me: failed program was:" >&5
12060 sed 's/^/| /' conftest.$ac_ext >&5
12062 ac_header_compiler=no
12065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12066 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12067 echo "${ECHO_T}$ac_header_compiler" >&6; }
12069 # Is the header present?
12070 { echo "$as_me:$LINENO: checking memory.h presence" >&5
12071 echo $ECHO_N "checking memory.h presence... $ECHO_C" >&6; }
12072 cat >conftest.$ac_ext <<_ACEOF
12075 cat confdefs.h >>conftest.$ac_ext
12076 cat >>conftest.$ac_ext <<_ACEOF
12077 /* end confdefs.h. */
12078 #include <memory.h>
12080 if { (ac_try="$ac_cpp conftest.$ac_ext"
12081 case "(($ac_try" in
12082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12083 *) ac_try_echo=$ac_try;;
12085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12086 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12088 grep -v '^ *+' conftest.er1 >conftest.err
12090 cat conftest.err >&5
12091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12092 (exit $ac_status); } >/dev/null && {
12093 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12094 test ! -s conftest.err
12096 ac_header_preproc=yes
12098 echo "$as_me: failed program was:" >&5
12099 sed 's/^/| /' conftest.$ac_ext >&5
12101 ac_header_preproc=no
12104 rm -f conftest.err conftest.$ac_ext
12105 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12106 echo "${ECHO_T}$ac_header_preproc" >&6; }
12108 # So? What about this header?
12109 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12111 { echo "$as_me:$LINENO: WARNING: memory.h: accepted by the compiler, rejected by the preprocessor!" >&5
12112 echo "$as_me: WARNING: memory.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12113 { echo "$as_me:$LINENO: WARNING: memory.h: proceeding with the compiler's result" >&5
12114 echo "$as_me: WARNING: memory.h: proceeding with the compiler's result" >&2;}
12115 ac_header_preproc=yes
12118 { echo "$as_me:$LINENO: WARNING: memory.h: present but cannot be compiled" >&5
12119 echo "$as_me: WARNING: memory.h: present but cannot be compiled" >&2;}
12120 { echo "$as_me:$LINENO: WARNING: memory.h: check for missing prerequisite headers?" >&5
12121 echo "$as_me: WARNING: memory.h: check for missing prerequisite headers?" >&2;}
12122 { echo "$as_me:$LINENO: WARNING: memory.h: see the Autoconf documentation" >&5
12123 echo "$as_me: WARNING: memory.h: see the Autoconf documentation" >&2;}
12124 { echo "$as_me:$LINENO: WARNING: memory.h: section \"Present But Cannot Be Compiled\"" >&5
12125 echo "$as_me: WARNING: memory.h: section \"Present But Cannot Be Compiled\"" >&2;}
12126 { echo "$as_me:$LINENO: WARNING: memory.h: proceeding with the preprocessor's result" >&5
12127 echo "$as_me: WARNING: memory.h: proceeding with the preprocessor's result" >&2;}
12128 { echo "$as_me:$LINENO: WARNING: memory.h: in the future, the compiler will take precedence" >&5
12129 echo "$as_me: WARNING: memory.h: in the future, the compiler will take precedence" >&2;}
12131 ## ---------------------------------- ##
12132 ## Report this to vorbis-dev@xiph.org ##
12133 ## ---------------------------------- ##
12135 ) | sed "s/^/$as_me: WARNING: /" >&2
12138 { echo "$as_me:$LINENO: checking for memory.h" >&5
12139 echo $ECHO_N "checking for memory.h... $ECHO_C" >&6; }
12140 if test "${ac_cv_header_memory_h+set}" = set; then
12141 echo $ECHO_N "(cached) $ECHO_C" >&6
12143 ac_cv_header_memory_h=$ac_header_preproc
12145 { echo "$as_me:$LINENO: result: $ac_cv_header_memory_h" >&5
12146 echo "${ECHO_T}$ac_cv_header_memory_h" >&6; }
12149 if test $ac_cv_header_memory_h = yes; then
12150 CFLAGS="$CFLAGS -DUSE_MEMORY_H"
12160 { echo "$as_me:$LINENO: checking for cos in -lm" >&5
12161 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6; }
12162 if test "${ac_cv_lib_m_cos+set}" = set; then
12163 echo $ECHO_N "(cached) $ECHO_C" >&6
12165 ac_check_lib_save_LIBS=$LIBS
12167 cat >conftest.$ac_ext <<_ACEOF
12170 cat confdefs.h >>conftest.$ac_ext
12171 cat >>conftest.$ac_ext <<_ACEOF
12172 /* end confdefs.h. */
12174 /* Override any GCC internal prototype to avoid an error.
12175 Use char because int might match the return type of a GCC
12176 builtin and then its argument prototype would still apply. */
12189 rm -f conftest.$ac_objext conftest$ac_exeext
12190 if { (ac_try="$ac_link"
12191 case "(($ac_try" in
12192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12193 *) ac_try_echo=$ac_try;;
12195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12196 (eval "$ac_link") 2>conftest.er1
12198 grep -v '^ *+' conftest.er1 >conftest.err
12200 cat conftest.err >&5
12201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12202 (exit $ac_status); } && {
12203 test -z "$ac_c_werror_flag" ||
12204 test ! -s conftest.err
12205 } && test -s conftest$ac_exeext &&
12206 $as_test_x conftest$ac_exeext; then
12207 ac_cv_lib_m_cos=yes
12209 echo "$as_me: failed program was:" >&5
12210 sed 's/^/| /' conftest.$ac_ext >&5
12215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12216 conftest$ac_exeext conftest.$ac_ext
12217 LIBS=$ac_check_lib_save_LIBS
12219 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
12220 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6; }
12221 if test $ac_cv_lib_m_cos = yes; then
12227 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
12228 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
12229 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
12230 echo $ECHO_N "(cached) $ECHO_C" >&6
12232 ac_check_lib_save_LIBS=$LIBS
12233 LIBS="-lpthread $LIBS"
12234 cat >conftest.$ac_ext <<_ACEOF
12237 cat confdefs.h >>conftest.$ac_ext
12238 cat >>conftest.$ac_ext <<_ACEOF
12239 /* end confdefs.h. */
12241 /* Override any GCC internal prototype to avoid an error.
12242 Use char because int might match the return type of a GCC
12243 builtin and then its argument prototype would still apply. */
12247 char pthread_create ();
12251 return pthread_create ();
12256 rm -f conftest.$ac_objext conftest$ac_exeext
12257 if { (ac_try="$ac_link"
12258 case "(($ac_try" in
12259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12260 *) ac_try_echo=$ac_try;;
12262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12263 (eval "$ac_link") 2>conftest.er1
12265 grep -v '^ *+' conftest.er1 >conftest.err
12267 cat conftest.err >&5
12268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12269 (exit $ac_status); } && {
12270 test -z "$ac_c_werror_flag" ||
12271 test ! -s conftest.err
12272 } && test -s conftest$ac_exeext &&
12273 $as_test_x conftest$ac_exeext; then
12274 ac_cv_lib_pthread_pthread_create=yes
12276 echo "$as_me: failed program was:" >&5
12277 sed 's/^/| /' conftest.$ac_ext >&5
12279 ac_cv_lib_pthread_pthread_create=no
12282 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12283 conftest$ac_exeext conftest.$ac_ext
12284 LIBS=$ac_check_lib_save_LIBS
12286 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
12287 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
12288 if test $ac_cv_lib_pthread_pthread_create = yes; then
12289 pthread_lib="-lpthread"
12297 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12298 if test -n "$ac_tool_prefix"; then
12299 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12300 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12301 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12303 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12304 echo $ECHO_N "(cached) $ECHO_C" >&6
12306 case $PKG_CONFIG in
12308 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12312 for as_dir in $PATH
12315 test -z "$as_dir" && as_dir=.
12316 for ac_exec_ext in '' $ac_executable_extensions; do
12317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12318 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12329 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12330 if test -n "$PKG_CONFIG"; then
12331 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12332 echo "${ECHO_T}$PKG_CONFIG" >&6; }
12334 { echo "$as_me:$LINENO: result: no" >&5
12335 echo "${ECHO_T}no" >&6; }
12340 if test -z "$ac_cv_path_PKG_CONFIG"; then
12341 ac_pt_PKG_CONFIG=$PKG_CONFIG
12342 # Extract the first word of "pkg-config", so it can be a program name with args.
12343 set dummy pkg-config; ac_word=$2
12344 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12346 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
12347 echo $ECHO_N "(cached) $ECHO_C" >&6
12349 case $ac_pt_PKG_CONFIG in
12351 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12355 for as_dir in $PATH
12358 test -z "$as_dir" && as_dir=.
12359 for ac_exec_ext in '' $ac_executable_extensions; do
12360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12361 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12372 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12373 if test -n "$ac_pt_PKG_CONFIG"; then
12374 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
12375 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
12377 { echo "$as_me:$LINENO: result: no" >&5
12378 echo "${ECHO_T}no" >&6; }
12381 if test "x$ac_pt_PKG_CONFIG" = x; then
12384 case $cross_compiling:$ac_tool_warned in
12386 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12387 whose name does not start with the host triplet. If you think this
12388 configuration is useful to you, please write to autoconf@gnu.org." >&5
12389 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12390 whose name does not start with the host triplet. If you think this
12391 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12392 ac_tool_warned=yes ;;
12394 PKG_CONFIG=$ac_pt_PKG_CONFIG
12397 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12401 if test -n "$PKG_CONFIG"; then
12402 _pkg_min_version=0.9.0
12403 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
12404 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
12405 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12406 { echo "$as_me:$LINENO: result: yes" >&5
12407 echo "${ECHO_T}yes" >&6; }
12409 { echo "$as_me:$LINENO: result: no" >&5
12410 echo "${ECHO_T}no" >&6; }
12417 if test "x$PKG_CONFIG" != "x"
12421 { echo "$as_me:$LINENO: checking for OGG" >&5
12422 echo $ECHO_N "checking for OGG... $ECHO_C" >&6; }
12424 if test -n "$PKG_CONFIG"; then
12425 if test -n "$OGG_CFLAGS"; then
12426 pkg_cv_OGG_CFLAGS="$OGG_CFLAGS"
12428 if test -n "$PKG_CONFIG" && \
12429 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.0\"") >&5
12430 ($PKG_CONFIG --exists --print-errors "ogg >= 1.0") 2>&5
12432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12433 (exit $ac_status); }; then
12434 pkg_cv_OGG_CFLAGS=`$PKG_CONFIG --cflags "ogg >= 1.0" 2>/dev/null`
12442 if test -n "$PKG_CONFIG"; then
12443 if test -n "$OGG_LIBS"; then
12444 pkg_cv_OGG_LIBS="$OGG_LIBS"
12446 if test -n "$PKG_CONFIG" && \
12447 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.0\"") >&5
12448 ($PKG_CONFIG --exists --print-errors "ogg >= 1.0") 2>&5
12450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12451 (exit $ac_status); }; then
12452 pkg_cv_OGG_LIBS=`$PKG_CONFIG --libs "ogg >= 1.0" 2>/dev/null`
12463 if test $pkg_failed = yes; then
12465 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12466 _pkg_short_errors_supported=yes
12468 _pkg_short_errors_supported=no
12470 if test $_pkg_short_errors_supported = yes; then
12471 OGG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ogg >= 1.0"`
12473 OGG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ogg >= 1.0"`
12475 # Put the nasty error message in config.log where it belongs
12476 echo "$OGG_PKG_ERRORS" >&5
12478 { echo "$as_me:$LINENO: result: no" >&5
12479 echo "${ECHO_T}no" >&6; }
12481 elif test $pkg_failed = untried; then
12484 OGG_CFLAGS=$pkg_cv_OGG_CFLAGS
12485 OGG_LIBS=$pkg_cv_OGG_LIBS
12486 { echo "$as_me:$LINENO: result: yes" >&5
12487 echo "${ECHO_T}yes" >&6; }
12491 if test "x$HAVE_OGG" = "xno"
12494 # Check whether --with-ogg was given.
12495 if test "${with_ogg+set}" = set; then
12496 withval=$with_ogg; ogg_prefix="$withval"
12502 # Check whether --with-ogg-libraries was given.
12503 if test "${with_ogg_libraries+set}" = set; then
12504 withval=$with_ogg_libraries; ogg_libraries="$withval"
12510 # Check whether --with-ogg-includes was given.
12511 if test "${with_ogg_includes+set}" = set; then
12512 withval=$with_ogg_includes; ogg_includes="$withval"
12517 # Check whether --enable-oggtest was given.
12518 if test "${enable_oggtest+set}" = set; then
12519 enableval=$enable_oggtest;
12525 if test "x$ogg_libraries" != "x" ; then
12526 OGG_LIBS="-L$ogg_libraries"
12527 elif test "x$ogg_prefix" = "xno" || test "x$ogg_prefix" = "xyes" ; then
12529 elif test "x$ogg_prefix" != "x" ; then
12530 OGG_LIBS="-L$ogg_prefix/lib"
12531 elif test "x$prefix" != "xNONE" ; then
12532 OGG_LIBS="-L$prefix/lib"
12535 if test "x$ogg_prefix" != "xno" ; then
12536 OGG_LIBS="$OGG_LIBS -logg"
12539 if test "x$ogg_includes" != "x" ; then
12540 OGG_CFLAGS="-I$ogg_includes"
12541 elif test "x$ogg_prefix" = "xno" || test "x$ogg_prefix" = "xyes" ; then
12543 elif test "x$ogg_prefix" != "x" ; then
12544 OGG_CFLAGS="-I$ogg_prefix/include"
12545 elif test "x$prefix" != "xNONE"; then
12546 OGG_CFLAGS="-I$prefix/include"
12549 { echo "$as_me:$LINENO: checking for Ogg" >&5
12550 echo $ECHO_N "checking for Ogg... $ECHO_C" >&6; }
12551 if test "x$ogg_prefix" = "xno" ; then
12553 enable_oggtest="no"
12559 if test "x$enable_oggtest" = "xyes" ; then
12560 ac_save_CFLAGS="$CFLAGS"
12561 ac_save_LIBS="$LIBS"
12562 CFLAGS="$CFLAGS $OGG_CFLAGS"
12563 LIBS="$LIBS $OGG_LIBS"
12565 if test "$cross_compiling" = yes; then
12566 echo $ac_n "cross compiling; assumed OK... $ac_c"
12568 cat >conftest.$ac_ext <<_ACEOF
12571 cat confdefs.h >>conftest.$ac_ext
12572 cat >>conftest.$ac_ext <<_ACEOF
12573 /* end confdefs.h. */
12576 #include <stdlib.h>
12577 #include <string.h>
12578 #include <ogg/ogg.h>
12582 system("touch conf.oggtest");
12588 rm -f conftest$ac_exeext
12589 if { (ac_try="$ac_link"
12590 case "(($ac_try" in
12591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12592 *) ac_try_echo=$ac_try;;
12594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12595 (eval "$ac_link") 2>&5
12597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12598 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12599 { (case "(($ac_try" in
12600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12601 *) ac_try_echo=$ac_try;;
12603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12604 (eval "$ac_try") 2>&5
12606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12607 (exit $ac_status); }; }; then
12610 echo "$as_me: program exited with status $ac_status" >&5
12611 echo "$as_me: failed program was:" >&5
12612 sed 's/^/| /' conftest.$ac_ext >&5
12614 ( exit $ac_status )
12617 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12621 CFLAGS="$ac_save_CFLAGS"
12622 LIBS="$ac_save_LIBS"
12625 if test "x$no_ogg" = "xdisabled" ; then
12626 { echo "$as_me:$LINENO: result: no" >&5
12627 echo "${ECHO_T}no" >&6; }
12628 { { echo "$as_me:$LINENO: error: must have Ogg installed!" >&5
12629 echo "$as_me: error: must have Ogg installed!" >&2;}
12630 { (exit 1); exit 1; }; }
12631 elif test "x$no_ogg" = "x" ; then
12632 { echo "$as_me:$LINENO: result: yes" >&5
12633 echo "${ECHO_T}yes" >&6; }
12636 { echo "$as_me:$LINENO: result: no" >&5
12637 echo "${ECHO_T}no" >&6; }
12638 if test -f conf.oggtest ; then
12641 echo "*** Could not run Ogg test program, checking why..."
12642 CFLAGS="$CFLAGS $OGG_CFLAGS"
12643 LIBS="$LIBS $OGG_LIBS"
12644 cat >conftest.$ac_ext <<_ACEOF
12647 cat confdefs.h >>conftest.$ac_ext
12648 cat >>conftest.$ac_ext <<_ACEOF
12649 /* end confdefs.h. */
12652 #include <ogg/ogg.h>
12662 rm -f conftest.$ac_objext conftest$ac_exeext
12663 if { (ac_try="$ac_link"
12664 case "(($ac_try" in
12665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12666 *) ac_try_echo=$ac_try;;
12668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12669 (eval "$ac_link") 2>conftest.er1
12671 grep -v '^ *+' conftest.er1 >conftest.err
12673 cat conftest.err >&5
12674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12675 (exit $ac_status); } && {
12676 test -z "$ac_c_werror_flag" ||
12677 test ! -s conftest.err
12678 } && test -s conftest$ac_exeext &&
12679 $as_test_x conftest$ac_exeext; then
12680 echo "*** The test program compiled, but did not run. This usually means"
12681 echo "*** that the run-time linker is not finding Ogg or finding the wrong"
12682 echo "*** version of Ogg. If it is not finding Ogg, you'll need to set your"
12683 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12684 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12685 echo "*** is required on your system"
12687 echo "*** If you have an old version installed, it is best to remove it, although"
12688 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12690 echo "$as_me: failed program was:" >&5
12691 sed 's/^/| /' conftest.$ac_ext >&5
12693 echo "*** The test program failed to compile or link. See the file config.log for the"
12694 echo "*** exact error that occured. This usually means Ogg was incorrectly installed"
12695 echo "*** or that you have moved Ogg since it was installed."
12698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12699 conftest$ac_exeext conftest.$ac_ext
12700 CFLAGS="$ac_save_CFLAGS"
12701 LIBS="$ac_save_LIBS"
12705 { { echo "$as_me:$LINENO: error: must have Ogg installed!" >&5
12706 echo "$as_me: error: must have Ogg installed!" >&2;}
12707 { (exit 1); exit 1; }; }
12714 LIBS="$OGG_LIBS $VORBIS_LIBS"
12715 { echo "$as_me:$LINENO: checking for oggpack_writealign" >&5
12716 echo $ECHO_N "checking for oggpack_writealign... $ECHO_C" >&6; }
12717 if test "${ac_cv_func_oggpack_writealign+set}" = set; then
12718 echo $ECHO_N "(cached) $ECHO_C" >&6
12720 cat >conftest.$ac_ext <<_ACEOF
12723 cat confdefs.h >>conftest.$ac_ext
12724 cat >>conftest.$ac_ext <<_ACEOF
12725 /* end confdefs.h. */
12726 /* Define oggpack_writealign to an innocuous variant, in case <limits.h> declares oggpack_writealign.
12727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12728 #define oggpack_writealign innocuous_oggpack_writealign
12730 /* System header to define __stub macros and hopefully few prototypes,
12731 which can conflict with char oggpack_writealign (); below.
12732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12733 <limits.h> exists even on freestanding compilers. */
12736 # include <limits.h>
12738 # include <assert.h>
12741 #undef oggpack_writealign
12743 /* Override any GCC internal prototype to avoid an error.
12744 Use char because int might match the return type of a GCC
12745 builtin and then its argument prototype would still apply. */
12749 char oggpack_writealign ();
12750 /* The GNU C library defines this for functions which it implements
12751 to always fail with ENOSYS. Some functions are actually named
12752 something starting with __ and the normal name is an alias. */
12753 #if defined __stub_oggpack_writealign || defined __stub___oggpack_writealign
12760 return oggpack_writealign ();
12765 rm -f conftest.$ac_objext conftest$ac_exeext
12766 if { (ac_try="$ac_link"
12767 case "(($ac_try" in
12768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12769 *) ac_try_echo=$ac_try;;
12771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12772 (eval "$ac_link") 2>conftest.er1
12774 grep -v '^ *+' conftest.er1 >conftest.err
12776 cat conftest.err >&5
12777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12778 (exit $ac_status); } && {
12779 test -z "$ac_c_werror_flag" ||
12780 test ! -s conftest.err
12781 } && test -s conftest$ac_exeext &&
12782 $as_test_x conftest$ac_exeext; then
12783 ac_cv_func_oggpack_writealign=yes
12785 echo "$as_me: failed program was:" >&5
12786 sed 's/^/| /' conftest.$ac_ext >&5
12788 ac_cv_func_oggpack_writealign=no
12791 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12792 conftest$ac_exeext conftest.$ac_ext
12794 { echo "$as_me:$LINENO: result: $ac_cv_func_oggpack_writealign" >&5
12795 echo "${ECHO_T}$ac_cv_func_oggpack_writealign" >&6; }
12796 if test $ac_cv_func_oggpack_writealign = yes; then
12799 { { echo "$as_me:$LINENO: error: Ogg >= 1.0 required !" >&5
12800 echo "$as_me: error: Ogg >= 1.0 required !" >&2;}
12801 { (exit 1); exit 1; }; }
12808 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
12809 # for constant arguments. Useless!
12810 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
12811 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
12812 if test "${ac_cv_working_alloca_h+set}" = set; then
12813 echo $ECHO_N "(cached) $ECHO_C" >&6
12815 cat >conftest.$ac_ext <<_ACEOF
12818 cat confdefs.h >>conftest.$ac_ext
12819 cat >>conftest.$ac_ext <<_ACEOF
12820 /* end confdefs.h. */
12821 #include <alloca.h>
12825 char *p = (char *) alloca (2 * sizeof (int));
12831 rm -f conftest.$ac_objext conftest$ac_exeext
12832 if { (ac_try="$ac_link"
12833 case "(($ac_try" in
12834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12835 *) ac_try_echo=$ac_try;;
12837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12838 (eval "$ac_link") 2>conftest.er1
12840 grep -v '^ *+' conftest.er1 >conftest.err
12842 cat conftest.err >&5
12843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12844 (exit $ac_status); } && {
12845 test -z "$ac_c_werror_flag" ||
12846 test ! -s conftest.err
12847 } && test -s conftest$ac_exeext &&
12848 $as_test_x conftest$ac_exeext; then
12849 ac_cv_working_alloca_h=yes
12851 echo "$as_me: failed program was:" >&5
12852 sed 's/^/| /' conftest.$ac_ext >&5
12854 ac_cv_working_alloca_h=no
12857 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12858 conftest$ac_exeext conftest.$ac_ext
12860 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
12861 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
12862 if test $ac_cv_working_alloca_h = yes; then
12864 cat >>confdefs.h <<\_ACEOF
12865 #define HAVE_ALLOCA_H 1
12870 { echo "$as_me:$LINENO: checking for alloca" >&5
12871 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
12872 if test "${ac_cv_func_alloca_works+set}" = set; then
12873 echo $ECHO_N "(cached) $ECHO_C" >&6
12875 cat >conftest.$ac_ext <<_ACEOF
12878 cat confdefs.h >>conftest.$ac_ext
12879 cat >>conftest.$ac_ext <<_ACEOF
12880 /* end confdefs.h. */
12882 # define alloca __builtin_alloca
12885 # include <malloc.h>
12886 # define alloca _alloca
12888 # ifdef HAVE_ALLOCA_H
12889 # include <alloca.h>
12894 # ifndef alloca /* predefined by HP cc +Olibcalls */
12905 char *p = (char *) alloca (1);
12911 rm -f conftest.$ac_objext conftest$ac_exeext
12912 if { (ac_try="$ac_link"
12913 case "(($ac_try" in
12914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12915 *) ac_try_echo=$ac_try;;
12917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12918 (eval "$ac_link") 2>conftest.er1
12920 grep -v '^ *+' conftest.er1 >conftest.err
12922 cat conftest.err >&5
12923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12924 (exit $ac_status); } && {
12925 test -z "$ac_c_werror_flag" ||
12926 test ! -s conftest.err
12927 } && test -s conftest$ac_exeext &&
12928 $as_test_x conftest$ac_exeext; then
12929 ac_cv_func_alloca_works=yes
12931 echo "$as_me: failed program was:" >&5
12932 sed 's/^/| /' conftest.$ac_ext >&5
12934 ac_cv_func_alloca_works=no
12937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12938 conftest$ac_exeext conftest.$ac_ext
12940 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
12941 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
12943 if test $ac_cv_func_alloca_works = yes; then
12945 cat >>confdefs.h <<\_ACEOF
12946 #define HAVE_ALLOCA 1
12950 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
12951 # that cause trouble. Some versions do not even contain alloca or
12952 # contain a buggy version. If you still want to use their alloca,
12953 # use ar to extract alloca.o from them instead of compiling alloca.c.
12955 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
12957 cat >>confdefs.h <<\_ACEOF
12962 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
12963 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
12964 if test "${ac_cv_os_cray+set}" = set; then
12965 echo $ECHO_N "(cached) $ECHO_C" >&6
12967 cat >conftest.$ac_ext <<_ACEOF
12970 cat confdefs.h >>conftest.$ac_ext
12971 cat >>conftest.$ac_ext <<_ACEOF
12972 /* end confdefs.h. */
12973 #if defined CRAY && ! defined CRAY2
12980 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12981 $EGREP "webecray" >/dev/null 2>&1; then
12989 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
12990 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
12991 if test $ac_cv_os_cray = yes; then
12992 for ac_func in _getb67 GETB67 getb67; do
12993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12994 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12996 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12997 echo $ECHO_N "(cached) $ECHO_C" >&6
12999 cat >conftest.$ac_ext <<_ACEOF
13002 cat confdefs.h >>conftest.$ac_ext
13003 cat >>conftest.$ac_ext <<_ACEOF
13004 /* end confdefs.h. */
13005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13007 #define $ac_func innocuous_$ac_func
13009 /* System header to define __stub macros and hopefully few prototypes,
13010 which can conflict with char $ac_func (); below.
13011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13012 <limits.h> exists even on freestanding compilers. */
13015 # include <limits.h>
13017 # include <assert.h>
13022 /* Override any GCC internal prototype to avoid an error.
13023 Use char because int might match the return type of a GCC
13024 builtin and then its argument prototype would still apply. */
13029 /* The GNU C library defines this for functions which it implements
13030 to always fail with ENOSYS. Some functions are actually named
13031 something starting with __ and the normal name is an alias. */
13032 #if defined __stub_$ac_func || defined __stub___$ac_func
13039 return $ac_func ();
13044 rm -f conftest.$ac_objext conftest$ac_exeext
13045 if { (ac_try="$ac_link"
13046 case "(($ac_try" in
13047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13048 *) ac_try_echo=$ac_try;;
13050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13051 (eval "$ac_link") 2>conftest.er1
13053 grep -v '^ *+' conftest.er1 >conftest.err
13055 cat conftest.err >&5
13056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13057 (exit $ac_status); } && {
13058 test -z "$ac_c_werror_flag" ||
13059 test ! -s conftest.err
13060 } && test -s conftest$ac_exeext &&
13061 $as_test_x conftest$ac_exeext; then
13062 eval "$as_ac_var=yes"
13064 echo "$as_me: failed program was:" >&5
13065 sed 's/^/| /' conftest.$ac_ext >&5
13067 eval "$as_ac_var=no"
13070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13071 conftest$ac_exeext conftest.$ac_ext
13073 ac_res=`eval echo '${'$as_ac_var'}'`
13074 { echo "$as_me:$LINENO: result: $ac_res" >&5
13075 echo "${ECHO_T}$ac_res" >&6; }
13076 if test `eval echo '${'$as_ac_var'}'` = yes; then
13078 cat >>confdefs.h <<_ACEOF
13079 #define CRAY_STACKSEG_END $ac_func
13088 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
13089 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
13090 if test "${ac_cv_c_stack_direction+set}" = set; then
13091 echo $ECHO_N "(cached) $ECHO_C" >&6
13093 if test "$cross_compiling" = yes; then
13094 ac_cv_c_stack_direction=0
13096 cat >conftest.$ac_ext <<_ACEOF
13099 cat confdefs.h >>conftest.$ac_ext
13100 cat >>conftest.$ac_ext <<_ACEOF
13101 /* end confdefs.h. */
13102 $ac_includes_default
13104 find_stack_direction ()
13106 static char *addr = 0;
13111 return find_stack_direction ();
13114 return (&dummy > addr) ? 1 : -1;
13120 return find_stack_direction () < 0;
13123 rm -f conftest$ac_exeext
13124 if { (ac_try="$ac_link"
13125 case "(($ac_try" in
13126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13127 *) ac_try_echo=$ac_try;;
13129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13130 (eval "$ac_link") 2>&5
13132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13133 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13134 { (case "(($ac_try" in
13135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13136 *) ac_try_echo=$ac_try;;
13138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13139 (eval "$ac_try") 2>&5
13141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13142 (exit $ac_status); }; }; then
13143 ac_cv_c_stack_direction=1
13145 echo "$as_me: program exited with status $ac_status" >&5
13146 echo "$as_me: failed program was:" >&5
13147 sed 's/^/| /' conftest.$ac_ext >&5
13149 ( exit $ac_status )
13150 ac_cv_c_stack_direction=-1
13152 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13157 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
13158 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
13160 cat >>confdefs.h <<_ACEOF
13161 #define STACK_DIRECTION $ac_cv_c_stack_direction
13167 { echo "$as_me:$LINENO: checking for working memcmp" >&5
13168 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
13169 if test "${ac_cv_func_memcmp_working+set}" = set; then
13170 echo $ECHO_N "(cached) $ECHO_C" >&6
13172 if test "$cross_compiling" = yes; then
13173 ac_cv_func_memcmp_working=no
13175 cat >conftest.$ac_ext <<_ACEOF
13178 cat confdefs.h >>conftest.$ac_ext
13179 cat >>conftest.$ac_ext <<_ACEOF
13180 /* end confdefs.h. */
13181 $ac_includes_default
13186 /* Some versions of memcmp are not 8-bit clean. */
13187 char c0 = '\100', c1 = '\200', c2 = '\201';
13188 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
13191 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
13192 or more and with at least one buffer not starting on a 4-byte boundary.
13193 William Lewis provided this test program. */
13198 for (i = 0; i < 4; i++)
13202 strcpy (a, "--------01111111");
13203 strcpy (b, "--------10000000");
13204 if (memcmp (a, b, 16) >= 0)
13214 rm -f conftest$ac_exeext
13215 if { (ac_try="$ac_link"
13216 case "(($ac_try" in
13217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13218 *) ac_try_echo=$ac_try;;
13220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13221 (eval "$ac_link") 2>&5
13223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13224 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13225 { (case "(($ac_try" in
13226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13227 *) ac_try_echo=$ac_try;;
13229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13230 (eval "$ac_try") 2>&5
13232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13233 (exit $ac_status); }; }; then
13234 ac_cv_func_memcmp_working=yes
13236 echo "$as_me: program exited with status $ac_status" >&5
13237 echo "$as_me: failed program was:" >&5
13238 sed 's/^/| /' conftest.$ac_ext >&5
13240 ( exit $ac_status )
13241 ac_cv_func_memcmp_working=no
13243 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13248 { echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
13249 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
13250 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
13251 *" memcmp.$ac_objext "* ) ;;
13252 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
13266 ac_config_files="$ac_config_files Makefile m4/Makefile lib/Makefile lib/modes/Makefile lib/books/Makefile lib/books/coupled/Makefile lib/books/uncoupled/Makefile lib/books/floor/Makefile doc/Makefile doc/vorbisfile/Makefile doc/vorbisenc/Makefile doc/Doxyfile include/Makefile include/vorbis/Makefile examples/Makefile test/Makefile vq/Makefile libvorbis.spec vorbis.pc vorbisenc.pc vorbisfile.pc vorbis-uninstalled.pc vorbisenc-uninstalled.pc vorbisfile-uninstalled.pc"
13268 cat >confcache <<\_ACEOF
13269 # This file is a shell script that caches the results of configure
13270 # tests run on this system so they can be shared between configure
13271 # scripts and configure runs, see configure's option --config-cache.
13272 # It is not useful on other systems. If it contains results you don't
13273 # want to keep, you may remove or edit it.
13275 # config.status only pays attention to the cache file if you give it
13276 # the --recheck option to rerun configure.
13278 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13279 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13280 # following values.
13284 # The following way of writing the cache mishandles newlines in values,
13285 # but we know of no workaround that is simple, portable, and efficient.
13286 # So, we kill variables containing newlines.
13287 # Ultrix sh set writes to stderr and can't be redirected directly,
13288 # and sets the high bit in the cache file unless we assign to the vars.
13290 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13291 eval ac_val=\$$ac_var
13295 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13296 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13299 _ | IFS | as_nl) ;; #(
13300 *) $as_unset $ac_var ;;
13306 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13307 *${as_nl}ac_space=\ *)
13308 # `set' does not quote correctly, so add quotes (double-quote
13309 # substitution turns \\\\ into \\, and sed turns \\ into \).
13312 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13315 # `set' quotes correctly as required by POSIX, so do not add quotes.
13316 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13325 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13327 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13329 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13330 if test -w "$cache_file"; then
13331 test "x$cache_file" != "x/dev/null" &&
13332 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13333 echo "$as_me: updating cache $cache_file" >&6;}
13334 cat confcache >$cache_file
13336 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13337 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13342 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13343 # Let make expand exec_prefix.
13344 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13346 DEFS=-DHAVE_CONFIG_H
13350 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13351 # 1. Remove the extension, and $U if already installed.
13352 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13353 ac_i=`echo "$ac_i" | sed "$ac_script"`
13354 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13355 # will be set to the directory where LIBOBJS objects are built.
13356 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13357 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13359 LIBOBJS=$ac_libobjs
13361 LTLIBOBJS=$ac_ltlibobjs
13364 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13365 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
13366 Usually this means the macro was only invoked conditionally." >&5
13367 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
13368 Usually this means the macro was only invoked conditionally." >&2;}
13369 { (exit 1); exit 1; }; }
13371 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13372 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
13373 Usually this means the macro was only invoked conditionally." >&5
13374 echo "$as_me: error: conditional \"AMDEP\" was never defined.
13375 Usually this means the macro was only invoked conditionally." >&2;}
13376 { (exit 1); exit 1; }; }
13378 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13379 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13380 Usually this means the macro was only invoked conditionally." >&5
13381 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13382 Usually this means the macro was only invoked conditionally." >&2;}
13383 { (exit 1); exit 1; }; }
13385 if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then
13386 { { echo "$as_me:$LINENO: error: conditional \"HAVE_DOXYGEN\" was never defined.
13387 Usually this means the macro was only invoked conditionally." >&5
13388 echo "$as_me: error: conditional \"HAVE_DOXYGEN\" was never defined.
13389 Usually this means the macro was only invoked conditionally." >&2;}
13390 { (exit 1); exit 1; }; }
13392 if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then
13393 { { echo "$as_me:$LINENO: error: conditional \"BUILD_DOCS\" was never defined.
13394 Usually this means the macro was only invoked conditionally." >&5
13395 echo "$as_me: error: conditional \"BUILD_DOCS\" was never defined.
13396 Usually this means the macro was only invoked conditionally." >&2;}
13397 { (exit 1); exit 1; }; }
13399 if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
13400 { { echo "$as_me:$LINENO: error: conditional \"BUILD_EXAMPLES\" was never defined.
13401 Usually this means the macro was only invoked conditionally." >&5
13402 echo "$as_me: error: conditional \"BUILD_EXAMPLES\" was never defined.
13403 Usually this means the macro was only invoked conditionally." >&2;}
13404 { (exit 1); exit 1; }; }
13407 : ${CONFIG_STATUS=./config.status}
13408 ac_clean_files_save=$ac_clean_files
13409 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13410 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13411 echo "$as_me: creating $CONFIG_STATUS" >&6;}
13412 cat >$CONFIG_STATUS <<_ACEOF
13414 # Generated by $as_me.
13415 # Run this file to recreate the current configuration.
13416 # Compiler output produced by configure, useful for debugging
13417 # configure, is in config.log if it exists.
13420 ac_cs_recheck=false
13422 SHELL=\${CONFIG_SHELL-$SHELL}
13425 cat >>$CONFIG_STATUS <<\_ACEOF
13426 ## --------------------- ##
13427 ## M4sh Initialization. ##
13428 ## --------------------- ##
13430 # Be more Bourne compatible
13431 DUALCASE=1; export DUALCASE # for MKS sh
13432 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13435 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13436 # is contrary to our usage. Disable this feature.
13437 alias -g '${1+"$@"}'='"$@"'
13438 setopt NO_GLOB_SUBST
13440 case `(set -o) 2>/dev/null` in
13441 *posix*) set -o posix ;;
13450 # Avoid depending upon Character Ranges.
13451 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13452 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13453 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13454 as_cr_digits='0123456789'
13455 as_cr_alnum=$as_cr_Letters$as_cr_digits
13457 # The user is always right.
13458 if test "${PATH_SEPARATOR+set}" != set; then
13459 echo "#! /bin/sh" >conf$$.sh
13460 echo "exit 0" >>conf$$.sh
13462 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13470 # Support unset when possible.
13471 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13479 # We need space, tab and new line, in precisely that order. Quoting is
13480 # there to prevent editors from complaining about space-tab.
13481 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13482 # splitting by setting IFS to empty value.)
13487 # Find who we are. Look in the path if we contain no directory separator.
13489 *[\\/]* ) as_myself=$0 ;;
13490 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13491 for as_dir in $PATH
13494 test -z "$as_dir" && as_dir=.
13495 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13501 # We did not find ourselves, most probably we were run as `sh COMMAND'
13502 # in which case we are not to be found in the path.
13503 if test "x$as_myself" = x; then
13506 if test ! -f "$as_myself"; then
13507 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13508 { (exit 1); exit 1; }
13511 # Work around bugs in pre-3.0 UWIN ksh.
13512 for as_var in ENV MAIL MAILPATH
13513 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
13521 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13522 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13523 LC_TELEPHONE LC_TIME
13525 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13526 eval $as_var=C; export $as_var
13528 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
13532 # Required to use basename.
13533 if expr a : '\(a\)' >/dev/null 2>&1 &&
13534 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13540 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13541 as_basename=basename
13547 # Name of the executable.
13548 as_me=`$as_basename -- "$0" ||
13549 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13550 X"$0" : 'X\(//\)$' \| \
13551 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13553 sed '/^.*\/\([^/][^/]*\)\/*$/{
13572 as_lineno_1=$LINENO
13573 as_lineno_2=$LINENO
13574 test "x$as_lineno_1" != "x$as_lineno_2" &&
13575 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
13577 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13578 # uniformly replaced by the line number. The first 'sed' inserts a
13579 # line-number line after each line using $LINENO; the second 'sed'
13580 # does the real work. The second script uses 'N' to pair each
13581 # line-number line with the line containing $LINENO, and appends
13582 # trailing '-' during substitution so that $LINENO is not a special
13583 # case at line end.
13584 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13585 # scripts with optimization help from Paolo Bonzini. Blame Lee
13586 # E. McMahon (1931-1989) for sed's syntax. :-)
13598 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13601 ' >$as_me.lineno &&
13602 chmod +x "$as_me.lineno" ||
13603 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13604 { (exit 1); exit 1; }; }
13606 # Don't try to exec as it changes $[0], causing all sort of problems
13607 # (the dirname of $[0] is not the place where we might find the
13608 # original and so on. Autoconf is especially sensitive to this).
13609 . "./$as_me.lineno"
13610 # Exit status is that of the last command.
13615 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13621 ECHO_C= ECHO_N= ECHO_T=
13622 case `echo -n x` in
13624 case `echo 'x\c'` in
13625 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13632 if expr a : '\(a\)' >/dev/null 2>&1 &&
13633 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13639 rm -f conf$$ conf$$.exe conf$$.file
13640 if test -d conf$$.dir; then
13641 rm -f conf$$.dir/conf$$.file
13647 if ln -s conf$$.file conf$$ 2>/dev/null; then
13649 # ... but there are two gotchas:
13650 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13651 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13652 # In both cases, we have to default to `cp -p'.
13653 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13655 elif ln conf$$.file conf$$ 2>/dev/null; then
13660 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13661 rmdir conf$$.dir 2>/dev/null
13663 if mkdir -p . 2>/dev/null; then
13666 test -d ./-p && rmdir ./-p
13670 if test -x / >/dev/null 2>&1; then
13671 as_test_x='test -x'
13673 if ls -dL / >/dev/null 2>&1; then
13680 if test -d "$1"; then
13686 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13687 ???[sx]*):;;*)false;;esac;fi
13691 as_executable_p=$as_test_x
13693 # Sed expression to map a string onto a valid CPP name.
13694 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13696 # Sed expression to map a string onto a valid variable name.
13697 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13702 # Save the log message, to keep $[0] and so on meaningful, and to
13703 # report actual input values of CONFIG_FILES etc. instead of their
13704 # values after options handling.
13706 This file was extended by libvorbis $as_me 1.3.1, which was
13707 generated by GNU Autoconf 2.61. Invocation command line was
13709 CONFIG_FILES = $CONFIG_FILES
13710 CONFIG_HEADERS = $CONFIG_HEADERS
13711 CONFIG_LINKS = $CONFIG_LINKS
13712 CONFIG_COMMANDS = $CONFIG_COMMANDS
13715 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13720 cat >>$CONFIG_STATUS <<_ACEOF
13721 # Files that config.status was made for.
13722 config_files="$ac_config_files"
13723 config_headers="$ac_config_headers"
13724 config_commands="$ac_config_commands"
13728 cat >>$CONFIG_STATUS <<\_ACEOF
13730 \`$as_me' instantiates files from templates according to the
13731 current configuration.
13733 Usage: $0 [OPTIONS] [FILE]...
13735 -h, --help print this help, then exit
13736 -V, --version print version number and configuration settings, then exit
13737 -q, --quiet do not print progress messages
13738 -d, --debug don't remove temporary files
13739 --recheck update $as_me by reconfiguring in the same conditions
13740 --file=FILE[:TEMPLATE]
13741 instantiate the configuration file FILE
13742 --header=FILE[:TEMPLATE]
13743 instantiate the configuration header FILE
13745 Configuration files:
13748 Configuration headers:
13751 Configuration commands:
13754 Report bugs to <bug-autoconf@gnu.org>."
13757 cat >>$CONFIG_STATUS <<_ACEOF
13759 libvorbis config.status 1.3.1
13760 configured by $0, generated by GNU Autoconf 2.61,
13761 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13763 Copyright (C) 2006 Free Software Foundation, Inc.
13764 This config.status script is free software; the Free Software Foundation
13765 gives unlimited permission to copy, distribute and modify it."
13773 cat >>$CONFIG_STATUS <<\_ACEOF
13774 # If no file are specified by the user, then we need to provide default
13775 # value. By we need to know if files were specified by the user.
13781 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13782 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13793 # Handling of the options.
13794 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13796 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13797 echo "$ac_cs_version"; exit ;;
13798 --debug | --debu | --deb | --de | --d | -d )
13800 --file | --fil | --fi | --f )
13802 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
13803 ac_need_defaults=false;;
13804 --header | --heade | --head | --hea )
13806 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
13807 ac_need_defaults=false;;
13809 # Conflict between --help and --header
13810 { echo "$as_me: error: ambiguous option: $1
13811 Try \`$0 --help' for more information." >&2
13812 { (exit 1); exit 1; }; };;
13813 --help | --hel | -h )
13814 echo "$ac_cs_usage"; exit ;;
13815 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13816 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13819 # This is an error.
13820 -*) { echo "$as_me: error: unrecognized option: $1
13821 Try \`$0 --help' for more information." >&2
13822 { (exit 1); exit 1; }; } ;;
13824 *) ac_config_targets="$ac_config_targets $1"
13825 ac_need_defaults=false ;;
13831 ac_configure_extra_args=
13833 if $ac_cs_silent; then
13835 ac_configure_extra_args="$ac_configure_extra_args --silent"
13839 cat >>$CONFIG_STATUS <<_ACEOF
13840 if \$ac_cs_recheck; then
13841 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13842 CONFIG_SHELL=$SHELL
13843 export CONFIG_SHELL
13844 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13848 cat >>$CONFIG_STATUS <<\_ACEOF
13852 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13853 ## Running $as_me. ##
13859 cat >>$CONFIG_STATUS <<_ACEOF
13863 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13866 # The HP-UX ksh and POSIX shell print the target directory to stdout
13867 # if CDPATH is set.
13868 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13870 sed_quote_subst='$sed_quote_subst'
13871 double_quote_subst='$double_quote_subst'
13872 delay_variable_subst='$delay_variable_subst'
13873 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
13874 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13875 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13876 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13877 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13878 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13879 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13880 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13881 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13882 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13883 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13884 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13885 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13886 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13887 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13888 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13889 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13890 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13891 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13892 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13893 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13894 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13895 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13896 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13897 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13898 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13899 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13900 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13901 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13902 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13903 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13904 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13905 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13906 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13907 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13908 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13909 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13910 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13911 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13912 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13913 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13914 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13915 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13916 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13917 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13918 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13919 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"`'
13920 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"`'
13921 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13922 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13923 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13924 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13925 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13926 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13927 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13928 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13929 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13930 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13931 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13932 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13933 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13934 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13935 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13936 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13937 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13938 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13939 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13940 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13941 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13942 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13943 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13944 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13945 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13946 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13947 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13948 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13949 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13950 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13951 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13952 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13953 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13954 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13955 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13956 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13957 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13958 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13959 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13960 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13961 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13962 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13963 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13964 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13965 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13966 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13967 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13968 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13969 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13970 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13971 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13972 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13973 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13974 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13975 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13976 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13977 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13978 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13979 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13980 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13981 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13982 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13983 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13984 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13985 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13986 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13987 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13988 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13989 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13990 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13991 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13992 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13995 LTCFLAGS='$LTCFLAGS'
13996 compiler='$compiler_DEFAULT'
13998 # Quote evaled strings.
14009 deplibs_check_method \
14018 lt_cv_sys_global_symbol_pipe \
14019 lt_cv_sys_global_symbol_to_cdecl \
14020 lt_cv_sys_global_symbol_to_c_name_address \
14021 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14024 lt_prog_compiler_no_builtin_flag \
14025 lt_prog_compiler_wl \
14026 lt_prog_compiler_pic \
14027 lt_prog_compiler_static \
14028 lt_cv_prog_compiler_c_o \
14036 export_dynamic_flag_spec \
14037 whole_archive_flag_spec \
14038 compiler_needs_object \
14040 allow_undefined_flag \
14041 no_undefined_flag \
14042 hardcode_libdir_flag_spec \
14043 hardcode_libdir_flag_spec_ld \
14044 hardcode_libdir_separator \
14049 variables_saved_for_relink \
14051 library_names_spec \
14056 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14057 *[\\\\\\\`\\"\\\$]*)
14058 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14061 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14066 # Double-quote double-evaled strings.
14067 for var in reload_cmds \
14068 old_postinstall_cmds \
14069 old_postuninstall_cmds \
14071 extract_expsyms_cmds \
14072 old_archive_from_new_cmds \
14073 old_archive_from_expsyms_cmds \
14075 archive_expsym_cmds \
14077 module_expsym_cmds \
14078 export_symbols_cmds \
14081 postuninstall_cmds \
14083 sys_lib_search_path_spec \
14084 sys_lib_dlsearch_path_spec; do
14085 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14086 *[\\\\\\\`\\"\\\$]*)
14087 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14090 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14095 # Fix-up fallback echo if it was mangled by the above quoting rules.
14097 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14101 ac_aux_dir='$ac_aux_dir'
14102 xsi_shell='$xsi_shell'
14103 lt_shell_append='$lt_shell_append'
14105 # See if we are running on zsh, and set the options which allow our
14106 # commands through without removal of \ escapes INIT.
14107 if test -n "\${ZSH_VERSION+set}" ; then
14108 setopt NO_GLOB_SUBST
14114 TIMESTAMP='$TIMESTAMP'
14123 cat >>$CONFIG_STATUS <<\_ACEOF
14125 # Handling of arguments.
14126 for ac_config_target in $ac_config_targets
14128 case $ac_config_target in
14129 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14130 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14131 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14132 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14133 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
14134 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
14135 "lib/modes/Makefile") CONFIG_FILES="$CONFIG_FILES lib/modes/Makefile" ;;
14136 "lib/books/Makefile") CONFIG_FILES="$CONFIG_FILES lib/books/Makefile" ;;
14137 "lib/books/coupled/Makefile") CONFIG_FILES="$CONFIG_FILES lib/books/coupled/Makefile" ;;
14138 "lib/books/uncoupled/Makefile") CONFIG_FILES="$CONFIG_FILES lib/books/uncoupled/Makefile" ;;
14139 "lib/books/floor/Makefile") CONFIG_FILES="$CONFIG_FILES lib/books/floor/Makefile" ;;
14140 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14141 "doc/vorbisfile/Makefile") CONFIG_FILES="$CONFIG_FILES doc/vorbisfile/Makefile" ;;
14142 "doc/vorbisenc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/vorbisenc/Makefile" ;;
14143 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
14144 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
14145 "include/vorbis/Makefile") CONFIG_FILES="$CONFIG_FILES include/vorbis/Makefile" ;;
14146 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
14147 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
14148 "vq/Makefile") CONFIG_FILES="$CONFIG_FILES vq/Makefile" ;;
14149 "libvorbis.spec") CONFIG_FILES="$CONFIG_FILES libvorbis.spec" ;;
14150 "vorbis.pc") CONFIG_FILES="$CONFIG_FILES vorbis.pc" ;;
14151 "vorbisenc.pc") CONFIG_FILES="$CONFIG_FILES vorbisenc.pc" ;;
14152 "vorbisfile.pc") CONFIG_FILES="$CONFIG_FILES vorbisfile.pc" ;;
14153 "vorbis-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES vorbis-uninstalled.pc" ;;
14154 "vorbisenc-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES vorbisenc-uninstalled.pc" ;;
14155 "vorbisfile-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES vorbisfile-uninstalled.pc" ;;
14157 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14158 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14159 { (exit 1); exit 1; }; };;
14164 # If the user did not use the arguments to specify the items to instantiate,
14165 # then the envvar interface is used. Set only those that are not.
14166 # We use the long form for the default assignment because of an extremely
14167 # bizarre bug on SunOS 4.1.3.
14168 if $ac_need_defaults; then
14169 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14170 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14171 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14174 # Have a temporary directory for convenience. Make it in the build tree
14175 # simply because there is no reason against having it here, and in addition,
14176 # creating and moving files from /tmp can sometimes cause problems.
14177 # Hook for its removal unless debugging.
14178 # Note that there is a small window in which the directory will not be cleaned:
14179 # after its creation but before its name has been assigned to `$tmp'.
14183 trap 'exit_status=$?
14184 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14186 trap '{ (exit 1); exit 1; }' 1 2 13 15
14188 # Create a (secure) tmp directory for tmp files.
14191 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14192 test -n "$tmp" && test -d "$tmp"
14195 tmp=./conf$$-$RANDOM
14196 (umask 077 && mkdir "$tmp")
14199 echo "$me: cannot create a temporary directory in ." >&2
14200 { (exit 1); exit 1; }
14204 # Set up the sed scripts for CONFIG_FILES section.
14207 # No need to generate the scripts if there are no CONFIG_FILES.
14208 # This happens for instance when ./config.status config.h
14209 if test -n "$CONFIG_FILES"; then
14216 for ac_last_try in false false false false false :; do
14217 cat >conf$$subs.sed <<_ACEOF
14218 SHELL!$SHELL$ac_delim
14219 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
14220 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
14221 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
14222 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
14223 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
14224 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
14225 exec_prefix!$exec_prefix$ac_delim
14226 prefix!$prefix$ac_delim
14227 program_transform_name!$program_transform_name$ac_delim
14228 bindir!$bindir$ac_delim
14229 sbindir!$sbindir$ac_delim
14230 libexecdir!$libexecdir$ac_delim
14231 datarootdir!$datarootdir$ac_delim
14232 datadir!$datadir$ac_delim
14233 sysconfdir!$sysconfdir$ac_delim
14234 sharedstatedir!$sharedstatedir$ac_delim
14235 localstatedir!$localstatedir$ac_delim
14236 includedir!$includedir$ac_delim
14237 oldincludedir!$oldincludedir$ac_delim
14238 docdir!$docdir$ac_delim
14239 infodir!$infodir$ac_delim
14240 htmldir!$htmldir$ac_delim
14241 dvidir!$dvidir$ac_delim
14242 pdfdir!$pdfdir$ac_delim
14243 psdir!$psdir$ac_delim
14244 libdir!$libdir$ac_delim
14245 localedir!$localedir$ac_delim
14246 mandir!$mandir$ac_delim
14247 DEFS!$DEFS$ac_delim
14248 ECHO_C!$ECHO_C$ac_delim
14249 ECHO_N!$ECHO_N$ac_delim
14250 ECHO_T!$ECHO_T$ac_delim
14251 LIBS!$LIBS$ac_delim
14252 build_alias!$build_alias$ac_delim
14253 host_alias!$host_alias$ac_delim
14254 target_alias!$target_alias$ac_delim
14255 build!$build$ac_delim
14256 build_cpu!$build_cpu$ac_delim
14257 build_vendor!$build_vendor$ac_delim
14258 build_os!$build_os$ac_delim
14259 host!$host$ac_delim
14260 host_cpu!$host_cpu$ac_delim
14261 host_vendor!$host_vendor$ac_delim
14262 host_os!$host_os$ac_delim
14263 target!$target$ac_delim
14264 target_cpu!$target_cpu$ac_delim
14265 target_vendor!$target_vendor$ac_delim
14266 target_os!$target_os$ac_delim
14267 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
14268 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
14269 INSTALL_DATA!$INSTALL_DATA$ac_delim
14270 am__isrc!$am__isrc$ac_delim
14271 CYGPATH_W!$CYGPATH_W$ac_delim
14272 PACKAGE!$PACKAGE$ac_delim
14273 VERSION!$VERSION$ac_delim
14274 ACLOCAL!$ACLOCAL$ac_delim
14275 AUTOCONF!$AUTOCONF$ac_delim
14276 AUTOMAKE!$AUTOMAKE$ac_delim
14277 AUTOHEADER!$AUTOHEADER$ac_delim
14278 MAKEINFO!$MAKEINFO$ac_delim
14279 install_sh!$install_sh$ac_delim
14280 STRIP!$STRIP$ac_delim
14281 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
14282 mkdir_p!$mkdir_p$ac_delim
14284 SET_MAKE!$SET_MAKE$ac_delim
14285 am__leading_dot!$am__leading_dot$ac_delim
14286 AMTAR!$AMTAR$ac_delim
14287 am__tar!$am__tar$ac_delim
14288 am__untar!$am__untar$ac_delim
14289 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
14290 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
14291 MAINT!$MAINT$ac_delim
14292 ACLOCAL_AMFLAGS!$ACLOCAL_AMFLAGS$ac_delim
14293 V_LIB_CURRENT!$V_LIB_CURRENT$ac_delim
14294 V_LIB_REVISION!$V_LIB_REVISION$ac_delim
14295 V_LIB_AGE!$V_LIB_AGE$ac_delim
14296 VF_LIB_CURRENT!$VF_LIB_CURRENT$ac_delim
14297 VF_LIB_REVISION!$VF_LIB_REVISION$ac_delim
14298 VF_LIB_AGE!$VF_LIB_AGE$ac_delim
14299 VE_LIB_CURRENT!$VE_LIB_CURRENT$ac_delim
14300 VE_LIB_REVISION!$VE_LIB_REVISION$ac_delim
14301 VE_LIB_AGE!$VE_LIB_AGE$ac_delim
14303 CFLAGS!$CFLAGS$ac_delim
14304 LDFLAGS!$LDFLAGS$ac_delim
14305 CPPFLAGS!$CPPFLAGS$ac_delim
14306 ac_ct_CC!$ac_ct_CC$ac_delim
14307 EXEEXT!$EXEEXT$ac_delim
14308 OBJEXT!$OBJEXT$ac_delim
14309 DEPDIR!$DEPDIR$ac_delim
14310 am__include!$am__include$ac_delim
14311 am__quote!$am__quote$ac_delim
14312 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
14313 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
14314 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
14317 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
14319 elif $ac_last_try; then
14320 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14321 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14322 { (exit 1); exit 1; }; }
14324 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14328 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
14329 if test -n "$ac_eof"; then
14330 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
14331 ac_eof=`expr $ac_eof + 1`
14334 cat >>$CONFIG_STATUS <<_ACEOF
14335 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
14336 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14339 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
14340 s/^/s,@/; s/!/@,|#_!!_#|/
14343 s/'"$ac_delim"'$/,g/; t
14345 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
14346 ' >>$CONFIG_STATUS <conf$$subs.sed
14347 rm -f conf$$subs.sed
14348 cat >>$CONFIG_STATUS <<_ACEOF
14354 for ac_last_try in false false false false false :; do
14355 cat >conf$$subs.sed <<_ACEOF
14356 CCDEPMODE!$CCDEPMODE$ac_delim
14357 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
14358 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
14361 DLLTOOL!$DLLTOOL$ac_delim
14362 OBJDUMP!$OBJDUMP$ac_delim
14363 LIBTOOL!$LIBTOOL$ac_delim
14365 GREP!$GREP$ac_delim
14366 EGREP!$EGREP$ac_delim
14367 FGREP!$FGREP$ac_delim
14369 DUMPBIN!$DUMPBIN$ac_delim
14370 ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
14372 LN_S!$LN_S$ac_delim
14374 RANLIB!$RANLIB$ac_delim
14375 lt_ECHO!$lt_ECHO$ac_delim
14376 DSYMUTIL!$DSYMUTIL$ac_delim
14377 NMEDIT!$NMEDIT$ac_delim
14378 LIPO!$LIPO$ac_delim
14379 OTOOL!$OTOOL$ac_delim
14380 OTOOL64!$OTOOL64$ac_delim
14381 HAVE_DOXYGEN!$HAVE_DOXYGEN$ac_delim
14382 HAVE_DOXYGEN_TRUE!$HAVE_DOXYGEN_TRUE$ac_delim
14383 HAVE_DOXYGEN_FALSE!$HAVE_DOXYGEN_FALSE$ac_delim
14384 PDFLATEX!$PDFLATEX$ac_delim
14385 HTLATEX!$HTLATEX$ac_delim
14386 BUILD_DOCS_TRUE!$BUILD_DOCS_TRUE$ac_delim
14387 BUILD_DOCS_FALSE!$BUILD_DOCS_FALSE$ac_delim
14388 BUILD_EXAMPLES_TRUE!$BUILD_EXAMPLES_TRUE$ac_delim
14389 BUILD_EXAMPLES_FALSE!$BUILD_EXAMPLES_FALSE$ac_delim
14390 PKG_CONFIG!$PKG_CONFIG$ac_delim
14391 OGG_CFLAGS!$OGG_CFLAGS$ac_delim
14392 OGG_LIBS!$OGG_LIBS$ac_delim
14393 ALLOCA!$ALLOCA$ac_delim
14394 LIBOBJS!$LIBOBJS$ac_delim
14395 VORBIS_LIBS!$VORBIS_LIBS$ac_delim
14396 DEBUG!$DEBUG$ac_delim
14397 PROFILE!$PROFILE$ac_delim
14398 pthread_lib!$pthread_lib$ac_delim
14399 LIBTOOL_DEPS!$LIBTOOL_DEPS$ac_delim
14400 LTLIBOBJS!$LTLIBOBJS$ac_delim
14403 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 45; then
14405 elif $ac_last_try; then
14406 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14407 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14408 { (exit 1); exit 1; }; }
14410 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14414 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
14415 if test -n "$ac_eof"; then
14416 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
14417 ac_eof=`expr $ac_eof + 1`
14420 cat >>$CONFIG_STATUS <<_ACEOF
14421 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
14422 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
14425 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
14426 s/^/s,@/; s/!/@,|#_!!_#|/
14429 s/'"$ac_delim"'$/,g/; t
14431 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
14432 ' >>$CONFIG_STATUS <conf$$subs.sed
14433 rm -f conf$$subs.sed
14434 cat >>$CONFIG_STATUS <<_ACEOF
14441 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14442 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14443 # trailing colons and then remove the whole line if VPATH becomes empty
14444 # (actually we leave an empty line to preserve line numbers).
14445 if test "x$srcdir" = x.; then
14446 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14447 s/:*\$(srcdir):*/:/
14448 s/:*\${srcdir}:*/:/
14450 s/^\([^=]*=[ ]*\):*/\1/
14456 cat >>$CONFIG_STATUS <<\_ACEOF
14457 fi # test -n "$CONFIG_FILES"
14460 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
14463 :[FHLC]) ac_mode=$ac_tag; continue;;
14465 case $ac_mode$ac_tag in
14467 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
14468 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
14469 { (exit 1); exit 1; }; };;
14470 :[FH]-) ac_tag=-:-;;
14471 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14488 -) ac_f="$tmp/stdin";;
14489 *) # Look for the file first in the build tree, then in the source tree
14490 # (if the path is not absolute). The absolute path cannot be DOS-style,
14491 # because $ac_f cannot contain `:'.
14495 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14497 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14498 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14499 { (exit 1); exit 1; }; };;
14501 ac_file_inputs="$ac_file_inputs $ac_f"
14504 # Let's still pretend it is `configure' which instantiates (i.e., don't
14505 # use $as_me), people would be surprised to read:
14506 # /* config.h. Generated by config.status. */
14507 configure_input="Generated from "`IFS=:
14508 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
14509 if test x"$ac_file" != x-; then
14510 configure_input="$ac_file. $configure_input"
14511 { echo "$as_me:$LINENO: creating $ac_file" >&5
14512 echo "$as_me: creating $ac_file" >&6;}
14516 *:-:* | *:-) cat >"$tmp/stdin";;
14521 ac_dir=`$as_dirname -- "$ac_file" ||
14522 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14523 X"$ac_file" : 'X\(//\)[^/]' \| \
14524 X"$ac_file" : 'X\(//\)$' \| \
14525 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14527 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14531 /^X\(\/\/\)[^/].*/{
14546 -*) as_dir=./$as_dir;;
14548 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14552 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
14553 *) as_qdir=$as_dir;;
14555 as_dirs="'$as_qdir' $as_dirs"
14556 as_dir=`$as_dirname -- "$as_dir" ||
14557 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14558 X"$as_dir" : 'X\(//\)[^/]' \| \
14559 X"$as_dir" : 'X\(//\)$' \| \
14560 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14562 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14566 /^X\(\/\/\)[^/].*/{
14579 test -d "$as_dir" && break
14581 test -z "$as_dirs" || eval "mkdir $as_dirs"
14582 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14583 echo "$as_me: error: cannot create directory $as_dir" >&2;}
14584 { (exit 1); exit 1; }; }; }
14588 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14590 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14591 # A ".." for each directory in $ac_dir_suffix.
14592 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
14593 case $ac_top_builddir_sub in
14594 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14595 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14598 ac_abs_top_builddir=$ac_pwd
14599 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14600 # for backward compatibility:
14601 ac_top_builddir=$ac_top_build_prefix
14604 .) # We are building in place.
14606 ac_top_srcdir=$ac_top_builddir_sub
14607 ac_abs_top_srcdir=$ac_pwd ;;
14608 [\\/]* | ?:[\\/]* ) # Absolute name.
14609 ac_srcdir=$srcdir$ac_dir_suffix;
14610 ac_top_srcdir=$srcdir
14611 ac_abs_top_srcdir=$srcdir ;;
14612 *) # Relative name.
14613 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14614 ac_top_srcdir=$ac_top_build_prefix$srcdir
14615 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14617 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14627 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14628 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14630 ac_MKDIR_P=$MKDIR_P
14632 [\\/$]* | ?:[\\/]* ) ;;
14633 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14637 cat >>$CONFIG_STATUS <<\_ACEOF
14638 # If the template does not know about datarootdir, expand it.
14639 # FIXME: This hack should be removed a few years after 2.60.
14640 ac_datarootdir_hack=; ac_datarootdir_seen=
14642 case `sed -n '/datarootdir/ {
14651 ' $ac_file_inputs` in
14652 *datarootdir*) ac_datarootdir_seen=yes;;
14653 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14654 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14655 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14657 cat >>$CONFIG_STATUS <<_ACEOF
14658 ac_datarootdir_hack='
14659 s&@datadir@&$datadir&g
14660 s&@docdir@&$docdir&g
14661 s&@infodir@&$infodir&g
14662 s&@localedir@&$localedir&g
14663 s&@mandir@&$mandir&g
14664 s&\\\${datarootdir}&$datarootdir&g' ;;
14668 # Neutralize VPATH when `$srcdir' = `.'.
14669 # Shell code in configure.ac might set extrasub.
14670 # FIXME: do we really want to maintain this feature?
14671 cat >>$CONFIG_STATUS <<_ACEOF
14675 cat >>$CONFIG_STATUS <<\_ACEOF
14677 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14678 s&@configure_input@&$configure_input&;t t
14679 s&@top_builddir@&$ac_top_builddir_sub&;t t
14680 s&@srcdir@&$ac_srcdir&;t t
14681 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14682 s&@top_srcdir@&$ac_top_srcdir&;t t
14683 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14684 s&@builddir@&$ac_builddir&;t t
14685 s&@abs_builddir@&$ac_abs_builddir&;t t
14686 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14687 s&@INSTALL@&$ac_INSTALL&;t t
14688 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14689 $ac_datarootdir_hack
14690 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
14692 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14693 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14694 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14695 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14696 which seems to be undefined. Please make sure it is defined." >&5
14697 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14698 which seems to be undefined. Please make sure it is defined." >&2;}
14702 -) cat "$tmp/out"; rm -f "$tmp/out";;
14703 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
14712 # Transform confdefs.h into a sed script `conftest.defines', that
14713 # substitutes the proper values into config.h.in to produce config.h.
14714 rm -f conftest.defines conftest.tail
14715 # First, append a space to every undef/define line, to ease matching.
14716 echo 's/$/ /' >conftest.defines
14717 # Then, protect against being on the right side of a sed subst, or in
14718 # an unquoted here document, in config.status. If some macros were
14719 # called several times there might be several #defines for the same
14720 # symbol, which is useless. But do not sort them, since the last
14721 # AC_DEFINE must be honored.
14722 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14723 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
14724 # NAME is the cpp macro being defined, VALUE is the value it is being given.
14725 # PARAMS is the parameter list in the macro definition--in most cases, it's
14726 # just an empty string.
14727 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
14728 ac_dB='\\)[ (].*,\\1define\\2'
14736 s/^[ ]*#[ ]*define[ ][ ]*//
14741 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
14742 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
14743 ' >>conftest.defines
14745 # Remove the space that was appended to ease matching.
14746 # Then replace #undef with comments. This is necessary, for
14747 # example, in the case of _POSIX_SOURCE, which is predefined and required
14748 # on some systems where configure will not decide to define it.
14749 # (The regexp can be short, since the line contains either #define or #undef.)
14751 s,^[ #]*u.*,/* & */,' >>conftest.defines
14753 # Break up conftest.defines:
14754 ac_max_sed_lines=50
14756 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
14757 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
14758 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
14760 ac_in='$ac_file_inputs'
14761 ac_out='"$tmp/out1"'
14762 ac_nxt='"$tmp/out2"'
14766 # Write a here document:
14767 cat >>$CONFIG_STATUS <<_ACEOF
14768 # First, check the format of the line:
14769 cat >"\$tmp/defines.sed" <<\\CEOF
14770 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
14771 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
14775 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
14777 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
14778 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
14779 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
14780 grep . conftest.tail >/dev/null || break
14781 rm -f conftest.defines
14782 mv conftest.tail conftest.defines
14784 rm -f conftest.defines conftest.tail
14786 echo "ac_result=$ac_in" >>$CONFIG_STATUS
14787 cat >>$CONFIG_STATUS <<\_ACEOF
14788 if test x"$ac_file" != x-; then
14789 echo "/* $configure_input */" >"$tmp/config.h"
14790 cat "$ac_result" >>"$tmp/config.h"
14791 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
14792 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14793 echo "$as_me: $ac_file is unchanged" >&6;}
14796 mv "$tmp/config.h" $ac_file
14799 echo "/* $configure_input */"
14803 # Compute $ac_file's index in $config_headers.
14806 for _am_header in $config_headers :; do
14807 case $_am_header in
14808 $_am_arg | $_am_arg:* )
14811 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14814 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14815 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14816 X"$_am_arg" : 'X\(//\)[^/]' \| \
14817 X"$_am_arg" : 'X\(//\)$' \| \
14818 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14820 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14824 /^X\(\/\/\)[^/].*/{
14836 s/.*/./; q'`/stamp-h$_am_stamp_count
14839 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
14840 echo "$as_me: executing $ac_file commands" >&6;}
14845 case $ac_file$ac_mode in
14846 "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
14847 # are listed without --file. Let's play safe and only enable the eval
14848 # if we detect the quoting.
14849 case $CONFIG_FILES in
14850 *\'*) eval set x "$CONFIG_FILES" ;;
14851 *) set x $CONFIG_FILES ;;
14856 # Strip MF so we end up with the name of the file.
14857 mf=`echo "$mf" | sed -e 's/:.*$//'`
14858 # Check whether this is an Automake generated Makefile or not.
14859 # We used to match only the files named `Makefile.in', but
14860 # some people rename them; so instead we look at the file content.
14861 # Grep'ing the first line is not enough: some people post-process
14862 # each Makefile.in and add a new line on top of each file to say so.
14863 # Grep'ing the whole file is not good either: AIX grep has a line
14864 # limit of 2048, but all sed's we know have understand at least 4000.
14865 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14866 dirpart=`$as_dirname -- "$mf" ||
14867 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14868 X"$mf" : 'X\(//\)[^/]' \| \
14869 X"$mf" : 'X\(//\)$' \| \
14870 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14872 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14876 /^X\(\/\/\)[^/].*/{
14892 # Extract the definition of DEPDIR, am__include, and am__quote
14893 # from the Makefile without running `make'.
14894 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14895 test -z "$DEPDIR" && continue
14896 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14897 test -z "am__include" && continue
14898 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14899 # When using ansi2knr, U may be empty or an underscore; expand it
14900 U=`sed -n 's/^U = //p' < "$mf"`
14901 # Find all dependency output files, they are included files with
14902 # $(DEPDIR) in their names. We invoke sed twice because it is the
14903 # simplest approach to changing $(DEPDIR) to its actual value in the
14905 for file in `sed -n "
14906 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14907 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14908 # Make sure the directory exists.
14909 test -f "$dirpart/$file" && continue
14910 fdir=`$as_dirname -- "$file" ||
14911 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14912 X"$file" : 'X\(//\)[^/]' \| \
14913 X"$file" : 'X\(//\)$' \| \
14914 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14916 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14920 /^X\(\/\/\)[^/].*/{
14933 { as_dir=$dirpart/$fdir
14935 -*) as_dir=./$as_dir;;
14937 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14941 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
14942 *) as_qdir=$as_dir;;
14944 as_dirs="'$as_qdir' $as_dirs"
14945 as_dir=`$as_dirname -- "$as_dir" ||
14946 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14947 X"$as_dir" : 'X\(//\)[^/]' \| \
14948 X"$as_dir" : 'X\(//\)$' \| \
14949 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14951 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14955 /^X\(\/\/\)[^/].*/{
14968 test -d "$as_dir" && break
14970 test -z "$as_dirs" || eval "mkdir $as_dirs"
14971 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14972 echo "$as_me: error: cannot create directory $as_dir" >&2;}
14973 { (exit 1); exit 1; }; }; }
14974 # echo "creating $dirpart/$file"
14975 echo '# dummy' > "$dirpart/$file"
14981 # See if we are running on zsh, and set the options which allow our
14982 # commands through without removal of \ escapes.
14983 if test -n "${ZSH_VERSION+set}" ; then
14984 setopt NO_GLOB_SUBST
14987 cfgfile="${ofile}T"
14988 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14991 cat <<_LT_EOF >> "$cfgfile"
14994 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14995 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14996 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14997 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14999 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15000 # 2006, 2007, 2008 Free Software Foundation, Inc.
15001 # Written by Gordon Matzigkeit, 1996
15003 # This file is part of GNU Libtool.
15005 # GNU Libtool is free software; you can redistribute it and/or
15006 # modify it under the terms of the GNU General Public License as
15007 # published by the Free Software Foundation; either version 2 of
15008 # the License, or (at your option) any later version.
15010 # As a special exception to the GNU General Public License,
15011 # if you distribute this file as part of a program or library that
15012 # is built using GNU Libtool, you may include this file under the
15013 # same distribution terms that you use for the rest of that program.
15015 # GNU Libtool is distributed in the hope that it will be useful,
15016 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15017 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15018 # GNU General Public License for more details.
15020 # You should have received a copy of the GNU General Public License
15021 # along with GNU Libtool; see the file COPYING. If not, a copy
15022 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15023 # obtained by writing to the Free Software Foundation, Inc.,
15024 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15027 # The names of the tagged configurations supported by this script.
15030 # ### BEGIN LIBTOOL CONFIG
15032 # Assembler program.
15035 # DLL creation program.
15038 # Object dumper program.
15041 # Which release of libtool.m4 was used?
15042 macro_version=$macro_version
15043 macro_revision=$macro_revision
15045 # Whether or not to build shared libraries.
15046 build_libtool_libs=$enable_shared
15048 # Whether or not to build static libraries.
15049 build_old_libs=$enable_static
15051 # What type of objects to build.
15054 # Whether or not to optimize for fast installation.
15055 fast_install=$enable_fast_install
15058 host_alias=$host_alias
15062 # The build system.
15063 build_alias=$build_alias
15067 # A sed program that does not truncate output.
15070 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15071 Xsed="\$SED -e 1s/^X//"
15073 # A grep program that handles long lines.
15079 # A literal string matcher.
15082 # A BSD- or MS-compatible name lister.
15085 # Whether we need soft or hard links.
15088 # What is the maximum length of a command?
15089 max_cmd_len=$max_cmd_len
15091 # Object file suffix (normally "o").
15094 # Executable file suffix (normally "").
15097 # whether the shell understands "unset".
15100 # turn spaces into newlines.
15103 # turn newlines into spaces.
15106 # How to create reloadable object files.
15107 reload_flag=$lt_reload_flag
15108 reload_cmds=$lt_reload_cmds
15110 # Method to check whether dependent libraries are shared objects.
15111 deplibs_check_method=$lt_deplibs_check_method
15113 # Command to use when deplibs_check_method == "file_magic".
15114 file_magic_cmd=$lt_file_magic_cmd
15118 AR_FLAGS=$lt_AR_FLAGS
15120 # A symbol stripping program.
15123 # Commands used to install an old-style archive.
15125 old_postinstall_cmds=$lt_old_postinstall_cmds
15126 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15131 # LTCC compiler flags.
15132 LTCFLAGS=$lt_CFLAGS
15134 # Take the output of nm and produce a listing of raw symbols and C names.
15135 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15137 # Transform the output of nm in a proper C declaration.
15138 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15140 # Transform the output of nm in a C name address pair.
15141 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15143 # Transform the output of nm in a C name address pair when lib prefix is needed.
15144 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15146 # The name of the directory that contains temporary libtool files.
15149 # Shell to use when invoking shell scripts.
15152 # An echo program that does not interpret backslashes.
15155 # Used to examine libraries when file_magic_cmd begins with "file".
15156 MAGIC_CMD=$MAGIC_CMD
15158 # Must we lock files when doing compilation?
15159 need_locks=$lt_need_locks
15161 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15162 DSYMUTIL=$lt_DSYMUTIL
15164 # Tool to change global to local symbols on Mac OS X.
15167 # Tool to manipulate fat objects and archives on Mac OS X.
15170 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15173 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15174 OTOOL64=$lt_OTOOL64
15176 # Old archive suffix (normally "a").
15179 # Shared library suffix (normally ".so").
15180 shrext_cmds=$lt_shrext_cmds
15182 # The commands to extract the exported symbol list from a shared archive.
15183 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15185 # Variables whose values should be saved in libtool wrapper scripts and
15186 # restored at link time.
15187 variables_saved_for_relink=$lt_variables_saved_for_relink
15189 # Do we need the "lib" prefix for modules?
15190 need_lib_prefix=$need_lib_prefix
15192 # Do we need a version for libraries?
15193 need_version=$need_version
15195 # Library versioning type.
15196 version_type=$version_type
15198 # Shared library runtime path variable.
15199 runpath_var=$runpath_var
15201 # Shared library path variable.
15202 shlibpath_var=$shlibpath_var
15204 # Is shlibpath searched before the hard-coded library search path?
15205 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15207 # Format of library name prefix.
15208 libname_spec=$lt_libname_spec
15210 # List of archive names. First name is the real one, the rest are links.
15211 # The last name is the one that the linker finds with -lNAME
15212 library_names_spec=$lt_library_names_spec
15214 # The coded name of the library, if different from the real name.
15215 soname_spec=$lt_soname_spec
15217 # Command to use after installation of a shared archive.
15218 postinstall_cmds=$lt_postinstall_cmds
15220 # Command to use after uninstallation of a shared archive.
15221 postuninstall_cmds=$lt_postuninstall_cmds
15223 # Commands used to finish a libtool library installation in a directory.
15224 finish_cmds=$lt_finish_cmds
15226 # As "finish_cmds", except a single script fragment to be evaled but
15228 finish_eval=$lt_finish_eval
15230 # Whether we should hardcode library paths into libraries.
15231 hardcode_into_libs=$hardcode_into_libs
15233 # Compile-time system search path for libraries.
15234 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15236 # Run-time system search path for libraries.
15237 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15239 # Whether dlopen is supported.
15240 dlopen_support=$enable_dlopen
15242 # Whether dlopen of programs is supported.
15243 dlopen_self=$enable_dlopen_self
15245 # Whether dlopen of statically linked programs is supported.
15246 dlopen_self_static=$enable_dlopen_self_static
15248 # Commands to strip libraries.
15249 old_striplib=$lt_old_striplib
15250 striplib=$lt_striplib
15253 # The linker used to build libraries.
15256 # Commands used to build an old-style archive.
15257 old_archive_cmds=$lt_old_archive_cmds
15259 # A language specific compiler.
15262 # Is the compiler the GNU compiler?
15265 # Compiler flag to turn off builtin functions.
15266 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15268 # How to pass a linker flag through the compiler.
15269 wl=$lt_lt_prog_compiler_wl
15271 # Additional compiler flags for building library objects.
15272 pic_flag=$lt_lt_prog_compiler_pic
15274 # Compiler flag to prevent dynamic linking.
15275 link_static_flag=$lt_lt_prog_compiler_static
15277 # Does compiler simultaneously support -c and -o options?
15278 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15280 # Whether or not to add -lc for building shared libraries.
15281 build_libtool_need_lc=$archive_cmds_need_lc
15283 # Whether or not to disallow shared libs when runtime libs are static.
15284 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15286 # Compiler flag to allow reflexive dlopens.
15287 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15289 # Compiler flag to generate shared objects directly from archives.
15290 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15292 # Whether the compiler copes with passing no objects directly.
15293 compiler_needs_object=$lt_compiler_needs_object
15295 # Create an old-style archive from a shared archive.
15296 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15298 # Create a temporary old-style archive to link instead of a shared archive.
15299 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15301 # Commands used to build a shared archive.
15302 archive_cmds=$lt_archive_cmds
15303 archive_expsym_cmds=$lt_archive_expsym_cmds
15305 # Commands used to build a loadable module if different from building
15306 # a shared archive.
15307 module_cmds=$lt_module_cmds
15308 module_expsym_cmds=$lt_module_expsym_cmds
15310 # Whether we are building with GNU ld or not.
15311 with_gnu_ld=$lt_with_gnu_ld
15313 # Flag that allows shared libraries with undefined symbols to be built.
15314 allow_undefined_flag=$lt_allow_undefined_flag
15316 # Flag that enforces no undefined symbols.
15317 no_undefined_flag=$lt_no_undefined_flag
15319 # Flag to hardcode \$libdir into a binary during linking.
15320 # This must work even if \$libdir does not exist
15321 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15323 # If ld is used when linking, flag to hardcode \$libdir into a binary
15324 # during linking. This must work even if \$libdir does not exist.
15325 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15327 # Whether we need a single "-rpath" flag with a separated argument.
15328 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15330 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15331 # DIR into the resulting binary.
15332 hardcode_direct=$hardcode_direct
15334 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15335 # DIR into the resulting binary and the resulting library dependency is
15336 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15337 # library is relocated.
15338 hardcode_direct_absolute=$hardcode_direct_absolute
15340 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15341 # into the resulting binary.
15342 hardcode_minus_L=$hardcode_minus_L
15344 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15345 # into the resulting binary.
15346 hardcode_shlibpath_var=$hardcode_shlibpath_var
15348 # Set to "yes" if building a shared library automatically hardcodes DIR
15349 # into the library and all subsequent libraries and executables linked
15351 hardcode_automatic=$hardcode_automatic
15353 # Set to yes if linker adds runtime paths of dependent libraries
15354 # to runtime path list.
15355 inherit_rpath=$inherit_rpath
15357 # Whether libtool must link a program against all its dependency libraries.
15358 link_all_deplibs=$link_all_deplibs
15360 # Fix the shell variable \$srcfile for the compiler.
15361 fix_srcfile_path=$lt_fix_srcfile_path
15363 # Set to "yes" if exported symbols are required.
15364 always_export_symbols=$always_export_symbols
15366 # The commands to list exported symbols.
15367 export_symbols_cmds=$lt_export_symbols_cmds
15369 # Symbols that should not be listed in the preloaded symbols.
15370 exclude_expsyms=$lt_exclude_expsyms
15372 # Symbols that must always be exported.
15373 include_expsyms=$lt_include_expsyms
15375 # Commands necessary for linking programs (against libraries) with templates.
15376 prelink_cmds=$lt_prelink_cmds
15378 # Specify filename containing input files.
15379 file_list_spec=$lt_file_list_spec
15381 # How to hardcode a shared library path into an executable.
15382 hardcode_action=$hardcode_action
15384 # ### END LIBTOOL CONFIG
15390 cat <<\_LT_EOF >> "$cfgfile"
15391 # AIX sometimes has problems with the GCC collect2 program. For some
15392 # reason, if we set the COLLECT_NAMES environment variable, the problems
15393 # vanish in a puff of smoke.
15394 if test "X${COLLECT_NAMES+set}" != Xset; then
15396 export COLLECT_NAMES
15403 ltmain="$ac_aux_dir/ltmain.sh"
15406 # We use sed instead of cat because bash on DJGPP gets confused if
15407 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15408 # text mode, it properly converts lines to CR/LF. This bash problem
15409 # is reportedly fixed, but why not run on old versions too?
15410 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15411 || (rm -f "$cfgfile"; exit 1)
15415 cat << \_LT_EOF >> "$cfgfile"
15417 # func_dirname file append nondir_replacement
15418 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15419 # otherwise set result to NONDIR_REPLACEMENT.
15423 */*) func_dirname_result="${1%/*}${2}" ;;
15424 * ) func_dirname_result="${3}" ;;
15428 # func_basename file
15431 func_basename_result="${1##*/}"
15434 # func_dirname_and_basename file append nondir_replacement
15435 # perform func_basename and func_dirname in a single function
15437 # dirname: Compute the dirname of FILE. If nonempty,
15438 # add APPEND to the result, otherwise set result
15439 # to NONDIR_REPLACEMENT.
15440 # value returned in "$func_dirname_result"
15441 # basename: Compute filename of FILE.
15442 # value retuned in "$func_basename_result"
15443 # Implementation must be kept synchronized with func_dirname
15444 # and func_basename. For efficiency, we do not delegate to
15445 # those functions but instead duplicate the functionality here.
15446 func_dirname_and_basename ()
15449 */*) func_dirname_result="${1%/*}${2}" ;;
15450 * ) func_dirname_result="${3}" ;;
15452 func_basename_result="${1##*/}"
15455 # func_stripname prefix suffix name
15456 # strip PREFIX and SUFFIX off of NAME.
15457 # PREFIX and SUFFIX must not contain globbing or regex special
15458 # characters, hashes, percent signs, but SUFFIX may contain a leading
15459 # dot (in which case that matches only a dot).
15462 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15463 # positional parameters, so assign one to ordinary parameter first.
15464 func_stripname_result=${3}
15465 func_stripname_result=${func_stripname_result#"${1}"}
15466 func_stripname_result=${func_stripname_result%"${2}"}
15472 func_opt_split_opt=${1%%=*}
15473 func_opt_split_arg=${1#*=}
15480 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15481 *) func_lo2o_result=${1} ;;
15485 # func_xform libobj-or-source
15488 func_xform_result=${1%.*}.lo
15491 # func_arith arithmetic-term...
15494 func_arith_result=$(( $* ))
15498 # STRING may not start with a hyphen.
15501 func_len_result=${#1}
15506 *) # Bourne compatible functions.
15507 cat << \_LT_EOF >> "$cfgfile"
15509 # func_dirname file append nondir_replacement
15510 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15511 # otherwise set result to NONDIR_REPLACEMENT.
15514 # Extract subdirectory from the argument.
15515 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15516 if test "X$func_dirname_result" = "X${1}"; then
15517 func_dirname_result="${3}"
15519 func_dirname_result="$func_dirname_result${2}"
15523 # func_basename file
15526 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15530 # func_stripname prefix suffix name
15531 # strip PREFIX and SUFFIX off of NAME.
15532 # PREFIX and SUFFIX must not contain globbing or regex special
15533 # characters, hashes, percent signs, but SUFFIX may contain a leading
15534 # dot (in which case that matches only a dot).
15535 # func_strip_suffix prefix name
15539 .*) func_stripname_result=`$ECHO "X${3}" \
15540 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15541 *) func_stripname_result=`$ECHO "X${3}" \
15542 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15547 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15548 my_sed_long_arg='1s/^-[^=]*=//'
15553 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15554 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15560 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15563 # func_xform libobj-or-source
15566 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15569 # func_arith arithmetic-term...
15572 func_arith_result=`expr "$@"`
15576 # STRING may not start with a hyphen.
15579 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15585 case $lt_shell_append in
15587 cat << \_LT_EOF >> "$cfgfile"
15589 # func_append var value
15590 # Append VALUE to the end of shell variable VAR.
15598 cat << \_LT_EOF >> "$cfgfile"
15600 # func_append var value
15601 # Append VALUE to the end of shell variable VAR.
15612 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15613 || (rm -f "$cfgfile"; exit 1)
15615 mv -f "$cfgfile" "$ofile" ||
15616 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15625 { (exit 0); exit 0; }
15627 chmod +x $CONFIG_STATUS
15628 ac_clean_files=$ac_clean_files_save
15631 # configure is writing to config.log, and then calls config.status.
15632 # config.status does its own redirection, appending to config.log.
15633 # Unfortunately, on DOS this fails, as config.log is still kept open
15634 # by configure, so config.status won't be able to write to it; its
15635 # output is simply discarded. So we exec the FD to /dev/null,
15636 # effectively closing config.log, so it can be properly (re)opened and
15637 # appended to by config.status. When coming back to configure, we
15638 # need to make the FD available again.
15639 if test "$no_create" != yes; then
15641 ac_config_status_args=
15642 test "$silent" = yes &&
15643 ac_config_status_args="$ac_config_status_args --quiet"
15645 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15647 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15648 # would make configure fail if this is the last instruction.
15649 $ac_cs_success || { (exit 1); exit 1; }