2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir=.
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
258 CONFIG_SHELL=$as_shell
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
286 as_func_ret_success () {
289 as_func_ret_failure () {
294 if as_func_success; then
298 echo as_func_success failed.
301 if as_func_failure; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472 ECHO_C= ECHO_N= ECHO_T=
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506 elif ln conf$$.file conf$$ 2>/dev/null; then
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
517 test -d ./-p && rmdir ./-p
521 if test -x / >/dev/null 2>&1; then
524 if ls -dL / >/dev/null 2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
553 # Check that we are running under the correct shell.
554 SHELL=${CONFIG_SHELL-/bin/sh}
558 # Remove one level of quotation (which was required for Make).
559 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
564 if test "X$1" = X--no-reexec; then
565 # Discard the --no-reexec flag, and continue.
567 elif test "X$1" = X--fallback-echo; then
568 # Avoid inline document here, it may be left over
570 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
571 # Yippee, $ECHO works!
574 # Restart under the correct shell.
575 exec $SHELL "$0" --no-reexec ${1+"$@"}
578 if test "X$1" = X--fallback-echo; then
579 # used as fallback echo
587 # The HP-UX ksh and POSIX shell print the target directory to stdout
589 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
591 if test -z "$lt_ECHO"; then
592 if test "X${echo_test_string+set}" != Xset; then
593 # find a string as large as possible, as long as the shell can cope with it
594 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
597 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
604 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
605 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
606 test "X$echo_testing_string" = "X$echo_test_string"; then
609 # The Solaris, AIX, and Digital Unix default echo programs unquote
610 # backslashes. This makes it impossible to quote backslashes using
611 # echo "$something" | sed 's/\\/\\\\/g'
613 # So, first we look for a working echo in the user's PATH.
615 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
616 for dir in $PATH /usr/ucb; do
618 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
619 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
620 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
621 test "X$echo_testing_string" = "X$echo_test_string"; then
628 if test "X$ECHO" = Xecho; then
629 # We didn't find a better echo, so look for alternatives.
630 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
631 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
632 test "X$echo_testing_string" = "X$echo_test_string"; then
633 # This shell has a builtin print -r that does the trick.
635 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
636 test "X$CONFIG_SHELL" != X/bin/ksh; then
637 # If we have ksh, try running configure again with it.
638 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
639 export ORIGINAL_CONFIG_SHELL
640 CONFIG_SHELL=/bin/ksh
642 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
646 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
647 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
648 test "X$echo_testing_string" = "X$echo_test_string"; then
651 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
652 test "X$echo_testing_string" = 'X\t' &&
653 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
654 test "X$echo_testing_string" = "X$echo_test_string"; then
655 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
657 SHELL="$CONFIG_SHELL"
659 ECHO="$CONFIG_SHELL $0 --fallback-echo"
660 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
661 test "X$echo_testing_string" = 'X\t' &&
662 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
663 test "X$echo_testing_string" = "X$echo_test_string"; then
664 ECHO="$CONFIG_SHELL $0 --fallback-echo"
666 # maybe with a smaller string...
669 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
670 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
677 if test "$prev" != 'sed 50q "$0"'; then
678 echo_test_string=`eval $prev`
679 export echo_test_string
680 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
682 # Oops. We lost completely, so just stick with echo.
691 # Copy echo and quote the copy suitably for passing to libtool from
692 # the Makefile, instead of quoting the original, which is used later.
694 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
695 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
701 exec 7<&0 </dev/null 6>&1
704 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
705 # so uname gets run too.
706 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
711 ac_default_prefix=/usr/local
713 ac_config_libobj_dir=.
719 SHELL=${CONFIG_SHELL-/bin/sh}
721 # Identity of this package.
728 ac_unique_file="src/ascenario.c"
729 ac_default_prefix=/usr
730 # Factoring default headers for most tests.
731 ac_includes_default="\
733 #ifdef HAVE_SYS_TYPES_H
734 # include <sys/types.h>
736 #ifdef HAVE_SYS_STAT_H
737 # include <sys/stat.h>
743 # ifdef HAVE_STDLIB_H
748 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
753 #ifdef HAVE_STRINGS_H
754 # include <strings.h>
756 #ifdef HAVE_INTTYPES_H
757 # include <inttypes.h>
775 program_transform_name
803 ASCENARIO_MAJOR_VERSION
804 ASCENARIO_MINOR_VERSION
805 ASCENARIO_MICRO_VERSION
835 INSTALL_STRIP_PROGRAM
887 VERSIONED_SYMBOLS_TRUE
888 VERSIONED_SYMBOLS_FALSE
889 SYMBOLIC_FUNCTIONS_TRUE
890 SYMBOLIC_FUNCTIONS_FALSE
896 ac_precious_vars='build_alias
910 # Initialize some variables set by options.
912 ac_init_version=false
913 # The variables have the same names as the options, with
914 # dashes changed to underlines.
922 program_transform_name=s,x,x,
930 # Installation directory options.
931 # These are left unexpanded so users can "make install exec_prefix=/foo"
932 # and all the variables that are supposed to be based on exec_prefix
933 # by default will actually change.
934 # Use braces instead of parens because sh, perl, etc. also accept them.
935 # (The list follows the same order as the GNU Coding Standards.)
936 bindir='${exec_prefix}/bin'
937 sbindir='${exec_prefix}/sbin'
938 libexecdir='${exec_prefix}/libexec'
939 datarootdir='${prefix}/share'
940 datadir='${datarootdir}'
941 sysconfdir='${prefix}/etc'
942 sharedstatedir='${prefix}/com'
943 localstatedir='${prefix}/var'
944 includedir='${prefix}/include'
945 oldincludedir='/usr/include'
946 docdir='${datarootdir}/doc/${PACKAGE}'
947 infodir='${datarootdir}/info'
952 libdir='${exec_prefix}/lib'
953 localedir='${datarootdir}/locale'
954 mandir='${datarootdir}/man'
960 # If the previous option needs an argument, assign it.
961 if test -n "$ac_prev"; then
962 eval $ac_prev=\$ac_option
968 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
972 # Accept the important Cygnus configure options, so we can diagnose typos.
974 case $ac_dashdash$ac_option in
978 -bindir | --bindir | --bindi | --bind | --bin | --bi)
980 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
983 -build | --build | --buil | --bui | --bu)
984 ac_prev=build_alias ;;
985 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
986 build_alias=$ac_optarg ;;
988 -cache-file | --cache-file | --cache-fil | --cache-fi \
989 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
990 ac_prev=cache_file ;;
991 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
992 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
993 cache_file=$ac_optarg ;;
996 cache_file=config.cache ;;
998 -datadir | --datadir | --datadi | --datad)
1000 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1001 datadir=$ac_optarg ;;
1003 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1004 | --dataroo | --dataro | --datar)
1005 ac_prev=datarootdir ;;
1006 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1007 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1008 datarootdir=$ac_optarg ;;
1010 -disable-* | --disable-*)
1011 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1012 # Reject names that are not valid shell variable names.
1013 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1014 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1015 { (exit 1); exit 1; }; }
1016 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1017 eval enable_$ac_feature=no ;;
1019 -docdir | --docdir | --docdi | --doc | --do)
1021 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1022 docdir=$ac_optarg ;;
1024 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1026 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1027 dvidir=$ac_optarg ;;
1029 -enable-* | --enable-*)
1030 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1031 # Reject names that are not valid shell variable names.
1032 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1033 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1034 { (exit 1); exit 1; }; }
1035 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1036 eval enable_$ac_feature=\$ac_optarg ;;
1038 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1039 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1040 | --exec | --exe | --ex)
1041 ac_prev=exec_prefix ;;
1042 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1043 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1044 | --exec=* | --exe=* | --ex=*)
1045 exec_prefix=$ac_optarg ;;
1047 -gas | --gas | --ga | --g)
1048 # Obsolete; use --with-gas.
1051 -help | --help | --hel | --he | -h)
1052 ac_init_help=long ;;
1053 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1054 ac_init_help=recursive ;;
1055 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1056 ac_init_help=short ;;
1058 -host | --host | --hos | --ho)
1059 ac_prev=host_alias ;;
1060 -host=* | --host=* | --hos=* | --ho=*)
1061 host_alias=$ac_optarg ;;
1063 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1065 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1067 htmldir=$ac_optarg ;;
1069 -includedir | --includedir | --includedi | --included | --include \
1070 | --includ | --inclu | --incl | --inc)
1071 ac_prev=includedir ;;
1072 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1073 | --includ=* | --inclu=* | --incl=* | --inc=*)
1074 includedir=$ac_optarg ;;
1076 -infodir | --infodir | --infodi | --infod | --info | --inf)
1078 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1079 infodir=$ac_optarg ;;
1081 -libdir | --libdir | --libdi | --libd)
1083 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1084 libdir=$ac_optarg ;;
1086 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1087 | --libexe | --libex | --libe)
1088 ac_prev=libexecdir ;;
1089 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1090 | --libexe=* | --libex=* | --libe=*)
1091 libexecdir=$ac_optarg ;;
1093 -localedir | --localedir | --localedi | --localed | --locale)
1094 ac_prev=localedir ;;
1095 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1096 localedir=$ac_optarg ;;
1098 -localstatedir | --localstatedir | --localstatedi | --localstated \
1099 | --localstate | --localstat | --localsta | --localst | --locals)
1100 ac_prev=localstatedir ;;
1101 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1102 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1103 localstatedir=$ac_optarg ;;
1105 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1107 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1108 mandir=$ac_optarg ;;
1110 -nfp | --nfp | --nf)
1111 # Obsolete; use --without-fp.
1114 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1115 | --no-cr | --no-c | -n)
1118 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1119 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1122 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1123 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1124 | --oldin | --oldi | --old | --ol | --o)
1125 ac_prev=oldincludedir ;;
1126 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1127 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1128 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1129 oldincludedir=$ac_optarg ;;
1131 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1133 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1134 prefix=$ac_optarg ;;
1136 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1137 | --program-pre | --program-pr | --program-p)
1138 ac_prev=program_prefix ;;
1139 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1140 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1141 program_prefix=$ac_optarg ;;
1143 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1144 | --program-suf | --program-su | --program-s)
1145 ac_prev=program_suffix ;;
1146 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1147 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1148 program_suffix=$ac_optarg ;;
1150 -program-transform-name | --program-transform-name \
1151 | --program-transform-nam | --program-transform-na \
1152 | --program-transform-n | --program-transform- \
1153 | --program-transform | --program-transfor \
1154 | --program-transfo | --program-transf \
1155 | --program-trans | --program-tran \
1156 | --progr-tra | --program-tr | --program-t)
1157 ac_prev=program_transform_name ;;
1158 -program-transform-name=* | --program-transform-name=* \
1159 | --program-transform-nam=* | --program-transform-na=* \
1160 | --program-transform-n=* | --program-transform-=* \
1161 | --program-transform=* | --program-transfor=* \
1162 | --program-transfo=* | --program-transf=* \
1163 | --program-trans=* | --program-tran=* \
1164 | --progr-tra=* | --program-tr=* | --program-t=*)
1165 program_transform_name=$ac_optarg ;;
1167 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1169 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1170 pdfdir=$ac_optarg ;;
1172 -psdir | --psdir | --psdi | --psd | --ps)
1174 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1177 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1178 | -silent | --silent | --silen | --sile | --sil)
1181 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1183 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1185 sbindir=$ac_optarg ;;
1187 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1188 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1189 | --sharedst | --shareds | --shared | --share | --shar \
1191 ac_prev=sharedstatedir ;;
1192 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1193 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1194 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1196 sharedstatedir=$ac_optarg ;;
1198 -site | --site | --sit)
1200 -site=* | --site=* | --sit=*)
1203 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1205 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1206 srcdir=$ac_optarg ;;
1208 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1209 | --syscon | --sysco | --sysc | --sys | --sy)
1210 ac_prev=sysconfdir ;;
1211 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1212 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1213 sysconfdir=$ac_optarg ;;
1215 -target | --target | --targe | --targ | --tar | --ta | --t)
1216 ac_prev=target_alias ;;
1217 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1218 target_alias=$ac_optarg ;;
1220 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1223 -version | --version | --versio | --versi | --vers | -V)
1224 ac_init_version=: ;;
1227 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1228 # Reject names that are not valid shell variable names.
1229 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1230 { echo "$as_me: error: invalid package name: $ac_package" >&2
1231 { (exit 1); exit 1; }; }
1232 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1233 eval with_$ac_package=\$ac_optarg ;;
1235 -without-* | --without-*)
1236 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1237 # Reject names that are not valid shell variable names.
1238 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1239 { echo "$as_me: error: invalid package name: $ac_package" >&2
1240 { (exit 1); exit 1; }; }
1241 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1242 eval with_$ac_package=no ;;
1245 # Obsolete; use --with-x.
1248 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1249 | --x-incl | --x-inc | --x-in | --x-i)
1250 ac_prev=x_includes ;;
1251 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1252 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1253 x_includes=$ac_optarg ;;
1255 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1256 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1257 ac_prev=x_libraries ;;
1258 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1259 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1260 x_libraries=$ac_optarg ;;
1262 -*) { echo "$as_me: error: unrecognized option: $ac_option
1263 Try \`$0 --help' for more information." >&2
1264 { (exit 1); exit 1; }; }
1268 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1269 # Reject names that are not valid shell variable names.
1270 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1271 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1272 { (exit 1); exit 1; }; }
1273 eval $ac_envvar=\$ac_optarg
1274 export $ac_envvar ;;
1277 # FIXME: should be removed in autoconf 3.0.
1278 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1279 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1280 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1281 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1287 if test -n "$ac_prev"; then
1288 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1289 { echo "$as_me: error: missing argument to $ac_option" >&2
1290 { (exit 1); exit 1; }; }
1293 # Be sure to have absolute directory names.
1294 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1295 datadir sysconfdir sharedstatedir localstatedir includedir \
1296 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1297 libdir localedir mandir
1299 eval ac_val=\$$ac_var
1301 [\\/$]* | ?:[\\/]* ) continue;;
1302 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1304 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1305 { (exit 1); exit 1; }; }
1308 # There might be people who depend on the old broken behavior: `$host'
1309 # used to hold the argument of --host etc.
1310 # FIXME: To remove some day.
1313 target=$target_alias
1315 # FIXME: To remove some day.
1316 if test "x$host_alias" != x; then
1317 if test "x$build_alias" = x; then
1318 cross_compiling=maybe
1319 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1320 If a cross compiler is detected then cross compile mode will be used." >&2
1321 elif test "x$build_alias" != "x$host_alias"; then
1327 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1329 test "$silent" = yes && exec 6>/dev/null
1332 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1333 ac_ls_di=`ls -di .` &&
1334 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1335 { echo "$as_me: error: Working directory cannot be determined" >&2
1336 { (exit 1); exit 1; }; }
1337 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1338 { echo "$as_me: error: pwd does not report name of working directory" >&2
1339 { (exit 1); exit 1; }; }
1342 # Find the source files, if location was not specified.
1343 if test -z "$srcdir"; then
1344 ac_srcdir_defaulted=yes
1345 # Try the directory containing this script, then the parent directory.
1346 ac_confdir=`$as_dirname -- "$0" ||
1347 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1348 X"$0" : 'X\(//\)[^/]' \| \
1349 X"$0" : 'X\(//\)$' \| \
1350 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1370 if test ! -r "$srcdir/$ac_unique_file"; then
1374 ac_srcdir_defaulted=no
1376 if test ! -r "$srcdir/$ac_unique_file"; then
1377 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1378 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1379 { (exit 1); exit 1; }; }
1381 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1383 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1384 { (exit 1); exit 1; }; }
1386 # When building in place, set srcdir=.
1387 if test "$ac_abs_confdir" = "$ac_pwd"; then
1390 # Remove unnecessary trailing slashes from srcdir.
1391 # Double slashes in file names in object file debugging info
1392 # mess up M-x gdb in Emacs.
1394 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1396 for ac_var in $ac_precious_vars; do
1397 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1398 eval ac_env_${ac_var}_value=\$${ac_var}
1399 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1400 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1404 # Report the --help message.
1406 if test "$ac_init_help" = "long"; then
1407 # Omit some internal or obsolete options to make the list less imposing.
1408 # This message is too long to be a string in the A/UX 3.1 sh.
1410 \`configure' configures this package to adapt to many kinds of systems.
1412 Usage: $0 [OPTION]... [VAR=VALUE]...
1414 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1415 VAR=VALUE. See below for descriptions of some of the useful variables.
1417 Defaults for the options are specified in brackets.
1420 -h, --help display this help and exit
1421 --help=short display options specific to this package
1422 --help=recursive display the short help of all the included packages
1423 -V, --version display version information and exit
1424 -q, --quiet, --silent do not print \`checking...' messages
1425 --cache-file=FILE cache test results in FILE [disabled]
1426 -C, --config-cache alias for \`--cache-file=config.cache'
1427 -n, --no-create do not create output files
1428 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1430 Installation directories:
1431 --prefix=PREFIX install architecture-independent files in PREFIX
1432 [$ac_default_prefix]
1433 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1436 By default, \`make install' will install all the files in
1437 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1438 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1439 for instance \`--prefix=\$HOME'.
1441 For better control, use the options below.
1443 Fine tuning of the installation directories:
1444 --bindir=DIR user executables [EPREFIX/bin]
1445 --sbindir=DIR system admin executables [EPREFIX/sbin]
1446 --libexecdir=DIR program executables [EPREFIX/libexec]
1447 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1448 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1449 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1450 --libdir=DIR object code libraries [EPREFIX/lib]
1451 --includedir=DIR C header files [PREFIX/include]
1452 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1453 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1454 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1455 --infodir=DIR info documentation [DATAROOTDIR/info]
1456 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1457 --mandir=DIR man documentation [DATAROOTDIR/man]
1458 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1459 --htmldir=DIR html documentation [DOCDIR]
1460 --dvidir=DIR dvi documentation [DOCDIR]
1461 --pdfdir=DIR pdf documentation [DOCDIR]
1462 --psdir=DIR ps documentation [DOCDIR]
1468 --program-prefix=PREFIX prepend PREFIX to installed program names
1469 --program-suffix=SUFFIX append SUFFIX to installed program names
1470 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1473 --build=BUILD configure for building on BUILD [guessed]
1474 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1475 --target=TARGET configure for building compilers for TARGET [HOST]
1479 if test -n "$ac_init_help"; then
1484 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1485 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1486 --disable-dependency-tracking speeds up one-time build
1487 --enable-dependency-tracking do not reject slow dependency extractors
1488 --enable-static[=PKGS] build static libraries [default=no]
1489 --enable-shared[=PKGS] build shared libraries [default=yes]
1490 --enable-fast-install[=PKGS]
1491 optimize for fast installation [default=yes]
1492 --disable-libtool-lock avoid locking (might break parallel builds)
1493 --enable-symbolic-functions
1494 use -Bsymbolic-functions option if available
1495 (optmization for size and speed)
1496 --enable-debug enable assert call at the default error message
1500 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1501 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1502 --with-pic try to use only PIC/non-PIC objects [default=use
1504 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1505 --with-configdir=dir path where ALSA config files are stored
1506 --with-plugindir=dir path where ALSA plugin files are stored
1507 --with-versioned shared library will be compiled with versioned
1508 symbols (default = yes)
1509 --with-debug library will be compiled with asserts (default =
1512 Some influential environment variables:
1513 CC C compiler command
1514 CFLAGS C compiler flags
1515 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1516 nonstandard directory <lib dir>
1517 LIBS libraries to pass to the linker, e.g. -l<library>
1518 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1519 you have headers in a nonstandard directory <include dir>
1521 PKG_CONFIG path to pkg-config utility
1522 ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
1523 ALSA_LIBS linker flags for ALSA, overriding pkg-config
1525 Use these variables to override the choices made by `configure' or to help
1526 it to find libraries and programs with nonstandard names/locations.
1532 if test "$ac_init_help" = "recursive"; then
1533 # If there are subdirs, report their specific --help.
1534 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1535 test -d "$ac_dir" || continue
1539 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1541 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1542 # A ".." for each directory in $ac_dir_suffix.
1543 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1544 case $ac_top_builddir_sub in
1545 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1546 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1549 ac_abs_top_builddir=$ac_pwd
1550 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1551 # for backward compatibility:
1552 ac_top_builddir=$ac_top_build_prefix
1555 .) # We are building in place.
1557 ac_top_srcdir=$ac_top_builddir_sub
1558 ac_abs_top_srcdir=$ac_pwd ;;
1559 [\\/]* | ?:[\\/]* ) # Absolute name.
1560 ac_srcdir=$srcdir$ac_dir_suffix;
1561 ac_top_srcdir=$srcdir
1562 ac_abs_top_srcdir=$srcdir ;;
1564 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1565 ac_top_srcdir=$ac_top_build_prefix$srcdir
1566 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1568 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1570 cd "$ac_dir" || { ac_status=$?; continue; }
1571 # Check for guested configure.
1572 if test -f "$ac_srcdir/configure.gnu"; then
1574 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1575 elif test -f "$ac_srcdir/configure"; then
1577 $SHELL "$ac_srcdir/configure" --help=recursive
1579 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1581 cd "$ac_pwd" || { ac_status=$?; break; }
1585 test -n "$ac_init_help" && exit $ac_status
1586 if $ac_init_version; then
1589 generated by GNU Autoconf 2.61
1591 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1592 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1593 This configure script is free software; the Free Software Foundation
1594 gives unlimited permission to copy, distribute and modify it.
1598 cat >config.log <<_ACEOF
1599 This file contains any messages produced by compilers while
1600 running configure, to aid debugging if configure makes a mistake.
1602 It was created by $as_me, which was
1603 generated by GNU Autoconf 2.61. Invocation command line was
1615 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1616 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1617 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1618 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1619 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1621 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1622 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1624 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1625 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1626 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1627 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1628 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1629 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1630 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1638 test -z "$as_dir" && as_dir=.
1639 echo "PATH: $as_dir"
1655 # Keep a trace of the command line.
1656 # Strip out --no-create and --no-recursion so they do not pile up.
1657 # Strip out --silent because we don't want to record it for future runs.
1658 # Also quote any args containing shell meta-characters.
1659 # Make two passes to allow for proper duplicate-argument suppression.
1663 ac_must_keep_next=false
1669 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1670 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1671 | -silent | --silent | --silen | --sile | --sil)
1674 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1677 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1679 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1680 if test $ac_must_keep_next = true; then
1681 ac_must_keep_next=false # Got value, back to normal.
1684 *=* | --config-cache | -C | -disable-* | --disable-* \
1685 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1686 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1687 | -with-* | --with-* | -without-* | --without-* | --x)
1688 case "$ac_configure_args0 " in
1689 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1692 -* ) ac_must_keep_next=true ;;
1695 ac_configure_args="$ac_configure_args '$ac_arg'"
1700 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1701 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1703 # When interrupted or exit'd, cleanup temporary files, and complete
1704 # config.log. We remove comments because anyway the quotes in there
1705 # would cause problems or look ugly.
1706 # WARNING: Use '\'' to represent an apostrophe within the trap.
1707 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1708 trap 'exit_status=$?
1709 # Save into config.log some information that might help in debugging.
1714 ## ---------------- ##
1715 ## Cache variables. ##
1716 ## ---------------- ##
1719 # The following way of writing the cache mishandles newlines in values,
1721 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1722 eval ac_val=\$$ac_var
1726 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1727 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1730 _ | IFS | as_nl) ;; #(
1731 *) $as_unset $ac_var ;;
1736 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1737 *${as_nl}ac_space=\ *)
1739 "s/'\''/'\''\\\\'\'''\''/g;
1740 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1743 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1751 ## ----------------- ##
1752 ## Output variables. ##
1753 ## ----------------- ##
1756 for ac_var in $ac_subst_vars
1758 eval ac_val=\$$ac_var
1760 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1762 echo "$ac_var='\''$ac_val'\''"
1766 if test -n "$ac_subst_files"; then
1768 ## ------------------- ##
1769 ## File substitutions. ##
1770 ## ------------------- ##
1773 for ac_var in $ac_subst_files
1775 eval ac_val=\$$ac_var
1777 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1779 echo "$ac_var='\''$ac_val'\''"
1784 if test -s confdefs.h; then
1794 test "$ac_signal" != 0 &&
1795 echo "$as_me: caught signal $ac_signal"
1796 echo "$as_me: exit $exit_status"
1798 rm -f core *.core core.conftest.* &&
1799 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1802 for ac_signal in 1 2 13 15; do
1803 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1807 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1808 rm -f -r conftest* confdefs.h
1810 # Predefined preprocessor variables.
1812 cat >>confdefs.h <<_ACEOF
1813 #define PACKAGE_NAME "$PACKAGE_NAME"
1817 cat >>confdefs.h <<_ACEOF
1818 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1822 cat >>confdefs.h <<_ACEOF
1823 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1827 cat >>confdefs.h <<_ACEOF
1828 #define PACKAGE_STRING "$PACKAGE_STRING"
1832 cat >>confdefs.h <<_ACEOF
1833 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1837 # Let the site file select an alternate cache file if it wants to.
1838 # Prefer explicitly selected file to automatically selected ones.
1839 if test -n "$CONFIG_SITE"; then
1840 set x "$CONFIG_SITE"
1841 elif test "x$prefix" != xNONE; then
1842 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1844 set x "$ac_default_prefix/share/config.site" \
1845 "$ac_default_prefix/etc/config.site"
1850 if test -r "$ac_site_file"; then
1851 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1852 echo "$as_me: loading site script $ac_site_file" >&6;}
1853 sed 's/^/| /' "$ac_site_file" >&5
1858 if test -r "$cache_file"; then
1859 # Some versions of bash will fail to source /dev/null (special
1860 # files actually), so we avoid doing that.
1861 if test -f "$cache_file"; then
1862 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1863 echo "$as_me: loading cache $cache_file" >&6;}
1865 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1866 *) . "./$cache_file";;
1870 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1871 echo "$as_me: creating cache $cache_file" >&6;}
1875 # Check that the precious variables saved in the cache have kept the same
1877 ac_cache_corrupted=false
1878 for ac_var in $ac_precious_vars; do
1879 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1880 eval ac_new_set=\$ac_env_${ac_var}_set
1881 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1882 eval ac_new_val=\$ac_env_${ac_var}_value
1883 case $ac_old_set,$ac_new_set in
1885 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1886 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1887 ac_cache_corrupted=: ;;
1889 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1890 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1891 ac_cache_corrupted=: ;;
1894 if test "x$ac_old_val" != "x$ac_new_val"; then
1895 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1896 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1897 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1898 echo "$as_me: former value: $ac_old_val" >&2;}
1899 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1900 echo "$as_me: current value: $ac_new_val" >&2;}
1901 ac_cache_corrupted=:
1904 # Pass precious variables to config.status.
1905 if test "$ac_new_set" = set; then
1907 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1908 *) ac_arg=$ac_var=$ac_new_val ;;
1910 case " $ac_configure_args " in
1911 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1912 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1916 if $ac_cache_corrupted; then
1917 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1918 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1919 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1920 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1921 { (exit 1); exit 1; }; }
1941 ac_cpp='$CPP $CPPFLAGS'
1942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1948 # libtool versioning
1949 ASCENARIO_MAJOR_VERSION=0
1950 ASCENARIO_MINOR_VERSION=2
1951 ASCENARIO_MICRO_VERSION=0
1952 ASCENARIO_VERSION=$ASCENARIO_MAJOR_VERSION.$ASCENARIO_MINOR_VERSION.$ASCENARIO_MICRO_VERSION
1958 LT_VERSION=$ASCENARIO_MICRO_VERSION
1959 LT_RELEASE=$ASCENARIO_MAJOR_VERSION.$ASCENARIO_MINOR_VERSION
1964 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1965 if test -f "$ac_dir/install-sh"; then
1967 ac_install_sh="$ac_aux_dir/install-sh -c"
1969 elif test -f "$ac_dir/install.sh"; then
1971 ac_install_sh="$ac_aux_dir/install.sh -c"
1973 elif test -f "$ac_dir/shtool"; then
1975 ac_install_sh="$ac_aux_dir/shtool install -c"
1979 if test -z "$ac_aux_dir"; then
1980 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1981 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1982 { (exit 1); exit 1; }; }
1985 # These three variables are undocumented and unsupported,
1986 # and are intended to be withdrawn in a future Autoconf release.
1987 # They can cause serious problems if a builder's source tree is in a directory
1988 # whose full name contains unusual characters.
1989 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1990 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1991 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1994 # Make sure we can run config.sub.
1995 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1996 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1997 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1998 { (exit 1); exit 1; }; }
2000 { echo "$as_me:$LINENO: checking build system type" >&5
2001 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2002 if test "${ac_cv_build+set}" = set; then
2003 echo $ECHO_N "(cached) $ECHO_C" >&6
2005 ac_build_alias=$build_alias
2006 test "x$ac_build_alias" = x &&
2007 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2008 test "x$ac_build_alias" = x &&
2009 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2010 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2011 { (exit 1); exit 1; }; }
2012 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2013 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2014 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2015 { (exit 1); exit 1; }; }
2018 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2019 echo "${ECHO_T}$ac_cv_build" >&6; }
2020 case $ac_cv_build in
2022 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2023 echo "$as_me: error: invalid value of canonical build" >&2;}
2024 { (exit 1); exit 1; }; };;
2027 ac_save_IFS=$IFS; IFS='-'
2033 # Remember, the first character of IFS is used to create $*,
2034 # except with old shells:
2037 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2040 { echo "$as_me:$LINENO: checking host system type" >&5
2041 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2042 if test "${ac_cv_host+set}" = set; then
2043 echo $ECHO_N "(cached) $ECHO_C" >&6
2045 if test "x$host_alias" = x; then
2046 ac_cv_host=$ac_cv_build
2048 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2049 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2050 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2051 { (exit 1); exit 1; }; }
2055 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2056 echo "${ECHO_T}$ac_cv_host" >&6; }
2059 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2060 echo "$as_me: error: invalid value of canonical host" >&2;}
2061 { (exit 1); exit 1; }; };;
2064 ac_save_IFS=$IFS; IFS='-'
2070 # Remember, the first character of IFS is used to create $*,
2071 # except with old shells:
2074 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2077 { echo "$as_me:$LINENO: checking target system type" >&5
2078 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2079 if test "${ac_cv_target+set}" = set; then
2080 echo $ECHO_N "(cached) $ECHO_C" >&6
2082 if test "x$target_alias" = x; then
2083 ac_cv_target=$ac_cv_host
2085 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2086 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2087 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2088 { (exit 1); exit 1; }; }
2092 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2093 echo "${ECHO_T}$ac_cv_target" >&6; }
2094 case $ac_cv_target in
2096 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2097 echo "$as_me: error: invalid value of canonical target" >&2;}
2098 { (exit 1); exit 1; }; };;
2100 target=$ac_cv_target
2101 ac_save_IFS=$IFS; IFS='-'
2107 # Remember, the first character of IFS is used to create $*,
2108 # except with old shells:
2111 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2114 # The aliases save the names the user supplied, while $host etc.
2115 # will get canonicalized.
2116 test -n "$target_alias" &&
2117 test "$program_prefix$program_suffix$program_transform_name" = \
2119 program_prefix=${target_alias}-
2120 am__api_version='1.10'
2122 # Find a good install program. We prefer a C program (faster),
2123 # so one script is as good as another. But avoid the broken or
2124 # incompatible versions:
2125 # SysV /etc/install, /usr/sbin/install
2126 # SunOS /usr/etc/install
2127 # IRIX /sbin/install
2129 # AmigaOS /C/install, which installs bootblocks on floppy discs
2130 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2131 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2132 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2133 # OS/2's system install, which has a completely different semantic
2134 # ./install, which can be erroneously created by make from ./install.sh.
2135 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2136 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2137 if test -z "$INSTALL"; then
2138 if test "${ac_cv_path_install+set}" = set; then
2139 echo $ECHO_N "(cached) $ECHO_C" >&6
2141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2145 test -z "$as_dir" && as_dir=.
2146 # Account for people who put trailing slashes in PATH elements.
2148 ./ | .// | /cC/* | \
2149 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2150 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2153 # OSF1 and SCO ODT 3.0 have their own names for install.
2154 # Don't use installbsd from OSF since it installs stuff as root
2156 for ac_prog in ginstall scoinst install; do
2157 for ac_exec_ext in '' $ac_executable_extensions; do
2158 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2159 if test $ac_prog = install &&
2160 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2161 # AIX install. It has an incompatible calling convention.
2163 elif test $ac_prog = install &&
2164 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2165 # program-specific install script used by HP pwplus--don't use.
2168 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2181 if test "${ac_cv_path_install+set}" = set; then
2182 INSTALL=$ac_cv_path_install
2184 # As a last resort, use the slow shell script. Don't cache a
2185 # value for INSTALL within a source directory, because that will
2186 # break other packages using the cache if that directory is
2187 # removed, or if the value is a relative name.
2188 INSTALL=$ac_install_sh
2191 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2192 echo "${ECHO_T}$INSTALL" >&6; }
2194 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2195 # It thinks the first close brace ends the variable substitution.
2196 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2198 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2200 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2202 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2203 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2206 echo timestamp > conftest.file
2207 # Do `set' in a subshell so we don't clobber the current shell's
2208 # arguments. Must try -L first in case configure is actually a
2209 # symlink; some systems play weird games with the mod time of symlinks
2210 # (eg FreeBSD returns the mod time of the symlink's containing
2213 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2214 if test "$*" = "X"; then
2216 set X `ls -t $srcdir/configure conftest.file`
2219 if test "$*" != "X $srcdir/configure conftest.file" \
2220 && test "$*" != "X conftest.file $srcdir/configure"; then
2222 # If neither matched, then we have a broken ls. This can happen
2223 # if, for instance, CONFIG_SHELL is bash and it inherits a
2224 # broken ls alias from the environment. This has actually
2225 # happened. Such a system could not be considered "sane".
2226 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2227 alias in your environment" >&5
2228 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2229 alias in your environment" >&2;}
2230 { (exit 1); exit 1; }; }
2233 test "$2" = conftest.file
2239 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2240 Check your system clock" >&5
2241 echo "$as_me: error: newly created file is older than distributed files!
2242 Check your system clock" >&2;}
2243 { (exit 1); exit 1; }; }
2245 { echo "$as_me:$LINENO: result: yes" >&5
2246 echo "${ECHO_T}yes" >&6; }
2247 test "$program_prefix" != NONE &&
2248 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2249 # Use a double $ so make ignores it.
2250 test "$program_suffix" != NONE &&
2251 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2252 # Double any \ or $. echo might interpret backslashes.
2253 # By default was `s,x,x', remove it if useless.
2254 cat <<\_ACEOF >conftest.sed
2255 s/[\\$]/&&/g;s/;s,x,x,$//
2257 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2260 # expand $ac_aux_dir to an absolute path
2261 am_aux_dir=`cd $ac_aux_dir && pwd`
2263 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2264 # Use eval to expand $SHELL
2265 if eval "$MISSING --run true"; then
2266 am_missing_run="$MISSING --run "
2269 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2270 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2273 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2274 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2275 if test -z "$MKDIR_P"; then
2276 if test "${ac_cv_path_mkdir+set}" = set; then
2277 echo $ECHO_N "(cached) $ECHO_C" >&6
2279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2280 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2283 test -z "$as_dir" && as_dir=.
2284 for ac_prog in mkdir gmkdir; do
2285 for ac_exec_ext in '' $ac_executable_extensions; do
2286 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2287 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2288 'mkdir (GNU coreutils) '* | \
2289 'mkdir (coreutils) '* | \
2290 'mkdir (fileutils) '4.1*)
2291 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2301 if test "${ac_cv_path_mkdir+set}" = set; then
2302 MKDIR_P="$ac_cv_path_mkdir -p"
2304 # As a last resort, use the slow shell script. Don't cache a
2305 # value for MKDIR_P within a source directory, because that will
2306 # break other packages using the cache if that directory is
2307 # removed, or if the value is a relative name.
2308 test -d ./--version && rmdir ./--version
2309 MKDIR_P="$ac_install_sh -d"
2312 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2313 echo "${ECHO_T}$MKDIR_P" >&6; }
2317 [\\/$]* | ?:[\\/]*) ;;
2318 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2321 for ac_prog in gawk mawk nawk awk
2323 # Extract the first word of "$ac_prog", so it can be a program name with args.
2324 set dummy $ac_prog; ac_word=$2
2325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2327 if test "${ac_cv_prog_AWK+set}" = set; then
2328 echo $ECHO_N "(cached) $ECHO_C" >&6
2330 if test -n "$AWK"; then
2331 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2337 test -z "$as_dir" && as_dir=.
2338 for ac_exec_ext in '' $ac_executable_extensions; do
2339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2340 ac_cv_prog_AWK="$ac_prog"
2341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2351 if test -n "$AWK"; then
2352 { echo "$as_me:$LINENO: result: $AWK" >&5
2353 echo "${ECHO_T}$AWK" >&6; }
2355 { echo "$as_me:$LINENO: result: no" >&5
2356 echo "${ECHO_T}no" >&6; }
2360 test -n "$AWK" && break
2363 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2364 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2365 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2366 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2367 echo $ECHO_N "(cached) $ECHO_C" >&6
2369 cat >conftest.make <<\_ACEOF
2372 @echo '@@@%%%=$(MAKE)=@@@%%%'
2374 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2375 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2377 eval ac_cv_prog_make_${ac_make}_set=yes;;
2379 eval ac_cv_prog_make_${ac_make}_set=no;;
2383 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2384 { echo "$as_me:$LINENO: result: yes" >&5
2385 echo "${ECHO_T}yes" >&6; }
2388 { echo "$as_me:$LINENO: result: no" >&5
2389 echo "${ECHO_T}no" >&6; }
2390 SET_MAKE="MAKE=${MAKE-make}"
2393 rm -rf .tst 2>/dev/null
2394 mkdir .tst 2>/dev/null
2395 if test -d .tst; then
2400 rmdir .tst 2>/dev/null
2402 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2403 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2404 # is not polluted with repeated "-I."
2405 am__isrc=' -I$(srcdir)'
2406 # test to see if srcdir already configured
2407 if test -f $srcdir/config.status; then
2408 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2409 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2410 { (exit 1); exit 1; }; }
2414 # test whether we have cygpath
2415 if test -z "$CYGPATH_W"; then
2416 if (cygpath --version) >/dev/null 2>/dev/null; then
2417 CYGPATH_W='cygpath -w'
2424 # Define the identity of the package.
2425 PACKAGE=scenario-lib
2426 VERSION=$ASCENARIO_VERSION
2429 cat >>confdefs.h <<_ACEOF
2430 #define PACKAGE "$PACKAGE"
2434 cat >>confdefs.h <<_ACEOF
2435 #define VERSION "$VERSION"
2438 # Some tools Automake needs.
2440 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2443 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2446 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2449 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2452 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2454 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2456 # Installed binaries are usually stripped using `strip' when the user
2457 # run `make install-strip'. However `strip' might not be the right
2458 # tool to use in cross-compilation environments, therefore Automake
2459 # will honor the `STRIP' environment variable to overrule this program.
2460 if test "$cross_compiling" != no; then
2461 if test -n "$ac_tool_prefix"; then
2462 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2463 set dummy ${ac_tool_prefix}strip; ac_word=$2
2464 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2466 if test "${ac_cv_prog_STRIP+set}" = set; then
2467 echo $ECHO_N "(cached) $ECHO_C" >&6
2469 if test -n "$STRIP"; then
2470 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2476 test -z "$as_dir" && as_dir=.
2477 for ac_exec_ext in '' $ac_executable_extensions; do
2478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2479 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2489 STRIP=$ac_cv_prog_STRIP
2490 if test -n "$STRIP"; then
2491 { echo "$as_me:$LINENO: result: $STRIP" >&5
2492 echo "${ECHO_T}$STRIP" >&6; }
2494 { echo "$as_me:$LINENO: result: no" >&5
2495 echo "${ECHO_T}no" >&6; }
2500 if test -z "$ac_cv_prog_STRIP"; then
2502 # Extract the first word of "strip", so it can be a program name with args.
2503 set dummy strip; ac_word=$2
2504 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2506 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2507 echo $ECHO_N "(cached) $ECHO_C" >&6
2509 if test -n "$ac_ct_STRIP"; then
2510 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2516 test -z "$as_dir" && as_dir=.
2517 for ac_exec_ext in '' $ac_executable_extensions; do
2518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2519 ac_cv_prog_ac_ct_STRIP="strip"
2520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2529 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2530 if test -n "$ac_ct_STRIP"; then
2531 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2532 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2534 { echo "$as_me:$LINENO: result: no" >&5
2535 echo "${ECHO_T}no" >&6; }
2538 if test "x$ac_ct_STRIP" = x; then
2541 case $cross_compiling:$ac_tool_warned in
2543 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2544 whose name does not start with the host triplet. If you think this
2545 configuration is useful to you, please write to autoconf@gnu.org." >&5
2546 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2547 whose name does not start with the host triplet. If you think this
2548 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2549 ac_tool_warned=yes ;;
2554 STRIP="$ac_cv_prog_STRIP"
2558 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2560 # We need awk for the "check" target. The system "awk" is bad on
2562 # Always define AMTAR for backward compatibility.
2564 AMTAR=${AMTAR-"${am_missing_run}tar"}
2566 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2572 eval LIBTOOL_VERSION_INFO="2:0:0"
2573 if test -n "${ACLOCAL}"; then
2575 INSTALL_M4_FALSE='#'
2582 # Test for new silent rules
2588 if test "x$target" != "x$host" -a -z "`echo $CC | grep -e '-gcc'`";
2590 { echo "$as_me:$LINENO: checking for cross-compiler" >&5
2591 echo $ECHO_N "checking for cross-compiler... $ECHO_C" >&6; }
2593 which ${program_prefix}gcc >/dev/null 2>&1 && CC=${program_prefix}gcc
2594 which ${target_cpu}-${target_os}-gcc >/dev/null 2>&1 \
2595 && CC=${target_cpu}-${target-os}-gcc
2596 which ${target_cpu}-${target_vendor}-${target_os}-gcc >/dev/null 2>&1 \
2597 && CC=${target_cpu}-${target_vendor}-${target_os}-gcc
2599 { echo "$as_me:$LINENO: result: $CC" >&5
2600 echo "${ECHO_T}$CC" >&6; }
2604 ac_cpp='$CPP $CPPFLAGS'
2605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2608 if test -n "$ac_tool_prefix"; then
2609 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2610 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2611 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2613 if test "${ac_cv_prog_CC+set}" = set; then
2614 echo $ECHO_N "(cached) $ECHO_C" >&6
2616 if test -n "$CC"; then
2617 ac_cv_prog_CC="$CC" # Let the user override the test.
2619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2623 test -z "$as_dir" && as_dir=.
2624 for ac_exec_ext in '' $ac_executable_extensions; do
2625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2626 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2637 if test -n "$CC"; then
2638 { echo "$as_me:$LINENO: result: $CC" >&5
2639 echo "${ECHO_T}$CC" >&6; }
2641 { echo "$as_me:$LINENO: result: no" >&5
2642 echo "${ECHO_T}no" >&6; }
2647 if test -z "$ac_cv_prog_CC"; then
2649 # Extract the first word of "gcc", so it can be a program name with args.
2650 set dummy gcc; ac_word=$2
2651 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2653 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2654 echo $ECHO_N "(cached) $ECHO_C" >&6
2656 if test -n "$ac_ct_CC"; then
2657 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2663 test -z "$as_dir" && as_dir=.
2664 for ac_exec_ext in '' $ac_executable_extensions; do
2665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2666 ac_cv_prog_ac_ct_CC="gcc"
2667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2676 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2677 if test -n "$ac_ct_CC"; then
2678 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2679 echo "${ECHO_T}$ac_ct_CC" >&6; }
2681 { echo "$as_me:$LINENO: result: no" >&5
2682 echo "${ECHO_T}no" >&6; }
2685 if test "x$ac_ct_CC" = x; then
2688 case $cross_compiling:$ac_tool_warned in
2690 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2691 whose name does not start with the host triplet. If you think this
2692 configuration is useful to you, please write to autoconf@gnu.org." >&5
2693 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2694 whose name does not start with the host triplet. If you think this
2695 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2696 ac_tool_warned=yes ;;
2704 if test -z "$CC"; then
2705 if test -n "$ac_tool_prefix"; then
2706 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2707 set dummy ${ac_tool_prefix}cc; ac_word=$2
2708 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2710 if test "${ac_cv_prog_CC+set}" = set; then
2711 echo $ECHO_N "(cached) $ECHO_C" >&6
2713 if test -n "$CC"; then
2714 ac_cv_prog_CC="$CC" # Let the user override the test.
2716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2720 test -z "$as_dir" && as_dir=.
2721 for ac_exec_ext in '' $ac_executable_extensions; do
2722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2723 ac_cv_prog_CC="${ac_tool_prefix}cc"
2724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2734 if test -n "$CC"; then
2735 { echo "$as_me:$LINENO: result: $CC" >&5
2736 echo "${ECHO_T}$CC" >&6; }
2738 { echo "$as_me:$LINENO: result: no" >&5
2739 echo "${ECHO_T}no" >&6; }
2745 if test -z "$CC"; then
2746 # Extract the first word of "cc", so it can be a program name with args.
2747 set dummy cc; ac_word=$2
2748 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2750 if test "${ac_cv_prog_CC+set}" = set; then
2751 echo $ECHO_N "(cached) $ECHO_C" >&6
2753 if test -n "$CC"; then
2754 ac_cv_prog_CC="$CC" # Let the user override the test.
2757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2761 test -z "$as_dir" && as_dir=.
2762 for ac_exec_ext in '' $ac_executable_extensions; do
2763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2764 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2765 ac_prog_rejected=yes
2769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2776 if test $ac_prog_rejected = yes; then
2777 # We found a bogon in the path, so make sure we never use it.
2778 set dummy $ac_cv_prog_CC
2780 if test $# != 0; then
2781 # We chose a different compiler from the bogus one.
2782 # However, it has the same basename, so the bogon will be chosen
2783 # first if we set CC to just the basename; use the full file name.
2785 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2791 if test -n "$CC"; then
2792 { echo "$as_me:$LINENO: result: $CC" >&5
2793 echo "${ECHO_T}$CC" >&6; }
2795 { echo "$as_me:$LINENO: result: no" >&5
2796 echo "${ECHO_T}no" >&6; }
2801 if test -z "$CC"; then
2802 if test -n "$ac_tool_prefix"; then
2803 for ac_prog in cl.exe
2805 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2806 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2807 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2809 if test "${ac_cv_prog_CC+set}" = set; then
2810 echo $ECHO_N "(cached) $ECHO_C" >&6
2812 if test -n "$CC"; then
2813 ac_cv_prog_CC="$CC" # Let the user override the test.
2815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2819 test -z "$as_dir" && as_dir=.
2820 for ac_exec_ext in '' $ac_executable_extensions; do
2821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2822 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2833 if test -n "$CC"; then
2834 { echo "$as_me:$LINENO: result: $CC" >&5
2835 echo "${ECHO_T}$CC" >&6; }
2837 { echo "$as_me:$LINENO: result: no" >&5
2838 echo "${ECHO_T}no" >&6; }
2842 test -n "$CC" && break
2845 if test -z "$CC"; then
2847 for ac_prog in cl.exe
2849 # Extract the first word of "$ac_prog", so it can be a program name with args.
2850 set dummy $ac_prog; ac_word=$2
2851 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2853 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2854 echo $ECHO_N "(cached) $ECHO_C" >&6
2856 if test -n "$ac_ct_CC"; then
2857 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2863 test -z "$as_dir" && as_dir=.
2864 for ac_exec_ext in '' $ac_executable_extensions; do
2865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2866 ac_cv_prog_ac_ct_CC="$ac_prog"
2867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2876 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2877 if test -n "$ac_ct_CC"; then
2878 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2879 echo "${ECHO_T}$ac_ct_CC" >&6; }
2881 { echo "$as_me:$LINENO: result: no" >&5
2882 echo "${ECHO_T}no" >&6; }
2886 test -n "$ac_ct_CC" && break
2889 if test "x$ac_ct_CC" = x; then
2892 case $cross_compiling:$ac_tool_warned in
2894 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2895 whose name does not start with the host triplet. If you think this
2896 configuration is useful to you, please write to autoconf@gnu.org." >&5
2897 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2898 whose name does not start with the host triplet. If you think this
2899 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2900 ac_tool_warned=yes ;;
2909 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2910 See \`config.log' for more details." >&5
2911 echo "$as_me: error: no acceptable C compiler found in \$PATH
2912 See \`config.log' for more details." >&2;}
2913 { (exit 1); exit 1; }; }
2915 # Provide some information about the compiler.
2916 echo "$as_me:$LINENO: checking for C compiler version" >&5
2917 ac_compiler=`set X $ac_compile; echo $2`
2918 { (ac_try="$ac_compiler --version >&5"
2920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2921 *) ac_try_echo=$ac_try;;
2923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2924 (eval "$ac_compiler --version >&5") 2>&5
2926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927 (exit $ac_status); }
2928 { (ac_try="$ac_compiler -v >&5"
2930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2931 *) ac_try_echo=$ac_try;;
2933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2934 (eval "$ac_compiler -v >&5") 2>&5
2936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2937 (exit $ac_status); }
2938 { (ac_try="$ac_compiler -V >&5"
2940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2941 *) ac_try_echo=$ac_try;;
2943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2944 (eval "$ac_compiler -V >&5") 2>&5
2946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); }
2949 cat >conftest.$ac_ext <<_ACEOF
2952 cat confdefs.h >>conftest.$ac_ext
2953 cat >>conftest.$ac_ext <<_ACEOF
2954 /* end confdefs.h. */
2964 ac_clean_files_save=$ac_clean_files
2965 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2966 # Try to create an executable without -o first, disregard a.out.
2967 # It will help us diagnose broken compilers, and finding out an intuition
2969 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2970 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2971 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2973 # List of possible output files, starting from the most likely.
2974 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2975 # only as a last resort. b.out is created by i960 compilers.
2976 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2978 # The IRIX 6 linker writes into existing files which may not be
2979 # executable, retaining their permissions. Remove them first so a
2980 # subsequent execution test works.
2982 for ac_file in $ac_files
2985 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2986 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2991 if { (ac_try="$ac_link_default"
2993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2994 *) ac_try_echo=$ac_try;;
2996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2997 (eval "$ac_link_default") 2>&5
2999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3000 (exit $ac_status); }; then
3001 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3002 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3003 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3004 # so that the user can short-circuit this test for compilers unknown to
3006 for ac_file in $ac_files ''
3008 test -f "$ac_file" || continue
3010 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3013 # We found the default executable, but exeext='' is most
3017 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3019 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3021 # We set ac_cv_exeext here because the later test for it is not
3022 # safe: cross compilers may not add the suffix if given an `-o'
3023 # argument, so we may need to know it at that point already.
3024 # Even if this section looks crufty: it has the advantage of
3031 test "$ac_cv_exeext" = no && ac_cv_exeext=
3037 { echo "$as_me:$LINENO: result: $ac_file" >&5
3038 echo "${ECHO_T}$ac_file" >&6; }
3039 if test -z "$ac_file"; then
3040 echo "$as_me: failed program was:" >&5
3041 sed 's/^/| /' conftest.$ac_ext >&5
3043 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3044 See \`config.log' for more details." >&5
3045 echo "$as_me: error: C compiler cannot create executables
3046 See \`config.log' for more details." >&2;}
3047 { (exit 77); exit 77; }; }
3050 ac_exeext=$ac_cv_exeext
3052 # Check that the compiler produces executables we can run. If not, either
3053 # the compiler is broken, or we cross compile.
3054 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3055 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3056 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3057 # If not cross compiling, check that we can run a simple program.
3058 if test "$cross_compiling" != yes; then
3059 if { ac_try='./$ac_file'
3060 { (case "(($ac_try" in
3061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3062 *) ac_try_echo=$ac_try;;
3064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3065 (eval "$ac_try") 2>&5
3067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3068 (exit $ac_status); }; }; then
3071 if test "$cross_compiling" = maybe; then
3074 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3075 If you meant to cross compile, use \`--host'.
3076 See \`config.log' for more details." >&5
3077 echo "$as_me: error: cannot run C compiled programs.
3078 If you meant to cross compile, use \`--host'.
3079 See \`config.log' for more details." >&2;}
3080 { (exit 1); exit 1; }; }
3084 { echo "$as_me:$LINENO: result: yes" >&5
3085 echo "${ECHO_T}yes" >&6; }
3087 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3088 ac_clean_files=$ac_clean_files_save
3089 # Check that the compiler produces executables we can run. If not, either
3090 # the compiler is broken, or we cross compile.
3091 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3092 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3093 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3094 echo "${ECHO_T}$cross_compiling" >&6; }
3096 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3097 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3098 if { (ac_try="$ac_link"
3100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3101 *) ac_try_echo=$ac_try;;
3103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3104 (eval "$ac_link") 2>&5
3106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107 (exit $ac_status); }; then
3108 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3109 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3110 # work properly (i.e., refer to `conftest.exe'), while it won't with
3112 for ac_file in conftest.exe conftest conftest.*; do
3113 test -f "$ac_file" || continue
3115 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3116 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3122 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3123 See \`config.log' for more details." >&5
3124 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3125 See \`config.log' for more details." >&2;}
3126 { (exit 1); exit 1; }; }
3129 rm -f conftest$ac_cv_exeext
3130 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3131 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3133 rm -f conftest.$ac_ext
3134 EXEEXT=$ac_cv_exeext
3136 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3137 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3138 if test "${ac_cv_objext+set}" = set; then
3139 echo $ECHO_N "(cached) $ECHO_C" >&6
3141 cat >conftest.$ac_ext <<_ACEOF
3144 cat confdefs.h >>conftest.$ac_ext
3145 cat >>conftest.$ac_ext <<_ACEOF
3146 /* end confdefs.h. */
3156 rm -f conftest.o conftest.obj
3157 if { (ac_try="$ac_compile"
3159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3160 *) ac_try_echo=$ac_try;;
3162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3163 (eval "$ac_compile") 2>&5
3165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3166 (exit $ac_status); }; then
3167 for ac_file in conftest.o conftest.obj conftest.*; do
3168 test -f "$ac_file" || continue;
3170 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3171 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3176 echo "$as_me: failed program was:" >&5
3177 sed 's/^/| /' conftest.$ac_ext >&5
3179 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3180 See \`config.log' for more details." >&5
3181 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3182 See \`config.log' for more details." >&2;}
3183 { (exit 1); exit 1; }; }
3186 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3188 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3189 echo "${ECHO_T}$ac_cv_objext" >&6; }
3190 OBJEXT=$ac_cv_objext
3192 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3193 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3194 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3195 echo $ECHO_N "(cached) $ECHO_C" >&6
3197 cat >conftest.$ac_ext <<_ACEOF
3200 cat confdefs.h >>conftest.$ac_ext
3201 cat >>conftest.$ac_ext <<_ACEOF
3202 /* end confdefs.h. */
3215 rm -f conftest.$ac_objext
3216 if { (ac_try="$ac_compile"
3218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3219 *) ac_try_echo=$ac_try;;
3221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3222 (eval "$ac_compile") 2>conftest.er1
3224 grep -v '^ *+' conftest.er1 >conftest.err
3226 cat conftest.err >&5
3227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3228 (exit $ac_status); } && {
3229 test -z "$ac_c_werror_flag" ||
3230 test ! -s conftest.err
3231 } && test -s conftest.$ac_objext; then
3234 echo "$as_me: failed program was:" >&5
3235 sed 's/^/| /' conftest.$ac_ext >&5
3240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3241 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3244 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3245 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3246 GCC=`test $ac_compiler_gnu = yes && echo yes`
3247 ac_test_CFLAGS=${CFLAGS+set}
3248 ac_save_CFLAGS=$CFLAGS
3249 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3250 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3251 if test "${ac_cv_prog_cc_g+set}" = set; then
3252 echo $ECHO_N "(cached) $ECHO_C" >&6
3254 ac_save_c_werror_flag=$ac_c_werror_flag
3255 ac_c_werror_flag=yes
3258 cat >conftest.$ac_ext <<_ACEOF
3261 cat confdefs.h >>conftest.$ac_ext
3262 cat >>conftest.$ac_ext <<_ACEOF
3263 /* end confdefs.h. */
3273 rm -f conftest.$ac_objext
3274 if { (ac_try="$ac_compile"
3276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3277 *) ac_try_echo=$ac_try;;
3279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3280 (eval "$ac_compile") 2>conftest.er1
3282 grep -v '^ *+' conftest.er1 >conftest.err
3284 cat conftest.err >&5
3285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3286 (exit $ac_status); } && {
3287 test -z "$ac_c_werror_flag" ||
3288 test ! -s conftest.err
3289 } && test -s conftest.$ac_objext; then
3292 echo "$as_me: failed program was:" >&5
3293 sed 's/^/| /' conftest.$ac_ext >&5
3296 cat >conftest.$ac_ext <<_ACEOF
3299 cat confdefs.h >>conftest.$ac_ext
3300 cat >>conftest.$ac_ext <<_ACEOF
3301 /* end confdefs.h. */
3311 rm -f conftest.$ac_objext
3312 if { (ac_try="$ac_compile"
3314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3315 *) ac_try_echo=$ac_try;;
3317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3318 (eval "$ac_compile") 2>conftest.er1
3320 grep -v '^ *+' conftest.er1 >conftest.err
3322 cat conftest.err >&5
3323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3324 (exit $ac_status); } && {
3325 test -z "$ac_c_werror_flag" ||
3326 test ! -s conftest.err
3327 } && test -s conftest.$ac_objext; then
3330 echo "$as_me: failed program was:" >&5
3331 sed 's/^/| /' conftest.$ac_ext >&5
3333 ac_c_werror_flag=$ac_save_c_werror_flag
3335 cat >conftest.$ac_ext <<_ACEOF
3338 cat confdefs.h >>conftest.$ac_ext
3339 cat >>conftest.$ac_ext <<_ACEOF
3340 /* end confdefs.h. */
3350 rm -f conftest.$ac_objext
3351 if { (ac_try="$ac_compile"
3353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3354 *) ac_try_echo=$ac_try;;
3356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3357 (eval "$ac_compile") 2>conftest.er1
3359 grep -v '^ *+' conftest.er1 >conftest.err
3361 cat conftest.err >&5
3362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3363 (exit $ac_status); } && {
3364 test -z "$ac_c_werror_flag" ||
3365 test ! -s conftest.err
3366 } && test -s conftest.$ac_objext; then
3369 echo "$as_me: failed program was:" >&5
3370 sed 's/^/| /' conftest.$ac_ext >&5
3375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3382 ac_c_werror_flag=$ac_save_c_werror_flag
3384 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3385 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3386 if test "$ac_test_CFLAGS" = set; then
3387 CFLAGS=$ac_save_CFLAGS
3388 elif test $ac_cv_prog_cc_g = yes; then
3389 if test "$GCC" = yes; then
3395 if test "$GCC" = yes; then
3401 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3402 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3403 if test "${ac_cv_prog_cc_c89+set}" = set; then
3404 echo $ECHO_N "(cached) $ECHO_C" >&6
3406 ac_cv_prog_cc_c89=no
3408 cat >conftest.$ac_ext <<_ACEOF
3411 cat confdefs.h >>conftest.$ac_ext
3412 cat >>conftest.$ac_ext <<_ACEOF
3413 /* end confdefs.h. */
3416 #include <sys/types.h>
3417 #include <sys/stat.h>
3418 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3419 struct buf { int x; };
3420 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3421 static char *e (p, i)
3427 static char *f (char * (*g) (char **, int), char **p, ...)
3432 s = g (p, va_arg (v,int));
3437 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3438 function prototypes and stuff, but not '\xHH' hex character constants.
3439 These don't provoke an error unfortunately, instead are silently treated
3440 as 'x'. The following induces an error, until -std is added to get
3441 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3442 array size at least. It's necessary to write '\x00'==0 to get something
3443 that's true only with -std. */
3444 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3446 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3447 inside strings and character constants. */
3449 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3451 int test (int i, double x);
3452 struct s1 {int (*f) (int a);};
3453 struct s2 {int (*f) (double a);};
3454 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3460 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3465 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3466 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3468 CC="$ac_save_CC $ac_arg"
3469 rm -f conftest.$ac_objext
3470 if { (ac_try="$ac_compile"
3472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3473 *) ac_try_echo=$ac_try;;
3475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3476 (eval "$ac_compile") 2>conftest.er1
3478 grep -v '^ *+' conftest.er1 >conftest.err
3480 cat conftest.err >&5
3481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482 (exit $ac_status); } && {
3483 test -z "$ac_c_werror_flag" ||
3484 test ! -s conftest.err
3485 } && test -s conftest.$ac_objext; then
3486 ac_cv_prog_cc_c89=$ac_arg
3488 echo "$as_me: failed program was:" >&5
3489 sed 's/^/| /' conftest.$ac_ext >&5
3494 rm -f core conftest.err conftest.$ac_objext
3495 test "x$ac_cv_prog_cc_c89" != "xno" && break
3497 rm -f conftest.$ac_ext
3502 case "x$ac_cv_prog_cc_c89" in
3504 { echo "$as_me:$LINENO: result: none needed" >&5
3505 echo "${ECHO_T}none needed" >&6; } ;;
3507 { echo "$as_me:$LINENO: result: unsupported" >&5
3508 echo "${ECHO_T}unsupported" >&6; } ;;
3510 CC="$CC $ac_cv_prog_cc_c89"
3511 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3512 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3517 ac_cpp='$CPP $CPPFLAGS'
3518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3521 DEPDIR="${am__leading_dot}deps"
3523 ac_config_commands="$ac_config_commands depfiles"
3526 am_make=${MAKE-make}
3527 cat > confinc << 'END'
3532 # If we don't find an include directive, just comment out the code.
3533 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3534 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3538 # First try GNU make style include.
3539 echo "include confinc" > confmf
3540 # We grep out `Entering directory' and `Leaving directory'
3541 # messages which can occur if `w' ends up in MAKEFLAGS.
3542 # In particular we don't look at `^make:' because GNU make might
3543 # be invoked under some other name (usually "gmake"), in which
3544 # case it prints its new name instead of `make'.
3545 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3550 # Now try BSD make style include.
3551 if test "$am__include" = "#"; then
3552 echo '.include "confinc"' > confmf
3553 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3554 am__include=.include
3561 { echo "$as_me:$LINENO: result: $_am_result" >&5
3562 echo "${ECHO_T}$_am_result" >&6; }
3563 rm -f confinc confmf
3565 # Check whether --enable-dependency-tracking was given.
3566 if test "${enable_dependency_tracking+set}" = set; then
3567 enableval=$enable_dependency_tracking;
3570 if test "x$enable_dependency_tracking" != xno; then
3571 am_depcomp="$ac_aux_dir/depcomp"
3574 if test "x$enable_dependency_tracking" != xno; then
3584 depcc="$CC" am_compiler_list=
3586 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3587 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3588 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3589 echo $ECHO_N "(cached) $ECHO_C" >&6
3591 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3592 # We make a subdir and do the tests there. Otherwise we can end up
3593 # making bogus files that we don't know about and never remove. For
3594 # instance it was reported that on HP-UX the gcc test will end up
3595 # making a dummy file named `D' -- because `-MD' means `put the output
3598 # Copy depcomp to subdir because otherwise we won't find it if we're
3599 # using a relative directory.
3600 cp "$am_depcomp" conftest.dir
3602 # We will build objects and dependencies in a subdirectory because
3603 # it helps to detect inapplicable dependency modes. For instance
3604 # both Tru64's cc and ICC support -MD to output dependencies as a
3605 # side effect of compilation, but ICC will put the dependencies in
3606 # the current directory while Tru64 will put them in the object
3610 am_cv_CC_dependencies_compiler_type=none
3611 if test "$am_compiler_list" = ""; then
3612 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3614 for depmode in $am_compiler_list; do
3615 # Setup a source with many dependencies, because some compilers
3616 # like to wrap large dependency lists on column 80 (with \), and
3617 # we should not choose a depcomp mode which is confused by this.
3619 # We need to recreate these files for each test, as the compiler may
3620 # overwrite some of them when testing with obscure command lines.
3621 # This happens at least with the AIX C compiler.
3623 for i in 1 2 3 4 5 6; do
3624 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3625 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3626 # Solaris 8's {/usr,}/bin/sh.
3627 touch sub/conftst$i.h
3629 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3633 # after this tag, mechanisms are not by side-effect, so they'll
3634 # only be used when explicitly requested
3635 if test "x$enable_dependency_tracking" = xyes; then
3643 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3644 # mode. It turns out that the SunPro C++ compiler does not properly
3645 # handle `-M -o', and we need to detect this.
3646 if depmode=$depmode \
3647 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3648 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3649 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3650 >/dev/null 2>conftest.err &&
3651 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3652 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3653 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3654 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3655 # icc doesn't choke on unknown options, it will just issue warnings
3656 # or remarks (even with -Werror). So we grep stderr for any message
3657 # that says an option was ignored or not supported.
3658 # When given -MP, icc 7.0 and 7.1 complain thusly:
3659 # icc: Command line warning: ignoring option '-M'; no argument required
3660 # The diagnosis changed in icc 8.0:
3661 # icc: Command line remark: option '-MP' not supported
3662 if (grep 'ignoring option' conftest.err ||
3663 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3664 am_cv_CC_dependencies_compiler_type=$depmode
3673 am_cv_CC_dependencies_compiler_type=none
3677 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3678 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3679 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3682 test "x$enable_dependency_tracking" != xno \
3683 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3685 am__fastdepCC_FALSE='#'
3687 am__fastdepCC_TRUE='#'
3688 am__fastdepCC_FALSE=
3693 ac_cpp='$CPP $CPPFLAGS'
3694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3697 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3698 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3699 # On Suns, sometimes $CPP names a directory.
3700 if test -n "$CPP" && test -d "$CPP"; then
3703 if test -z "$CPP"; then
3704 if test "${ac_cv_prog_CPP+set}" = set; then
3705 echo $ECHO_N "(cached) $ECHO_C" >&6
3707 # Double quotes because CPP needs to be expanded
3708 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3711 for ac_c_preproc_warn_flag in '' yes
3713 # Use a header file that comes with gcc, so configuring glibc
3714 # with a fresh cross-compiler works.
3715 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3716 # <limits.h> exists even on freestanding compilers.
3717 # On the NeXT, cc -E runs the code through the compiler's parser,
3718 # not just through cpp. "Syntax error" is here to catch this case.
3719 cat >conftest.$ac_ext <<_ACEOF
3722 cat confdefs.h >>conftest.$ac_ext
3723 cat >>conftest.$ac_ext <<_ACEOF
3724 /* end confdefs.h. */
3726 # include <limits.h>
3728 # include <assert.h>
3732 if { (ac_try="$ac_cpp conftest.$ac_ext"
3734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3735 *) ac_try_echo=$ac_try;;
3737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3738 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3740 grep -v '^ *+' conftest.er1 >conftest.err
3742 cat conftest.err >&5
3743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3744 (exit $ac_status); } >/dev/null && {
3745 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3746 test ! -s conftest.err
3750 echo "$as_me: failed program was:" >&5
3751 sed 's/^/| /' conftest.$ac_ext >&5
3753 # Broken: fails on valid input.
3757 rm -f conftest.err conftest.$ac_ext
3759 # OK, works on sane cases. Now check whether nonexistent headers
3760 # can be detected and how.
3761 cat >conftest.$ac_ext <<_ACEOF
3764 cat confdefs.h >>conftest.$ac_ext
3765 cat >>conftest.$ac_ext <<_ACEOF
3766 /* end confdefs.h. */
3767 #include <ac_nonexistent.h>
3769 if { (ac_try="$ac_cpp conftest.$ac_ext"
3771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3772 *) ac_try_echo=$ac_try;;
3774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3775 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3777 grep -v '^ *+' conftest.er1 >conftest.err
3779 cat conftest.err >&5
3780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3781 (exit $ac_status); } >/dev/null && {
3782 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3783 test ! -s conftest.err
3785 # Broken: success on invalid input.
3788 echo "$as_me: failed program was:" >&5
3789 sed 's/^/| /' conftest.$ac_ext >&5
3791 # Passes both tests.
3796 rm -f conftest.err conftest.$ac_ext
3799 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3800 rm -f conftest.err conftest.$ac_ext
3801 if $ac_preproc_ok; then
3813 { echo "$as_me:$LINENO: result: $CPP" >&5
3814 echo "${ECHO_T}$CPP" >&6; }
3816 for ac_c_preproc_warn_flag in '' yes
3818 # Use a header file that comes with gcc, so configuring glibc
3819 # with a fresh cross-compiler works.
3820 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3821 # <limits.h> exists even on freestanding compilers.
3822 # On the NeXT, cc -E runs the code through the compiler's parser,
3823 # not just through cpp. "Syntax error" is here to catch this case.
3824 cat >conftest.$ac_ext <<_ACEOF
3827 cat confdefs.h >>conftest.$ac_ext
3828 cat >>conftest.$ac_ext <<_ACEOF
3829 /* end confdefs.h. */
3831 # include <limits.h>
3833 # include <assert.h>
3837 if { (ac_try="$ac_cpp conftest.$ac_ext"
3839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3840 *) ac_try_echo=$ac_try;;
3842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3843 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3845 grep -v '^ *+' conftest.er1 >conftest.err
3847 cat conftest.err >&5
3848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3849 (exit $ac_status); } >/dev/null && {
3850 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3851 test ! -s conftest.err
3855 echo "$as_me: failed program was:" >&5
3856 sed 's/^/| /' conftest.$ac_ext >&5
3858 # Broken: fails on valid input.
3862 rm -f conftest.err conftest.$ac_ext
3864 # OK, works on sane cases. Now check whether nonexistent headers
3865 # can be detected and how.
3866 cat >conftest.$ac_ext <<_ACEOF
3869 cat confdefs.h >>conftest.$ac_ext
3870 cat >>conftest.$ac_ext <<_ACEOF
3871 /* end confdefs.h. */
3872 #include <ac_nonexistent.h>
3874 if { (ac_try="$ac_cpp conftest.$ac_ext"
3876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3877 *) ac_try_echo=$ac_try;;
3879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3880 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3882 grep -v '^ *+' conftest.er1 >conftest.err
3884 cat conftest.err >&5
3885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3886 (exit $ac_status); } >/dev/null && {
3887 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3888 test ! -s conftest.err
3890 # Broken: success on invalid input.
3893 echo "$as_me: failed program was:" >&5
3894 sed 's/^/| /' conftest.$ac_ext >&5
3896 # Passes both tests.
3901 rm -f conftest.err conftest.$ac_ext
3904 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3905 rm -f conftest.err conftest.$ac_ext
3906 if $ac_preproc_ok; then
3909 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3910 See \`config.log' for more details." >&5
3911 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3912 See \`config.log' for more details." >&2;}
3913 { (exit 1); exit 1; }; }
3917 ac_cpp='$CPP $CPPFLAGS'
3918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3922 # Find a good install program. We prefer a C program (faster),
3923 # so one script is as good as another. But avoid the broken or
3924 # incompatible versions:
3925 # SysV /etc/install, /usr/sbin/install
3926 # SunOS /usr/etc/install
3927 # IRIX /sbin/install
3929 # AmigaOS /C/install, which installs bootblocks on floppy discs
3930 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3931 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3932 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3933 # OS/2's system install, which has a completely different semantic
3934 # ./install, which can be erroneously created by make from ./install.sh.
3935 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3936 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3937 if test -z "$INSTALL"; then
3938 if test "${ac_cv_path_install+set}" = set; then
3939 echo $ECHO_N "(cached) $ECHO_C" >&6
3941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3945 test -z "$as_dir" && as_dir=.
3946 # Account for people who put trailing slashes in PATH elements.
3948 ./ | .// | /cC/* | \
3949 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3950 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3953 # OSF1 and SCO ODT 3.0 have their own names for install.
3954 # Don't use installbsd from OSF since it installs stuff as root
3956 for ac_prog in ginstall scoinst install; do
3957 for ac_exec_ext in '' $ac_executable_extensions; do
3958 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3959 if test $ac_prog = install &&
3960 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3961 # AIX install. It has an incompatible calling convention.
3963 elif test $ac_prog = install &&
3964 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3965 # program-specific install script used by HP pwplus--don't use.
3968 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3981 if test "${ac_cv_path_install+set}" = set; then
3982 INSTALL=$ac_cv_path_install
3984 # As a last resort, use the slow shell script. Don't cache a
3985 # value for INSTALL within a source directory, because that will
3986 # break other packages using the cache if that directory is
3987 # removed, or if the value is a relative name.
3988 INSTALL=$ac_install_sh
3991 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3992 echo "${ECHO_T}$INSTALL" >&6; }
3994 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3995 # It thinks the first close brace ends the variable substitution.
3996 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3998 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4000 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4002 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4003 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4005 if test "$LN_S" = "ln -s"; then
4006 { echo "$as_me:$LINENO: result: yes" >&5
4007 echo "${ECHO_T}yes" >&6; }
4009 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4010 echo "${ECHO_T}no, using $LN_S" >&6; }
4013 # Check whether --enable-static was given.
4014 if test "${enable_static+set}" = set; then
4015 enableval=$enable_static; p=${PACKAGE-default}
4017 yes) enable_static=yes ;;
4018 no) enable_static=no ;;
4021 # Look at the argument we got. We use all the common list separators.
4022 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4023 for pkg in $enableval; do
4025 if test "X$pkg" = "X$p"; then
4050 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4051 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4056 macro_version='2.2.6'
4057 macro_revision='1.3012'
4071 ltmain="$ac_aux_dir/ltmain.sh"
4073 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4074 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4075 if test "${ac_cv_path_SED+set}" = set; then
4076 echo $ECHO_N "(cached) $ECHO_C" >&6
4078 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4079 for ac_i in 1 2 3 4 5 6 7; do
4080 ac_script="$ac_script$as_nl$ac_script"
4082 echo "$ac_script" | sed 99q >conftest.sed
4083 $as_unset ac_script || ac_script=
4084 # Extract the first word of "sed gsed" to use in msg output
4085 if test -z "$SED"; then
4086 set dummy sed gsed; ac_prog_name=$2
4087 if test "${ac_cv_path_SED+set}" = set; then
4088 echo $ECHO_N "(cached) $ECHO_C" >&6
4090 ac_path_SED_found=false
4091 # Loop through the user's path and test for each of PROGNAME-LIST
4092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4096 test -z "$as_dir" && as_dir=.
4097 for ac_prog in sed gsed; do
4098 for ac_exec_ext in '' $ac_executable_extensions; do
4099 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4100 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4101 # Check for GNU ac_path_SED and select it if it is found.
4102 # Check for GNU $ac_path_SED
4103 case `"$ac_path_SED" --version 2>&1` in
4105 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4108 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4111 cat "conftest.in" "conftest.in" >"conftest.tmp"
4112 mv "conftest.tmp" "conftest.in"
4113 cp "conftest.in" "conftest.nl"
4114 echo '' >> "conftest.nl"
4115 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4116 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4117 ac_count=`expr $ac_count + 1`
4118 if test $ac_count -gt ${ac_path_SED_max-0}; then
4119 # Best one so far, save it but keep looking for a better one
4120 ac_cv_path_SED="$ac_path_SED"
4121 ac_path_SED_max=$ac_count
4123 # 10*(2^10) chars as input seems more than enough
4124 test $ac_count -gt 10 && break
4126 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4130 $ac_path_SED_found && break 3
4140 SED="$ac_cv_path_SED"
4141 if test -z "$SED"; then
4142 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
4143 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
4144 { (exit 1); exit 1; }; }
4152 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4153 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
4154 SED="$ac_cv_path_SED"
4157 test -z "$SED" && SED=sed
4158 Xsed="$SED -e 1s/^X//"
4170 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4171 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4172 if test "${ac_cv_path_GREP+set}" = set; then
4173 echo $ECHO_N "(cached) $ECHO_C" >&6
4175 # Extract the first word of "grep ggrep" to use in msg output
4176 if test -z "$GREP"; then
4177 set dummy grep ggrep; ac_prog_name=$2
4178 if test "${ac_cv_path_GREP+set}" = set; then
4179 echo $ECHO_N "(cached) $ECHO_C" >&6
4181 ac_path_GREP_found=false
4182 # Loop through the user's path and test for each of PROGNAME-LIST
4183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4184 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4187 test -z "$as_dir" && as_dir=.
4188 for ac_prog in grep ggrep; do
4189 for ac_exec_ext in '' $ac_executable_extensions; do
4190 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4191 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4192 # Check for GNU ac_path_GREP and select it if it is found.
4193 # Check for GNU $ac_path_GREP
4194 case `"$ac_path_GREP" --version 2>&1` in
4196 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4199 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4202 cat "conftest.in" "conftest.in" >"conftest.tmp"
4203 mv "conftest.tmp" "conftest.in"
4204 cp "conftest.in" "conftest.nl"
4205 echo 'GREP' >> "conftest.nl"
4206 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4207 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4208 ac_count=`expr $ac_count + 1`
4209 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4210 # Best one so far, save it but keep looking for a better one
4211 ac_cv_path_GREP="$ac_path_GREP"
4212 ac_path_GREP_max=$ac_count
4214 # 10*(2^10) chars as input seems more than enough
4215 test $ac_count -gt 10 && break
4217 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4221 $ac_path_GREP_found && break 3
4231 GREP="$ac_cv_path_GREP"
4232 if test -z "$GREP"; then
4233 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4234 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4235 { (exit 1); exit 1; }; }
4239 ac_cv_path_GREP=$GREP
4244 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4245 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4246 GREP="$ac_cv_path_GREP"
4249 { echo "$as_me:$LINENO: checking for egrep" >&5
4250 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4251 if test "${ac_cv_path_EGREP+set}" = set; then
4252 echo $ECHO_N "(cached) $ECHO_C" >&6
4254 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4255 then ac_cv_path_EGREP="$GREP -E"
4257 # Extract the first word of "egrep" to use in msg output
4258 if test -z "$EGREP"; then
4259 set dummy egrep; ac_prog_name=$2
4260 if test "${ac_cv_path_EGREP+set}" = set; then
4261 echo $ECHO_N "(cached) $ECHO_C" >&6
4263 ac_path_EGREP_found=false
4264 # Loop through the user's path and test for each of PROGNAME-LIST
4265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4266 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4269 test -z "$as_dir" && as_dir=.
4270 for ac_prog in egrep; do
4271 for ac_exec_ext in '' $ac_executable_extensions; do
4272 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4273 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4274 # Check for GNU ac_path_EGREP and select it if it is found.
4275 # Check for GNU $ac_path_EGREP
4276 case `"$ac_path_EGREP" --version 2>&1` in
4278 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4281 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4284 cat "conftest.in" "conftest.in" >"conftest.tmp"
4285 mv "conftest.tmp" "conftest.in"
4286 cp "conftest.in" "conftest.nl"
4287 echo 'EGREP' >> "conftest.nl"
4288 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4289 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4290 ac_count=`expr $ac_count + 1`
4291 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4292 # Best one so far, save it but keep looking for a better one
4293 ac_cv_path_EGREP="$ac_path_EGREP"
4294 ac_path_EGREP_max=$ac_count
4296 # 10*(2^10) chars as input seems more than enough
4297 test $ac_count -gt 10 && break
4299 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4303 $ac_path_EGREP_found && break 3
4313 EGREP="$ac_cv_path_EGREP"
4314 if test -z "$EGREP"; then
4315 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4316 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4317 { (exit 1); exit 1; }; }
4321 ac_cv_path_EGREP=$EGREP
4327 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4328 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4329 EGREP="$ac_cv_path_EGREP"
4332 { echo "$as_me:$LINENO: checking for fgrep" >&5
4333 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
4334 if test "${ac_cv_path_FGREP+set}" = set; then
4335 echo $ECHO_N "(cached) $ECHO_C" >&6
4337 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4338 then ac_cv_path_FGREP="$GREP -F"
4340 # Extract the first word of "fgrep" to use in msg output
4341 if test -z "$FGREP"; then
4342 set dummy fgrep; ac_prog_name=$2
4343 if test "${ac_cv_path_FGREP+set}" = set; then
4344 echo $ECHO_N "(cached) $ECHO_C" >&6
4346 ac_path_FGREP_found=false
4347 # Loop through the user's path and test for each of PROGNAME-LIST
4348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4349 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4352 test -z "$as_dir" && as_dir=.
4353 for ac_prog in fgrep; do
4354 for ac_exec_ext in '' $ac_executable_extensions; do
4355 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4356 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4357 # Check for GNU ac_path_FGREP and select it if it is found.
4358 # Check for GNU $ac_path_FGREP
4359 case `"$ac_path_FGREP" --version 2>&1` in
4361 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4364 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4367 cat "conftest.in" "conftest.in" >"conftest.tmp"
4368 mv "conftest.tmp" "conftest.in"
4369 cp "conftest.in" "conftest.nl"
4370 echo 'FGREP' >> "conftest.nl"
4371 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4372 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4373 ac_count=`expr $ac_count + 1`
4374 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4375 # Best one so far, save it but keep looking for a better one
4376 ac_cv_path_FGREP="$ac_path_FGREP"
4377 ac_path_FGREP_max=$ac_count
4379 # 10*(2^10) chars as input seems more than enough
4380 test $ac_count -gt 10 && break
4382 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4386 $ac_path_FGREP_found && break 3
4396 FGREP="$ac_cv_path_FGREP"
4397 if test -z "$FGREP"; then
4398 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4399 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4400 { (exit 1); exit 1; }; }
4404 ac_cv_path_FGREP=$FGREP
4410 { echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4411 echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
4412 FGREP="$ac_cv_path_FGREP"
4415 test -z "$GREP" && GREP=grep
4435 # Check whether --with-gnu-ld was given.
4436 if test "${with_gnu_ld+set}" = set; then
4437 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4443 if test "$GCC" = yes; then
4444 # Check if gcc -print-prog-name=ld gives a path.
4445 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4446 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4449 # gcc leaves a trailing carriage return which upsets mingw
4450 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4452 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4455 # Accept absolute paths.
4457 re_direlt='/[^/][^/]*/\.\./'
4458 # Canonicalize the pathname of ld
4459 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4460 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4461 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4463 test -z "$LD" && LD="$ac_prog"
4466 # If it fails, then pretend we aren't using GCC.
4470 # If it is relative, then search for the first ld in PATH.
4474 elif test "$with_gnu_ld" = yes; then
4475 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4476 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4478 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4479 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4481 if test "${lt_cv_path_LD+set}" = set; then
4482 echo $ECHO_N "(cached) $ECHO_C" >&6
4484 if test -z "$LD"; then
4485 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4486 for ac_dir in $PATH; do
4488 test -z "$ac_dir" && ac_dir=.
4489 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4490 lt_cv_path_LD="$ac_dir/$ac_prog"
4491 # Check to see if the program is GNU ld. I'd rather use --version,
4492 # but apparently some variants of GNU ld only accept -v.
4493 # Break only if it was the GNU/non-GNU ld that we prefer.
4494 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4495 *GNU* | *'with BFD'*)
4496 test "$with_gnu_ld" != no && break
4499 test "$with_gnu_ld" != yes && break
4506 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4511 if test -n "$LD"; then
4512 { echo "$as_me:$LINENO: result: $LD" >&5
4513 echo "${ECHO_T}$LD" >&6; }
4515 { echo "$as_me:$LINENO: result: no" >&5
4516 echo "${ECHO_T}no" >&6; }
4518 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4519 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4520 { (exit 1); exit 1; }; }
4521 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4522 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4523 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4524 echo $ECHO_N "(cached) $ECHO_C" >&6
4526 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4527 case `$LD -v 2>&1 </dev/null` in
4528 *GNU* | *'with BFD'*)
4529 lt_cv_prog_gnu_ld=yes
4532 lt_cv_prog_gnu_ld=no
4536 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4537 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4538 with_gnu_ld=$lt_cv_prog_gnu_ld
4548 { echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4549 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
4550 if test "${lt_cv_path_NM+set}" = set; then
4551 echo $ECHO_N "(cached) $ECHO_C" >&6
4553 if test -n "$NM"; then
4554 # Let the user override the test.
4557 lt_nm_to_check="${ac_tool_prefix}nm"
4558 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4559 lt_nm_to_check="$lt_nm_to_check nm"
4561 for lt_tmp_nm in $lt_nm_to_check; do
4562 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4563 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4565 test -z "$ac_dir" && ac_dir=.
4566 tmp_nm="$ac_dir/$lt_tmp_nm"
4567 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4568 # Check to see if the nm accepts a BSD-compat flag.
4569 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4570 # nm: unknown option "B" ignored
4571 # Tru64's nm complains that /dev/null is an invalid object file
4572 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4573 */dev/null* | *'Invalid file or object type'*)
4574 lt_cv_path_NM="$tmp_nm -B"
4578 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4580 lt_cv_path_NM="$tmp_nm -p"
4584 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4585 continue # so that we can try to find one that supports BSD flags
4594 : ${lt_cv_path_NM=no}
4597 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4598 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4599 if test "$lt_cv_path_NM" != "no"; then
4602 # Didn't find any BSD compatible name lister, look for dumpbin.
4603 if test -n "$ac_tool_prefix"; then
4604 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4606 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4607 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4608 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4610 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4611 echo $ECHO_N "(cached) $ECHO_C" >&6
4613 if test -n "$DUMPBIN"; then
4614 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4620 test -z "$as_dir" && as_dir=.
4621 for ac_exec_ext in '' $ac_executable_extensions; do
4622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4623 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4633 DUMPBIN=$ac_cv_prog_DUMPBIN
4634 if test -n "$DUMPBIN"; then
4635 { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4636 echo "${ECHO_T}$DUMPBIN" >&6; }
4638 { echo "$as_me:$LINENO: result: no" >&5
4639 echo "${ECHO_T}no" >&6; }
4643 test -n "$DUMPBIN" && break
4646 if test -z "$DUMPBIN"; then
4647 ac_ct_DUMPBIN=$DUMPBIN
4648 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4650 # Extract the first word of "$ac_prog", so it can be a program name with args.
4651 set dummy $ac_prog; ac_word=$2
4652 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4654 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4655 echo $ECHO_N "(cached) $ECHO_C" >&6
4657 if test -n "$ac_ct_DUMPBIN"; then
4658 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4664 test -z "$as_dir" && as_dir=.
4665 for ac_exec_ext in '' $ac_executable_extensions; do
4666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4667 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4677 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4678 if test -n "$ac_ct_DUMPBIN"; then
4679 { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4680 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
4682 { echo "$as_me:$LINENO: result: no" >&5
4683 echo "${ECHO_T}no" >&6; }
4687 test -n "$ac_ct_DUMPBIN" && break
4690 if test "x$ac_ct_DUMPBIN" = x; then
4693 case $cross_compiling:$ac_tool_warned in
4695 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4696 whose name does not start with the host triplet. If you think this
4697 configuration is useful to you, please write to autoconf@gnu.org." >&5
4698 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4699 whose name does not start with the host triplet. If you think this
4700 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4701 ac_tool_warned=yes ;;
4703 DUMPBIN=$ac_ct_DUMPBIN
4708 if test "$DUMPBIN" != ":"; then
4712 test -z "$NM" && NM=nm
4719 { echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4720 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
4721 if test "${lt_cv_nm_interface+set}" = set; then
4722 echo $ECHO_N "(cached) $ECHO_C" >&6
4724 lt_cv_nm_interface="BSD nm"
4725 echo "int some_variable = 0;" > conftest.$ac_ext
4726 (eval echo "\"\$as_me:4726: $ac_compile\"" >&5)
4727 (eval "$ac_compile" 2>conftest.err)
4728 cat conftest.err >&5
4729 (eval echo "\"\$as_me:4729: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4730 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4731 cat conftest.err >&5
4732 (eval echo "\"\$as_me:4732: output\"" >&5)
4733 cat conftest.out >&5
4734 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4735 lt_cv_nm_interface="MS dumpbin"
4739 { echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4740 echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
4742 # find the maximum length of command line arguments
4743 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4744 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
4745 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4746 echo $ECHO_N "(cached) $ECHO_C" >&6
4753 # On DJGPP, this test can blow up pretty badly due to problems in libc
4754 # (any single argument exceeding 2000 bytes causes a buffer overrun
4755 # during glob expansion). Even if it were fixed, the result of this
4756 # check would be larger than it should be.
4757 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4761 # Under GNU Hurd, this test is not required because there is
4762 # no limit to the length of command line arguments.
4763 # Libtool will interpret -1 as no limit whatsoever
4764 lt_cv_sys_max_cmd_len=-1;
4767 cygwin* | mingw* | cegcc*)
4768 # On Win9x/ME, this test blows up -- it succeeds, but takes
4769 # about 5 minutes as the teststring grows exponentially.
4770 # Worse, since 9x/ME are not pre-emptively multitasking,
4771 # you end up with a "frozen" computer, even though with patience
4772 # the test eventually succeeds (with a max line length of 256k).
4773 # Instead, let's just punt: use the minimum linelength reported by
4774 # all of the supported platforms: 8192 (on NT/2K/XP).
4775 lt_cv_sys_max_cmd_len=8192;
4779 # On AmigaOS with pdksh, this test takes hours, literally.
4780 # So we just punt and use a minimum line length of 8192.
4781 lt_cv_sys_max_cmd_len=8192;
4784 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4785 # This has been around since 386BSD, at least. Likely further.
4786 if test -x /sbin/sysctl; then
4787 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4788 elif test -x /usr/sbin/sysctl; then
4789 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4791 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4793 # And add a safety zone
4794 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4795 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4799 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4800 lt_cv_sys_max_cmd_len=196608
4804 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4805 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4806 # nice to cause kernel panics so lets avoid the loop below.
4807 # First set a reasonable default.
4808 lt_cv_sys_max_cmd_len=16384
4810 if test -x /sbin/sysconfig; then
4811 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4812 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4817 lt_cv_sys_max_cmd_len=102400
4819 sysv5* | sco5v6* | sysv4.2uw2*)
4820 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4821 if test -n "$kargmax"; then
4822 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4824 lt_cv_sys_max_cmd_len=32768
4828 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4829 if test -n "$lt_cv_sys_max_cmd_len"; then
4830 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4831 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4833 # Make teststring a little bigger before we do anything with it.
4834 # a 1K string should be a reasonable start.
4835 for i in 1 2 3 4 5 6 7 8 ; do
4836 teststring=$teststring$teststring
4838 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4839 # If test is not a shell built-in, we'll probably end up computing a
4840 # maximum length that is only half of the actual maximum length, but
4842 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4843 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4844 test $i != 17 # 1/2 MB should be enough
4847 teststring=$teststring$teststring
4849 # Only check the string length outside the loop.
4850 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4852 # Add a significant safety factor because C++ compilers can tack on
4853 # massive amounts of additional arguments before passing them to the
4854 # linker. It appears as though 1/2 is a usable value.
4855 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4862 if test -n $lt_cv_sys_max_cmd_len ; then
4863 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4864 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
4866 { echo "$as_me:$LINENO: result: none" >&5
4867 echo "${ECHO_T}none" >&6; }
4869 max_cmd_len=$lt_cv_sys_max_cmd_len
4880 { echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4881 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
4882 # Try some XSI features
4885 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4887 && eval 'test $(( 1 + 1 )) -eq 2 \
4888 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4890 { echo "$as_me:$LINENO: result: $xsi_shell" >&5
4891 echo "${ECHO_T}$xsi_shell" >&6; }
4894 { echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4895 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
4897 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4899 && lt_shell_append=yes
4900 { echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4901 echo "${ECHO_T}$lt_shell_append" >&6; }
4904 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4914 # test EBCDIC or ASCII
4915 case `echo X|tr X '\101'` in
4916 A) # ASCII based system
4917 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4918 lt_SP2NL='tr \040 \012'
4919 lt_NL2SP='tr \015\012 \040\040'
4921 *) # EBCDIC based system
4922 lt_SP2NL='tr \100 \n'
4923 lt_NL2SP='tr \r\n \100\100'
4935 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4936 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4937 if test "${lt_cv_ld_reload_flag+set}" = set; then
4938 echo $ECHO_N "(cached) $ECHO_C" >&6
4940 lt_cv_ld_reload_flag='-r'
4942 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4943 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4944 reload_flag=$lt_cv_ld_reload_flag
4945 case $reload_flag in
4947 *) reload_flag=" $reload_flag" ;;
4949 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4952 if test "$GCC" = yes; then
4953 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4955 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4968 if test -n "$ac_tool_prefix"; then
4969 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4970 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4971 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4973 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4974 echo $ECHO_N "(cached) $ECHO_C" >&6
4976 if test -n "$OBJDUMP"; then
4977 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4983 test -z "$as_dir" && as_dir=.
4984 for ac_exec_ext in '' $ac_executable_extensions; do
4985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4986 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4996 OBJDUMP=$ac_cv_prog_OBJDUMP
4997 if test -n "$OBJDUMP"; then
4998 { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4999 echo "${ECHO_T}$OBJDUMP" >&6; }
5001 { echo "$as_me:$LINENO: result: no" >&5
5002 echo "${ECHO_T}no" >&6; }
5007 if test -z "$ac_cv_prog_OBJDUMP"; then
5008 ac_ct_OBJDUMP=$OBJDUMP
5009 # Extract the first word of "objdump", so it can be a program name with args.
5010 set dummy objdump; ac_word=$2
5011 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5013 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5014 echo $ECHO_N "(cached) $ECHO_C" >&6
5016 if test -n "$ac_ct_OBJDUMP"; then
5017 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5023 test -z "$as_dir" && as_dir=.
5024 for ac_exec_ext in '' $ac_executable_extensions; do
5025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5026 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5036 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5037 if test -n "$ac_ct_OBJDUMP"; then
5038 { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5039 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
5041 { echo "$as_me:$LINENO: result: no" >&5
5042 echo "${ECHO_T}no" >&6; }
5045 if test "x$ac_ct_OBJDUMP" = x; then
5048 case $cross_compiling:$ac_tool_warned in
5050 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5051 whose name does not start with the host triplet. If you think this
5052 configuration is useful to you, please write to autoconf@gnu.org." >&5
5053 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5054 whose name does not start with the host triplet. If you think this
5055 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5056 ac_tool_warned=yes ;;
5058 OBJDUMP=$ac_ct_OBJDUMP
5061 OBJDUMP="$ac_cv_prog_OBJDUMP"
5064 test -z "$OBJDUMP" && OBJDUMP=objdump
5074 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5075 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
5076 if test "${lt_cv_deplibs_check_method+set}" = set; then
5077 echo $ECHO_N "(cached) $ECHO_C" >&6
5079 lt_cv_file_magic_cmd='$MAGIC_CMD'
5080 lt_cv_file_magic_test_file=
5081 lt_cv_deplibs_check_method='unknown'
5082 # Need to set the preceding variable on all platforms that support
5083 # interlibrary dependencies.
5084 # 'none' -- dependencies not supported.
5085 # `unknown' -- same as none, but documents that we really don't know.
5086 # 'pass_all' -- all dependencies passed with no checks.
5087 # 'test_compile' -- check by making test program.
5088 # 'file_magic [[regex]]' -- check by looking for files in library path
5089 # which responds to the $file_magic_cmd with a given extended regex.
5090 # If you have `file' or equivalent on your system and you're not sure
5091 # whether `pass_all' will *always* work, you probably want this one.
5095 lt_cv_deplibs_check_method=pass_all
5099 lt_cv_deplibs_check_method=pass_all
5103 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5104 lt_cv_file_magic_cmd='/usr/bin/file -L'
5105 lt_cv_file_magic_test_file=/shlib/libc.so
5109 # func_win32_libid is a shell function defined in ltmain.sh
5110 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5111 lt_cv_file_magic_cmd='func_win32_libid'
5115 # Base MSYS/MinGW do not provide the 'file' command needed by
5116 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5117 # unless we find 'file', for example because we are cross-compiling.
5118 if ( file / ) >/dev/null 2>&1; then
5119 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5120 lt_cv_file_magic_cmd='func_win32_libid'
5122 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5123 lt_cv_file_magic_cmd='$OBJDUMP -f'
5128 # use the weaker test based on 'objdump'. See mingw*.
5129 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5130 lt_cv_file_magic_cmd='$OBJDUMP -f'
5133 darwin* | rhapsody*)
5134 lt_cv_deplibs_check_method=pass_all
5137 freebsd* | dragonfly*)
5138 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5141 # Not sure whether the presence of OpenBSD here was a mistake.
5142 # Let's accept both of them until this is cleared up.
5143 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5144 lt_cv_file_magic_cmd=/usr/bin/file
5145 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5149 lt_cv_deplibs_check_method=pass_all
5154 lt_cv_deplibs_check_method=pass_all
5157 hpux10.20* | hpux11*)
5158 lt_cv_file_magic_cmd=/usr/bin/file
5161 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5162 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5165 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]'
5166 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5169 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5170 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5176 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5177 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5180 irix5* | irix6* | nonstopux*)
5182 *-32|*"-32 ") libmagic=32-bit;;
5183 *-n32|*"-n32 ") libmagic=N32;;
5184 *-64|*"-64 ") libmagic=64-bit;;
5185 *) libmagic=never-match;;
5187 lt_cv_deplibs_check_method=pass_all
5190 # This must be Linux ELF.
5191 linux* | k*bsd*-gnu)
5192 lt_cv_deplibs_check_method=pass_all
5195 netbsd* | netbsdelf*-gnu)
5196 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5197 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5199 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5204 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5205 lt_cv_file_magic_cmd=/usr/bin/file
5206 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5210 lt_cv_deplibs_check_method=pass_all
5214 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5215 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5217 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5221 osf3* | osf4* | osf5*)
5222 lt_cv_deplibs_check_method=pass_all
5226 lt_cv_deplibs_check_method=pass_all
5230 lt_cv_deplibs_check_method=pass_all
5233 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5234 lt_cv_deplibs_check_method=pass_all
5238 case $host_vendor in
5240 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]'
5241 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5244 lt_cv_deplibs_check_method=pass_all
5247 lt_cv_file_magic_cmd='/bin/file'
5248 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5251 lt_cv_file_magic_cmd='/bin/file'
5252 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5253 lt_cv_file_magic_test_file=/lib/libc.so
5256 lt_cv_deplibs_check_method=pass_all
5259 lt_cv_deplibs_check_method=pass_all
5265 lt_cv_deplibs_check_method=pass_all
5270 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5271 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
5272 file_magic_cmd=$lt_cv_file_magic_cmd
5273 deplibs_check_method=$lt_cv_deplibs_check_method
5274 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5287 if test -n "$ac_tool_prefix"; then
5288 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5289 set dummy ${ac_tool_prefix}ar; ac_word=$2
5290 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5292 if test "${ac_cv_prog_AR+set}" = set; then
5293 echo $ECHO_N "(cached) $ECHO_C" >&6
5295 if test -n "$AR"; then
5296 ac_cv_prog_AR="$AR" # Let the user override the test.
5298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5302 test -z "$as_dir" && as_dir=.
5303 for ac_exec_ext in '' $ac_executable_extensions; do
5304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5305 ac_cv_prog_AR="${ac_tool_prefix}ar"
5306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5316 if test -n "$AR"; then
5317 { echo "$as_me:$LINENO: result: $AR" >&5
5318 echo "${ECHO_T}$AR" >&6; }
5320 { echo "$as_me:$LINENO: result: no" >&5
5321 echo "${ECHO_T}no" >&6; }
5326 if test -z "$ac_cv_prog_AR"; then
5328 # Extract the first word of "ar", so it can be a program name with args.
5329 set dummy ar; ac_word=$2
5330 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5332 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5333 echo $ECHO_N "(cached) $ECHO_C" >&6
5335 if test -n "$ac_ct_AR"; then
5336 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5342 test -z "$as_dir" && as_dir=.
5343 for ac_exec_ext in '' $ac_executable_extensions; do
5344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5345 ac_cv_prog_ac_ct_AR="ar"
5346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5355 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5356 if test -n "$ac_ct_AR"; then
5357 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5358 echo "${ECHO_T}$ac_ct_AR" >&6; }
5360 { echo "$as_me:$LINENO: result: no" >&5
5361 echo "${ECHO_T}no" >&6; }
5364 if test "x$ac_ct_AR" = x; then
5367 case $cross_compiling:$ac_tool_warned in
5369 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5370 whose name does not start with the host triplet. If you think this
5371 configuration is useful to you, please write to autoconf@gnu.org." >&5
5372 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5373 whose name does not start with the host triplet. If you think this
5374 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5375 ac_tool_warned=yes ;;
5383 test -z "$AR" && AR=ar
5384 test -z "$AR_FLAGS" && AR_FLAGS=cru
5396 if test -n "$ac_tool_prefix"; then
5397 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5398 set dummy ${ac_tool_prefix}strip; ac_word=$2
5399 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5401 if test "${ac_cv_prog_STRIP+set}" = set; then
5402 echo $ECHO_N "(cached) $ECHO_C" >&6
5404 if test -n "$STRIP"; then
5405 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5411 test -z "$as_dir" && as_dir=.
5412 for ac_exec_ext in '' $ac_executable_extensions; do
5413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5414 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5424 STRIP=$ac_cv_prog_STRIP
5425 if test -n "$STRIP"; then
5426 { echo "$as_me:$LINENO: result: $STRIP" >&5
5427 echo "${ECHO_T}$STRIP" >&6; }
5429 { echo "$as_me:$LINENO: result: no" >&5
5430 echo "${ECHO_T}no" >&6; }
5435 if test -z "$ac_cv_prog_STRIP"; then
5437 # Extract the first word of "strip", so it can be a program name with args.
5438 set dummy strip; ac_word=$2
5439 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5441 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5442 echo $ECHO_N "(cached) $ECHO_C" >&6
5444 if test -n "$ac_ct_STRIP"; then
5445 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5451 test -z "$as_dir" && as_dir=.
5452 for ac_exec_ext in '' $ac_executable_extensions; do
5453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5454 ac_cv_prog_ac_ct_STRIP="strip"
5455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5464 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5465 if test -n "$ac_ct_STRIP"; then
5466 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5467 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5469 { echo "$as_me:$LINENO: result: no" >&5
5470 echo "${ECHO_T}no" >&6; }
5473 if test "x$ac_ct_STRIP" = x; then
5476 case $cross_compiling:$ac_tool_warned in
5478 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5479 whose name does not start with the host triplet. If you think this
5480 configuration is useful to you, please write to autoconf@gnu.org." >&5
5481 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5482 whose name does not start with the host triplet. If you think this
5483 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5484 ac_tool_warned=yes ;;
5489 STRIP="$ac_cv_prog_STRIP"
5492 test -z "$STRIP" && STRIP=:
5499 if test -n "$ac_tool_prefix"; then
5500 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5501 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5502 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5504 if test "${ac_cv_prog_RANLIB+set}" = set; then
5505 echo $ECHO_N "(cached) $ECHO_C" >&6
5507 if test -n "$RANLIB"; then
5508 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5514 test -z "$as_dir" && as_dir=.
5515 for ac_exec_ext in '' $ac_executable_extensions; do
5516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5517 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5527 RANLIB=$ac_cv_prog_RANLIB
5528 if test -n "$RANLIB"; then
5529 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5530 echo "${ECHO_T}$RANLIB" >&6; }
5532 { echo "$as_me:$LINENO: result: no" >&5
5533 echo "${ECHO_T}no" >&6; }
5538 if test -z "$ac_cv_prog_RANLIB"; then
5539 ac_ct_RANLIB=$RANLIB
5540 # Extract the first word of "ranlib", so it can be a program name with args.
5541 set dummy ranlib; ac_word=$2
5542 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5544 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5545 echo $ECHO_N "(cached) $ECHO_C" >&6
5547 if test -n "$ac_ct_RANLIB"; then
5548 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5554 test -z "$as_dir" && as_dir=.
5555 for ac_exec_ext in '' $ac_executable_extensions; do
5556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5557 ac_cv_prog_ac_ct_RANLIB="ranlib"
5558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5567 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5568 if test -n "$ac_ct_RANLIB"; then
5569 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5570 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5572 { echo "$as_me:$LINENO: result: no" >&5
5573 echo "${ECHO_T}no" >&6; }
5576 if test "x$ac_ct_RANLIB" = x; then
5579 case $cross_compiling:$ac_tool_warned in
5581 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5582 whose name does not start with the host triplet. If you think this
5583 configuration is useful to you, please write to autoconf@gnu.org." >&5
5584 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5585 whose name does not start with the host triplet. If you think this
5586 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5587 ac_tool_warned=yes ;;
5589 RANLIB=$ac_ct_RANLIB
5592 RANLIB="$ac_cv_prog_RANLIB"
5595 test -z "$RANLIB" && RANLIB=:
5602 # Determine commands to create old-style static archives.
5603 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5604 old_postinstall_cmds='chmod 644 $oldlib'
5605 old_postuninstall_cmds=
5607 if test -n "$RANLIB"; then
5610 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5613 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5616 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5652 # If no C compiler was specified, use CC.
5655 # If no C compiler flags were specified, use CFLAGS.
5656 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5658 # Allow CC to be a program name with arguments.
5662 # Check for command to grab the raw symbol name followed by C symbol from nm.
5663 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5664 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5665 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5666 echo $ECHO_N "(cached) $ECHO_C" >&6
5669 # These are sane defaults that work on at least a few old systems.
5670 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5672 # Character class describing NM global symbol codes.
5673 symcode='[BCDEGRST]'
5675 # Regexp to match symbols that can be accessed directly from C.
5676 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5678 # Define system-specific variables.
5683 cygwin* | mingw* | pw32* | cegcc*)
5684 symcode='[ABCDGISTW]'
5687 if test "$host_cpu" = ia64; then
5688 symcode='[ABCDEGRST]'
5692 symcode='[BCDEGRST]'
5695 symcode='[BCDEGQRST]'
5706 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5714 # If we're using GNU nm, then use its standard symbol codes.
5715 case `$NM -V 2>&1` in
5716 *GNU* | *'with BFD'*)
5717 symcode='[ABCDGIRSTW]' ;;
5720 # Transform an extracted symbol line into a proper C declaration.
5721 # Some systems (esp. on ia64) link data and code symbols differently,
5722 # so use this general approach.
5723 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5725 # Transform an extracted symbol line into symbol name and symbol address
5726 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5727 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'"
5729 # Handle CRLF in mingw tool chain
5733 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5737 # Try without a prefix underscore, then with it.
5738 for ac_symprfx in "" "_"; do
5740 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5741 symxfrm="\\1 $ac_symprfx\\2 \\2"
5743 # Write the raw and C identifiers.
5744 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5745 # Fake it for dumpbin and say T for any non-static function
5746 # and D for any global variable.
5747 # Also find C++ and __fastcall symbols from MSVC++,
5748 # which start with @ or ?.
5749 lt_cv_sys_global_symbol_pipe="$AWK '"\
5750 " {last_section=section; section=\$ 3};"\
5751 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5752 " \$ 0!~/External *\|/{next};"\
5753 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5754 " {if(hide[section]) next};"\
5755 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5756 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5757 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5758 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5759 " ' prfx=^$ac_symprfx"
5761 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5764 # Check to see that the pipe works correctly.
5768 cat > conftest.$ac_ext <<_LT_EOF
5773 void nm_test_func(void);
5774 void nm_test_func(void){}
5778 int main(){nm_test_var='a';nm_test_func();return(0);}
5781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5782 (eval $ac_compile) 2>&5
5784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5785 (exit $ac_status); }; then
5786 # Now try to grab the symbols.
5788 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5789 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5792 (exit $ac_status); } && test -s "$nlist"; then
5793 # Try sorting and uniquifying the output.
5794 if sort "$nlist" | uniq > "$nlist"T; then
5795 mv -f "$nlist"T "$nlist"
5800 # Make sure that we snagged all the symbols we need.
5801 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5802 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5803 cat <<_LT_EOF > conftest.$ac_ext
5809 # Now generate the symbol file.
5810 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5812 cat <<_LT_EOF >> conftest.$ac_ext
5814 /* The mapping between symbol names and symbols. */
5819 lt__PROGRAM__LTX_preloaded_symbols[] =
5821 { "@PROGRAM@", (void *) 0 },
5823 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5824 cat <<\_LT_EOF >> conftest.$ac_ext
5828 /* This works around a problem in FreeBSD linker */
5829 #ifdef FREEBSD_WORKAROUND
5830 static const void *lt_preloaded_setup() {
5831 return lt__PROGRAM__LTX_preloaded_symbols;
5839 # Now try linking the two files.
5840 mv conftest.$ac_objext conftstm.$ac_objext
5841 lt_save_LIBS="$LIBS"
5842 lt_save_CFLAGS="$CFLAGS"
5843 LIBS="conftstm.$ac_objext"
5844 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5846 (eval $ac_link) 2>&5
5848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5849 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5852 LIBS="$lt_save_LIBS"
5853 CFLAGS="$lt_save_CFLAGS"
5855 echo "cannot find nm_test_func in $nlist" >&5
5858 echo "cannot find nm_test_var in $nlist" >&5
5861 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5864 echo "$progname: failed program was:" >&5
5865 cat conftest.$ac_ext >&5
5867 rm -rf conftest* conftst*
5869 # Do not use the global_symbol_pipe unless it works.
5870 if test "$pipe_works" = yes; then
5873 lt_cv_sys_global_symbol_pipe=
5879 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5880 lt_cv_sys_global_symbol_to_cdecl=
5882 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5883 { echo "$as_me:$LINENO: result: failed" >&5
5884 echo "${ECHO_T}failed" >&6; }
5886 { echo "$as_me:$LINENO: result: ok" >&5
5887 echo "${ECHO_T}ok" >&6; }
5912 # Check whether --enable-libtool-lock was given.
5913 if test "${enable_libtool_lock+set}" = set; then
5914 enableval=$enable_libtool_lock;
5917 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5919 # Some flags need to be propagated to the compiler or linker for good
5923 # Find out which ABI we are using.
5924 echo 'int i;' > conftest.$ac_ext
5925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5926 (eval $ac_compile) 2>&5
5928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5929 (exit $ac_status); }; then
5930 case `/usr/bin/file conftest.$ac_objext` in
5942 # Find out which ABI we are using.
5943 echo '#line 5943 "configure"' > conftest.$ac_ext
5944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5945 (eval $ac_compile) 2>&5
5947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5948 (exit $ac_status); }; then
5949 if test "$lt_cv_prog_gnu_ld" = yes; then
5950 case `/usr/bin/file conftest.$ac_objext` in
5952 LD="${LD-ld} -melf32bsmip"
5955 LD="${LD-ld} -melf32bmipn32"
5958 LD="${LD-ld} -melf64bmip"
5962 case `/usr/bin/file conftest.$ac_objext` in
5978 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5979 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5980 # Find out which ABI we are using.
5981 echo 'int i;' > conftest.$ac_ext
5982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5983 (eval $ac_compile) 2>&5
5985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5986 (exit $ac_status); }; then
5987 case `/usr/bin/file conftest.o` in
5990 x86_64-*kfreebsd*-gnu)
5991 LD="${LD-ld} -m elf_i386_fbsd"
5994 LD="${LD-ld} -m elf_i386"
5996 ppc64-*linux*|powerpc64-*linux*)
5997 LD="${LD-ld} -m elf32ppclinux"
6000 LD="${LD-ld} -m elf_s390"
6003 LD="${LD-ld} -m elf32_sparc"
6009 x86_64-*kfreebsd*-gnu)
6010 LD="${LD-ld} -m elf_x86_64_fbsd"
6013 LD="${LD-ld} -m elf_x86_64"
6015 ppc*-*linux*|powerpc*-*linux*)
6016 LD="${LD-ld} -m elf64ppc"
6018 s390*-*linux*|s390*-*tpf*)
6019 LD="${LD-ld} -m elf64_s390"
6022 LD="${LD-ld} -m elf64_sparc"
6032 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6033 SAVE_CFLAGS="$CFLAGS"
6034 CFLAGS="$CFLAGS -belf"
6035 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6036 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
6037 if test "${lt_cv_cc_needs_belf+set}" = set; then
6038 echo $ECHO_N "(cached) $ECHO_C" >&6
6041 ac_cpp='$CPP $CPPFLAGS'
6042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6046 cat >conftest.$ac_ext <<_ACEOF
6049 cat confdefs.h >>conftest.$ac_ext
6050 cat >>conftest.$ac_ext <<_ACEOF
6051 /* end confdefs.h. */
6061 rm -f conftest.$ac_objext conftest$ac_exeext
6062 if { (ac_try="$ac_link"
6064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6065 *) ac_try_echo=$ac_try;;
6067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6068 (eval "$ac_link") 2>conftest.er1
6070 grep -v '^ *+' conftest.er1 >conftest.err
6072 cat conftest.err >&5
6073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6074 (exit $ac_status); } && {
6075 test -z "$ac_c_werror_flag" ||
6076 test ! -s conftest.err
6077 } && test -s conftest$ac_exeext &&
6078 $as_test_x conftest$ac_exeext; then
6079 lt_cv_cc_needs_belf=yes
6081 echo "$as_me: failed program was:" >&5
6082 sed 's/^/| /' conftest.$ac_ext >&5
6084 lt_cv_cc_needs_belf=no
6087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6088 conftest$ac_exeext conftest.$ac_ext
6090 ac_cpp='$CPP $CPPFLAGS'
6091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6096 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6097 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
6098 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6099 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6100 CFLAGS="$SAVE_CFLAGS"
6104 # Find out which ABI we are using.
6105 echo 'int i;' > conftest.$ac_ext
6106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6107 (eval $ac_compile) 2>&5
6109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6110 (exit $ac_status); }; then
6111 case `/usr/bin/file conftest.o` in
6113 case $lt_cv_prog_gnu_ld in
6114 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6116 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6128 need_locks="$enable_libtool_lock"
6132 rhapsody* | darwin*)
6133 if test -n "$ac_tool_prefix"; then
6134 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6135 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6136 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6138 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6139 echo $ECHO_N "(cached) $ECHO_C" >&6
6141 if test -n "$DSYMUTIL"; then
6142 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6148 test -z "$as_dir" && as_dir=.
6149 for ac_exec_ext in '' $ac_executable_extensions; do
6150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6151 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6161 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6162 if test -n "$DSYMUTIL"; then
6163 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
6164 echo "${ECHO_T}$DSYMUTIL" >&6; }
6166 { echo "$as_me:$LINENO: result: no" >&5
6167 echo "${ECHO_T}no" >&6; }
6172 if test -z "$ac_cv_prog_DSYMUTIL"; then
6173 ac_ct_DSYMUTIL=$DSYMUTIL
6174 # Extract the first word of "dsymutil", so it can be a program name with args.
6175 set dummy dsymutil; ac_word=$2
6176 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6178 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6179 echo $ECHO_N "(cached) $ECHO_C" >&6
6181 if test -n "$ac_ct_DSYMUTIL"; then
6182 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6188 test -z "$as_dir" && as_dir=.
6189 for ac_exec_ext in '' $ac_executable_extensions; do
6190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6191 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6201 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6202 if test -n "$ac_ct_DSYMUTIL"; then
6203 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
6204 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
6206 { echo "$as_me:$LINENO: result: no" >&5
6207 echo "${ECHO_T}no" >&6; }
6210 if test "x$ac_ct_DSYMUTIL" = x; then
6213 case $cross_compiling:$ac_tool_warned in
6215 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6216 whose name does not start with the host triplet. If you think this
6217 configuration is useful to you, please write to autoconf@gnu.org." >&5
6218 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6219 whose name does not start with the host triplet. If you think this
6220 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6221 ac_tool_warned=yes ;;
6223 DSYMUTIL=$ac_ct_DSYMUTIL
6226 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6229 if test -n "$ac_tool_prefix"; then
6230 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6231 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6232 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6234 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6235 echo $ECHO_N "(cached) $ECHO_C" >&6
6237 if test -n "$NMEDIT"; then
6238 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6244 test -z "$as_dir" && as_dir=.
6245 for ac_exec_ext in '' $ac_executable_extensions; do
6246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6247 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6257 NMEDIT=$ac_cv_prog_NMEDIT
6258 if test -n "$NMEDIT"; then
6259 { echo "$as_me:$LINENO: result: $NMEDIT" >&5
6260 echo "${ECHO_T}$NMEDIT" >&6; }
6262 { echo "$as_me:$LINENO: result: no" >&5
6263 echo "${ECHO_T}no" >&6; }
6268 if test -z "$ac_cv_prog_NMEDIT"; then
6269 ac_ct_NMEDIT=$NMEDIT
6270 # Extract the first word of "nmedit", so it can be a program name with args.
6271 set dummy nmedit; ac_word=$2
6272 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6274 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6275 echo $ECHO_N "(cached) $ECHO_C" >&6
6277 if test -n "$ac_ct_NMEDIT"; then
6278 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6284 test -z "$as_dir" && as_dir=.
6285 for ac_exec_ext in '' $ac_executable_extensions; do
6286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6287 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6297 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6298 if test -n "$ac_ct_NMEDIT"; then
6299 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6300 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
6302 { echo "$as_me:$LINENO: result: no" >&5
6303 echo "${ECHO_T}no" >&6; }
6306 if test "x$ac_ct_NMEDIT" = x; then
6309 case $cross_compiling:$ac_tool_warned in
6311 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6312 whose name does not start with the host triplet. If you think this
6313 configuration is useful to you, please write to autoconf@gnu.org." >&5
6314 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6315 whose name does not start with the host triplet. If you think this
6316 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6317 ac_tool_warned=yes ;;
6319 NMEDIT=$ac_ct_NMEDIT
6322 NMEDIT="$ac_cv_prog_NMEDIT"
6325 if test -n "$ac_tool_prefix"; then
6326 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6327 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6328 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6330 if test "${ac_cv_prog_LIPO+set}" = set; then
6331 echo $ECHO_N "(cached) $ECHO_C" >&6
6333 if test -n "$LIPO"; then
6334 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6340 test -z "$as_dir" && as_dir=.
6341 for ac_exec_ext in '' $ac_executable_extensions; do
6342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6343 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6353 LIPO=$ac_cv_prog_LIPO
6354 if test -n "$LIPO"; then
6355 { echo "$as_me:$LINENO: result: $LIPO" >&5
6356 echo "${ECHO_T}$LIPO" >&6; }
6358 { echo "$as_me:$LINENO: result: no" >&5
6359 echo "${ECHO_T}no" >&6; }
6364 if test -z "$ac_cv_prog_LIPO"; then
6366 # Extract the first word of "lipo", so it can be a program name with args.
6367 set dummy lipo; ac_word=$2
6368 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6370 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6371 echo $ECHO_N "(cached) $ECHO_C" >&6
6373 if test -n "$ac_ct_LIPO"; then
6374 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6380 test -z "$as_dir" && as_dir=.
6381 for ac_exec_ext in '' $ac_executable_extensions; do
6382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6383 ac_cv_prog_ac_ct_LIPO="lipo"
6384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6393 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6394 if test -n "$ac_ct_LIPO"; then
6395 { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6396 echo "${ECHO_T}$ac_ct_LIPO" >&6; }
6398 { echo "$as_me:$LINENO: result: no" >&5
6399 echo "${ECHO_T}no" >&6; }
6402 if test "x$ac_ct_LIPO" = x; then
6405 case $cross_compiling:$ac_tool_warned in
6407 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6408 whose name does not start with the host triplet. If you think this
6409 configuration is useful to you, please write to autoconf@gnu.org." >&5
6410 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6411 whose name does not start with the host triplet. If you think this
6412 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6413 ac_tool_warned=yes ;;
6418 LIPO="$ac_cv_prog_LIPO"
6421 if test -n "$ac_tool_prefix"; then
6422 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6423 set dummy ${ac_tool_prefix}otool; ac_word=$2
6424 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6426 if test "${ac_cv_prog_OTOOL+set}" = set; then
6427 echo $ECHO_N "(cached) $ECHO_C" >&6
6429 if test -n "$OTOOL"; then
6430 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6436 test -z "$as_dir" && as_dir=.
6437 for ac_exec_ext in '' $ac_executable_extensions; do
6438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6439 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6449 OTOOL=$ac_cv_prog_OTOOL
6450 if test -n "$OTOOL"; then
6451 { echo "$as_me:$LINENO: result: $OTOOL" >&5
6452 echo "${ECHO_T}$OTOOL" >&6; }
6454 { echo "$as_me:$LINENO: result: no" >&5
6455 echo "${ECHO_T}no" >&6; }
6460 if test -z "$ac_cv_prog_OTOOL"; then
6462 # Extract the first word of "otool", so it can be a program name with args.
6463 set dummy otool; ac_word=$2
6464 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6466 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6467 echo $ECHO_N "(cached) $ECHO_C" >&6
6469 if test -n "$ac_ct_OTOOL"; then
6470 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6476 test -z "$as_dir" && as_dir=.
6477 for ac_exec_ext in '' $ac_executable_extensions; do
6478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6479 ac_cv_prog_ac_ct_OTOOL="otool"
6480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6489 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6490 if test -n "$ac_ct_OTOOL"; then
6491 { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6492 echo "${ECHO_T}$ac_ct_OTOOL" >&6; }
6494 { echo "$as_me:$LINENO: result: no" >&5
6495 echo "${ECHO_T}no" >&6; }
6498 if test "x$ac_ct_OTOOL" = x; then
6501 case $cross_compiling:$ac_tool_warned in
6503 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6504 whose name does not start with the host triplet. If you think this
6505 configuration is useful to you, please write to autoconf@gnu.org." >&5
6506 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6507 whose name does not start with the host triplet. If you think this
6508 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6509 ac_tool_warned=yes ;;
6514 OTOOL="$ac_cv_prog_OTOOL"
6517 if test -n "$ac_tool_prefix"; then
6518 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6519 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6520 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6522 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6523 echo $ECHO_N "(cached) $ECHO_C" >&6
6525 if test -n "$OTOOL64"; then
6526 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6532 test -z "$as_dir" && as_dir=.
6533 for ac_exec_ext in '' $ac_executable_extensions; do
6534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6535 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6545 OTOOL64=$ac_cv_prog_OTOOL64
6546 if test -n "$OTOOL64"; then
6547 { echo "$as_me:$LINENO: result: $OTOOL64" >&5
6548 echo "${ECHO_T}$OTOOL64" >&6; }
6550 { echo "$as_me:$LINENO: result: no" >&5
6551 echo "${ECHO_T}no" >&6; }
6556 if test -z "$ac_cv_prog_OTOOL64"; then
6557 ac_ct_OTOOL64=$OTOOL64
6558 # Extract the first word of "otool64", so it can be a program name with args.
6559 set dummy otool64; ac_word=$2
6560 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6562 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6563 echo $ECHO_N "(cached) $ECHO_C" >&6
6565 if test -n "$ac_ct_OTOOL64"; then
6566 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6572 test -z "$as_dir" && as_dir=.
6573 for ac_exec_ext in '' $ac_executable_extensions; do
6574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6575 ac_cv_prog_ac_ct_OTOOL64="otool64"
6576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6585 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6586 if test -n "$ac_ct_OTOOL64"; then
6587 { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6588 echo "${ECHO_T}$ac_ct_OTOOL64" >&6; }
6590 { echo "$as_me:$LINENO: result: no" >&5
6591 echo "${ECHO_T}no" >&6; }
6594 if test "x$ac_ct_OTOOL64" = x; then
6597 case $cross_compiling:$ac_tool_warned in
6599 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6600 whose name does not start with the host triplet. If you think this
6601 configuration is useful to you, please write to autoconf@gnu.org." >&5
6602 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6603 whose name does not start with the host triplet. If you think this
6604 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6605 ac_tool_warned=yes ;;
6607 OTOOL64=$ac_ct_OTOOL64
6610 OTOOL64="$ac_cv_prog_OTOOL64"
6639 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6640 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
6641 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6642 echo $ECHO_N "(cached) $ECHO_C" >&6
6644 lt_cv_apple_cc_single_mod=no
6645 if test -z "${LT_MULTI_MODULE}"; then
6646 # By default we will add the -single_module flag. You can override
6647 # by either setting the environment variable LT_MULTI_MODULE
6648 # non-empty at configure time, or by adding -multi_module to the
6650 rm -rf libconftest.dylib*
6651 echo "int foo(void){return 1;}" > conftest.c
6652 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6653 -dynamiclib -Wl,-single_module conftest.c" >&5
6654 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6655 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6657 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6658 lt_cv_apple_cc_single_mod=yes
6660 cat conftest.err >&5
6662 rm -rf libconftest.dylib*
6666 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6667 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
6668 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6669 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
6670 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6671 echo $ECHO_N "(cached) $ECHO_C" >&6
6673 lt_cv_ld_exported_symbols_list=no
6674 save_LDFLAGS=$LDFLAGS
6675 echo "_main" > conftest.sym
6676 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6677 cat >conftest.$ac_ext <<_ACEOF
6680 cat confdefs.h >>conftest.$ac_ext
6681 cat >>conftest.$ac_ext <<_ACEOF
6682 /* end confdefs.h. */
6692 rm -f conftest.$ac_objext conftest$ac_exeext
6693 if { (ac_try="$ac_link"
6695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6696 *) ac_try_echo=$ac_try;;
6698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6699 (eval "$ac_link") 2>conftest.er1
6701 grep -v '^ *+' conftest.er1 >conftest.err
6703 cat conftest.err >&5
6704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6705 (exit $ac_status); } && {
6706 test -z "$ac_c_werror_flag" ||
6707 test ! -s conftest.err
6708 } && test -s conftest$ac_exeext &&
6709 $as_test_x conftest$ac_exeext; then
6710 lt_cv_ld_exported_symbols_list=yes
6712 echo "$as_me: failed program was:" >&5
6713 sed 's/^/| /' conftest.$ac_ext >&5
6715 lt_cv_ld_exported_symbols_list=no
6718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6719 conftest$ac_exeext conftest.$ac_ext
6720 LDFLAGS="$save_LDFLAGS"
6723 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6724 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
6726 rhapsody* | darwin1.[012])
6727 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6729 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6730 darwin*) # darwin 5.x on
6731 # if running on 10.5 or later, the deployment target defaults
6732 # to the OS version, if on x86, and 10.4, the deployment
6733 # target defaults to 10.4. Don't you love it?
6734 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6735 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6736 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6738 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6740 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6744 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6745 _lt_dar_single_mod='$single_module'
6747 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6748 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6750 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6752 if test "$DSYMUTIL" != ":"; then
6753 _lt_dsymutil='~$DSYMUTIL $lib || :'
6761 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6762 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6763 if test "${ac_cv_header_stdc+set}" = set; then
6764 echo $ECHO_N "(cached) $ECHO_C" >&6
6766 cat >conftest.$ac_ext <<_ACEOF
6769 cat confdefs.h >>conftest.$ac_ext
6770 cat >>conftest.$ac_ext <<_ACEOF
6771 /* end confdefs.h. */
6785 rm -f conftest.$ac_objext
6786 if { (ac_try="$ac_compile"
6788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6789 *) ac_try_echo=$ac_try;;
6791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6792 (eval "$ac_compile") 2>conftest.er1
6794 grep -v '^ *+' conftest.er1 >conftest.err
6796 cat conftest.err >&5
6797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6798 (exit $ac_status); } && {
6799 test -z "$ac_c_werror_flag" ||
6800 test ! -s conftest.err
6801 } && test -s conftest.$ac_objext; then
6802 ac_cv_header_stdc=yes
6804 echo "$as_me: failed program was:" >&5
6805 sed 's/^/| /' conftest.$ac_ext >&5
6807 ac_cv_header_stdc=no
6810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6812 if test $ac_cv_header_stdc = yes; then
6813 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6814 cat >conftest.$ac_ext <<_ACEOF
6817 cat confdefs.h >>conftest.$ac_ext
6818 cat >>conftest.$ac_ext <<_ACEOF
6819 /* end confdefs.h. */
6823 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6824 $EGREP "memchr" >/dev/null 2>&1; then
6827 ac_cv_header_stdc=no
6833 if test $ac_cv_header_stdc = yes; then
6834 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6835 cat >conftest.$ac_ext <<_ACEOF
6838 cat confdefs.h >>conftest.$ac_ext
6839 cat >>conftest.$ac_ext <<_ACEOF
6840 /* end confdefs.h. */
6844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6845 $EGREP "free" >/dev/null 2>&1; then
6848 ac_cv_header_stdc=no
6854 if test $ac_cv_header_stdc = yes; then
6855 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6856 if test "$cross_compiling" = yes; then
6859 cat >conftest.$ac_ext <<_ACEOF
6862 cat confdefs.h >>conftest.$ac_ext
6863 cat >>conftest.$ac_ext <<_ACEOF
6864 /* end confdefs.h. */
6867 #if ((' ' & 0x0FF) == 0x020)
6868 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6869 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6871 # define ISLOWER(c) \
6872 (('a' <= (c) && (c) <= 'i') \
6873 || ('j' <= (c) && (c) <= 'r') \
6874 || ('s' <= (c) && (c) <= 'z'))
6875 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6878 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6883 for (i = 0; i < 256; i++)
6884 if (XOR (islower (i), ISLOWER (i))
6885 || toupper (i) != TOUPPER (i))
6890 rm -f conftest$ac_exeext
6891 if { (ac_try="$ac_link"
6893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6894 *) ac_try_echo=$ac_try;;
6896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6897 (eval "$ac_link") 2>&5
6899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6900 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6901 { (case "(($ac_try" in
6902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6903 *) ac_try_echo=$ac_try;;
6905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6906 (eval "$ac_try") 2>&5
6908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6909 (exit $ac_status); }; }; then
6912 echo "$as_me: program exited with status $ac_status" >&5
6913 echo "$as_me: failed program was:" >&5
6914 sed 's/^/| /' conftest.$ac_ext >&5
6917 ac_cv_header_stdc=no
6919 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6925 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6926 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6927 if test $ac_cv_header_stdc = yes; then
6929 cat >>confdefs.h <<\_ACEOF
6930 #define STDC_HEADERS 1
6935 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6945 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6946 inttypes.h stdint.h unistd.h
6948 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6949 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6950 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6951 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6952 echo $ECHO_N "(cached) $ECHO_C" >&6
6954 cat >conftest.$ac_ext <<_ACEOF
6957 cat confdefs.h >>conftest.$ac_ext
6958 cat >>conftest.$ac_ext <<_ACEOF
6959 /* end confdefs.h. */
6960 $ac_includes_default
6962 #include <$ac_header>
6964 rm -f conftest.$ac_objext
6965 if { (ac_try="$ac_compile"
6967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6968 *) ac_try_echo=$ac_try;;
6970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6971 (eval "$ac_compile") 2>conftest.er1
6973 grep -v '^ *+' conftest.er1 >conftest.err
6975 cat conftest.err >&5
6976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6977 (exit $ac_status); } && {
6978 test -z "$ac_c_werror_flag" ||
6979 test ! -s conftest.err
6980 } && test -s conftest.$ac_objext; then
6981 eval "$as_ac_Header=yes"
6983 echo "$as_me: failed program was:" >&5
6984 sed 's/^/| /' conftest.$ac_ext >&5
6986 eval "$as_ac_Header=no"
6989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6991 ac_res=`eval echo '${'$as_ac_Header'}'`
6992 { echo "$as_me:$LINENO: result: $ac_res" >&5
6993 echo "${ECHO_T}$ac_res" >&6; }
6994 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6995 cat >>confdefs.h <<_ACEOF
6996 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7005 for ac_header in dlfcn.h
7007 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7008 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7010 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7011 echo $ECHO_N "(cached) $ECHO_C" >&6
7013 cat >conftest.$ac_ext <<_ACEOF
7016 cat confdefs.h >>conftest.$ac_ext
7017 cat >>conftest.$ac_ext <<_ACEOF
7018 /* end confdefs.h. */
7019 $ac_includes_default
7021 #include <$ac_header>
7023 rm -f conftest.$ac_objext
7024 if { (ac_try="$ac_compile"
7026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7027 *) ac_try_echo=$ac_try;;
7029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7030 (eval "$ac_compile") 2>conftest.er1
7032 grep -v '^ *+' conftest.er1 >conftest.err
7034 cat conftest.err >&5
7035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7036 (exit $ac_status); } && {
7037 test -z "$ac_c_werror_flag" ||
7038 test ! -s conftest.err
7039 } && test -s conftest.$ac_objext; then
7040 eval "$as_ac_Header=yes"
7042 echo "$as_me: failed program was:" >&5
7043 sed 's/^/| /' conftest.$ac_ext >&5
7045 eval "$as_ac_Header=no"
7048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7050 ac_res=`eval echo '${'$as_ac_Header'}'`
7051 { echo "$as_me:$LINENO: result: $ac_res" >&5
7052 echo "${ECHO_T}$ac_res" >&6; }
7053 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7054 cat >>confdefs.h <<_ACEOF
7055 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7072 # Check whether --enable-shared was given.
7073 if test "${enable_shared+set}" = set; then
7074 enableval=$enable_shared; p=${PACKAGE-default}
7076 yes) enable_shared=yes ;;
7077 no) enable_shared=no ;;
7080 # Look at the argument we got. We use all the common list separators.
7081 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7082 for pkg in $enableval; do
7084 if test "X$pkg" = "X$p"; then
7105 # Check whether --with-pic was given.
7106 if test "${with_pic+set}" = set; then
7107 withval=$with_pic; pic_mode="$withval"
7113 test -z "$pic_mode" && pic_mode=default
7121 # Check whether --enable-fast-install was given.
7122 if test "${enable_fast_install+set}" = set; then
7123 enableval=$enable_fast_install; p=${PACKAGE-default}
7125 yes) enable_fast_install=yes ;;
7126 no) enable_fast_install=no ;;
7128 enable_fast_install=no
7129 # Look at the argument we got. We use all the common list separators.
7130 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7131 for pkg in $enableval; do
7133 if test "X$pkg" = "X$p"; then
7134 enable_fast_install=yes
7141 enable_fast_install=yes
7154 # This can be used to rebuild libtool when needed
7155 LIBTOOL_DEPS="$ltmain"
7157 # Always use our own libtool.
7158 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7184 test -z "$LN_S" && LN_S="ln -s"
7199 if test -n "${ZSH_VERSION+set}" ; then
7200 setopt NO_GLOB_SUBST
7203 { echo "$as_me:$LINENO: checking for objdir" >&5
7204 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7205 if test "${lt_cv_objdir+set}" = set; then
7206 echo $ECHO_N "(cached) $ECHO_C" >&6
7208 rm -f .libs 2>/dev/null
7209 mkdir .libs 2>/dev/null
7210 if test -d .libs; then
7213 # MS-DOS does not allow filenames that begin with a dot.
7216 rmdir .libs 2>/dev/null
7218 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7219 echo "${ECHO_T}$lt_cv_objdir" >&6; }
7220 objdir=$lt_cv_objdir
7226 cat >>confdefs.h <<_ACEOF
7227 #define LT_OBJDIR "$lt_cv_objdir/"
7248 # AIX sometimes has problems with the GCC collect2 program. For some
7249 # reason, if we set the COLLECT_NAMES environment variable, the problems
7250 # vanish in a puff of smoke.
7251 if test "X${COLLECT_NAMES+set}" != Xset; then
7253 export COLLECT_NAMES
7258 # Sed substitution that helps us do robust quoting. It backslashifies
7259 # metacharacters that are still active within double-quoted strings.
7260 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7262 # Same as above, but do not quote variable references.
7263 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7265 # Sed substitution to delay expansion of an escaped shell variable in a
7266 # double_quote_subst'ed string.
7267 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7269 # Sed substitution to delay expansion of an escaped single quote.
7270 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7272 # Sed substitution to avoid accidental globbing in evaled expressions
7273 no_glob_subst='s/\*/\\\*/g'
7277 can_build_shared=yes
7279 # All known linkers require a `.a' archive for static linking (except MSVC,
7280 # which needs '.lib').
7283 with_gnu_ld="$lt_cv_prog_gnu_ld"
7286 old_CFLAGS="$CFLAGS"
7288 # Set sane defaults for various variables
7289 test -z "$CC" && CC=cc
7290 test -z "$LTCC" && LTCC=$CC
7291 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7292 test -z "$LD" && LD=ld
7293 test -z "$ac_objext" && ac_objext=o
7295 for cc_temp in $compiler""; do
7297 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7298 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7303 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7306 # Only perform the check for file, if the check method requires it
7307 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7308 case $deplibs_check_method in
7310 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7311 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7312 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7313 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7314 echo $ECHO_N "(cached) $ECHO_C" >&6
7318 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7321 lt_save_MAGIC_CMD="$MAGIC_CMD"
7322 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7323 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7324 for ac_dir in $ac_dummy; do
7326 test -z "$ac_dir" && ac_dir=.
7327 if test -f $ac_dir/${ac_tool_prefix}file; then
7328 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7329 if test -n "$file_magic_test_file"; then
7330 case $deplibs_check_method in
7332 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7333 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7334 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7335 $EGREP "$file_magic_regex" > /dev/null; then
7340 *** Warning: the command libtool uses to detect shared libraries,
7341 *** $file_magic_cmd, produces output that libtool cannot recognize.
7342 *** The result is that libtool may fail to recognize shared libraries
7343 *** as such. This will affect the creation of libtool libraries that
7344 *** depend on shared libraries, but programs linked with such libtool
7345 *** libraries will work regardless of this problem. Nevertheless, you
7346 *** may want to report the problem to your system manager and/or to
7347 *** bug-libtool@gnu.org
7357 MAGIC_CMD="$lt_save_MAGIC_CMD"
7362 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7363 if test -n "$MAGIC_CMD"; then
7364 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7365 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7367 { echo "$as_me:$LINENO: result: no" >&5
7368 echo "${ECHO_T}no" >&6; }
7375 if test -z "$lt_cv_path_MAGIC_CMD"; then
7376 if test -n "$ac_tool_prefix"; then
7377 { echo "$as_me:$LINENO: checking for file" >&5
7378 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7379 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7380 echo $ECHO_N "(cached) $ECHO_C" >&6
7384 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7387 lt_save_MAGIC_CMD="$MAGIC_CMD"
7388 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7389 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7390 for ac_dir in $ac_dummy; do
7392 test -z "$ac_dir" && ac_dir=.
7393 if test -f $ac_dir/file; then
7394 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7395 if test -n "$file_magic_test_file"; then
7396 case $deplibs_check_method in
7398 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7399 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7400 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7401 $EGREP "$file_magic_regex" > /dev/null; then
7406 *** Warning: the command libtool uses to detect shared libraries,
7407 *** $file_magic_cmd, produces output that libtool cannot recognize.
7408 *** The result is that libtool may fail to recognize shared libraries
7409 *** as such. This will affect the creation of libtool libraries that
7410 *** depend on shared libraries, but programs linked with such libtool
7411 *** libraries will work regardless of this problem. Nevertheless, you
7412 *** may want to report the problem to your system manager and/or to
7413 *** bug-libtool@gnu.org
7423 MAGIC_CMD="$lt_save_MAGIC_CMD"
7428 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7429 if test -n "$MAGIC_CMD"; then
7430 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7431 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7433 { echo "$as_me:$LINENO: result: no" >&5
7434 echo "${ECHO_T}no" >&6; }
7447 # Use C for the default configuration in the libtool script
7451 ac_cpp='$CPP $CPPFLAGS'
7452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7457 # Source file extension for C test sources.
7460 # Object file extension for compiled C test sources.
7464 # Code to be used in simple compile tests
7465 lt_simple_compile_test_code="int some_variable = 0;"
7467 # Code to be used in simple link tests
7468 lt_simple_link_test_code='int main(){return(0);}'
7476 # If no C compiler was specified, use CC.
7479 # If no C compiler flags were specified, use CFLAGS.
7480 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7482 # Allow CC to be a program name with arguments.
7485 # Save the default compiler, since it gets overwritten when the other
7486 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7487 compiler_DEFAULT=$CC
7489 # save warnings/boilerplate of simple test code
7490 ac_outfile=conftest.$ac_objext
7491 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7492 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7493 _lt_compiler_boilerplate=`cat conftest.err`
7496 ac_outfile=conftest.$ac_objext
7497 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7498 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7499 _lt_linker_boilerplate=`cat conftest.err`
7503 if test -n "$compiler"; then
7505 lt_prog_compiler_no_builtin_flag=
7507 if test "$GCC" = yes; then
7508 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7510 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7511 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7512 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7513 echo $ECHO_N "(cached) $ECHO_C" >&6
7515 lt_cv_prog_compiler_rtti_exceptions=no
7516 ac_outfile=conftest.$ac_objext
7517 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7518 lt_compiler_flag="-fno-rtti -fno-exceptions"
7519 # Insert the option either (1) after the last *FLAGS variable, or
7520 # (2) before a word containing "conftest.", or (3) at the end.
7521 # Note that $ac_compile itself does not contain backslashes and begins
7522 # with a dollar sign (not a hyphen), so the echo should work correctly.
7523 # The option is referenced via a variable to avoid confusing sed.
7524 lt_compile=`echo "$ac_compile" | $SED \
7525 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7526 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7527 -e 's:$: $lt_compiler_flag:'`
7528 (eval echo "\"\$as_me:7528: $lt_compile\"" >&5)
7529 (eval "$lt_compile" 2>conftest.err)
7531 cat conftest.err >&5
7532 echo "$as_me:7532: \$? = $ac_status" >&5
7533 if (exit $ac_status) && test -s "$ac_outfile"; then
7534 # The compiler can only warn and ignore the option if not recognized
7535 # So say no if there are warnings other than the usual output.
7536 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7537 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7538 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7539 lt_cv_prog_compiler_rtti_exceptions=yes
7545 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7546 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7548 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7549 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7561 lt_prog_compiler_wl=
7562 lt_prog_compiler_pic=
7563 lt_prog_compiler_static=
7565 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7566 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7568 if test "$GCC" = yes; then
7569 lt_prog_compiler_wl='-Wl,'
7570 lt_prog_compiler_static='-static'
7574 # All AIX code is PIC.
7575 if test "$host_cpu" = ia64; then
7576 # AIX 5 now supports IA64 processor
7577 lt_prog_compiler_static='-Bstatic'
7584 # see comment about AmigaOS4 .so support
7585 lt_prog_compiler_pic='-fPIC'
7588 # FIXME: we need at least 68020 code to build shared libraries, but
7589 # adding the `-m68020' flag to GCC prevents building anything better,
7591 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7596 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7597 # PIC is the default for these OSes.
7600 mingw* | cygwin* | pw32* | os2* | cegcc*)
7601 # This hack is so that the source file can tell whether it is being
7602 # built for inclusion in a dll (and should export symbols for example).
7603 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7604 # (--disable-auto-import) libraries
7605 lt_prog_compiler_pic='-DDLL_EXPORT'
7608 darwin* | rhapsody*)
7609 # PIC is the default on this platform
7610 # Common symbols not allowed in MH_DYLIB files
7611 lt_prog_compiler_pic='-fno-common'
7615 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7616 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7617 # sets the default TLS model and affects inlining.
7623 lt_prog_compiler_pic='-fPIC'
7629 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7630 # Instead, we relocate shared libraries at runtime.
7634 # Just because we use GCC doesn't mean we suddenly get shared libraries
7635 # on systems that don't support them.
7636 lt_prog_compiler_can_build_shared=no
7641 # QNX uses GNU C++, but need to define -shared option too, otherwise
7643 lt_prog_compiler_pic='-fPIC -shared'
7647 if test -d /usr/nec; then
7648 lt_prog_compiler_pic=-Kconform_pic
7653 lt_prog_compiler_pic='-fPIC'
7657 # PORTME Check for flag to pass linker flags through the system compiler.
7660 lt_prog_compiler_wl='-Wl,'
7661 if test "$host_cpu" = ia64; then
7662 # AIX 5 now supports IA64 processor
7663 lt_prog_compiler_static='-Bstatic'
7665 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7669 mingw* | cygwin* | pw32* | os2* | cegcc*)
7670 # This hack is so that the source file can tell whether it is being
7671 # built for inclusion in a dll (and should export symbols for example).
7672 lt_prog_compiler_pic='-DDLL_EXPORT'
7675 hpux9* | hpux10* | hpux11*)
7676 lt_prog_compiler_wl='-Wl,'
7677 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7684 lt_prog_compiler_pic='+Z'
7687 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7688 lt_prog_compiler_static='${wl}-a ${wl}archive'
7691 irix5* | irix6* | nonstopux*)
7692 lt_prog_compiler_wl='-Wl,'
7693 # PIC (with -KPIC) is the default.
7694 lt_prog_compiler_static='-non_shared'
7697 linux* | k*bsd*-gnu)
7698 case $cc_basename in
7699 # old Intel for x86_64 which still supported -KPIC.
7701 lt_prog_compiler_wl='-Wl,'
7702 lt_prog_compiler_pic='-KPIC'
7703 lt_prog_compiler_static='-static'
7705 # icc used to be incompatible with GCC.
7706 # ICC 10 doesn't accept -KPIC any more.
7708 lt_prog_compiler_wl='-Wl,'
7709 lt_prog_compiler_pic='-fPIC'
7710 lt_prog_compiler_static='-static'
7712 # Lahey Fortran 8.1.
7714 lt_prog_compiler_wl='-Wl,'
7715 lt_prog_compiler_pic='--shared'
7716 lt_prog_compiler_static='--static'
7718 pgcc* | pgf77* | pgf90* | pgf95*)
7719 # Portland Group compilers (*not* the Pentium gcc compiler,
7720 # which looks to be a dead project)
7721 lt_prog_compiler_wl='-Wl,'
7722 lt_prog_compiler_pic='-fpic'
7723 lt_prog_compiler_static='-Bstatic'
7726 lt_prog_compiler_wl='-Wl,'
7727 # All Alpha code is PIC.
7728 lt_prog_compiler_static='-non_shared'
7731 # IBM XL C 8.0/Fortran 10.1 on PPC
7732 lt_prog_compiler_wl='-Wl,'
7733 lt_prog_compiler_pic='-qpic'
7734 lt_prog_compiler_static='-qstaticlink'
7737 case `$CC -V 2>&1 | sed 5q` in
7740 lt_prog_compiler_pic='-KPIC'
7741 lt_prog_compiler_static='-Bstatic'
7742 lt_prog_compiler_wl='-Wl,'
7745 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7746 lt_prog_compiler_pic='-KPIC'
7747 lt_prog_compiler_static='-Bstatic'
7748 lt_prog_compiler_wl=''
7756 lt_prog_compiler_pic='-KPIC'
7757 lt_prog_compiler_static='-Bstatic'
7761 # QNX uses GNU C++, but need to define -shared option too, otherwise
7763 lt_prog_compiler_pic='-fPIC -shared'
7766 osf3* | osf4* | osf5*)
7767 lt_prog_compiler_wl='-Wl,'
7768 # All OSF/1 code is PIC.
7769 lt_prog_compiler_static='-non_shared'
7773 lt_prog_compiler_static='-non_shared'
7777 lt_prog_compiler_pic='-KPIC'
7778 lt_prog_compiler_static='-Bstatic'
7779 case $cc_basename in
7781 lt_prog_compiler_wl='-Qoption ld ';;
7783 lt_prog_compiler_wl='-Wl,';;
7788 lt_prog_compiler_wl='-Qoption ld '
7789 lt_prog_compiler_pic='-PIC'
7790 lt_prog_compiler_static='-Bstatic'
7793 sysv4 | sysv4.2uw2* | sysv4.3*)
7794 lt_prog_compiler_wl='-Wl,'
7795 lt_prog_compiler_pic='-KPIC'
7796 lt_prog_compiler_static='-Bstatic'
7800 if test -d /usr/nec ;then
7801 lt_prog_compiler_pic='-Kconform_pic'
7802 lt_prog_compiler_static='-Bstatic'
7806 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7807 lt_prog_compiler_wl='-Wl,'
7808 lt_prog_compiler_pic='-KPIC'
7809 lt_prog_compiler_static='-Bstatic'
7813 lt_prog_compiler_wl='-Wl,'
7814 lt_prog_compiler_can_build_shared=no
7818 lt_prog_compiler_pic='-pic'
7819 lt_prog_compiler_static='-Bstatic'
7823 lt_prog_compiler_can_build_shared=no
7829 # For platforms which do not support PIC, -DPIC is meaningless:
7831 lt_prog_compiler_pic=
7834 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7837 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7838 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7846 # Check to make sure the PIC flag actually works.
7848 if test -n "$lt_prog_compiler_pic"; then
7849 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7850 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7851 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7852 echo $ECHO_N "(cached) $ECHO_C" >&6
7854 lt_cv_prog_compiler_pic_works=no
7855 ac_outfile=conftest.$ac_objext
7856 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7857 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7858 # Insert the option either (1) after the last *FLAGS variable, or
7859 # (2) before a word containing "conftest.", or (3) at the end.
7860 # Note that $ac_compile itself does not contain backslashes and begins
7861 # with a dollar sign (not a hyphen), so the echo should work correctly.
7862 # The option is referenced via a variable to avoid confusing sed.
7863 lt_compile=`echo "$ac_compile" | $SED \
7864 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7865 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7866 -e 's:$: $lt_compiler_flag:'`
7867 (eval echo "\"\$as_me:7867: $lt_compile\"" >&5)
7868 (eval "$lt_compile" 2>conftest.err)
7870 cat conftest.err >&5
7871 echo "$as_me:7871: \$? = $ac_status" >&5
7872 if (exit $ac_status) && test -s "$ac_outfile"; then
7873 # The compiler can only warn and ignore the option if not recognized
7874 # So say no if there are warnings other than the usual output.
7875 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7876 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7877 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7878 lt_cv_prog_compiler_pic_works=yes
7884 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7885 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
7887 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7888 case $lt_prog_compiler_pic in
7890 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7893 lt_prog_compiler_pic=
7894 lt_prog_compiler_can_build_shared=no
7905 # Check to make sure the static flag actually works.
7907 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7908 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7909 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7910 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7911 echo $ECHO_N "(cached) $ECHO_C" >&6
7913 lt_cv_prog_compiler_static_works=no
7914 save_LDFLAGS="$LDFLAGS"
7915 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7916 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7917 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7918 # The linker can only warn and ignore the option if not recognized
7919 # So say no if there are warnings
7920 if test -s conftest.err; then
7921 # Append any errors to the config.log.
7922 cat conftest.err 1>&5
7923 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7924 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7925 if diff conftest.exp conftest.er2 >/dev/null; then
7926 lt_cv_prog_compiler_static_works=yes
7929 lt_cv_prog_compiler_static_works=yes
7933 LDFLAGS="$save_LDFLAGS"
7936 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7937 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
7939 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7942 lt_prog_compiler_static=
7951 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7952 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7953 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7954 echo $ECHO_N "(cached) $ECHO_C" >&6
7956 lt_cv_prog_compiler_c_o=no
7957 $RM -r conftest 2>/dev/null
7961 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7963 lt_compiler_flag="-o out/conftest2.$ac_objext"
7964 # Insert the option either (1) after the last *FLAGS variable, or
7965 # (2) before a word containing "conftest.", or (3) at the end.
7966 # Note that $ac_compile itself does not contain backslashes and begins
7967 # with a dollar sign (not a hyphen), so the echo should work correctly.
7968 lt_compile=`echo "$ac_compile" | $SED \
7969 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7970 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7971 -e 's:$: $lt_compiler_flag:'`
7972 (eval echo "\"\$as_me:7972: $lt_compile\"" >&5)
7973 (eval "$lt_compile" 2>out/conftest.err)
7975 cat out/conftest.err >&5
7976 echo "$as_me:7976: \$? = $ac_status" >&5
7977 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7979 # The compiler can only warn and ignore the option if not recognized
7980 # So say no if there are warnings
7981 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7982 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7983 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7984 lt_cv_prog_compiler_c_o=yes
7989 # SGI C++ compiler will create directory out/ii_files/ for
7990 # template instantiation
7991 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7992 $RM out/* && rmdir out
7998 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7999 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8006 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8007 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8008 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8009 echo $ECHO_N "(cached) $ECHO_C" >&6
8011 lt_cv_prog_compiler_c_o=no
8012 $RM -r conftest 2>/dev/null
8016 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8018 lt_compiler_flag="-o out/conftest2.$ac_objext"
8019 # Insert the option either (1) after the last *FLAGS variable, or
8020 # (2) before a word containing "conftest.", or (3) at the end.
8021 # Note that $ac_compile itself does not contain backslashes and begins
8022 # with a dollar sign (not a hyphen), so the echo should work correctly.
8023 lt_compile=`echo "$ac_compile" | $SED \
8024 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8025 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8026 -e 's:$: $lt_compiler_flag:'`
8027 (eval echo "\"\$as_me:8027: $lt_compile\"" >&5)
8028 (eval "$lt_compile" 2>out/conftest.err)
8030 cat out/conftest.err >&5
8031 echo "$as_me:8031: \$? = $ac_status" >&5
8032 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8034 # The compiler can only warn and ignore the option if not recognized
8035 # So say no if there are warnings
8036 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8037 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8038 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8039 lt_cv_prog_compiler_c_o=yes
8044 # SGI C++ compiler will create directory out/ii_files/ for
8045 # template instantiation
8046 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8047 $RM out/* && rmdir out
8053 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8054 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8059 hard_links="nottested"
8060 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8061 # do not overwrite the value of need_locks provided by the user
8062 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8063 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
8066 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8068 ln conftest.a conftest.b 2>&5 || hard_links=no
8069 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8070 { echo "$as_me:$LINENO: result: $hard_links" >&5
8071 echo "${ECHO_T}$hard_links" >&6; }
8072 if test "$hard_links" = no; then
8073 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8074 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8086 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8087 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
8090 allow_undefined_flag=
8091 always_export_symbols=no
8093 archive_expsym_cmds=
8094 compiler_needs_object=no
8095 enable_shared_with_static_runtimes=no
8096 export_dynamic_flag_spec=
8097 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8098 hardcode_automatic=no
8100 hardcode_direct_absolute=no
8101 hardcode_libdir_flag_spec=
8102 hardcode_libdir_flag_spec_ld=
8103 hardcode_libdir_separator=
8105 hardcode_shlibpath_var=unsupported
8107 link_all_deplibs=unknown
8110 old_archive_from_new_cmds=
8111 old_archive_from_expsyms_cmds=
8112 thread_safe_flag_spec=
8113 whole_archive_flag_spec=
8114 # include_expsyms should be a list of space-separated symbols to be *always*
8115 # included in the symbol list
8117 # exclude_expsyms can be an extended regexp of symbols to exclude
8118 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8119 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8120 # as well as any symbol that contains `d'.
8121 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8122 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8123 # platforms (ab)use it in PIC code, but their linkers get confused if
8124 # the symbol is explicitly referenced. Since portable code cannot
8125 # rely on this symbol name, it's probably fine to never include it in
8126 # preloaded symbol tables.
8127 # Exclude shared library initialization/finalization symbols.
8128 extract_expsyms_cmds=
8131 cygwin* | mingw* | pw32* | cegcc*)
8132 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8133 # When not using gcc, we currently assume that we are using
8134 # Microsoft Visual C++.
8135 if test "$GCC" != yes; then
8140 # we just hope/assume this is gcc and not c89 (= MSVC++)
8149 if test "$with_gnu_ld" = yes; then
8150 # If archive_cmds runs LD, not CC, wlarc should be empty
8153 # Set some defaults for GNU ld with shared library support. These
8154 # are reset later if shared libraries are not supported. Putting them
8155 # here allows them to be overridden if necessary.
8156 runpath_var=LD_RUN_PATH
8157 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8158 export_dynamic_flag_spec='${wl}--export-dynamic'
8159 # ancient GNU ld didn't support --whole-archive et. al.
8160 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8161 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8163 whole_archive_flag_spec=
8165 supports_anon_versioning=no
8166 case `$LD -v 2>&1` in
8167 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8168 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8169 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8170 *\ 2.11.*) ;; # other 2.11 versions
8171 *) supports_anon_versioning=yes ;;
8174 # See if GNU ld supports shared libraries.
8177 # On AIX/PPC, the GNU linker is very broken
8178 if test "$host_cpu" != ia64; then
8182 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8183 *** to be unable to reliably create shared libraries on AIX.
8184 *** Therefore, libtool is disabling shared libraries support. If you
8185 *** really care for shared libraries, you may want to modify your PATH
8186 *** so that a non-GNU linker is found, and then restart.
8195 # see comment about AmigaOS4 .so support
8196 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8197 archive_expsym_cmds=''
8200 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)'
8201 hardcode_libdir_flag_spec='-L$libdir'
8202 hardcode_minus_L=yes
8208 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8209 allow_undefined_flag=unsupported
8210 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8211 # support --undefined. This deserves some investigation. FIXME
8212 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8218 cygwin* | mingw* | pw32* | cegcc*)
8219 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8220 # as there is no search path for DLLs.
8221 hardcode_libdir_flag_spec='-L$libdir'
8222 allow_undefined_flag=unsupported
8223 always_export_symbols=no
8224 enable_shared_with_static_runtimes=yes
8225 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8227 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8228 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8229 # If the export-symbols file already is a .def file (1st line
8230 # is EXPORTS), use it as is; otherwise, prepend...
8231 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8232 cp $export_symbols $output_objdir/$soname.def;
8234 echo EXPORTS > $output_objdir/$soname.def;
8235 cat $export_symbols >> $output_objdir/$soname.def;
8237 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8245 hardcode_shlibpath_var=no
8246 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8247 export_dynamic_flag_spec='${wl}-E'
8248 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8249 # Instead, shared libraries are loaded at an image base (0x10000000 by
8250 # default) and relocated if they conflict, which is a slow very memory
8251 # consuming and fragmenting process. To avoid this, we pick a random,
8252 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8253 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8254 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8255 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'
8258 gnu* | linux* | tpf* | k*bsd*-gnu)
8260 if test "$host_os" = linux-dietlibc; then
8261 case $cc_basename in
8262 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8265 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8266 && test "$tmp_diet" = no
8269 tmp_sharedflag='-shared'
8270 case $cc_basename,$host_cpu in
8271 pgcc*) # Portland Group C compiler
8272 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'
8273 tmp_addflag=' $pic_flag'
8275 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8276 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'
8277 tmp_addflag=' $pic_flag -Mnomain' ;;
8278 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8279 tmp_addflag=' -i_dynamic' ;;
8280 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8281 tmp_addflag=' -i_dynamic -nofor_main' ;;
8282 ifc* | ifort*) # Intel Fortran compiler
8283 tmp_addflag=' -nofor_main' ;;
8284 lf95*) # Lahey Fortran 8.1
8285 whole_archive_flag_spec=
8286 tmp_sharedflag='--shared' ;;
8287 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8288 tmp_sharedflag='-qmkshrobj'
8291 case `$CC -V 2>&1 | sed 5q` in
8292 *Sun\ C*) # Sun C 5.9
8293 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'
8294 compiler_needs_object=yes
8295 tmp_sharedflag='-G' ;;
8296 *Sun\ F*) # Sun Fortran 8.3
8297 tmp_sharedflag='-G' ;;
8299 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8301 if test "x$supports_anon_versioning" = xyes; then
8302 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8303 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8304 echo "local: *; };" >> $output_objdir/$libname.ver~
8305 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8308 case $cc_basename in
8310 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8311 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8312 hardcode_libdir_flag_spec=
8313 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8314 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8315 if test "x$supports_anon_versioning" = xyes; then
8316 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8317 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8318 echo "local: *; };" >> $output_objdir/$libname.ver~
8319 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8328 netbsd* | netbsdelf*-gnu)
8329 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8330 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8333 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8334 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8339 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8343 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8344 *** create shared libraries on Solaris systems. Therefore, libtool
8345 *** is disabling shared libraries support. We urge you to upgrade GNU
8346 *** binutils to release 2.9.1 or newer. Another option is to modify
8347 *** your PATH or compiler configuration so that the native linker is
8348 *** used, and then restart.
8351 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8352 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8353 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8359 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8360 case `$LD -v 2>&1` in
8361 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8365 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8366 *** reliably create shared libraries on SCO systems. Therefore, libtool
8367 *** is disabling shared libraries support. We urge you to upgrade GNU
8368 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8369 *** your PATH or compiler configuration so that the native linker is
8370 *** used, and then restart.
8375 # For security reasons, it is highly recommended that you always
8376 # use absolute paths for naming shared libraries, and exclude the
8377 # DT_RUNPATH tag from executables and libraries. But doing so
8378 # requires that you compile everything twice, which is a pain.
8379 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8380 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8381 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8382 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8391 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8394 hardcode_shlibpath_var=no
8398 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8399 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8400 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8407 if test "$ld_shlibs" = no; then
8409 hardcode_libdir_flag_spec=
8410 export_dynamic_flag_spec=
8411 whole_archive_flag_spec=
8414 # PORTME fill in a description of your system's linker (not GNU ld)
8417 allow_undefined_flag=unsupported
8418 always_export_symbols=yes
8419 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'
8420 # Note: this linker hardcodes the directories in LIBPATH if there
8421 # are no directories specified by -L.
8422 hardcode_minus_L=yes
8423 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8424 # Neither direct hardcoding nor static linking is supported with a
8426 hardcode_direct=unsupported
8431 if test "$host_cpu" = ia64; then
8432 # On IA64, the linker does run time linking by default, so we don't
8433 # have to do anything special.
8434 aix_use_runtimelinking=no
8435 exp_sym_flag='-Bexport'
8438 # If we're using GNU nm, then we don't want the "-C" option.
8439 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8440 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8441 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'
8443 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'
8445 aix_use_runtimelinking=no
8447 # Test if we are trying to use run time linking or normal
8448 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8449 # need to do runtime linking.
8450 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8451 for ld_flag in $LDFLAGS; do
8452 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8453 aix_use_runtimelinking=yes
8460 exp_sym_flag='-bexport'
8461 no_entry_flag='-bnoentry'
8464 # When large executables or shared objects are built, AIX ld can
8465 # have problems creating the table of contents. If linking a library
8466 # or program results in "error TOC overflow" add -mminimal-toc to
8467 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8468 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8472 hardcode_direct_absolute=yes
8473 hardcode_libdir_separator=':'
8474 link_all_deplibs=yes
8475 file_list_spec='${wl}-f,'
8477 if test "$GCC" = yes; then
8478 case $host_os in aix4.[012]|aix4.[012].*)
8479 # We only want to do this on AIX 4.2 and lower, the check
8480 # below for broken collect2 doesn't work under 4.3+
8481 collect2name=`${CC} -print-prog-name=collect2`
8482 if test -f "$collect2name" &&
8483 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8485 # We have reworked collect2
8488 # We have old collect2
8489 hardcode_direct=unsupported
8490 # It fails to find uninstalled libraries when the uninstalled
8491 # path is not listed in the libpath. Setting hardcode_minus_L
8492 # to unsupported forces relinking
8493 hardcode_minus_L=yes
8494 hardcode_libdir_flag_spec='-L$libdir'
8495 hardcode_libdir_separator=
8499 shared_flag='-shared'
8500 if test "$aix_use_runtimelinking" = yes; then
8501 shared_flag="$shared_flag "'${wl}-G'
8506 if test "$host_cpu" = ia64; then
8507 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8508 # chokes on -Wl,-G. The following line is correct:
8511 if test "$aix_use_runtimelinking" = yes; then
8512 shared_flag='${wl}-G'
8514 shared_flag='${wl}-bM:SRE'
8519 export_dynamic_flag_spec='${wl}-bexpall'
8520 # It seems that -bexpall does not export symbols beginning with
8521 # underscore (_), so it is better to generate a list of symbols to export.
8522 always_export_symbols=yes
8523 if test "$aix_use_runtimelinking" = yes; then
8524 # Warning - without using the other runtime loading flags (-brtl),
8525 # -berok will link without error, but may produce a broken library.
8526 allow_undefined_flag='-berok'
8527 # Determine the default libpath from the value encoded in an
8529 cat >conftest.$ac_ext <<_ACEOF
8532 cat confdefs.h >>conftest.$ac_ext
8533 cat >>conftest.$ac_ext <<_ACEOF
8534 /* end confdefs.h. */
8544 rm -f conftest.$ac_objext conftest$ac_exeext
8545 if { (ac_try="$ac_link"
8547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8548 *) ac_try_echo=$ac_try;;
8550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8551 (eval "$ac_link") 2>conftest.er1
8553 grep -v '^ *+' conftest.er1 >conftest.err
8555 cat conftest.err >&5
8556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8557 (exit $ac_status); } && {
8558 test -z "$ac_c_werror_flag" ||
8559 test ! -s conftest.err
8560 } && test -s conftest$ac_exeext &&
8561 $as_test_x conftest$ac_exeext; then
8563 lt_aix_libpath_sed='
8564 /Import File Strings/,/^$/ {
8570 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8571 # Check for a 64-bit object if we didn't find anything.
8572 if test -z "$aix_libpath"; then
8573 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8576 echo "$as_me: failed program was:" >&5
8577 sed 's/^/| /' conftest.$ac_ext >&5
8582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8583 conftest$ac_exeext conftest.$ac_ext
8584 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8586 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8587 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"
8589 if test "$host_cpu" = ia64; then
8590 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8591 allow_undefined_flag="-z nodefs"
8592 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"
8594 # Determine the default libpath from the value encoded in an
8596 cat >conftest.$ac_ext <<_ACEOF
8599 cat confdefs.h >>conftest.$ac_ext
8600 cat >>conftest.$ac_ext <<_ACEOF
8601 /* end confdefs.h. */
8611 rm -f conftest.$ac_objext conftest$ac_exeext
8612 if { (ac_try="$ac_link"
8614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8615 *) ac_try_echo=$ac_try;;
8617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8618 (eval "$ac_link") 2>conftest.er1
8620 grep -v '^ *+' conftest.er1 >conftest.err
8622 cat conftest.err >&5
8623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8624 (exit $ac_status); } && {
8625 test -z "$ac_c_werror_flag" ||
8626 test ! -s conftest.err
8627 } && test -s conftest$ac_exeext &&
8628 $as_test_x conftest$ac_exeext; then
8630 lt_aix_libpath_sed='
8631 /Import File Strings/,/^$/ {
8637 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8638 # Check for a 64-bit object if we didn't find anything.
8639 if test -z "$aix_libpath"; then
8640 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8643 echo "$as_me: failed program was:" >&5
8644 sed 's/^/| /' conftest.$ac_ext >&5
8649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8650 conftest$ac_exeext conftest.$ac_ext
8651 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8653 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8654 # Warning - without using the other run time loading flags,
8655 # -berok will link without error, but may produce a broken library.
8656 no_undefined_flag=' ${wl}-bernotok'
8657 allow_undefined_flag=' ${wl}-berok'
8658 # Exported symbols can be pulled into shared objects from archives
8659 whole_archive_flag_spec='$convenience'
8660 archive_cmds_need_lc=yes
8661 # This is similar to how AIX traditionally builds its shared libraries.
8662 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'
8670 # see comment about AmigaOS4 .so support
8671 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8672 archive_expsym_cmds=''
8675 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)'
8676 hardcode_libdir_flag_spec='-L$libdir'
8677 hardcode_minus_L=yes
8683 export_dynamic_flag_spec=-rdynamic
8686 cygwin* | mingw* | pw32* | cegcc*)
8687 # When not using gcc, we currently assume that we are using
8688 # Microsoft Visual C++.
8689 # hardcode_libdir_flag_spec is actually meaningless, as there is
8690 # no search path for DLLs.
8691 hardcode_libdir_flag_spec=' '
8692 allow_undefined_flag=unsupported
8693 # Tell ltmain to make .lib files, not .a files.
8695 # Tell ltmain to make .dll files, not .so files.
8697 # FIXME: Setting linknames here is a bad hack.
8698 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8699 # The linker will automatically build a .lib file if we build a DLL.
8700 old_archive_from_new_cmds='true'
8701 # FIXME: Should let the user specify the lib program.
8702 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8703 fix_srcfile_path='`cygpath -w "$srcfile"`'
8704 enable_shared_with_static_runtimes=yes
8707 darwin* | rhapsody*)
8710 archive_cmds_need_lc=no
8712 hardcode_automatic=yes
8713 hardcode_shlibpath_var=unsupported
8714 whole_archive_flag_spec=''
8715 link_all_deplibs=yes
8716 allow_undefined_flag="$_lt_dar_allow_undefined"
8717 case $cc_basename in
8718 ifort*) _lt_dar_can_shared=yes ;;
8719 *) _lt_dar_can_shared=$GCC ;;
8721 if test "$_lt_dar_can_shared" = "yes"; then
8722 output_verbose_link_cmd=echo
8723 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8724 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8725 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}"
8726 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}"
8735 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8736 hardcode_libdir_flag_spec='-L$libdir'
8737 hardcode_shlibpath_var=no
8744 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8745 # support. Future versions do this automatically, but an explicit c++rt0.o
8746 # does not break anything, and helps significantly (at the cost of a little
8749 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8750 hardcode_libdir_flag_spec='-R$libdir'
8752 hardcode_shlibpath_var=no
8755 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8757 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8759 hardcode_minus_L=yes
8760 hardcode_shlibpath_var=no
8763 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8764 freebsd* | dragonfly*)
8765 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8766 hardcode_libdir_flag_spec='-R$libdir'
8768 hardcode_shlibpath_var=no
8772 if test "$GCC" = yes; then
8773 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'
8775 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'
8777 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8778 hardcode_libdir_separator=:
8781 # hardcode_minus_L: Not really in the search PATH,
8782 # but as the default location of the library.
8783 hardcode_minus_L=yes
8784 export_dynamic_flag_spec='${wl}-E'
8788 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8789 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8791 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8793 if test "$with_gnu_ld" = no; then
8794 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8795 hardcode_libdir_flag_spec_ld='+b $libdir'
8796 hardcode_libdir_separator=:
8798 hardcode_direct_absolute=yes
8799 export_dynamic_flag_spec='${wl}-E'
8800 # hardcode_minus_L: Not really in the search PATH,
8801 # but as the default location of the library.
8802 hardcode_minus_L=yes
8807 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8810 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8813 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8816 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8822 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8825 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8828 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8832 if test "$with_gnu_ld" = no; then
8833 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8834 hardcode_libdir_separator=:
8839 hardcode_shlibpath_var=no
8843 hardcode_direct_absolute=yes
8844 export_dynamic_flag_spec='${wl}-E'
8846 # hardcode_minus_L: Not really in the search PATH,
8847 # but as the default location of the library.
8848 hardcode_minus_L=yes
8854 irix5* | irix6* | nonstopux*)
8855 if test "$GCC" = yes; then
8856 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'
8857 # Try to use the -exported_symbol ld option, if it does not
8858 # work, assume that -exports_file does not work either and
8859 # implicitly export all symbols.
8860 save_LDFLAGS="$LDFLAGS"
8861 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8862 cat >conftest.$ac_ext <<_ACEOF
8865 rm -f conftest.$ac_objext conftest$ac_exeext
8866 if { (ac_try="$ac_link"
8868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8869 *) ac_try_echo=$ac_try;;
8871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8872 (eval "$ac_link") 2>conftest.er1
8874 grep -v '^ *+' conftest.er1 >conftest.err
8876 cat conftest.err >&5
8877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8878 (exit $ac_status); } && {
8879 test -z "$ac_c_werror_flag" ||
8880 test ! -s conftest.err
8881 } && test -s conftest$ac_exeext &&
8882 $as_test_x conftest$ac_exeext; then
8883 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'
8886 echo "$as_me: failed program was:" >&5
8887 sed 's/^/| /' conftest.$ac_ext >&5
8892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8893 conftest$ac_exeext conftest.$ac_ext
8894 LDFLAGS="$save_LDFLAGS"
8896 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'
8897 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'
8899 archive_cmds_need_lc='no'
8900 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8901 hardcode_libdir_separator=:
8903 link_all_deplibs=yes
8906 netbsd* | netbsdelf*-gnu)
8907 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8908 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8910 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8912 hardcode_libdir_flag_spec='-R$libdir'
8914 hardcode_shlibpath_var=no
8918 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8920 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8921 hardcode_libdir_separator=:
8922 hardcode_shlibpath_var=no
8929 if test -f /usr/libexec/ld.so; then
8931 hardcode_shlibpath_var=no
8932 hardcode_direct_absolute=yes
8933 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8934 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8935 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8936 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8937 export_dynamic_flag_spec='${wl}-E'
8940 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8941 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8942 hardcode_libdir_flag_spec='-R$libdir'
8945 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8946 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8956 hardcode_libdir_flag_spec='-L$libdir'
8957 hardcode_minus_L=yes
8958 allow_undefined_flag=unsupported
8959 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'
8960 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8964 if test "$GCC" = yes; then
8965 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8966 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'
8968 allow_undefined_flag=' -expect_unresolved \*'
8969 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'
8971 archive_cmds_need_lc='no'
8972 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8973 hardcode_libdir_separator=:
8976 osf4* | osf5*) # as osf3* with the addition of -msym flag
8977 if test "$GCC" = yes; then
8978 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8979 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'
8980 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8982 allow_undefined_flag=' -expect_unresolved \*'
8983 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'
8984 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~
8985 $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'
8987 # Both c and cxx compiler support -rpath directly
8988 hardcode_libdir_flag_spec='-rpath $libdir'
8990 archive_cmds_need_lc='no'
8991 hardcode_libdir_separator=:
8995 no_undefined_flag=' -z defs'
8996 if test "$GCC" = yes; then
8998 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8999 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9000 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9002 case `$CC -V 2>&1` in
9005 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9006 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9007 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9011 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9012 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9013 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9017 hardcode_libdir_flag_spec='-R$libdir'
9018 hardcode_shlibpath_var=no
9020 solaris2.[0-5] | solaris2.[0-5].*) ;;
9022 # The compiler driver will combine and reorder linker options,
9023 # but understands `-z linker_flag'. GCC discards it without `$wl',
9024 # but is careful enough not to reorder.
9025 # Supported since Solaris 2.6 (maybe 2.5.1?)
9026 if test "$GCC" = yes; then
9027 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9029 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9033 link_all_deplibs=yes
9037 if test "x$host_vendor" = xsequent; then
9038 # Use $CC to link under sequent, because it throws in some extra .o
9039 # files that make .init and .fini sections work.
9040 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9042 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9044 hardcode_libdir_flag_spec='-L$libdir'
9046 hardcode_minus_L=yes
9047 hardcode_shlibpath_var=no
9051 case $host_vendor in
9053 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9054 hardcode_direct=yes # is this really true???
9057 ## LD is ld it makes a PLAMLIB
9058 ## CC just makes a GrossModule.
9059 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9060 reload_cmds='$CC -r -o $output$reload_objs'
9064 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9065 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9068 runpath_var='LD_RUN_PATH'
9069 hardcode_shlibpath_var=no
9073 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9074 hardcode_shlibpath_var=no
9075 export_dynamic_flag_spec='-Bexport'
9079 if test -d /usr/nec; then
9080 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9081 hardcode_shlibpath_var=no
9082 runpath_var=LD_RUN_PATH
9083 hardcode_runpath_var=yes
9088 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9089 no_undefined_flag='${wl}-z,text'
9090 archive_cmds_need_lc=no
9091 hardcode_shlibpath_var=no
9092 runpath_var='LD_RUN_PATH'
9094 if test "$GCC" = yes; then
9095 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9096 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9098 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9099 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9103 sysv5* | sco3.2v5* | sco5v6*)
9104 # Note: We can NOT use -z defs as we might desire, because we do not
9105 # link with -lc, and that would cause any symbols used from libc to
9106 # always be unresolved, which means just about no library would
9107 # ever link correctly. If we're not using GNU ld we use -z text
9108 # though, which does catch some bad symbols but isn't as heavy-handed
9110 no_undefined_flag='${wl}-z,text'
9111 allow_undefined_flag='${wl}-z,nodefs'
9112 archive_cmds_need_lc=no
9113 hardcode_shlibpath_var=no
9114 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9115 hardcode_libdir_separator=':'
9116 link_all_deplibs=yes
9117 export_dynamic_flag_spec='${wl}-Bexport'
9118 runpath_var='LD_RUN_PATH'
9120 if test "$GCC" = yes; then
9121 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9122 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9124 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9125 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9130 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9131 hardcode_libdir_flag_spec='-L$libdir'
9132 hardcode_shlibpath_var=no
9140 if test x$host_vendor = xsni; then
9142 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9143 export_dynamic_flag_spec='${wl}-Blargedynsym'
9149 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9150 echo "${ECHO_T}$ld_shlibs" >&6; }
9151 test "$ld_shlibs" = no && can_build_shared=no
9153 with_gnu_ld=$with_gnu_ld
9170 # Do we need to explicitly link libc?
9172 case "x$archive_cmds_need_lc" in
9174 # Assume -lc should be added
9175 archive_cmds_need_lc=yes
9177 if test "$enable_shared" = yes && test "$GCC" = yes; then
9178 case $archive_cmds in
9180 # FIXME: we may have to deal with multi-command sequences.
9183 # Test whether the compiler implicitly links with -lc since on some
9184 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9185 # to ld, don't add -lc before -lgcc.
9186 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9187 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9189 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9192 (eval $ac_compile) 2>&5
9194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9195 (exit $ac_status); } 2>conftest.err; then
9198 libobjs=conftest.$ac_objext
9200 wl=$lt_prog_compiler_wl
9201 pic_flag=$lt_prog_compiler_pic
9207 lt_save_allow_undefined_flag=$allow_undefined_flag
9208 allow_undefined_flag=
9209 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9210 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9213 (exit $ac_status); }
9215 archive_cmds_need_lc=no
9217 archive_cmds_need_lc=yes
9219 allow_undefined_flag=$lt_save_allow_undefined_flag
9221 cat conftest.err 1>&5
9224 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9225 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9388 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9389 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9391 if test "$GCC" = yes; then
9393 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9394 *) lt_awk_arg="/^libraries:/" ;;
9396 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9397 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9398 # if the path contains ";" then we assume it to be the separator
9399 # otherwise default to the standard path separator (i.e. ":") - it is
9400 # assumed that no part of a normal pathname contains ";" but that should
9401 # okay in the real world where ";" in dirpaths is itself problematic.
9402 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9404 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9406 # Ok, now we have the path, separated by spaces, we can step through it
9407 # and add multilib dir if necessary.
9408 lt_tmp_lt_search_path_spec=
9409 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9410 for lt_sys_path in $lt_search_path_spec; do
9411 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9412 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9414 test -d "$lt_sys_path" && \
9415 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9418 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9419 BEGIN {RS=" "; FS="/|\n";} {
9422 for (lt_i = NF; lt_i > 0; lt_i--) {
9423 if ($lt_i != "" && $lt_i != ".") {
9424 if ($lt_i == "..") {
9427 if (lt_count == 0) {
9428 lt_foo="/" $lt_i lt_foo;
9435 if (lt_foo != "") { lt_freq[lt_foo]++; }
9436 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9438 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9440 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9443 libname_spec='lib$name'
9451 shlibpath_overrides_runpath=unknown
9453 dynamic_linker="$host_os ld.so"
9454 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9455 need_lib_prefix=unknown
9456 hardcode_into_libs=no
9458 # when you set need_version to no, make sure it does not cause -set_version
9459 # flags to be left without arguments
9460 need_version=unknown
9465 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9466 shlibpath_var=LIBPATH
9468 # AIX 3 has no versioning support, so we append a major version to the name.
9469 soname_spec='${libname}${release}${shared_ext}$major'
9476 hardcode_into_libs=yes
9477 if test "$host_cpu" = ia64; then
9478 # AIX 5 supports IA64
9479 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9480 shlibpath_var=LD_LIBRARY_PATH
9482 # With GCC up to 2.95.x, collect2 would create an import file
9483 # for dependence libraries. The import file would start with
9484 # the line `#! .'. This would cause the generated library to
9485 # depend on `.', always an invalid library. This was fixed in
9486 # development snapshots of GCC prior to 3.0.
9488 aix4 | aix4.[01] | aix4.[01].*)
9489 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9491 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9498 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9499 # soname into executable. Probably we can add versioning support to
9500 # collect2, so additional links can be useful in future.
9501 if test "$aix_use_runtimelinking" = yes; then
9502 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9503 # instead of lib<name>.a to let people know that these are not
9504 # typical AIX shared libraries.
9505 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9507 # We preserve .a as extension for shared libraries through AIX4.2
9508 # and later when we are not doing run time linking.
9509 library_names_spec='${libname}${release}.a $libname.a'
9510 soname_spec='${libname}${release}${shared_ext}$major'
9512 shlibpath_var=LIBPATH
9519 # Since July 2007 AmigaOS4 officially supports .so libraries.
9520 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9521 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9524 library_names_spec='$libname.ixlibrary $libname.a'
9525 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9526 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'
9532 library_names_spec='${libname}${shared_ext}'
9533 dynamic_linker="$host_os ld.so"
9534 shlibpath_var=LIBRARY_PATH
9540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9541 soname_spec='${libname}${release}${shared_ext}$major'
9542 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9543 shlibpath_var=LD_LIBRARY_PATH
9544 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9545 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9546 # the default ld.so.conf also contains /usr/contrib/lib and
9547 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9548 # libtool to hard-code these into programs
9551 cygwin* | mingw* | pw32* | cegcc*)
9552 version_type=windows
9557 case $GCC,$host_os in
9558 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9559 library_names_spec='$libname.dll.a'
9560 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9561 postinstall_cmds='base_file=`basename \${file}`~
9562 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9563 dldir=$destdir/`dirname \$dlpath`~
9564 test -d \$dldir || mkdir -p \$dldir~
9565 $install_prog $dir/$dlname \$dldir/$dlname~
9566 chmod a+x \$dldir/$dlname~
9567 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9568 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9570 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9571 dlpath=$dir/\$dldll~
9573 shlibpath_overrides_runpath=yes
9577 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9578 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9579 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9582 # MinGW DLLs use traditional 'lib' prefix
9583 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9584 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9585 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9586 # It is most probably a Windows format PATH printed by
9587 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9588 # path with ; separators, and with drive letters. We can handle the
9589 # drive letters (cygwin fileutils understands them), so leave them,
9590 # especially as we might pass files found there to a mingw objdump,
9591 # which wouldn't understand a cygwinified path. Ahh.
9592 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9594 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9598 # pw32 DLLs use 'pw' prefix rather than 'lib'
9599 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9605 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9608 dynamic_linker='Win32 ld.exe'
9609 # FIXME: first we should search . and the directory the executable is in
9613 darwin* | rhapsody*)
9614 dynamic_linker="$host_os dyld"
9618 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9619 soname_spec='${libname}${release}${major}$shared_ext'
9620 shlibpath_overrides_runpath=yes
9621 shlibpath_var=DYLD_LIBRARY_PATH
9622 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9624 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9625 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9632 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9633 soname_spec='${libname}${release}${shared_ext}$major'
9634 shlibpath_var=LD_LIBRARY_PATH
9641 freebsd* | dragonfly*)
9642 # DragonFly does not have aout. When/if they implement a new
9643 # versioning mechanism, adjust this.
9644 if test -x /usr/bin/objformat; then
9645 objformat=`/usr/bin/objformat`
9648 freebsd[123]*) objformat=aout ;;
9652 version_type=freebsd-$objformat
9653 case $version_type in
9655 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9660 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9664 shlibpath_var=LD_LIBRARY_PATH
9667 shlibpath_overrides_runpath=yes
9669 freebsd3.[01]* | freebsdelf3.[01]*)
9670 shlibpath_overrides_runpath=yes
9671 hardcode_into_libs=yes
9673 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9674 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9675 shlibpath_overrides_runpath=no
9676 hardcode_into_libs=yes
9678 *) # from 4.6 on, and DragonFly
9679 shlibpath_overrides_runpath=yes
9680 hardcode_into_libs=yes
9689 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9690 soname_spec='${libname}${release}${shared_ext}$major'
9691 shlibpath_var=LD_LIBRARY_PATH
9692 hardcode_into_libs=yes
9695 hpux9* | hpux10* | hpux11*)
9696 # Give a soname corresponding to the major version so that dld.sl refuses to
9697 # link against other versions.
9704 hardcode_into_libs=yes
9705 dynamic_linker="$host_os dld.so"
9706 shlibpath_var=LD_LIBRARY_PATH
9707 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9708 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9709 soname_spec='${libname}${release}${shared_ext}$major'
9710 if test "X$HPUX_IA64_MODE" = X32; then
9711 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9713 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9715 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9719 hardcode_into_libs=yes
9720 dynamic_linker="$host_os dld.sl"
9721 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9722 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9723 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9724 soname_spec='${libname}${release}${shared_ext}$major'
9725 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9726 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9730 dynamic_linker="$host_os dld.sl"
9731 shlibpath_var=SHLIB_PATH
9732 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9734 soname_spec='${libname}${release}${shared_ext}$major'
9737 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9738 postinstall_cmds='chmod 555 $lib'
9745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9746 soname_spec='${libname}${release}${shared_ext}$major'
9747 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9748 shlibpath_var=LD_LIBRARY_PATH
9749 shlibpath_overrides_runpath=no
9750 hardcode_into_libs=yes
9753 irix5* | irix6* | nonstopux*)
9755 nonstopux*) version_type=nonstopux ;;
9757 if test "$lt_cv_prog_gnu_ld" = yes; then
9765 soname_spec='${libname}${release}${shared_ext}$major'
9766 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9768 irix5* | nonstopux*)
9772 case $LD in # libtool.m4 will add one of these switches to LD
9773 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9774 libsuff= shlibsuff= libmagic=32-bit;;
9775 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9776 libsuff=32 shlibsuff=N32 libmagic=N32;;
9777 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9778 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9779 *) libsuff= shlibsuff= libmagic=never-match;;
9783 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9784 shlibpath_overrides_runpath=no
9785 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9786 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9787 hardcode_into_libs=yes
9790 # No shared lib support for Linux oldld, aout, or coff.
9791 linux*oldld* | linux*aout* | linux*coff*)
9795 # This must be Linux ELF.
9796 linux* | k*bsd*-gnu)
9800 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9801 soname_spec='${libname}${release}${shared_ext}$major'
9802 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9803 shlibpath_var=LD_LIBRARY_PATH
9804 shlibpath_overrides_runpath=no
9805 # Some binutils ld are patched to set DT_RUNPATH
9806 save_LDFLAGS=$LDFLAGS
9808 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9809 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9810 cat >conftest.$ac_ext <<_ACEOF
9813 cat confdefs.h >>conftest.$ac_ext
9814 cat >>conftest.$ac_ext <<_ACEOF
9815 /* end confdefs.h. */
9825 rm -f conftest.$ac_objext conftest$ac_exeext
9826 if { (ac_try="$ac_link"
9828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9829 *) ac_try_echo=$ac_try;;
9831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9832 (eval "$ac_link") 2>conftest.er1
9834 grep -v '^ *+' conftest.er1 >conftest.err
9836 cat conftest.err >&5
9837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9838 (exit $ac_status); } && {
9839 test -z "$ac_c_werror_flag" ||
9840 test ! -s conftest.err
9841 } && test -s conftest$ac_exeext &&
9842 $as_test_x conftest$ac_exeext; then
9843 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9844 shlibpath_overrides_runpath=yes
9848 echo "$as_me: failed program was:" >&5
9849 sed 's/^/| /' conftest.$ac_ext >&5
9854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9855 conftest$ac_exeext conftest.$ac_ext
9856 LDFLAGS=$save_LDFLAGS
9859 # This implies no fast_install, which is unacceptable.
9860 # Some rework will be needed to allow for fast_install
9861 # before this can be enabled.
9862 hardcode_into_libs=yes
9864 # Append ld.so.conf contents to the search path
9865 if test -f /etc/ld.so.conf; then
9866 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' ' '`
9867 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9870 # We used to test for /lib/ld.so.1 and disable shared libraries on
9871 # powerpc, because MkLinux only supported shared libraries with the
9872 # GNU dynamic linker. Since this was broken with cross compilers,
9873 # most powerpc-linux boxes support dynamic linking these days and
9874 # people can always --disable-shared, the test was removed, and we
9875 # assume the GNU/Linux dynamic linker is in use.
9876 dynamic_linker='GNU/Linux ld.so'
9883 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9884 soname_spec='${libname}${release}${shared_ext}$major'
9885 shlibpath_var=LD_LIBRARY_PATH
9886 shlibpath_overrides_runpath=no
9887 hardcode_into_libs=yes
9888 dynamic_linker='NetBSD ld.elf_so'
9895 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9897 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9898 dynamic_linker='NetBSD (a.out) ld.so'
9900 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9901 soname_spec='${libname}${release}${shared_ext}$major'
9902 dynamic_linker='NetBSD ld.elf_so'
9904 shlibpath_var=LD_LIBRARY_PATH
9905 shlibpath_overrides_runpath=yes
9906 hardcode_into_libs=yes
9911 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9912 shlibpath_var=LD_LIBRARY_PATH
9913 shlibpath_overrides_runpath=yes
9920 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9921 soname_spec='${libname}${release}${shared_ext}$major'
9922 shlibpath_var=LD_LIBRARY_PATH
9923 shlibpath_overrides_runpath=no
9924 hardcode_into_libs=yes
9925 dynamic_linker='ldqnx.so'
9930 sys_lib_dlsearch_path_spec="/usr/lib"
9932 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9934 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9935 *) need_version=no ;;
9937 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9938 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9939 shlibpath_var=LD_LIBRARY_PATH
9940 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9942 openbsd2.[89] | openbsd2.[89].*)
9943 shlibpath_overrides_runpath=no
9946 shlibpath_overrides_runpath=yes
9950 shlibpath_overrides_runpath=yes
9955 libname_spec='$name'
9958 library_names_spec='$libname${shared_ext} $libname.a'
9959 dynamic_linker='OS/2 ld.exe'
9960 shlibpath_var=LIBPATH
9963 osf3* | osf4* | osf5*)
9967 soname_spec='${libname}${release}${shared_ext}$major'
9968 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9969 shlibpath_var=LD_LIBRARY_PATH
9970 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9971 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9982 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9983 soname_spec='${libname}${release}${shared_ext}$major'
9984 shlibpath_var=LD_LIBRARY_PATH
9985 shlibpath_overrides_runpath=yes
9986 hardcode_into_libs=yes
9987 # ldd complains unless libraries are executable
9988 postinstall_cmds='chmod +x $lib'
9993 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9994 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9995 shlibpath_var=LD_LIBRARY_PATH
9996 shlibpath_overrides_runpath=yes
9997 if test "$with_gnu_ld" = yes; then
10005 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10006 soname_spec='${libname}${release}${shared_ext}$major'
10007 shlibpath_var=LD_LIBRARY_PATH
10008 case $host_vendor in
10010 shlibpath_overrides_runpath=no
10012 runpath_var=LD_RUN_PATH
10020 shlibpath_overrides_runpath=no
10021 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10027 if test -d /usr/nec ;then
10029 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10030 soname_spec='$libname${shared_ext}.$major'
10031 shlibpath_var=LD_LIBRARY_PATH
10035 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10036 version_type=freebsd-elf
10039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10040 soname_spec='${libname}${release}${shared_ext}$major'
10041 shlibpath_var=LD_LIBRARY_PATH
10042 shlibpath_overrides_runpath=yes
10043 hardcode_into_libs=yes
10044 if test "$with_gnu_ld" = yes; then
10045 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10047 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10050 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10054 sys_lib_dlsearch_path_spec='/usr/lib'
10058 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10062 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10063 shlibpath_var=LD_LIBRARY_PATH
10064 shlibpath_overrides_runpath=no
10065 hardcode_into_libs=yes
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'
10072 shlibpath_var=LD_LIBRARY_PATH
10079 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10080 echo "${ECHO_T}$dynamic_linker" >&6; }
10081 test "$dynamic_linker" = no && can_build_shared=no
10083 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10084 if test "$GCC" = yes; then
10085 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10088 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10089 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10091 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10092 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10181 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10182 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10184 if test -n "$hardcode_libdir_flag_spec" ||
10185 test -n "$runpath_var" ||
10186 test "X$hardcode_automatic" = "Xyes" ; then
10188 # We can hardcode non-existent directories.
10189 if test "$hardcode_direct" != no &&
10190 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10191 # have to relink, otherwise we might link with an installed library
10192 # when we should be linking with a yet-to-be-installed one
10193 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10194 test "$hardcode_minus_L" != no; then
10195 # Linking always hardcodes the temporary library directory.
10196 hardcode_action=relink
10198 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10199 hardcode_action=immediate
10202 # We cannot hardcode anything, or else we can only hardcode existing
10204 hardcode_action=unsupported
10206 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
10207 echo "${ECHO_T}$hardcode_action" >&6; }
10209 if test "$hardcode_action" = relink ||
10210 test "$inherit_rpath" = yes; then
10211 # Fast installation is not supported
10212 enable_fast_install=no
10213 elif test "$shlibpath_overrides_runpath" = yes ||
10214 test "$enable_shared" = no; then
10215 # Fast installation is not necessary
10216 enable_fast_install=needless
10224 if test "x$enable_dlopen" != xyes; then
10225 enable_dlopen=unknown
10226 enable_dlopen_self=unknown
10227 enable_dlopen_self_static=unknown
10234 lt_cv_dlopen="load_add_on"
10236 lt_cv_dlopen_self=yes
10239 mingw* | pw32* | cegcc*)
10240 lt_cv_dlopen="LoadLibrary"
10245 lt_cv_dlopen="dlopen"
10250 # if libdl is installed we need to link against it
10251 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10252 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10253 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10254 echo $ECHO_N "(cached) $ECHO_C" >&6
10256 ac_check_lib_save_LIBS=$LIBS
10258 cat >conftest.$ac_ext <<_ACEOF
10261 cat confdefs.h >>conftest.$ac_ext
10262 cat >>conftest.$ac_ext <<_ACEOF
10263 /* end confdefs.h. */
10265 /* Override any GCC internal prototype to avoid an error.
10266 Use char because int might match the return type of a GCC
10267 builtin and then its argument prototype would still apply. */
10280 rm -f conftest.$ac_objext conftest$ac_exeext
10281 if { (ac_try="$ac_link"
10282 case "(($ac_try" in
10283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10284 *) ac_try_echo=$ac_try;;
10286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10287 (eval "$ac_link") 2>conftest.er1
10289 grep -v '^ *+' conftest.er1 >conftest.err
10291 cat conftest.err >&5
10292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10293 (exit $ac_status); } && {
10294 test -z "$ac_c_werror_flag" ||
10295 test ! -s conftest.err
10296 } && test -s conftest$ac_exeext &&
10297 $as_test_x conftest$ac_exeext; then
10298 ac_cv_lib_dl_dlopen=yes
10300 echo "$as_me: failed program was:" >&5
10301 sed 's/^/| /' conftest.$ac_ext >&5
10303 ac_cv_lib_dl_dlopen=no
10306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10307 conftest$ac_exeext conftest.$ac_ext
10308 LIBS=$ac_check_lib_save_LIBS
10310 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10311 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10312 if test $ac_cv_lib_dl_dlopen = yes; then
10313 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10316 lt_cv_dlopen="dyld"
10318 lt_cv_dlopen_self=yes
10325 { echo "$as_me:$LINENO: checking for shl_load" >&5
10326 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10327 if test "${ac_cv_func_shl_load+set}" = set; then
10328 echo $ECHO_N "(cached) $ECHO_C" >&6
10330 cat >conftest.$ac_ext <<_ACEOF
10333 cat confdefs.h >>conftest.$ac_ext
10334 cat >>conftest.$ac_ext <<_ACEOF
10335 /* end confdefs.h. */
10336 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10338 #define shl_load innocuous_shl_load
10340 /* System header to define __stub macros and hopefully few prototypes,
10341 which can conflict with char shl_load (); below.
10342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10343 <limits.h> exists even on freestanding compilers. */
10346 # include <limits.h>
10348 # include <assert.h>
10353 /* Override any GCC internal prototype to avoid an error.
10354 Use char because int might match the return type of a GCC
10355 builtin and then its argument prototype would still apply. */
10360 /* The GNU C library defines this for functions which it implements
10361 to always fail with ENOSYS. Some functions are actually named
10362 something starting with __ and the normal name is an alias. */
10363 #if defined __stub_shl_load || defined __stub___shl_load
10370 return shl_load ();
10375 rm -f conftest.$ac_objext conftest$ac_exeext
10376 if { (ac_try="$ac_link"
10377 case "(($ac_try" in
10378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10379 *) ac_try_echo=$ac_try;;
10381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10382 (eval "$ac_link") 2>conftest.er1
10384 grep -v '^ *+' conftest.er1 >conftest.err
10386 cat conftest.err >&5
10387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10388 (exit $ac_status); } && {
10389 test -z "$ac_c_werror_flag" ||
10390 test ! -s conftest.err
10391 } && test -s conftest$ac_exeext &&
10392 $as_test_x conftest$ac_exeext; then
10393 ac_cv_func_shl_load=yes
10395 echo "$as_me: failed program was:" >&5
10396 sed 's/^/| /' conftest.$ac_ext >&5
10398 ac_cv_func_shl_load=no
10401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10402 conftest$ac_exeext conftest.$ac_ext
10404 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10405 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10406 if test $ac_cv_func_shl_load = yes; then
10407 lt_cv_dlopen="shl_load"
10409 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10410 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10411 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10412 echo $ECHO_N "(cached) $ECHO_C" >&6
10414 ac_check_lib_save_LIBS=$LIBS
10416 cat >conftest.$ac_ext <<_ACEOF
10419 cat confdefs.h >>conftest.$ac_ext
10420 cat >>conftest.$ac_ext <<_ACEOF
10421 /* end confdefs.h. */
10423 /* Override any GCC internal prototype to avoid an error.
10424 Use char because int might match the return type of a GCC
10425 builtin and then its argument prototype would still apply. */
10433 return shl_load ();
10438 rm -f conftest.$ac_objext conftest$ac_exeext
10439 if { (ac_try="$ac_link"
10440 case "(($ac_try" in
10441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10442 *) ac_try_echo=$ac_try;;
10444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10445 (eval "$ac_link") 2>conftest.er1
10447 grep -v '^ *+' conftest.er1 >conftest.err
10449 cat conftest.err >&5
10450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10451 (exit $ac_status); } && {
10452 test -z "$ac_c_werror_flag" ||
10453 test ! -s conftest.err
10454 } && test -s conftest$ac_exeext &&
10455 $as_test_x conftest$ac_exeext; then
10456 ac_cv_lib_dld_shl_load=yes
10458 echo "$as_me: failed program was:" >&5
10459 sed 's/^/| /' conftest.$ac_ext >&5
10461 ac_cv_lib_dld_shl_load=no
10464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10465 conftest$ac_exeext conftest.$ac_ext
10466 LIBS=$ac_check_lib_save_LIBS
10468 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10469 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10470 if test $ac_cv_lib_dld_shl_load = yes; then
10471 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10473 { echo "$as_me:$LINENO: checking for dlopen" >&5
10474 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10475 if test "${ac_cv_func_dlopen+set}" = set; then
10476 echo $ECHO_N "(cached) $ECHO_C" >&6
10478 cat >conftest.$ac_ext <<_ACEOF
10481 cat confdefs.h >>conftest.$ac_ext
10482 cat >>conftest.$ac_ext <<_ACEOF
10483 /* end confdefs.h. */
10484 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10486 #define dlopen innocuous_dlopen
10488 /* System header to define __stub macros and hopefully few prototypes,
10489 which can conflict with char dlopen (); below.
10490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10491 <limits.h> exists even on freestanding compilers. */
10494 # include <limits.h>
10496 # include <assert.h>
10501 /* Override any GCC internal prototype to avoid an error.
10502 Use char because int might match the return type of a GCC
10503 builtin and then its argument prototype would still apply. */
10508 /* The GNU C library defines this for functions which it implements
10509 to always fail with ENOSYS. Some functions are actually named
10510 something starting with __ and the normal name is an alias. */
10511 #if defined __stub_dlopen || defined __stub___dlopen
10523 rm -f conftest.$ac_objext conftest$ac_exeext
10524 if { (ac_try="$ac_link"
10525 case "(($ac_try" in
10526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10527 *) ac_try_echo=$ac_try;;
10529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10530 (eval "$ac_link") 2>conftest.er1
10532 grep -v '^ *+' conftest.er1 >conftest.err
10534 cat conftest.err >&5
10535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10536 (exit $ac_status); } && {
10537 test -z "$ac_c_werror_flag" ||
10538 test ! -s conftest.err
10539 } && test -s conftest$ac_exeext &&
10540 $as_test_x conftest$ac_exeext; then
10541 ac_cv_func_dlopen=yes
10543 echo "$as_me: failed program was:" >&5
10544 sed 's/^/| /' conftest.$ac_ext >&5
10546 ac_cv_func_dlopen=no
10549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10550 conftest$ac_exeext conftest.$ac_ext
10552 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10553 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10554 if test $ac_cv_func_dlopen = yes; then
10555 lt_cv_dlopen="dlopen"
10557 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10558 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10559 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10560 echo $ECHO_N "(cached) $ECHO_C" >&6
10562 ac_check_lib_save_LIBS=$LIBS
10564 cat >conftest.$ac_ext <<_ACEOF
10567 cat confdefs.h >>conftest.$ac_ext
10568 cat >>conftest.$ac_ext <<_ACEOF
10569 /* end confdefs.h. */
10571 /* Override any GCC internal prototype to avoid an error.
10572 Use char because int might match the return type of a GCC
10573 builtin and then its argument prototype would still apply. */
10586 rm -f conftest.$ac_objext conftest$ac_exeext
10587 if { (ac_try="$ac_link"
10588 case "(($ac_try" in
10589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10590 *) ac_try_echo=$ac_try;;
10592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10593 (eval "$ac_link") 2>conftest.er1
10595 grep -v '^ *+' conftest.er1 >conftest.err
10597 cat conftest.err >&5
10598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10599 (exit $ac_status); } && {
10600 test -z "$ac_c_werror_flag" ||
10601 test ! -s conftest.err
10602 } && test -s conftest$ac_exeext &&
10603 $as_test_x conftest$ac_exeext; then
10604 ac_cv_lib_dl_dlopen=yes
10606 echo "$as_me: failed program was:" >&5
10607 sed 's/^/| /' conftest.$ac_ext >&5
10609 ac_cv_lib_dl_dlopen=no
10612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10613 conftest$ac_exeext conftest.$ac_ext
10614 LIBS=$ac_check_lib_save_LIBS
10616 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10617 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10618 if test $ac_cv_lib_dl_dlopen = yes; then
10619 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10621 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10622 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10623 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10624 echo $ECHO_N "(cached) $ECHO_C" >&6
10626 ac_check_lib_save_LIBS=$LIBS
10627 LIBS="-lsvld $LIBS"
10628 cat >conftest.$ac_ext <<_ACEOF
10631 cat confdefs.h >>conftest.$ac_ext
10632 cat >>conftest.$ac_ext <<_ACEOF
10633 /* end confdefs.h. */
10635 /* Override any GCC internal prototype to avoid an error.
10636 Use char because int might match the return type of a GCC
10637 builtin and then its argument prototype would still apply. */
10650 rm -f conftest.$ac_objext conftest$ac_exeext
10651 if { (ac_try="$ac_link"
10652 case "(($ac_try" in
10653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10654 *) ac_try_echo=$ac_try;;
10656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10657 (eval "$ac_link") 2>conftest.er1
10659 grep -v '^ *+' conftest.er1 >conftest.err
10661 cat conftest.err >&5
10662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10663 (exit $ac_status); } && {
10664 test -z "$ac_c_werror_flag" ||
10665 test ! -s conftest.err
10666 } && test -s conftest$ac_exeext &&
10667 $as_test_x conftest$ac_exeext; then
10668 ac_cv_lib_svld_dlopen=yes
10670 echo "$as_me: failed program was:" >&5
10671 sed 's/^/| /' conftest.$ac_ext >&5
10673 ac_cv_lib_svld_dlopen=no
10676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10677 conftest$ac_exeext conftest.$ac_ext
10678 LIBS=$ac_check_lib_save_LIBS
10680 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10681 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10682 if test $ac_cv_lib_svld_dlopen = yes; then
10683 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10685 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10686 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10687 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10688 echo $ECHO_N "(cached) $ECHO_C" >&6
10690 ac_check_lib_save_LIBS=$LIBS
10692 cat >conftest.$ac_ext <<_ACEOF
10695 cat confdefs.h >>conftest.$ac_ext
10696 cat >>conftest.$ac_ext <<_ACEOF
10697 /* end confdefs.h. */
10699 /* Override any GCC internal prototype to avoid an error.
10700 Use char because int might match the return type of a GCC
10701 builtin and then its argument prototype would still apply. */
10709 return dld_link ();
10714 rm -f conftest.$ac_objext conftest$ac_exeext
10715 if { (ac_try="$ac_link"
10716 case "(($ac_try" in
10717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10718 *) ac_try_echo=$ac_try;;
10720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10721 (eval "$ac_link") 2>conftest.er1
10723 grep -v '^ *+' conftest.er1 >conftest.err
10725 cat conftest.err >&5
10726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10727 (exit $ac_status); } && {
10728 test -z "$ac_c_werror_flag" ||
10729 test ! -s conftest.err
10730 } && test -s conftest$ac_exeext &&
10731 $as_test_x conftest$ac_exeext; then
10732 ac_cv_lib_dld_dld_link=yes
10734 echo "$as_me: failed program was:" >&5
10735 sed 's/^/| /' conftest.$ac_ext >&5
10737 ac_cv_lib_dld_dld_link=no
10740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10741 conftest$ac_exeext conftest.$ac_ext
10742 LIBS=$ac_check_lib_save_LIBS
10744 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10745 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10746 if test $ac_cv_lib_dld_dld_link = yes; then
10747 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10768 if test "x$lt_cv_dlopen" != xno; then
10774 case $lt_cv_dlopen in
10776 save_CPPFLAGS="$CPPFLAGS"
10777 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10779 save_LDFLAGS="$LDFLAGS"
10780 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10783 LIBS="$lt_cv_dlopen_libs $LIBS"
10785 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10786 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10787 if test "${lt_cv_dlopen_self+set}" = set; then
10788 echo $ECHO_N "(cached) $ECHO_C" >&6
10790 if test "$cross_compiling" = yes; then :
10791 lt_cv_dlopen_self=cross
10793 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10794 lt_status=$lt_dlunknown
10795 cat > conftest.$ac_ext <<_LT_EOF
10796 #line 10796 "configure"
10797 #include "confdefs.h"
10806 # define LT_DLGLOBAL RTLD_GLOBAL
10809 # define LT_DLGLOBAL DL_GLOBAL
10811 # define LT_DLGLOBAL 0
10815 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10816 find out it does not work in some platform. */
10817 #ifndef LT_DLLAZY_OR_NOW
10819 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10822 # define LT_DLLAZY_OR_NOW DL_LAZY
10825 # define LT_DLLAZY_OR_NOW RTLD_NOW
10828 # define LT_DLLAZY_OR_NOW DL_NOW
10830 # define LT_DLLAZY_OR_NOW 0
10837 void fnord() { int i=42;}
10840 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10841 int status = $lt_dlunknown;
10845 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10846 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10847 /* dlclose (self); */
10855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10856 (eval $ac_link) 2>&5
10858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10859 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10860 (./conftest; exit; ) >&5 2>/dev/null
10862 case x$lt_status in
10863 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10864 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10865 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10868 # compilation failed
10869 lt_cv_dlopen_self=no
10876 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10877 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10879 if test "x$lt_cv_dlopen_self" = xyes; then
10880 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10881 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10882 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10883 if test "${lt_cv_dlopen_self_static+set}" = set; then
10884 echo $ECHO_N "(cached) $ECHO_C" >&6
10886 if test "$cross_compiling" = yes; then :
10887 lt_cv_dlopen_self_static=cross
10889 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10890 lt_status=$lt_dlunknown
10891 cat > conftest.$ac_ext <<_LT_EOF
10892 #line 10892 "configure"
10893 #include "confdefs.h"
10902 # define LT_DLGLOBAL RTLD_GLOBAL
10905 # define LT_DLGLOBAL DL_GLOBAL
10907 # define LT_DLGLOBAL 0
10911 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10912 find out it does not work in some platform. */
10913 #ifndef LT_DLLAZY_OR_NOW
10915 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10918 # define LT_DLLAZY_OR_NOW DL_LAZY
10921 # define LT_DLLAZY_OR_NOW RTLD_NOW
10924 # define LT_DLLAZY_OR_NOW DL_NOW
10926 # define LT_DLLAZY_OR_NOW 0
10933 void fnord() { int i=42;}
10936 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10937 int status = $lt_dlunknown;
10941 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10942 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10943 /* dlclose (self); */
10951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10952 (eval $ac_link) 2>&5
10954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10955 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10956 (./conftest; exit; ) >&5 2>/dev/null
10958 case x$lt_status in
10959 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10960 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10961 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10964 # compilation failed
10965 lt_cv_dlopen_self_static=no
10972 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10973 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10976 CPPFLAGS="$save_CPPFLAGS"
10977 LDFLAGS="$save_LDFLAGS"
10982 case $lt_cv_dlopen_self in
10983 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10984 *) enable_dlopen_self=unknown ;;
10987 case $lt_cv_dlopen_self_static in
10988 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10989 *) enable_dlopen_self_static=unknown ;;
11011 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11012 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
11013 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11014 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11015 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11016 { echo "$as_me:$LINENO: result: yes" >&5
11017 echo "${ECHO_T}yes" >&6; }
11019 # FIXME - insert some real tests, host_os isn't really good enough
11022 if test -n "$STRIP" ; then
11023 striplib="$STRIP -x"
11024 old_striplib="$STRIP -S"
11025 { echo "$as_me:$LINENO: result: yes" >&5
11026 echo "${ECHO_T}yes" >&6; }
11028 { echo "$as_me:$LINENO: result: no" >&5
11029 echo "${ECHO_T}no" >&6; }
11033 { echo "$as_me:$LINENO: result: no" >&5
11034 echo "${ECHO_T}no" >&6; }
11050 # Report which library types will actually be built
11051 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11052 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11053 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
11054 echo "${ECHO_T}$can_build_shared" >&6; }
11056 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11057 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11058 test "$can_build_shared" = "no" && enable_shared=no
11060 # On AIX, shared libraries and static libraries use the same namespace, and
11061 # are all built from PIC.
11064 test "$enable_shared" = yes && enable_static=no
11065 if test -n "$RANLIB"; then
11066 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11067 postinstall_cmds='$RANLIB $lib'
11072 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11073 test "$enable_shared" = yes && enable_static=no
11077 { echo "$as_me:$LINENO: result: $enable_shared" >&5
11078 echo "${ECHO_T}$enable_shared" >&6; }
11080 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11081 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11082 # Make sure either enable_shared or enable_static is yes.
11083 test "$enable_shared" = yes || enable_static=yes
11084 { echo "$as_me:$LINENO: result: $enable_static" >&5
11085 echo "${ECHO_T}$enable_static" >&6; }
11092 ac_cpp='$CPP $CPPFLAGS'
11093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11111 ac_config_commands="$ac_config_commands libtool"
11116 # Only expand once:
11120 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11121 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
11122 if test "${ac_cv_header_stdc+set}" = set; then
11123 echo $ECHO_N "(cached) $ECHO_C" >&6
11125 cat >conftest.$ac_ext <<_ACEOF
11128 cat confdefs.h >>conftest.$ac_ext
11129 cat >>conftest.$ac_ext <<_ACEOF
11130 /* end confdefs.h. */
11131 #include <stdlib.h>
11132 #include <stdarg.h>
11133 #include <string.h>
11144 rm -f conftest.$ac_objext
11145 if { (ac_try="$ac_compile"
11146 case "(($ac_try" in
11147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11148 *) ac_try_echo=$ac_try;;
11150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11151 (eval "$ac_compile") 2>conftest.er1
11153 grep -v '^ *+' conftest.er1 >conftest.err
11155 cat conftest.err >&5
11156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11157 (exit $ac_status); } && {
11158 test -z "$ac_c_werror_flag" ||
11159 test ! -s conftest.err
11160 } && test -s conftest.$ac_objext; then
11161 ac_cv_header_stdc=yes
11163 echo "$as_me: failed program was:" >&5
11164 sed 's/^/| /' conftest.$ac_ext >&5
11166 ac_cv_header_stdc=no
11169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11171 if test $ac_cv_header_stdc = yes; then
11172 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11173 cat >conftest.$ac_ext <<_ACEOF
11176 cat confdefs.h >>conftest.$ac_ext
11177 cat >>conftest.$ac_ext <<_ACEOF
11178 /* end confdefs.h. */
11179 #include <string.h>
11182 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11183 $EGREP "memchr" >/dev/null 2>&1; then
11186 ac_cv_header_stdc=no
11192 if test $ac_cv_header_stdc = yes; then
11193 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11194 cat >conftest.$ac_ext <<_ACEOF
11197 cat confdefs.h >>conftest.$ac_ext
11198 cat >>conftest.$ac_ext <<_ACEOF
11199 /* end confdefs.h. */
11200 #include <stdlib.h>
11203 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11204 $EGREP "free" >/dev/null 2>&1; then
11207 ac_cv_header_stdc=no
11213 if test $ac_cv_header_stdc = yes; then
11214 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11215 if test "$cross_compiling" = yes; then
11218 cat >conftest.$ac_ext <<_ACEOF
11221 cat confdefs.h >>conftest.$ac_ext
11222 cat >>conftest.$ac_ext <<_ACEOF
11223 /* end confdefs.h. */
11225 #include <stdlib.h>
11226 #if ((' ' & 0x0FF) == 0x020)
11227 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11228 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11230 # define ISLOWER(c) \
11231 (('a' <= (c) && (c) <= 'i') \
11232 || ('j' <= (c) && (c) <= 'r') \
11233 || ('s' <= (c) && (c) <= 'z'))
11234 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11237 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11242 for (i = 0; i < 256; i++)
11243 if (XOR (islower (i), ISLOWER (i))
11244 || toupper (i) != TOUPPER (i))
11249 rm -f conftest$ac_exeext
11250 if { (ac_try="$ac_link"
11251 case "(($ac_try" in
11252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11253 *) ac_try_echo=$ac_try;;
11255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11256 (eval "$ac_link") 2>&5
11258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11259 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11260 { (case "(($ac_try" in
11261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11262 *) ac_try_echo=$ac_try;;
11264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11265 (eval "$ac_try") 2>&5
11267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11268 (exit $ac_status); }; }; then
11271 echo "$as_me: program exited with status $ac_status" >&5
11272 echo "$as_me: failed program was:" >&5
11273 sed 's/^/| /' conftest.$ac_ext >&5
11275 ( exit $ac_status )
11276 ac_cv_header_stdc=no
11278 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11284 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11285 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
11286 if test $ac_cv_header_stdc = yes; then
11288 cat >>confdefs.h <<\_ACEOF
11289 #define STDC_HEADERS 1
11294 ac_config_headers="$ac_config_headers include/config.h"
11297 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
11298 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
11299 if test "${ac_cv_c_const+set}" = set; then
11300 echo $ECHO_N "(cached) $ECHO_C" >&6
11302 cat >conftest.$ac_ext <<_ACEOF
11305 cat confdefs.h >>conftest.$ac_ext
11306 cat >>conftest.$ac_ext <<_ACEOF
11307 /* end confdefs.h. */
11312 /* FIXME: Include the comments suggested by Paul. */
11313 #ifndef __cplusplus
11314 /* Ultrix mips cc rejects this. */
11315 typedef int charset[2];
11317 /* SunOS 4.1.1 cc rejects this. */
11318 char const *const *pcpcc;
11320 /* NEC SVR4.0.2 mips cc rejects this. */
11321 struct point {int x, y;};
11322 static struct point const zero = {0,0};
11323 /* AIX XL C 1.02.0.0 rejects this.
11324 It does not let you subtract one const X* pointer from another in
11325 an arm of an if-expression whose if-part is not a constant
11327 const char *g = "string";
11328 pcpcc = &g + (g ? g-g : 0);
11329 /* HPUX 7.0 cc rejects these. */
11331 ppc = (char**) pcpcc;
11332 pcpcc = (char const *const *) ppc;
11333 { /* SCO 3.2v4 cc rejects this. */
11335 char const *s = 0 ? (char *) 0 : (char const *) 0;
11340 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11341 int x[] = {25, 17};
11342 const int *foo = &x[0];
11345 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11346 typedef const int *iptr;
11350 { /* AIX XL C 1.02.0.0 rejects this saying
11351 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11352 struct s { int j; const int *ap[3]; };
11353 struct s *b; b->j = 5;
11355 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11356 const int foo = 10;
11357 if (!foo) return 0;
11359 return !cs[0] && !zero.x;
11366 rm -f conftest.$ac_objext
11367 if { (ac_try="$ac_compile"
11368 case "(($ac_try" in
11369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11370 *) ac_try_echo=$ac_try;;
11372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11373 (eval "$ac_compile") 2>conftest.er1
11375 grep -v '^ *+' conftest.er1 >conftest.err
11377 cat conftest.err >&5
11378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11379 (exit $ac_status); } && {
11380 test -z "$ac_c_werror_flag" ||
11381 test ! -s conftest.err
11382 } && test -s conftest.$ac_objext; then
11385 echo "$as_me: failed program was:" >&5
11386 sed 's/^/| /' conftest.$ac_ext >&5
11391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11393 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
11394 echo "${ECHO_T}$ac_cv_c_const" >&6; }
11395 if test $ac_cv_c_const = no; then
11397 cat >>confdefs.h <<\_ACEOF
11403 { echo "$as_me:$LINENO: checking for inline" >&5
11404 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
11405 if test "${ac_cv_c_inline+set}" = set; then
11406 echo $ECHO_N "(cached) $ECHO_C" >&6
11409 for ac_kw in inline __inline__ __inline; do
11410 cat >conftest.$ac_ext <<_ACEOF
11413 cat confdefs.h >>conftest.$ac_ext
11414 cat >>conftest.$ac_ext <<_ACEOF
11415 /* end confdefs.h. */
11416 #ifndef __cplusplus
11418 static $ac_kw foo_t static_foo () {return 0; }
11419 $ac_kw foo_t foo () {return 0; }
11423 rm -f conftest.$ac_objext
11424 if { (ac_try="$ac_compile"
11425 case "(($ac_try" in
11426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11427 *) ac_try_echo=$ac_try;;
11429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11430 (eval "$ac_compile") 2>conftest.er1
11432 grep -v '^ *+' conftest.er1 >conftest.err
11434 cat conftest.err >&5
11435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11436 (exit $ac_status); } && {
11437 test -z "$ac_c_werror_flag" ||
11438 test ! -s conftest.err
11439 } && test -s conftest.$ac_objext; then
11440 ac_cv_c_inline=$ac_kw
11442 echo "$as_me: failed program was:" >&5
11443 sed 's/^/| /' conftest.$ac_ext >&5
11448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11449 test "$ac_cv_c_inline" != no && break
11453 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
11454 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
11457 case $ac_cv_c_inline in
11460 case $ac_cv_c_inline in
11462 *) ac_val=$ac_cv_c_inline;;
11464 cat >>confdefs.h <<_ACEOF
11465 #ifndef __cplusplus
11466 #define inline $ac_val
11472 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
11473 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
11474 if test "${ac_cv_header_time+set}" = set; then
11475 echo $ECHO_N "(cached) $ECHO_C" >&6
11477 cat >conftest.$ac_ext <<_ACEOF
11480 cat confdefs.h >>conftest.$ac_ext
11481 cat >>conftest.$ac_ext <<_ACEOF
11482 /* end confdefs.h. */
11483 #include <sys/types.h>
11484 #include <sys/time.h>
11490 if ((struct tm *) 0)
11496 rm -f conftest.$ac_objext
11497 if { (ac_try="$ac_compile"
11498 case "(($ac_try" in
11499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11500 *) ac_try_echo=$ac_try;;
11502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11503 (eval "$ac_compile") 2>conftest.er1
11505 grep -v '^ *+' conftest.er1 >conftest.err
11507 cat conftest.err >&5
11508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11509 (exit $ac_status); } && {
11510 test -z "$ac_c_werror_flag" ||
11511 test ! -s conftest.err
11512 } && test -s conftest.$ac_objext; then
11513 ac_cv_header_time=yes
11515 echo "$as_me: failed program was:" >&5
11516 sed 's/^/| /' conftest.$ac_ext >&5
11518 ac_cv_header_time=no
11521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11523 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
11524 echo "${ECHO_T}$ac_cv_header_time" >&6; }
11525 if test $ac_cv_header_time = yes; then
11527 cat >>confdefs.h <<\_ACEOF
11528 #define TIME_WITH_SYS_TIME 1
11534 SAVE_LIBRARY_VERSION
11537 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11541 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11542 if test -n "$ac_tool_prefix"; then
11543 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11544 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11545 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11547 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11548 echo $ECHO_N "(cached) $ECHO_C" >&6
11550 case $PKG_CONFIG in
11552 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11556 for as_dir in $PATH
11559 test -z "$as_dir" && as_dir=.
11560 for ac_exec_ext in '' $ac_executable_extensions; do
11561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11562 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11573 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11574 if test -n "$PKG_CONFIG"; then
11575 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11576 echo "${ECHO_T}$PKG_CONFIG" >&6; }
11578 { echo "$as_me:$LINENO: result: no" >&5
11579 echo "${ECHO_T}no" >&6; }
11584 if test -z "$ac_cv_path_PKG_CONFIG"; then
11585 ac_pt_PKG_CONFIG=$PKG_CONFIG
11586 # Extract the first word of "pkg-config", so it can be a program name with args.
11587 set dummy pkg-config; ac_word=$2
11588 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11590 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
11591 echo $ECHO_N "(cached) $ECHO_C" >&6
11593 case $ac_pt_PKG_CONFIG in
11595 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11599 for as_dir in $PATH
11602 test -z "$as_dir" && as_dir=.
11603 for ac_exec_ext in '' $ac_executable_extensions; do
11604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11605 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11616 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11617 if test -n "$ac_pt_PKG_CONFIG"; then
11618 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
11619 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
11621 { echo "$as_me:$LINENO: result: no" >&5
11622 echo "${ECHO_T}no" >&6; }
11625 if test "x$ac_pt_PKG_CONFIG" = x; then
11628 case $cross_compiling:$ac_tool_warned in
11630 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11631 whose name does not start with the host triplet. If you think this
11632 configuration is useful to you, please write to autoconf@gnu.org." >&5
11633 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11634 whose name does not start with the host triplet. If you think this
11635 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11636 ac_tool_warned=yes ;;
11638 PKG_CONFIG=$ac_pt_PKG_CONFIG
11641 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11645 if test -n "$PKG_CONFIG"; then
11646 _pkg_min_version=0.9.0
11647 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
11648 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
11649 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11650 { echo "$as_me:$LINENO: result: yes" >&5
11651 echo "${ECHO_T}yes" >&6; }
11653 { echo "$as_me:$LINENO: result: no" >&5
11654 echo "${ECHO_T}no" >&6; }
11661 { echo "$as_me:$LINENO: checking for ALSA" >&5
11662 echo $ECHO_N "checking for ALSA... $ECHO_C" >&6; }
11664 if test -n "$PKG_CONFIG"; then
11665 if test -n "$ALSA_CFLAGS"; then
11666 pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
11668 if test -n "$PKG_CONFIG" && \
11669 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa\"") >&5
11670 ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
11672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11673 (exit $ac_status); }; then
11674 pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa" 2>/dev/null`
11682 if test -n "$PKG_CONFIG"; then
11683 if test -n "$ALSA_LIBS"; then
11684 pkg_cv_ALSA_LIBS="$ALSA_LIBS"
11686 if test -n "$PKG_CONFIG" && \
11687 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa\"") >&5
11688 ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
11690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11691 (exit $ac_status); }; then
11692 pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa" 2>/dev/null`
11703 if test $pkg_failed = yes; then
11705 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11706 _pkg_short_errors_supported=yes
11708 _pkg_short_errors_supported=no
11710 if test $_pkg_short_errors_supported = yes; then
11711 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "alsa"`
11713 ALSA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "alsa"`
11715 # Put the nasty error message in config.log where it belongs
11716 echo "$ALSA_PKG_ERRORS" >&5
11718 { { echo "$as_me:$LINENO: error: Package requirements (alsa) were not met:
11722 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11723 installed software in a non-standard prefix.
11725 Alternatively, you may set the environment variables ALSA_CFLAGS
11726 and ALSA_LIBS to avoid the need to call pkg-config.
11727 See the pkg-config man page for more details.
11729 echo "$as_me: error: Package requirements (alsa) were not met:
11733 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11734 installed software in a non-standard prefix.
11736 Alternatively, you may set the environment variables ALSA_CFLAGS
11737 and ALSA_LIBS to avoid the need to call pkg-config.
11738 See the pkg-config man page for more details.
11740 { (exit 1); exit 1; }; }
11741 elif test $pkg_failed = untried; then
11742 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
11743 is in your PATH or set the PKG_CONFIG environment variable to the full
11744 path to pkg-config.
11746 Alternatively, you may set the environment variables ALSA_CFLAGS
11747 and ALSA_LIBS to avoid the need to call pkg-config.
11748 See the pkg-config man page for more details.
11750 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11751 See \`config.log' for more details." >&5
11752 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
11753 is in your PATH or set the PKG_CONFIG environment variable to the full
11754 path to pkg-config.
11756 Alternatively, you may set the environment variables ALSA_CFLAGS
11757 and ALSA_LIBS to avoid the need to call pkg-config.
11758 See the pkg-config man page for more details.
11760 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11761 See \`config.log' for more details." >&2;}
11762 { (exit 1); exit 1; }; }
11764 ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
11765 ALSA_LIBS=$pkg_cv_ALSA_LIBS
11766 { echo "$as_me:$LINENO: result: yes" >&5
11767 echo "${ECHO_T}yes" >&6; }
11772 # Check whether --with-configdir was given.
11773 if test "${with_configdir+set}" = set; then
11774 withval=$with_configdir; confdir="$withval"
11779 if test -z "$confdir"; then
11780 eval dir="$datadir"
11783 *) dir="$prefix/share"
11785 confdir="$dir/alsa"
11787 ALSA_CONFIG_DIR="$confdir"
11789 cat >>confdefs.h <<_ACEOF
11790 #define ALSA_CONFIG_DIR "$confdir"
11795 test "x$exec_prefix" = xNONE && exec_prefix=$prefix
11798 # Check whether --with-plugindir was given.
11799 if test "${with_plugindir+set}" = set; then
11800 withval=$with_plugindir; plugindir="$withval"
11805 if test -z "$plugindir"; then
11811 plugindir="$dir/$PACKAGE"
11814 cat >>confdefs.h <<_ACEOF
11815 #define ALSA_PLUGIN_DIR "$plugindir"
11818 ALSA_PLUGIN_DIR="$plugindir"
11821 { echo "$as_me:$LINENO: checking for versioned symbols" >&5
11822 echo $ECHO_N "checking for versioned symbols... $ECHO_C" >&6; }
11824 # Check whether --with-versioned was given.
11825 if test "${with_versioned+set}" = set; then
11826 withval=$with_versioned; versioned="$withval"
11831 if test "$versioned" = "yes"; then
11832 # it seems that GNU ld versions since 2.10 are not broken
11833 xres=`grep '^VERSION=' libtool | cut -d = -f 2 | cut -d \" -f 2`
11834 major=`echo $xres | cut -d . -f 1`
11835 minor=`echo $xres | cut -d . -f 2`
11837 if test $major -eq 1 -a $minor -gt 3; then
11840 if test $major -gt 1; then
11844 if test $pass -eq 1; then
11846 cat >>confdefs.h <<\_ACEOF
11847 #define VERSIONED_SYMBOLS
11850 { echo "$as_me:$LINENO: result: yes" >&5
11851 echo "${ECHO_T}yes" >&6; }
11853 { echo "$as_me:$LINENO: result: broken libtool - use libtool v1.4+; no versions" >&5
11854 echo "${ECHO_T}broken libtool - use libtool v1.4+; no versions" >&6; }
11857 { echo "$as_me:$LINENO: result: no" >&5
11858 echo "${ECHO_T}no" >&6; }
11860 if test x$versioned = xyes; then
11861 VERSIONED_SYMBOLS_TRUE=
11862 VERSIONED_SYMBOLS_FALSE='#'
11864 VERSIONED_SYMBOLS_TRUE='#'
11865 VERSIONED_SYMBOLS_FALSE=
11869 { echo "$as_me:$LINENO: checking for symbolic-functions" >&5
11870 echo $ECHO_N "checking for symbolic-functions... $ECHO_C" >&6; }
11871 # Check whether --enable-symbolic-functions was given.
11872 if test "${enable_symbolic_functions+set}" = set; then
11873 enableval=$enable_symbolic_functions; symfuncs="$enableval"
11878 if test "$symfuncs" = "yes"; then
11879 if ld --help | grep -q -- '-Bsymbolic-functions'; then
11880 { echo "$as_me:$LINENO: result: yes" >&5
11881 echo "${ECHO_T}yes" >&6; }
11883 { echo "$as_me:$LINENO: result: not supported by ld" >&5
11884 echo "${ECHO_T}not supported by ld" >&6; }
11888 { echo "$as_me:$LINENO: result: no" >&5
11889 echo "${ECHO_T}no" >&6; }
11891 if test x"$symfuncs" = xyes; then
11892 SYMBOLIC_FUNCTIONS_TRUE=
11893 SYMBOLIC_FUNCTIONS_FALSE='#'
11895 SYMBOLIC_FUNCTIONS_TRUE='#'
11896 SYMBOLIC_FUNCTIONS_FALSE=
11900 { echo "$as_me:$LINENO: checking for custom symbol prefixes" >&5
11901 echo $ECHO_N "checking for custom symbol prefixes... $ECHO_C" >&6; }
11903 echo "PREFIX=__USER_LABEL_PREFIX__" \
11904 | ${CPP-${CC-gcc} -E} - 2>&1 \
11905 | ${EGREP-grep} "^PREFIX=" \
11906 | ${SED-sed} "s:^PREFIX=::"`
11908 cat >>confdefs.h <<_ACEOF
11909 #define __SYMBOL_PREFIX "$SYMBOL_PREFIX"
11913 { echo "$as_me:$LINENO: result: $SYMBOL_PREFIX" >&5
11914 echo "${ECHO_T}$SYMBOL_PREFIX" >&6; }
11916 { echo "$as_me:$LINENO: checking for debug" >&5
11917 echo $ECHO_N "checking for debug... $ECHO_C" >&6; }
11919 # Check whether --with-debug was given.
11920 if test "${with_debug+set}" = set; then
11921 withval=$with_debug; debug="$withval"
11926 if test "$debug" = "yes"; then
11927 { echo "$as_me:$LINENO: result: yes" >&5
11928 echo "${ECHO_T}yes" >&6; }
11931 cat >>confdefs.h <<\_ACEOF
11935 { echo "$as_me:$LINENO: result: no" >&5
11936 echo "${ECHO_T}no" >&6; }
11939 if test "$debug" = "yes"; then
11940 { echo "$as_me:$LINENO: checking for debug assert" >&5
11941 echo $ECHO_N "checking for debug assert... $ECHO_C" >&6; }
11942 # Check whether --enable-debug-assert was given.
11943 if test "${enable_debug_assert+set}" = set; then
11944 enableval=$enable_debug_assert; debug_assert="$enableval"
11949 if test "$debug_assert" = "yes"; then
11950 { echo "$as_me:$LINENO: result: yes" >&5
11951 echo "${ECHO_T}yes" >&6; }
11953 cat >>confdefs.h <<\_ACEOF
11954 #define ALSA_DEBUG_ASSERT
11958 { echo "$as_me:$LINENO: result: no" >&5
11959 echo "${ECHO_T}no" >&6; }
11965 { echo "$as_me:$LINENO: checking for architecture" >&5
11966 echo $ECHO_N "checking for architecture... $ECHO_C" >&6; }
11969 { echo "$as_me:$LINENO: result: x86" >&5
11970 echo "${ECHO_T}x86" >&6; }
11973 { echo "$as_me:$LINENO: result: x86" >&5
11974 echo "${ECHO_T}x86" >&6; }
11977 { echo "$as_me:$LINENO: result: alpha" >&5
11978 echo "${ECHO_T}alpha" >&6; }
11981 { echo "$as_me:$LINENO: result: ppc" >&5
11982 echo "${ECHO_T}ppc" >&6; }
11983 CPPFLAGS="$CPPFLAGS -D__ppc__"
11986 { echo "$as_me:$LINENO: result: ia64" >&5
11987 echo "${ECHO_T}ia64" >&6; }
11988 CPPFLAGS="$CPPFLAGS -D__ia64__"
11991 { echo "$as_me:$LINENO: result: mips" >&5
11992 echo "${ECHO_T}mips" >&6; }
11993 CPPFLAGS="$CPPFLAGS -D__mips__"
11996 { echo "$as_me:$LINENO: result: arm" >&5
11997 echo "${ECHO_T}arm" >&6; }
11998 CPPFLAGS="$CPPFLAGS -D__arm__"
12001 { echo "$as_me:$LINENO: result: $host_cpu" >&5
12002 echo "${ECHO_T}$host_cpu" >&6; }
12003 echo "No atomic operations supported.."
12008 for ac_header in wordexp.h
12010 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12011 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12012 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12013 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12014 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12015 echo $ECHO_N "(cached) $ECHO_C" >&6
12017 ac_res=`eval echo '${'$as_ac_Header'}'`
12018 { echo "$as_me:$LINENO: result: $ac_res" >&5
12019 echo "${ECHO_T}$ac_res" >&6; }
12021 # Is the header compilable?
12022 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12023 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12024 cat >conftest.$ac_ext <<_ACEOF
12027 cat confdefs.h >>conftest.$ac_ext
12028 cat >>conftest.$ac_ext <<_ACEOF
12029 /* end confdefs.h. */
12030 $ac_includes_default
12031 #include <$ac_header>
12033 rm -f conftest.$ac_objext
12034 if { (ac_try="$ac_compile"
12035 case "(($ac_try" in
12036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12037 *) ac_try_echo=$ac_try;;
12039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12040 (eval "$ac_compile") 2>conftest.er1
12042 grep -v '^ *+' conftest.er1 >conftest.err
12044 cat conftest.err >&5
12045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12046 (exit $ac_status); } && {
12047 test -z "$ac_c_werror_flag" ||
12048 test ! -s conftest.err
12049 } && test -s conftest.$ac_objext; then
12050 ac_header_compiler=yes
12052 echo "$as_me: failed program was:" >&5
12053 sed 's/^/| /' conftest.$ac_ext >&5
12055 ac_header_compiler=no
12058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12059 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12060 echo "${ECHO_T}$ac_header_compiler" >&6; }
12062 # Is the header present?
12063 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12064 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12065 cat >conftest.$ac_ext <<_ACEOF
12068 cat confdefs.h >>conftest.$ac_ext
12069 cat >>conftest.$ac_ext <<_ACEOF
12070 /* end confdefs.h. */
12071 #include <$ac_header>
12073 if { (ac_try="$ac_cpp conftest.$ac_ext"
12074 case "(($ac_try" in
12075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12076 *) ac_try_echo=$ac_try;;
12078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12079 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12081 grep -v '^ *+' conftest.er1 >conftest.err
12083 cat conftest.err >&5
12084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12085 (exit $ac_status); } >/dev/null && {
12086 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12087 test ! -s conftest.err
12089 ac_header_preproc=yes
12091 echo "$as_me: failed program was:" >&5
12092 sed 's/^/| /' conftest.$ac_ext >&5
12094 ac_header_preproc=no
12097 rm -f conftest.err conftest.$ac_ext
12098 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12099 echo "${ECHO_T}$ac_header_preproc" >&6; }
12101 # So? What about this header?
12102 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12104 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12105 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12106 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12107 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12108 ac_header_preproc=yes
12111 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12112 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12113 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12114 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12115 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12116 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12117 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12118 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12119 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12120 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12121 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12122 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12126 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12127 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12128 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12129 echo $ECHO_N "(cached) $ECHO_C" >&6
12131 eval "$as_ac_Header=\$ac_header_preproc"
12133 ac_res=`eval echo '${'$as_ac_Header'}'`
12134 { echo "$as_me:$LINENO: result: $ac_res" >&5
12135 echo "${ECHO_T}$ac_res" >&6; }
12138 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12139 cat >>confdefs.h <<_ACEOF
12140 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12148 #if test ! -L "$srcdir"/include/alsa ; then
12149 # echo "Making a symlink include/alsa"
12150 # rm -f "$srcdir"/include/alsa
12151 # ln -sf . "$srcdir"/include/alsa
12154 ac_config_files="$ac_config_files Makefile include/Makefile src/Makefile examples/Makefile pkgconfig/Makefile pkgconfig/libascenario.pc"
12156 cat >confcache <<\_ACEOF
12157 # This file is a shell script that caches the results of configure
12158 # tests run on this system so they can be shared between configure
12159 # scripts and configure runs, see configure's option --config-cache.
12160 # It is not useful on other systems. If it contains results you don't
12161 # want to keep, you may remove or edit it.
12163 # config.status only pays attention to the cache file if you give it
12164 # the --recheck option to rerun configure.
12166 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12167 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12168 # following values.
12172 # The following way of writing the cache mishandles newlines in values,
12173 # but we know of no workaround that is simple, portable, and efficient.
12174 # So, we kill variables containing newlines.
12175 # Ultrix sh set writes to stderr and can't be redirected directly,
12176 # and sets the high bit in the cache file unless we assign to the vars.
12178 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12179 eval ac_val=\$$ac_var
12183 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12184 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12187 _ | IFS | as_nl) ;; #(
12188 *) $as_unset $ac_var ;;
12194 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12195 *${as_nl}ac_space=\ *)
12196 # `set' does not quote correctly, so add quotes (double-quote
12197 # substitution turns \\\\ into \\, and sed turns \\ into \).
12200 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12203 # `set' quotes correctly as required by POSIX, so do not add quotes.
12204 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12213 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12215 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12217 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12218 if test -w "$cache_file"; then
12219 test "x$cache_file" != "x/dev/null" &&
12220 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12221 echo "$as_me: updating cache $cache_file" >&6;}
12222 cat confcache >$cache_file
12224 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12225 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12230 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12231 # Let make expand exec_prefix.
12232 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12234 DEFS=-DHAVE_CONFIG_H
12238 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12239 # 1. Remove the extension, and $U if already installed.
12240 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12241 ac_i=`echo "$ac_i" | sed "$ac_script"`
12242 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12243 # will be set to the directory where LIBOBJS objects are built.
12244 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12245 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12247 LIBOBJS=$ac_libobjs
12249 LTLIBOBJS=$ac_ltlibobjs
12252 if test -z "${INSTALL_M4_TRUE}" && test -z "${INSTALL_M4_FALSE}"; then
12253 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_M4\" was never defined.
12254 Usually this means the macro was only invoked conditionally." >&5
12255 echo "$as_me: error: conditional \"INSTALL_M4\" was never defined.
12256 Usually this means the macro was only invoked conditionally." >&2;}
12257 { (exit 1); exit 1; }; }
12259 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12260 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12261 Usually this means the macro was only invoked conditionally." >&5
12262 echo "$as_me: error: conditional \"AMDEP\" was never defined.
12263 Usually this means the macro was only invoked conditionally." >&2;}
12264 { (exit 1); exit 1; }; }
12266 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12267 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12268 Usually this means the macro was only invoked conditionally." >&5
12269 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12270 Usually this means the macro was only invoked conditionally." >&2;}
12271 { (exit 1); exit 1; }; }
12273 if test -z "${VERSIONED_SYMBOLS_TRUE}" && test -z "${VERSIONED_SYMBOLS_FALSE}"; then
12274 { { echo "$as_me:$LINENO: error: conditional \"VERSIONED_SYMBOLS\" was never defined.
12275 Usually this means the macro was only invoked conditionally." >&5
12276 echo "$as_me: error: conditional \"VERSIONED_SYMBOLS\" was never defined.
12277 Usually this means the macro was only invoked conditionally." >&2;}
12278 { (exit 1); exit 1; }; }
12280 if test -z "${SYMBOLIC_FUNCTIONS_TRUE}" && test -z "${SYMBOLIC_FUNCTIONS_FALSE}"; then
12281 { { echo "$as_me:$LINENO: error: conditional \"SYMBOLIC_FUNCTIONS\" was never defined.
12282 Usually this means the macro was only invoked conditionally." >&5
12283 echo "$as_me: error: conditional \"SYMBOLIC_FUNCTIONS\" was never defined.
12284 Usually this means the macro was only invoked conditionally." >&2;}
12285 { (exit 1); exit 1; }; }
12288 : ${CONFIG_STATUS=./config.status}
12289 ac_clean_files_save=$ac_clean_files
12290 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12291 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12292 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12293 cat >$CONFIG_STATUS <<_ACEOF
12295 # Generated by $as_me.
12296 # Run this file to recreate the current configuration.
12297 # Compiler output produced by configure, useful for debugging
12298 # configure, is in config.log if it exists.
12301 ac_cs_recheck=false
12303 SHELL=\${CONFIG_SHELL-$SHELL}
12306 cat >>$CONFIG_STATUS <<\_ACEOF
12307 ## --------------------- ##
12308 ## M4sh Initialization. ##
12309 ## --------------------- ##
12311 # Be more Bourne compatible
12312 DUALCASE=1; export DUALCASE # for MKS sh
12313 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12316 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12317 # is contrary to our usage. Disable this feature.
12318 alias -g '${1+"$@"}'='"$@"'
12319 setopt NO_GLOB_SUBST
12321 case `(set -o) 2>/dev/null` in
12322 *posix*) set -o posix ;;
12331 # Avoid depending upon Character Ranges.
12332 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12333 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12334 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12335 as_cr_digits='0123456789'
12336 as_cr_alnum=$as_cr_Letters$as_cr_digits
12338 # The user is always right.
12339 if test "${PATH_SEPARATOR+set}" != set; then
12340 echo "#! /bin/sh" >conf$$.sh
12341 echo "exit 0" >>conf$$.sh
12343 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12351 # Support unset when possible.
12352 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12360 # We need space, tab and new line, in precisely that order. Quoting is
12361 # there to prevent editors from complaining about space-tab.
12362 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12363 # splitting by setting IFS to empty value.)
12368 # Find who we are. Look in the path if we contain no directory separator.
12370 *[\\/]* ) as_myself=$0 ;;
12371 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12372 for as_dir in $PATH
12375 test -z "$as_dir" && as_dir=.
12376 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12382 # We did not find ourselves, most probably we were run as `sh COMMAND'
12383 # in which case we are not to be found in the path.
12384 if test "x$as_myself" = x; then
12387 if test ! -f "$as_myself"; then
12388 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12389 { (exit 1); exit 1; }
12392 # Work around bugs in pre-3.0 UWIN ksh.
12393 for as_var in ENV MAIL MAILPATH
12394 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
12402 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12403 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12404 LC_TELEPHONE LC_TIME
12406 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12407 eval $as_var=C; export $as_var
12409 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
12413 # Required to use basename.
12414 if expr a : '\(a\)' >/dev/null 2>&1 &&
12415 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12421 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12422 as_basename=basename
12428 # Name of the executable.
12429 as_me=`$as_basename -- "$0" ||
12430 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12431 X"$0" : 'X\(//\)$' \| \
12432 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12434 sed '/^.*\/\([^/][^/]*\)\/*$/{
12453 as_lineno_1=$LINENO
12454 as_lineno_2=$LINENO
12455 test "x$as_lineno_1" != "x$as_lineno_2" &&
12456 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
12458 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12459 # uniformly replaced by the line number. The first 'sed' inserts a
12460 # line-number line after each line using $LINENO; the second 'sed'
12461 # does the real work. The second script uses 'N' to pair each
12462 # line-number line with the line containing $LINENO, and appends
12463 # trailing '-' during substitution so that $LINENO is not a special
12464 # case at line end.
12465 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12466 # scripts with optimization help from Paolo Bonzini. Blame Lee
12467 # E. McMahon (1931-1989) for sed's syntax. :-)
12479 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
12482 ' >$as_me.lineno &&
12483 chmod +x "$as_me.lineno" ||
12484 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
12485 { (exit 1); exit 1; }; }
12487 # Don't try to exec as it changes $[0], causing all sort of problems
12488 # (the dirname of $[0] is not the place where we might find the
12489 # original and so on. Autoconf is especially sensitive to this).
12490 . "./$as_me.lineno"
12491 # Exit status is that of the last command.
12496 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12502 ECHO_C= ECHO_N= ECHO_T=
12503 case `echo -n x` in
12505 case `echo 'x\c'` in
12506 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12513 if expr a : '\(a\)' >/dev/null 2>&1 &&
12514 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12520 rm -f conf$$ conf$$.exe conf$$.file
12521 if test -d conf$$.dir; then
12522 rm -f conf$$.dir/conf$$.file
12528 if ln -s conf$$.file conf$$ 2>/dev/null; then
12530 # ... but there are two gotchas:
12531 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12532 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12533 # In both cases, we have to default to `cp -p'.
12534 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12536 elif ln conf$$.file conf$$ 2>/dev/null; then
12541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12542 rmdir conf$$.dir 2>/dev/null
12544 if mkdir -p . 2>/dev/null; then
12547 test -d ./-p && rmdir ./-p
12551 if test -x / >/dev/null 2>&1; then
12552 as_test_x='test -x'
12554 if ls -dL / >/dev/null 2>&1; then
12561 if test -d "$1"; then
12567 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
12568 ???[sx]*):;;*)false;;esac;fi
12572 as_executable_p=$as_test_x
12574 # Sed expression to map a string onto a valid CPP name.
12575 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12577 # Sed expression to map a string onto a valid variable name.
12578 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12583 # Save the log message, to keep $[0] and so on meaningful, and to
12584 # report actual input values of CONFIG_FILES etc. instead of their
12585 # values after options handling.
12587 This file was extended by $as_me, which was
12588 generated by GNU Autoconf 2.61. Invocation command line was
12590 CONFIG_FILES = $CONFIG_FILES
12591 CONFIG_HEADERS = $CONFIG_HEADERS
12592 CONFIG_LINKS = $CONFIG_LINKS
12593 CONFIG_COMMANDS = $CONFIG_COMMANDS
12596 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12601 cat >>$CONFIG_STATUS <<_ACEOF
12602 # Files that config.status was made for.
12603 config_files="$ac_config_files"
12604 config_headers="$ac_config_headers"
12605 config_commands="$ac_config_commands"
12609 cat >>$CONFIG_STATUS <<\_ACEOF
12611 \`$as_me' instantiates files from templates according to the
12612 current configuration.
12614 Usage: $0 [OPTIONS] [FILE]...
12616 -h, --help print this help, then exit
12617 -V, --version print version number and configuration settings, then exit
12618 -q, --quiet do not print progress messages
12619 -d, --debug don't remove temporary files
12620 --recheck update $as_me by reconfiguring in the same conditions
12621 --file=FILE[:TEMPLATE]
12622 instantiate the configuration file FILE
12623 --header=FILE[:TEMPLATE]
12624 instantiate the configuration header FILE
12626 Configuration files:
12629 Configuration headers:
12632 Configuration commands:
12635 Report bugs to <bug-autoconf@gnu.org>."
12638 cat >>$CONFIG_STATUS <<_ACEOF
12641 configured by $0, generated by GNU Autoconf 2.61,
12642 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12644 Copyright (C) 2006 Free Software Foundation, Inc.
12645 This config.status script is free software; the Free Software Foundation
12646 gives unlimited permission to copy, distribute and modify it."
12654 cat >>$CONFIG_STATUS <<\_ACEOF
12655 # If no file are specified by the user, then we need to provide default
12656 # value. By we need to know if files were specified by the user.
12662 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12663 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12674 # Handling of the options.
12675 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12677 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12678 echo "$ac_cs_version"; exit ;;
12679 --debug | --debu | --deb | --de | --d | -d )
12681 --file | --fil | --fi | --f )
12683 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
12684 ac_need_defaults=false;;
12685 --header | --heade | --head | --hea )
12687 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
12688 ac_need_defaults=false;;
12690 # Conflict between --help and --header
12691 { echo "$as_me: error: ambiguous option: $1
12692 Try \`$0 --help' for more information." >&2
12693 { (exit 1); exit 1; }; };;
12694 --help | --hel | -h )
12695 echo "$ac_cs_usage"; exit ;;
12696 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12697 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12700 # This is an error.
12701 -*) { echo "$as_me: error: unrecognized option: $1
12702 Try \`$0 --help' for more information." >&2
12703 { (exit 1); exit 1; }; } ;;
12705 *) ac_config_targets="$ac_config_targets $1"
12706 ac_need_defaults=false ;;
12712 ac_configure_extra_args=
12714 if $ac_cs_silent; then
12716 ac_configure_extra_args="$ac_configure_extra_args --silent"
12720 cat >>$CONFIG_STATUS <<_ACEOF
12721 if \$ac_cs_recheck; then
12722 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12723 CONFIG_SHELL=$SHELL
12724 export CONFIG_SHELL
12725 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12729 cat >>$CONFIG_STATUS <<\_ACEOF
12733 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12734 ## Running $as_me. ##
12740 cat >>$CONFIG_STATUS <<_ACEOF
12744 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12747 # The HP-UX ksh and POSIX shell print the target directory to stdout
12748 # if CDPATH is set.
12749 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12751 sed_quote_subst='$sed_quote_subst'
12752 double_quote_subst='$double_quote_subst'
12753 delay_variable_subst='$delay_variable_subst'
12754 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12755 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12756 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12757 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12758 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12759 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12760 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12761 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12762 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12763 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12764 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12765 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12766 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12767 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12768 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12769 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12770 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12771 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12772 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12773 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12774 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12775 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12776 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12777 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12778 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12779 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12780 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12781 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12782 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
12783 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12784 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12785 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12786 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12787 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12788 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12789 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12790 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12791 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12792 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12793 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12794 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12795 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12796 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12797 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12798 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"`'
12799 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"`'
12800 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12801 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12802 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12803 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12804 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12805 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12806 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12807 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12808 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12809 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12810 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
12811 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
12812 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
12813 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
12814 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
12815 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12816 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12817 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12818 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12819 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12820 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12821 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12822 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12823 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12824 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12825 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12826 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12827 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12828 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12829 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12830 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12831 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12832 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12833 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12834 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
12835 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
12836 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
12837 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
12838 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12839 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
12840 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
12841 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
12842 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
12843 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
12844 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12845 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12846 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12847 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12848 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
12849 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
12850 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12851 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
12852 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
12853 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12854 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12855 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
12856 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12857 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
12858 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12859 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12860 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12861 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12862 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
12863 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
12864 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12865 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12866 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
12867 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
12868 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
12869 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
12870 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
12871 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
12874 LTCFLAGS='$LTCFLAGS'
12875 compiler='$compiler_DEFAULT'
12877 # Quote evaled strings.
12889 deplibs_check_method \
12898 lt_cv_sys_global_symbol_pipe \
12899 lt_cv_sys_global_symbol_to_cdecl \
12900 lt_cv_sys_global_symbol_to_c_name_address \
12901 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12904 lt_prog_compiler_no_builtin_flag \
12905 lt_prog_compiler_wl \
12906 lt_prog_compiler_pic \
12907 lt_prog_compiler_static \
12908 lt_cv_prog_compiler_c_o \
12916 export_dynamic_flag_spec \
12917 whole_archive_flag_spec \
12918 compiler_needs_object \
12920 allow_undefined_flag \
12921 no_undefined_flag \
12922 hardcode_libdir_flag_spec \
12923 hardcode_libdir_flag_spec_ld \
12924 hardcode_libdir_separator \
12929 variables_saved_for_relink \
12931 library_names_spec \
12936 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12937 *[\\\\\\\`\\"\\\$]*)
12938 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12941 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12946 # Double-quote double-evaled strings.
12947 for var in reload_cmds \
12948 old_postinstall_cmds \
12949 old_postuninstall_cmds \
12951 extract_expsyms_cmds \
12952 old_archive_from_new_cmds \
12953 old_archive_from_expsyms_cmds \
12955 archive_expsym_cmds \
12957 module_expsym_cmds \
12958 export_symbols_cmds \
12961 postuninstall_cmds \
12963 sys_lib_search_path_spec \
12964 sys_lib_dlsearch_path_spec; do
12965 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12966 *[\\\\\\\`\\"\\\$]*)
12967 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12970 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12975 # Fix-up fallback echo if it was mangled by the above quoting rules.
12977 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
12981 ac_aux_dir='$ac_aux_dir'
12982 xsi_shell='$xsi_shell'
12983 lt_shell_append='$lt_shell_append'
12985 # See if we are running on zsh, and set the options which allow our
12986 # commands through without removal of \ escapes INIT.
12987 if test -n "\${ZSH_VERSION+set}" ; then
12988 setopt NO_GLOB_SUBST
12994 TIMESTAMP='$TIMESTAMP'
13003 cat >>$CONFIG_STATUS <<\_ACEOF
13005 # Handling of arguments.
13006 for ac_config_target in $ac_config_targets
13008 case $ac_config_target in
13009 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13010 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13011 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
13012 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13013 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
13014 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13015 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
13016 "pkgconfig/Makefile") CONFIG_FILES="$CONFIG_FILES pkgconfig/Makefile" ;;
13017 "pkgconfig/libascenario.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/libascenario.pc" ;;
13019 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13020 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13021 { (exit 1); exit 1; }; };;
13026 # If the user did not use the arguments to specify the items to instantiate,
13027 # then the envvar interface is used. Set only those that are not.
13028 # We use the long form for the default assignment because of an extremely
13029 # bizarre bug on SunOS 4.1.3.
13030 if $ac_need_defaults; then
13031 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13032 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13033 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13036 # Have a temporary directory for convenience. Make it in the build tree
13037 # simply because there is no reason against having it here, and in addition,
13038 # creating and moving files from /tmp can sometimes cause problems.
13039 # Hook for its removal unless debugging.
13040 # Note that there is a small window in which the directory will not be cleaned:
13041 # after its creation but before its name has been assigned to `$tmp'.
13045 trap 'exit_status=$?
13046 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13048 trap '{ (exit 1); exit 1; }' 1 2 13 15
13050 # Create a (secure) tmp directory for tmp files.
13053 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13054 test -n "$tmp" && test -d "$tmp"
13057 tmp=./conf$$-$RANDOM
13058 (umask 077 && mkdir "$tmp")
13061 echo "$me: cannot create a temporary directory in ." >&2
13062 { (exit 1); exit 1; }
13066 # Set up the sed scripts for CONFIG_FILES section.
13069 # No need to generate the scripts if there are no CONFIG_FILES.
13070 # This happens for instance when ./config.status config.h
13071 if test -n "$CONFIG_FILES"; then
13078 for ac_last_try in false false false false false :; do
13079 cat >conf$$subs.sed <<_ACEOF
13080 SHELL!$SHELL$ac_delim
13081 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
13082 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
13083 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
13084 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
13085 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
13086 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
13087 exec_prefix!$exec_prefix$ac_delim
13088 prefix!$prefix$ac_delim
13089 program_transform_name!$program_transform_name$ac_delim
13090 bindir!$bindir$ac_delim
13091 sbindir!$sbindir$ac_delim
13092 libexecdir!$libexecdir$ac_delim
13093 datarootdir!$datarootdir$ac_delim
13094 datadir!$datadir$ac_delim
13095 sysconfdir!$sysconfdir$ac_delim
13096 sharedstatedir!$sharedstatedir$ac_delim
13097 localstatedir!$localstatedir$ac_delim
13098 includedir!$includedir$ac_delim
13099 oldincludedir!$oldincludedir$ac_delim
13100 docdir!$docdir$ac_delim
13101 infodir!$infodir$ac_delim
13102 htmldir!$htmldir$ac_delim
13103 dvidir!$dvidir$ac_delim
13104 pdfdir!$pdfdir$ac_delim
13105 psdir!$psdir$ac_delim
13106 libdir!$libdir$ac_delim
13107 localedir!$localedir$ac_delim
13108 mandir!$mandir$ac_delim
13109 DEFS!$DEFS$ac_delim
13110 ECHO_C!$ECHO_C$ac_delim
13111 ECHO_N!$ECHO_N$ac_delim
13112 ECHO_T!$ECHO_T$ac_delim
13113 LIBS!$LIBS$ac_delim
13114 build_alias!$build_alias$ac_delim
13115 host_alias!$host_alias$ac_delim
13116 target_alias!$target_alias$ac_delim
13117 ASCENARIO_MAJOR_VERSION!$ASCENARIO_MAJOR_VERSION$ac_delim
13118 ASCENARIO_MINOR_VERSION!$ASCENARIO_MINOR_VERSION$ac_delim
13119 ASCENARIO_MICRO_VERSION!$ASCENARIO_MICRO_VERSION$ac_delim
13120 ASCENARIO_VERSION!$ASCENARIO_VERSION$ac_delim
13121 LT_VERSION!$LT_VERSION$ac_delim
13122 LT_RELEASE!$LT_RELEASE$ac_delim
13123 build!$build$ac_delim
13124 build_cpu!$build_cpu$ac_delim
13125 build_vendor!$build_vendor$ac_delim
13126 build_os!$build_os$ac_delim
13127 host!$host$ac_delim
13128 host_cpu!$host_cpu$ac_delim
13129 host_vendor!$host_vendor$ac_delim
13130 host_os!$host_os$ac_delim
13131 target!$target$ac_delim
13132 target_cpu!$target_cpu$ac_delim
13133 target_vendor!$target_vendor$ac_delim
13134 target_os!$target_os$ac_delim
13135 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
13136 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
13137 INSTALL_DATA!$INSTALL_DATA$ac_delim
13138 am__isrc!$am__isrc$ac_delim
13139 CYGPATH_W!$CYGPATH_W$ac_delim
13140 PACKAGE!$PACKAGE$ac_delim
13141 VERSION!$VERSION$ac_delim
13142 ACLOCAL!$ACLOCAL$ac_delim
13143 AUTOCONF!$AUTOCONF$ac_delim
13144 AUTOMAKE!$AUTOMAKE$ac_delim
13145 AUTOHEADER!$AUTOHEADER$ac_delim
13146 MAKEINFO!$MAKEINFO$ac_delim
13147 install_sh!$install_sh$ac_delim
13148 STRIP!$STRIP$ac_delim
13149 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
13150 mkdir_p!$mkdir_p$ac_delim
13152 SET_MAKE!$SET_MAKE$ac_delim
13153 am__leading_dot!$am__leading_dot$ac_delim
13154 AMTAR!$AMTAR$ac_delim
13155 am__tar!$am__tar$ac_delim
13156 am__untar!$am__untar$ac_delim
13157 INSTALL_M4_TRUE!$INSTALL_M4_TRUE$ac_delim
13158 INSTALL_M4_FALSE!$INSTALL_M4_FALSE$ac_delim
13160 CFLAGS!$CFLAGS$ac_delim
13161 LDFLAGS!$LDFLAGS$ac_delim
13162 CPPFLAGS!$CPPFLAGS$ac_delim
13163 ac_ct_CC!$ac_ct_CC$ac_delim
13164 EXEEXT!$EXEEXT$ac_delim
13165 OBJEXT!$OBJEXT$ac_delim
13166 DEPDIR!$DEPDIR$ac_delim
13167 am__include!$am__include$ac_delim
13168 am__quote!$am__quote$ac_delim
13169 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
13170 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
13171 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
13172 CCDEPMODE!$CCDEPMODE$ac_delim
13173 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
13174 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
13176 LN_S!$LN_S$ac_delim
13179 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13181 elif $ac_last_try; then
13182 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13183 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13184 { (exit 1); exit 1; }; }
13186 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13190 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13191 if test -n "$ac_eof"; then
13192 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
13193 ac_eof=`expr $ac_eof + 1`
13196 cat >>$CONFIG_STATUS <<_ACEOF
13197 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
13198 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13201 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13202 s/^/s,@/; s/!/@,|#_!!_#|/
13205 s/'"$ac_delim"'$/,g/; t
13207 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13208 ' >>$CONFIG_STATUS <conf$$subs.sed
13209 rm -f conf$$subs.sed
13210 cat >>$CONFIG_STATUS <<_ACEOF
13216 for ac_last_try in false false false false false :; do
13217 cat >conf$$subs.sed <<_ACEOF
13218 LIBTOOL!$LIBTOOL$ac_delim
13220 GREP!$GREP$ac_delim
13221 EGREP!$EGREP$ac_delim
13222 FGREP!$FGREP$ac_delim
13224 DUMPBIN!$DUMPBIN$ac_delim
13225 ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
13227 OBJDUMP!$OBJDUMP$ac_delim
13229 RANLIB!$RANLIB$ac_delim
13230 lt_ECHO!$lt_ECHO$ac_delim
13231 DSYMUTIL!$DSYMUTIL$ac_delim
13232 NMEDIT!$NMEDIT$ac_delim
13233 LIPO!$LIPO$ac_delim
13234 OTOOL!$OTOOL$ac_delim
13235 OTOOL64!$OTOOL64$ac_delim
13236 LIBTOOL_VERSION_INFO!$LIBTOOL_VERSION_INFO$ac_delim
13237 PKG_CONFIG!$PKG_CONFIG$ac_delim
13238 ALSA_CFLAGS!$ALSA_CFLAGS$ac_delim
13239 ALSA_LIBS!$ALSA_LIBS$ac_delim
13240 ALSA_CONFIG_DIR!$ALSA_CONFIG_DIR$ac_delim
13241 ALSA_PLUGIN_DIR!$ALSA_PLUGIN_DIR$ac_delim
13242 VERSIONED_SYMBOLS_TRUE!$VERSIONED_SYMBOLS_TRUE$ac_delim
13243 VERSIONED_SYMBOLS_FALSE!$VERSIONED_SYMBOLS_FALSE$ac_delim
13244 SYMBOLIC_FUNCTIONS_TRUE!$SYMBOLIC_FUNCTIONS_TRUE$ac_delim
13245 SYMBOLIC_FUNCTIONS_FALSE!$SYMBOLIC_FUNCTIONS_FALSE$ac_delim
13246 SYMBOL_PREFIX!$SYMBOL_PREFIX$ac_delim
13247 ALSA_DEPLIBS!$ALSA_DEPLIBS$ac_delim
13248 LIBOBJS!$LIBOBJS$ac_delim
13249 LTLIBOBJS!$LTLIBOBJS$ac_delim
13252 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 32; then
13254 elif $ac_last_try; then
13255 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13256 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13257 { (exit 1); exit 1; }; }
13259 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13263 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13264 if test -n "$ac_eof"; then
13265 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
13266 ac_eof=`expr $ac_eof + 1`
13269 cat >>$CONFIG_STATUS <<_ACEOF
13270 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
13271 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
13274 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13275 s/^/s,@/; s/!/@,|#_!!_#|/
13278 s/'"$ac_delim"'$/,g/; t
13280 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13281 ' >>$CONFIG_STATUS <conf$$subs.sed
13282 rm -f conf$$subs.sed
13283 cat >>$CONFIG_STATUS <<_ACEOF
13290 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13291 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13292 # trailing colons and then remove the whole line if VPATH becomes empty
13293 # (actually we leave an empty line to preserve line numbers).
13294 if test "x$srcdir" = x.; then
13295 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13296 s/:*\$(srcdir):*/:/
13297 s/:*\${srcdir}:*/:/
13299 s/^\([^=]*=[ ]*\):*/\1/
13305 cat >>$CONFIG_STATUS <<\_ACEOF
13306 fi # test -n "$CONFIG_FILES"
13309 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
13312 :[FHLC]) ac_mode=$ac_tag; continue;;
13314 case $ac_mode$ac_tag in
13316 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
13317 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
13318 { (exit 1); exit 1; }; };;
13319 :[FH]-) ac_tag=-:-;;
13320 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13337 -) ac_f="$tmp/stdin";;
13338 *) # Look for the file first in the build tree, then in the source tree
13339 # (if the path is not absolute). The absolute path cannot be DOS-style,
13340 # because $ac_f cannot contain `:'.
13344 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13346 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13347 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13348 { (exit 1); exit 1; }; };;
13350 ac_file_inputs="$ac_file_inputs $ac_f"
13353 # Let's still pretend it is `configure' which instantiates (i.e., don't
13354 # use $as_me), people would be surprised to read:
13355 # /* config.h. Generated by config.status. */
13356 configure_input="Generated from "`IFS=:
13357 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
13358 if test x"$ac_file" != x-; then
13359 configure_input="$ac_file. $configure_input"
13360 { echo "$as_me:$LINENO: creating $ac_file" >&5
13361 echo "$as_me: creating $ac_file" >&6;}
13365 *:-:* | *:-) cat >"$tmp/stdin";;
13370 ac_dir=`$as_dirname -- "$ac_file" ||
13371 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13372 X"$ac_file" : 'X\(//\)[^/]' \| \
13373 X"$ac_file" : 'X\(//\)$' \| \
13374 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13376 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13380 /^X\(\/\/\)[^/].*/{
13395 -*) as_dir=./$as_dir;;
13397 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13401 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
13402 *) as_qdir=$as_dir;;
13404 as_dirs="'$as_qdir' $as_dirs"
13405 as_dir=`$as_dirname -- "$as_dir" ||
13406 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13407 X"$as_dir" : 'X\(//\)[^/]' \| \
13408 X"$as_dir" : 'X\(//\)$' \| \
13409 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13411 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13415 /^X\(\/\/\)[^/].*/{
13428 test -d "$as_dir" && break
13430 test -z "$as_dirs" || eval "mkdir $as_dirs"
13431 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13432 echo "$as_me: error: cannot create directory $as_dir" >&2;}
13433 { (exit 1); exit 1; }; }; }
13437 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13439 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13440 # A ".." for each directory in $ac_dir_suffix.
13441 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
13442 case $ac_top_builddir_sub in
13443 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13444 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13447 ac_abs_top_builddir=$ac_pwd
13448 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13449 # for backward compatibility:
13450 ac_top_builddir=$ac_top_build_prefix
13453 .) # We are building in place.
13455 ac_top_srcdir=$ac_top_builddir_sub
13456 ac_abs_top_srcdir=$ac_pwd ;;
13457 [\\/]* | ?:[\\/]* ) # Absolute name.
13458 ac_srcdir=$srcdir$ac_dir_suffix;
13459 ac_top_srcdir=$srcdir
13460 ac_abs_top_srcdir=$srcdir ;;
13461 *) # Relative name.
13462 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13463 ac_top_srcdir=$ac_top_build_prefix$srcdir
13464 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13466 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13476 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13477 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13479 ac_MKDIR_P=$MKDIR_P
13481 [\\/$]* | ?:[\\/]* ) ;;
13482 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13486 cat >>$CONFIG_STATUS <<\_ACEOF
13487 # If the template does not know about datarootdir, expand it.
13488 # FIXME: This hack should be removed a few years after 2.60.
13489 ac_datarootdir_hack=; ac_datarootdir_seen=
13491 case `sed -n '/datarootdir/ {
13500 ' $ac_file_inputs` in
13501 *datarootdir*) ac_datarootdir_seen=yes;;
13502 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13503 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13504 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13506 cat >>$CONFIG_STATUS <<_ACEOF
13507 ac_datarootdir_hack='
13508 s&@datadir@&$datadir&g
13509 s&@docdir@&$docdir&g
13510 s&@infodir@&$infodir&g
13511 s&@localedir@&$localedir&g
13512 s&@mandir@&$mandir&g
13513 s&\\\${datarootdir}&$datarootdir&g' ;;
13517 # Neutralize VPATH when `$srcdir' = `.'.
13518 # Shell code in configure.ac might set extrasub.
13519 # FIXME: do we really want to maintain this feature?
13520 cat >>$CONFIG_STATUS <<_ACEOF
13524 cat >>$CONFIG_STATUS <<\_ACEOF
13526 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13527 s&@configure_input@&$configure_input&;t t
13528 s&@top_builddir@&$ac_top_builddir_sub&;t t
13529 s&@srcdir@&$ac_srcdir&;t t
13530 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13531 s&@top_srcdir@&$ac_top_srcdir&;t t
13532 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13533 s&@builddir@&$ac_builddir&;t t
13534 s&@abs_builddir@&$ac_abs_builddir&;t t
13535 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13536 s&@INSTALL@&$ac_INSTALL&;t t
13537 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13538 $ac_datarootdir_hack
13539 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
13541 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13542 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13543 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13544 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13545 which seems to be undefined. Please make sure it is defined." >&5
13546 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13547 which seems to be undefined. Please make sure it is defined." >&2;}
13551 -) cat "$tmp/out"; rm -f "$tmp/out";;
13552 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
13561 # Transform confdefs.h into a sed script `conftest.defines', that
13562 # substitutes the proper values into config.h.in to produce config.h.
13563 rm -f conftest.defines conftest.tail
13564 # First, append a space to every undef/define line, to ease matching.
13565 echo 's/$/ /' >conftest.defines
13566 # Then, protect against being on the right side of a sed subst, or in
13567 # an unquoted here document, in config.status. If some macros were
13568 # called several times there might be several #defines for the same
13569 # symbol, which is useless. But do not sort them, since the last
13570 # AC_DEFINE must be honored.
13571 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13572 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
13573 # NAME is the cpp macro being defined, VALUE is the value it is being given.
13574 # PARAMS is the parameter list in the macro definition--in most cases, it's
13575 # just an empty string.
13576 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
13577 ac_dB='\\)[ (].*,\\1define\\2'
13585 s/^[ ]*#[ ]*define[ ][ ]*//
13590 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
13591 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
13592 ' >>conftest.defines
13594 # Remove the space that was appended to ease matching.
13595 # Then replace #undef with comments. This is necessary, for
13596 # example, in the case of _POSIX_SOURCE, which is predefined and required
13597 # on some systems where configure will not decide to define it.
13598 # (The regexp can be short, since the line contains either #define or #undef.)
13600 s,^[ #]*u.*,/* & */,' >>conftest.defines
13602 # Break up conftest.defines:
13603 ac_max_sed_lines=50
13605 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
13606 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
13607 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
13609 ac_in='$ac_file_inputs'
13610 ac_out='"$tmp/out1"'
13611 ac_nxt='"$tmp/out2"'
13615 # Write a here document:
13616 cat >>$CONFIG_STATUS <<_ACEOF
13617 # First, check the format of the line:
13618 cat >"\$tmp/defines.sed" <<\\CEOF
13619 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
13620 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
13624 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
13626 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
13627 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
13628 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
13629 grep . conftest.tail >/dev/null || break
13630 rm -f conftest.defines
13631 mv conftest.tail conftest.defines
13633 rm -f conftest.defines conftest.tail
13635 echo "ac_result=$ac_in" >>$CONFIG_STATUS
13636 cat >>$CONFIG_STATUS <<\_ACEOF
13637 if test x"$ac_file" != x-; then
13638 echo "/* $configure_input */" >"$tmp/config.h"
13639 cat "$ac_result" >>"$tmp/config.h"
13640 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
13641 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13642 echo "$as_me: $ac_file is unchanged" >&6;}
13645 mv "$tmp/config.h" $ac_file
13648 echo "/* $configure_input */"
13652 # Compute $ac_file's index in $config_headers.
13655 for _am_header in $config_headers :; do
13656 case $_am_header in
13657 $_am_arg | $_am_arg:* )
13660 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13663 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13664 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13665 X"$_am_arg" : 'X\(//\)[^/]' \| \
13666 X"$_am_arg" : 'X\(//\)$' \| \
13667 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13669 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13673 /^X\(\/\/\)[^/].*/{
13685 s/.*/./; q'`/stamp-h$_am_stamp_count
13688 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
13689 echo "$as_me: executing $ac_file commands" >&6;}
13694 case $ac_file$ac_mode in
13695 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13696 # Autoconf 2.62 quotes --file arguments for eval, but not when files
13697 # are listed without --file. Let's play safe and only enable the eval
13698 # if we detect the quoting.
13699 case $CONFIG_FILES in
13700 *\'*) eval set x "$CONFIG_FILES" ;;
13701 *) set x $CONFIG_FILES ;;
13706 # Strip MF so we end up with the name of the file.
13707 mf=`echo "$mf" | sed -e 's/:.*$//'`
13708 # Check whether this is an Automake generated Makefile or not.
13709 # We used to match only the files named `Makefile.in', but
13710 # some people rename them; so instead we look at the file content.
13711 # Grep'ing the first line is not enough: some people post-process
13712 # each Makefile.in and add a new line on top of each file to say so.
13713 # Grep'ing the whole file is not good either: AIX grep has a line
13714 # limit of 2048, but all sed's we know have understand at least 4000.
13715 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13716 dirpart=`$as_dirname -- "$mf" ||
13717 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13718 X"$mf" : 'X\(//\)[^/]' \| \
13719 X"$mf" : 'X\(//\)$' \| \
13720 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13722 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13726 /^X\(\/\/\)[^/].*/{
13742 # Extract the definition of DEPDIR, am__include, and am__quote
13743 # from the Makefile without running `make'.
13744 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13745 test -z "$DEPDIR" && continue
13746 am__include=`sed -n 's/^am__include = //p' < "$mf"`
13747 test -z "am__include" && continue
13748 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13749 # When using ansi2knr, U may be empty or an underscore; expand it
13750 U=`sed -n 's/^U = //p' < "$mf"`
13751 # Find all dependency output files, they are included files with
13752 # $(DEPDIR) in their names. We invoke sed twice because it is the
13753 # simplest approach to changing $(DEPDIR) to its actual value in the
13755 for file in `sed -n "
13756 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13757 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13758 # Make sure the directory exists.
13759 test -f "$dirpart/$file" && continue
13760 fdir=`$as_dirname -- "$file" ||
13761 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13762 X"$file" : 'X\(//\)[^/]' \| \
13763 X"$file" : 'X\(//\)$' \| \
13764 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13766 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13770 /^X\(\/\/\)[^/].*/{
13783 { as_dir=$dirpart/$fdir
13785 -*) as_dir=./$as_dir;;
13787 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13791 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
13792 *) as_qdir=$as_dir;;
13794 as_dirs="'$as_qdir' $as_dirs"
13795 as_dir=`$as_dirname -- "$as_dir" ||
13796 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13797 X"$as_dir" : 'X\(//\)[^/]' \| \
13798 X"$as_dir" : 'X\(//\)$' \| \
13799 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13801 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13805 /^X\(\/\/\)[^/].*/{
13818 test -d "$as_dir" && break
13820 test -z "$as_dirs" || eval "mkdir $as_dirs"
13821 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13822 echo "$as_me: error: cannot create directory $as_dir" >&2;}
13823 { (exit 1); exit 1; }; }; }
13824 # echo "creating $dirpart/$file"
13825 echo '# dummy' > "$dirpart/$file"
13832 # See if we are running on zsh, and set the options which allow our
13833 # commands through without removal of \ escapes.
13834 if test -n "${ZSH_VERSION+set}" ; then
13835 setopt NO_GLOB_SUBST
13838 cfgfile="${ofile}T"
13839 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13842 cat <<_LT_EOF >> "$cfgfile"
13845 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13846 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13847 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13848 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13850 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13851 # 2006, 2007, 2008 Free Software Foundation, Inc.
13852 # Written by Gordon Matzigkeit, 1996
13854 # This file is part of GNU Libtool.
13856 # GNU Libtool is free software; you can redistribute it and/or
13857 # modify it under the terms of the GNU General Public License as
13858 # published by the Free Software Foundation; either version 2 of
13859 # the License, or (at your option) any later version.
13861 # As a special exception to the GNU General Public License,
13862 # if you distribute this file as part of a program or library that
13863 # is built using GNU Libtool, you may include this file under the
13864 # same distribution terms that you use for the rest of that program.
13866 # GNU Libtool is distributed in the hope that it will be useful,
13867 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13868 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13869 # GNU General Public License for more details.
13871 # You should have received a copy of the GNU General Public License
13872 # along with GNU Libtool; see the file COPYING. If not, a copy
13873 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13874 # obtained by writing to the Free Software Foundation, Inc.,
13875 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13878 # The names of the tagged configurations supported by this script.
13881 # ### BEGIN LIBTOOL CONFIG
13883 # Whether or not to build static libraries.
13884 build_old_libs=$enable_static
13886 # Which release of libtool.m4 was used?
13887 macro_version=$macro_version
13888 macro_revision=$macro_revision
13890 # Whether or not to build shared libraries.
13891 build_libtool_libs=$enable_shared
13893 # What type of objects to build.
13896 # Whether or not to optimize for fast installation.
13897 fast_install=$enable_fast_install
13900 host_alias=$host_alias
13904 # The build system.
13905 build_alias=$build_alias
13909 # A sed program that does not truncate output.
13912 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13913 Xsed="\$SED -e 1s/^X//"
13915 # A grep program that handles long lines.
13921 # A literal string matcher.
13924 # A BSD- or MS-compatible name lister.
13927 # Whether we need soft or hard links.
13930 # What is the maximum length of a command?
13931 max_cmd_len=$max_cmd_len
13933 # Object file suffix (normally "o").
13936 # Executable file suffix (normally "").
13939 # whether the shell understands "unset".
13942 # turn spaces into newlines.
13945 # turn newlines into spaces.
13948 # How to create reloadable object files.
13949 reload_flag=$lt_reload_flag
13950 reload_cmds=$lt_reload_cmds
13952 # An object symbol dumper.
13953 OBJDUMP=$lt_OBJDUMP
13955 # Method to check whether dependent libraries are shared objects.
13956 deplibs_check_method=$lt_deplibs_check_method
13958 # Command to use when deplibs_check_method == "file_magic".
13959 file_magic_cmd=$lt_file_magic_cmd
13963 AR_FLAGS=$lt_AR_FLAGS
13965 # A symbol stripping program.
13968 # Commands used to install an old-style archive.
13970 old_postinstall_cmds=$lt_old_postinstall_cmds
13971 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13976 # LTCC compiler flags.
13977 LTCFLAGS=$lt_CFLAGS
13979 # Take the output of nm and produce a listing of raw symbols and C names.
13980 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13982 # Transform the output of nm in a proper C declaration.
13983 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13985 # Transform the output of nm in a C name address pair.
13986 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13988 # Transform the output of nm in a C name address pair when lib prefix is needed.
13989 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13991 # The name of the directory that contains temporary libtool files.
13994 # Shell to use when invoking shell scripts.
13997 # An echo program that does not interpret backslashes.
14000 # Used to examine libraries when file_magic_cmd begins with "file".
14001 MAGIC_CMD=$MAGIC_CMD
14003 # Must we lock files when doing compilation?
14004 need_locks=$lt_need_locks
14006 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14007 DSYMUTIL=$lt_DSYMUTIL
14009 # Tool to change global to local symbols on Mac OS X.
14012 # Tool to manipulate fat objects and archives on Mac OS X.
14015 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14018 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14019 OTOOL64=$lt_OTOOL64
14021 # Old archive suffix (normally "a").
14024 # Shared library suffix (normally ".so").
14025 shrext_cmds=$lt_shrext_cmds
14027 # The commands to extract the exported symbol list from a shared archive.
14028 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14030 # Variables whose values should be saved in libtool wrapper scripts and
14031 # restored at link time.
14032 variables_saved_for_relink=$lt_variables_saved_for_relink
14034 # Do we need the "lib" prefix for modules?
14035 need_lib_prefix=$need_lib_prefix
14037 # Do we need a version for libraries?
14038 need_version=$need_version
14040 # Library versioning type.
14041 version_type=$version_type
14043 # Shared library runtime path variable.
14044 runpath_var=$runpath_var
14046 # Shared library path variable.
14047 shlibpath_var=$shlibpath_var
14049 # Is shlibpath searched before the hard-coded library search path?
14050 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14052 # Format of library name prefix.
14053 libname_spec=$lt_libname_spec
14055 # List of archive names. First name is the real one, the rest are links.
14056 # The last name is the one that the linker finds with -lNAME
14057 library_names_spec=$lt_library_names_spec
14059 # The coded name of the library, if different from the real name.
14060 soname_spec=$lt_soname_spec
14062 # Command to use after installation of a shared archive.
14063 postinstall_cmds=$lt_postinstall_cmds
14065 # Command to use after uninstallation of a shared archive.
14066 postuninstall_cmds=$lt_postuninstall_cmds
14068 # Commands used to finish a libtool library installation in a directory.
14069 finish_cmds=$lt_finish_cmds
14071 # As "finish_cmds", except a single script fragment to be evaled but
14073 finish_eval=$lt_finish_eval
14075 # Whether we should hardcode library paths into libraries.
14076 hardcode_into_libs=$hardcode_into_libs
14078 # Compile-time system search path for libraries.
14079 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14081 # Run-time system search path for libraries.
14082 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14084 # Whether dlopen is supported.
14085 dlopen_support=$enable_dlopen
14087 # Whether dlopen of programs is supported.
14088 dlopen_self=$enable_dlopen_self
14090 # Whether dlopen of statically linked programs is supported.
14091 dlopen_self_static=$enable_dlopen_self_static
14093 # Commands to strip libraries.
14094 old_striplib=$lt_old_striplib
14095 striplib=$lt_striplib
14098 # The linker used to build libraries.
14101 # Commands used to build an old-style archive.
14102 old_archive_cmds=$lt_old_archive_cmds
14104 # A language specific compiler.
14107 # Is the compiler the GNU compiler?
14110 # Compiler flag to turn off builtin functions.
14111 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14113 # How to pass a linker flag through the compiler.
14114 wl=$lt_lt_prog_compiler_wl
14116 # Additional compiler flags for building library objects.
14117 pic_flag=$lt_lt_prog_compiler_pic
14119 # Compiler flag to prevent dynamic linking.
14120 link_static_flag=$lt_lt_prog_compiler_static
14122 # Does compiler simultaneously support -c and -o options?
14123 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14125 # Whether or not to add -lc for building shared libraries.
14126 build_libtool_need_lc=$archive_cmds_need_lc
14128 # Whether or not to disallow shared libs when runtime libs are static.
14129 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14131 # Compiler flag to allow reflexive dlopens.
14132 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14134 # Compiler flag to generate shared objects directly from archives.
14135 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14137 # Whether the compiler copes with passing no objects directly.
14138 compiler_needs_object=$lt_compiler_needs_object
14140 # Create an old-style archive from a shared archive.
14141 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14143 # Create a temporary old-style archive to link instead of a shared archive.
14144 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14146 # Commands used to build a shared archive.
14147 archive_cmds=$lt_archive_cmds
14148 archive_expsym_cmds=$lt_archive_expsym_cmds
14150 # Commands used to build a loadable module if different from building
14151 # a shared archive.
14152 module_cmds=$lt_module_cmds
14153 module_expsym_cmds=$lt_module_expsym_cmds
14155 # Whether we are building with GNU ld or not.
14156 with_gnu_ld=$lt_with_gnu_ld
14158 # Flag that allows shared libraries with undefined symbols to be built.
14159 allow_undefined_flag=$lt_allow_undefined_flag
14161 # Flag that enforces no undefined symbols.
14162 no_undefined_flag=$lt_no_undefined_flag
14164 # Flag to hardcode \$libdir into a binary during linking.
14165 # This must work even if \$libdir does not exist
14166 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14168 # If ld is used when linking, flag to hardcode \$libdir into a binary
14169 # during linking. This must work even if \$libdir does not exist.
14170 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14172 # Whether we need a single "-rpath" flag with a separated argument.
14173 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14175 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14176 # DIR into the resulting binary.
14177 hardcode_direct=$hardcode_direct
14179 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14180 # DIR into the resulting binary and the resulting library dependency is
14181 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14182 # library is relocated.
14183 hardcode_direct_absolute=$hardcode_direct_absolute
14185 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14186 # into the resulting binary.
14187 hardcode_minus_L=$hardcode_minus_L
14189 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14190 # into the resulting binary.
14191 hardcode_shlibpath_var=$hardcode_shlibpath_var
14193 # Set to "yes" if building a shared library automatically hardcodes DIR
14194 # into the library and all subsequent libraries and executables linked
14196 hardcode_automatic=$hardcode_automatic
14198 # Set to yes if linker adds runtime paths of dependent libraries
14199 # to runtime path list.
14200 inherit_rpath=$inherit_rpath
14202 # Whether libtool must link a program against all its dependency libraries.
14203 link_all_deplibs=$link_all_deplibs
14205 # Fix the shell variable \$srcfile for the compiler.
14206 fix_srcfile_path=$lt_fix_srcfile_path
14208 # Set to "yes" if exported symbols are required.
14209 always_export_symbols=$always_export_symbols
14211 # The commands to list exported symbols.
14212 export_symbols_cmds=$lt_export_symbols_cmds
14214 # Symbols that should not be listed in the preloaded symbols.
14215 exclude_expsyms=$lt_exclude_expsyms
14217 # Symbols that must always be exported.
14218 include_expsyms=$lt_include_expsyms
14220 # Commands necessary for linking programs (against libraries) with templates.
14221 prelink_cmds=$lt_prelink_cmds
14223 # Specify filename containing input files.
14224 file_list_spec=$lt_file_list_spec
14226 # How to hardcode a shared library path into an executable.
14227 hardcode_action=$hardcode_action
14229 # ### END LIBTOOL CONFIG
14235 cat <<\_LT_EOF >> "$cfgfile"
14236 # AIX sometimes has problems with the GCC collect2 program. For some
14237 # reason, if we set the COLLECT_NAMES environment variable, the problems
14238 # vanish in a puff of smoke.
14239 if test "X${COLLECT_NAMES+set}" != Xset; then
14241 export COLLECT_NAMES
14248 ltmain="$ac_aux_dir/ltmain.sh"
14251 # We use sed instead of cat because bash on DJGPP gets confused if
14252 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14253 # text mode, it properly converts lines to CR/LF. This bash problem
14254 # is reportedly fixed, but why not run on old versions too?
14255 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14256 || (rm -f "$cfgfile"; exit 1)
14260 cat << \_LT_EOF >> "$cfgfile"
14262 # func_dirname file append nondir_replacement
14263 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14264 # otherwise set result to NONDIR_REPLACEMENT.
14268 */*) func_dirname_result="${1%/*}${2}" ;;
14269 * ) func_dirname_result="${3}" ;;
14273 # func_basename file
14276 func_basename_result="${1##*/}"
14279 # func_dirname_and_basename file append nondir_replacement
14280 # perform func_basename and func_dirname in a single function
14282 # dirname: Compute the dirname of FILE. If nonempty,
14283 # add APPEND to the result, otherwise set result
14284 # to NONDIR_REPLACEMENT.
14285 # value returned in "$func_dirname_result"
14286 # basename: Compute filename of FILE.
14287 # value retuned in "$func_basename_result"
14288 # Implementation must be kept synchronized with func_dirname
14289 # and func_basename. For efficiency, we do not delegate to
14290 # those functions but instead duplicate the functionality here.
14291 func_dirname_and_basename ()
14294 */*) func_dirname_result="${1%/*}${2}" ;;
14295 * ) func_dirname_result="${3}" ;;
14297 func_basename_result="${1##*/}"
14300 # func_stripname prefix suffix name
14301 # strip PREFIX and SUFFIX off of NAME.
14302 # PREFIX and SUFFIX must not contain globbing or regex special
14303 # characters, hashes, percent signs, but SUFFIX may contain a leading
14304 # dot (in which case that matches only a dot).
14307 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14308 # positional parameters, so assign one to ordinary parameter first.
14309 func_stripname_result=${3}
14310 func_stripname_result=${func_stripname_result#"${1}"}
14311 func_stripname_result=${func_stripname_result%"${2}"}
14317 func_opt_split_opt=${1%%=*}
14318 func_opt_split_arg=${1#*=}
14325 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14326 *) func_lo2o_result=${1} ;;
14330 # func_xform libobj-or-source
14333 func_xform_result=${1%.*}.lo
14336 # func_arith arithmetic-term...
14339 func_arith_result=$(( $* ))
14343 # STRING may not start with a hyphen.
14346 func_len_result=${#1}
14351 *) # Bourne compatible functions.
14352 cat << \_LT_EOF >> "$cfgfile"
14354 # func_dirname file append nondir_replacement
14355 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14356 # otherwise set result to NONDIR_REPLACEMENT.
14359 # Extract subdirectory from the argument.
14360 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14361 if test "X$func_dirname_result" = "X${1}"; then
14362 func_dirname_result="${3}"
14364 func_dirname_result="$func_dirname_result${2}"
14368 # func_basename file
14371 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14375 # func_stripname prefix suffix name
14376 # strip PREFIX and SUFFIX off of NAME.
14377 # PREFIX and SUFFIX must not contain globbing or regex special
14378 # characters, hashes, percent signs, but SUFFIX may contain a leading
14379 # dot (in which case that matches only a dot).
14380 # func_strip_suffix prefix name
14384 .*) func_stripname_result=`$ECHO "X${3}" \
14385 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14386 *) func_stripname_result=`$ECHO "X${3}" \
14387 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14392 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14393 my_sed_long_arg='1s/^-[^=]*=//'
14398 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14399 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14405 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14408 # func_xform libobj-or-source
14411 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14414 # func_arith arithmetic-term...
14417 func_arith_result=`expr "$@"`
14421 # STRING may not start with a hyphen.
14424 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14430 case $lt_shell_append in
14432 cat << \_LT_EOF >> "$cfgfile"
14434 # func_append var value
14435 # Append VALUE to the end of shell variable VAR.
14443 cat << \_LT_EOF >> "$cfgfile"
14445 # func_append var value
14446 # Append VALUE to the end of shell variable VAR.
14457 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14458 || (rm -f "$cfgfile"; exit 1)
14460 mv -f "$cfgfile" "$ofile" ||
14461 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14470 { (exit 0); exit 0; }
14472 chmod +x $CONFIG_STATUS
14473 ac_clean_files=$ac_clean_files_save
14476 # configure is writing to config.log, and then calls config.status.
14477 # config.status does its own redirection, appending to config.log.
14478 # Unfortunately, on DOS this fails, as config.log is still kept open
14479 # by configure, so config.status won't be able to write to it; its
14480 # output is simply discarded. So we exec the FD to /dev/null,
14481 # effectively closing config.log, so it can be properly (re)opened and
14482 # appended to by config.status. When coming back to configure, we
14483 # need to make the FD available again.
14484 if test "$no_create" != yes; then
14486 ac_config_status_args=
14487 test "$silent" = yes &&
14488 ac_config_status_args="$ac_config_status_args --quiet"
14490 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14492 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14493 # would make configure fail if this is the last instruction.
14494 $ac_cs_success || { (exit 1); exit 1; }