2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for tsremuxcpp 0.1.
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.
722 PACKAGE_NAME='tsremuxcpp'
723 PACKAGE_TARNAME='tsremuxcpp'
724 PACKAGE_VERSION='0.1'
725 PACKAGE_STRING='tsremuxcpp 0.1'
728 # Factoring default headers for most tests.
729 ac_includes_default="\
731 #ifdef HAVE_SYS_TYPES_H
732 # include <sys/types.h>
734 #ifdef HAVE_SYS_STAT_H
735 # include <sys/stat.h>
741 # ifdef HAVE_STDLIB_H
746 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
751 #ifdef HAVE_STRINGS_H
752 # include <strings.h>
754 #ifdef HAVE_INTTYPES_H
755 # include <inttypes.h>
773 program_transform_name
815 INSTALL_STRIP_PROGRAM
824 MAINTAINER_MODE_FALSE
871 INTLTOOL_DESKTOP_RULE
872 INTLTOOL_DIRECTORY_RULE
879 INTLTOOL_SOUNDLIST_RULE
884 INTLTOOL_XML_NOMERGE_RULE
886 INTLTOOL_SCHEMAS_RULE
888 INTLTOOL_SERVICE_RULE
921 ac_precious_vars='build_alias
936 # Initialize some variables set by options.
938 ac_init_version=false
939 # The variables have the same names as the options, with
940 # dashes changed to underlines.
948 program_transform_name=s,x,x,
956 # Installation directory options.
957 # These are left unexpanded so users can "make install exec_prefix=/foo"
958 # and all the variables that are supposed to be based on exec_prefix
959 # by default will actually change.
960 # Use braces instead of parens because sh, perl, etc. also accept them.
961 # (The list follows the same order as the GNU Coding Standards.)
962 bindir='${exec_prefix}/bin'
963 sbindir='${exec_prefix}/sbin'
964 libexecdir='${exec_prefix}/libexec'
965 datarootdir='${prefix}/share'
966 datadir='${datarootdir}'
967 sysconfdir='${prefix}/etc'
968 sharedstatedir='${prefix}/com'
969 localstatedir='${prefix}/var'
970 includedir='${prefix}/include'
971 oldincludedir='/usr/include'
972 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
973 infodir='${datarootdir}/info'
978 libdir='${exec_prefix}/lib'
979 localedir='${datarootdir}/locale'
980 mandir='${datarootdir}/man'
986 # If the previous option needs an argument, assign it.
987 if test -n "$ac_prev"; then
988 eval $ac_prev=\$ac_option
994 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
998 # Accept the important Cygnus configure options, so we can diagnose typos.
1000 case $ac_dashdash$ac_option in
1004 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1006 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1007 bindir=$ac_optarg ;;
1009 -build | --build | --buil | --bui | --bu)
1010 ac_prev=build_alias ;;
1011 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1012 build_alias=$ac_optarg ;;
1014 -cache-file | --cache-file | --cache-fil | --cache-fi \
1015 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1016 ac_prev=cache_file ;;
1017 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1018 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1019 cache_file=$ac_optarg ;;
1021 --config-cache | -C)
1022 cache_file=config.cache ;;
1024 -datadir | --datadir | --datadi | --datad)
1026 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1027 datadir=$ac_optarg ;;
1029 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1030 | --dataroo | --dataro | --datar)
1031 ac_prev=datarootdir ;;
1032 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1033 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1034 datarootdir=$ac_optarg ;;
1036 -disable-* | --disable-*)
1037 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1038 # Reject names that are not valid shell variable names.
1039 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1040 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1041 { (exit 1); exit 1; }; }
1042 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1043 eval enable_$ac_feature=no ;;
1045 -docdir | --docdir | --docdi | --doc | --do)
1047 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1048 docdir=$ac_optarg ;;
1050 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1052 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1053 dvidir=$ac_optarg ;;
1055 -enable-* | --enable-*)
1056 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1057 # Reject names that are not valid shell variable names.
1058 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1059 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1060 { (exit 1); exit 1; }; }
1061 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1062 eval enable_$ac_feature=\$ac_optarg ;;
1064 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1065 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1066 | --exec | --exe | --ex)
1067 ac_prev=exec_prefix ;;
1068 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1069 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1070 | --exec=* | --exe=* | --ex=*)
1071 exec_prefix=$ac_optarg ;;
1073 -gas | --gas | --ga | --g)
1074 # Obsolete; use --with-gas.
1077 -help | --help | --hel | --he | -h)
1078 ac_init_help=long ;;
1079 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1080 ac_init_help=recursive ;;
1081 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1082 ac_init_help=short ;;
1084 -host | --host | --hos | --ho)
1085 ac_prev=host_alias ;;
1086 -host=* | --host=* | --hos=* | --ho=*)
1087 host_alias=$ac_optarg ;;
1089 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1091 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1093 htmldir=$ac_optarg ;;
1095 -includedir | --includedir | --includedi | --included | --include \
1096 | --includ | --inclu | --incl | --inc)
1097 ac_prev=includedir ;;
1098 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1099 | --includ=* | --inclu=* | --incl=* | --inc=*)
1100 includedir=$ac_optarg ;;
1102 -infodir | --infodir | --infodi | --infod | --info | --inf)
1104 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1105 infodir=$ac_optarg ;;
1107 -libdir | --libdir | --libdi | --libd)
1109 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1110 libdir=$ac_optarg ;;
1112 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1113 | --libexe | --libex | --libe)
1114 ac_prev=libexecdir ;;
1115 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1116 | --libexe=* | --libex=* | --libe=*)
1117 libexecdir=$ac_optarg ;;
1119 -localedir | --localedir | --localedi | --localed | --locale)
1120 ac_prev=localedir ;;
1121 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1122 localedir=$ac_optarg ;;
1124 -localstatedir | --localstatedir | --localstatedi | --localstated \
1125 | --localstate | --localstat | --localsta | --localst | --locals)
1126 ac_prev=localstatedir ;;
1127 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1128 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1129 localstatedir=$ac_optarg ;;
1131 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1133 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1134 mandir=$ac_optarg ;;
1136 -nfp | --nfp | --nf)
1137 # Obsolete; use --without-fp.
1140 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1141 | --no-cr | --no-c | -n)
1144 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1145 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1148 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1149 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1150 | --oldin | --oldi | --old | --ol | --o)
1151 ac_prev=oldincludedir ;;
1152 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1153 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1154 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1155 oldincludedir=$ac_optarg ;;
1157 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1159 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1160 prefix=$ac_optarg ;;
1162 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1163 | --program-pre | --program-pr | --program-p)
1164 ac_prev=program_prefix ;;
1165 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1166 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1167 program_prefix=$ac_optarg ;;
1169 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1170 | --program-suf | --program-su | --program-s)
1171 ac_prev=program_suffix ;;
1172 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1173 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1174 program_suffix=$ac_optarg ;;
1176 -program-transform-name | --program-transform-name \
1177 | --program-transform-nam | --program-transform-na \
1178 | --program-transform-n | --program-transform- \
1179 | --program-transform | --program-transfor \
1180 | --program-transfo | --program-transf \
1181 | --program-trans | --program-tran \
1182 | --progr-tra | --program-tr | --program-t)
1183 ac_prev=program_transform_name ;;
1184 -program-transform-name=* | --program-transform-name=* \
1185 | --program-transform-nam=* | --program-transform-na=* \
1186 | --program-transform-n=* | --program-transform-=* \
1187 | --program-transform=* | --program-transfor=* \
1188 | --program-transfo=* | --program-transf=* \
1189 | --program-trans=* | --program-tran=* \
1190 | --progr-tra=* | --program-tr=* | --program-t=*)
1191 program_transform_name=$ac_optarg ;;
1193 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1195 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1196 pdfdir=$ac_optarg ;;
1198 -psdir | --psdir | --psdi | --psd | --ps)
1200 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1203 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1204 | -silent | --silent | --silen | --sile | --sil)
1207 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1209 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1211 sbindir=$ac_optarg ;;
1213 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1214 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1215 | --sharedst | --shareds | --shared | --share | --shar \
1217 ac_prev=sharedstatedir ;;
1218 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1219 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1220 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1222 sharedstatedir=$ac_optarg ;;
1224 -site | --site | --sit)
1226 -site=* | --site=* | --sit=*)
1229 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1231 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1232 srcdir=$ac_optarg ;;
1234 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1235 | --syscon | --sysco | --sysc | --sys | --sy)
1236 ac_prev=sysconfdir ;;
1237 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1238 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1239 sysconfdir=$ac_optarg ;;
1241 -target | --target | --targe | --targ | --tar | --ta | --t)
1242 ac_prev=target_alias ;;
1243 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1244 target_alias=$ac_optarg ;;
1246 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1249 -version | --version | --versio | --versi | --vers | -V)
1250 ac_init_version=: ;;
1253 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1254 # Reject names that are not valid shell variable names.
1255 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1256 { echo "$as_me: error: invalid package name: $ac_package" >&2
1257 { (exit 1); exit 1; }; }
1258 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1259 eval with_$ac_package=\$ac_optarg ;;
1261 -without-* | --without-*)
1262 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1263 # Reject names that are not valid shell variable names.
1264 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1265 { echo "$as_me: error: invalid package name: $ac_package" >&2
1266 { (exit 1); exit 1; }; }
1267 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1268 eval with_$ac_package=no ;;
1271 # Obsolete; use --with-x.
1274 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1275 | --x-incl | --x-inc | --x-in | --x-i)
1276 ac_prev=x_includes ;;
1277 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1278 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1279 x_includes=$ac_optarg ;;
1281 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1282 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1283 ac_prev=x_libraries ;;
1284 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1285 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1286 x_libraries=$ac_optarg ;;
1288 -*) { echo "$as_me: error: unrecognized option: $ac_option
1289 Try \`$0 --help' for more information." >&2
1290 { (exit 1); exit 1; }; }
1294 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1295 # Reject names that are not valid shell variable names.
1296 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1297 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1298 { (exit 1); exit 1; }; }
1299 eval $ac_envvar=\$ac_optarg
1300 export $ac_envvar ;;
1303 # FIXME: should be removed in autoconf 3.0.
1304 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1305 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1306 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1307 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1313 if test -n "$ac_prev"; then
1314 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1315 { echo "$as_me: error: missing argument to $ac_option" >&2
1316 { (exit 1); exit 1; }; }
1319 # Be sure to have absolute directory names.
1320 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1321 datadir sysconfdir sharedstatedir localstatedir includedir \
1322 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1323 libdir localedir mandir
1325 eval ac_val=\$$ac_var
1327 [\\/$]* | ?:[\\/]* ) continue;;
1328 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1330 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1331 { (exit 1); exit 1; }; }
1334 # There might be people who depend on the old broken behavior: `$host'
1335 # used to hold the argument of --host etc.
1336 # FIXME: To remove some day.
1339 target=$target_alias
1341 # FIXME: To remove some day.
1342 if test "x$host_alias" != x; then
1343 if test "x$build_alias" = x; then
1344 cross_compiling=maybe
1345 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1346 If a cross compiler is detected then cross compile mode will be used." >&2
1347 elif test "x$build_alias" != "x$host_alias"; then
1353 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1355 test "$silent" = yes && exec 6>/dev/null
1358 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1359 ac_ls_di=`ls -di .` &&
1360 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1361 { echo "$as_me: error: Working directory cannot be determined" >&2
1362 { (exit 1); exit 1; }; }
1363 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1364 { echo "$as_me: error: pwd does not report name of working directory" >&2
1365 { (exit 1); exit 1; }; }
1368 # Find the source files, if location was not specified.
1369 if test -z "$srcdir"; then
1370 ac_srcdir_defaulted=yes
1371 # Try the directory containing this script, then the parent directory.
1372 ac_confdir=`$as_dirname -- "$0" ||
1373 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1374 X"$0" : 'X\(//\)[^/]' \| \
1375 X"$0" : 'X\(//\)$' \| \
1376 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1378 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1396 if test ! -r "$srcdir/$ac_unique_file"; then
1400 ac_srcdir_defaulted=no
1402 if test ! -r "$srcdir/$ac_unique_file"; then
1403 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1404 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1405 { (exit 1); exit 1; }; }
1407 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1409 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1410 { (exit 1); exit 1; }; }
1412 # When building in place, set srcdir=.
1413 if test "$ac_abs_confdir" = "$ac_pwd"; then
1416 # Remove unnecessary trailing slashes from srcdir.
1417 # Double slashes in file names in object file debugging info
1418 # mess up M-x gdb in Emacs.
1420 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1422 for ac_var in $ac_precious_vars; do
1423 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1424 eval ac_env_${ac_var}_value=\$${ac_var}
1425 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1426 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1430 # Report the --help message.
1432 if test "$ac_init_help" = "long"; then
1433 # Omit some internal or obsolete options to make the list less imposing.
1434 # This message is too long to be a string in the A/UX 3.1 sh.
1436 \`configure' configures tsremuxcpp 0.1 to adapt to many kinds of systems.
1438 Usage: $0 [OPTION]... [VAR=VALUE]...
1440 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1441 VAR=VALUE. See below for descriptions of some of the useful variables.
1443 Defaults for the options are specified in brackets.
1446 -h, --help display this help and exit
1447 --help=short display options specific to this package
1448 --help=recursive display the short help of all the included packages
1449 -V, --version display version information and exit
1450 -q, --quiet, --silent do not print \`checking...' messages
1451 --cache-file=FILE cache test results in FILE [disabled]
1452 -C, --config-cache alias for \`--cache-file=config.cache'
1453 -n, --no-create do not create output files
1454 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1456 Installation directories:
1457 --prefix=PREFIX install architecture-independent files in PREFIX
1458 [$ac_default_prefix]
1459 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1462 By default, \`make install' will install all the files in
1463 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1464 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1465 for instance \`--prefix=\$HOME'.
1467 For better control, use the options below.
1469 Fine tuning of the installation directories:
1470 --bindir=DIR user executables [EPREFIX/bin]
1471 --sbindir=DIR system admin executables [EPREFIX/sbin]
1472 --libexecdir=DIR program executables [EPREFIX/libexec]
1473 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1474 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1475 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1476 --libdir=DIR object code libraries [EPREFIX/lib]
1477 --includedir=DIR C header files [PREFIX/include]
1478 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1479 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1480 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1481 --infodir=DIR info documentation [DATAROOTDIR/info]
1482 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1483 --mandir=DIR man documentation [DATAROOTDIR/man]
1484 --docdir=DIR documentation root [DATAROOTDIR/doc/tsremuxcpp]
1485 --htmldir=DIR html documentation [DOCDIR]
1486 --dvidir=DIR dvi documentation [DOCDIR]
1487 --pdfdir=DIR pdf documentation [DOCDIR]
1488 --psdir=DIR ps documentation [DOCDIR]
1494 --program-prefix=PREFIX prepend PREFIX to installed program names
1495 --program-suffix=SUFFIX append SUFFIX to installed program names
1496 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1499 --build=BUILD configure for building on BUILD [guessed]
1500 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1504 if test -n "$ac_init_help"; then
1505 case $ac_init_help in
1506 short | recursive ) echo "Configuration of tsremuxcpp 0.1:";;
1511 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1512 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1513 --enable-maintainer-mode enable make rules and dependencies not useful
1514 (and sometimes confusing) to the casual installer
1515 --disable-dependency-tracking speeds up one-time build
1516 --enable-dependency-tracking do not reject slow dependency extractors
1517 --disable-nls do not use Native Language Support
1518 --enable-shared[=PKGS] build shared libraries [default=yes]
1519 --enable-static[=PKGS] build static libraries [default=yes]
1520 --enable-fast-install[=PKGS]
1521 optimize for fast installation [default=yes]
1522 --disable-libtool-lock avoid locking (might break parallel builds)
1525 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1526 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1527 --with-pic try to use only PIC/non-PIC objects [default=use
1529 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1531 Some influential environment variables:
1532 CC C compiler command
1533 CFLAGS C compiler flags
1534 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1535 nonstandard directory <lib dir>
1536 LIBS libraries to pass to the linker, e.g. -l<library>
1537 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1538 you have headers in a nonstandard directory <include dir>
1539 CXX C++ compiler command
1540 CXXFLAGS C++ compiler flags
1542 CXXCPP C++ preprocessor
1544 Use these variables to override the choices made by `configure' or to help
1545 it to find libraries and programs with nonstandard names/locations.
1551 if test "$ac_init_help" = "recursive"; then
1552 # If there are subdirs, report their specific --help.
1553 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1554 test -d "$ac_dir" || continue
1558 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1560 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1561 # A ".." for each directory in $ac_dir_suffix.
1562 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1563 case $ac_top_builddir_sub in
1564 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1565 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1568 ac_abs_top_builddir=$ac_pwd
1569 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1570 # for backward compatibility:
1571 ac_top_builddir=$ac_top_build_prefix
1574 .) # We are building in place.
1576 ac_top_srcdir=$ac_top_builddir_sub
1577 ac_abs_top_srcdir=$ac_pwd ;;
1578 [\\/]* | ?:[\\/]* ) # Absolute name.
1579 ac_srcdir=$srcdir$ac_dir_suffix;
1580 ac_top_srcdir=$srcdir
1581 ac_abs_top_srcdir=$srcdir ;;
1583 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1584 ac_top_srcdir=$ac_top_build_prefix$srcdir
1585 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1587 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1589 cd "$ac_dir" || { ac_status=$?; continue; }
1590 # Check for guested configure.
1591 if test -f "$ac_srcdir/configure.gnu"; then
1593 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1594 elif test -f "$ac_srcdir/configure"; then
1596 $SHELL "$ac_srcdir/configure" --help=recursive
1598 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1600 cd "$ac_pwd" || { ac_status=$?; break; }
1604 test -n "$ac_init_help" && exit $ac_status
1605 if $ac_init_version; then
1607 tsremuxcpp configure 0.1
1608 generated by GNU Autoconf 2.61
1610 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1611 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1612 This configure script is free software; the Free Software Foundation
1613 gives unlimited permission to copy, distribute and modify it.
1617 cat >config.log <<_ACEOF
1618 This file contains any messages produced by compilers while
1619 running configure, to aid debugging if configure makes a mistake.
1621 It was created by tsremuxcpp $as_me 0.1, which was
1622 generated by GNU Autoconf 2.61. Invocation command line was
1634 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1635 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1636 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1637 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1638 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1640 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1641 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1643 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1644 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1645 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1646 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1647 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1648 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1649 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1657 test -z "$as_dir" && as_dir=.
1658 echo "PATH: $as_dir"
1674 # Keep a trace of the command line.
1675 # Strip out --no-create and --no-recursion so they do not pile up.
1676 # Strip out --silent because we don't want to record it for future runs.
1677 # Also quote any args containing shell meta-characters.
1678 # Make two passes to allow for proper duplicate-argument suppression.
1682 ac_must_keep_next=false
1688 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1689 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1690 | -silent | --silent | --silen | --sile | --sil)
1693 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1696 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1698 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1699 if test $ac_must_keep_next = true; then
1700 ac_must_keep_next=false # Got value, back to normal.
1703 *=* | --config-cache | -C | -disable-* | --disable-* \
1704 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1705 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1706 | -with-* | --with-* | -without-* | --without-* | --x)
1707 case "$ac_configure_args0 " in
1708 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1711 -* ) ac_must_keep_next=true ;;
1714 ac_configure_args="$ac_configure_args '$ac_arg'"
1719 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1720 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1722 # When interrupted or exit'd, cleanup temporary files, and complete
1723 # config.log. We remove comments because anyway the quotes in there
1724 # would cause problems or look ugly.
1725 # WARNING: Use '\'' to represent an apostrophe within the trap.
1726 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1727 trap 'exit_status=$?
1728 # Save into config.log some information that might help in debugging.
1733 ## ---------------- ##
1734 ## Cache variables. ##
1735 ## ---------------- ##
1738 # The following way of writing the cache mishandles newlines in values,
1740 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1741 eval ac_val=\$$ac_var
1745 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1746 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1749 _ | IFS | as_nl) ;; #(
1750 *) $as_unset $ac_var ;;
1755 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1756 *${as_nl}ac_space=\ *)
1758 "s/'\''/'\''\\\\'\'''\''/g;
1759 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1762 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1770 ## ----------------- ##
1771 ## Output variables. ##
1772 ## ----------------- ##
1775 for ac_var in $ac_subst_vars
1777 eval ac_val=\$$ac_var
1779 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1781 echo "$ac_var='\''$ac_val'\''"
1785 if test -n "$ac_subst_files"; then
1787 ## ------------------- ##
1788 ## File substitutions. ##
1789 ## ------------------- ##
1792 for ac_var in $ac_subst_files
1794 eval ac_val=\$$ac_var
1796 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1798 echo "$ac_var='\''$ac_val'\''"
1803 if test -s confdefs.h; then
1813 test "$ac_signal" != 0 &&
1814 echo "$as_me: caught signal $ac_signal"
1815 echo "$as_me: exit $exit_status"
1817 rm -f core *.core core.conftest.* &&
1818 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1821 for ac_signal in 1 2 13 15; do
1822 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1826 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1827 rm -f -r conftest* confdefs.h
1829 # Predefined preprocessor variables.
1831 cat >>confdefs.h <<_ACEOF
1832 #define PACKAGE_NAME "$PACKAGE_NAME"
1836 cat >>confdefs.h <<_ACEOF
1837 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1841 cat >>confdefs.h <<_ACEOF
1842 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1846 cat >>confdefs.h <<_ACEOF
1847 #define PACKAGE_STRING "$PACKAGE_STRING"
1851 cat >>confdefs.h <<_ACEOF
1852 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1856 # Let the site file select an alternate cache file if it wants to.
1857 # Prefer explicitly selected file to automatically selected ones.
1858 if test -n "$CONFIG_SITE"; then
1859 set x "$CONFIG_SITE"
1860 elif test "x$prefix" != xNONE; then
1861 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1863 set x "$ac_default_prefix/share/config.site" \
1864 "$ac_default_prefix/etc/config.site"
1869 if test -r "$ac_site_file"; then
1870 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1871 echo "$as_me: loading site script $ac_site_file" >&6;}
1872 sed 's/^/| /' "$ac_site_file" >&5
1877 if test -r "$cache_file"; then
1878 # Some versions of bash will fail to source /dev/null (special
1879 # files actually), so we avoid doing that.
1880 if test -f "$cache_file"; then
1881 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1882 echo "$as_me: loading cache $cache_file" >&6;}
1884 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1885 *) . "./$cache_file";;
1889 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1890 echo "$as_me: creating cache $cache_file" >&6;}
1894 # Check that the precious variables saved in the cache have kept the same
1896 ac_cache_corrupted=false
1897 for ac_var in $ac_precious_vars; do
1898 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1899 eval ac_new_set=\$ac_env_${ac_var}_set
1900 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1901 eval ac_new_val=\$ac_env_${ac_var}_value
1902 case $ac_old_set,$ac_new_set in
1904 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1905 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1906 ac_cache_corrupted=: ;;
1908 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1909 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1910 ac_cache_corrupted=: ;;
1913 if test "x$ac_old_val" != "x$ac_new_val"; then
1914 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1915 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1916 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1917 echo "$as_me: former value: $ac_old_val" >&2;}
1918 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1919 echo "$as_me: current value: $ac_new_val" >&2;}
1920 ac_cache_corrupted=:
1923 # Pass precious variables to config.status.
1924 if test "$ac_new_set" = set; then
1926 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1927 *) ac_arg=$ac_var=$ac_new_val ;;
1929 case " $ac_configure_args " in
1930 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1931 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1935 if $ac_cache_corrupted; then
1936 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1937 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1938 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1939 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1940 { (exit 1); exit 1; }; }
1968 ac_cpp='$CPP $CPPFLAGS'
1969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1975 am__api_version='1.10'
1978 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1979 if test -f "$ac_dir/install-sh"; then
1981 ac_install_sh="$ac_aux_dir/install-sh -c"
1983 elif test -f "$ac_dir/install.sh"; then
1985 ac_install_sh="$ac_aux_dir/install.sh -c"
1987 elif test -f "$ac_dir/shtool"; then
1989 ac_install_sh="$ac_aux_dir/shtool install -c"
1993 if test -z "$ac_aux_dir"; then
1994 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1995 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1996 { (exit 1); exit 1; }; }
1999 # These three variables are undocumented and unsupported,
2000 # and are intended to be withdrawn in a future Autoconf release.
2001 # They can cause serious problems if a builder's source tree is in a directory
2002 # whose full name contains unusual characters.
2003 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2004 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2005 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2008 # Find a good install program. We prefer a C program (faster),
2009 # so one script is as good as another. But avoid the broken or
2010 # incompatible versions:
2011 # SysV /etc/install, /usr/sbin/install
2012 # SunOS /usr/etc/install
2013 # IRIX /sbin/install
2015 # AmigaOS /C/install, which installs bootblocks on floppy discs
2016 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2017 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2018 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2019 # OS/2's system install, which has a completely different semantic
2020 # ./install, which can be erroneously created by make from ./install.sh.
2021 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2022 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2023 if test -z "$INSTALL"; then
2024 if test "${ac_cv_path_install+set}" = set; then
2025 echo $ECHO_N "(cached) $ECHO_C" >&6
2027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2031 test -z "$as_dir" && as_dir=.
2032 # Account for people who put trailing slashes in PATH elements.
2034 ./ | .// | /cC/* | \
2035 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2036 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2039 # OSF1 and SCO ODT 3.0 have their own names for install.
2040 # Don't use installbsd from OSF since it installs stuff as root
2042 for ac_prog in ginstall scoinst install; do
2043 for ac_exec_ext in '' $ac_executable_extensions; do
2044 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2045 if test $ac_prog = install &&
2046 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2047 # AIX install. It has an incompatible calling convention.
2049 elif test $ac_prog = install &&
2050 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2051 # program-specific install script used by HP pwplus--don't use.
2054 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2067 if test "${ac_cv_path_install+set}" = set; then
2068 INSTALL=$ac_cv_path_install
2070 # As a last resort, use the slow shell script. Don't cache a
2071 # value for INSTALL within a source directory, because that will
2072 # break other packages using the cache if that directory is
2073 # removed, or if the value is a relative name.
2074 INSTALL=$ac_install_sh
2077 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2078 echo "${ECHO_T}$INSTALL" >&6; }
2080 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2081 # It thinks the first close brace ends the variable substitution.
2082 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2084 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2086 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2088 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2089 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2092 echo timestamp > conftest.file
2093 # Do `set' in a subshell so we don't clobber the current shell's
2094 # arguments. Must try -L first in case configure is actually a
2095 # symlink; some systems play weird games with the mod time of symlinks
2096 # (eg FreeBSD returns the mod time of the symlink's containing
2099 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2100 if test "$*" = "X"; then
2102 set X `ls -t $srcdir/configure conftest.file`
2105 if test "$*" != "X $srcdir/configure conftest.file" \
2106 && test "$*" != "X conftest.file $srcdir/configure"; then
2108 # If neither matched, then we have a broken ls. This can happen
2109 # if, for instance, CONFIG_SHELL is bash and it inherits a
2110 # broken ls alias from the environment. This has actually
2111 # happened. Such a system could not be considered "sane".
2112 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2113 alias in your environment" >&5
2114 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2115 alias in your environment" >&2;}
2116 { (exit 1); exit 1; }; }
2119 test "$2" = conftest.file
2125 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2126 Check your system clock" >&5
2127 echo "$as_me: error: newly created file is older than distributed files!
2128 Check your system clock" >&2;}
2129 { (exit 1); exit 1; }; }
2131 { echo "$as_me:$LINENO: result: yes" >&5
2132 echo "${ECHO_T}yes" >&6; }
2133 test "$program_prefix" != NONE &&
2134 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2135 # Use a double $ so make ignores it.
2136 test "$program_suffix" != NONE &&
2137 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2138 # Double any \ or $. echo might interpret backslashes.
2139 # By default was `s,x,x', remove it if useless.
2140 cat <<\_ACEOF >conftest.sed
2141 s/[\\$]/&&/g;s/;s,x,x,$//
2143 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2146 # expand $ac_aux_dir to an absolute path
2147 am_aux_dir=`cd $ac_aux_dir && pwd`
2149 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2150 # Use eval to expand $SHELL
2151 if eval "$MISSING --run true"; then
2152 am_missing_run="$MISSING --run "
2155 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2156 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2159 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2160 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2161 if test -z "$MKDIR_P"; then
2162 if test "${ac_cv_path_mkdir+set}" = set; then
2163 echo $ECHO_N "(cached) $ECHO_C" >&6
2165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2166 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2169 test -z "$as_dir" && as_dir=.
2170 for ac_prog in mkdir gmkdir; do
2171 for ac_exec_ext in '' $ac_executable_extensions; do
2172 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2173 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2174 'mkdir (GNU coreutils) '* | \
2175 'mkdir (coreutils) '* | \
2176 'mkdir (fileutils) '4.1*)
2177 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2187 if test "${ac_cv_path_mkdir+set}" = set; then
2188 MKDIR_P="$ac_cv_path_mkdir -p"
2190 # As a last resort, use the slow shell script. Don't cache a
2191 # value for MKDIR_P within a source directory, because that will
2192 # break other packages using the cache if that directory is
2193 # removed, or if the value is a relative name.
2194 test -d ./--version && rmdir ./--version
2195 MKDIR_P="$ac_install_sh -d"
2198 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2199 echo "${ECHO_T}$MKDIR_P" >&6; }
2203 [\\/$]* | ?:[\\/]*) ;;
2204 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2207 for ac_prog in gawk mawk nawk awk
2209 # Extract the first word of "$ac_prog", so it can be a program name with args.
2210 set dummy $ac_prog; ac_word=$2
2211 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2213 if test "${ac_cv_prog_AWK+set}" = set; then
2214 echo $ECHO_N "(cached) $ECHO_C" >&6
2216 if test -n "$AWK"; then
2217 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2223 test -z "$as_dir" && as_dir=.
2224 for ac_exec_ext in '' $ac_executable_extensions; do
2225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2226 ac_cv_prog_AWK="$ac_prog"
2227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2237 if test -n "$AWK"; then
2238 { echo "$as_me:$LINENO: result: $AWK" >&5
2239 echo "${ECHO_T}$AWK" >&6; }
2241 { echo "$as_me:$LINENO: result: no" >&5
2242 echo "${ECHO_T}no" >&6; }
2246 test -n "$AWK" && break
2249 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2250 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2251 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2252 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2253 echo $ECHO_N "(cached) $ECHO_C" >&6
2255 cat >conftest.make <<\_ACEOF
2258 @echo '@@@%%%=$(MAKE)=@@@%%%'
2260 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2261 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2263 eval ac_cv_prog_make_${ac_make}_set=yes;;
2265 eval ac_cv_prog_make_${ac_make}_set=no;;
2269 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2270 { echo "$as_me:$LINENO: result: yes" >&5
2271 echo "${ECHO_T}yes" >&6; }
2274 { echo "$as_me:$LINENO: result: no" >&5
2275 echo "${ECHO_T}no" >&6; }
2276 SET_MAKE="MAKE=${MAKE-make}"
2279 rm -rf .tst 2>/dev/null
2280 mkdir .tst 2>/dev/null
2281 if test -d .tst; then
2286 rmdir .tst 2>/dev/null
2288 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2289 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2290 # is not polluted with repeated "-I."
2291 am__isrc=' -I$(srcdir)'
2292 # test to see if srcdir already configured
2293 if test -f $srcdir/config.status; then
2294 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2295 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2296 { (exit 1); exit 1; }; }
2300 # test whether we have cygpath
2301 if test -z "$CYGPATH_W"; then
2302 if (cygpath --version) >/dev/null 2>/dev/null; then
2303 CYGPATH_W='cygpath -w'
2310 # Define the identity of the package.
2315 cat >>confdefs.h <<_ACEOF
2316 #define PACKAGE "$PACKAGE"
2320 cat >>confdefs.h <<_ACEOF
2321 #define VERSION "$VERSION"
2324 # Some tools Automake needs.
2326 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2329 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2332 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2335 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2338 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2340 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2342 # Installed binaries are usually stripped using `strip' when the user
2343 # run `make install-strip'. However `strip' might not be the right
2344 # tool to use in cross-compilation environments, therefore Automake
2345 # will honor the `STRIP' environment variable to overrule this program.
2346 if test "$cross_compiling" != no; then
2347 if test -n "$ac_tool_prefix"; then
2348 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2349 set dummy ${ac_tool_prefix}strip; ac_word=$2
2350 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2352 if test "${ac_cv_prog_STRIP+set}" = set; then
2353 echo $ECHO_N "(cached) $ECHO_C" >&6
2355 if test -n "$STRIP"; then
2356 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2362 test -z "$as_dir" && as_dir=.
2363 for ac_exec_ext in '' $ac_executable_extensions; do
2364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2365 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2375 STRIP=$ac_cv_prog_STRIP
2376 if test -n "$STRIP"; then
2377 { echo "$as_me:$LINENO: result: $STRIP" >&5
2378 echo "${ECHO_T}$STRIP" >&6; }
2380 { echo "$as_me:$LINENO: result: no" >&5
2381 echo "${ECHO_T}no" >&6; }
2386 if test -z "$ac_cv_prog_STRIP"; then
2388 # Extract the first word of "strip", so it can be a program name with args.
2389 set dummy strip; ac_word=$2
2390 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2392 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2393 echo $ECHO_N "(cached) $ECHO_C" >&6
2395 if test -n "$ac_ct_STRIP"; then
2396 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2402 test -z "$as_dir" && as_dir=.
2403 for ac_exec_ext in '' $ac_executable_extensions; do
2404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2405 ac_cv_prog_ac_ct_STRIP="strip"
2406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2415 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2416 if test -n "$ac_ct_STRIP"; then
2417 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2418 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2420 { echo "$as_me:$LINENO: result: no" >&5
2421 echo "${ECHO_T}no" >&6; }
2424 if test "x$ac_ct_STRIP" = x; then
2427 case $cross_compiling:$ac_tool_warned in
2429 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2430 whose name does not start with the host triplet. If you think this
2431 configuration is useful to you, please write to autoconf@gnu.org." >&5
2432 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2433 whose name does not start with the host triplet. If you think this
2434 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2435 ac_tool_warned=yes ;;
2440 STRIP="$ac_cv_prog_STRIP"
2444 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2446 # We need awk for the "check" target. The system "awk" is bad on
2448 # Always define AMTAR for backward compatibility.
2450 AMTAR=${AMTAR-"${am_missing_run}tar"}
2452 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2458 ac_config_headers="$ac_config_headers config.h"
2460 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2461 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2462 # Check whether --enable-maintainer-mode was given.
2463 if test "${enable_maintainer_mode+set}" = set; then
2464 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2466 USE_MAINTAINER_MODE=no
2469 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2470 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2471 if test $USE_MAINTAINER_MODE = yes; then
2472 MAINTAINER_MODE_TRUE=
2473 MAINTAINER_MODE_FALSE='#'
2475 MAINTAINER_MODE_TRUE='#'
2476 MAINTAINER_MODE_FALSE=
2479 MAINT=$MAINTAINER_MODE_TRUE
2483 DEPDIR="${am__leading_dot}deps"
2485 ac_config_commands="$ac_config_commands depfiles"
2488 am_make=${MAKE-make}
2489 cat > confinc << 'END'
2494 # If we don't find an include directive, just comment out the code.
2495 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2496 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2500 # First try GNU make style include.
2501 echo "include confinc" > confmf
2502 # We grep out `Entering directory' and `Leaving directory'
2503 # messages which can occur if `w' ends up in MAKEFLAGS.
2504 # In particular we don't look at `^make:' because GNU make might
2505 # be invoked under some other name (usually "gmake"), in which
2506 # case it prints its new name instead of `make'.
2507 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2512 # Now try BSD make style include.
2513 if test "$am__include" = "#"; then
2514 echo '.include "confinc"' > confmf
2515 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2516 am__include=.include
2523 { echo "$as_me:$LINENO: result: $_am_result" >&5
2524 echo "${ECHO_T}$_am_result" >&6; }
2525 rm -f confinc confmf
2527 # Check whether --enable-dependency-tracking was given.
2528 if test "${enable_dependency_tracking+set}" = set; then
2529 enableval=$enable_dependency_tracking;
2532 if test "x$enable_dependency_tracking" != xno; then
2533 am_depcomp="$ac_aux_dir/depcomp"
2536 if test "x$enable_dependency_tracking" != xno; then
2546 ac_cpp='$CPP $CPPFLAGS'
2547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2550 if test -n "$ac_tool_prefix"; then
2551 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2552 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2553 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2555 if test "${ac_cv_prog_CC+set}" = set; then
2556 echo $ECHO_N "(cached) $ECHO_C" >&6
2558 if test -n "$CC"; then
2559 ac_cv_prog_CC="$CC" # Let the user override the test.
2561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2565 test -z "$as_dir" && as_dir=.
2566 for ac_exec_ext in '' $ac_executable_extensions; do
2567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2568 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2579 if test -n "$CC"; then
2580 { echo "$as_me:$LINENO: result: $CC" >&5
2581 echo "${ECHO_T}$CC" >&6; }
2583 { echo "$as_me:$LINENO: result: no" >&5
2584 echo "${ECHO_T}no" >&6; }
2589 if test -z "$ac_cv_prog_CC"; then
2591 # Extract the first word of "gcc", so it can be a program name with args.
2592 set dummy gcc; ac_word=$2
2593 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2595 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2596 echo $ECHO_N "(cached) $ECHO_C" >&6
2598 if test -n "$ac_ct_CC"; then
2599 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2605 test -z "$as_dir" && as_dir=.
2606 for ac_exec_ext in '' $ac_executable_extensions; do
2607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2608 ac_cv_prog_ac_ct_CC="gcc"
2609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2618 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2619 if test -n "$ac_ct_CC"; then
2620 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2621 echo "${ECHO_T}$ac_ct_CC" >&6; }
2623 { echo "$as_me:$LINENO: result: no" >&5
2624 echo "${ECHO_T}no" >&6; }
2627 if test "x$ac_ct_CC" = x; then
2630 case $cross_compiling:$ac_tool_warned in
2632 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2633 whose name does not start with the host triplet. If you think this
2634 configuration is useful to you, please write to autoconf@gnu.org." >&5
2635 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2636 whose name does not start with the host triplet. If you think this
2637 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2638 ac_tool_warned=yes ;;
2646 if test -z "$CC"; then
2647 if test -n "$ac_tool_prefix"; then
2648 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2649 set dummy ${ac_tool_prefix}cc; ac_word=$2
2650 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2652 if test "${ac_cv_prog_CC+set}" = set; then
2653 echo $ECHO_N "(cached) $ECHO_C" >&6
2655 if test -n "$CC"; then
2656 ac_cv_prog_CC="$CC" # Let the user override the test.
2658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2662 test -z "$as_dir" && as_dir=.
2663 for ac_exec_ext in '' $ac_executable_extensions; do
2664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2665 ac_cv_prog_CC="${ac_tool_prefix}cc"
2666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2676 if test -n "$CC"; then
2677 { echo "$as_me:$LINENO: result: $CC" >&5
2678 echo "${ECHO_T}$CC" >&6; }
2680 { echo "$as_me:$LINENO: result: no" >&5
2681 echo "${ECHO_T}no" >&6; }
2687 if test -z "$CC"; then
2688 # Extract the first word of "cc", so it can be a program name with args.
2689 set dummy cc; ac_word=$2
2690 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2692 if test "${ac_cv_prog_CC+set}" = set; then
2693 echo $ECHO_N "(cached) $ECHO_C" >&6
2695 if test -n "$CC"; then
2696 ac_cv_prog_CC="$CC" # Let the user override the test.
2699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2703 test -z "$as_dir" && as_dir=.
2704 for ac_exec_ext in '' $ac_executable_extensions; do
2705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2706 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2707 ac_prog_rejected=yes
2711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2718 if test $ac_prog_rejected = yes; then
2719 # We found a bogon in the path, so make sure we never use it.
2720 set dummy $ac_cv_prog_CC
2722 if test $# != 0; then
2723 # We chose a different compiler from the bogus one.
2724 # However, it has the same basename, so the bogon will be chosen
2725 # first if we set CC to just the basename; use the full file name.
2727 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2733 if test -n "$CC"; then
2734 { echo "$as_me:$LINENO: result: $CC" >&5
2735 echo "${ECHO_T}$CC" >&6; }
2737 { echo "$as_me:$LINENO: result: no" >&5
2738 echo "${ECHO_T}no" >&6; }
2743 if test -z "$CC"; then
2744 if test -n "$ac_tool_prefix"; then
2745 for ac_prog in cl.exe
2747 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2748 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2749 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2751 if test "${ac_cv_prog_CC+set}" = set; then
2752 echo $ECHO_N "(cached) $ECHO_C" >&6
2754 if test -n "$CC"; then
2755 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 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2775 if test -n "$CC"; then
2776 { echo "$as_me:$LINENO: result: $CC" >&5
2777 echo "${ECHO_T}$CC" >&6; }
2779 { echo "$as_me:$LINENO: result: no" >&5
2780 echo "${ECHO_T}no" >&6; }
2784 test -n "$CC" && break
2787 if test -z "$CC"; then
2789 for ac_prog in cl.exe
2791 # Extract the first word of "$ac_prog", so it can be a program name with args.
2792 set dummy $ac_prog; ac_word=$2
2793 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2795 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2796 echo $ECHO_N "(cached) $ECHO_C" >&6
2798 if test -n "$ac_ct_CC"; then
2799 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2805 test -z "$as_dir" && as_dir=.
2806 for ac_exec_ext in '' $ac_executable_extensions; do
2807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2808 ac_cv_prog_ac_ct_CC="$ac_prog"
2809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2818 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2819 if test -n "$ac_ct_CC"; then
2820 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2821 echo "${ECHO_T}$ac_ct_CC" >&6; }
2823 { echo "$as_me:$LINENO: result: no" >&5
2824 echo "${ECHO_T}no" >&6; }
2828 test -n "$ac_ct_CC" && break
2831 if test "x$ac_ct_CC" = x; then
2834 case $cross_compiling:$ac_tool_warned in
2836 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2837 whose name does not start with the host triplet. If you think this
2838 configuration is useful to you, please write to autoconf@gnu.org." >&5
2839 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2840 whose name does not start with the host triplet. If you think this
2841 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2842 ac_tool_warned=yes ;;
2851 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2852 See \`config.log' for more details." >&5
2853 echo "$as_me: error: no acceptable C compiler found in \$PATH
2854 See \`config.log' for more details." >&2;}
2855 { (exit 1); exit 1; }; }
2857 # Provide some information about the compiler.
2858 echo "$as_me:$LINENO: checking for C compiler version" >&5
2859 ac_compiler=`set X $ac_compile; echo $2`
2860 { (ac_try="$ac_compiler --version >&5"
2862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2863 *) ac_try_echo=$ac_try;;
2865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2866 (eval "$ac_compiler --version >&5") 2>&5
2868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2869 (exit $ac_status); }
2870 { (ac_try="$ac_compiler -v >&5"
2872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2873 *) ac_try_echo=$ac_try;;
2875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2876 (eval "$ac_compiler -v >&5") 2>&5
2878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879 (exit $ac_status); }
2880 { (ac_try="$ac_compiler -V >&5"
2882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2883 *) ac_try_echo=$ac_try;;
2885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2886 (eval "$ac_compiler -V >&5") 2>&5
2888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2889 (exit $ac_status); }
2891 cat >conftest.$ac_ext <<_ACEOF
2894 cat confdefs.h >>conftest.$ac_ext
2895 cat >>conftest.$ac_ext <<_ACEOF
2896 /* end confdefs.h. */
2906 ac_clean_files_save=$ac_clean_files
2907 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2908 # Try to create an executable without -o first, disregard a.out.
2909 # It will help us diagnose broken compilers, and finding out an intuition
2911 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2912 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2913 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2915 # List of possible output files, starting from the most likely.
2916 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2917 # only as a last resort. b.out is created by i960 compilers.
2918 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2920 # The IRIX 6 linker writes into existing files which may not be
2921 # executable, retaining their permissions. Remove them first so a
2922 # subsequent execution test works.
2924 for ac_file in $ac_files
2927 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2928 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2933 if { (ac_try="$ac_link_default"
2935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2936 *) ac_try_echo=$ac_try;;
2938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2939 (eval "$ac_link_default") 2>&5
2941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2942 (exit $ac_status); }; then
2943 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2944 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2945 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2946 # so that the user can short-circuit this test for compilers unknown to
2948 for ac_file in $ac_files ''
2950 test -f "$ac_file" || continue
2952 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2955 # We found the default executable, but exeext='' is most
2959 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2961 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2963 # We set ac_cv_exeext here because the later test for it is not
2964 # safe: cross compilers may not add the suffix if given an `-o'
2965 # argument, so we may need to know it at that point already.
2966 # Even if this section looks crufty: it has the advantage of
2973 test "$ac_cv_exeext" = no && ac_cv_exeext=
2979 { echo "$as_me:$LINENO: result: $ac_file" >&5
2980 echo "${ECHO_T}$ac_file" >&6; }
2981 if test -z "$ac_file"; then
2982 echo "$as_me: failed program was:" >&5
2983 sed 's/^/| /' conftest.$ac_ext >&5
2985 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2986 See \`config.log' for more details." >&5
2987 echo "$as_me: error: C compiler cannot create executables
2988 See \`config.log' for more details." >&2;}
2989 { (exit 77); exit 77; }; }
2992 ac_exeext=$ac_cv_exeext
2994 # Check that the compiler produces executables we can run. If not, either
2995 # the compiler is broken, or we cross compile.
2996 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2997 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2998 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2999 # If not cross compiling, check that we can run a simple program.
3000 if test "$cross_compiling" != yes; then
3001 if { ac_try='./$ac_file'
3002 { (case "(($ac_try" in
3003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3004 *) ac_try_echo=$ac_try;;
3006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3007 (eval "$ac_try") 2>&5
3009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3010 (exit $ac_status); }; }; then
3013 if test "$cross_compiling" = maybe; then
3016 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3017 If you meant to cross compile, use \`--host'.
3018 See \`config.log' for more details." >&5
3019 echo "$as_me: error: cannot run C compiled programs.
3020 If you meant to cross compile, use \`--host'.
3021 See \`config.log' for more details." >&2;}
3022 { (exit 1); exit 1; }; }
3026 { echo "$as_me:$LINENO: result: yes" >&5
3027 echo "${ECHO_T}yes" >&6; }
3029 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3030 ac_clean_files=$ac_clean_files_save
3031 # Check that the compiler produces executables we can run. If not, either
3032 # the compiler is broken, or we cross compile.
3033 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3034 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3035 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3036 echo "${ECHO_T}$cross_compiling" >&6; }
3038 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3039 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3040 if { (ac_try="$ac_link"
3042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3043 *) ac_try_echo=$ac_try;;
3045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3046 (eval "$ac_link") 2>&5
3048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3049 (exit $ac_status); }; then
3050 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3051 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3052 # work properly (i.e., refer to `conftest.exe'), while it won't with
3054 for ac_file in conftest.exe conftest conftest.*; do
3055 test -f "$ac_file" || continue
3057 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3058 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3064 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3065 See \`config.log' for more details." >&5
3066 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3067 See \`config.log' for more details." >&2;}
3068 { (exit 1); exit 1; }; }
3071 rm -f conftest$ac_cv_exeext
3072 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3073 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3075 rm -f conftest.$ac_ext
3076 EXEEXT=$ac_cv_exeext
3078 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3079 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3080 if test "${ac_cv_objext+set}" = set; then
3081 echo $ECHO_N "(cached) $ECHO_C" >&6
3083 cat >conftest.$ac_ext <<_ACEOF
3086 cat confdefs.h >>conftest.$ac_ext
3087 cat >>conftest.$ac_ext <<_ACEOF
3088 /* end confdefs.h. */
3098 rm -f conftest.o conftest.obj
3099 if { (ac_try="$ac_compile"
3101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3102 *) ac_try_echo=$ac_try;;
3104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3105 (eval "$ac_compile") 2>&5
3107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3108 (exit $ac_status); }; then
3109 for ac_file in conftest.o conftest.obj conftest.*; do
3110 test -f "$ac_file" || continue;
3112 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3113 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3118 echo "$as_me: failed program was:" >&5
3119 sed 's/^/| /' conftest.$ac_ext >&5
3121 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3122 See \`config.log' for more details." >&5
3123 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3124 See \`config.log' for more details." >&2;}
3125 { (exit 1); exit 1; }; }
3128 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3130 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3131 echo "${ECHO_T}$ac_cv_objext" >&6; }
3132 OBJEXT=$ac_cv_objext
3134 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3135 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3136 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3137 echo $ECHO_N "(cached) $ECHO_C" >&6
3139 cat >conftest.$ac_ext <<_ACEOF
3142 cat confdefs.h >>conftest.$ac_ext
3143 cat >>conftest.$ac_ext <<_ACEOF
3144 /* end confdefs.h. */
3157 rm -f conftest.$ac_objext
3158 if { (ac_try="$ac_compile"
3160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3161 *) ac_try_echo=$ac_try;;
3163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3164 (eval "$ac_compile") 2>conftest.er1
3166 grep -v '^ *+' conftest.er1 >conftest.err
3168 cat conftest.err >&5
3169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); } && {
3171 test -z "$ac_c_werror_flag" ||
3172 test ! -s conftest.err
3173 } && test -s conftest.$ac_objext; then
3176 echo "$as_me: failed program was:" >&5
3177 sed 's/^/| /' conftest.$ac_ext >&5
3182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3183 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3186 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3187 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3188 GCC=`test $ac_compiler_gnu = yes && echo yes`
3189 ac_test_CFLAGS=${CFLAGS+set}
3190 ac_save_CFLAGS=$CFLAGS
3191 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3192 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3193 if test "${ac_cv_prog_cc_g+set}" = set; then
3194 echo $ECHO_N "(cached) $ECHO_C" >&6
3196 ac_save_c_werror_flag=$ac_c_werror_flag
3197 ac_c_werror_flag=yes
3200 cat >conftest.$ac_ext <<_ACEOF
3203 cat confdefs.h >>conftest.$ac_ext
3204 cat >>conftest.$ac_ext <<_ACEOF
3205 /* 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
3238 cat >conftest.$ac_ext <<_ACEOF
3241 cat confdefs.h >>conftest.$ac_ext
3242 cat >>conftest.$ac_ext <<_ACEOF
3243 /* end confdefs.h. */
3253 rm -f conftest.$ac_objext
3254 if { (ac_try="$ac_compile"
3256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3257 *) ac_try_echo=$ac_try;;
3259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3260 (eval "$ac_compile") 2>conftest.er1
3262 grep -v '^ *+' conftest.er1 >conftest.err
3264 cat conftest.err >&5
3265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3266 (exit $ac_status); } && {
3267 test -z "$ac_c_werror_flag" ||
3268 test ! -s conftest.err
3269 } && test -s conftest.$ac_objext; then
3272 echo "$as_me: failed program was:" >&5
3273 sed 's/^/| /' conftest.$ac_ext >&5
3275 ac_c_werror_flag=$ac_save_c_werror_flag
3277 cat >conftest.$ac_ext <<_ACEOF
3280 cat confdefs.h >>conftest.$ac_ext
3281 cat >>conftest.$ac_ext <<_ACEOF
3282 /* end confdefs.h. */
3292 rm -f conftest.$ac_objext
3293 if { (ac_try="$ac_compile"
3295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3296 *) ac_try_echo=$ac_try;;
3298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3299 (eval "$ac_compile") 2>conftest.er1
3301 grep -v '^ *+' conftest.er1 >conftest.err
3303 cat conftest.err >&5
3304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305 (exit $ac_status); } && {
3306 test -z "$ac_c_werror_flag" ||
3307 test ! -s conftest.err
3308 } && test -s conftest.$ac_objext; then
3311 echo "$as_me: failed program was:" >&5
3312 sed 's/^/| /' conftest.$ac_ext >&5
3317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3324 ac_c_werror_flag=$ac_save_c_werror_flag
3326 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3327 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3328 if test "$ac_test_CFLAGS" = set; then
3329 CFLAGS=$ac_save_CFLAGS
3330 elif test $ac_cv_prog_cc_g = yes; then
3331 if test "$GCC" = yes; then
3337 if test "$GCC" = yes; then
3343 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3344 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3345 if test "${ac_cv_prog_cc_c89+set}" = set; then
3346 echo $ECHO_N "(cached) $ECHO_C" >&6
3348 ac_cv_prog_cc_c89=no
3350 cat >conftest.$ac_ext <<_ACEOF
3353 cat confdefs.h >>conftest.$ac_ext
3354 cat >>conftest.$ac_ext <<_ACEOF
3355 /* end confdefs.h. */
3358 #include <sys/types.h>
3359 #include <sys/stat.h>
3360 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3361 struct buf { int x; };
3362 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3363 static char *e (p, i)
3369 static char *f (char * (*g) (char **, int), char **p, ...)
3374 s = g (p, va_arg (v,int));
3379 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3380 function prototypes and stuff, but not '\xHH' hex character constants.
3381 These don't provoke an error unfortunately, instead are silently treated
3382 as 'x'. The following induces an error, until -std is added to get
3383 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3384 array size at least. It's necessary to write '\x00'==0 to get something
3385 that's true only with -std. */
3386 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3388 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3389 inside strings and character constants. */
3391 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3393 int test (int i, double x);
3394 struct s1 {int (*f) (int a);};
3395 struct s2 {int (*f) (double a);};
3396 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3402 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3407 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3408 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3410 CC="$ac_save_CC $ac_arg"
3411 rm -f conftest.$ac_objext
3412 if { (ac_try="$ac_compile"
3414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3415 *) ac_try_echo=$ac_try;;
3417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3418 (eval "$ac_compile") 2>conftest.er1
3420 grep -v '^ *+' conftest.er1 >conftest.err
3422 cat conftest.err >&5
3423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3424 (exit $ac_status); } && {
3425 test -z "$ac_c_werror_flag" ||
3426 test ! -s conftest.err
3427 } && test -s conftest.$ac_objext; then
3428 ac_cv_prog_cc_c89=$ac_arg
3430 echo "$as_me: failed program was:" >&5
3431 sed 's/^/| /' conftest.$ac_ext >&5
3436 rm -f core conftest.err conftest.$ac_objext
3437 test "x$ac_cv_prog_cc_c89" != "xno" && break
3439 rm -f conftest.$ac_ext
3444 case "x$ac_cv_prog_cc_c89" in
3446 { echo "$as_me:$LINENO: result: none needed" >&5
3447 echo "${ECHO_T}none needed" >&6; } ;;
3449 { echo "$as_me:$LINENO: result: unsupported" >&5
3450 echo "${ECHO_T}unsupported" >&6; } ;;
3452 CC="$CC $ac_cv_prog_cc_c89"
3453 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3454 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3459 ac_cpp='$CPP $CPPFLAGS'
3460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3464 depcc="$CC" am_compiler_list=
3466 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3467 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3468 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3469 echo $ECHO_N "(cached) $ECHO_C" >&6
3471 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3472 # We make a subdir and do the tests there. Otherwise we can end up
3473 # making bogus files that we don't know about and never remove. For
3474 # instance it was reported that on HP-UX the gcc test will end up
3475 # making a dummy file named `D' -- because `-MD' means `put the output
3478 # Copy depcomp to subdir because otherwise we won't find it if we're
3479 # using a relative directory.
3480 cp "$am_depcomp" conftest.dir
3482 # We will build objects and dependencies in a subdirectory because
3483 # it helps to detect inapplicable dependency modes. For instance
3484 # both Tru64's cc and ICC support -MD to output dependencies as a
3485 # side effect of compilation, but ICC will put the dependencies in
3486 # the current directory while Tru64 will put them in the object
3490 am_cv_CC_dependencies_compiler_type=none
3491 if test "$am_compiler_list" = ""; then
3492 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3494 for depmode in $am_compiler_list; do
3495 # Setup a source with many dependencies, because some compilers
3496 # like to wrap large dependency lists on column 80 (with \), and
3497 # we should not choose a depcomp mode which is confused by this.
3499 # We need to recreate these files for each test, as the compiler may
3500 # overwrite some of them when testing with obscure command lines.
3501 # This happens at least with the AIX C compiler.
3503 for i in 1 2 3 4 5 6; do
3504 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3505 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3506 # Solaris 8's {/usr,}/bin/sh.
3507 touch sub/conftst$i.h
3509 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3513 # after this tag, mechanisms are not by side-effect, so they'll
3514 # only be used when explicitly requested
3515 if test "x$enable_dependency_tracking" = xyes; then
3523 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3524 # mode. It turns out that the SunPro C++ compiler does not properly
3525 # handle `-M -o', and we need to detect this.
3526 if depmode=$depmode \
3527 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3528 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3529 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3530 >/dev/null 2>conftest.err &&
3531 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3532 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3533 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3534 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3535 # icc doesn't choke on unknown options, it will just issue warnings
3536 # or remarks (even with -Werror). So we grep stderr for any message
3537 # that says an option was ignored or not supported.
3538 # When given -MP, icc 7.0 and 7.1 complain thusly:
3539 # icc: Command line warning: ignoring option '-M'; no argument required
3540 # The diagnosis changed in icc 8.0:
3541 # icc: Command line remark: option '-MP' not supported
3542 if (grep 'ignoring option' conftest.err ||
3543 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3544 am_cv_CC_dependencies_compiler_type=$depmode
3553 am_cv_CC_dependencies_compiler_type=none
3557 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3558 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3559 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3562 test "x$enable_dependency_tracking" != xno \
3563 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3565 am__fastdepCC_FALSE='#'
3567 am__fastdepCC_TRUE='#'
3568 am__fastdepCC_FALSE=
3573 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
3574 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
3575 if test "${ac_cv_search_strerror+set}" = set; then
3576 echo $ECHO_N "(cached) $ECHO_C" >&6
3578 ac_func_search_save_LIBS=$LIBS
3579 cat >conftest.$ac_ext <<_ACEOF
3582 cat confdefs.h >>conftest.$ac_ext
3583 cat >>conftest.$ac_ext <<_ACEOF
3584 /* end confdefs.h. */
3586 /* Override any GCC internal prototype to avoid an error.
3587 Use char because int might match the return type of a GCC
3588 builtin and then its argument prototype would still apply. */
3601 for ac_lib in '' cposix; do
3602 if test -z "$ac_lib"; then
3603 ac_res="none required"
3606 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3608 rm -f conftest.$ac_objext conftest$ac_exeext
3609 if { (ac_try="$ac_link"
3611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3612 *) ac_try_echo=$ac_try;;
3614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3615 (eval "$ac_link") 2>conftest.er1
3617 grep -v '^ *+' conftest.er1 >conftest.err
3619 cat conftest.err >&5
3620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3621 (exit $ac_status); } && {
3622 test -z "$ac_c_werror_flag" ||
3623 test ! -s conftest.err
3624 } && test -s conftest$ac_exeext &&
3625 $as_test_x conftest$ac_exeext; then
3626 ac_cv_search_strerror=$ac_res
3628 echo "$as_me: failed program was:" >&5
3629 sed 's/^/| /' conftest.$ac_ext >&5
3634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3636 if test "${ac_cv_search_strerror+set}" = set; then
3640 if test "${ac_cv_search_strerror+set}" = set; then
3643 ac_cv_search_strerror=no
3646 LIBS=$ac_func_search_save_LIBS
3648 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3649 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
3650 ac_res=$ac_cv_search_strerror
3651 if test "$ac_res" != no; then
3652 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3657 ac_cpp='$CXXCPP $CPPFLAGS'
3658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3661 if test -z "$CXX"; then
3662 if test -n "$CCC"; then
3665 if test -n "$ac_tool_prefix"; then
3666 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3668 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3669 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3670 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3672 if test "${ac_cv_prog_CXX+set}" = set; then
3673 echo $ECHO_N "(cached) $ECHO_C" >&6
3675 if test -n "$CXX"; then
3676 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3682 test -z "$as_dir" && as_dir=.
3683 for ac_exec_ext in '' $ac_executable_extensions; do
3684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3685 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3696 if test -n "$CXX"; then
3697 { echo "$as_me:$LINENO: result: $CXX" >&5
3698 echo "${ECHO_T}$CXX" >&6; }
3700 { echo "$as_me:$LINENO: result: no" >&5
3701 echo "${ECHO_T}no" >&6; }
3705 test -n "$CXX" && break
3708 if test -z "$CXX"; then
3710 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3712 # Extract the first word of "$ac_prog", so it can be a program name with args.
3713 set dummy $ac_prog; ac_word=$2
3714 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3716 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3717 echo $ECHO_N "(cached) $ECHO_C" >&6
3719 if test -n "$ac_ct_CXX"; then
3720 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3726 test -z "$as_dir" && as_dir=.
3727 for ac_exec_ext in '' $ac_executable_extensions; do
3728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3729 ac_cv_prog_ac_ct_CXX="$ac_prog"
3730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3739 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3740 if test -n "$ac_ct_CXX"; then
3741 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3742 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3744 { echo "$as_me:$LINENO: result: no" >&5
3745 echo "${ECHO_T}no" >&6; }
3749 test -n "$ac_ct_CXX" && break
3752 if test "x$ac_ct_CXX" = x; then
3755 case $cross_compiling:$ac_tool_warned in
3757 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3758 whose name does not start with the host triplet. If you think this
3759 configuration is useful to you, please write to autoconf@gnu.org." >&5
3760 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3761 whose name does not start with the host triplet. If you think this
3762 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3763 ac_tool_warned=yes ;;
3771 # Provide some information about the compiler.
3772 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3773 ac_compiler=`set X $ac_compile; echo $2`
3774 { (ac_try="$ac_compiler --version >&5"
3776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3777 *) ac_try_echo=$ac_try;;
3779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3780 (eval "$ac_compiler --version >&5") 2>&5
3782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3783 (exit $ac_status); }
3784 { (ac_try="$ac_compiler -v >&5"
3786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3787 *) ac_try_echo=$ac_try;;
3789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3790 (eval "$ac_compiler -v >&5") 2>&5
3792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3793 (exit $ac_status); }
3794 { (ac_try="$ac_compiler -V >&5"
3796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3797 *) ac_try_echo=$ac_try;;
3799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3800 (eval "$ac_compiler -V >&5") 2>&5
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 (exit $ac_status); }
3805 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3806 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3807 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3808 echo $ECHO_N "(cached) $ECHO_C" >&6
3810 cat >conftest.$ac_ext <<_ACEOF
3813 cat confdefs.h >>conftest.$ac_ext
3814 cat >>conftest.$ac_ext <<_ACEOF
3815 /* end confdefs.h. */
3828 rm -f conftest.$ac_objext
3829 if { (ac_try="$ac_compile"
3831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3832 *) ac_try_echo=$ac_try;;
3834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3835 (eval "$ac_compile") 2>conftest.er1
3837 grep -v '^ *+' conftest.er1 >conftest.err
3839 cat conftest.err >&5
3840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3841 (exit $ac_status); } && {
3842 test -z "$ac_cxx_werror_flag" ||
3843 test ! -s conftest.err
3844 } && test -s conftest.$ac_objext; then
3847 echo "$as_me: failed program was:" >&5
3848 sed 's/^/| /' conftest.$ac_ext >&5
3853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3854 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3857 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3858 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3859 GXX=`test $ac_compiler_gnu = yes && echo yes`
3860 ac_test_CXXFLAGS=${CXXFLAGS+set}
3861 ac_save_CXXFLAGS=$CXXFLAGS
3862 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3863 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3864 if test "${ac_cv_prog_cxx_g+set}" = set; then
3865 echo $ECHO_N "(cached) $ECHO_C" >&6
3867 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3868 ac_cxx_werror_flag=yes
3871 cat >conftest.$ac_ext <<_ACEOF
3874 cat confdefs.h >>conftest.$ac_ext
3875 cat >>conftest.$ac_ext <<_ACEOF
3876 /* end confdefs.h. */
3886 rm -f conftest.$ac_objext
3887 if { (ac_try="$ac_compile"
3889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3890 *) ac_try_echo=$ac_try;;
3892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3893 (eval "$ac_compile") 2>conftest.er1
3895 grep -v '^ *+' conftest.er1 >conftest.err
3897 cat conftest.err >&5
3898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3899 (exit $ac_status); } && {
3900 test -z "$ac_cxx_werror_flag" ||
3901 test ! -s conftest.err
3902 } && test -s conftest.$ac_objext; then
3903 ac_cv_prog_cxx_g=yes
3905 echo "$as_me: failed program was:" >&5
3906 sed 's/^/| /' conftest.$ac_ext >&5
3909 cat >conftest.$ac_ext <<_ACEOF
3912 cat confdefs.h >>conftest.$ac_ext
3913 cat >>conftest.$ac_ext <<_ACEOF
3914 /* end confdefs.h. */
3924 rm -f conftest.$ac_objext
3925 if { (ac_try="$ac_compile"
3927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3928 *) ac_try_echo=$ac_try;;
3930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3931 (eval "$ac_compile") 2>conftest.er1
3933 grep -v '^ *+' conftest.er1 >conftest.err
3935 cat conftest.err >&5
3936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3937 (exit $ac_status); } && {
3938 test -z "$ac_cxx_werror_flag" ||
3939 test ! -s conftest.err
3940 } && test -s conftest.$ac_objext; then
3943 echo "$as_me: failed program was:" >&5
3944 sed 's/^/| /' conftest.$ac_ext >&5
3946 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3948 cat >conftest.$ac_ext <<_ACEOF
3951 cat confdefs.h >>conftest.$ac_ext
3952 cat >>conftest.$ac_ext <<_ACEOF
3953 /* end confdefs.h. */
3963 rm -f conftest.$ac_objext
3964 if { (ac_try="$ac_compile"
3966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3967 *) ac_try_echo=$ac_try;;
3969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3970 (eval "$ac_compile") 2>conftest.er1
3972 grep -v '^ *+' conftest.er1 >conftest.err
3974 cat conftest.err >&5
3975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3976 (exit $ac_status); } && {
3977 test -z "$ac_cxx_werror_flag" ||
3978 test ! -s conftest.err
3979 } && test -s conftest.$ac_objext; then
3980 ac_cv_prog_cxx_g=yes
3982 echo "$as_me: failed program was:" >&5
3983 sed 's/^/| /' conftest.$ac_ext >&5
3988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3995 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3997 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3998 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3999 if test "$ac_test_CXXFLAGS" = set; then
4000 CXXFLAGS=$ac_save_CXXFLAGS
4001 elif test $ac_cv_prog_cxx_g = yes; then
4002 if test "$GXX" = yes; then
4008 if test "$GXX" = yes; then
4015 ac_cpp='$CPP $CPPFLAGS'
4016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4020 depcc="$CXX" am_compiler_list=
4022 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4023 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4024 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4025 echo $ECHO_N "(cached) $ECHO_C" >&6
4027 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4028 # We make a subdir and do the tests there. Otherwise we can end up
4029 # making bogus files that we don't know about and never remove. For
4030 # instance it was reported that on HP-UX the gcc test will end up
4031 # making a dummy file named `D' -- because `-MD' means `put the output
4034 # Copy depcomp to subdir because otherwise we won't find it if we're
4035 # using a relative directory.
4036 cp "$am_depcomp" conftest.dir
4038 # We will build objects and dependencies in a subdirectory because
4039 # it helps to detect inapplicable dependency modes. For instance
4040 # both Tru64's cc and ICC support -MD to output dependencies as a
4041 # side effect of compilation, but ICC will put the dependencies in
4042 # the current directory while Tru64 will put them in the object
4046 am_cv_CXX_dependencies_compiler_type=none
4047 if test "$am_compiler_list" = ""; then
4048 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4050 for depmode in $am_compiler_list; do
4051 # Setup a source with many dependencies, because some compilers
4052 # like to wrap large dependency lists on column 80 (with \), and
4053 # we should not choose a depcomp mode which is confused by this.
4055 # We need to recreate these files for each test, as the compiler may
4056 # overwrite some of them when testing with obscure command lines.
4057 # This happens at least with the AIX C compiler.
4059 for i in 1 2 3 4 5 6; do
4060 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4061 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4062 # Solaris 8's {/usr,}/bin/sh.
4063 touch sub/conftst$i.h
4065 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4069 # after this tag, mechanisms are not by side-effect, so they'll
4070 # only be used when explicitly requested
4071 if test "x$enable_dependency_tracking" = xyes; then
4079 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4080 # mode. It turns out that the SunPro C++ compiler does not properly
4081 # handle `-M -o', and we need to detect this.
4082 if depmode=$depmode \
4083 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4084 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4085 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4086 >/dev/null 2>conftest.err &&
4087 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4088 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4089 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4090 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4091 # icc doesn't choke on unknown options, it will just issue warnings
4092 # or remarks (even with -Werror). So we grep stderr for any message
4093 # that says an option was ignored or not supported.
4094 # When given -MP, icc 7.0 and 7.1 complain thusly:
4095 # icc: Command line warning: ignoring option '-M'; no argument required
4096 # The diagnosis changed in icc 8.0:
4097 # icc: Command line remark: option '-MP' not supported
4098 if (grep 'ignoring option' conftest.err ||
4099 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4100 am_cv_CXX_dependencies_compiler_type=$depmode
4109 am_cv_CXX_dependencies_compiler_type=none
4113 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4114 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
4115 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4118 test "x$enable_dependency_tracking" != xno \
4119 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4120 am__fastdepCXX_TRUE=
4121 am__fastdepCXX_FALSE='#'
4123 am__fastdepCXX_TRUE='#'
4124 am__fastdepCXX_FALSE=
4129 ac_cpp='$CPP $CPPFLAGS'
4130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4133 if test -n "$ac_tool_prefix"; then
4134 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4135 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4136 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4138 if test "${ac_cv_prog_CC+set}" = set; then
4139 echo $ECHO_N "(cached) $ECHO_C" >&6
4141 if test -n "$CC"; then
4142 ac_cv_prog_CC="$CC" # Let the user override the test.
4144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4148 test -z "$as_dir" && as_dir=.
4149 for ac_exec_ext in '' $ac_executable_extensions; do
4150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4151 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4162 if test -n "$CC"; then
4163 { echo "$as_me:$LINENO: result: $CC" >&5
4164 echo "${ECHO_T}$CC" >&6; }
4166 { echo "$as_me:$LINENO: result: no" >&5
4167 echo "${ECHO_T}no" >&6; }
4172 if test -z "$ac_cv_prog_CC"; then
4174 # Extract the first word of "gcc", so it can be a program name with args.
4175 set dummy gcc; ac_word=$2
4176 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4178 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4179 echo $ECHO_N "(cached) $ECHO_C" >&6
4181 if test -n "$ac_ct_CC"; then
4182 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4188 test -z "$as_dir" && as_dir=.
4189 for ac_exec_ext in '' $ac_executable_extensions; do
4190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4191 ac_cv_prog_ac_ct_CC="gcc"
4192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4201 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4202 if test -n "$ac_ct_CC"; then
4203 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4204 echo "${ECHO_T}$ac_ct_CC" >&6; }
4206 { echo "$as_me:$LINENO: result: no" >&5
4207 echo "${ECHO_T}no" >&6; }
4210 if test "x$ac_ct_CC" = x; then
4213 case $cross_compiling:$ac_tool_warned in
4215 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4216 whose name does not start with the host triplet. If you think this
4217 configuration is useful to you, please write to autoconf@gnu.org." >&5
4218 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4219 whose name does not start with the host triplet. If you think this
4220 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4221 ac_tool_warned=yes ;;
4229 if test -z "$CC"; then
4230 if test -n "$ac_tool_prefix"; then
4231 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4232 set dummy ${ac_tool_prefix}cc; ac_word=$2
4233 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4235 if test "${ac_cv_prog_CC+set}" = set; then
4236 echo $ECHO_N "(cached) $ECHO_C" >&6
4238 if test -n "$CC"; then
4239 ac_cv_prog_CC="$CC" # Let the user override the test.
4241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4245 test -z "$as_dir" && as_dir=.
4246 for ac_exec_ext in '' $ac_executable_extensions; do
4247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4248 ac_cv_prog_CC="${ac_tool_prefix}cc"
4249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4259 if test -n "$CC"; then
4260 { echo "$as_me:$LINENO: result: $CC" >&5
4261 echo "${ECHO_T}$CC" >&6; }
4263 { echo "$as_me:$LINENO: result: no" >&5
4264 echo "${ECHO_T}no" >&6; }
4270 if test -z "$CC"; then
4271 # Extract the first word of "cc", so it can be a program name with args.
4272 set dummy cc; ac_word=$2
4273 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4275 if test "${ac_cv_prog_CC+set}" = set; then
4276 echo $ECHO_N "(cached) $ECHO_C" >&6
4278 if test -n "$CC"; then
4279 ac_cv_prog_CC="$CC" # Let the user override the test.
4282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4286 test -z "$as_dir" && as_dir=.
4287 for ac_exec_ext in '' $ac_executable_extensions; do
4288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4289 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4290 ac_prog_rejected=yes
4294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4301 if test $ac_prog_rejected = yes; then
4302 # We found a bogon in the path, so make sure we never use it.
4303 set dummy $ac_cv_prog_CC
4305 if test $# != 0; then
4306 # We chose a different compiler from the bogus one.
4307 # However, it has the same basename, so the bogon will be chosen
4308 # first if we set CC to just the basename; use the full file name.
4310 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4316 if test -n "$CC"; then
4317 { echo "$as_me:$LINENO: result: $CC" >&5
4318 echo "${ECHO_T}$CC" >&6; }
4320 { echo "$as_me:$LINENO: result: no" >&5
4321 echo "${ECHO_T}no" >&6; }
4326 if test -z "$CC"; then
4327 if test -n "$ac_tool_prefix"; then
4328 for ac_prog in cl.exe
4330 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4331 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4332 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4334 if test "${ac_cv_prog_CC+set}" = set; then
4335 echo $ECHO_N "(cached) $ECHO_C" >&6
4337 if test -n "$CC"; then
4338 ac_cv_prog_CC="$CC" # Let the user override the test.
4340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4344 test -z "$as_dir" && as_dir=.
4345 for ac_exec_ext in '' $ac_executable_extensions; do
4346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4347 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4358 if test -n "$CC"; then
4359 { echo "$as_me:$LINENO: result: $CC" >&5
4360 echo "${ECHO_T}$CC" >&6; }
4362 { echo "$as_me:$LINENO: result: no" >&5
4363 echo "${ECHO_T}no" >&6; }
4367 test -n "$CC" && break
4370 if test -z "$CC"; then
4372 for ac_prog in cl.exe
4374 # Extract the first word of "$ac_prog", so it can be a program name with args.
4375 set dummy $ac_prog; ac_word=$2
4376 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4378 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4379 echo $ECHO_N "(cached) $ECHO_C" >&6
4381 if test -n "$ac_ct_CC"; then
4382 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4388 test -z "$as_dir" && as_dir=.
4389 for ac_exec_ext in '' $ac_executable_extensions; do
4390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4391 ac_cv_prog_ac_ct_CC="$ac_prog"
4392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4401 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4402 if test -n "$ac_ct_CC"; then
4403 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4404 echo "${ECHO_T}$ac_ct_CC" >&6; }
4406 { echo "$as_me:$LINENO: result: no" >&5
4407 echo "${ECHO_T}no" >&6; }
4411 test -n "$ac_ct_CC" && break
4414 if test "x$ac_ct_CC" = x; then
4417 case $cross_compiling:$ac_tool_warned in
4419 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4420 whose name does not start with the host triplet. If you think this
4421 configuration is useful to you, please write to autoconf@gnu.org." >&5
4422 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4423 whose name does not start with the host triplet. If you think this
4424 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4425 ac_tool_warned=yes ;;
4434 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4435 See \`config.log' for more details." >&5
4436 echo "$as_me: error: no acceptable C compiler found in \$PATH
4437 See \`config.log' for more details." >&2;}
4438 { (exit 1); exit 1; }; }
4440 # Provide some information about the compiler.
4441 echo "$as_me:$LINENO: checking for C compiler version" >&5
4442 ac_compiler=`set X $ac_compile; echo $2`
4443 { (ac_try="$ac_compiler --version >&5"
4445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4446 *) ac_try_echo=$ac_try;;
4448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4449 (eval "$ac_compiler --version >&5") 2>&5
4451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4452 (exit $ac_status); }
4453 { (ac_try="$ac_compiler -v >&5"
4455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4456 *) ac_try_echo=$ac_try;;
4458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4459 (eval "$ac_compiler -v >&5") 2>&5
4461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4462 (exit $ac_status); }
4463 { (ac_try="$ac_compiler -V >&5"
4465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4466 *) ac_try_echo=$ac_try;;
4468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4469 (eval "$ac_compiler -V >&5") 2>&5
4471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4472 (exit $ac_status); }
4474 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4475 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4476 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4477 echo $ECHO_N "(cached) $ECHO_C" >&6
4479 cat >conftest.$ac_ext <<_ACEOF
4482 cat confdefs.h >>conftest.$ac_ext
4483 cat >>conftest.$ac_ext <<_ACEOF
4484 /* end confdefs.h. */
4497 rm -f conftest.$ac_objext
4498 if { (ac_try="$ac_compile"
4500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4501 *) ac_try_echo=$ac_try;;
4503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4504 (eval "$ac_compile") 2>conftest.er1
4506 grep -v '^ *+' conftest.er1 >conftest.err
4508 cat conftest.err >&5
4509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4510 (exit $ac_status); } && {
4511 test -z "$ac_c_werror_flag" ||
4512 test ! -s conftest.err
4513 } && test -s conftest.$ac_objext; then
4516 echo "$as_me: failed program was:" >&5
4517 sed 's/^/| /' conftest.$ac_ext >&5
4522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4523 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4526 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4527 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4528 GCC=`test $ac_compiler_gnu = yes && echo yes`
4529 ac_test_CFLAGS=${CFLAGS+set}
4530 ac_save_CFLAGS=$CFLAGS
4531 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4532 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4533 if test "${ac_cv_prog_cc_g+set}" = set; then
4534 echo $ECHO_N "(cached) $ECHO_C" >&6
4536 ac_save_c_werror_flag=$ac_c_werror_flag
4537 ac_c_werror_flag=yes
4540 cat >conftest.$ac_ext <<_ACEOF
4543 cat confdefs.h >>conftest.$ac_ext
4544 cat >>conftest.$ac_ext <<_ACEOF
4545 /* end confdefs.h. */
4555 rm -f conftest.$ac_objext
4556 if { (ac_try="$ac_compile"
4558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4559 *) ac_try_echo=$ac_try;;
4561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4562 (eval "$ac_compile") 2>conftest.er1
4564 grep -v '^ *+' conftest.er1 >conftest.err
4566 cat conftest.err >&5
4567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4568 (exit $ac_status); } && {
4569 test -z "$ac_c_werror_flag" ||
4570 test ! -s conftest.err
4571 } && test -s conftest.$ac_objext; then
4574 echo "$as_me: failed program was:" >&5
4575 sed 's/^/| /' conftest.$ac_ext >&5
4578 cat >conftest.$ac_ext <<_ACEOF
4581 cat confdefs.h >>conftest.$ac_ext
4582 cat >>conftest.$ac_ext <<_ACEOF
4583 /* end confdefs.h. */
4593 rm -f conftest.$ac_objext
4594 if { (ac_try="$ac_compile"
4596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4597 *) ac_try_echo=$ac_try;;
4599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4600 (eval "$ac_compile") 2>conftest.er1
4602 grep -v '^ *+' conftest.er1 >conftest.err
4604 cat conftest.err >&5
4605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4606 (exit $ac_status); } && {
4607 test -z "$ac_c_werror_flag" ||
4608 test ! -s conftest.err
4609 } && test -s conftest.$ac_objext; then
4612 echo "$as_me: failed program was:" >&5
4613 sed 's/^/| /' conftest.$ac_ext >&5
4615 ac_c_werror_flag=$ac_save_c_werror_flag
4617 cat >conftest.$ac_ext <<_ACEOF
4620 cat confdefs.h >>conftest.$ac_ext
4621 cat >>conftest.$ac_ext <<_ACEOF
4622 /* end confdefs.h. */
4632 rm -f conftest.$ac_objext
4633 if { (ac_try="$ac_compile"
4635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4636 *) ac_try_echo=$ac_try;;
4638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4639 (eval "$ac_compile") 2>conftest.er1
4641 grep -v '^ *+' conftest.er1 >conftest.err
4643 cat conftest.err >&5
4644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4645 (exit $ac_status); } && {
4646 test -z "$ac_c_werror_flag" ||
4647 test ! -s conftest.err
4648 } && test -s conftest.$ac_objext; then
4651 echo "$as_me: failed program was:" >&5
4652 sed 's/^/| /' conftest.$ac_ext >&5
4657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4664 ac_c_werror_flag=$ac_save_c_werror_flag
4666 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4667 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4668 if test "$ac_test_CFLAGS" = set; then
4669 CFLAGS=$ac_save_CFLAGS
4670 elif test $ac_cv_prog_cc_g = yes; then
4671 if test "$GCC" = yes; then
4677 if test "$GCC" = yes; then
4683 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4684 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4685 if test "${ac_cv_prog_cc_c89+set}" = set; then
4686 echo $ECHO_N "(cached) $ECHO_C" >&6
4688 ac_cv_prog_cc_c89=no
4690 cat >conftest.$ac_ext <<_ACEOF
4693 cat confdefs.h >>conftest.$ac_ext
4694 cat >>conftest.$ac_ext <<_ACEOF
4695 /* end confdefs.h. */
4698 #include <sys/types.h>
4699 #include <sys/stat.h>
4700 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4701 struct buf { int x; };
4702 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4703 static char *e (p, i)
4709 static char *f (char * (*g) (char **, int), char **p, ...)
4714 s = g (p, va_arg (v,int));
4719 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4720 function prototypes and stuff, but not '\xHH' hex character constants.
4721 These don't provoke an error unfortunately, instead are silently treated
4722 as 'x'. The following induces an error, until -std is added to get
4723 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4724 array size at least. It's necessary to write '\x00'==0 to get something
4725 that's true only with -std. */
4726 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4728 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4729 inside strings and character constants. */
4731 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4733 int test (int i, double x);
4734 struct s1 {int (*f) (int a);};
4735 struct s2 {int (*f) (double a);};
4736 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4742 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4747 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4748 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4750 CC="$ac_save_CC $ac_arg"
4751 rm -f conftest.$ac_objext
4752 if { (ac_try="$ac_compile"
4754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4755 *) ac_try_echo=$ac_try;;
4757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4758 (eval "$ac_compile") 2>conftest.er1
4760 grep -v '^ *+' conftest.er1 >conftest.err
4762 cat conftest.err >&5
4763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4764 (exit $ac_status); } && {
4765 test -z "$ac_c_werror_flag" ||
4766 test ! -s conftest.err
4767 } && test -s conftest.$ac_objext; then
4768 ac_cv_prog_cc_c89=$ac_arg
4770 echo "$as_me: failed program was:" >&5
4771 sed 's/^/| /' conftest.$ac_ext >&5
4776 rm -f core conftest.err conftest.$ac_objext
4777 test "x$ac_cv_prog_cc_c89" != "xno" && break
4779 rm -f conftest.$ac_ext
4784 case "x$ac_cv_prog_cc_c89" in
4786 { echo "$as_me:$LINENO: result: none needed" >&5
4787 echo "${ECHO_T}none needed" >&6; } ;;
4789 { echo "$as_me:$LINENO: result: unsupported" >&5
4790 echo "${ECHO_T}unsupported" >&6; } ;;
4792 CC="$CC $ac_cv_prog_cc_c89"
4793 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4794 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4799 ac_cpp='$CPP $CPPFLAGS'
4800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4804 depcc="$CC" am_compiler_list=
4806 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4807 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4808 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4809 echo $ECHO_N "(cached) $ECHO_C" >&6
4811 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4812 # We make a subdir and do the tests there. Otherwise we can end up
4813 # making bogus files that we don't know about and never remove. For
4814 # instance it was reported that on HP-UX the gcc test will end up
4815 # making a dummy file named `D' -- because `-MD' means `put the output
4818 # Copy depcomp to subdir because otherwise we won't find it if we're
4819 # using a relative directory.
4820 cp "$am_depcomp" conftest.dir
4822 # We will build objects and dependencies in a subdirectory because
4823 # it helps to detect inapplicable dependency modes. For instance
4824 # both Tru64's cc and ICC support -MD to output dependencies as a
4825 # side effect of compilation, but ICC will put the dependencies in
4826 # the current directory while Tru64 will put them in the object
4830 am_cv_CC_dependencies_compiler_type=none
4831 if test "$am_compiler_list" = ""; then
4832 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4834 for depmode in $am_compiler_list; do
4835 # Setup a source with many dependencies, because some compilers
4836 # like to wrap large dependency lists on column 80 (with \), and
4837 # we should not choose a depcomp mode which is confused by this.
4839 # We need to recreate these files for each test, as the compiler may
4840 # overwrite some of them when testing with obscure command lines.
4841 # This happens at least with the AIX C compiler.
4843 for i in 1 2 3 4 5 6; do
4844 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4845 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4846 # Solaris 8's {/usr,}/bin/sh.
4847 touch sub/conftst$i.h
4849 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4853 # after this tag, mechanisms are not by side-effect, so they'll
4854 # only be used when explicitly requested
4855 if test "x$enable_dependency_tracking" = xyes; then
4863 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4864 # mode. It turns out that the SunPro C++ compiler does not properly
4865 # handle `-M -o', and we need to detect this.
4866 if depmode=$depmode \
4867 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4868 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4869 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4870 >/dev/null 2>conftest.err &&
4871 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4872 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4873 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4874 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4875 # icc doesn't choke on unknown options, it will just issue warnings
4876 # or remarks (even with -Werror). So we grep stderr for any message
4877 # that says an option was ignored or not supported.
4878 # When given -MP, icc 7.0 and 7.1 complain thusly:
4879 # icc: Command line warning: ignoring option '-M'; no argument required
4880 # The diagnosis changed in icc 8.0:
4881 # icc: Command line remark: option '-MP' not supported
4882 if (grep 'ignoring option' conftest.err ||
4883 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4884 am_cv_CC_dependencies_compiler_type=$depmode
4893 am_cv_CC_dependencies_compiler_type=none
4897 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4898 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4899 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4902 test "x$enable_dependency_tracking" != xno \
4903 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4905 am__fastdepCC_FALSE='#'
4907 am__fastdepCC_TRUE='#'
4908 am__fastdepCC_FALSE=
4913 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
4916 ac_cpp='$CPP $CPPFLAGS'
4917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4920 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4921 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4922 # On Suns, sometimes $CPP names a directory.
4923 if test -n "$CPP" && test -d "$CPP"; then
4926 if test -z "$CPP"; then
4927 if test "${ac_cv_prog_CPP+set}" = set; then
4928 echo $ECHO_N "(cached) $ECHO_C" >&6
4930 # Double quotes because CPP needs to be expanded
4931 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4934 for ac_c_preproc_warn_flag in '' yes
4936 # Use a header file that comes with gcc, so configuring glibc
4937 # with a fresh cross-compiler works.
4938 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4939 # <limits.h> exists even on freestanding compilers.
4940 # On the NeXT, cc -E runs the code through the compiler's parser,
4941 # not just through cpp. "Syntax error" is here to catch this case.
4942 cat >conftest.$ac_ext <<_ACEOF
4945 cat confdefs.h >>conftest.$ac_ext
4946 cat >>conftest.$ac_ext <<_ACEOF
4947 /* end confdefs.h. */
4949 # include <limits.h>
4951 # include <assert.h>
4955 if { (ac_try="$ac_cpp conftest.$ac_ext"
4957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4958 *) ac_try_echo=$ac_try;;
4960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4961 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4963 grep -v '^ *+' conftest.er1 >conftest.err
4965 cat conftest.err >&5
4966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4967 (exit $ac_status); } >/dev/null && {
4968 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4969 test ! -s conftest.err
4973 echo "$as_me: failed program was:" >&5
4974 sed 's/^/| /' conftest.$ac_ext >&5
4976 # Broken: fails on valid input.
4980 rm -f conftest.err conftest.$ac_ext
4982 # OK, works on sane cases. Now check whether nonexistent headers
4983 # can be detected and how.
4984 cat >conftest.$ac_ext <<_ACEOF
4987 cat confdefs.h >>conftest.$ac_ext
4988 cat >>conftest.$ac_ext <<_ACEOF
4989 /* end confdefs.h. */
4990 #include <ac_nonexistent.h>
4992 if { (ac_try="$ac_cpp conftest.$ac_ext"
4994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4995 *) ac_try_echo=$ac_try;;
4997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4998 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5000 grep -v '^ *+' conftest.er1 >conftest.err
5002 cat conftest.err >&5
5003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5004 (exit $ac_status); } >/dev/null && {
5005 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5006 test ! -s conftest.err
5008 # Broken: success on invalid input.
5011 echo "$as_me: failed program was:" >&5
5012 sed 's/^/| /' conftest.$ac_ext >&5
5014 # Passes both tests.
5019 rm -f conftest.err conftest.$ac_ext
5022 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5023 rm -f conftest.err conftest.$ac_ext
5024 if $ac_preproc_ok; then
5036 { echo "$as_me:$LINENO: result: $CPP" >&5
5037 echo "${ECHO_T}$CPP" >&6; }
5039 for ac_c_preproc_warn_flag in '' yes
5041 # Use a header file that comes with gcc, so configuring glibc
5042 # with a fresh cross-compiler works.
5043 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5044 # <limits.h> exists even on freestanding compilers.
5045 # On the NeXT, cc -E runs the code through the compiler's parser,
5046 # not just through cpp. "Syntax error" is here to catch this case.
5047 cat >conftest.$ac_ext <<_ACEOF
5050 cat confdefs.h >>conftest.$ac_ext
5051 cat >>conftest.$ac_ext <<_ACEOF
5052 /* end confdefs.h. */
5054 # include <limits.h>
5056 # include <assert.h>
5060 if { (ac_try="$ac_cpp conftest.$ac_ext"
5062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5063 *) ac_try_echo=$ac_try;;
5065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5066 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5068 grep -v '^ *+' conftest.er1 >conftest.err
5070 cat conftest.err >&5
5071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5072 (exit $ac_status); } >/dev/null && {
5073 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5074 test ! -s conftest.err
5078 echo "$as_me: failed program was:" >&5
5079 sed 's/^/| /' conftest.$ac_ext >&5
5081 # Broken: fails on valid input.
5085 rm -f conftest.err conftest.$ac_ext
5087 # OK, works on sane cases. Now check whether nonexistent headers
5088 # can be detected and how.
5089 cat >conftest.$ac_ext <<_ACEOF
5092 cat confdefs.h >>conftest.$ac_ext
5093 cat >>conftest.$ac_ext <<_ACEOF
5094 /* end confdefs.h. */
5095 #include <ac_nonexistent.h>
5097 if { (ac_try="$ac_cpp conftest.$ac_ext"
5099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5100 *) ac_try_echo=$ac_try;;
5102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5103 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5105 grep -v '^ *+' conftest.er1 >conftest.err
5107 cat conftest.err >&5
5108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109 (exit $ac_status); } >/dev/null && {
5110 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5111 test ! -s conftest.err
5113 # Broken: success on invalid input.
5116 echo "$as_me: failed program was:" >&5
5117 sed 's/^/| /' conftest.$ac_ext >&5
5119 # Passes both tests.
5124 rm -f conftest.err conftest.$ac_ext
5127 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5128 rm -f conftest.err conftest.$ac_ext
5129 if $ac_preproc_ok; then
5132 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5133 See \`config.log' for more details." >&5
5134 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5135 See \`config.log' for more details." >&2;}
5136 { (exit 1); exit 1; }; }
5140 ac_cpp='$CPP $CPPFLAGS'
5141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5146 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5147 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5148 if test "${ac_cv_path_GREP+set}" = set; then
5149 echo $ECHO_N "(cached) $ECHO_C" >&6
5151 # Extract the first word of "grep ggrep" to use in msg output
5152 if test -z "$GREP"; then
5153 set dummy grep ggrep; ac_prog_name=$2
5154 if test "${ac_cv_path_GREP+set}" = set; then
5155 echo $ECHO_N "(cached) $ECHO_C" >&6
5157 ac_path_GREP_found=false
5158 # Loop through the user's path and test for each of PROGNAME-LIST
5159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5160 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5163 test -z "$as_dir" && as_dir=.
5164 for ac_prog in grep ggrep; do
5165 for ac_exec_ext in '' $ac_executable_extensions; do
5166 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5167 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5168 # Check for GNU ac_path_GREP and select it if it is found.
5169 # Check for GNU $ac_path_GREP
5170 case `"$ac_path_GREP" --version 2>&1` in
5172 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5175 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5178 cat "conftest.in" "conftest.in" >"conftest.tmp"
5179 mv "conftest.tmp" "conftest.in"
5180 cp "conftest.in" "conftest.nl"
5181 echo 'GREP' >> "conftest.nl"
5182 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5183 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5184 ac_count=`expr $ac_count + 1`
5185 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5186 # Best one so far, save it but keep looking for a better one
5187 ac_cv_path_GREP="$ac_path_GREP"
5188 ac_path_GREP_max=$ac_count
5190 # 10*(2^10) chars as input seems more than enough
5191 test $ac_count -gt 10 && break
5193 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5197 $ac_path_GREP_found && break 3
5207 GREP="$ac_cv_path_GREP"
5208 if test -z "$GREP"; then
5209 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5210 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5211 { (exit 1); exit 1; }; }
5215 ac_cv_path_GREP=$GREP
5220 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5221 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5222 GREP="$ac_cv_path_GREP"
5225 { echo "$as_me:$LINENO: checking for egrep" >&5
5226 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5227 if test "${ac_cv_path_EGREP+set}" = set; then
5228 echo $ECHO_N "(cached) $ECHO_C" >&6
5230 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5231 then ac_cv_path_EGREP="$GREP -E"
5233 # Extract the first word of "egrep" to use in msg output
5234 if test -z "$EGREP"; then
5235 set dummy egrep; ac_prog_name=$2
5236 if test "${ac_cv_path_EGREP+set}" = set; then
5237 echo $ECHO_N "(cached) $ECHO_C" >&6
5239 ac_path_EGREP_found=false
5240 # Loop through the user's path and test for each of PROGNAME-LIST
5241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5242 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5245 test -z "$as_dir" && as_dir=.
5246 for ac_prog in egrep; do
5247 for ac_exec_ext in '' $ac_executable_extensions; do
5248 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5249 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5250 # Check for GNU ac_path_EGREP and select it if it is found.
5251 # Check for GNU $ac_path_EGREP
5252 case `"$ac_path_EGREP" --version 2>&1` in
5254 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5257 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5260 cat "conftest.in" "conftest.in" >"conftest.tmp"
5261 mv "conftest.tmp" "conftest.in"
5262 cp "conftest.in" "conftest.nl"
5263 echo 'EGREP' >> "conftest.nl"
5264 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5265 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5266 ac_count=`expr $ac_count + 1`
5267 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5268 # Best one so far, save it but keep looking for a better one
5269 ac_cv_path_EGREP="$ac_path_EGREP"
5270 ac_path_EGREP_max=$ac_count
5272 # 10*(2^10) chars as input seems more than enough
5273 test $ac_count -gt 10 && break
5275 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5279 $ac_path_EGREP_found && break 3
5289 EGREP="$ac_cv_path_EGREP"
5290 if test -z "$EGREP"; then
5291 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5292 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5293 { (exit 1); exit 1; }; }
5297 ac_cv_path_EGREP=$EGREP
5303 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5304 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5305 EGREP="$ac_cv_path_EGREP"
5308 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5309 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5310 if test "${ac_cv_header_stdc+set}" = set; then
5311 echo $ECHO_N "(cached) $ECHO_C" >&6
5313 cat >conftest.$ac_ext <<_ACEOF
5316 cat confdefs.h >>conftest.$ac_ext
5317 cat >>conftest.$ac_ext <<_ACEOF
5318 /* end confdefs.h. */
5332 rm -f conftest.$ac_objext
5333 if { (ac_try="$ac_compile"
5335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5336 *) ac_try_echo=$ac_try;;
5338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5339 (eval "$ac_compile") 2>conftest.er1
5341 grep -v '^ *+' conftest.er1 >conftest.err
5343 cat conftest.err >&5
5344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5345 (exit $ac_status); } && {
5346 test -z "$ac_c_werror_flag" ||
5347 test ! -s conftest.err
5348 } && test -s conftest.$ac_objext; then
5349 ac_cv_header_stdc=yes
5351 echo "$as_me: failed program was:" >&5
5352 sed 's/^/| /' conftest.$ac_ext >&5
5354 ac_cv_header_stdc=no
5357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5359 if test $ac_cv_header_stdc = yes; then
5360 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5361 cat >conftest.$ac_ext <<_ACEOF
5364 cat confdefs.h >>conftest.$ac_ext
5365 cat >>conftest.$ac_ext <<_ACEOF
5366 /* end confdefs.h. */
5370 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5371 $EGREP "memchr" >/dev/null 2>&1; then
5374 ac_cv_header_stdc=no
5380 if test $ac_cv_header_stdc = yes; then
5381 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5382 cat >conftest.$ac_ext <<_ACEOF
5385 cat confdefs.h >>conftest.$ac_ext
5386 cat >>conftest.$ac_ext <<_ACEOF
5387 /* end confdefs.h. */
5391 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5392 $EGREP "free" >/dev/null 2>&1; then
5395 ac_cv_header_stdc=no
5401 if test $ac_cv_header_stdc = yes; then
5402 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5403 if test "$cross_compiling" = yes; then
5406 cat >conftest.$ac_ext <<_ACEOF
5409 cat confdefs.h >>conftest.$ac_ext
5410 cat >>conftest.$ac_ext <<_ACEOF
5411 /* end confdefs.h. */
5414 #if ((' ' & 0x0FF) == 0x020)
5415 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5416 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5418 # define ISLOWER(c) \
5419 (('a' <= (c) && (c) <= 'i') \
5420 || ('j' <= (c) && (c) <= 'r') \
5421 || ('s' <= (c) && (c) <= 'z'))
5422 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5425 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5430 for (i = 0; i < 256; i++)
5431 if (XOR (islower (i), ISLOWER (i))
5432 || toupper (i) != TOUPPER (i))
5437 rm -f conftest$ac_exeext
5438 if { (ac_try="$ac_link"
5440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5441 *) ac_try_echo=$ac_try;;
5443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5444 (eval "$ac_link") 2>&5
5446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5447 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5448 { (case "(($ac_try" in
5449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5450 *) ac_try_echo=$ac_try;;
5452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5453 (eval "$ac_try") 2>&5
5455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5456 (exit $ac_status); }; }; then
5459 echo "$as_me: program exited with status $ac_status" >&5
5460 echo "$as_me: failed program was:" >&5
5461 sed 's/^/| /' conftest.$ac_ext >&5
5464 ac_cv_header_stdc=no
5466 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5472 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5473 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5474 if test $ac_cv_header_stdc = yes; then
5476 cat >>confdefs.h <<\_ACEOF
5477 #define STDC_HEADERS 1
5486 GETTEXT_PACKAGE=tsremuxcpp
5489 cat >>confdefs.h <<_ACEOF
5490 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
5493 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5503 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5504 inttypes.h stdint.h unistd.h
5506 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5507 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5508 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5509 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5510 echo $ECHO_N "(cached) $ECHO_C" >&6
5512 cat >conftest.$ac_ext <<_ACEOF
5515 cat confdefs.h >>conftest.$ac_ext
5516 cat >>conftest.$ac_ext <<_ACEOF
5517 /* end confdefs.h. */
5518 $ac_includes_default
5520 #include <$ac_header>
5522 rm -f conftest.$ac_objext
5523 if { (ac_try="$ac_compile"
5525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5526 *) ac_try_echo=$ac_try;;
5528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5529 (eval "$ac_compile") 2>conftest.er1
5531 grep -v '^ *+' conftest.er1 >conftest.err
5533 cat conftest.err >&5
5534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5535 (exit $ac_status); } && {
5536 test -z "$ac_c_werror_flag" ||
5537 test ! -s conftest.err
5538 } && test -s conftest.$ac_objext; then
5539 eval "$as_ac_Header=yes"
5541 echo "$as_me: failed program was:" >&5
5542 sed 's/^/| /' conftest.$ac_ext >&5
5544 eval "$as_ac_Header=no"
5547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5549 ac_res=`eval echo '${'$as_ac_Header'}'`
5550 { echo "$as_me:$LINENO: result: $ac_res" >&5
5551 echo "${ECHO_T}$ac_res" >&6; }
5552 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5553 cat >>confdefs.h <<_ACEOF
5554 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5564 for ac_header in locale.h
5566 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5567 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5568 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5570 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5571 echo $ECHO_N "(cached) $ECHO_C" >&6
5573 ac_res=`eval echo '${'$as_ac_Header'}'`
5574 { echo "$as_me:$LINENO: result: $ac_res" >&5
5575 echo "${ECHO_T}$ac_res" >&6; }
5577 # Is the header compilable?
5578 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5579 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5580 cat >conftest.$ac_ext <<_ACEOF
5583 cat confdefs.h >>conftest.$ac_ext
5584 cat >>conftest.$ac_ext <<_ACEOF
5585 /* end confdefs.h. */
5586 $ac_includes_default
5587 #include <$ac_header>
5589 rm -f conftest.$ac_objext
5590 if { (ac_try="$ac_compile"
5592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5593 *) ac_try_echo=$ac_try;;
5595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5596 (eval "$ac_compile") 2>conftest.er1
5598 grep -v '^ *+' conftest.er1 >conftest.err
5600 cat conftest.err >&5
5601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5602 (exit $ac_status); } && {
5603 test -z "$ac_c_werror_flag" ||
5604 test ! -s conftest.err
5605 } && test -s conftest.$ac_objext; then
5606 ac_header_compiler=yes
5608 echo "$as_me: failed program was:" >&5
5609 sed 's/^/| /' conftest.$ac_ext >&5
5611 ac_header_compiler=no
5614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5615 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5616 echo "${ECHO_T}$ac_header_compiler" >&6; }
5618 # Is the header present?
5619 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5620 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5621 cat >conftest.$ac_ext <<_ACEOF
5624 cat confdefs.h >>conftest.$ac_ext
5625 cat >>conftest.$ac_ext <<_ACEOF
5626 /* end confdefs.h. */
5627 #include <$ac_header>
5629 if { (ac_try="$ac_cpp conftest.$ac_ext"
5631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5632 *) ac_try_echo=$ac_try;;
5634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5635 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5637 grep -v '^ *+' conftest.er1 >conftest.err
5639 cat conftest.err >&5
5640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5641 (exit $ac_status); } >/dev/null && {
5642 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5643 test ! -s conftest.err
5645 ac_header_preproc=yes
5647 echo "$as_me: failed program was:" >&5
5648 sed 's/^/| /' conftest.$ac_ext >&5
5650 ac_header_preproc=no
5653 rm -f conftest.err conftest.$ac_ext
5654 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5655 echo "${ECHO_T}$ac_header_preproc" >&6; }
5657 # So? What about this header?
5658 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5660 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5661 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5662 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5663 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5664 ac_header_preproc=yes
5667 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5668 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5669 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5670 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5671 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5672 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5673 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5674 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5675 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5676 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5677 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5678 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5682 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5684 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5685 echo $ECHO_N "(cached) $ECHO_C" >&6
5687 eval "$as_ac_Header=\$ac_header_preproc"
5689 ac_res=`eval echo '${'$as_ac_Header'}'`
5690 { echo "$as_me:$LINENO: result: $ac_res" >&5
5691 echo "${ECHO_T}$ac_res" >&6; }
5694 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5695 cat >>confdefs.h <<_ACEOF
5696 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5703 if test $ac_cv_header_locale_h = yes; then
5704 { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
5705 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
5706 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
5707 echo $ECHO_N "(cached) $ECHO_C" >&6
5709 cat >conftest.$ac_ext <<_ACEOF
5712 cat confdefs.h >>conftest.$ac_ext
5713 cat >>conftest.$ac_ext <<_ACEOF
5714 /* end confdefs.h. */
5724 rm -f conftest.$ac_objext conftest$ac_exeext
5725 if { (ac_try="$ac_link"
5727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5728 *) ac_try_echo=$ac_try;;
5730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5731 (eval "$ac_link") 2>conftest.er1
5733 grep -v '^ *+' conftest.er1 >conftest.err
5735 cat conftest.err >&5
5736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5737 (exit $ac_status); } && {
5738 test -z "$ac_c_werror_flag" ||
5739 test ! -s conftest.err
5740 } && test -s conftest$ac_exeext &&
5741 $as_test_x conftest$ac_exeext; then
5742 am_cv_val_LC_MESSAGES=yes
5744 echo "$as_me: failed program was:" >&5
5745 sed 's/^/| /' conftest.$ac_ext >&5
5747 am_cv_val_LC_MESSAGES=no
5750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5751 conftest$ac_exeext conftest.$ac_ext
5753 { echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
5754 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
5755 if test $am_cv_val_LC_MESSAGES = yes; then
5757 cat >>confdefs.h <<\_ACEOF
5758 #define HAVE_LC_MESSAGES 1
5766 gt_cv_have_gettext=no
5772 if test "${ac_cv_header_libintl_h+set}" = set; then
5773 { echo "$as_me:$LINENO: checking for libintl.h" >&5
5774 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
5775 if test "${ac_cv_header_libintl_h+set}" = set; then
5776 echo $ECHO_N "(cached) $ECHO_C" >&6
5778 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
5779 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
5781 # Is the header compilable?
5782 { echo "$as_me:$LINENO: checking libintl.h usability" >&5
5783 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
5784 cat >conftest.$ac_ext <<_ACEOF
5787 cat confdefs.h >>conftest.$ac_ext
5788 cat >>conftest.$ac_ext <<_ACEOF
5789 /* end confdefs.h. */
5790 $ac_includes_default
5791 #include <libintl.h>
5793 rm -f conftest.$ac_objext
5794 if { (ac_try="$ac_compile"
5796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5797 *) ac_try_echo=$ac_try;;
5799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5800 (eval "$ac_compile") 2>conftest.er1
5802 grep -v '^ *+' conftest.er1 >conftest.err
5804 cat conftest.err >&5
5805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5806 (exit $ac_status); } && {
5807 test -z "$ac_c_werror_flag" ||
5808 test ! -s conftest.err
5809 } && test -s conftest.$ac_objext; then
5810 ac_header_compiler=yes
5812 echo "$as_me: failed program was:" >&5
5813 sed 's/^/| /' conftest.$ac_ext >&5
5815 ac_header_compiler=no
5818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5819 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5820 echo "${ECHO_T}$ac_header_compiler" >&6; }
5822 # Is the header present?
5823 { echo "$as_me:$LINENO: checking libintl.h presence" >&5
5824 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
5825 cat >conftest.$ac_ext <<_ACEOF
5828 cat confdefs.h >>conftest.$ac_ext
5829 cat >>conftest.$ac_ext <<_ACEOF
5830 /* end confdefs.h. */
5831 #include <libintl.h>
5833 if { (ac_try="$ac_cpp conftest.$ac_ext"
5835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5836 *) ac_try_echo=$ac_try;;
5838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5839 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5841 grep -v '^ *+' conftest.er1 >conftest.err
5843 cat conftest.err >&5
5844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5845 (exit $ac_status); } >/dev/null && {
5846 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5847 test ! -s conftest.err
5849 ac_header_preproc=yes
5851 echo "$as_me: failed program was:" >&5
5852 sed 's/^/| /' conftest.$ac_ext >&5
5854 ac_header_preproc=no
5857 rm -f conftest.err conftest.$ac_ext
5858 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5859 echo "${ECHO_T}$ac_header_preproc" >&6; }
5861 # So? What about this header?
5862 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5864 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
5865 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5866 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
5867 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
5868 ac_header_preproc=yes
5871 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
5872 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
5873 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
5874 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
5875 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
5876 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
5877 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
5878 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
5879 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
5880 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
5881 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
5882 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
5886 { echo "$as_me:$LINENO: checking for libintl.h" >&5
5887 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
5888 if test "${ac_cv_header_libintl_h+set}" = set; then
5889 echo $ECHO_N "(cached) $ECHO_C" >&6
5891 ac_cv_header_libintl_h=$ac_header_preproc
5893 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
5894 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
5897 if test $ac_cv_header_libintl_h = yes; then
5898 gt_cv_func_dgettext_libintl="no"
5899 libintl_extra_libs=""
5902 # First check in libc
5904 { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
5905 echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
5906 if test "${gt_cv_func_ngettext_libc+set}" = set; then
5907 echo $ECHO_N "(cached) $ECHO_C" >&6
5909 cat >conftest.$ac_ext <<_ACEOF
5912 cat confdefs.h >>conftest.$ac_ext
5913 cat >>conftest.$ac_ext <<_ACEOF
5914 /* end confdefs.h. */
5916 #include <libintl.h>
5921 return !ngettext ("","", 1)
5926 rm -f conftest.$ac_objext conftest$ac_exeext
5927 if { (ac_try="$ac_link"
5929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5930 *) ac_try_echo=$ac_try;;
5932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5933 (eval "$ac_link") 2>conftest.er1
5935 grep -v '^ *+' conftest.er1 >conftest.err
5937 cat conftest.err >&5
5938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5939 (exit $ac_status); } && {
5940 test -z "$ac_c_werror_flag" ||
5941 test ! -s conftest.err
5942 } && test -s conftest$ac_exeext &&
5943 $as_test_x conftest$ac_exeext; then
5944 gt_cv_func_ngettext_libc=yes
5946 echo "$as_me: failed program was:" >&5
5947 sed 's/^/| /' conftest.$ac_ext >&5
5949 gt_cv_func_ngettext_libc=no
5952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5953 conftest$ac_exeext conftest.$ac_ext
5956 { echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
5957 echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
5959 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5960 { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
5961 echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
5962 if test "${gt_cv_func_dgettext_libc+set}" = set; then
5963 echo $ECHO_N "(cached) $ECHO_C" >&6
5965 cat >conftest.$ac_ext <<_ACEOF
5968 cat confdefs.h >>conftest.$ac_ext
5969 cat >>conftest.$ac_ext <<_ACEOF
5970 /* end confdefs.h. */
5972 #include <libintl.h>
5977 return !dgettext ("","")
5982 rm -f conftest.$ac_objext conftest$ac_exeext
5983 if { (ac_try="$ac_link"
5985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5986 *) ac_try_echo=$ac_try;;
5988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5989 (eval "$ac_link") 2>conftest.er1
5991 grep -v '^ *+' conftest.er1 >conftest.err
5993 cat conftest.err >&5
5994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5995 (exit $ac_status); } && {
5996 test -z "$ac_c_werror_flag" ||
5997 test ! -s conftest.err
5998 } && test -s conftest$ac_exeext &&
5999 $as_test_x conftest$ac_exeext; then
6000 gt_cv_func_dgettext_libc=yes
6002 echo "$as_me: failed program was:" >&5
6003 sed 's/^/| /' conftest.$ac_ext >&5
6005 gt_cv_func_dgettext_libc=no
6008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6009 conftest$ac_exeext conftest.$ac_ext
6012 { echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
6013 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
6016 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6018 for ac_func in bind_textdomain_codeset
6020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6021 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6023 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6024 echo $ECHO_N "(cached) $ECHO_C" >&6
6026 cat >conftest.$ac_ext <<_ACEOF
6029 cat confdefs.h >>conftest.$ac_ext
6030 cat >>conftest.$ac_ext <<_ACEOF
6031 /* end confdefs.h. */
6032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6034 #define $ac_func innocuous_$ac_func
6036 /* System header to define __stub macros and hopefully few prototypes,
6037 which can conflict with char $ac_func (); below.
6038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6039 <limits.h> exists even on freestanding compilers. */
6042 # include <limits.h>
6044 # include <assert.h>
6049 /* Override any GCC internal prototype to avoid an error.
6050 Use char because int might match the return type of a GCC
6051 builtin and then its argument prototype would still apply. */
6056 /* The GNU C library defines this for functions which it implements
6057 to always fail with ENOSYS. Some functions are actually named
6058 something starting with __ and the normal name is an alias. */
6059 #if defined __stub_$ac_func || defined __stub___$ac_func
6071 rm -f conftest.$ac_objext conftest$ac_exeext
6072 if { (ac_try="$ac_link"
6074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6075 *) ac_try_echo=$ac_try;;
6077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6078 (eval "$ac_link") 2>conftest.er1
6080 grep -v '^ *+' conftest.er1 >conftest.err
6082 cat conftest.err >&5
6083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6084 (exit $ac_status); } && {
6085 test -z "$ac_c_werror_flag" ||
6086 test ! -s conftest.err
6087 } && test -s conftest$ac_exeext &&
6088 $as_test_x conftest$ac_exeext; then
6089 eval "$as_ac_var=yes"
6091 echo "$as_me: failed program was:" >&5
6092 sed 's/^/| /' conftest.$ac_ext >&5
6094 eval "$as_ac_var=no"
6097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6098 conftest$ac_exeext conftest.$ac_ext
6100 ac_res=`eval echo '${'$as_ac_var'}'`
6101 { echo "$as_me:$LINENO: result: $ac_res" >&5
6102 echo "${ECHO_T}$ac_res" >&6; }
6103 if test `eval echo '${'$as_ac_var'}'` = yes; then
6104 cat >>confdefs.h <<_ACEOF
6105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6114 # If we don't have everything we want, check in libintl
6116 if test "$gt_cv_func_dgettext_libc" != "yes" \
6117 || test "$gt_cv_func_ngettext_libc" != "yes" \
6118 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
6120 { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
6121 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
6122 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
6123 echo $ECHO_N "(cached) $ECHO_C" >&6
6125 ac_check_lib_save_LIBS=$LIBS
6127 cat >conftest.$ac_ext <<_ACEOF
6130 cat confdefs.h >>conftest.$ac_ext
6131 cat >>conftest.$ac_ext <<_ACEOF
6132 /* end confdefs.h. */
6134 /* Override any GCC internal prototype to avoid an error.
6135 Use char because int might match the return type of a GCC
6136 builtin and then its argument prototype would still apply. */
6140 char bindtextdomain ();
6144 return bindtextdomain ();
6149 rm -f conftest.$ac_objext conftest$ac_exeext
6150 if { (ac_try="$ac_link"
6152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6153 *) ac_try_echo=$ac_try;;
6155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6156 (eval "$ac_link") 2>conftest.er1
6158 grep -v '^ *+' conftest.er1 >conftest.err
6160 cat conftest.err >&5
6161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6162 (exit $ac_status); } && {
6163 test -z "$ac_c_werror_flag" ||
6164 test ! -s conftest.err
6165 } && test -s conftest$ac_exeext &&
6166 $as_test_x conftest$ac_exeext; then
6167 ac_cv_lib_intl_bindtextdomain=yes
6169 echo "$as_me: failed program was:" >&5
6170 sed 's/^/| /' conftest.$ac_ext >&5
6172 ac_cv_lib_intl_bindtextdomain=no
6175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6176 conftest$ac_exeext conftest.$ac_ext
6177 LIBS=$ac_check_lib_save_LIBS
6179 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
6180 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
6181 if test $ac_cv_lib_intl_bindtextdomain = yes; then
6182 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
6183 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
6184 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
6185 echo $ECHO_N "(cached) $ECHO_C" >&6
6187 ac_check_lib_save_LIBS=$LIBS
6189 cat >conftest.$ac_ext <<_ACEOF
6192 cat confdefs.h >>conftest.$ac_ext
6193 cat >>conftest.$ac_ext <<_ACEOF
6194 /* end confdefs.h. */
6196 /* Override any GCC internal prototype to avoid an error.
6197 Use char because int might match the return type of a GCC
6198 builtin and then its argument prototype would still apply. */
6211 rm -f conftest.$ac_objext conftest$ac_exeext
6212 if { (ac_try="$ac_link"
6214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6215 *) ac_try_echo=$ac_try;;
6217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6218 (eval "$ac_link") 2>conftest.er1
6220 grep -v '^ *+' conftest.er1 >conftest.err
6222 cat conftest.err >&5
6223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6224 (exit $ac_status); } && {
6225 test -z "$ac_c_werror_flag" ||
6226 test ! -s conftest.err
6227 } && test -s conftest$ac_exeext &&
6228 $as_test_x conftest$ac_exeext; then
6229 ac_cv_lib_intl_ngettext=yes
6231 echo "$as_me: failed program was:" >&5
6232 sed 's/^/| /' conftest.$ac_ext >&5
6234 ac_cv_lib_intl_ngettext=no
6237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6238 conftest$ac_exeext conftest.$ac_ext
6239 LIBS=$ac_check_lib_save_LIBS
6241 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
6242 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
6243 if test $ac_cv_lib_intl_ngettext = yes; then
6244 { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
6245 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
6246 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
6247 echo $ECHO_N "(cached) $ECHO_C" >&6
6249 ac_check_lib_save_LIBS=$LIBS
6251 cat >conftest.$ac_ext <<_ACEOF
6254 cat confdefs.h >>conftest.$ac_ext
6255 cat >>conftest.$ac_ext <<_ACEOF
6256 /* end confdefs.h. */
6258 /* Override any GCC internal prototype to avoid an error.
6259 Use char because int might match the return type of a GCC
6260 builtin and then its argument prototype would still apply. */
6273 rm -f conftest.$ac_objext conftest$ac_exeext
6274 if { (ac_try="$ac_link"
6276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6277 *) ac_try_echo=$ac_try;;
6279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6280 (eval "$ac_link") 2>conftest.er1
6282 grep -v '^ *+' conftest.er1 >conftest.err
6284 cat conftest.err >&5
6285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6286 (exit $ac_status); } && {
6287 test -z "$ac_c_werror_flag" ||
6288 test ! -s conftest.err
6289 } && test -s conftest$ac_exeext &&
6290 $as_test_x conftest$ac_exeext; then
6291 ac_cv_lib_intl_dgettext=yes
6293 echo "$as_me: failed program was:" >&5
6294 sed 's/^/| /' conftest.$ac_ext >&5
6296 ac_cv_lib_intl_dgettext=no
6299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6300 conftest$ac_exeext conftest.$ac_ext
6301 LIBS=$ac_check_lib_save_LIBS
6303 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
6304 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
6305 if test $ac_cv_lib_intl_dgettext = yes; then
6306 gt_cv_func_dgettext_libintl=yes
6314 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
6315 { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
6316 echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
6317 { echo "$as_me:$LINENO: result: " >&5
6318 echo "${ECHO_T}" >&6; }
6319 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
6320 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
6321 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
6322 echo $ECHO_N "(cached) $ECHO_C" >&6
6324 ac_check_lib_save_LIBS=$LIBS
6325 LIBS="-lintl -liconv $LIBS"
6326 cat >conftest.$ac_ext <<_ACEOF
6329 cat confdefs.h >>conftest.$ac_ext
6330 cat >>conftest.$ac_ext <<_ACEOF
6331 /* end confdefs.h. */
6333 /* Override any GCC internal prototype to avoid an error.
6334 Use char because int might match the return type of a GCC
6335 builtin and then its argument prototype would still apply. */
6348 rm -f conftest.$ac_objext conftest$ac_exeext
6349 if { (ac_try="$ac_link"
6351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6352 *) ac_try_echo=$ac_try;;
6354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6355 (eval "$ac_link") 2>conftest.er1
6357 grep -v '^ *+' conftest.er1 >conftest.err
6359 cat conftest.err >&5
6360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6361 (exit $ac_status); } && {
6362 test -z "$ac_c_werror_flag" ||
6363 test ! -s conftest.err
6364 } && test -s conftest$ac_exeext &&
6365 $as_test_x conftest$ac_exeext; then
6366 ac_cv_lib_intl_ngettext=yes
6368 echo "$as_me: failed program was:" >&5
6369 sed 's/^/| /' conftest.$ac_ext >&5
6371 ac_cv_lib_intl_ngettext=no
6374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6375 conftest$ac_exeext conftest.$ac_ext
6376 LIBS=$ac_check_lib_save_LIBS
6378 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
6379 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
6380 if test $ac_cv_lib_intl_ngettext = yes; then
6381 { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
6382 echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
6383 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
6384 echo $ECHO_N "(cached) $ECHO_C" >&6
6386 ac_check_lib_save_LIBS=$LIBS
6387 LIBS="-lintl -liconv $LIBS"
6388 cat >conftest.$ac_ext <<_ACEOF
6391 cat confdefs.h >>conftest.$ac_ext
6392 cat >>conftest.$ac_ext <<_ACEOF
6393 /* end confdefs.h. */
6395 /* Override any GCC internal prototype to avoid an error.
6396 Use char because int might match the return type of a GCC
6397 builtin and then its argument prototype would still apply. */
6405 return dcgettext ();
6410 rm -f conftest.$ac_objext conftest$ac_exeext
6411 if { (ac_try="$ac_link"
6413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6414 *) ac_try_echo=$ac_try;;
6416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6417 (eval "$ac_link") 2>conftest.er1
6419 grep -v '^ *+' conftest.er1 >conftest.err
6421 cat conftest.err >&5
6422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6423 (exit $ac_status); } && {
6424 test -z "$ac_c_werror_flag" ||
6425 test ! -s conftest.err
6426 } && test -s conftest$ac_exeext &&
6427 $as_test_x conftest$ac_exeext; then
6428 ac_cv_lib_intl_dcgettext=yes
6430 echo "$as_me: failed program was:" >&5
6431 sed 's/^/| /' conftest.$ac_ext >&5
6433 ac_cv_lib_intl_dcgettext=no
6436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6437 conftest$ac_exeext conftest.$ac_ext
6438 LIBS=$ac_check_lib_save_LIBS
6440 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
6441 echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
6442 if test $ac_cv_lib_intl_dcgettext = yes; then
6443 gt_cv_func_dgettext_libintl=yes
6444 libintl_extra_libs=-liconv
6456 # If we found libintl, then check in it for bind_textdomain_codeset();
6457 # we'll prefer libc if neither have bind_textdomain_codeset(),
6458 # and both have dgettext and ngettext
6460 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
6461 glib_save_LIBS="$LIBS"
6462 LIBS="$LIBS -lintl $libintl_extra_libs"
6463 unset ac_cv_func_bind_textdomain_codeset
6465 for ac_func in bind_textdomain_codeset
6467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6468 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6470 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6471 echo $ECHO_N "(cached) $ECHO_C" >&6
6473 cat >conftest.$ac_ext <<_ACEOF
6476 cat confdefs.h >>conftest.$ac_ext
6477 cat >>conftest.$ac_ext <<_ACEOF
6478 /* end confdefs.h. */
6479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6480 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6481 #define $ac_func innocuous_$ac_func
6483 /* System header to define __stub macros and hopefully few prototypes,
6484 which can conflict with char $ac_func (); below.
6485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6486 <limits.h> exists even on freestanding compilers. */
6489 # include <limits.h>
6491 # include <assert.h>
6496 /* Override any GCC internal prototype to avoid an error.
6497 Use char because int might match the return type of a GCC
6498 builtin and then its argument prototype would still apply. */
6503 /* The GNU C library defines this for functions which it implements
6504 to always fail with ENOSYS. Some functions are actually named
6505 something starting with __ and the normal name is an alias. */
6506 #if defined __stub_$ac_func || defined __stub___$ac_func
6518 rm -f conftest.$ac_objext conftest$ac_exeext
6519 if { (ac_try="$ac_link"
6521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6522 *) ac_try_echo=$ac_try;;
6524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6525 (eval "$ac_link") 2>conftest.er1
6527 grep -v '^ *+' conftest.er1 >conftest.err
6529 cat conftest.err >&5
6530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6531 (exit $ac_status); } && {
6532 test -z "$ac_c_werror_flag" ||
6533 test ! -s conftest.err
6534 } && test -s conftest$ac_exeext &&
6535 $as_test_x conftest$ac_exeext; then
6536 eval "$as_ac_var=yes"
6538 echo "$as_me: failed program was:" >&5
6539 sed 's/^/| /' conftest.$ac_ext >&5
6541 eval "$as_ac_var=no"
6544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6545 conftest$ac_exeext conftest.$ac_ext
6547 ac_res=`eval echo '${'$as_ac_var'}'`
6548 { echo "$as_me:$LINENO: result: $ac_res" >&5
6549 echo "${ECHO_T}$ac_res" >&6; }
6550 if test `eval echo '${'$as_ac_var'}'` = yes; then
6551 cat >>confdefs.h <<_ACEOF
6552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6558 LIBS="$glib_save_LIBS"
6560 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
6561 gt_cv_func_dgettext_libc=no
6563 if test "$gt_cv_func_dgettext_libc" = "yes" \
6564 && test "$gt_cv_func_ngettext_libc" = "yes"; then
6565 gt_cv_func_dgettext_libintl=no
6571 if test "$gt_cv_func_dgettext_libc" = "yes" \
6572 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
6573 gt_cv_have_gettext=yes
6576 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
6577 INTLLIBS="-lintl $libintl_extra_libs"
6580 if test "$gt_cv_have_gettext" = "yes"; then
6582 cat >>confdefs.h <<\_ACEOF
6583 #define HAVE_GETTEXT 1
6586 # Extract the first word of "msgfmt", so it can be a program name with args.
6587 set dummy msgfmt; ac_word=$2
6588 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6590 if test "${ac_cv_path_MSGFMT+set}" = set; then
6591 echo $ECHO_N "(cached) $ECHO_C" >&6
6595 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
6598 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6599 for ac_dir in $PATH; do
6600 test -z "$ac_dir" && ac_dir=.
6601 if test -f $ac_dir/$ac_word; then
6602 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
6603 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
6609 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
6613 MSGFMT="$ac_cv_path_MSGFMT"
6614 if test "$MSGFMT" != "no"; then
6615 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
6616 echo "${ECHO_T}$MSGFMT" >&6; }
6618 { echo "$as_me:$LINENO: result: no" >&5
6619 echo "${ECHO_T}no" >&6; }
6621 if test "$MSGFMT" != "no"; then
6622 glib_save_LIBS="$LIBS"
6623 LIBS="$LIBS $INTLLIBS"
6625 for ac_func in dcgettext
6627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6628 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6630 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6631 echo $ECHO_N "(cached) $ECHO_C" >&6
6633 cat >conftest.$ac_ext <<_ACEOF
6636 cat confdefs.h >>conftest.$ac_ext
6637 cat >>conftest.$ac_ext <<_ACEOF
6638 /* end confdefs.h. */
6639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6641 #define $ac_func innocuous_$ac_func
6643 /* System header to define __stub macros and hopefully few prototypes,
6644 which can conflict with char $ac_func (); below.
6645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6646 <limits.h> exists even on freestanding compilers. */
6649 # include <limits.h>
6651 # include <assert.h>
6656 /* Override any GCC internal prototype to avoid an error.
6657 Use char because int might match the return type of a GCC
6658 builtin and then its argument prototype would still apply. */
6663 /* The GNU C library defines this for functions which it implements
6664 to always fail with ENOSYS. Some functions are actually named
6665 something starting with __ and the normal name is an alias. */
6666 #if defined __stub_$ac_func || defined __stub___$ac_func
6678 rm -f conftest.$ac_objext conftest$ac_exeext
6679 if { (ac_try="$ac_link"
6681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6682 *) ac_try_echo=$ac_try;;
6684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6685 (eval "$ac_link") 2>conftest.er1
6687 grep -v '^ *+' conftest.er1 >conftest.err
6689 cat conftest.err >&5
6690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6691 (exit $ac_status); } && {
6692 test -z "$ac_c_werror_flag" ||
6693 test ! -s conftest.err
6694 } && test -s conftest$ac_exeext &&
6695 $as_test_x conftest$ac_exeext; then
6696 eval "$as_ac_var=yes"
6698 echo "$as_me: failed program was:" >&5
6699 sed 's/^/| /' conftest.$ac_ext >&5
6701 eval "$as_ac_var=no"
6704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6705 conftest$ac_exeext conftest.$ac_ext
6707 ac_res=`eval echo '${'$as_ac_var'}'`
6708 { echo "$as_me:$LINENO: result: $ac_res" >&5
6709 echo "${ECHO_T}$ac_res" >&6; }
6710 if test `eval echo '${'$as_ac_var'}'` = yes; then
6711 cat >>confdefs.h <<_ACEOF
6712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6719 { echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
6720 echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
6721 cat >conftest.foo <<_ACEOF
6725 "Content-Type: text/plain; charset=UTF-8\n"
6726 "Project-Id-Version: test 1.0\n"
6727 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
6728 "Last-Translator: test <foo@bar.xx>\n"
6729 "Language-Team: C <LL@li.org>\n"
6730 "MIME-Version: 1.0\n"
6731 "Content-Transfer-Encoding: 8bit\n"
6734 if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
6735 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
6737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6738 (exit $ac_status); }; then
6739 MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
6740 echo "${ECHO_T}yes" >&6; }
6741 else { echo "$as_me:$LINENO: result: no" >&5
6742 echo "${ECHO_T}no" >&6; }
6743 echo "$as_me: failed input was:" >&5
6744 sed 's/^/| /' conftest.foo >&5
6747 # Extract the first word of "gmsgfmt", so it can be a program name with args.
6748 set dummy gmsgfmt; ac_word=$2
6749 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6751 if test "${ac_cv_path_GMSGFMT+set}" = set; then
6752 echo $ECHO_N "(cached) $ECHO_C" >&6
6756 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
6759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6763 test -z "$as_dir" && as_dir=.
6764 for ac_exec_ext in '' $ac_executable_extensions; do
6765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6766 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6774 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6778 GMSGFMT=$ac_cv_path_GMSGFMT
6779 if test -n "$GMSGFMT"; then
6780 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
6781 echo "${ECHO_T}$GMSGFMT" >&6; }
6783 { echo "$as_me:$LINENO: result: no" >&5
6784 echo "${ECHO_T}no" >&6; }
6788 # Extract the first word of "xgettext", so it can be a program name with args.
6789 set dummy xgettext; ac_word=$2
6790 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6792 if test "${ac_cv_path_XGETTEXT+set}" = set; then
6793 echo $ECHO_N "(cached) $ECHO_C" >&6
6797 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
6800 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6801 for ac_dir in $PATH; do
6802 test -z "$ac_dir" && ac_dir=.
6803 if test -f $ac_dir/$ac_word; then
6804 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
6805 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
6811 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
6815 XGETTEXT="$ac_cv_path_XGETTEXT"
6816 if test "$XGETTEXT" != ":"; then
6817 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
6818 echo "${ECHO_T}$XGETTEXT" >&6; }
6820 { echo "$as_me:$LINENO: result: no" >&5
6821 echo "${ECHO_T}no" >&6; }
6824 cat >conftest.$ac_ext <<_ACEOF
6827 cat confdefs.h >>conftest.$ac_ext
6828 cat >>conftest.$ac_ext <<_ACEOF
6829 /* end confdefs.h. */
6834 extern int _nl_msg_cat_cntr;
6835 return _nl_msg_cat_cntr
6840 rm -f conftest.$ac_objext conftest$ac_exeext
6841 if { (ac_try="$ac_link"
6843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6844 *) ac_try_echo=$ac_try;;
6846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6847 (eval "$ac_link") 2>conftest.er1
6849 grep -v '^ *+' conftest.er1 >conftest.err
6851 cat conftest.err >&5
6852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6853 (exit $ac_status); } && {
6854 test -z "$ac_c_werror_flag" ||
6855 test ! -s conftest.err
6856 } && test -s conftest$ac_exeext &&
6857 $as_test_x conftest$ac_exeext; then
6861 echo "$as_me: failed program was:" >&5
6862 sed 's/^/| /' conftest.$ac_ext >&5
6866 { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
6867 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
6868 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
6869 echo $ECHO_N "(cached) $ECHO_C" >&6
6871 cat >conftest.$ac_ext <<_ACEOF
6874 cat confdefs.h >>conftest.$ac_ext
6875 cat >>conftest.$ac_ext <<_ACEOF
6876 /* end confdefs.h. */
6877 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
6878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6879 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
6881 /* System header to define __stub macros and hopefully few prototypes,
6882 which can conflict with char bind_textdomain_codeset (); below.
6883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6884 <limits.h> exists even on freestanding compilers. */
6887 # include <limits.h>
6889 # include <assert.h>
6892 #undef bind_textdomain_codeset
6894 /* Override any GCC internal prototype to avoid an error.
6895 Use char because int might match the return type of a GCC
6896 builtin and then its argument prototype would still apply. */
6900 char bind_textdomain_codeset ();
6901 /* The GNU C library defines this for functions which it implements
6902 to always fail with ENOSYS. Some functions are actually named
6903 something starting with __ and the normal name is an alias. */
6904 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
6911 return bind_textdomain_codeset ();
6916 rm -f conftest.$ac_objext conftest$ac_exeext
6917 if { (ac_try="$ac_link"
6919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6920 *) ac_try_echo=$ac_try;;
6922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6923 (eval "$ac_link") 2>conftest.er1
6925 grep -v '^ *+' conftest.er1 >conftest.err
6927 cat conftest.err >&5
6928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6929 (exit $ac_status); } && {
6930 test -z "$ac_c_werror_flag" ||
6931 test ! -s conftest.err
6932 } && test -s conftest$ac_exeext &&
6933 $as_test_x conftest$ac_exeext; then
6934 ac_cv_func_bind_textdomain_codeset=yes
6936 echo "$as_me: failed program was:" >&5
6937 sed 's/^/| /' conftest.$ac_ext >&5
6939 ac_cv_func_bind_textdomain_codeset=no
6942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6943 conftest$ac_exeext conftest.$ac_ext
6945 { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
6946 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
6947 if test $ac_cv_func_bind_textdomain_codeset = yes; then
6963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6964 conftest$ac_exeext conftest.$ac_ext
6965 LIBS="$glib_save_LIBS"
6968 gt_cv_have_gettext=no
6976 if test "$gt_cv_have_gettext" = "yes" ; then
6978 cat >>confdefs.h <<\_ACEOF
6979 #define ENABLE_NLS 1
6984 if test "$XGETTEXT" != ":"; then
6985 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
6988 { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
6989 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
6994 # We need to process the po/ directory.
6997 ac_config_commands="$ac_config_commands default-1"
7000 for lang in $ALL_LINGUAS; do
7001 GMOFILES="$GMOFILES $lang.gmo"
7002 POFILES="$POFILES $lang.po"
7017 if test "$gt_cv_have_gettext" = "yes"; then
7018 if test "x$ALL_LINGUAS" = "x"; then
7021 { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
7022 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
7024 for presentlang in $ALL_LINGUAS; do
7026 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
7027 desiredlanguages="$LINGUAS"
7029 desiredlanguages="$ALL_LINGUAS"
7031 for desiredlang in $desiredlanguages; do
7032 # Use the presentlang catalog if desiredlang is
7033 # a. equal to presentlang, or
7034 # b. a variant of presentlang (because in this case,
7035 # presentlang can be used as a fallback for messages
7036 # which are not translated in the desiredlang catalog).
7037 case "$desiredlang" in
7038 "$presentlang"*) useit=yes;;
7041 if test $useit = yes; then
7042 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
7045 LINGUAS=$NEW_LINGUAS
7046 { echo "$as_me:$LINENO: result: $LINGUAS" >&5
7047 echo "${ECHO_T}$LINGUAS" >&6; }
7050 if test -n "$LINGUAS"; then
7051 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
7056 if test -n "$ac_aux_dir"; then
7057 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
7059 if test -z "$MKINSTALLDIRS"; then
7060 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
7064 test -d po || mkdir po
7065 if test "x$srcdir" != "x."; then
7066 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
7067 posrcprefix="$srcdir/"
7069 posrcprefix="../$srcdir/"
7075 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
7076 < $srcdir/po/POTFILES.in > po/POTFILES
7079 { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7080 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
7081 # Check whether --enable-nls was given.
7082 if test "${enable_nls+set}" = set; then
7083 enableval=$enable_nls; USE_NLS=$enableval
7088 { echo "$as_me:$LINENO: result: $USE_NLS" >&5
7089 echo "${ECHO_T}$USE_NLS" >&6; }
7094 case "$am__api_version" in
7096 { { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
7097 echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
7098 { (exit 1); exit 1; }; }
7104 if test -n "0.35.0"; then
7105 { echo "$as_me:$LINENO: checking for intltool >= 0.35.0" >&5
7106 echo $ECHO_N "checking for intltool >= 0.35.0... $ECHO_C" >&6; }
7108 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
7109 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
7110 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
7112 { echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
7113 echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
7114 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
7115 { { echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool 0.35.0 or later." >&5
7116 echo "$as_me: error: Your intltool is too old. You need intltool 0.35.0 or later." >&2;}
7117 { (exit 1); exit 1; }; }
7120 # Extract the first word of "intltool-update", so it can be a program name with args.
7121 set dummy intltool-update; ac_word=$2
7122 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7124 if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
7125 echo $ECHO_N "(cached) $ECHO_C" >&6
7127 case $INTLTOOL_UPDATE in
7129 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
7132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7136 test -z "$as_dir" && as_dir=.
7137 for ac_exec_ext in '' $ac_executable_extensions; do
7138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7139 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
7140 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7150 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
7151 if test -n "$INTLTOOL_UPDATE"; then
7152 { echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
7153 echo "${ECHO_T}$INTLTOOL_UPDATE" >&6; }
7155 { echo "$as_me:$LINENO: result: no" >&5
7156 echo "${ECHO_T}no" >&6; }
7160 # Extract the first word of "intltool-merge", so it can be a program name with args.
7161 set dummy intltool-merge; ac_word=$2
7162 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7164 if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
7165 echo $ECHO_N "(cached) $ECHO_C" >&6
7167 case $INTLTOOL_MERGE in
7169 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
7172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7176 test -z "$as_dir" && as_dir=.
7177 for ac_exec_ext in '' $ac_executable_extensions; do
7178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7179 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
7180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7190 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
7191 if test -n "$INTLTOOL_MERGE"; then
7192 { echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
7193 echo "${ECHO_T}$INTLTOOL_MERGE" >&6; }
7195 { echo "$as_me:$LINENO: result: no" >&5
7196 echo "${ECHO_T}no" >&6; }
7200 # Extract the first word of "intltool-extract", so it can be a program name with args.
7201 set dummy intltool-extract; ac_word=$2
7202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7204 if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
7205 echo $ECHO_N "(cached) $ECHO_C" >&6
7207 case $INTLTOOL_EXTRACT in
7209 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
7212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7216 test -z "$as_dir" && as_dir=.
7217 for ac_exec_ext in '' $ac_executable_extensions; do
7218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7219 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
7220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7230 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
7231 if test -n "$INTLTOOL_EXTRACT"; then
7232 { echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
7233 echo "${ECHO_T}$INTLTOOL_EXTRACT" >&6; }
7235 { echo "$as_me:$LINENO: result: no" >&5
7236 echo "${ECHO_T}no" >&6; }
7240 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
7241 { { echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
7242 echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
7243 { (exit 1); exit 1; }; }
7246 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7247 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7248 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7249 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7250 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
7251 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7252 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7253 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7254 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7255 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7256 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7257 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
7258 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7259 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7260 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7261 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7262 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7263 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7264 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7286 # Check the gettext tools to make sure they are GNU
7287 # Extract the first word of "xgettext", so it can be a program name with args.
7288 set dummy xgettext; ac_word=$2
7289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7291 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7292 echo $ECHO_N "(cached) $ECHO_C" >&6
7296 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
7299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7303 test -z "$as_dir" && as_dir=.
7304 for ac_exec_ext in '' $ac_executable_extensions; do
7305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7306 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
7307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7317 XGETTEXT=$ac_cv_path_XGETTEXT
7318 if test -n "$XGETTEXT"; then
7319 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7320 echo "${ECHO_T}$XGETTEXT" >&6; }
7322 { echo "$as_me:$LINENO: result: no" >&5
7323 echo "${ECHO_T}no" >&6; }
7327 # Extract the first word of "msgmerge", so it can be a program name with args.
7328 set dummy msgmerge; ac_word=$2
7329 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7331 if test "${ac_cv_path_MSGMERGE+set}" = set; then
7332 echo $ECHO_N "(cached) $ECHO_C" >&6
7336 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
7339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7343 test -z "$as_dir" && as_dir=.
7344 for ac_exec_ext in '' $ac_executable_extensions; do
7345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7346 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
7347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7357 MSGMERGE=$ac_cv_path_MSGMERGE
7358 if test -n "$MSGMERGE"; then
7359 { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
7360 echo "${ECHO_T}$MSGMERGE" >&6; }
7362 { echo "$as_me:$LINENO: result: no" >&5
7363 echo "${ECHO_T}no" >&6; }
7367 # Extract the first word of "msgfmt", so it can be a program name with args.
7368 set dummy msgfmt; ac_word=$2
7369 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7371 if test "${ac_cv_path_MSGFMT+set}" = set; then
7372 echo $ECHO_N "(cached) $ECHO_C" >&6
7376 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
7379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7383 test -z "$as_dir" && as_dir=.
7384 for ac_exec_ext in '' $ac_executable_extensions; do
7385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7386 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
7387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7397 MSGFMT=$ac_cv_path_MSGFMT
7398 if test -n "$MSGFMT"; then
7399 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
7400 echo "${ECHO_T}$MSGFMT" >&6; }
7402 { echo "$as_me:$LINENO: result: no" >&5
7403 echo "${ECHO_T}no" >&6; }
7407 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7408 set dummy gmsgfmt; ac_word=$2
7409 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7411 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7412 echo $ECHO_N "(cached) $ECHO_C" >&6
7416 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
7419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7423 test -z "$as_dir" && as_dir=.
7424 for ac_exec_ext in '' $ac_executable_extensions; do
7425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7426 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
7427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7434 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
7438 GMSGFMT=$ac_cv_path_GMSGFMT
7439 if test -n "$GMSGFMT"; then
7440 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7441 echo "${ECHO_T}$GMSGFMT" >&6; }
7443 { echo "$as_me:$LINENO: result: no" >&5
7444 echo "${ECHO_T}no" >&6; }
7448 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
7449 { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
7450 echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
7451 { (exit 1); exit 1; }; }
7453 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
7454 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
7455 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
7456 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
7457 { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
7458 echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
7459 { (exit 1); exit 1; }; }
7462 # Extract the first word of "perl", so it can be a program name with args.
7463 set dummy perl; ac_word=$2
7464 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7466 if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
7467 echo $ECHO_N "(cached) $ECHO_C" >&6
7469 case $INTLTOOL_PERL in
7471 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
7474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7478 test -z "$as_dir" && as_dir=.
7479 for ac_exec_ext in '' $ac_executable_extensions; do
7480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7481 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
7482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7492 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
7493 if test -n "$INTLTOOL_PERL"; then
7494 { echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
7495 echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
7497 { echo "$as_me:$LINENO: result: no" >&5
7498 echo "${ECHO_T}no" >&6; }
7502 if test -z "$INTLTOOL_PERL"; then
7503 { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
7504 echo "$as_me: error: perl not found; required for intltool" >&2;}
7505 { (exit 1); exit 1; }; }
7507 if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
7508 { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
7509 echo "$as_me: error: perl 5.x required for intltool" >&2;}
7510 { (exit 1); exit 1; }; }
7512 if test "x" != "xno-xml"; then
7513 { echo "$as_me:$LINENO: checking for XML::Parser" >&5
7514 echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
7515 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
7516 { echo "$as_me:$LINENO: result: ok" >&5
7517 echo "${ECHO_T}ok" >&6; }
7519 { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
7520 echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
7521 { (exit 1); exit 1; }; }
7525 # Substitute ALL_LINGUAS so we can use it in po/Makefile
7528 # Set DATADIRNAME correctly if it is not set yet
7529 # (copied from glib-gettext.m4)
7530 if test -z "$DATADIRNAME"; then
7531 cat >conftest.$ac_ext <<_ACEOF
7534 cat confdefs.h >>conftest.$ac_ext
7535 cat >>conftest.$ac_ext <<_ACEOF
7536 /* end confdefs.h. */
7541 extern int _nl_msg_cat_cntr;
7542 return _nl_msg_cat_cntr
7547 rm -f conftest.$ac_objext conftest$ac_exeext
7548 if { (ac_try="$ac_link"
7550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7551 *) ac_try_echo=$ac_try;;
7553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7554 (eval "$ac_link") 2>conftest.er1
7556 grep -v '^ *+' conftest.er1 >conftest.err
7558 cat conftest.err >&5
7559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7560 (exit $ac_status); } && {
7561 test -z "$ac_c_werror_flag" ||
7562 test ! -s conftest.err
7563 } && test -s conftest$ac_exeext &&
7564 $as_test_x conftest$ac_exeext; then
7567 echo "$as_me: failed program was:" >&5
7568 sed 's/^/| /' conftest.$ac_ext >&5
7572 { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
7573 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
7574 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
7575 echo $ECHO_N "(cached) $ECHO_C" >&6
7577 cat >conftest.$ac_ext <<_ACEOF
7580 cat confdefs.h >>conftest.$ac_ext
7581 cat >>conftest.$ac_ext <<_ACEOF
7582 /* end confdefs.h. */
7583 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
7584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7585 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
7587 /* System header to define __stub macros and hopefully few prototypes,
7588 which can conflict with char bind_textdomain_codeset (); below.
7589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7590 <limits.h> exists even on freestanding compilers. */
7593 # include <limits.h>
7595 # include <assert.h>
7598 #undef bind_textdomain_codeset
7600 /* Override any GCC internal prototype to avoid an error.
7601 Use char because int might match the return type of a GCC
7602 builtin and then its argument prototype would still apply. */
7606 char bind_textdomain_codeset ();
7607 /* The GNU C library defines this for functions which it implements
7608 to always fail with ENOSYS. Some functions are actually named
7609 something starting with __ and the normal name is an alias. */
7610 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
7617 return bind_textdomain_codeset ();
7622 rm -f conftest.$ac_objext conftest$ac_exeext
7623 if { (ac_try="$ac_link"
7625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7626 *) ac_try_echo=$ac_try;;
7628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7629 (eval "$ac_link") 2>conftest.er1
7631 grep -v '^ *+' conftest.er1 >conftest.err
7633 cat conftest.err >&5
7634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7635 (exit $ac_status); } && {
7636 test -z "$ac_c_werror_flag" ||
7637 test ! -s conftest.err
7638 } && test -s conftest$ac_exeext &&
7639 $as_test_x conftest$ac_exeext; then
7640 ac_cv_func_bind_textdomain_codeset=yes
7642 echo "$as_me: failed program was:" >&5
7643 sed 's/^/| /' conftest.$ac_ext >&5
7645 ac_cv_func_bind_textdomain_codeset=no
7648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7649 conftest$ac_exeext conftest.$ac_ext
7651 { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
7652 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
7653 if test $ac_cv_func_bind_textdomain_codeset = yes; then
7666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7667 conftest$ac_exeext conftest.$ac_ext
7679 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7680 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7685 macro_version='2.2.4'
7686 macro_revision='1.2976'
7700 ltmain="$ac_aux_dir/ltmain.sh"
7702 # Make sure we can run config.sub.
7703 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
7704 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
7705 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
7706 { (exit 1); exit 1; }; }
7708 { echo "$as_me:$LINENO: checking build system type" >&5
7709 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
7710 if test "${ac_cv_build+set}" = set; then
7711 echo $ECHO_N "(cached) $ECHO_C" >&6
7713 ac_build_alias=$build_alias
7714 test "x$ac_build_alias" = x &&
7715 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
7716 test "x$ac_build_alias" = x &&
7717 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
7718 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
7719 { (exit 1); exit 1; }; }
7720 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
7721 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
7722 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
7723 { (exit 1); exit 1; }; }
7726 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
7727 echo "${ECHO_T}$ac_cv_build" >&6; }
7728 case $ac_cv_build in
7730 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
7731 echo "$as_me: error: invalid value of canonical build" >&2;}
7732 { (exit 1); exit 1; }; };;
7735 ac_save_IFS=$IFS; IFS='-'
7741 # Remember, the first character of IFS is used to create $*,
7742 # except with old shells:
7745 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
7748 { echo "$as_me:$LINENO: checking host system type" >&5
7749 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
7750 if test "${ac_cv_host+set}" = set; then
7751 echo $ECHO_N "(cached) $ECHO_C" >&6
7753 if test "x$host_alias" = x; then
7754 ac_cv_host=$ac_cv_build
7756 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
7757 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
7758 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
7759 { (exit 1); exit 1; }; }
7763 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
7764 echo "${ECHO_T}$ac_cv_host" >&6; }
7767 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
7768 echo "$as_me: error: invalid value of canonical host" >&2;}
7769 { (exit 1); exit 1; }; };;
7772 ac_save_IFS=$IFS; IFS='-'
7778 # Remember, the first character of IFS is used to create $*,
7779 # except with old shells:
7782 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
7785 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
7786 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
7787 if test "${ac_cv_path_SED+set}" = set; then
7788 echo $ECHO_N "(cached) $ECHO_C" >&6
7790 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7791 for ac_i in 1 2 3 4 5 6 7; do
7792 ac_script="$ac_script$as_nl$ac_script"
7794 echo "$ac_script" | sed 99q >conftest.sed
7795 $as_unset ac_script || ac_script=
7796 # Extract the first word of "sed gsed" to use in msg output
7797 if test -z "$SED"; then
7798 set dummy sed gsed; ac_prog_name=$2
7799 if test "${ac_cv_path_SED+set}" = set; then
7800 echo $ECHO_N "(cached) $ECHO_C" >&6
7802 ac_path_SED_found=false
7803 # Loop through the user's path and test for each of PROGNAME-LIST
7804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7808 test -z "$as_dir" && as_dir=.
7809 for ac_prog in sed gsed; do
7810 for ac_exec_ext in '' $ac_executable_extensions; do
7811 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
7812 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
7813 # Check for GNU ac_path_SED and select it if it is found.
7814 # Check for GNU $ac_path_SED
7815 case `"$ac_path_SED" --version 2>&1` in
7817 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
7820 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7823 cat "conftest.in" "conftest.in" >"conftest.tmp"
7824 mv "conftest.tmp" "conftest.in"
7825 cp "conftest.in" "conftest.nl"
7826 echo '' >> "conftest.nl"
7827 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7828 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7829 ac_count=`expr $ac_count + 1`
7830 if test $ac_count -gt ${ac_path_SED_max-0}; then
7831 # Best one so far, save it but keep looking for a better one
7832 ac_cv_path_SED="$ac_path_SED"
7833 ac_path_SED_max=$ac_count
7835 # 10*(2^10) chars as input seems more than enough
7836 test $ac_count -gt 10 && break
7838 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7842 $ac_path_SED_found && break 3
7852 SED="$ac_cv_path_SED"
7853 if test -z "$SED"; then
7854 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
7855 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
7856 { (exit 1); exit 1; }; }
7864 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
7865 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
7866 SED="$ac_cv_path_SED"
7869 test -z "$SED" && SED=sed
7870 Xsed="$SED -e 1s/^X//"
7882 { echo "$as_me:$LINENO: checking for fgrep" >&5
7883 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
7884 if test "${ac_cv_path_FGREP+set}" = set; then
7885 echo $ECHO_N "(cached) $ECHO_C" >&6
7887 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
7888 then ac_cv_path_FGREP="$GREP -F"
7890 # Extract the first word of "fgrep" to use in msg output
7891 if test -z "$FGREP"; then
7892 set dummy fgrep; ac_prog_name=$2
7893 if test "${ac_cv_path_FGREP+set}" = set; then
7894 echo $ECHO_N "(cached) $ECHO_C" >&6
7896 ac_path_FGREP_found=false
7897 # Loop through the user's path and test for each of PROGNAME-LIST
7898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7899 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7902 test -z "$as_dir" && as_dir=.
7903 for ac_prog in fgrep; do
7904 for ac_exec_ext in '' $ac_executable_extensions; do
7905 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
7906 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
7907 # Check for GNU ac_path_FGREP and select it if it is found.
7908 # Check for GNU $ac_path_FGREP
7909 case `"$ac_path_FGREP" --version 2>&1` in
7911 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
7914 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7917 cat "conftest.in" "conftest.in" >"conftest.tmp"
7918 mv "conftest.tmp" "conftest.in"
7919 cp "conftest.in" "conftest.nl"
7920 echo 'FGREP' >> "conftest.nl"
7921 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
7922 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7923 ac_count=`expr $ac_count + 1`
7924 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7925 # Best one so far, save it but keep looking for a better one
7926 ac_cv_path_FGREP="$ac_path_FGREP"
7927 ac_path_FGREP_max=$ac_count
7929 # 10*(2^10) chars as input seems more than enough
7930 test $ac_count -gt 10 && break
7932 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7936 $ac_path_FGREP_found && break 3
7946 FGREP="$ac_cv_path_FGREP"
7947 if test -z "$FGREP"; then
7948 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7949 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7950 { (exit 1); exit 1; }; }
7954 ac_cv_path_FGREP=$FGREP
7960 { echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
7961 echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
7962 FGREP="$ac_cv_path_FGREP"
7965 test -z "$GREP" && GREP=grep
7985 # Check whether --with-gnu-ld was given.
7986 if test "${with_gnu_ld+set}" = set; then
7987 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7993 if test "$GCC" = yes; then
7994 # Check if gcc -print-prog-name=ld gives a path.
7995 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
7996 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
7999 # gcc leaves a trailing carriage return which upsets mingw
8000 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
8002 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
8005 # Accept absolute paths.
8007 re_direlt='/[^/][^/]*/\.\./'
8008 # Canonicalize the pathname of ld
8009 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
8010 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
8011 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
8013 test -z "$LD" && LD="$ac_prog"
8016 # If it fails, then pretend we aren't using GCC.
8020 # If it is relative, then search for the first ld in PATH.
8024 elif test "$with_gnu_ld" = yes; then
8025 { echo "$as_me:$LINENO: checking for GNU ld" >&5
8026 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
8028 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
8029 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
8031 if test "${lt_cv_path_LD+set}" = set; then
8032 echo $ECHO_N "(cached) $ECHO_C" >&6
8034 if test -z "$LD"; then
8035 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8036 for ac_dir in $PATH; do
8038 test -z "$ac_dir" && ac_dir=.
8039 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
8040 lt_cv_path_LD="$ac_dir/$ac_prog"
8041 # Check to see if the program is GNU ld. I'd rather use --version,
8042 # but apparently some variants of GNU ld only accept -v.
8043 # Break only if it was the GNU/non-GNU ld that we prefer.
8044 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
8045 *GNU* | *'with BFD'*)
8046 test "$with_gnu_ld" != no && break
8049 test "$with_gnu_ld" != yes && break
8056 lt_cv_path_LD="$LD" # Let the user override the test with a path.
8061 if test -n "$LD"; then
8062 { echo "$as_me:$LINENO: result: $LD" >&5
8063 echo "${ECHO_T}$LD" >&6; }
8065 { echo "$as_me:$LINENO: result: no" >&5
8066 echo "${ECHO_T}no" >&6; }
8068 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
8069 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
8070 { (exit 1); exit 1; }; }
8071 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
8072 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
8073 if test "${lt_cv_prog_gnu_ld+set}" = set; then
8074 echo $ECHO_N "(cached) $ECHO_C" >&6
8076 # I'd rather use --version here, but apparently some GNU lds only accept -v.
8077 case `$LD -v 2>&1 </dev/null` in
8078 *GNU* | *'with BFD'*)
8079 lt_cv_prog_gnu_ld=yes
8082 lt_cv_prog_gnu_ld=no
8086 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
8087 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
8088 with_gnu_ld=$lt_cv_prog_gnu_ld
8098 { echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
8099 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
8100 if test "${lt_cv_path_NM+set}" = set; then
8101 echo $ECHO_N "(cached) $ECHO_C" >&6
8103 if test -n "$NM"; then
8104 # Let the user override the test.
8107 lt_nm_to_check="${ac_tool_prefix}nm"
8108 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
8109 lt_nm_to_check="$lt_nm_to_check nm"
8111 for lt_tmp_nm in $lt_nm_to_check; do
8112 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8113 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
8115 test -z "$ac_dir" && ac_dir=.
8116 tmp_nm="$ac_dir/$lt_tmp_nm"
8117 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
8118 # Check to see if the nm accepts a BSD-compat flag.
8119 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
8120 # nm: unknown option "B" ignored
8121 # Tru64's nm complains that /dev/null is an invalid object file
8122 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
8123 */dev/null* | *'Invalid file or object type'*)
8124 lt_cv_path_NM="$tmp_nm -B"
8128 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
8130 lt_cv_path_NM="$tmp_nm -p"
8134 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
8135 continue # so that we can try to find one that supports BSD flags
8144 : ${lt_cv_path_NM=no}
8147 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
8148 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
8149 if test "$lt_cv_path_NM" != "no"; then
8152 # Didn't find any BSD compatible name lister, look for dumpbin.
8153 if test -n "$ac_tool_prefix"; then
8154 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
8156 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8157 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8158 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8160 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
8161 echo $ECHO_N "(cached) $ECHO_C" >&6
8163 if test -n "$DUMPBIN"; then
8164 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
8166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8170 test -z "$as_dir" && as_dir=.
8171 for ac_exec_ext in '' $ac_executable_extensions; do
8172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8173 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
8174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8183 DUMPBIN=$ac_cv_prog_DUMPBIN
8184 if test -n "$DUMPBIN"; then
8185 { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
8186 echo "${ECHO_T}$DUMPBIN" >&6; }
8188 { echo "$as_me:$LINENO: result: no" >&5
8189 echo "${ECHO_T}no" >&6; }
8193 test -n "$DUMPBIN" && break
8196 if test -z "$DUMPBIN"; then
8197 ac_ct_DUMPBIN=$DUMPBIN
8198 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
8200 # Extract the first word of "$ac_prog", so it can be a program name with args.
8201 set dummy $ac_prog; ac_word=$2
8202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8204 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
8205 echo $ECHO_N "(cached) $ECHO_C" >&6
8207 if test -n "$ac_ct_DUMPBIN"; then
8208 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
8210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8214 test -z "$as_dir" && as_dir=.
8215 for ac_exec_ext in '' $ac_executable_extensions; do
8216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8217 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
8218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8227 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
8228 if test -n "$ac_ct_DUMPBIN"; then
8229 { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
8230 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
8232 { echo "$as_me:$LINENO: result: no" >&5
8233 echo "${ECHO_T}no" >&6; }
8237 test -n "$ac_ct_DUMPBIN" && break
8240 if test "x$ac_ct_DUMPBIN" = x; then
8243 case $cross_compiling:$ac_tool_warned in
8245 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8246 whose name does not start with the host triplet. If you think this
8247 configuration is useful to you, please write to autoconf@gnu.org." >&5
8248 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8249 whose name does not start with the host triplet. If you think this
8250 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8251 ac_tool_warned=yes ;;
8253 DUMPBIN=$ac_ct_DUMPBIN
8258 if test "$DUMPBIN" != ":"; then
8262 test -z "$NM" && NM=nm
8269 { echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
8270 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
8271 if test "${lt_cv_nm_interface+set}" = set; then
8272 echo $ECHO_N "(cached) $ECHO_C" >&6
8274 lt_cv_nm_interface="BSD nm"
8275 echo "int some_variable = 0;" > conftest.$ac_ext
8276 (eval echo "\"\$as_me:8276: $ac_compile\"" >&5)
8277 (eval "$ac_compile" 2>conftest.err)
8278 cat conftest.err >&5
8279 (eval echo "\"\$as_me:8279: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
8280 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
8281 cat conftest.err >&5
8282 (eval echo "\"\$as_me:8282: output\"" >&5)
8283 cat conftest.out >&5
8284 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
8285 lt_cv_nm_interface="MS dumpbin"
8289 { echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
8290 echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
8292 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
8293 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
8295 if test "$LN_S" = "ln -s"; then
8296 { echo "$as_me:$LINENO: result: yes" >&5
8297 echo "${ECHO_T}yes" >&6; }
8299 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
8300 echo "${ECHO_T}no, using $LN_S" >&6; }
8303 # find the maximum length of command line arguments
8304 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
8305 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
8306 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
8307 echo $ECHO_N "(cached) $ECHO_C" >&6
8314 # On DJGPP, this test can blow up pretty badly due to problems in libc
8315 # (any single argument exceeding 2000 bytes causes a buffer overrun
8316 # during glob expansion). Even if it were fixed, the result of this
8317 # check would be larger than it should be.
8318 lt_cv_sys_max_cmd_len=12288; # 12K is about right
8322 # Under GNU Hurd, this test is not required because there is
8323 # no limit to the length of command line arguments.
8324 # Libtool will interpret -1 as no limit whatsoever
8325 lt_cv_sys_max_cmd_len=-1;
8329 # On Win9x/ME, this test blows up -- it succeeds, but takes
8330 # about 5 minutes as the teststring grows exponentially.
8331 # Worse, since 9x/ME are not pre-emptively multitasking,
8332 # you end up with a "frozen" computer, even though with patience
8333 # the test eventually succeeds (with a max line length of 256k).
8334 # Instead, let's just punt: use the minimum linelength reported by
8335 # all of the supported platforms: 8192 (on NT/2K/XP).
8336 lt_cv_sys_max_cmd_len=8192;
8340 # On AmigaOS with pdksh, this test takes hours, literally.
8341 # So we just punt and use a minimum line length of 8192.
8342 lt_cv_sys_max_cmd_len=8192;
8345 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
8346 # This has been around since 386BSD, at least. Likely further.
8347 if test -x /sbin/sysctl; then
8348 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
8349 elif test -x /usr/sbin/sysctl; then
8350 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
8352 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
8354 # And add a safety zone
8355 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8356 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8360 # We know the value 262144 and hardcode it with a safety zone (like BSD)
8361 lt_cv_sys_max_cmd_len=196608
8365 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
8366 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
8367 # nice to cause kernel panics so lets avoid the loop below.
8368 # First set a reasonable default.
8369 lt_cv_sys_max_cmd_len=16384
8371 if test -x /sbin/sysconfig; then
8372 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
8373 *1*) lt_cv_sys_max_cmd_len=-1 ;;
8378 lt_cv_sys_max_cmd_len=102400
8380 sysv5* | sco5v6* | sysv4.2uw2*)
8381 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
8382 if test -n "$kargmax"; then
8383 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
8385 lt_cv_sys_max_cmd_len=32768
8389 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
8390 if test -n "$lt_cv_sys_max_cmd_len"; then
8391 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8392 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8394 # Make teststring a little bigger before we do anything with it.
8395 # a 1K string should be a reasonable start.
8396 for i in 1 2 3 4 5 6 7 8 ; do
8397 teststring=$teststring$teststring
8399 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
8400 # If test is not a shell built-in, we'll probably end up computing a
8401 # maximum length that is only half of the actual maximum length, but
8403 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
8404 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
8405 test $i != 17 # 1/2 MB should be enough
8408 teststring=$teststring$teststring
8410 # Only check the string length outside the loop.
8411 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
8413 # Add a significant safety factor because C++ compilers can tack on
8414 # massive amounts of additional arguments before passing them to the
8415 # linker. It appears as though 1/2 is a usable value.
8416 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
8423 if test -n $lt_cv_sys_max_cmd_len ; then
8424 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
8425 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
8427 { echo "$as_me:$LINENO: result: none" >&5
8428 echo "${ECHO_T}none" >&6; }
8430 max_cmd_len=$lt_cv_sys_max_cmd_len
8441 { echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
8442 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
8443 # Try some XSI features
8446 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
8448 && eval 'test $(( 1 + 1 )) -eq 2 \
8449 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
8451 { echo "$as_me:$LINENO: result: $xsi_shell" >&5
8452 echo "${ECHO_T}$xsi_shell" >&6; }
8455 { echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
8456 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
8458 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
8460 && lt_shell_append=yes
8461 { echo "$as_me:$LINENO: result: $lt_shell_append" >&5
8462 echo "${ECHO_T}$lt_shell_append" >&6; }
8465 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8475 # test EBCDIC or ASCII
8476 case `echo X|tr X '\101'` in
8477 A) # ASCII based system
8478 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
8479 lt_SP2NL='tr \040 \012'
8480 lt_NL2SP='tr \015\012 \040\040'
8482 *) # EBCDIC based system
8483 lt_SP2NL='tr \100 \n'
8484 lt_NL2SP='tr \r\n \100\100'
8496 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
8497 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
8498 if test "${lt_cv_ld_reload_flag+set}" = set; then
8499 echo $ECHO_N "(cached) $ECHO_C" >&6
8501 lt_cv_ld_reload_flag='-r'
8503 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
8504 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
8505 reload_flag=$lt_cv_ld_reload_flag
8506 case $reload_flag in
8508 *) reload_flag=" $reload_flag" ;;
8510 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8513 if test "$GCC" = yes; then
8514 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
8516 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8530 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
8531 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
8532 if test "${lt_cv_deplibs_check_method+set}" = set; then
8533 echo $ECHO_N "(cached) $ECHO_C" >&6
8535 lt_cv_file_magic_cmd='$MAGIC_CMD'
8536 lt_cv_file_magic_test_file=
8537 lt_cv_deplibs_check_method='unknown'
8538 # Need to set the preceding variable on all platforms that support
8539 # interlibrary dependencies.
8540 # 'none' -- dependencies not supported.
8541 # `unknown' -- same as none, but documents that we really don't know.
8542 # 'pass_all' -- all dependencies passed with no checks.
8543 # 'test_compile' -- check by making test program.
8544 # 'file_magic [[regex]]' -- check by looking for files in library path
8545 # which responds to the $file_magic_cmd with a given extended regex.
8546 # If you have `file' or equivalent on your system and you're not sure
8547 # whether `pass_all' will *always* work, you probably want this one.
8551 lt_cv_deplibs_check_method=pass_all
8555 lt_cv_deplibs_check_method=pass_all
8559 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8560 lt_cv_file_magic_cmd='/usr/bin/file -L'
8561 lt_cv_file_magic_test_file=/shlib/libc.so
8565 # func_win32_libid is a shell function defined in ltmain.sh
8566 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8567 lt_cv_file_magic_cmd='func_win32_libid'
8571 # Base MSYS/MinGW do not provide the 'file' command needed by
8572 # func_win32_libid shell function, so use a weaker test based on 'objdump',
8573 # unless we find 'file', for example because we are cross-compiling.
8574 if ( file / ) >/dev/null 2>&1; then
8575 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8576 lt_cv_file_magic_cmd='func_win32_libid'
8578 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
8579 lt_cv_file_magic_cmd='$OBJDUMP -f'
8583 darwin* | rhapsody*)
8584 lt_cv_deplibs_check_method=pass_all
8587 freebsd* | dragonfly*)
8588 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8591 # Not sure whether the presence of OpenBSD here was a mistake.
8592 # Let's accept both of them until this is cleared up.
8593 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8594 lt_cv_file_magic_cmd=/usr/bin/file
8595 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8599 lt_cv_deplibs_check_method=pass_all
8604 lt_cv_deplibs_check_method=pass_all
8607 hpux10.20* | hpux11*)
8608 lt_cv_file_magic_cmd=/usr/bin/file
8611 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8612 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8615 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]'
8616 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8619 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
8620 lt_cv_file_magic_test_file=/usr/lib/libc.sl
8626 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8627 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8630 irix5* | irix6* | nonstopux*)
8632 *-32|*"-32 ") libmagic=32-bit;;
8633 *-n32|*"-n32 ") libmagic=N32;;
8634 *-64|*"-64 ") libmagic=64-bit;;
8635 *) libmagic=never-match;;
8637 lt_cv_deplibs_check_method=pass_all
8640 # This must be Linux ELF.
8641 linux* | k*bsd*-gnu)
8642 lt_cv_deplibs_check_method=pass_all
8645 netbsd* | netbsdelf*-gnu)
8646 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8647 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8649 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8654 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8655 lt_cv_file_magic_cmd=/usr/bin/file
8656 lt_cv_file_magic_test_file=/usr/lib/libnls.so
8660 lt_cv_deplibs_check_method=pass_all
8664 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8665 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8667 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8671 osf3* | osf4* | osf5*)
8672 lt_cv_deplibs_check_method=pass_all
8676 lt_cv_deplibs_check_method=pass_all
8680 lt_cv_deplibs_check_method=pass_all
8683 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8684 lt_cv_deplibs_check_method=pass_all
8688 case $host_vendor in
8690 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]'
8691 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8694 lt_cv_deplibs_check_method=pass_all
8697 lt_cv_file_magic_cmd='/bin/file'
8698 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8701 lt_cv_file_magic_cmd='/bin/file'
8702 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8703 lt_cv_file_magic_test_file=/lib/libc.so
8706 lt_cv_deplibs_check_method=pass_all
8709 lt_cv_deplibs_check_method=pass_all
8715 lt_cv_deplibs_check_method=pass_all
8720 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
8721 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
8722 file_magic_cmd=$lt_cv_file_magic_cmd
8723 deplibs_check_method=$lt_cv_deplibs_check_method
8724 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8737 if test -n "$ac_tool_prefix"; then
8738 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8739 set dummy ${ac_tool_prefix}ar; ac_word=$2
8740 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8742 if test "${ac_cv_prog_AR+set}" = set; then
8743 echo $ECHO_N "(cached) $ECHO_C" >&6
8745 if test -n "$AR"; then
8746 ac_cv_prog_AR="$AR" # Let the user override the test.
8748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8752 test -z "$as_dir" && as_dir=.
8753 for ac_exec_ext in '' $ac_executable_extensions; do
8754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8755 ac_cv_prog_AR="${ac_tool_prefix}ar"
8756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8766 if test -n "$AR"; then
8767 { echo "$as_me:$LINENO: result: $AR" >&5
8768 echo "${ECHO_T}$AR" >&6; }
8770 { echo "$as_me:$LINENO: result: no" >&5
8771 echo "${ECHO_T}no" >&6; }
8776 if test -z "$ac_cv_prog_AR"; then
8778 # Extract the first word of "ar", so it can be a program name with args.
8779 set dummy ar; ac_word=$2
8780 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8782 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
8783 echo $ECHO_N "(cached) $ECHO_C" >&6
8785 if test -n "$ac_ct_AR"; then
8786 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8792 test -z "$as_dir" && as_dir=.
8793 for ac_exec_ext in '' $ac_executable_extensions; do
8794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8795 ac_cv_prog_ac_ct_AR="ar"
8796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8805 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8806 if test -n "$ac_ct_AR"; then
8807 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
8808 echo "${ECHO_T}$ac_ct_AR" >&6; }
8810 { echo "$as_me:$LINENO: result: no" >&5
8811 echo "${ECHO_T}no" >&6; }
8814 if test "x$ac_ct_AR" = x; then
8817 case $cross_compiling:$ac_tool_warned in
8819 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8820 whose name does not start with the host triplet. If you think this
8821 configuration is useful to you, please write to autoconf@gnu.org." >&5
8822 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8823 whose name does not start with the host triplet. If you think this
8824 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8825 ac_tool_warned=yes ;;
8833 test -z "$AR" && AR=ar
8834 test -z "$AR_FLAGS" && AR_FLAGS=cru
8846 if test -n "$ac_tool_prefix"; then
8847 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8848 set dummy ${ac_tool_prefix}strip; ac_word=$2
8849 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8851 if test "${ac_cv_prog_STRIP+set}" = set; then
8852 echo $ECHO_N "(cached) $ECHO_C" >&6
8854 if test -n "$STRIP"; then
8855 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8861 test -z "$as_dir" && as_dir=.
8862 for ac_exec_ext in '' $ac_executable_extensions; do
8863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8864 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8874 STRIP=$ac_cv_prog_STRIP
8875 if test -n "$STRIP"; then
8876 { echo "$as_me:$LINENO: result: $STRIP" >&5
8877 echo "${ECHO_T}$STRIP" >&6; }
8879 { echo "$as_me:$LINENO: result: no" >&5
8880 echo "${ECHO_T}no" >&6; }
8885 if test -z "$ac_cv_prog_STRIP"; then
8887 # Extract the first word of "strip", so it can be a program name with args.
8888 set dummy strip; ac_word=$2
8889 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8891 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8892 echo $ECHO_N "(cached) $ECHO_C" >&6
8894 if test -n "$ac_ct_STRIP"; then
8895 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8901 test -z "$as_dir" && as_dir=.
8902 for ac_exec_ext in '' $ac_executable_extensions; do
8903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8904 ac_cv_prog_ac_ct_STRIP="strip"
8905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8914 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8915 if test -n "$ac_ct_STRIP"; then
8916 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8917 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
8919 { echo "$as_me:$LINENO: result: no" >&5
8920 echo "${ECHO_T}no" >&6; }
8923 if test "x$ac_ct_STRIP" = x; then
8926 case $cross_compiling:$ac_tool_warned in
8928 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8929 whose name does not start with the host triplet. If you think this
8930 configuration is useful to you, please write to autoconf@gnu.org." >&5
8931 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8932 whose name does not start with the host triplet. If you think this
8933 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8934 ac_tool_warned=yes ;;
8939 STRIP="$ac_cv_prog_STRIP"
8942 test -z "$STRIP" && STRIP=:
8949 if test -n "$ac_tool_prefix"; then
8950 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8951 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8952 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8954 if test "${ac_cv_prog_RANLIB+set}" = set; then
8955 echo $ECHO_N "(cached) $ECHO_C" >&6
8957 if test -n "$RANLIB"; then
8958 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8964 test -z "$as_dir" && as_dir=.
8965 for ac_exec_ext in '' $ac_executable_extensions; do
8966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8967 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8977 RANLIB=$ac_cv_prog_RANLIB
8978 if test -n "$RANLIB"; then
8979 { echo "$as_me:$LINENO: result: $RANLIB" >&5
8980 echo "${ECHO_T}$RANLIB" >&6; }
8982 { echo "$as_me:$LINENO: result: no" >&5
8983 echo "${ECHO_T}no" >&6; }
8988 if test -z "$ac_cv_prog_RANLIB"; then
8989 ac_ct_RANLIB=$RANLIB
8990 # Extract the first word of "ranlib", so it can be a program name with args.
8991 set dummy ranlib; ac_word=$2
8992 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8994 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8995 echo $ECHO_N "(cached) $ECHO_C" >&6
8997 if test -n "$ac_ct_RANLIB"; then
8998 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
9000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9004 test -z "$as_dir" && as_dir=.
9005 for ac_exec_ext in '' $ac_executable_extensions; do
9006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9007 ac_cv_prog_ac_ct_RANLIB="ranlib"
9008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9017 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9018 if test -n "$ac_ct_RANLIB"; then
9019 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
9020 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
9022 { echo "$as_me:$LINENO: result: no" >&5
9023 echo "${ECHO_T}no" >&6; }
9026 if test "x$ac_ct_RANLIB" = x; then
9029 case $cross_compiling:$ac_tool_warned in
9031 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9032 whose name does not start with the host triplet. If you think this
9033 configuration is useful to you, please write to autoconf@gnu.org." >&5
9034 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9035 whose name does not start with the host triplet. If you think this
9036 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9037 ac_tool_warned=yes ;;
9039 RANLIB=$ac_ct_RANLIB
9042 RANLIB="$ac_cv_prog_RANLIB"
9045 test -z "$RANLIB" && RANLIB=:
9052 # Determine commands to create old-style static archives.
9053 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
9054 old_postinstall_cmds='chmod 644 $oldlib'
9055 old_postuninstall_cmds=
9057 if test -n "$RANLIB"; then
9060 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
9063 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
9066 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
9102 # If no C compiler was specified, use CC.
9105 # If no C compiler flags were specified, use CFLAGS.
9106 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9108 # Allow CC to be a program name with arguments.
9112 # Check for command to grab the raw symbol name followed by C symbol from nm.
9113 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
9114 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
9115 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
9116 echo $ECHO_N "(cached) $ECHO_C" >&6
9119 # These are sane defaults that work on at least a few old systems.
9120 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9122 # Character class describing NM global symbol codes.
9123 symcode='[BCDEGRST]'
9125 # Regexp to match symbols that can be accessed directly from C.
9126 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9128 # Define system-specific variables.
9133 cygwin* | mingw* | pw32*)
9134 symcode='[ABCDGISTW]'
9137 if test "$host_cpu" = ia64; then
9138 symcode='[ABCDEGRST]'
9142 symcode='[BCDEGRST]'
9145 symcode='[BCDEGQRST]'
9156 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9164 # If we're using GNU nm, then use its standard symbol codes.
9165 case `$NM -V 2>&1` in
9166 *GNU* | *'with BFD'*)
9167 symcode='[ABCDGIRSTW]' ;;
9170 # Transform an extracted symbol line into a proper C declaration.
9171 # Some systems (esp. on ia64) link data and code symbols differently,
9172 # so use this general approach.
9173 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9175 # Transform an extracted symbol line into symbol name and symbol address
9176 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
9177 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'"
9179 # Handle CRLF in mingw tool chain
9183 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9187 # Try without a prefix underscore, then with it.
9188 for ac_symprfx in "" "_"; do
9190 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9191 symxfrm="\\1 $ac_symprfx\\2 \\2"
9193 # Write the raw and C identifiers.
9194 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9195 # Fake it for dumpbin and say T for any non-static function
9196 # and D for any global variable.
9197 # Also find C++ and __fastcall symbols from MSVC++,
9198 # which start with @ or ?.
9199 lt_cv_sys_global_symbol_pipe="$AWK '"\
9200 " {last_section=section; section=\$ 3};"\
9201 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
9202 " \$ 0!~/External *\|/{next};"\
9203 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
9204 " {if(hide[section]) next};"\
9205 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
9206 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
9207 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
9208 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
9209 " ' prfx=^$ac_symprfx"
9211 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9214 # Check to see that the pipe works correctly.
9218 cat > conftest.$ac_ext <<_LT_EOF
9223 void nm_test_func(void);
9224 void nm_test_func(void){}
9228 int main(){nm_test_var='a';nm_test_func();return(0);}
9231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9232 (eval $ac_compile) 2>&5
9234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9235 (exit $ac_status); }; then
9236 # Now try to grab the symbols.
9238 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
9239 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
9241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9242 (exit $ac_status); } && test -s "$nlist"; then
9243 # Try sorting and uniquifying the output.
9244 if sort "$nlist" | uniq > "$nlist"T; then
9245 mv -f "$nlist"T "$nlist"
9250 # Make sure that we snagged all the symbols we need.
9251 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
9252 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
9253 cat <<_LT_EOF > conftest.$ac_ext
9259 # Now generate the symbol file.
9260 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9262 cat <<_LT_EOF >> conftest.$ac_ext
9264 /* The mapping between symbol names and symbols. */
9269 lt__PROGRAM__LTX_preloaded_symbols[] =
9271 { "@PROGRAM@", (void *) 0 },
9273 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
9274 cat <<\_LT_EOF >> conftest.$ac_ext
9278 /* This works around a problem in FreeBSD linker */
9279 #ifdef FREEBSD_WORKAROUND
9280 static const void *lt_preloaded_setup() {
9281 return lt__PROGRAM__LTX_preloaded_symbols;
9289 # Now try linking the two files.
9290 mv conftest.$ac_objext conftstm.$ac_objext
9291 lt_save_LIBS="$LIBS"
9292 lt_save_CFLAGS="$CFLAGS"
9293 LIBS="conftstm.$ac_objext"
9294 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9296 (eval $ac_link) 2>&5
9298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9299 (exit $ac_status); } && test -s conftest${ac_exeext}; then
9302 LIBS="$lt_save_LIBS"
9303 CFLAGS="$lt_save_CFLAGS"
9305 echo "cannot find nm_test_func in $nlist" >&5
9308 echo "cannot find nm_test_var in $nlist" >&5
9311 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9314 echo "$progname: failed program was:" >&5
9315 cat conftest.$ac_ext >&5
9317 rm -rf conftest* conftst*
9319 # Do not use the global_symbol_pipe unless it works.
9320 if test "$pipe_works" = yes; then
9323 lt_cv_sys_global_symbol_pipe=
9329 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9330 lt_cv_sys_global_symbol_to_cdecl=
9332 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9333 { echo "$as_me:$LINENO: result: failed" >&5
9334 echo "${ECHO_T}failed" >&6; }
9336 { echo "$as_me:$LINENO: result: ok" >&5
9337 echo "${ECHO_T}ok" >&6; }
9361 # Check whether --enable-libtool-lock was given.
9362 if test "${enable_libtool_lock+set}" = set; then
9363 enableval=$enable_libtool_lock;
9366 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
9368 # Some flags need to be propagated to the compiler or linker for good
9372 # Find out which ABI we are using.
9373 echo 'int i;' > conftest.$ac_ext
9374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9375 (eval $ac_compile) 2>&5
9377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9378 (exit $ac_status); }; then
9379 case `/usr/bin/file conftest.$ac_objext` in
9391 # Find out which ABI we are using.
9392 echo '#line 9392 "configure"' > conftest.$ac_ext
9393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9394 (eval $ac_compile) 2>&5
9396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9397 (exit $ac_status); }; then
9398 if test "$lt_cv_prog_gnu_ld" = yes; then
9399 case `/usr/bin/file conftest.$ac_objext` in
9401 LD="${LD-ld} -melf32bsmip"
9404 LD="${LD-ld} -melf32bmipn32"
9407 LD="${LD-ld} -melf64bmip"
9411 case `/usr/bin/file conftest.$ac_objext` in
9427 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
9428 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
9429 # Find out which ABI we are using.
9430 echo 'int i;' > conftest.$ac_ext
9431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9432 (eval $ac_compile) 2>&5
9434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9435 (exit $ac_status); }; then
9436 case `/usr/bin/file conftest.o` in
9439 x86_64-*kfreebsd*-gnu)
9440 LD="${LD-ld} -m elf_i386_fbsd"
9443 LD="${LD-ld} -m elf_i386"
9445 ppc64-*linux*|powerpc64-*linux*)
9446 LD="${LD-ld} -m elf32ppclinux"
9449 LD="${LD-ld} -m elf_s390"
9452 LD="${LD-ld} -m elf32_sparc"
9458 x86_64-*kfreebsd*-gnu)
9459 LD="${LD-ld} -m elf_x86_64_fbsd"
9462 LD="${LD-ld} -m elf_x86_64"
9464 ppc*-*linux*|powerpc*-*linux*)
9465 LD="${LD-ld} -m elf64ppc"
9467 s390*-*linux*|s390*-*tpf*)
9468 LD="${LD-ld} -m elf64_s390"
9471 LD="${LD-ld} -m elf64_sparc"
9481 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9482 SAVE_CFLAGS="$CFLAGS"
9483 CFLAGS="$CFLAGS -belf"
9484 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
9485 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
9486 if test "${lt_cv_cc_needs_belf+set}" = set; then
9487 echo $ECHO_N "(cached) $ECHO_C" >&6
9490 ac_cpp='$CPP $CPPFLAGS'
9491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9495 cat >conftest.$ac_ext <<_ACEOF
9498 cat confdefs.h >>conftest.$ac_ext
9499 cat >>conftest.$ac_ext <<_ACEOF
9500 /* end confdefs.h. */
9510 rm -f conftest.$ac_objext conftest$ac_exeext
9511 if { (ac_try="$ac_link"
9513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9514 *) ac_try_echo=$ac_try;;
9516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9517 (eval "$ac_link") 2>conftest.er1
9519 grep -v '^ *+' conftest.er1 >conftest.err
9521 cat conftest.err >&5
9522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9523 (exit $ac_status); } && {
9524 test -z "$ac_c_werror_flag" ||
9525 test ! -s conftest.err
9526 } && test -s conftest$ac_exeext &&
9527 $as_test_x conftest$ac_exeext; then
9528 lt_cv_cc_needs_belf=yes
9530 echo "$as_me: failed program was:" >&5
9531 sed 's/^/| /' conftest.$ac_ext >&5
9533 lt_cv_cc_needs_belf=no
9536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9537 conftest$ac_exeext conftest.$ac_ext
9539 ac_cpp='$CPP $CPPFLAGS'
9540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9545 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
9546 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
9547 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
9548 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9549 CFLAGS="$SAVE_CFLAGS"
9553 # Find out which ABI we are using.
9554 echo 'int i;' > conftest.$ac_ext
9555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9556 (eval $ac_compile) 2>&5
9558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9559 (exit $ac_status); }; then
9560 case `/usr/bin/file conftest.o` in
9562 case $lt_cv_prog_gnu_ld in
9563 yes*) LD="${LD-ld} -m elf64_sparc" ;;
9565 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9577 need_locks="$enable_libtool_lock"
9581 rhapsody* | darwin*)
9582 if test -n "$ac_tool_prefix"; then
9583 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9584 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
9585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9587 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
9588 echo $ECHO_N "(cached) $ECHO_C" >&6
9590 if test -n "$DSYMUTIL"; then
9591 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
9593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9597 test -z "$as_dir" && as_dir=.
9598 for ac_exec_ext in '' $ac_executable_extensions; do
9599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9600 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
9601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9610 DSYMUTIL=$ac_cv_prog_DSYMUTIL
9611 if test -n "$DSYMUTIL"; then
9612 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
9613 echo "${ECHO_T}$DSYMUTIL" >&6; }
9615 { echo "$as_me:$LINENO: result: no" >&5
9616 echo "${ECHO_T}no" >&6; }
9621 if test -z "$ac_cv_prog_DSYMUTIL"; then
9622 ac_ct_DSYMUTIL=$DSYMUTIL
9623 # Extract the first word of "dsymutil", so it can be a program name with args.
9624 set dummy dsymutil; ac_word=$2
9625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9627 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
9628 echo $ECHO_N "(cached) $ECHO_C" >&6
9630 if test -n "$ac_ct_DSYMUTIL"; then
9631 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9637 test -z "$as_dir" && as_dir=.
9638 for ac_exec_ext in '' $ac_executable_extensions; do
9639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9640 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
9641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9650 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9651 if test -n "$ac_ct_DSYMUTIL"; then
9652 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
9653 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
9655 { echo "$as_me:$LINENO: result: no" >&5
9656 echo "${ECHO_T}no" >&6; }
9659 if test "x$ac_ct_DSYMUTIL" = x; then
9662 case $cross_compiling:$ac_tool_warned in
9664 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9665 whose name does not start with the host triplet. If you think this
9666 configuration is useful to you, please write to autoconf@gnu.org." >&5
9667 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9668 whose name does not start with the host triplet. If you think this
9669 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9670 ac_tool_warned=yes ;;
9672 DSYMUTIL=$ac_ct_DSYMUTIL
9675 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9678 if test -n "$ac_tool_prefix"; then
9679 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9680 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9681 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9683 if test "${ac_cv_prog_NMEDIT+set}" = set; then
9684 echo $ECHO_N "(cached) $ECHO_C" >&6
9686 if test -n "$NMEDIT"; then
9687 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9693 test -z "$as_dir" && as_dir=.
9694 for ac_exec_ext in '' $ac_executable_extensions; do
9695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9696 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
9697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9706 NMEDIT=$ac_cv_prog_NMEDIT
9707 if test -n "$NMEDIT"; then
9708 { echo "$as_me:$LINENO: result: $NMEDIT" >&5
9709 echo "${ECHO_T}$NMEDIT" >&6; }
9711 { echo "$as_me:$LINENO: result: no" >&5
9712 echo "${ECHO_T}no" >&6; }
9717 if test -z "$ac_cv_prog_NMEDIT"; then
9718 ac_ct_NMEDIT=$NMEDIT
9719 # Extract the first word of "nmedit", so it can be a program name with args.
9720 set dummy nmedit; ac_word=$2
9721 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9723 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
9724 echo $ECHO_N "(cached) $ECHO_C" >&6
9726 if test -n "$ac_ct_NMEDIT"; then
9727 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9733 test -z "$as_dir" && as_dir=.
9734 for ac_exec_ext in '' $ac_executable_extensions; do
9735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9736 ac_cv_prog_ac_ct_NMEDIT="nmedit"
9737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9746 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9747 if test -n "$ac_ct_NMEDIT"; then
9748 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
9749 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
9751 { echo "$as_me:$LINENO: result: no" >&5
9752 echo "${ECHO_T}no" >&6; }
9755 if test "x$ac_ct_NMEDIT" = x; then
9758 case $cross_compiling:$ac_tool_warned in
9760 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9761 whose name does not start with the host triplet. If you think this
9762 configuration is useful to you, please write to autoconf@gnu.org." >&5
9763 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9764 whose name does not start with the host triplet. If you think this
9765 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9766 ac_tool_warned=yes ;;
9768 NMEDIT=$ac_ct_NMEDIT
9771 NMEDIT="$ac_cv_prog_NMEDIT"
9774 if test -n "$ac_tool_prefix"; then
9775 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9776 set dummy ${ac_tool_prefix}lipo; ac_word=$2
9777 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9779 if test "${ac_cv_prog_LIPO+set}" = set; then
9780 echo $ECHO_N "(cached) $ECHO_C" >&6
9782 if test -n "$LIPO"; then
9783 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9789 test -z "$as_dir" && as_dir=.
9790 for ac_exec_ext in '' $ac_executable_extensions; do
9791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9792 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
9793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9802 LIPO=$ac_cv_prog_LIPO
9803 if test -n "$LIPO"; then
9804 { echo "$as_me:$LINENO: result: $LIPO" >&5
9805 echo "${ECHO_T}$LIPO" >&6; }
9807 { echo "$as_me:$LINENO: result: no" >&5
9808 echo "${ECHO_T}no" >&6; }
9813 if test -z "$ac_cv_prog_LIPO"; then
9815 # Extract the first word of "lipo", so it can be a program name with args.
9816 set dummy lipo; ac_word=$2
9817 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9819 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
9820 echo $ECHO_N "(cached) $ECHO_C" >&6
9822 if test -n "$ac_ct_LIPO"; then
9823 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9829 test -z "$as_dir" && as_dir=.
9830 for ac_exec_ext in '' $ac_executable_extensions; do
9831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9832 ac_cv_prog_ac_ct_LIPO="lipo"
9833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9842 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9843 if test -n "$ac_ct_LIPO"; then
9844 { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
9845 echo "${ECHO_T}$ac_ct_LIPO" >&6; }
9847 { echo "$as_me:$LINENO: result: no" >&5
9848 echo "${ECHO_T}no" >&6; }
9851 if test "x$ac_ct_LIPO" = x; then
9854 case $cross_compiling:$ac_tool_warned in
9856 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9857 whose name does not start with the host triplet. If you think this
9858 configuration is useful to you, please write to autoconf@gnu.org." >&5
9859 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9860 whose name does not start with the host triplet. If you think this
9861 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9862 ac_tool_warned=yes ;;
9867 LIPO="$ac_cv_prog_LIPO"
9870 if test -n "$ac_tool_prefix"; then
9871 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9872 set dummy ${ac_tool_prefix}otool; ac_word=$2
9873 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9875 if test "${ac_cv_prog_OTOOL+set}" = set; then
9876 echo $ECHO_N "(cached) $ECHO_C" >&6
9878 if test -n "$OTOOL"; then
9879 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9885 test -z "$as_dir" && as_dir=.
9886 for ac_exec_ext in '' $ac_executable_extensions; do
9887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9888 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9898 OTOOL=$ac_cv_prog_OTOOL
9899 if test -n "$OTOOL"; then
9900 { echo "$as_me:$LINENO: result: $OTOOL" >&5
9901 echo "${ECHO_T}$OTOOL" >&6; }
9903 { echo "$as_me:$LINENO: result: no" >&5
9904 echo "${ECHO_T}no" >&6; }
9909 if test -z "$ac_cv_prog_OTOOL"; then
9911 # Extract the first word of "otool", so it can be a program name with args.
9912 set dummy otool; ac_word=$2
9913 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9915 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
9916 echo $ECHO_N "(cached) $ECHO_C" >&6
9918 if test -n "$ac_ct_OTOOL"; then
9919 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9925 test -z "$as_dir" && as_dir=.
9926 for ac_exec_ext in '' $ac_executable_extensions; do
9927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9928 ac_cv_prog_ac_ct_OTOOL="otool"
9929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9938 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9939 if test -n "$ac_ct_OTOOL"; then
9940 { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
9941 echo "${ECHO_T}$ac_ct_OTOOL" >&6; }
9943 { echo "$as_me:$LINENO: result: no" >&5
9944 echo "${ECHO_T}no" >&6; }
9947 if test "x$ac_ct_OTOOL" = x; then
9950 case $cross_compiling:$ac_tool_warned in
9952 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9953 whose name does not start with the host triplet. If you think this
9954 configuration is useful to you, please write to autoconf@gnu.org." >&5
9955 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9956 whose name does not start with the host triplet. If you think this
9957 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9958 ac_tool_warned=yes ;;
9963 OTOOL="$ac_cv_prog_OTOOL"
9966 if test -n "$ac_tool_prefix"; then
9967 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9968 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9969 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9971 if test "${ac_cv_prog_OTOOL64+set}" = set; then
9972 echo $ECHO_N "(cached) $ECHO_C" >&6
9974 if test -n "$OTOOL64"; then
9975 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9981 test -z "$as_dir" && as_dir=.
9982 for ac_exec_ext in '' $ac_executable_extensions; do
9983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9984 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9994 OTOOL64=$ac_cv_prog_OTOOL64
9995 if test -n "$OTOOL64"; then
9996 { echo "$as_me:$LINENO: result: $OTOOL64" >&5
9997 echo "${ECHO_T}$OTOOL64" >&6; }
9999 { echo "$as_me:$LINENO: result: no" >&5
10000 echo "${ECHO_T}no" >&6; }
10005 if test -z "$ac_cv_prog_OTOOL64"; then
10006 ac_ct_OTOOL64=$OTOOL64
10007 # Extract the first word of "otool64", so it can be a program name with args.
10008 set dummy otool64; ac_word=$2
10009 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10011 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
10012 echo $ECHO_N "(cached) $ECHO_C" >&6
10014 if test -n "$ac_ct_OTOOL64"; then
10015 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
10017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10018 for as_dir in $PATH
10021 test -z "$as_dir" && as_dir=.
10022 for ac_exec_ext in '' $ac_executable_extensions; do
10023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10024 ac_cv_prog_ac_ct_OTOOL64="otool64"
10025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10034 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
10035 if test -n "$ac_ct_OTOOL64"; then
10036 { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
10037 echo "${ECHO_T}$ac_ct_OTOOL64" >&6; }
10039 { echo "$as_me:$LINENO: result: no" >&5
10040 echo "${ECHO_T}no" >&6; }
10043 if test "x$ac_ct_OTOOL64" = x; then
10046 case $cross_compiling:$ac_tool_warned in
10048 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10049 whose name does not start with the host triplet. If you think this
10050 configuration is useful to you, please write to autoconf@gnu.org." >&5
10051 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10052 whose name does not start with the host triplet. If you think this
10053 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
10054 ac_tool_warned=yes ;;
10056 OTOOL64=$ac_ct_OTOOL64
10059 OTOOL64="$ac_cv_prog_OTOOL64"
10088 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
10089 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
10090 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
10091 echo $ECHO_N "(cached) $ECHO_C" >&6
10093 lt_cv_apple_cc_single_mod=no
10094 if test -z "${LT_MULTI_MODULE}"; then
10095 # By default we will add the -single_module flag. You can override
10096 # by either setting the environment variable LT_MULTI_MODULE
10097 # non-empty at configure time, or by adding -multi_module to the
10099 rm -rf libconftest.dylib*
10100 echo "int foo(void){return 1;}" > conftest.c
10101 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10102 -dynamiclib -Wl,-single_module conftest.c" >&5
10103 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10104 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
10106 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
10107 lt_cv_apple_cc_single_mod=yes
10109 cat conftest.err >&5
10111 rm -rf libconftest.dylib*
10115 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
10116 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
10117 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
10118 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
10119 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
10120 echo $ECHO_N "(cached) $ECHO_C" >&6
10122 lt_cv_ld_exported_symbols_list=no
10123 save_LDFLAGS=$LDFLAGS
10124 echo "_main" > conftest.sym
10125 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10126 cat >conftest.$ac_ext <<_ACEOF
10129 cat confdefs.h >>conftest.$ac_ext
10130 cat >>conftest.$ac_ext <<_ACEOF
10131 /* end confdefs.h. */
10141 rm -f conftest.$ac_objext conftest$ac_exeext
10142 if { (ac_try="$ac_link"
10143 case "(($ac_try" in
10144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10145 *) ac_try_echo=$ac_try;;
10147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10148 (eval "$ac_link") 2>conftest.er1
10150 grep -v '^ *+' conftest.er1 >conftest.err
10152 cat conftest.err >&5
10153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10154 (exit $ac_status); } && {
10155 test -z "$ac_c_werror_flag" ||
10156 test ! -s conftest.err
10157 } && test -s conftest$ac_exeext &&
10158 $as_test_x conftest$ac_exeext; then
10159 lt_cv_ld_exported_symbols_list=yes
10161 echo "$as_me: failed program was:" >&5
10162 sed 's/^/| /' conftest.$ac_ext >&5
10164 lt_cv_ld_exported_symbols_list=no
10167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10168 conftest$ac_exeext conftest.$ac_ext
10169 LDFLAGS="$save_LDFLAGS"
10172 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
10173 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
10175 rhapsody* | darwin1.[012])
10176 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
10178 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10179 darwin*) # darwin 5.x on
10180 # if running on 10.5 or later, the deployment target defaults
10181 # to the OS version, if on x86, and 10.4, the deployment
10182 # target defaults to 10.4. Don't you love it?
10183 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10184 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
10185 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10187 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10189 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10193 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
10194 _lt_dar_single_mod='$single_module'
10196 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
10197 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
10199 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
10201 if test "$DSYMUTIL" != ":"; then
10202 _lt_dsymutil='~$DSYMUTIL $lib || :'
10210 for ac_header in dlfcn.h
10212 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10213 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10215 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10216 echo $ECHO_N "(cached) $ECHO_C" >&6
10218 cat >conftest.$ac_ext <<_ACEOF
10221 cat confdefs.h >>conftest.$ac_ext
10222 cat >>conftest.$ac_ext <<_ACEOF
10223 /* end confdefs.h. */
10224 $ac_includes_default
10226 #include <$ac_header>
10228 rm -f conftest.$ac_objext
10229 if { (ac_try="$ac_compile"
10230 case "(($ac_try" in
10231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10232 *) ac_try_echo=$ac_try;;
10234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10235 (eval "$ac_compile") 2>conftest.er1
10237 grep -v '^ *+' conftest.er1 >conftest.err
10239 cat conftest.err >&5
10240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10241 (exit $ac_status); } && {
10242 test -z "$ac_c_werror_flag" ||
10243 test ! -s conftest.err
10244 } && test -s conftest.$ac_objext; then
10245 eval "$as_ac_Header=yes"
10247 echo "$as_me: failed program was:" >&5
10248 sed 's/^/| /' conftest.$ac_ext >&5
10250 eval "$as_ac_Header=no"
10253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10255 ac_res=`eval echo '${'$as_ac_Header'}'`
10256 { echo "$as_me:$LINENO: result: $ac_res" >&5
10257 echo "${ECHO_T}$ac_res" >&6; }
10258 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10259 cat >>confdefs.h <<_ACEOF
10260 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10270 ac_cpp='$CXXCPP $CPPFLAGS'
10271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10274 if test -z "$CXX"; then
10275 if test -n "$CCC"; then
10278 if test -n "$ac_tool_prefix"; then
10279 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
10281 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10282 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10283 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10285 if test "${ac_cv_prog_CXX+set}" = set; then
10286 echo $ECHO_N "(cached) $ECHO_C" >&6
10288 if test -n "$CXX"; then
10289 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10292 for as_dir in $PATH
10295 test -z "$as_dir" && as_dir=.
10296 for ac_exec_ext in '' $ac_executable_extensions; do
10297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10298 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10308 CXX=$ac_cv_prog_CXX
10309 if test -n "$CXX"; then
10310 { echo "$as_me:$LINENO: result: $CXX" >&5
10311 echo "${ECHO_T}$CXX" >&6; }
10313 { echo "$as_me:$LINENO: result: no" >&5
10314 echo "${ECHO_T}no" >&6; }
10318 test -n "$CXX" && break
10321 if test -z "$CXX"; then
10323 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
10325 # Extract the first word of "$ac_prog", so it can be a program name with args.
10326 set dummy $ac_prog; ac_word=$2
10327 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10329 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10330 echo $ECHO_N "(cached) $ECHO_C" >&6
10332 if test -n "$ac_ct_CXX"; then
10333 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10336 for as_dir in $PATH
10339 test -z "$as_dir" && as_dir=.
10340 for ac_exec_ext in '' $ac_executable_extensions; do
10341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10342 ac_cv_prog_ac_ct_CXX="$ac_prog"
10343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10352 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
10353 if test -n "$ac_ct_CXX"; then
10354 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
10355 echo "${ECHO_T}$ac_ct_CXX" >&6; }
10357 { echo "$as_me:$LINENO: result: no" >&5
10358 echo "${ECHO_T}no" >&6; }
10362 test -n "$ac_ct_CXX" && break
10365 if test "x$ac_ct_CXX" = x; then
10368 case $cross_compiling:$ac_tool_warned in
10370 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10371 whose name does not start with the host triplet. If you think this
10372 configuration is useful to you, please write to autoconf@gnu.org." >&5
10373 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10374 whose name does not start with the host triplet. If you think this
10375 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
10376 ac_tool_warned=yes ;;
10384 # Provide some information about the compiler.
10385 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
10386 ac_compiler=`set X $ac_compile; echo $2`
10387 { (ac_try="$ac_compiler --version >&5"
10388 case "(($ac_try" in
10389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10390 *) ac_try_echo=$ac_try;;
10392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10393 (eval "$ac_compiler --version >&5") 2>&5
10395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10396 (exit $ac_status); }
10397 { (ac_try="$ac_compiler -v >&5"
10398 case "(($ac_try" in
10399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10400 *) ac_try_echo=$ac_try;;
10402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10403 (eval "$ac_compiler -v >&5") 2>&5
10405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10406 (exit $ac_status); }
10407 { (ac_try="$ac_compiler -V >&5"
10408 case "(($ac_try" in
10409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10410 *) ac_try_echo=$ac_try;;
10412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10413 (eval "$ac_compiler -V >&5") 2>&5
10415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10416 (exit $ac_status); }
10418 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
10419 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
10420 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
10421 echo $ECHO_N "(cached) $ECHO_C" >&6
10423 cat >conftest.$ac_ext <<_ACEOF
10426 cat confdefs.h >>conftest.$ac_ext
10427 cat >>conftest.$ac_ext <<_ACEOF
10428 /* end confdefs.h. */
10441 rm -f conftest.$ac_objext
10442 if { (ac_try="$ac_compile"
10443 case "(($ac_try" in
10444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10445 *) ac_try_echo=$ac_try;;
10447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10448 (eval "$ac_compile") 2>conftest.er1
10450 grep -v '^ *+' conftest.er1 >conftest.err
10452 cat conftest.err >&5
10453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10454 (exit $ac_status); } && {
10455 test -z "$ac_cxx_werror_flag" ||
10456 test ! -s conftest.err
10457 } && test -s conftest.$ac_objext; then
10458 ac_compiler_gnu=yes
10460 echo "$as_me: failed program was:" >&5
10461 sed 's/^/| /' conftest.$ac_ext >&5
10466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10467 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
10470 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
10471 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
10472 GXX=`test $ac_compiler_gnu = yes && echo yes`
10473 ac_test_CXXFLAGS=${CXXFLAGS+set}
10474 ac_save_CXXFLAGS=$CXXFLAGS
10475 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
10476 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
10477 if test "${ac_cv_prog_cxx_g+set}" = set; then
10478 echo $ECHO_N "(cached) $ECHO_C" >&6
10480 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
10481 ac_cxx_werror_flag=yes
10482 ac_cv_prog_cxx_g=no
10484 cat >conftest.$ac_ext <<_ACEOF
10487 cat confdefs.h >>conftest.$ac_ext
10488 cat >>conftest.$ac_ext <<_ACEOF
10489 /* end confdefs.h. */
10499 rm -f conftest.$ac_objext
10500 if { (ac_try="$ac_compile"
10501 case "(($ac_try" in
10502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10503 *) ac_try_echo=$ac_try;;
10505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10506 (eval "$ac_compile") 2>conftest.er1
10508 grep -v '^ *+' conftest.er1 >conftest.err
10510 cat conftest.err >&5
10511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10512 (exit $ac_status); } && {
10513 test -z "$ac_cxx_werror_flag" ||
10514 test ! -s conftest.err
10515 } && test -s conftest.$ac_objext; then
10516 ac_cv_prog_cxx_g=yes
10518 echo "$as_me: failed program was:" >&5
10519 sed 's/^/| /' conftest.$ac_ext >&5
10522 cat >conftest.$ac_ext <<_ACEOF
10525 cat confdefs.h >>conftest.$ac_ext
10526 cat >>conftest.$ac_ext <<_ACEOF
10527 /* end confdefs.h. */
10537 rm -f conftest.$ac_objext
10538 if { (ac_try="$ac_compile"
10539 case "(($ac_try" in
10540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10541 *) ac_try_echo=$ac_try;;
10543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10544 (eval "$ac_compile") 2>conftest.er1
10546 grep -v '^ *+' conftest.er1 >conftest.err
10548 cat conftest.err >&5
10549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10550 (exit $ac_status); } && {
10551 test -z "$ac_cxx_werror_flag" ||
10552 test ! -s conftest.err
10553 } && test -s conftest.$ac_objext; then
10556 echo "$as_me: failed program was:" >&5
10557 sed 's/^/| /' conftest.$ac_ext >&5
10559 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10561 cat >conftest.$ac_ext <<_ACEOF
10564 cat confdefs.h >>conftest.$ac_ext
10565 cat >>conftest.$ac_ext <<_ACEOF
10566 /* end confdefs.h. */
10576 rm -f conftest.$ac_objext
10577 if { (ac_try="$ac_compile"
10578 case "(($ac_try" in
10579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10580 *) ac_try_echo=$ac_try;;
10582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10583 (eval "$ac_compile") 2>conftest.er1
10585 grep -v '^ *+' conftest.er1 >conftest.err
10587 cat conftest.err >&5
10588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10589 (exit $ac_status); } && {
10590 test -z "$ac_cxx_werror_flag" ||
10591 test ! -s conftest.err
10592 } && test -s conftest.$ac_objext; then
10593 ac_cv_prog_cxx_g=yes
10595 echo "$as_me: failed program was:" >&5
10596 sed 's/^/| /' conftest.$ac_ext >&5
10601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10608 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10610 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
10611 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
10612 if test "$ac_test_CXXFLAGS" = set; then
10613 CXXFLAGS=$ac_save_CXXFLAGS
10614 elif test $ac_cv_prog_cxx_g = yes; then
10615 if test "$GXX" = yes; then
10621 if test "$GXX" = yes; then
10628 ac_cpp='$CPP $CPPFLAGS'
10629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10633 depcc="$CXX" am_compiler_list=
10635 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
10636 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
10637 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
10638 echo $ECHO_N "(cached) $ECHO_C" >&6
10640 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
10641 # We make a subdir and do the tests there. Otherwise we can end up
10642 # making bogus files that we don't know about and never remove. For
10643 # instance it was reported that on HP-UX the gcc test will end up
10644 # making a dummy file named `D' -- because `-MD' means `put the output
10647 # Copy depcomp to subdir because otherwise we won't find it if we're
10648 # using a relative directory.
10649 cp "$am_depcomp" conftest.dir
10651 # We will build objects and dependencies in a subdirectory because
10652 # it helps to detect inapplicable dependency modes. For instance
10653 # both Tru64's cc and ICC support -MD to output dependencies as a
10654 # side effect of compilation, but ICC will put the dependencies in
10655 # the current directory while Tru64 will put them in the object
10659 am_cv_CXX_dependencies_compiler_type=none
10660 if test "$am_compiler_list" = ""; then
10661 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
10663 for depmode in $am_compiler_list; do
10664 # Setup a source with many dependencies, because some compilers
10665 # like to wrap large dependency lists on column 80 (with \), and
10666 # we should not choose a depcomp mode which is confused by this.
10668 # We need to recreate these files for each test, as the compiler may
10669 # overwrite some of them when testing with obscure command lines.
10670 # This happens at least with the AIX C compiler.
10672 for i in 1 2 3 4 5 6; do
10673 echo '#include "conftst'$i'.h"' >> sub/conftest.c
10674 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
10675 # Solaris 8's {/usr,}/bin/sh.
10676 touch sub/conftst$i.h
10678 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
10682 # after this tag, mechanisms are not by side-effect, so they'll
10683 # only be used when explicitly requested
10684 if test "x$enable_dependency_tracking" = xyes; then
10692 # We check with `-c' and `-o' for the sake of the "dashmstdout"
10693 # mode. It turns out that the SunPro C++ compiler does not properly
10694 # handle `-M -o', and we need to detect this.
10695 if depmode=$depmode \
10696 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
10697 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
10698 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
10699 >/dev/null 2>conftest.err &&
10700 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
10701 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
10702 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
10703 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
10704 # icc doesn't choke on unknown options, it will just issue warnings
10705 # or remarks (even with -Werror). So we grep stderr for any message
10706 # that says an option was ignored or not supported.
10707 # When given -MP, icc 7.0 and 7.1 complain thusly:
10708 # icc: Command line warning: ignoring option '-M'; no argument required
10709 # The diagnosis changed in icc 8.0:
10710 # icc: Command line remark: option '-MP' not supported
10711 if (grep 'ignoring option' conftest.err ||
10712 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
10713 am_cv_CXX_dependencies_compiler_type=$depmode
10720 rm -rf conftest.dir
10722 am_cv_CXX_dependencies_compiler_type=none
10726 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
10727 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
10728 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
10731 test "x$enable_dependency_tracking" != xno \
10732 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
10733 am__fastdepCXX_TRUE=
10734 am__fastdepCXX_FALSE='#'
10736 am__fastdepCXX_TRUE='#'
10737 am__fastdepCXX_FALSE=
10741 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10742 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10743 (test "X$CXX" != "Xg++"))) ; then
10745 ac_cpp='$CXXCPP $CPPFLAGS'
10746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10749 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
10750 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
10751 if test -z "$CXXCPP"; then
10752 if test "${ac_cv_prog_CXXCPP+set}" = set; then
10753 echo $ECHO_N "(cached) $ECHO_C" >&6
10755 # Double quotes because CXXCPP needs to be expanded
10756 for CXXCPP in "$CXX -E" "/lib/cpp"
10758 ac_preproc_ok=false
10759 for ac_cxx_preproc_warn_flag in '' yes
10761 # Use a header file that comes with gcc, so configuring glibc
10762 # with a fresh cross-compiler works.
10763 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10764 # <limits.h> exists even on freestanding compilers.
10765 # On the NeXT, cc -E runs the code through the compiler's parser,
10766 # not just through cpp. "Syntax error" is here to catch this case.
10767 cat >conftest.$ac_ext <<_ACEOF
10770 cat confdefs.h >>conftest.$ac_ext
10771 cat >>conftest.$ac_ext <<_ACEOF
10772 /* end confdefs.h. */
10774 # include <limits.h>
10776 # include <assert.h>
10780 if { (ac_try="$ac_cpp conftest.$ac_ext"
10781 case "(($ac_try" in
10782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10783 *) ac_try_echo=$ac_try;;
10785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10786 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10788 grep -v '^ *+' conftest.er1 >conftest.err
10790 cat conftest.err >&5
10791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10792 (exit $ac_status); } >/dev/null && {
10793 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10794 test ! -s conftest.err
10798 echo "$as_me: failed program was:" >&5
10799 sed 's/^/| /' conftest.$ac_ext >&5
10801 # Broken: fails on valid input.
10805 rm -f conftest.err conftest.$ac_ext
10807 # OK, works on sane cases. Now check whether nonexistent headers
10808 # can be detected and how.
10809 cat >conftest.$ac_ext <<_ACEOF
10812 cat confdefs.h >>conftest.$ac_ext
10813 cat >>conftest.$ac_ext <<_ACEOF
10814 /* end confdefs.h. */
10815 #include <ac_nonexistent.h>
10817 if { (ac_try="$ac_cpp conftest.$ac_ext"
10818 case "(($ac_try" in
10819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10820 *) ac_try_echo=$ac_try;;
10822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10823 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10825 grep -v '^ *+' conftest.er1 >conftest.err
10827 cat conftest.err >&5
10828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10829 (exit $ac_status); } >/dev/null && {
10830 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10831 test ! -s conftest.err
10833 # Broken: success on invalid input.
10836 echo "$as_me: failed program was:" >&5
10837 sed 's/^/| /' conftest.$ac_ext >&5
10839 # Passes both tests.
10844 rm -f conftest.err conftest.$ac_ext
10847 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10848 rm -f conftest.err conftest.$ac_ext
10849 if $ac_preproc_ok; then
10854 ac_cv_prog_CXXCPP=$CXXCPP
10857 CXXCPP=$ac_cv_prog_CXXCPP
10859 ac_cv_prog_CXXCPP=$CXXCPP
10861 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
10862 echo "${ECHO_T}$CXXCPP" >&6; }
10863 ac_preproc_ok=false
10864 for ac_cxx_preproc_warn_flag in '' yes
10866 # Use a header file that comes with gcc, so configuring glibc
10867 # with a fresh cross-compiler works.
10868 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10869 # <limits.h> exists even on freestanding compilers.
10870 # On the NeXT, cc -E runs the code through the compiler's parser,
10871 # not just through cpp. "Syntax error" is here to catch this case.
10872 cat >conftest.$ac_ext <<_ACEOF
10875 cat confdefs.h >>conftest.$ac_ext
10876 cat >>conftest.$ac_ext <<_ACEOF
10877 /* end confdefs.h. */
10879 # include <limits.h>
10881 # include <assert.h>
10885 if { (ac_try="$ac_cpp conftest.$ac_ext"
10886 case "(($ac_try" in
10887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10888 *) ac_try_echo=$ac_try;;
10890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10891 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10893 grep -v '^ *+' conftest.er1 >conftest.err
10895 cat conftest.err >&5
10896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10897 (exit $ac_status); } >/dev/null && {
10898 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10899 test ! -s conftest.err
10903 echo "$as_me: failed program was:" >&5
10904 sed 's/^/| /' conftest.$ac_ext >&5
10906 # Broken: fails on valid input.
10910 rm -f conftest.err conftest.$ac_ext
10912 # OK, works on sane cases. Now check whether nonexistent headers
10913 # can be detected and how.
10914 cat >conftest.$ac_ext <<_ACEOF
10917 cat confdefs.h >>conftest.$ac_ext
10918 cat >>conftest.$ac_ext <<_ACEOF
10919 /* end confdefs.h. */
10920 #include <ac_nonexistent.h>
10922 if { (ac_try="$ac_cpp conftest.$ac_ext"
10923 case "(($ac_try" in
10924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10925 *) ac_try_echo=$ac_try;;
10927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10928 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10930 grep -v '^ *+' conftest.er1 >conftest.err
10932 cat conftest.err >&5
10933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10934 (exit $ac_status); } >/dev/null && {
10935 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10936 test ! -s conftest.err
10938 # Broken: success on invalid input.
10941 echo "$as_me: failed program was:" >&5
10942 sed 's/^/| /' conftest.$ac_ext >&5
10944 # Passes both tests.
10949 rm -f conftest.err conftest.$ac_ext
10952 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10953 rm -f conftest.err conftest.$ac_ext
10954 if $ac_preproc_ok; then
10957 _lt_caught_CXX_error=yes
10961 ac_cpp='$CPP $CPPFLAGS'
10962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10967 _lt_caught_CXX_error=yes
10981 enable_win32_dll=no
10984 # Check whether --enable-shared was given.
10985 if test "${enable_shared+set}" = set; then
10986 enableval=$enable_shared; p=${PACKAGE-default}
10988 yes) enable_shared=yes ;;
10989 no) enable_shared=no ;;
10992 # Look at the argument we got. We use all the common list separators.
10993 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10994 for pkg in $enableval; do
10996 if test "X$pkg" = "X$p"; then
11015 # Check whether --enable-static was given.
11016 if test "${enable_static+set}" = set; then
11017 enableval=$enable_static; p=${PACKAGE-default}
11019 yes) enable_static=yes ;;
11020 no) enable_static=no ;;
11023 # Look at the argument we got. We use all the common list separators.
11024 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11025 for pkg in $enableval; do
11027 if test "X$pkg" = "X$p"; then
11047 # Check whether --with-pic was given.
11048 if test "${with_pic+set}" = set; then
11049 withval=$with_pic; pic_mode="$withval"
11055 test -z "$pic_mode" && pic_mode=default
11063 # Check whether --enable-fast-install was given.
11064 if test "${enable_fast_install+set}" = set; then
11065 enableval=$enable_fast_install; p=${PACKAGE-default}
11067 yes) enable_fast_install=yes ;;
11068 no) enable_fast_install=no ;;
11070 enable_fast_install=no
11071 # Look at the argument we got. We use all the common list separators.
11072 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11073 for pkg in $enableval; do
11075 if test "X$pkg" = "X$p"; then
11076 enable_fast_install=yes
11083 enable_fast_install=yes
11096 # This can be used to rebuild libtool when needed
11097 LIBTOOL_DEPS="$ltmain"
11099 # Always use our own libtool.
11100 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
11126 test -z "$LN_S" && LN_S="ln -s"
11141 if test -n "${ZSH_VERSION+set}" ; then
11142 setopt NO_GLOB_SUBST
11145 { echo "$as_me:$LINENO: checking for objdir" >&5
11146 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
11147 if test "${lt_cv_objdir+set}" = set; then
11148 echo $ECHO_N "(cached) $ECHO_C" >&6
11150 rm -f .libs 2>/dev/null
11151 mkdir .libs 2>/dev/null
11152 if test -d .libs; then
11155 # MS-DOS does not allow filenames that begin with a dot.
11158 rmdir .libs 2>/dev/null
11160 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
11161 echo "${ECHO_T}$lt_cv_objdir" >&6; }
11162 objdir=$lt_cv_objdir
11168 cat >>confdefs.h <<_ACEOF
11169 #define LT_OBJDIR "$lt_cv_objdir/"
11190 # AIX sometimes has problems with the GCC collect2 program. For some
11191 # reason, if we set the COLLECT_NAMES environment variable, the problems
11192 # vanish in a puff of smoke.
11193 if test "X${COLLECT_NAMES+set}" != Xset; then
11195 export COLLECT_NAMES
11200 # Sed substitution that helps us do robust quoting. It backslashifies
11201 # metacharacters that are still active within double-quoted strings.
11202 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
11204 # Same as above, but do not quote variable references.
11205 double_quote_subst='s/\(["`\\]\)/\\\1/g'
11207 # Sed substitution to delay expansion of an escaped shell variable in a
11208 # double_quote_subst'ed string.
11209 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
11211 # Sed substitution to delay expansion of an escaped single quote.
11212 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
11214 # Sed substitution to avoid accidental globbing in evaled expressions
11215 no_glob_subst='s/\*/\\\*/g'
11217 # Global variables:
11219 can_build_shared=yes
11221 # All known linkers require a `.a' archive for static linking (except MSVC,
11222 # which needs '.lib').
11225 with_gnu_ld="$lt_cv_prog_gnu_ld"
11228 old_CFLAGS="$CFLAGS"
11230 # Set sane defaults for various variables
11231 test -z "$CC" && CC=cc
11232 test -z "$LTCC" && LTCC=$CC
11233 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
11234 test -z "$LD" && LD=ld
11235 test -z "$ac_objext" && ac_objext=o
11237 for cc_temp in $compiler""; do
11239 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11240 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11245 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11248 # Only perform the check for file, if the check method requires it
11249 test -z "$MAGIC_CMD" && MAGIC_CMD=file
11250 case $deplibs_check_method in
11252 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
11253 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
11254 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
11255 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
11256 echo $ECHO_N "(cached) $ECHO_C" >&6
11260 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11263 lt_save_MAGIC_CMD="$MAGIC_CMD"
11264 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11265 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11266 for ac_dir in $ac_dummy; do
11268 test -z "$ac_dir" && ac_dir=.
11269 if test -f $ac_dir/${ac_tool_prefix}file; then
11270 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
11271 if test -n "$file_magic_test_file"; then
11272 case $deplibs_check_method in
11274 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11275 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11276 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11277 $EGREP "$file_magic_regex" > /dev/null; then
11282 *** Warning: the command libtool uses to detect shared libraries,
11283 *** $file_magic_cmd, produces output that libtool cannot recognize.
11284 *** The result is that libtool may fail to recognize shared libraries
11285 *** as such. This will affect the creation of libtool libraries that
11286 *** depend on shared libraries, but programs linked with such libtool
11287 *** libraries will work regardless of this problem. Nevertheless, you
11288 *** may want to report the problem to your system manager and/or to
11289 *** bug-libtool@gnu.org
11299 MAGIC_CMD="$lt_save_MAGIC_CMD"
11304 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11305 if test -n "$MAGIC_CMD"; then
11306 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
11307 echo "${ECHO_T}$MAGIC_CMD" >&6; }
11309 { echo "$as_me:$LINENO: result: no" >&5
11310 echo "${ECHO_T}no" >&6; }
11317 if test -z "$lt_cv_path_MAGIC_CMD"; then
11318 if test -n "$ac_tool_prefix"; then
11319 { echo "$as_me:$LINENO: checking for file" >&5
11320 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
11321 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
11322 echo $ECHO_N "(cached) $ECHO_C" >&6
11326 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11329 lt_save_MAGIC_CMD="$MAGIC_CMD"
11330 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11331 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11332 for ac_dir in $ac_dummy; do
11334 test -z "$ac_dir" && ac_dir=.
11335 if test -f $ac_dir/file; then
11336 lt_cv_path_MAGIC_CMD="$ac_dir/file"
11337 if test -n "$file_magic_test_file"; then
11338 case $deplibs_check_method in
11340 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11341 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11342 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11343 $EGREP "$file_magic_regex" > /dev/null; then
11348 *** Warning: the command libtool uses to detect shared libraries,
11349 *** $file_magic_cmd, produces output that libtool cannot recognize.
11350 *** The result is that libtool may fail to recognize shared libraries
11351 *** as such. This will affect the creation of libtool libraries that
11352 *** depend on shared libraries, but programs linked with such libtool
11353 *** libraries will work regardless of this problem. Nevertheless, you
11354 *** may want to report the problem to your system manager and/or to
11355 *** bug-libtool@gnu.org
11365 MAGIC_CMD="$lt_save_MAGIC_CMD"
11370 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11371 if test -n "$MAGIC_CMD"; then
11372 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
11373 echo "${ECHO_T}$MAGIC_CMD" >&6; }
11375 { echo "$as_me:$LINENO: result: no" >&5
11376 echo "${ECHO_T}no" >&6; }
11389 # Use C for the default configuration in the libtool script
11393 ac_cpp='$CPP $CPPFLAGS'
11394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11399 # Source file extension for C test sources.
11402 # Object file extension for compiled C test sources.
11406 # Code to be used in simple compile tests
11407 lt_simple_compile_test_code="int some_variable = 0;"
11409 # Code to be used in simple link tests
11410 lt_simple_link_test_code='int main(){return(0);}'
11418 # If no C compiler was specified, use CC.
11421 # If no C compiler flags were specified, use CFLAGS.
11422 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11424 # Allow CC to be a program name with arguments.
11427 # Save the default compiler, since it gets overwritten when the other
11428 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
11429 compiler_DEFAULT=$CC
11431 # save warnings/boilerplate of simple test code
11432 ac_outfile=conftest.$ac_objext
11433 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11434 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11435 _lt_compiler_boilerplate=`cat conftest.err`
11438 ac_outfile=conftest.$ac_objext
11439 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11440 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11441 _lt_linker_boilerplate=`cat conftest.err`
11445 if test -n "$compiler"; then
11447 lt_prog_compiler_no_builtin_flag=
11449 if test "$GCC" = yes; then
11450 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
11452 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11453 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
11454 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
11455 echo $ECHO_N "(cached) $ECHO_C" >&6
11457 lt_cv_prog_compiler_rtti_exceptions=no
11458 ac_outfile=conftest.$ac_objext
11459 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11460 lt_compiler_flag="-fno-rtti -fno-exceptions"
11461 # Insert the option either (1) after the last *FLAGS variable, or
11462 # (2) before a word containing "conftest.", or (3) at the end.
11463 # Note that $ac_compile itself does not contain backslashes and begins
11464 # with a dollar sign (not a hyphen), so the echo should work correctly.
11465 # The option is referenced via a variable to avoid confusing sed.
11466 lt_compile=`echo "$ac_compile" | $SED \
11467 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11468 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11469 -e 's:$: $lt_compiler_flag:'`
11470 (eval echo "\"\$as_me:11470: $lt_compile\"" >&5)
11471 (eval "$lt_compile" 2>conftest.err)
11473 cat conftest.err >&5
11474 echo "$as_me:11474: \$? = $ac_status" >&5
11475 if (exit $ac_status) && test -s "$ac_outfile"; then
11476 # The compiler can only warn and ignore the option if not recognized
11477 # So say no if there are warnings other than the usual output.
11478 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
11479 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11480 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11481 lt_cv_prog_compiler_rtti_exceptions=yes
11487 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11488 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11490 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
11491 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11503 lt_prog_compiler_wl=
11504 lt_prog_compiler_pic=
11505 lt_prog_compiler_static=
11507 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11508 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11510 if test "$GCC" = yes; then
11511 lt_prog_compiler_wl='-Wl,'
11512 lt_prog_compiler_static='-static'
11516 # All AIX code is PIC.
11517 if test "$host_cpu" = ia64; then
11518 # AIX 5 now supports IA64 processor
11519 lt_prog_compiler_static='-Bstatic'
11526 # see comment about AmigaOS4 .so support
11527 lt_prog_compiler_pic='-fPIC'
11530 # FIXME: we need at least 68020 code to build shared libraries, but
11531 # adding the `-m68020' flag to GCC prevents building anything better,
11533 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
11538 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11539 # PIC is the default for these OSes.
11542 mingw* | cygwin* | pw32* | os2*)
11543 # This hack is so that the source file can tell whether it is being
11544 # built for inclusion in a dll (and should export symbols for example).
11545 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11546 # (--disable-auto-import) libraries
11547 lt_prog_compiler_pic='-DDLL_EXPORT'
11550 darwin* | rhapsody*)
11551 # PIC is the default on this platform
11552 # Common symbols not allowed in MH_DYLIB files
11553 lt_prog_compiler_pic='-fno-common'
11557 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11558 # not for PA HP-UX.
11564 lt_prog_compiler_pic='-fPIC'
11570 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11571 # Instead, we relocate shared libraries at runtime.
11575 # Just because we use GCC doesn't mean we suddenly get shared libraries
11576 # on systems that don't support them.
11577 lt_prog_compiler_can_build_shared=no
11582 # QNX uses GNU C++, but need to define -shared option too, otherwise
11583 # it will coredump.
11584 lt_prog_compiler_pic='-fPIC -shared'
11588 if test -d /usr/nec; then
11589 lt_prog_compiler_pic=-Kconform_pic
11594 lt_prog_compiler_pic='-fPIC'
11598 # PORTME Check for flag to pass linker flags through the system compiler.
11601 lt_prog_compiler_wl='-Wl,'
11602 if test "$host_cpu" = ia64; then
11603 # AIX 5 now supports IA64 processor
11604 lt_prog_compiler_static='-Bstatic'
11606 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
11610 mingw* | cygwin* | pw32* | os2*)
11611 # This hack is so that the source file can tell whether it is being
11612 # built for inclusion in a dll (and should export symbols for example).
11613 lt_prog_compiler_pic='-DDLL_EXPORT'
11616 hpux9* | hpux10* | hpux11*)
11617 lt_prog_compiler_wl='-Wl,'
11618 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11619 # not for PA HP-UX.
11625 lt_prog_compiler_pic='+Z'
11628 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11629 lt_prog_compiler_static='${wl}-a ${wl}archive'
11632 irix5* | irix6* | nonstopux*)
11633 lt_prog_compiler_wl='-Wl,'
11634 # PIC (with -KPIC) is the default.
11635 lt_prog_compiler_static='-non_shared'
11638 linux* | k*bsd*-gnu)
11639 case $cc_basename in
11640 icc* | ecc* | ifort*)
11641 lt_prog_compiler_wl='-Wl,'
11642 lt_prog_compiler_pic='-KPIC'
11643 lt_prog_compiler_static='-static'
11645 pgcc* | pgf77* | pgf90* | pgf95*)
11646 # Portland Group compilers (*not* the Pentium gcc compiler,
11647 # which looks to be a dead project)
11648 lt_prog_compiler_wl='-Wl,'
11649 lt_prog_compiler_pic='-fpic'
11650 lt_prog_compiler_static='-Bstatic'
11653 lt_prog_compiler_wl='-Wl,'
11654 # All Alpha code is PIC.
11655 lt_prog_compiler_static='-non_shared'
11658 # IBM XL C 8.0/Fortran 10.1 on PPC
11659 lt_prog_compiler_wl='-Wl,'
11660 lt_prog_compiler_pic='-qpic'
11661 lt_prog_compiler_static='-qstaticlink'
11664 case `$CC -V 2>&1 | sed 5q` in
11667 lt_prog_compiler_pic='-KPIC'
11668 lt_prog_compiler_static='-Bstatic'
11669 lt_prog_compiler_wl='-Wl,'
11672 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11673 lt_prog_compiler_pic='-KPIC'
11674 lt_prog_compiler_static='-Bstatic'
11675 lt_prog_compiler_wl=''
11683 lt_prog_compiler_pic='-KPIC'
11684 lt_prog_compiler_static='-Bstatic'
11688 # QNX uses GNU C++, but need to define -shared option too, otherwise
11689 # it will coredump.
11690 lt_prog_compiler_pic='-fPIC -shared'
11693 osf3* | osf4* | osf5*)
11694 lt_prog_compiler_wl='-Wl,'
11695 # All OSF/1 code is PIC.
11696 lt_prog_compiler_static='-non_shared'
11700 lt_prog_compiler_static='-non_shared'
11704 lt_prog_compiler_pic='-KPIC'
11705 lt_prog_compiler_static='-Bstatic'
11706 case $cc_basename in
11707 f77* | f90* | f95*)
11708 lt_prog_compiler_wl='-Qoption ld ';;
11710 lt_prog_compiler_wl='-Wl,';;
11715 lt_prog_compiler_wl='-Qoption ld '
11716 lt_prog_compiler_pic='-PIC'
11717 lt_prog_compiler_static='-Bstatic'
11720 sysv4 | sysv4.2uw2* | sysv4.3*)
11721 lt_prog_compiler_wl='-Wl,'
11722 lt_prog_compiler_pic='-KPIC'
11723 lt_prog_compiler_static='-Bstatic'
11727 if test -d /usr/nec ;then
11728 lt_prog_compiler_pic='-Kconform_pic'
11729 lt_prog_compiler_static='-Bstatic'
11733 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11734 lt_prog_compiler_wl='-Wl,'
11735 lt_prog_compiler_pic='-KPIC'
11736 lt_prog_compiler_static='-Bstatic'
11740 lt_prog_compiler_wl='-Wl,'
11741 lt_prog_compiler_can_build_shared=no
11745 lt_prog_compiler_pic='-pic'
11746 lt_prog_compiler_static='-Bstatic'
11750 lt_prog_compiler_can_build_shared=no
11756 # For platforms which do not support PIC, -DPIC is meaningless:
11758 lt_prog_compiler_pic=
11761 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11764 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
11765 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
11773 # Check to make sure the PIC flag actually works.
11775 if test -n "$lt_prog_compiler_pic"; then
11776 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11777 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
11778 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
11779 echo $ECHO_N "(cached) $ECHO_C" >&6
11781 lt_cv_prog_compiler_pic_works=no
11782 ac_outfile=conftest.$ac_objext
11783 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11784 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
11785 # Insert the option either (1) after the last *FLAGS variable, or
11786 # (2) before a word containing "conftest.", or (3) at the end.
11787 # Note that $ac_compile itself does not contain backslashes and begins
11788 # with a dollar sign (not a hyphen), so the echo should work correctly.
11789 # The option is referenced via a variable to avoid confusing sed.
11790 lt_compile=`echo "$ac_compile" | $SED \
11791 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11792 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11793 -e 's:$: $lt_compiler_flag:'`
11794 (eval echo "\"\$as_me:11794: $lt_compile\"" >&5)
11795 (eval "$lt_compile" 2>conftest.err)
11797 cat conftest.err >&5
11798 echo "$as_me:11798: \$? = $ac_status" >&5
11799 if (exit $ac_status) && test -s "$ac_outfile"; then
11800 # The compiler can only warn and ignore the option if not recognized
11801 # So say no if there are warnings other than the usual output.
11802 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
11803 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11804 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11805 lt_cv_prog_compiler_pic_works=yes
11811 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
11812 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
11814 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
11815 case $lt_prog_compiler_pic in
11817 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
11820 lt_prog_compiler_pic=
11821 lt_prog_compiler_can_build_shared=no
11832 # Check to make sure the static flag actually works.
11834 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11835 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11836 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
11837 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
11838 echo $ECHO_N "(cached) $ECHO_C" >&6
11840 lt_cv_prog_compiler_static_works=no
11841 save_LDFLAGS="$LDFLAGS"
11842 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11843 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11844 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11845 # The linker can only warn and ignore the option if not recognized
11846 # So say no if there are warnings
11847 if test -s conftest.err; then
11848 # Append any errors to the config.log.
11849 cat conftest.err 1>&5
11850 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
11851 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11852 if diff conftest.exp conftest.er2 >/dev/null; then
11853 lt_cv_prog_compiler_static_works=yes
11856 lt_cv_prog_compiler_static_works=yes
11860 LDFLAGS="$save_LDFLAGS"
11863 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
11864 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
11866 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
11869 lt_prog_compiler_static=
11878 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11879 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11880 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
11881 echo $ECHO_N "(cached) $ECHO_C" >&6
11883 lt_cv_prog_compiler_c_o=no
11884 $RM -r conftest 2>/dev/null
11888 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11890 lt_compiler_flag="-o out/conftest2.$ac_objext"
11891 # Insert the option either (1) after the last *FLAGS variable, or
11892 # (2) before a word containing "conftest.", or (3) at the end.
11893 # Note that $ac_compile itself does not contain backslashes and begins
11894 # with a dollar sign (not a hyphen), so the echo should work correctly.
11895 lt_compile=`echo "$ac_compile" | $SED \
11896 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11897 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11898 -e 's:$: $lt_compiler_flag:'`
11899 (eval echo "\"\$as_me:11899: $lt_compile\"" >&5)
11900 (eval "$lt_compile" 2>out/conftest.err)
11902 cat out/conftest.err >&5
11903 echo "$as_me:11903: \$? = $ac_status" >&5
11904 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11906 # The compiler can only warn and ignore the option if not recognized
11907 # So say no if there are warnings
11908 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11909 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11910 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11911 lt_cv_prog_compiler_c_o=yes
11916 # SGI C++ compiler will create directory out/ii_files/ for
11917 # template instantiation
11918 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11919 $RM out/* && rmdir out
11925 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
11926 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
11933 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11934 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11935 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
11936 echo $ECHO_N "(cached) $ECHO_C" >&6
11938 lt_cv_prog_compiler_c_o=no
11939 $RM -r conftest 2>/dev/null
11943 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11945 lt_compiler_flag="-o out/conftest2.$ac_objext"
11946 # Insert the option either (1) after the last *FLAGS variable, or
11947 # (2) before a word containing "conftest.", or (3) at the end.
11948 # Note that $ac_compile itself does not contain backslashes and begins
11949 # with a dollar sign (not a hyphen), so the echo should work correctly.
11950 lt_compile=`echo "$ac_compile" | $SED \
11951 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11952 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11953 -e 's:$: $lt_compiler_flag:'`
11954 (eval echo "\"\$as_me:11954: $lt_compile\"" >&5)
11955 (eval "$lt_compile" 2>out/conftest.err)
11957 cat out/conftest.err >&5
11958 echo "$as_me:11958: \$? = $ac_status" >&5
11959 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11961 # The compiler can only warn and ignore the option if not recognized
11962 # So say no if there are warnings
11963 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11964 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11965 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11966 lt_cv_prog_compiler_c_o=yes
11971 # SGI C++ compiler will create directory out/ii_files/ for
11972 # template instantiation
11973 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11974 $RM out/* && rmdir out
11980 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
11981 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
11986 hard_links="nottested"
11987 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
11988 # do not overwrite the value of need_locks provided by the user
11989 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11990 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
11993 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11995 ln conftest.a conftest.b 2>&5 || hard_links=no
11996 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11997 { echo "$as_me:$LINENO: result: $hard_links" >&5
11998 echo "${ECHO_T}$hard_links" >&6; }
11999 if test "$hard_links" = no; then
12000 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12001 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12013 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12014 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12017 allow_undefined_flag=
12018 always_export_symbols=no
12020 archive_expsym_cmds=
12021 compiler_needs_object=no
12022 enable_shared_with_static_runtimes=no
12023 export_dynamic_flag_spec=
12024 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12025 hardcode_automatic=no
12027 hardcode_direct_absolute=no
12028 hardcode_libdir_flag_spec=
12029 hardcode_libdir_flag_spec_ld=
12030 hardcode_libdir_separator=
12031 hardcode_minus_L=no
12032 hardcode_shlibpath_var=unsupported
12034 link_all_deplibs=unknown
12036 module_expsym_cmds=
12037 old_archive_from_new_cmds=
12038 old_archive_from_expsyms_cmds=
12039 thread_safe_flag_spec=
12040 whole_archive_flag_spec=
12041 # include_expsyms should be a list of space-separated symbols to be *always*
12042 # included in the symbol list
12044 # exclude_expsyms can be an extended regexp of symbols to exclude
12045 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12046 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12047 # as well as any symbol that contains `d'.
12048 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12049 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12050 # platforms (ab)use it in PIC code, but their linkers get confused if
12051 # the symbol is explicitly referenced. Since portable code cannot
12052 # rely on this symbol name, it's probably fine to never include it in
12053 # preloaded symbol tables.
12054 # Exclude shared library initialization/finalization symbols.
12055 extract_expsyms_cmds=
12058 cygwin* | mingw* | pw32*)
12059 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12060 # When not using gcc, we currently assume that we are using
12061 # Microsoft Visual C++.
12062 if test "$GCC" != yes; then
12067 # we just hope/assume this is gcc and not c89 (= MSVC++)
12076 if test "$with_gnu_ld" = yes; then
12077 # If archive_cmds runs LD, not CC, wlarc should be empty
12080 # Set some defaults for GNU ld with shared library support. These
12081 # are reset later if shared libraries are not supported. Putting them
12082 # here allows them to be overridden if necessary.
12083 runpath_var=LD_RUN_PATH
12084 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12085 export_dynamic_flag_spec='${wl}--export-dynamic'
12086 # ancient GNU ld didn't support --whole-archive et. al.
12087 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12088 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12090 whole_archive_flag_spec=
12092 supports_anon_versioning=no
12093 case `$LD -v 2>&1` in
12094 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12095 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12096 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12097 *\ 2.11.*) ;; # other 2.11 versions
12098 *) supports_anon_versioning=yes ;;
12101 # See if GNU ld supports shared libraries.
12104 # On AIX/PPC, the GNU linker is very broken
12105 if test "$host_cpu" != ia64; then
12109 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
12110 *** to be unable to reliably create shared libraries on AIX.
12111 *** Therefore, libtool is disabling shared libraries support. If you
12112 *** really care for shared libraries, you may want to modify your PATH
12113 *** so that a non-GNU linker is found, and then restart.
12122 # see comment about AmigaOS4 .so support
12123 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12124 archive_expsym_cmds=''
12127 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)'
12128 hardcode_libdir_flag_spec='-L$libdir'
12129 hardcode_minus_L=yes
12135 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12136 allow_undefined_flag=unsupported
12137 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12138 # support --undefined. This deserves some investigation. FIXME
12139 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12145 cygwin* | mingw* | pw32*)
12146 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
12147 # as there is no search path for DLLs.
12148 hardcode_libdir_flag_spec='-L$libdir'
12149 allow_undefined_flag=unsupported
12150 always_export_symbols=no
12151 enable_shared_with_static_runtimes=yes
12152 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12154 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12155 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12156 # If the export-symbols file already is a .def file (1st line
12157 # is EXPORTS), use it as is; otherwise, prepend...
12158 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12159 cp $export_symbols $output_objdir/$soname.def;
12161 echo EXPORTS > $output_objdir/$soname.def;
12162 cat $export_symbols >> $output_objdir/$soname.def;
12164 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12172 hardcode_shlibpath_var=no
12173 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12174 export_dynamic_flag_spec='${wl}-E'
12175 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12176 # Instead, shared libraries are loaded at an image base (0x10000000 by
12177 # default) and relocated if they conflict, which is a slow very memory
12178 # consuming and fragmenting process. To avoid this, we pick a random,
12179 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12180 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12181 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12182 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'
12185 gnu* | linux* | tpf* | k*bsd*-gnu)
12187 if test "$host_os" = linux-dietlibc; then
12188 case $cc_basename in
12189 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
12192 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12193 && test "$tmp_diet" = no
12196 tmp_sharedflag='-shared'
12197 case $cc_basename,$host_cpu in
12198 pgcc*) # Portland Group C compiler
12199 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'
12200 tmp_addflag=' $pic_flag'
12202 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
12203 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'
12204 tmp_addflag=' $pic_flag -Mnomain' ;;
12205 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
12206 tmp_addflag=' -i_dynamic' ;;
12207 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
12208 tmp_addflag=' -i_dynamic -nofor_main' ;;
12209 ifc* | ifort*) # Intel Fortran compiler
12210 tmp_addflag=' -nofor_main' ;;
12211 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12212 tmp_sharedflag='-qmkshrobj'
12215 case `$CC -V 2>&1 | sed 5q` in
12216 *Sun\ C*) # Sun C 5.9
12217 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'
12218 compiler_needs_object=yes
12219 tmp_sharedflag='-G' ;;
12220 *Sun\ F*) # Sun Fortran 8.3
12221 tmp_sharedflag='-G' ;;
12223 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12225 if test "x$supports_anon_versioning" = xyes; then
12226 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12227 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12228 echo "local: *; };" >> $output_objdir/$libname.ver~
12229 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12232 case $cc_basename in
12234 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12235 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
12236 hardcode_libdir_flag_spec=
12237 hardcode_libdir_flag_spec_ld='-rpath $libdir'
12238 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12239 if test "x$supports_anon_versioning" = xyes; then
12240 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12241 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12242 echo "local: *; };" >> $output_objdir/$libname.ver~
12243 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12252 netbsd* | netbsdelf*-gnu)
12253 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12254 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12257 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12258 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12263 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
12267 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12268 *** create shared libraries on Solaris systems. Therefore, libtool
12269 *** is disabling shared libraries support. We urge you to upgrade GNU
12270 *** binutils to release 2.9.1 or newer. Another option is to modify
12271 *** your PATH or compiler configuration so that the native linker is
12272 *** used, and then restart.
12275 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12276 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12277 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12283 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
12284 case `$LD -v 2>&1` in
12285 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
12289 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12290 *** reliably create shared libraries on SCO systems. Therefore, libtool
12291 *** is disabling shared libraries support. We urge you to upgrade GNU
12292 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12293 *** your PATH or compiler configuration so that the native linker is
12294 *** used, and then restart.
12299 # For security reasons, it is highly recommended that you always
12300 # use absolute paths for naming shared libraries, and exclude the
12301 # DT_RUNPATH tag from executables and libraries. But doing so
12302 # requires that you compile everything twice, which is a pain.
12303 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12304 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12305 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12306 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12315 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12317 hardcode_direct=yes
12318 hardcode_shlibpath_var=no
12322 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12323 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12324 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12331 if test "$ld_shlibs" = no; then
12333 hardcode_libdir_flag_spec=
12334 export_dynamic_flag_spec=
12335 whole_archive_flag_spec=
12338 # PORTME fill in a description of your system's linker (not GNU ld)
12341 allow_undefined_flag=unsupported
12342 always_export_symbols=yes
12343 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'
12344 # Note: this linker hardcodes the directories in LIBPATH if there
12345 # are no directories specified by -L.
12346 hardcode_minus_L=yes
12347 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12348 # Neither direct hardcoding nor static linking is supported with a
12350 hardcode_direct=unsupported
12355 if test "$host_cpu" = ia64; then
12356 # On IA64, the linker does run time linking by default, so we don't
12357 # have to do anything special.
12358 aix_use_runtimelinking=no
12359 exp_sym_flag='-Bexport'
12362 # If we're using GNU nm, then we don't want the "-C" option.
12363 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12364 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12365 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'
12367 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'
12369 aix_use_runtimelinking=no
12371 # Test if we are trying to use run time linking or normal
12372 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12373 # need to do runtime linking.
12374 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12375 for ld_flag in $LDFLAGS; do
12376 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
12377 aix_use_runtimelinking=yes
12384 exp_sym_flag='-bexport'
12385 no_entry_flag='-bnoentry'
12388 # When large executables or shared objects are built, AIX ld can
12389 # have problems creating the table of contents. If linking a library
12390 # or program results in "error TOC overflow" add -mminimal-toc to
12391 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12392 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12395 hardcode_direct=yes
12396 hardcode_direct_absolute=yes
12397 hardcode_libdir_separator=':'
12398 link_all_deplibs=yes
12399 file_list_spec='${wl}-f,'
12401 if test "$GCC" = yes; then
12402 case $host_os in aix4.[012]|aix4.[012].*)
12403 # We only want to do this on AIX 4.2 and lower, the check
12404 # below for broken collect2 doesn't work under 4.3+
12405 collect2name=`${CC} -print-prog-name=collect2`
12406 if test -f "$collect2name" &&
12407 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12409 # We have reworked collect2
12412 # We have old collect2
12413 hardcode_direct=unsupported
12414 # It fails to find uninstalled libraries when the uninstalled
12415 # path is not listed in the libpath. Setting hardcode_minus_L
12416 # to unsupported forces relinking
12417 hardcode_minus_L=yes
12418 hardcode_libdir_flag_spec='-L$libdir'
12419 hardcode_libdir_separator=
12423 shared_flag='-shared'
12424 if test "$aix_use_runtimelinking" = yes; then
12425 shared_flag="$shared_flag "'${wl}-G'
12427 link_all_deplibs=no
12430 if test "$host_cpu" = ia64; then
12431 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12432 # chokes on -Wl,-G. The following line is correct:
12435 if test "$aix_use_runtimelinking" = yes; then
12436 shared_flag='${wl}-G'
12438 shared_flag='${wl}-bM:SRE'
12443 # It seems that -bexpall does not export symbols beginning with
12444 # underscore (_), so it is better to generate a list of symbols to export.
12445 always_export_symbols=yes
12446 if test "$aix_use_runtimelinking" = yes; then
12447 # Warning - without using the other runtime loading flags (-brtl),
12448 # -berok will link without error, but may produce a broken library.
12449 allow_undefined_flag='-berok'
12450 # Determine the default libpath from the value encoded in an
12451 # empty executable.
12452 cat >conftest.$ac_ext <<_ACEOF
12455 cat confdefs.h >>conftest.$ac_ext
12456 cat >>conftest.$ac_ext <<_ACEOF
12457 /* end confdefs.h. */
12467 rm -f conftest.$ac_objext conftest$ac_exeext
12468 if { (ac_try="$ac_link"
12469 case "(($ac_try" in
12470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12471 *) ac_try_echo=$ac_try;;
12473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12474 (eval "$ac_link") 2>conftest.er1
12476 grep -v '^ *+' conftest.er1 >conftest.err
12478 cat conftest.err >&5
12479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12480 (exit $ac_status); } && {
12481 test -z "$ac_c_werror_flag" ||
12482 test ! -s conftest.err
12483 } && test -s conftest$ac_exeext &&
12484 $as_test_x conftest$ac_exeext; then
12486 lt_aix_libpath_sed='
12487 /Import File Strings/,/^$/ {
12493 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12494 # Check for a 64-bit object if we didn't find anything.
12495 if test -z "$aix_libpath"; then
12496 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12499 echo "$as_me: failed program was:" >&5
12500 sed 's/^/| /' conftest.$ac_ext >&5
12505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12506 conftest$ac_exeext conftest.$ac_ext
12507 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12509 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12510 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"
12512 if test "$host_cpu" = ia64; then
12513 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
12514 allow_undefined_flag="-z nodefs"
12515 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"
12517 # Determine the default libpath from the value encoded in an
12518 # empty executable.
12519 cat >conftest.$ac_ext <<_ACEOF
12522 cat confdefs.h >>conftest.$ac_ext
12523 cat >>conftest.$ac_ext <<_ACEOF
12524 /* end confdefs.h. */
12534 rm -f conftest.$ac_objext conftest$ac_exeext
12535 if { (ac_try="$ac_link"
12536 case "(($ac_try" in
12537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12538 *) ac_try_echo=$ac_try;;
12540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12541 (eval "$ac_link") 2>conftest.er1
12543 grep -v '^ *+' conftest.er1 >conftest.err
12545 cat conftest.err >&5
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); } && {
12548 test -z "$ac_c_werror_flag" ||
12549 test ! -s conftest.err
12550 } && test -s conftest$ac_exeext &&
12551 $as_test_x conftest$ac_exeext; then
12553 lt_aix_libpath_sed='
12554 /Import File Strings/,/^$/ {
12560 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12561 # Check for a 64-bit object if we didn't find anything.
12562 if test -z "$aix_libpath"; then
12563 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12566 echo "$as_me: failed program was:" >&5
12567 sed 's/^/| /' conftest.$ac_ext >&5
12572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12573 conftest$ac_exeext conftest.$ac_ext
12574 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12576 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12577 # Warning - without using the other run time loading flags,
12578 # -berok will link without error, but may produce a broken library.
12579 no_undefined_flag=' ${wl}-bernotok'
12580 allow_undefined_flag=' ${wl}-berok'
12581 # Exported symbols can be pulled into shared objects from archives
12582 whole_archive_flag_spec='$convenience'
12583 archive_cmds_need_lc=yes
12584 # This is similar to how AIX traditionally builds its shared libraries.
12585 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'
12593 # see comment about AmigaOS4 .so support
12594 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12595 archive_expsym_cmds=''
12598 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)'
12599 hardcode_libdir_flag_spec='-L$libdir'
12600 hardcode_minus_L=yes
12606 export_dynamic_flag_spec=-rdynamic
12609 cygwin* | mingw* | pw32*)
12610 # When not using gcc, we currently assume that we are using
12611 # Microsoft Visual C++.
12612 # hardcode_libdir_flag_spec is actually meaningless, as there is
12613 # no search path for DLLs.
12614 hardcode_libdir_flag_spec=' '
12615 allow_undefined_flag=unsupported
12616 # Tell ltmain to make .lib files, not .a files.
12618 # Tell ltmain to make .dll files, not .so files.
12620 # FIXME: Setting linknames here is a bad hack.
12621 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
12622 # The linker will automatically build a .lib file if we build a DLL.
12623 old_archive_from_new_cmds='true'
12624 # FIXME: Should let the user specify the lib program.
12625 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
12626 fix_srcfile_path='`cygpath -w "$srcfile"`'
12627 enable_shared_with_static_runtimes=yes
12630 darwin* | rhapsody*)
12633 archive_cmds_need_lc=no
12635 hardcode_automatic=yes
12636 hardcode_shlibpath_var=unsupported
12637 whole_archive_flag_spec=''
12638 link_all_deplibs=yes
12639 allow_undefined_flag="$_lt_dar_allow_undefined"
12640 if test "$GCC" = "yes"; then
12641 output_verbose_link_cmd=echo
12642 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12643 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12644 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}"
12645 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}"
12654 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12655 hardcode_libdir_flag_spec='-L$libdir'
12656 hardcode_shlibpath_var=no
12663 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12664 # support. Future versions do this automatically, but an explicit c++rt0.o
12665 # does not break anything, and helps significantly (at the cost of a little
12668 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12669 hardcode_libdir_flag_spec='-R$libdir'
12670 hardcode_direct=yes
12671 hardcode_shlibpath_var=no
12674 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12676 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12677 hardcode_direct=yes
12678 hardcode_minus_L=yes
12679 hardcode_shlibpath_var=no
12682 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12683 freebsd* | dragonfly*)
12684 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12685 hardcode_libdir_flag_spec='-R$libdir'
12686 hardcode_direct=yes
12687 hardcode_shlibpath_var=no
12691 if test "$GCC" = yes; then
12692 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'
12694 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'
12696 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12697 hardcode_libdir_separator=:
12698 hardcode_direct=yes
12700 # hardcode_minus_L: Not really in the search PATH,
12701 # but as the default location of the library.
12702 hardcode_minus_L=yes
12703 export_dynamic_flag_spec='${wl}-E'
12707 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12708 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12710 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12712 if test "$with_gnu_ld" = no; then
12713 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12714 hardcode_libdir_flag_spec_ld='+b $libdir'
12715 hardcode_libdir_separator=:
12716 hardcode_direct=yes
12717 hardcode_direct_absolute=yes
12718 export_dynamic_flag_spec='${wl}-E'
12719 # hardcode_minus_L: Not really in the search PATH,
12720 # but as the default location of the library.
12721 hardcode_minus_L=yes
12726 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12729 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12732 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12735 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12741 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12744 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12747 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12751 if test "$with_gnu_ld" = no; then
12752 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12753 hardcode_libdir_separator=:
12758 hardcode_shlibpath_var=no
12761 hardcode_direct=yes
12762 hardcode_direct_absolute=yes
12763 export_dynamic_flag_spec='${wl}-E'
12765 # hardcode_minus_L: Not really in the search PATH,
12766 # but as the default location of the library.
12767 hardcode_minus_L=yes
12773 irix5* | irix6* | nonstopux*)
12774 if test "$GCC" = yes; then
12775 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'
12776 # Try to use the -exported_symbol ld option, if it does not
12777 # work, assume that -exports_file does not work either and
12778 # implicitly export all symbols.
12779 save_LDFLAGS="$LDFLAGS"
12780 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12781 cat >conftest.$ac_ext <<_ACEOF
12784 rm -f conftest.$ac_objext conftest$ac_exeext
12785 if { (ac_try="$ac_link"
12786 case "(($ac_try" in
12787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12788 *) ac_try_echo=$ac_try;;
12790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12791 (eval "$ac_link") 2>conftest.er1
12793 grep -v '^ *+' conftest.er1 >conftest.err
12795 cat conftest.err >&5
12796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12797 (exit $ac_status); } && {
12798 test -z "$ac_c_werror_flag" ||
12799 test ! -s conftest.err
12800 } && test -s conftest$ac_exeext &&
12801 $as_test_x conftest$ac_exeext; then
12802 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'
12805 echo "$as_me: failed program was:" >&5
12806 sed 's/^/| /' conftest.$ac_ext >&5
12811 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12812 conftest$ac_exeext conftest.$ac_ext
12813 LDFLAGS="$save_LDFLAGS"
12815 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'
12816 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'
12818 archive_cmds_need_lc='no'
12819 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12820 hardcode_libdir_separator=:
12822 link_all_deplibs=yes
12825 netbsd* | netbsdelf*-gnu)
12826 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12827 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12829 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12831 hardcode_libdir_flag_spec='-R$libdir'
12832 hardcode_direct=yes
12833 hardcode_shlibpath_var=no
12837 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12838 hardcode_direct=yes
12839 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12840 hardcode_libdir_separator=:
12841 hardcode_shlibpath_var=no
12848 if test -f /usr/libexec/ld.so; then
12849 hardcode_direct=yes
12850 hardcode_shlibpath_var=no
12851 hardcode_direct_absolute=yes
12852 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12853 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12854 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12855 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12856 export_dynamic_flag_spec='${wl}-E'
12859 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
12860 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12861 hardcode_libdir_flag_spec='-R$libdir'
12864 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12865 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12875 hardcode_libdir_flag_spec='-L$libdir'
12876 hardcode_minus_L=yes
12877 allow_undefined_flag=unsupported
12878 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'
12879 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12883 if test "$GCC" = yes; then
12884 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12885 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'
12887 allow_undefined_flag=' -expect_unresolved \*'
12888 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'
12890 archive_cmds_need_lc='no'
12891 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12892 hardcode_libdir_separator=:
12895 osf4* | osf5*) # as osf3* with the addition of -msym flag
12896 if test "$GCC" = yes; then
12897 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12898 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'
12899 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12901 allow_undefined_flag=' -expect_unresolved \*'
12902 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'
12903 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~
12904 $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'
12906 # Both c and cxx compiler support -rpath directly
12907 hardcode_libdir_flag_spec='-rpath $libdir'
12909 archive_cmds_need_lc='no'
12910 hardcode_libdir_separator=:
12914 no_undefined_flag=' -z defs'
12915 if test "$GCC" = yes; then
12917 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12918 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12919 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12921 case `$CC -V 2>&1` in
12924 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12925 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12926 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12930 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12931 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12932 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12936 hardcode_libdir_flag_spec='-R$libdir'
12937 hardcode_shlibpath_var=no
12939 solaris2.[0-5] | solaris2.[0-5].*) ;;
12941 # The compiler driver will combine and reorder linker options,
12942 # but understands `-z linker_flag'. GCC discards it without `$wl',
12943 # but is careful enough not to reorder.
12944 # Supported since Solaris 2.6 (maybe 2.5.1?)
12945 if test "$GCC" = yes; then
12946 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12948 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12952 link_all_deplibs=yes
12956 if test "x$host_vendor" = xsequent; then
12957 # Use $CC to link under sequent, because it throws in some extra .o
12958 # files that make .init and .fini sections work.
12959 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12961 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12963 hardcode_libdir_flag_spec='-L$libdir'
12964 hardcode_direct=yes
12965 hardcode_minus_L=yes
12966 hardcode_shlibpath_var=no
12970 case $host_vendor in
12972 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12973 hardcode_direct=yes # is this really true???
12976 ## LD is ld it makes a PLAMLIB
12977 ## CC just makes a GrossModule.
12978 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12979 reload_cmds='$CC -r -o $output$reload_objs'
12983 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12984 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12987 runpath_var='LD_RUN_PATH'
12988 hardcode_shlibpath_var=no
12992 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12993 hardcode_shlibpath_var=no
12994 export_dynamic_flag_spec='-Bexport'
12998 if test -d /usr/nec; then
12999 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13000 hardcode_shlibpath_var=no
13001 runpath_var=LD_RUN_PATH
13002 hardcode_runpath_var=yes
13007 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13008 no_undefined_flag='${wl}-z,text'
13009 archive_cmds_need_lc=no
13010 hardcode_shlibpath_var=no
13011 runpath_var='LD_RUN_PATH'
13013 if test "$GCC" = yes; then
13014 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13015 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13017 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13018 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13022 sysv5* | sco3.2v5* | sco5v6*)
13023 # Note: We can NOT use -z defs as we might desire, because we do not
13024 # link with -lc, and that would cause any symbols used from libc to
13025 # always be unresolved, which means just about no library would
13026 # ever link correctly. If we're not using GNU ld we use -z text
13027 # though, which does catch some bad symbols but isn't as heavy-handed
13029 no_undefined_flag='${wl}-z,text'
13030 allow_undefined_flag='${wl}-z,nodefs'
13031 archive_cmds_need_lc=no
13032 hardcode_shlibpath_var=no
13033 hardcode_libdir_flag_spec='${wl}-R,$libdir'
13034 hardcode_libdir_separator=':'
13035 link_all_deplibs=yes
13036 export_dynamic_flag_spec='${wl}-Bexport'
13037 runpath_var='LD_RUN_PATH'
13039 if test "$GCC" = yes; then
13040 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13041 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13043 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13044 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13049 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13050 hardcode_libdir_flag_spec='-L$libdir'
13051 hardcode_shlibpath_var=no
13059 if test x$host_vendor = xsni; then
13061 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13062 export_dynamic_flag_spec='${wl}-Blargedynsym'
13068 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
13069 echo "${ECHO_T}$ld_shlibs" >&6; }
13070 test "$ld_shlibs" = no && can_build_shared=no
13072 with_gnu_ld=$with_gnu_ld
13089 # Do we need to explicitly link libc?
13091 case "x$archive_cmds_need_lc" in
13093 # Assume -lc should be added
13094 archive_cmds_need_lc=yes
13096 if test "$enable_shared" = yes && test "$GCC" = yes; then
13097 case $archive_cmds in
13099 # FIXME: we may have to deal with multi-command sequences.
13102 # Test whether the compiler implicitly links with -lc since on some
13103 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13104 # to ld, don't add -lc before -lgcc.
13105 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13106 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
13108 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13111 (eval $ac_compile) 2>&5
13113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13114 (exit $ac_status); } 2>conftest.err; then
13117 libobjs=conftest.$ac_objext
13119 wl=$lt_prog_compiler_wl
13120 pic_flag=$lt_prog_compiler_pic
13126 lt_save_allow_undefined_flag=$allow_undefined_flag
13127 allow_undefined_flag=
13128 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
13129 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13132 (exit $ac_status); }
13134 archive_cmds_need_lc=no
13136 archive_cmds_need_lc=yes
13138 allow_undefined_flag=$lt_save_allow_undefined_flag
13140 cat conftest.err 1>&5
13143 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
13144 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
13307 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13308 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
13310 if test "$GCC" = yes; then
13312 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
13313 *) lt_awk_arg="/^libraries:/" ;;
13315 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13316 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
13317 # if the path contains ";" then we assume it to be the separator
13318 # otherwise default to the standard path separator (i.e. ":") - it is
13319 # assumed that no part of a normal pathname contains ";" but that should
13320 # okay in the real world where ";" in dirpaths is itself problematic.
13321 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
13323 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13325 # Ok, now we have the path, separated by spaces, we can step through it
13326 # and add multilib dir if necessary.
13327 lt_tmp_lt_search_path_spec=
13328 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
13329 for lt_sys_path in $lt_search_path_spec; do
13330 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
13331 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
13333 test -d "$lt_sys_path" && \
13334 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
13337 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
13338 BEGIN {RS=" "; FS="/|\n";} {
13341 for (lt_i = NF; lt_i > 0; lt_i--) {
13342 if ($lt_i != "" && $lt_i != ".") {
13343 if ($lt_i == "..") {
13346 if (lt_count == 0) {
13347 lt_foo="/" $lt_i lt_foo;
13354 if (lt_foo != "") { lt_freq[lt_foo]++; }
13355 if (lt_freq[lt_foo] == 1) { print lt_foo; }
13357 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
13359 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13361 library_names_spec=
13362 libname_spec='lib$name'
13366 postuninstall_cmds=
13370 shlibpath_overrides_runpath=unknown
13372 dynamic_linker="$host_os ld.so"
13373 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13374 need_lib_prefix=unknown
13375 hardcode_into_libs=no
13377 # when you set need_version to no, make sure it does not cause -set_version
13378 # flags to be left without arguments
13379 need_version=unknown
13384 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13385 shlibpath_var=LIBPATH
13387 # AIX 3 has no versioning support, so we append a major version to the name.
13388 soname_spec='${libname}${release}${shared_ext}$major'
13395 hardcode_into_libs=yes
13396 if test "$host_cpu" = ia64; then
13397 # AIX 5 supports IA64
13398 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13399 shlibpath_var=LD_LIBRARY_PATH
13401 # With GCC up to 2.95.x, collect2 would create an import file
13402 # for dependence libraries. The import file would start with
13403 # the line `#! .'. This would cause the generated library to
13404 # depend on `.', always an invalid library. This was fixed in
13405 # development snapshots of GCC prior to 3.0.
13407 aix4 | aix4.[01] | aix4.[01].*)
13408 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13410 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13413 can_build_shared=no
13417 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13418 # soname into executable. Probably we can add versioning support to
13419 # collect2, so additional links can be useful in future.
13420 if test "$aix_use_runtimelinking" = yes; then
13421 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13422 # instead of lib<name>.a to let people know that these are not
13423 # typical AIX shared libraries.
13424 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13426 # We preserve .a as extension for shared libraries through AIX4.2
13427 # and later when we are not doing run time linking.
13428 library_names_spec='${libname}${release}.a $libname.a'
13429 soname_spec='${libname}${release}${shared_ext}$major'
13431 shlibpath_var=LIBPATH
13438 # Since July 2007 AmigaOS4 officially supports .so libraries.
13439 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13440 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13443 library_names_spec='$libname.ixlibrary $libname.a'
13444 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13445 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'
13451 library_names_spec='${libname}${shared_ext}'
13452 dynamic_linker="$host_os ld.so"
13453 shlibpath_var=LIBRARY_PATH
13459 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13460 soname_spec='${libname}${release}${shared_ext}$major'
13461 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13462 shlibpath_var=LD_LIBRARY_PATH
13463 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13464 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13465 # the default ld.so.conf also contains /usr/contrib/lib and
13466 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13467 # libtool to hard-code these into programs
13470 cygwin* | mingw* | pw32*)
13471 version_type=windows
13476 case $GCC,$host_os in
13477 yes,cygwin* | yes,mingw* | yes,pw32*)
13478 library_names_spec='$libname.dll.a'
13479 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13480 postinstall_cmds='base_file=`basename \${file}`~
13481 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13482 dldir=$destdir/`dirname \$dlpath`~
13483 test -d \$dldir || mkdir -p \$dldir~
13484 $install_prog $dir/$dlname \$dldir/$dlname~
13485 chmod a+x \$dldir/$dlname~
13486 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13487 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13489 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13490 dlpath=$dir/\$dldll~
13492 shlibpath_overrides_runpath=yes
13496 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13497 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13498 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13501 # MinGW DLLs use traditional 'lib' prefix
13502 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13503 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13504 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13505 # It is most probably a Windows format PATH printed by
13506 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13507 # path with ; separators, and with drive letters. We can handle the
13508 # drive letters (cygwin fileutils understands them), so leave them,
13509 # especially as we might pass files found there to a mingw objdump,
13510 # which wouldn't understand a cygwinified path. Ahh.
13511 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13513 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13517 # pw32 DLLs use 'pw' prefix rather than 'lib'
13518 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13524 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13527 dynamic_linker='Win32 ld.exe'
13528 # FIXME: first we should search . and the directory the executable is in
13532 darwin* | rhapsody*)
13533 dynamic_linker="$host_os dyld"
13534 version_type=darwin
13537 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13538 soname_spec='${libname}${release}${major}$shared_ext'
13539 shlibpath_overrides_runpath=yes
13540 shlibpath_var=DYLD_LIBRARY_PATH
13541 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13543 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
13544 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13551 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13552 soname_spec='${libname}${release}${shared_ext}$major'
13553 shlibpath_var=LD_LIBRARY_PATH
13560 freebsd* | dragonfly*)
13561 # DragonFly does not have aout. When/if they implement a new
13562 # versioning mechanism, adjust this.
13563 if test -x /usr/bin/objformat; then
13564 objformat=`/usr/bin/objformat`
13567 freebsd[123]*) objformat=aout ;;
13568 *) objformat=elf ;;
13571 version_type=freebsd-$objformat
13572 case $version_type in
13574 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13579 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13583 shlibpath_var=LD_LIBRARY_PATH
13586 shlibpath_overrides_runpath=yes
13588 freebsd3.[01]* | freebsdelf3.[01]*)
13589 shlibpath_overrides_runpath=yes
13590 hardcode_into_libs=yes
13592 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13593 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13594 shlibpath_overrides_runpath=no
13595 hardcode_into_libs=yes
13597 *) # from 4.6 on, and DragonFly
13598 shlibpath_overrides_runpath=yes
13599 hardcode_into_libs=yes
13608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13609 soname_spec='${libname}${release}${shared_ext}$major'
13610 shlibpath_var=LD_LIBRARY_PATH
13611 hardcode_into_libs=yes
13614 hpux9* | hpux10* | hpux11*)
13615 # Give a soname corresponding to the major version so that dld.sl refuses to
13616 # link against other versions.
13623 hardcode_into_libs=yes
13624 dynamic_linker="$host_os dld.so"
13625 shlibpath_var=LD_LIBRARY_PATH
13626 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13627 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13628 soname_spec='${libname}${release}${shared_ext}$major'
13629 if test "X$HPUX_IA64_MODE" = X32; then
13630 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13632 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13634 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13638 hardcode_into_libs=yes
13639 dynamic_linker="$host_os dld.sl"
13640 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13641 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13642 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13643 soname_spec='${libname}${release}${shared_ext}$major'
13644 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13645 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13649 dynamic_linker="$host_os dld.sl"
13650 shlibpath_var=SHLIB_PATH
13651 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13653 soname_spec='${libname}${release}${shared_ext}$major'
13656 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13657 postinstall_cmds='chmod 555 $lib'
13664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13665 soname_spec='${libname}${release}${shared_ext}$major'
13666 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13667 shlibpath_var=LD_LIBRARY_PATH
13668 shlibpath_overrides_runpath=no
13669 hardcode_into_libs=yes
13672 irix5* | irix6* | nonstopux*)
13674 nonstopux*) version_type=nonstopux ;;
13676 if test "$lt_cv_prog_gnu_ld" = yes; then
13684 soname_spec='${libname}${release}${shared_ext}$major'
13685 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13687 irix5* | nonstopux*)
13688 libsuff= shlibsuff=
13691 case $LD in # libtool.m4 will add one of these switches to LD
13692 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13693 libsuff= shlibsuff= libmagic=32-bit;;
13694 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13695 libsuff=32 shlibsuff=N32 libmagic=N32;;
13696 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13697 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13698 *) libsuff= shlibsuff= libmagic=never-match;;
13702 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13703 shlibpath_overrides_runpath=no
13704 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13705 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13706 hardcode_into_libs=yes
13709 # No shared lib support for Linux oldld, aout, or coff.
13710 linux*oldld* | linux*aout* | linux*coff*)
13714 # This must be Linux ELF.
13715 linux* | k*bsd*-gnu)
13719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13720 soname_spec='${libname}${release}${shared_ext}$major'
13721 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13722 shlibpath_var=LD_LIBRARY_PATH
13723 shlibpath_overrides_runpath=no
13724 # Some binutils ld are patched to set DT_RUNPATH
13725 save_LDFLAGS=$LDFLAGS
13726 save_libdir=$libdir
13727 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13728 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13729 cat >conftest.$ac_ext <<_ACEOF
13732 cat confdefs.h >>conftest.$ac_ext
13733 cat >>conftest.$ac_ext <<_ACEOF
13734 /* end confdefs.h. */
13744 rm -f conftest.$ac_objext conftest$ac_exeext
13745 if { (ac_try="$ac_link"
13746 case "(($ac_try" in
13747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13748 *) ac_try_echo=$ac_try;;
13750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13751 (eval "$ac_link") 2>conftest.er1
13753 grep -v '^ *+' conftest.er1 >conftest.err
13755 cat conftest.err >&5
13756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13757 (exit $ac_status); } && {
13758 test -z "$ac_c_werror_flag" ||
13759 test ! -s conftest.err
13760 } && test -s conftest$ac_exeext &&
13761 $as_test_x conftest$ac_exeext; then
13762 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
13763 shlibpath_overrides_runpath=yes
13767 echo "$as_me: failed program was:" >&5
13768 sed 's/^/| /' conftest.$ac_ext >&5
13773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13774 conftest$ac_exeext conftest.$ac_ext
13775 LDFLAGS=$save_LDFLAGS
13776 libdir=$save_libdir
13778 # This implies no fast_install, which is unacceptable.
13779 # Some rework will be needed to allow for fast_install
13780 # before this can be enabled.
13781 hardcode_into_libs=yes
13783 # Append ld.so.conf contents to the search path
13784 if test -f /etc/ld.so.conf; then
13785 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' ' '`
13786 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13789 # We used to test for /lib/ld.so.1 and disable shared libraries on
13790 # powerpc, because MkLinux only supported shared libraries with the
13791 # GNU dynamic linker. Since this was broken with cross compilers,
13792 # most powerpc-linux boxes support dynamic linking these days and
13793 # people can always --disable-shared, the test was removed, and we
13794 # assume the GNU/Linux dynamic linker is in use.
13795 dynamic_linker='GNU/Linux ld.so'
13802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13803 soname_spec='${libname}${release}${shared_ext}$major'
13804 shlibpath_var=LD_LIBRARY_PATH
13805 shlibpath_overrides_runpath=no
13806 hardcode_into_libs=yes
13807 dynamic_linker='NetBSD ld.elf_so'
13814 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13815 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13816 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13817 dynamic_linker='NetBSD (a.out) ld.so'
13819 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13820 soname_spec='${libname}${release}${shared_ext}$major'
13821 dynamic_linker='NetBSD ld.elf_so'
13823 shlibpath_var=LD_LIBRARY_PATH
13824 shlibpath_overrides_runpath=yes
13825 hardcode_into_libs=yes
13830 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13831 shlibpath_var=LD_LIBRARY_PATH
13832 shlibpath_overrides_runpath=yes
13839 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13840 soname_spec='${libname}${release}${shared_ext}$major'
13841 shlibpath_var=LD_LIBRARY_PATH
13842 shlibpath_overrides_runpath=no
13843 hardcode_into_libs=yes
13844 dynamic_linker='ldqnx.so'
13849 sys_lib_dlsearch_path_spec="/usr/lib"
13851 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13853 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13854 *) need_version=no ;;
13856 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13857 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13858 shlibpath_var=LD_LIBRARY_PATH
13859 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13861 openbsd2.[89] | openbsd2.[89].*)
13862 shlibpath_overrides_runpath=no
13865 shlibpath_overrides_runpath=yes
13869 shlibpath_overrides_runpath=yes
13874 libname_spec='$name'
13877 library_names_spec='$libname${shared_ext} $libname.a'
13878 dynamic_linker='OS/2 ld.exe'
13879 shlibpath_var=LIBPATH
13882 osf3* | osf4* | osf5*)
13886 soname_spec='${libname}${release}${shared_ext}$major'
13887 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13888 shlibpath_var=LD_LIBRARY_PATH
13889 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13890 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13901 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13902 soname_spec='${libname}${release}${shared_ext}$major'
13903 shlibpath_var=LD_LIBRARY_PATH
13904 shlibpath_overrides_runpath=yes
13905 hardcode_into_libs=yes
13906 # ldd complains unless libraries are executable
13907 postinstall_cmds='chmod +x $lib'
13912 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13913 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13914 shlibpath_var=LD_LIBRARY_PATH
13915 shlibpath_overrides_runpath=yes
13916 if test "$with_gnu_ld" = yes; then
13924 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13925 soname_spec='${libname}${release}${shared_ext}$major'
13926 shlibpath_var=LD_LIBRARY_PATH
13927 case $host_vendor in
13929 shlibpath_overrides_runpath=no
13931 runpath_var=LD_RUN_PATH
13939 shlibpath_overrides_runpath=no
13940 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13946 if test -d /usr/nec ;then
13948 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13949 soname_spec='$libname${shared_ext}.$major'
13950 shlibpath_var=LD_LIBRARY_PATH
13954 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13955 version_type=freebsd-elf
13958 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13959 soname_spec='${libname}${release}${shared_ext}$major'
13960 shlibpath_var=LD_LIBRARY_PATH
13961 shlibpath_overrides_runpath=yes
13962 hardcode_into_libs=yes
13963 if test "$with_gnu_ld" = yes; then
13964 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13966 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13969 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13973 sys_lib_dlsearch_path_spec='/usr/lib'
13977 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13981 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13982 shlibpath_var=LD_LIBRARY_PATH
13983 shlibpath_overrides_runpath=no
13984 hardcode_into_libs=yes
13989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13990 soname_spec='${libname}${release}${shared_ext}$major'
13991 shlibpath_var=LD_LIBRARY_PATH
13998 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13999 echo "${ECHO_T}$dynamic_linker" >&6; }
14000 test "$dynamic_linker" = no && can_build_shared=no
14002 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14003 if test "$GCC" = yes; then
14004 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14007 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14008 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14010 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14011 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14100 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14101 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
14103 if test -n "$hardcode_libdir_flag_spec" ||
14104 test -n "$runpath_var" ||
14105 test "X$hardcode_automatic" = "Xyes" ; then
14107 # We can hardcode non-existent directories.
14108 if test "$hardcode_direct" != no &&
14109 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14110 # have to relink, otherwise we might link with an installed library
14111 # when we should be linking with a yet-to-be-installed one
14112 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
14113 test "$hardcode_minus_L" != no; then
14114 # Linking always hardcodes the temporary library directory.
14115 hardcode_action=relink
14117 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14118 hardcode_action=immediate
14121 # We cannot hardcode anything, or else we can only hardcode existing
14123 hardcode_action=unsupported
14125 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
14126 echo "${ECHO_T}$hardcode_action" >&6; }
14128 if test "$hardcode_action" = relink ||
14129 test "$inherit_rpath" = yes; then
14130 # Fast installation is not supported
14131 enable_fast_install=no
14132 elif test "$shlibpath_overrides_runpath" = yes ||
14133 test "$enable_shared" = no; then
14134 # Fast installation is not necessary
14135 enable_fast_install=needless
14143 if test "x$enable_dlopen" != xyes; then
14144 enable_dlopen=unknown
14145 enable_dlopen_self=unknown
14146 enable_dlopen_self_static=unknown
14153 lt_cv_dlopen="load_add_on"
14155 lt_cv_dlopen_self=yes
14159 lt_cv_dlopen="LoadLibrary"
14164 lt_cv_dlopen="dlopen"
14169 # if libdl is installed we need to link against it
14170 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
14171 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
14172 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
14173 echo $ECHO_N "(cached) $ECHO_C" >&6
14175 ac_check_lib_save_LIBS=$LIBS
14177 cat >conftest.$ac_ext <<_ACEOF
14180 cat confdefs.h >>conftest.$ac_ext
14181 cat >>conftest.$ac_ext <<_ACEOF
14182 /* end confdefs.h. */
14184 /* Override any GCC internal prototype to avoid an error.
14185 Use char because int might match the return type of a GCC
14186 builtin and then its argument prototype would still apply. */
14199 rm -f conftest.$ac_objext conftest$ac_exeext
14200 if { (ac_try="$ac_link"
14201 case "(($ac_try" in
14202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14203 *) ac_try_echo=$ac_try;;
14205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14206 (eval "$ac_link") 2>conftest.er1
14208 grep -v '^ *+' conftest.er1 >conftest.err
14210 cat conftest.err >&5
14211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14212 (exit $ac_status); } && {
14213 test -z "$ac_c_werror_flag" ||
14214 test ! -s conftest.err
14215 } && test -s conftest$ac_exeext &&
14216 $as_test_x conftest$ac_exeext; then
14217 ac_cv_lib_dl_dlopen=yes
14219 echo "$as_me: failed program was:" >&5
14220 sed 's/^/| /' conftest.$ac_ext >&5
14222 ac_cv_lib_dl_dlopen=no
14225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14226 conftest$ac_exeext conftest.$ac_ext
14227 LIBS=$ac_check_lib_save_LIBS
14229 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
14230 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
14231 if test $ac_cv_lib_dl_dlopen = yes; then
14232 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14235 lt_cv_dlopen="dyld"
14237 lt_cv_dlopen_self=yes
14244 { echo "$as_me:$LINENO: checking for shl_load" >&5
14245 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
14246 if test "${ac_cv_func_shl_load+set}" = set; then
14247 echo $ECHO_N "(cached) $ECHO_C" >&6
14249 cat >conftest.$ac_ext <<_ACEOF
14252 cat confdefs.h >>conftest.$ac_ext
14253 cat >>conftest.$ac_ext <<_ACEOF
14254 /* end confdefs.h. */
14255 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
14256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14257 #define shl_load innocuous_shl_load
14259 /* System header to define __stub macros and hopefully few prototypes,
14260 which can conflict with char shl_load (); below.
14261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14262 <limits.h> exists even on freestanding compilers. */
14265 # include <limits.h>
14267 # include <assert.h>
14272 /* Override any GCC internal prototype to avoid an error.
14273 Use char because int might match the return type of a GCC
14274 builtin and then its argument prototype would still apply. */
14279 /* The GNU C library defines this for functions which it implements
14280 to always fail with ENOSYS. Some functions are actually named
14281 something starting with __ and the normal name is an alias. */
14282 #if defined __stub_shl_load || defined __stub___shl_load
14289 return shl_load ();
14294 rm -f conftest.$ac_objext conftest$ac_exeext
14295 if { (ac_try="$ac_link"
14296 case "(($ac_try" in
14297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14298 *) ac_try_echo=$ac_try;;
14300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14301 (eval "$ac_link") 2>conftest.er1
14303 grep -v '^ *+' conftest.er1 >conftest.err
14305 cat conftest.err >&5
14306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14307 (exit $ac_status); } && {
14308 test -z "$ac_c_werror_flag" ||
14309 test ! -s conftest.err
14310 } && test -s conftest$ac_exeext &&
14311 $as_test_x conftest$ac_exeext; then
14312 ac_cv_func_shl_load=yes
14314 echo "$as_me: failed program was:" >&5
14315 sed 's/^/| /' conftest.$ac_ext >&5
14317 ac_cv_func_shl_load=no
14320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14321 conftest$ac_exeext conftest.$ac_ext
14323 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
14324 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
14325 if test $ac_cv_func_shl_load = yes; then
14326 lt_cv_dlopen="shl_load"
14328 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
14329 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
14330 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
14331 echo $ECHO_N "(cached) $ECHO_C" >&6
14333 ac_check_lib_save_LIBS=$LIBS
14335 cat >conftest.$ac_ext <<_ACEOF
14338 cat confdefs.h >>conftest.$ac_ext
14339 cat >>conftest.$ac_ext <<_ACEOF
14340 /* end confdefs.h. */
14342 /* Override any GCC internal prototype to avoid an error.
14343 Use char because int might match the return type of a GCC
14344 builtin and then its argument prototype would still apply. */
14352 return shl_load ();
14357 rm -f conftest.$ac_objext conftest$ac_exeext
14358 if { (ac_try="$ac_link"
14359 case "(($ac_try" in
14360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14361 *) ac_try_echo=$ac_try;;
14363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14364 (eval "$ac_link") 2>conftest.er1
14366 grep -v '^ *+' conftest.er1 >conftest.err
14368 cat conftest.err >&5
14369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14370 (exit $ac_status); } && {
14371 test -z "$ac_c_werror_flag" ||
14372 test ! -s conftest.err
14373 } && test -s conftest$ac_exeext &&
14374 $as_test_x conftest$ac_exeext; then
14375 ac_cv_lib_dld_shl_load=yes
14377 echo "$as_me: failed program was:" >&5
14378 sed 's/^/| /' conftest.$ac_ext >&5
14380 ac_cv_lib_dld_shl_load=no
14383 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14384 conftest$ac_exeext conftest.$ac_ext
14385 LIBS=$ac_check_lib_save_LIBS
14387 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
14388 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
14389 if test $ac_cv_lib_dld_shl_load = yes; then
14390 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
14392 { echo "$as_me:$LINENO: checking for dlopen" >&5
14393 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
14394 if test "${ac_cv_func_dlopen+set}" = set; then
14395 echo $ECHO_N "(cached) $ECHO_C" >&6
14397 cat >conftest.$ac_ext <<_ACEOF
14400 cat confdefs.h >>conftest.$ac_ext
14401 cat >>conftest.$ac_ext <<_ACEOF
14402 /* end confdefs.h. */
14403 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
14404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14405 #define dlopen innocuous_dlopen
14407 /* System header to define __stub macros and hopefully few prototypes,
14408 which can conflict with char dlopen (); below.
14409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14410 <limits.h> exists even on freestanding compilers. */
14413 # include <limits.h>
14415 # include <assert.h>
14420 /* Override any GCC internal prototype to avoid an error.
14421 Use char because int might match the return type of a GCC
14422 builtin and then its argument prototype would still apply. */
14427 /* The GNU C library defines this for functions which it implements
14428 to always fail with ENOSYS. Some functions are actually named
14429 something starting with __ and the normal name is an alias. */
14430 #if defined __stub_dlopen || defined __stub___dlopen
14442 rm -f conftest.$ac_objext conftest$ac_exeext
14443 if { (ac_try="$ac_link"
14444 case "(($ac_try" in
14445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14446 *) ac_try_echo=$ac_try;;
14448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14449 (eval "$ac_link") 2>conftest.er1
14451 grep -v '^ *+' conftest.er1 >conftest.err
14453 cat conftest.err >&5
14454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14455 (exit $ac_status); } && {
14456 test -z "$ac_c_werror_flag" ||
14457 test ! -s conftest.err
14458 } && test -s conftest$ac_exeext &&
14459 $as_test_x conftest$ac_exeext; then
14460 ac_cv_func_dlopen=yes
14462 echo "$as_me: failed program was:" >&5
14463 sed 's/^/| /' conftest.$ac_ext >&5
14465 ac_cv_func_dlopen=no
14468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14469 conftest$ac_exeext conftest.$ac_ext
14471 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
14472 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
14473 if test $ac_cv_func_dlopen = yes; then
14474 lt_cv_dlopen="dlopen"
14476 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
14477 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
14478 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
14479 echo $ECHO_N "(cached) $ECHO_C" >&6
14481 ac_check_lib_save_LIBS=$LIBS
14483 cat >conftest.$ac_ext <<_ACEOF
14486 cat confdefs.h >>conftest.$ac_ext
14487 cat >>conftest.$ac_ext <<_ACEOF
14488 /* end confdefs.h. */
14490 /* Override any GCC internal prototype to avoid an error.
14491 Use char because int might match the return type of a GCC
14492 builtin and then its argument prototype would still apply. */
14505 rm -f conftest.$ac_objext conftest$ac_exeext
14506 if { (ac_try="$ac_link"
14507 case "(($ac_try" in
14508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14509 *) ac_try_echo=$ac_try;;
14511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14512 (eval "$ac_link") 2>conftest.er1
14514 grep -v '^ *+' conftest.er1 >conftest.err
14516 cat conftest.err >&5
14517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14518 (exit $ac_status); } && {
14519 test -z "$ac_c_werror_flag" ||
14520 test ! -s conftest.err
14521 } && test -s conftest$ac_exeext &&
14522 $as_test_x conftest$ac_exeext; then
14523 ac_cv_lib_dl_dlopen=yes
14525 echo "$as_me: failed program was:" >&5
14526 sed 's/^/| /' conftest.$ac_ext >&5
14528 ac_cv_lib_dl_dlopen=no
14531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14532 conftest$ac_exeext conftest.$ac_ext
14533 LIBS=$ac_check_lib_save_LIBS
14535 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
14536 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
14537 if test $ac_cv_lib_dl_dlopen = yes; then
14538 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14540 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
14541 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
14542 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
14543 echo $ECHO_N "(cached) $ECHO_C" >&6
14545 ac_check_lib_save_LIBS=$LIBS
14546 LIBS="-lsvld $LIBS"
14547 cat >conftest.$ac_ext <<_ACEOF
14550 cat confdefs.h >>conftest.$ac_ext
14551 cat >>conftest.$ac_ext <<_ACEOF
14552 /* end confdefs.h. */
14554 /* Override any GCC internal prototype to avoid an error.
14555 Use char because int might match the return type of a GCC
14556 builtin and then its argument prototype would still apply. */
14569 rm -f conftest.$ac_objext conftest$ac_exeext
14570 if { (ac_try="$ac_link"
14571 case "(($ac_try" in
14572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14573 *) ac_try_echo=$ac_try;;
14575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14576 (eval "$ac_link") 2>conftest.er1
14578 grep -v '^ *+' conftest.er1 >conftest.err
14580 cat conftest.err >&5
14581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14582 (exit $ac_status); } && {
14583 test -z "$ac_c_werror_flag" ||
14584 test ! -s conftest.err
14585 } && test -s conftest$ac_exeext &&
14586 $as_test_x conftest$ac_exeext; then
14587 ac_cv_lib_svld_dlopen=yes
14589 echo "$as_me: failed program was:" >&5
14590 sed 's/^/| /' conftest.$ac_ext >&5
14592 ac_cv_lib_svld_dlopen=no
14595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14596 conftest$ac_exeext conftest.$ac_ext
14597 LIBS=$ac_check_lib_save_LIBS
14599 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
14600 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
14601 if test $ac_cv_lib_svld_dlopen = yes; then
14602 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
14604 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
14605 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
14606 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
14607 echo $ECHO_N "(cached) $ECHO_C" >&6
14609 ac_check_lib_save_LIBS=$LIBS
14611 cat >conftest.$ac_ext <<_ACEOF
14614 cat confdefs.h >>conftest.$ac_ext
14615 cat >>conftest.$ac_ext <<_ACEOF
14616 /* end confdefs.h. */
14618 /* Override any GCC internal prototype to avoid an error.
14619 Use char because int might match the return type of a GCC
14620 builtin and then its argument prototype would still apply. */
14628 return dld_link ();
14633 rm -f conftest.$ac_objext conftest$ac_exeext
14634 if { (ac_try="$ac_link"
14635 case "(($ac_try" in
14636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14637 *) ac_try_echo=$ac_try;;
14639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14640 (eval "$ac_link") 2>conftest.er1
14642 grep -v '^ *+' conftest.er1 >conftest.err
14644 cat conftest.err >&5
14645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14646 (exit $ac_status); } && {
14647 test -z "$ac_c_werror_flag" ||
14648 test ! -s conftest.err
14649 } && test -s conftest$ac_exeext &&
14650 $as_test_x conftest$ac_exeext; then
14651 ac_cv_lib_dld_dld_link=yes
14653 echo "$as_me: failed program was:" >&5
14654 sed 's/^/| /' conftest.$ac_ext >&5
14656 ac_cv_lib_dld_dld_link=no
14659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14660 conftest$ac_exeext conftest.$ac_ext
14661 LIBS=$ac_check_lib_save_LIBS
14663 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
14664 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
14665 if test $ac_cv_lib_dld_dld_link = yes; then
14666 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
14687 if test "x$lt_cv_dlopen" != xno; then
14693 case $lt_cv_dlopen in
14695 save_CPPFLAGS="$CPPFLAGS"
14696 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14698 save_LDFLAGS="$LDFLAGS"
14699 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14702 LIBS="$lt_cv_dlopen_libs $LIBS"
14704 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
14705 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
14706 if test "${lt_cv_dlopen_self+set}" = set; then
14707 echo $ECHO_N "(cached) $ECHO_C" >&6
14709 if test "$cross_compiling" = yes; then :
14710 lt_cv_dlopen_self=cross
14712 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14713 lt_status=$lt_dlunknown
14714 cat > conftest.$ac_ext <<_LT_EOF
14715 #line 14715 "configure"
14716 #include "confdefs.h"
14725 # define LT_DLGLOBAL RTLD_GLOBAL
14728 # define LT_DLGLOBAL DL_GLOBAL
14730 # define LT_DLGLOBAL 0
14734 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14735 find out it does not work in some platform. */
14736 #ifndef LT_DLLAZY_OR_NOW
14738 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14741 # define LT_DLLAZY_OR_NOW DL_LAZY
14744 # define LT_DLLAZY_OR_NOW RTLD_NOW
14747 # define LT_DLLAZY_OR_NOW DL_NOW
14749 # define LT_DLLAZY_OR_NOW 0
14757 extern "C" void exit (int);
14760 void fnord() { int i=42;}
14763 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14764 int status = $lt_dlunknown;
14768 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14769 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14770 /* dlclose (self); */
14778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14779 (eval $ac_link) 2>&5
14781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14782 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
14783 (./conftest; exit; ) >&5 2>/dev/null
14785 case x$lt_status in
14786 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14787 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14788 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
14791 # compilation failed
14792 lt_cv_dlopen_self=no
14799 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
14800 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
14802 if test "x$lt_cv_dlopen_self" = xyes; then
14803 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14804 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
14805 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
14806 if test "${lt_cv_dlopen_self_static+set}" = set; then
14807 echo $ECHO_N "(cached) $ECHO_C" >&6
14809 if test "$cross_compiling" = yes; then :
14810 lt_cv_dlopen_self_static=cross
14812 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14813 lt_status=$lt_dlunknown
14814 cat > conftest.$ac_ext <<_LT_EOF
14815 #line 14815 "configure"
14816 #include "confdefs.h"
14825 # define LT_DLGLOBAL RTLD_GLOBAL
14828 # define LT_DLGLOBAL DL_GLOBAL
14830 # define LT_DLGLOBAL 0
14834 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14835 find out it does not work in some platform. */
14836 #ifndef LT_DLLAZY_OR_NOW
14838 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14841 # define LT_DLLAZY_OR_NOW DL_LAZY
14844 # define LT_DLLAZY_OR_NOW RTLD_NOW
14847 # define LT_DLLAZY_OR_NOW DL_NOW
14849 # define LT_DLLAZY_OR_NOW 0
14857 extern "C" void exit (int);
14860 void fnord() { int i=42;}
14863 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14864 int status = $lt_dlunknown;
14868 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14869 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14870 /* dlclose (self); */
14878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14879 (eval $ac_link) 2>&5
14881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14882 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
14883 (./conftest; exit; ) >&5 2>/dev/null
14885 case x$lt_status in
14886 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14887 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14888 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
14891 # compilation failed
14892 lt_cv_dlopen_self_static=no
14899 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
14900 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
14903 CPPFLAGS="$save_CPPFLAGS"
14904 LDFLAGS="$save_LDFLAGS"
14909 case $lt_cv_dlopen_self in
14910 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14911 *) enable_dlopen_self=unknown ;;
14914 case $lt_cv_dlopen_self_static in
14915 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14916 *) enable_dlopen_self_static=unknown ;;
14938 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14939 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
14940 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
14941 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14942 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14943 { echo "$as_me:$LINENO: result: yes" >&5
14944 echo "${ECHO_T}yes" >&6; }
14946 # FIXME - insert some real tests, host_os isn't really good enough
14949 if test -n "$STRIP" ; then
14950 striplib="$STRIP -x"
14951 old_striplib="$STRIP -S"
14952 { echo "$as_me:$LINENO: result: yes" >&5
14953 echo "${ECHO_T}yes" >&6; }
14955 { echo "$as_me:$LINENO: result: no" >&5
14956 echo "${ECHO_T}no" >&6; }
14960 { echo "$as_me:$LINENO: result: no" >&5
14961 echo "${ECHO_T}no" >&6; }
14977 # Report which library types will actually be built
14978 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14979 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14980 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
14981 echo "${ECHO_T}$can_build_shared" >&6; }
14983 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14984 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14985 test "$can_build_shared" = "no" && enable_shared=no
14987 # On AIX, shared libraries and static libraries use the same namespace, and
14988 # are all built from PIC.
14991 test "$enable_shared" = yes && enable_static=no
14992 if test -n "$RANLIB"; then
14993 archive_cmds="$archive_cmds~\$RANLIB \$lib"
14994 postinstall_cmds='$RANLIB $lib'
14999 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
15000 test "$enable_shared" = yes && enable_static=no
15004 { echo "$as_me:$LINENO: result: $enable_shared" >&5
15005 echo "${ECHO_T}$enable_shared" >&6; }
15007 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15008 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
15009 # Make sure either enable_shared or enable_static is yes.
15010 test "$enable_shared" = yes || enable_static=yes
15011 { echo "$as_me:$LINENO: result: $enable_static" >&5
15012 echo "${ECHO_T}$enable_static" >&6; }
15019 ac_cpp='$CPP $CPPFLAGS'
15020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15028 ac_cpp='$CXXCPP $CPPFLAGS'
15029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15033 archive_cmds_need_lc_CXX=no
15034 allow_undefined_flag_CXX=
15035 always_export_symbols_CXX=no
15036 archive_expsym_cmds_CXX=
15037 compiler_needs_object_CXX=no
15038 export_dynamic_flag_spec_CXX=
15039 hardcode_direct_CXX=no
15040 hardcode_direct_absolute_CXX=no
15041 hardcode_libdir_flag_spec_CXX=
15042 hardcode_libdir_flag_spec_ld_CXX=
15043 hardcode_libdir_separator_CXX=
15044 hardcode_minus_L_CXX=no
15045 hardcode_shlibpath_var_CXX=unsupported
15046 hardcode_automatic_CXX=no
15047 inherit_rpath_CXX=no
15049 module_expsym_cmds_CXX=
15050 link_all_deplibs_CXX=unknown
15051 old_archive_cmds_CXX=$old_archive_cmds
15052 no_undefined_flag_CXX=
15053 whole_archive_flag_spec_CXX=
15054 enable_shared_with_static_runtimes_CXX=no
15056 # Source file extension for C++ test sources.
15059 # Object file extension for compiled C++ test sources.
15063 # No sense in running all these tests if we already determined that
15064 # the CXX compiler isn't working. Some variables (like enable_shared)
15065 # are currently assumed to apply to all compilers on this platform,
15066 # and will be corrupted by setting them based on a non-working compiler.
15067 if test "$_lt_caught_CXX_error" != yes; then
15068 # Code to be used in simple compile tests
15069 lt_simple_compile_test_code="int some_variable = 0;"
15071 # Code to be used in simple link tests
15072 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
15074 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15081 # If no C compiler was specified, use CC.
15084 # If no C compiler flags were specified, use CFLAGS.
15085 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15087 # Allow CC to be a program name with arguments.
15091 # save warnings/boilerplate of simple test code
15092 ac_outfile=conftest.$ac_objext
15093 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15094 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15095 _lt_compiler_boilerplate=`cat conftest.err`
15098 ac_outfile=conftest.$ac_objext
15099 echo "$lt_simple_link_test_code" >conftest.$ac_ext
15100 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15101 _lt_linker_boilerplate=`cat conftest.err`
15105 # Allow CC to be a program name with arguments.
15110 lt_save_with_gnu_ld=$with_gnu_ld
15111 lt_save_path_LD=$lt_cv_path_LD
15112 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
15113 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
15115 $as_unset lt_cv_prog_gnu_ld
15117 if test -n "${lt_cv_path_LDCXX+set}"; then
15118 lt_cv_path_LD=$lt_cv_path_LDCXX
15120 $as_unset lt_cv_path_LD
15122 test -z "${LDCXX+set}" || LD=$LDCXX
15126 for cc_temp in $compiler""; do
15128 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15129 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15134 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15137 if test -n "$compiler"; then
15138 # We don't want -fno-exception when compiling C++ code, so set the
15139 # no_builtin_flag separately
15140 if test "$GXX" = yes; then
15141 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
15143 lt_prog_compiler_no_builtin_flag_CXX=
15146 if test "$GXX" = yes; then
15147 # Set up default GNU C++ configuration
15151 # Check whether --with-gnu-ld was given.
15152 if test "${with_gnu_ld+set}" = set; then
15153 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
15159 if test "$GCC" = yes; then
15160 # Check if gcc -print-prog-name=ld gives a path.
15161 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
15162 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
15165 # gcc leaves a trailing carriage return which upsets mingw
15166 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15168 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
15171 # Accept absolute paths.
15173 re_direlt='/[^/][^/]*/\.\./'
15174 # Canonicalize the pathname of ld
15175 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
15176 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
15177 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
15179 test -z "$LD" && LD="$ac_prog"
15182 # If it fails, then pretend we aren't using GCC.
15186 # If it is relative, then search for the first ld in PATH.
15187 with_gnu_ld=unknown
15190 elif test "$with_gnu_ld" = yes; then
15191 { echo "$as_me:$LINENO: checking for GNU ld" >&5
15192 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
15194 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
15195 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
15197 if test "${lt_cv_path_LD+set}" = set; then
15198 echo $ECHO_N "(cached) $ECHO_C" >&6
15200 if test -z "$LD"; then
15201 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
15202 for ac_dir in $PATH; do
15204 test -z "$ac_dir" && ac_dir=.
15205 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15206 lt_cv_path_LD="$ac_dir/$ac_prog"
15207 # Check to see if the program is GNU ld. I'd rather use --version,
15208 # but apparently some variants of GNU ld only accept -v.
15209 # Break only if it was the GNU/non-GNU ld that we prefer.
15210 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15211 *GNU* | *'with BFD'*)
15212 test "$with_gnu_ld" != no && break
15215 test "$with_gnu_ld" != yes && break
15222 lt_cv_path_LD="$LD" # Let the user override the test with a path.
15226 LD="$lt_cv_path_LD"
15227 if test -n "$LD"; then
15228 { echo "$as_me:$LINENO: result: $LD" >&5
15229 echo "${ECHO_T}$LD" >&6; }
15231 { echo "$as_me:$LINENO: result: no" >&5
15232 echo "${ECHO_T}no" >&6; }
15234 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
15235 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
15236 { (exit 1); exit 1; }; }
15237 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
15238 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
15239 if test "${lt_cv_prog_gnu_ld+set}" = set; then
15240 echo $ECHO_N "(cached) $ECHO_C" >&6
15242 # I'd rather use --version here, but apparently some GNU lds only accept -v.
15243 case `$LD -v 2>&1 </dev/null` in
15244 *GNU* | *'with BFD'*)
15245 lt_cv_prog_gnu_ld=yes
15248 lt_cv_prog_gnu_ld=no
15252 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
15253 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
15254 with_gnu_ld=$lt_cv_prog_gnu_ld
15262 # Check if GNU C++ uses GNU ld as the underlying linker, since the
15263 # archiving commands below assume that GNU ld is being used.
15264 if test "$with_gnu_ld" = yes; then
15265 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15266 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15268 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15269 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15271 # If archive_cmds runs LD, not CC, wlarc should be empty
15272 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
15273 # investigate it a little bit more. (MM)
15276 # ancient GNU ld didn't support --whole-archive et. al.
15277 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
15278 $GREP 'no-whole-archive' > /dev/null; then
15279 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15281 whole_archive_flag_spec_CXX=
15287 # A generic and very simple default shared library creation
15288 # command for GNU C++ for the case where it uses the native
15289 # linker, instead of GNU ld. If possible, this setting should
15290 # overridden to take advantage of the native linker features on
15291 # the platform it is being used on.
15292 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15295 # Commands to make compiler produce verbose output that lists
15296 # what "hidden" libraries, object files and flags are used when
15297 # linking a shared library.
15298 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15306 # PORTME: fill in a description of your system's C++ link characteristics
15307 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15308 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15312 # FIXME: insert proper C++ library support
15316 if test "$host_cpu" = ia64; then
15317 # On IA64, the linker does run time linking by default, so we don't
15318 # have to do anything special.
15319 aix_use_runtimelinking=no
15320 exp_sym_flag='-Bexport'
15323 aix_use_runtimelinking=no
15325 # Test if we are trying to use run time linking or normal
15326 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15327 # need to do runtime linking.
15328 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15329 for ld_flag in $LDFLAGS; do
15332 aix_use_runtimelinking=yes
15340 exp_sym_flag='-bexport'
15341 no_entry_flag='-bnoentry'
15344 # When large executables or shared objects are built, AIX ld can
15345 # have problems creating the table of contents. If linking a library
15346 # or program results in "error TOC overflow" add -mminimal-toc to
15347 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15348 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15350 archive_cmds_CXX=''
15351 hardcode_direct_CXX=yes
15352 hardcode_direct_absolute_CXX=yes
15353 hardcode_libdir_separator_CXX=':'
15354 link_all_deplibs_CXX=yes
15355 file_list_spec_CXX='${wl}-f,'
15357 if test "$GXX" = yes; then
15358 case $host_os in aix4.[012]|aix4.[012].*)
15359 # We only want to do this on AIX 4.2 and lower, the check
15360 # below for broken collect2 doesn't work under 4.3+
15361 collect2name=`${CC} -print-prog-name=collect2`
15362 if test -f "$collect2name" &&
15363 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
15365 # We have reworked collect2
15368 # We have old collect2
15369 hardcode_direct_CXX=unsupported
15370 # It fails to find uninstalled libraries when the uninstalled
15371 # path is not listed in the libpath. Setting hardcode_minus_L
15372 # to unsupported forces relinking
15373 hardcode_minus_L_CXX=yes
15374 hardcode_libdir_flag_spec_CXX='-L$libdir'
15375 hardcode_libdir_separator_CXX=
15378 shared_flag='-shared'
15379 if test "$aix_use_runtimelinking" = yes; then
15380 shared_flag="$shared_flag "'${wl}-G'
15384 if test "$host_cpu" = ia64; then
15385 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15386 # chokes on -Wl,-G. The following line is correct:
15389 if test "$aix_use_runtimelinking" = yes; then
15390 shared_flag='${wl}-G'
15392 shared_flag='${wl}-bM:SRE'
15397 # It seems that -bexpall does not export symbols beginning with
15398 # underscore (_), so it is better to generate a list of symbols to
15400 always_export_symbols_CXX=yes
15401 if test "$aix_use_runtimelinking" = yes; then
15402 # Warning - without using the other runtime loading flags (-brtl),
15403 # -berok will link without error, but may produce a broken library.
15404 allow_undefined_flag_CXX='-berok'
15405 # Determine the default libpath from the value encoded in an empty
15407 cat >conftest.$ac_ext <<_ACEOF
15410 cat confdefs.h >>conftest.$ac_ext
15411 cat >>conftest.$ac_ext <<_ACEOF
15412 /* end confdefs.h. */
15422 rm -f conftest.$ac_objext conftest$ac_exeext
15423 if { (ac_try="$ac_link"
15424 case "(($ac_try" in
15425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15426 *) ac_try_echo=$ac_try;;
15428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15429 (eval "$ac_link") 2>conftest.er1
15431 grep -v '^ *+' conftest.er1 >conftest.err
15433 cat conftest.err >&5
15434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435 (exit $ac_status); } && {
15436 test -z "$ac_cxx_werror_flag" ||
15437 test ! -s conftest.err
15438 } && test -s conftest$ac_exeext &&
15439 $as_test_x conftest$ac_exeext; then
15441 lt_aix_libpath_sed='
15442 /Import File Strings/,/^$/ {
15448 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15449 # Check for a 64-bit object if we didn't find anything.
15450 if test -z "$aix_libpath"; then
15451 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15454 echo "$as_me: failed program was:" >&5
15455 sed 's/^/| /' conftest.$ac_ext >&5
15460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15461 conftest$ac_exeext conftest.$ac_ext
15462 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15464 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15466 archive_expsym_cmds_CXX='$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"
15468 if test "$host_cpu" = ia64; then
15469 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
15470 allow_undefined_flag_CXX="-z nodefs"
15471 archive_expsym_cmds_CXX="\$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"
15473 # Determine the default libpath from the value encoded in an
15474 # empty executable.
15475 cat >conftest.$ac_ext <<_ACEOF
15478 cat confdefs.h >>conftest.$ac_ext
15479 cat >>conftest.$ac_ext <<_ACEOF
15480 /* end confdefs.h. */
15490 rm -f conftest.$ac_objext conftest$ac_exeext
15491 if { (ac_try="$ac_link"
15492 case "(($ac_try" in
15493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15494 *) ac_try_echo=$ac_try;;
15496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15497 (eval "$ac_link") 2>conftest.er1
15499 grep -v '^ *+' conftest.er1 >conftest.err
15501 cat conftest.err >&5
15502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15503 (exit $ac_status); } && {
15504 test -z "$ac_cxx_werror_flag" ||
15505 test ! -s conftest.err
15506 } && test -s conftest$ac_exeext &&
15507 $as_test_x conftest$ac_exeext; then
15509 lt_aix_libpath_sed='
15510 /Import File Strings/,/^$/ {
15516 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15517 # Check for a 64-bit object if we didn't find anything.
15518 if test -z "$aix_libpath"; then
15519 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15522 echo "$as_me: failed program was:" >&5
15523 sed 's/^/| /' conftest.$ac_ext >&5
15528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15529 conftest$ac_exeext conftest.$ac_ext
15530 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15532 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15533 # Warning - without using the other run time loading flags,
15534 # -berok will link without error, but may produce a broken library.
15535 no_undefined_flag_CXX=' ${wl}-bernotok'
15536 allow_undefined_flag_CXX=' ${wl}-berok'
15537 # Exported symbols can be pulled into shared objects from archives
15538 whole_archive_flag_spec_CXX='$convenience'
15539 archive_cmds_need_lc_CXX=yes
15540 # This is similar to how AIX traditionally builds its shared
15542 archive_expsym_cmds_CXX="\$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'
15548 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15549 allow_undefined_flag_CXX=unsupported
15550 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15551 # support --undefined. This deserves some investigation. FIXME
15552 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15559 case $cc_basename in
15561 # FIXME: insert proper C++ library support
15567 cygwin* | mingw* | pw32*)
15568 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15569 # as there is no search path for DLLs.
15570 hardcode_libdir_flag_spec_CXX='-L$libdir'
15571 allow_undefined_flag_CXX=unsupported
15572 always_export_symbols_CXX=no
15573 enable_shared_with_static_runtimes_CXX=yes
15575 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15576 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15577 # If the export-symbols file already is a .def file (1st line
15578 # is EXPORTS), use it as is; otherwise, prepend...
15579 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15580 cp $export_symbols $output_objdir/$soname.def;
15582 echo EXPORTS > $output_objdir/$soname.def;
15583 cat $export_symbols >> $output_objdir/$soname.def;
15585 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15590 darwin* | rhapsody*)
15593 archive_cmds_need_lc_CXX=no
15594 hardcode_direct_CXX=no
15595 hardcode_automatic_CXX=yes
15596 hardcode_shlibpath_var_CXX=unsupported
15597 whole_archive_flag_spec_CXX=''
15598 link_all_deplibs_CXX=yes
15599 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
15600 if test "$GCC" = "yes"; then
15601 output_verbose_link_cmd=echo
15602 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
15603 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15604 archive_expsym_cmds_CXX="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}"
15605 module_expsym_cmds_CXX="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}"
15606 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
15607 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
15608 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
15618 case $cc_basename in
15620 # FIXME: insert proper C++ library support
15624 # Green Hills C++ Compiler
15625 # FIXME: insert proper C++ library support
15629 # FIXME: insert proper C++ library support
15636 # C++ shared libraries reported to be fairly broken before
15642 archive_cmds_need_lc_CXX=no
15645 freebsd* | dragonfly*)
15646 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15655 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15656 hardcode_libdir_separator_CXX=:
15657 export_dynamic_flag_spec_CXX='${wl}-E'
15658 hardcode_direct_CXX=yes
15659 hardcode_minus_L_CXX=yes # Not in the search PATH,
15660 # but as the default
15661 # location of the library.
15663 case $cc_basename in
15665 # FIXME: insert proper C++ library support
15669 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15670 # Commands to make compiler produce verbose output that lists
15671 # what "hidden" libraries, object files and flags are used when
15672 # linking a shared library.
15674 # There doesn't appear to be a way to prevent this compiler from
15675 # explicitly linking system object files so we need to strip them
15676 # from the output so that they don't get included in the library
15678 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
15681 if test "$GXX" = yes; then
15682 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15684 # FIXME: insert proper C++ library support
15692 if test $with_gnu_ld = no; then
15693 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15694 hardcode_libdir_separator_CXX=:
15700 export_dynamic_flag_spec_CXX='${wl}-E'
15706 hardcode_direct_CXX=no
15707 hardcode_shlibpath_var_CXX=no
15710 hardcode_direct_CXX=yes
15711 hardcode_direct_absolute_CXX=yes
15712 hardcode_minus_L_CXX=yes # Not in the search PATH,
15713 # but as the default
15714 # location of the library.
15718 case $cc_basename in
15720 # FIXME: insert proper C++ library support
15726 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15729 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15732 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15735 # Commands to make compiler produce verbose output that lists
15736 # what "hidden" libraries, object files and flags are used when
15737 # linking a shared library.
15739 # There doesn't appear to be a way to prevent this compiler from
15740 # explicitly linking system object files so we need to strip them
15741 # from the output so that they don't get included in the library
15743 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
15746 if test "$GXX" = yes; then
15747 if test $with_gnu_ld = no; then
15750 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15753 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15756 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15761 # FIXME: insert proper C++ library support
15769 hardcode_direct_CXX=no
15770 hardcode_shlibpath_var_CXX=no
15771 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15772 export_dynamic_flag_spec_CXX='${wl}-E'
15773 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15774 # Instead, shared libraries are loaded at an image base (0x10000000 by
15775 # default) and relocated if they conflict, which is a slow very memory
15776 # consuming and fragmenting process. To avoid this, we pick a random,
15777 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15778 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15779 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15780 archive_expsym_cmds_CXX='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'
15783 case $cc_basename in
15786 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
15788 # Archives containing C++ object files must be created using
15789 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15790 # necessary to make sure instantiated templates are included
15792 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15795 if test "$GXX" = yes; then
15796 if test "$with_gnu_ld" = no; then
15797 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
15799 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
15802 link_all_deplibs_CXX=yes
15805 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15806 hardcode_libdir_separator_CXX=:
15807 inherit_rpath_CXX=yes
15810 linux* | k*bsd*-gnu)
15811 case $cc_basename in
15813 # Kuck and Associates, Inc. (KAI) C++ Compiler
15815 # KCC will only create a shared library if the output file
15816 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15817 # to its proper name (with version) after linking.
15818 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
15819 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
15820 # Commands to make compiler produce verbose output that lists
15821 # what "hidden" libraries, object files and flags are used when
15822 # linking a shared library.
15824 # There doesn't appear to be a way to prevent this compiler from
15825 # explicitly linking system object files so we need to strip them
15826 # from the output so that they don't get included in the library
15828 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
15830 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15831 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15833 # Archives containing C++ object files must be created using
15834 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15835 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15840 # version 8.0 and above of icpc choke on multiply defined symbols
15841 # if we add $predep_objects and $postdep_objects, however 7.1 and
15842 # earlier do not add the objects themselves.
15843 case `$CC -V 2>&1` in
15845 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15846 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15848 *) # Version 8.0 or newer
15851 ia64*) tmp_idyn=' -i_dynamic';;
15853 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15854 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15857 archive_cmds_need_lc_CXX=no
15858 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15859 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15860 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15863 # Portland Group C++ compiler
15865 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
15866 prelink_cmds_CXX='tpldir=Template.dir~
15868 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15869 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
15870 old_archive_cmds_CXX='tpldir=Template.dir~
15872 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15873 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
15875 archive_cmds_CXX='tpldir=Template.dir~
15877 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15878 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15879 archive_expsym_cmds_CXX='tpldir=Template.dir~
15881 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15882 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
15884 *) # Version 6 will use weak symbols
15885 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15886 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
15890 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15891 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15892 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
15896 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15897 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
15899 runpath_var=LD_RUN_PATH
15900 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15901 hardcode_libdir_separator_CXX=:
15903 # Commands to make compiler produce verbose output that lists
15904 # what "hidden" libraries, object files and flags are used when
15905 # linking a shared library.
15907 # There doesn't appear to be a way to prevent this compiler from
15908 # explicitly linking system object files so we need to strip them
15909 # from the output so that they don't get included in the library
15911 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
15914 # IBM XL 8.0 on PPC, with GNU ld
15915 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15916 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15917 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15918 if test "x$supports_anon_versioning" = xyes; then
15919 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15920 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15921 echo "local: *; };" >> $output_objdir/$libname.ver~
15922 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15926 case `$CC -V 2>&1 | sed 5q` in
15929 no_undefined_flag_CXX=' -zdefs'
15930 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15931 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
15932 hardcode_libdir_flag_spec_CXX='-R$libdir'
15933 whole_archive_flag_spec_CXX='${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'
15934 compiler_needs_object_CXX=yes
15936 # Not sure whether something based on
15937 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15939 output_verbose_link_cmd='echo'
15941 # Archives containing C++ object files must be created using
15942 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15943 # necessary to make sure instantiated templates are included
15945 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15953 # FIXME: insert proper C++ library support
15958 # FIXME: insert proper C++ library support
15963 case $cc_basename in
15965 # FIXME: insert proper C++ library support
15969 # FIXME: insert proper C++ library support
15976 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15977 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15979 hardcode_libdir_flag_spec_CXX='-R$libdir'
15980 hardcode_direct_CXX=yes
15981 hardcode_shlibpath_var_CXX=no
15983 # Workaround some broken pre-1.5 toolchains
15984 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15992 # C++ shared libraries are fairly broken
15997 if test -f /usr/libexec/ld.so; then
15998 hardcode_direct_CXX=yes
15999 hardcode_shlibpath_var_CXX=no
16000 hardcode_direct_absolute_CXX=yes
16001 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16002 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16003 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16004 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
16005 export_dynamic_flag_spec_CXX='${wl}-E'
16006 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16008 output_verbose_link_cmd=echo
16014 osf3* | osf4* | osf5*)
16015 case $cc_basename in
16017 # Kuck and Associates, Inc. (KAI) C++ Compiler
16019 # KCC will only create a shared library if the output file
16020 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16021 # to its proper name (with version) after linking.
16022 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
16024 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16025 hardcode_libdir_separator_CXX=:
16027 # Archives containing C++ object files must be created using
16028 # the KAI C++ compiler.
16030 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
16031 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
16035 # Rational C++ 2.4.1
16036 # FIXME: insert proper C++ library support
16042 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
16043 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
16044 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16047 allow_undefined_flag_CXX=' -expect_unresolved \*'
16048 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
16049 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
16050 echo "-hidden">> $lib.exp~
16051 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
16053 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16057 hardcode_libdir_separator_CXX=:
16059 # Commands to make compiler produce verbose output that lists
16060 # what "hidden" libraries, object files and flags are used when
16061 # linking a shared library.
16063 # There doesn't appear to be a way to prevent this compiler from
16064 # explicitly linking system object files so we need to strip them
16065 # from the output so that they don't get included in the library
16067 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
16070 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
16071 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
16074 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
16077 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16081 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16082 hardcode_libdir_separator_CXX=:
16084 # Commands to make compiler produce verbose output that lists
16085 # what "hidden" libraries, object files and flags are used when
16086 # linking a shared library.
16087 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
16090 # FIXME: insert proper C++ library support
16098 # FIXME: insert proper C++ library support
16103 case $cc_basename in
16106 # FIXME: insert proper C++ library support
16111 # FIXME: insert proper C++ library support
16115 # FIXME: insert proper C++ library support
16122 case $cc_basename in
16124 # Sun C++ 4.2, 5.x and Centerline C++
16125 archive_cmds_need_lc_CXX=yes
16126 no_undefined_flag_CXX=' -zdefs'
16127 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16128 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16129 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16131 hardcode_libdir_flag_spec_CXX='-R$libdir'
16132 hardcode_shlibpath_var_CXX=no
16134 solaris2.[0-5] | solaris2.[0-5].*) ;;
16136 # The compiler driver will combine and reorder linker options,
16137 # but understands `-z linker_flag'.
16138 # Supported since Solaris 2.6 (maybe 2.5.1?)
16139 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
16142 link_all_deplibs_CXX=yes
16144 output_verbose_link_cmd='echo'
16146 # Archives containing C++ object files must be created using
16147 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16148 # necessary to make sure instantiated templates are included
16150 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
16153 # Green Hills C++ Compiler
16154 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16156 # The C++ compiler must be used to create the archive.
16157 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
16160 # GNU C++ compiler with Solaris linker
16161 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
16162 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
16163 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
16164 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16165 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16166 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16168 # Commands to make compiler produce verbose output that lists
16169 # what "hidden" libraries, object files and flags are used when
16170 # linking a shared library.
16171 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
16173 # g++ 2.7 appears to require `-G' NOT `-shared' on this
16175 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16176 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16177 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16179 # Commands to make compiler produce verbose output that lists
16180 # what "hidden" libraries, object files and flags are used when
16181 # linking a shared library.
16182 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
16185 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
16187 solaris2.[0-5] | solaris2.[0-5].*) ;;
16189 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16197 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16198 no_undefined_flag_CXX='${wl}-z,text'
16199 archive_cmds_need_lc_CXX=no
16200 hardcode_shlibpath_var_CXX=no
16201 runpath_var='LD_RUN_PATH'
16203 case $cc_basename in
16205 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16206 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16209 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16210 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16215 sysv5* | sco3.2v5* | sco5v6*)
16216 # Note: We can NOT use -z defs as we might desire, because we do not
16217 # link with -lc, and that would cause any symbols used from libc to
16218 # always be unresolved, which means just about no library would
16219 # ever link correctly. If we're not using GNU ld we use -z text
16220 # though, which does catch some bad symbols but isn't as heavy-handed
16222 no_undefined_flag_CXX='${wl}-z,text'
16223 allow_undefined_flag_CXX='${wl}-z,nodefs'
16224 archive_cmds_need_lc_CXX=no
16225 hardcode_shlibpath_var_CXX=no
16226 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
16227 hardcode_libdir_separator_CXX=':'
16228 link_all_deplibs_CXX=yes
16229 export_dynamic_flag_spec_CXX='${wl}-Bexport'
16230 runpath_var='LD_RUN_PATH'
16232 case $cc_basename in
16234 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16235 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16238 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16239 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16245 case $cc_basename in
16247 # NonStop-UX NCC 3.20
16248 # FIXME: insert proper C++ library support
16252 # FIXME: insert proper C++ library support
16259 # FIXME: insert proper C++ library support
16264 # FIXME: insert proper C++ library support
16269 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
16270 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
16271 test "$ld_shlibs_CXX" = no && can_build_shared=no
16277 ## There is no encapsulation within the following macros, do not change
16278 ## the running order or otherwise move them around unless you know exactly
16279 ## what you are doing...
16280 # Dependencies to place before and after the object being linked:
16281 predep_objects_CXX=
16282 postdep_objects_CXX=
16285 compiler_lib_search_path_CXX=
16287 cat > conftest.$ac_ext <<_LT_EOF
16291 Foo (void) { a = 0; }
16297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16298 (eval $ac_compile) 2>&5
16300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16301 (exit $ac_status); }; then
16302 # Parse the compiler output and extract the necessary
16303 # objects, libraries and library flags.
16305 # Sentinel used to keep track of whether or not we are before
16306 # the conftest object file.
16307 pre_test_object_deps_done=no
16309 for p in `eval "$output_verbose_link_cmd"`; do
16313 # Some compilers place space between "-{L,R}" and the path.
16314 # Remove the space.
16315 if test $p = "-L" ||
16316 test $p = "-R"; then
16323 if test "$pre_test_object_deps_done" = no; then
16326 # Internal compiler library paths should come after those
16327 # provided the user. The postdeps already come after the
16328 # user supplied libs so there is no need to process them.
16329 if test -z "$compiler_lib_search_path_CXX"; then
16330 compiler_lib_search_path_CXX="${prev}${p}"
16332 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
16335 # The "-l" case would never come before the object being
16336 # linked, so don't bother handling this case.
16339 if test -z "$postdeps_CXX"; then
16340 postdeps_CXX="${prev}${p}"
16342 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
16348 # This assumes that the test object file only shows up
16349 # once in the compiler output.
16350 if test "$p" = "conftest.$objext"; then
16351 pre_test_object_deps_done=yes
16355 if test "$pre_test_object_deps_done" = no; then
16356 if test -z "$predep_objects_CXX"; then
16357 predep_objects_CXX="$p"
16359 predep_objects_CXX="$predep_objects_CXX $p"
16362 if test -z "$postdep_objects_CXX"; then
16363 postdep_objects_CXX="$p"
16365 postdep_objects_CXX="$postdep_objects_CXX $p"
16370 *) ;; # Ignore the rest.
16378 echo "libtool.m4: error: problem compiling CXX test program"
16381 $RM -f confest.$objext
16383 # PORTME: override above test on systems where it is broken
16386 # Interix 3.5 installs completely hosed .la files for C++, so rather than
16387 # hack all around it, let's just trust "g++" to DTRT.
16388 predep_objects_CXX=
16389 postdep_objects_CXX=
16394 case `$CC -V 2>&1 | sed 5q` in
16398 # The more standards-conforming stlport4 library is
16399 # incompatible with the Cstd library. Avoid specifying
16400 # it if it's in CXXFLAGS. Ignore libCrun as
16401 # -library=stlport4 depends on it.
16402 case " $CXX $CXXFLAGS " in
16403 *" -library=stlport4 "*)
16404 solaris_use_stlport4=yes
16408 if test "$solaris_use_stlport4" != yes; then
16409 postdeps_CXX='-library=Cstd -library=Crun'
16416 case $cc_basename in
16418 # The more standards-conforming stlport4 library is
16419 # incompatible with the Cstd library. Avoid specifying
16420 # it if it's in CXXFLAGS. Ignore libCrun as
16421 # -library=stlport4 depends on it.
16422 case " $CXX $CXXFLAGS " in
16423 *" -library=stlport4 "*)
16424 solaris_use_stlport4=yes
16428 # Adding this requires a known-good setup of shared libraries for
16429 # Sun compiler versions before 5.6, else PIC objects from an old
16430 # archive will be linked into the output, leading to subtle bugs.
16431 if test "$solaris_use_stlport4" != yes; then
16432 postdeps_CXX='-library=Cstd -library=Crun'
16440 case " $postdeps_CXX " in
16441 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
16443 compiler_lib_search_dirs_CXX=
16444 if test -n "${compiler_lib_search_path_CXX}"; then
16445 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
16478 lt_prog_compiler_wl_CXX=
16479 lt_prog_compiler_pic_CXX=
16480 lt_prog_compiler_static_CXX=
16482 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16483 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16485 # C++ specific cases for pic, static, wl, etc.
16486 if test "$GXX" = yes; then
16487 lt_prog_compiler_wl_CXX='-Wl,'
16488 lt_prog_compiler_static_CXX='-static'
16492 # All AIX code is PIC.
16493 if test "$host_cpu" = ia64; then
16494 # AIX 5 now supports IA64 processor
16495 lt_prog_compiler_static_CXX='-Bstatic'
16502 # see comment about AmigaOS4 .so support
16503 lt_prog_compiler_pic_CXX='-fPIC'
16506 # FIXME: we need at least 68020 code to build shared libraries, but
16507 # adding the `-m68020' flag to GCC prevents building anything better,
16509 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16514 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16515 # PIC is the default for these OSes.
16517 mingw* | cygwin* | os2* | pw32*)
16518 # This hack is so that the source file can tell whether it is being
16519 # built for inclusion in a dll (and should export symbols for example).
16520 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16521 # (--disable-auto-import) libraries
16522 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16524 darwin* | rhapsody*)
16525 # PIC is the default on this platform
16526 # Common symbols not allowed in MH_DYLIB files
16527 lt_prog_compiler_pic_CXX='-fno-common'
16530 # DJGPP does not support shared libraries at all
16531 lt_prog_compiler_pic_CXX=
16534 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16535 # Instead, we relocate shared libraries at runtime.
16538 if test -d /usr/nec; then
16539 lt_prog_compiler_pic_CXX=-Kconform_pic
16543 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16544 # not for PA HP-UX.
16549 lt_prog_compiler_pic_CXX='-fPIC'
16554 # QNX uses GNU C++, but need to define -shared option too, otherwise
16555 # it will coredump.
16556 lt_prog_compiler_pic_CXX='-fPIC -shared'
16559 lt_prog_compiler_pic_CXX='-fPIC'
16565 # All AIX code is PIC.
16566 if test "$host_cpu" = ia64; then
16567 # AIX 5 now supports IA64 processor
16568 lt_prog_compiler_static_CXX='-Bstatic'
16570 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16574 case $cc_basename in
16576 # Green Hills C++ Compiler
16577 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
16582 case $cc_basename in
16584 lt_prog_compiler_pic_CXX='-KPIC'
16587 # Green Hills C++ Compiler
16588 lt_prog_compiler_pic_CXX='-pic'
16594 freebsd* | dragonfly*)
16595 # FreeBSD uses GNU C++
16597 hpux9* | hpux10* | hpux11*)
16598 case $cc_basename in
16600 lt_prog_compiler_wl_CXX='-Wl,'
16601 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16602 if test "$host_cpu" != ia64; then
16603 lt_prog_compiler_pic_CXX='+Z'
16607 lt_prog_compiler_wl_CXX='-Wl,'
16608 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16614 lt_prog_compiler_pic_CXX='+Z'
16623 # This is c89, which is MS Visual C++ (no shared libs)
16624 # Anyone wants to do a port?
16626 irix5* | irix6* | nonstopux*)
16627 case $cc_basename in
16629 lt_prog_compiler_wl_CXX='-Wl,'
16630 lt_prog_compiler_static_CXX='-non_shared'
16631 # CC pic flag -KPIC is the default.
16637 linux* | k*bsd*-gnu)
16638 case $cc_basename in
16641 lt_prog_compiler_wl_CXX='--backend -Wl,'
16642 lt_prog_compiler_pic_CXX='-fPIC'
16646 lt_prog_compiler_wl_CXX='-Wl,'
16647 lt_prog_compiler_pic_CXX='-KPIC'
16648 lt_prog_compiler_static_CXX='-static'
16651 # Portland Group C++ compiler
16652 lt_prog_compiler_wl_CXX='-Wl,'
16653 lt_prog_compiler_pic_CXX='-fpic'
16654 lt_prog_compiler_static_CXX='-Bstatic'
16658 # Make sure the PIC flag is empty. It appears that all Alpha
16659 # Linux and Compaq Tru64 Unix objects are PIC.
16660 lt_prog_compiler_pic_CXX=
16661 lt_prog_compiler_static_CXX='-non_shared'
16664 # IBM XL 8.0 on PPC
16665 lt_prog_compiler_wl_CXX='-Wl,'
16666 lt_prog_compiler_pic_CXX='-qpic'
16667 lt_prog_compiler_static_CXX='-qstaticlink'
16670 case `$CC -V 2>&1 | sed 5q` in
16673 lt_prog_compiler_pic_CXX='-KPIC'
16674 lt_prog_compiler_static_CXX='-Bstatic'
16675 lt_prog_compiler_wl_CXX='-Qoption ld '
16686 case $cc_basename in
16688 lt_prog_compiler_pic_CXX='-W c,exportall'
16694 netbsd* | netbsdelf*-gnu)
16697 # QNX uses GNU C++, but need to define -shared option too, otherwise
16698 # it will coredump.
16699 lt_prog_compiler_pic_CXX='-fPIC -shared'
16701 osf3* | osf4* | osf5*)
16702 case $cc_basename in
16704 lt_prog_compiler_wl_CXX='--backend -Wl,'
16707 # Rational C++ 2.4.1
16708 lt_prog_compiler_pic_CXX='-pic'
16711 # Digital/Compaq C++
16712 lt_prog_compiler_wl_CXX='-Wl,'
16713 # Make sure the PIC flag is empty. It appears that all Alpha
16714 # Linux and Compaq Tru64 Unix objects are PIC.
16715 lt_prog_compiler_pic_CXX=
16716 lt_prog_compiler_static_CXX='-non_shared'
16725 case $cc_basename in
16727 # Sun C++ 4.2, 5.x and Centerline C++
16728 lt_prog_compiler_pic_CXX='-KPIC'
16729 lt_prog_compiler_static_CXX='-Bstatic'
16730 lt_prog_compiler_wl_CXX='-Qoption ld '
16733 # Green Hills C++ Compiler
16734 lt_prog_compiler_pic_CXX='-PIC'
16741 case $cc_basename in
16744 lt_prog_compiler_pic_CXX='-pic'
16745 lt_prog_compiler_static_CXX='-Bstatic'
16749 lt_prog_compiler_pic_CXX='-pic'
16755 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16756 case $cc_basename in
16758 lt_prog_compiler_wl_CXX='-Wl,'
16759 lt_prog_compiler_pic_CXX='-KPIC'
16760 lt_prog_compiler_static_CXX='-Bstatic'
16765 case $cc_basename in
16767 # NonStop-UX NCC 3.20
16768 lt_prog_compiler_pic_CXX='-KPIC'
16777 lt_prog_compiler_can_build_shared_CXX=no
16783 # For platforms which do not support PIC, -DPIC is meaningless:
16785 lt_prog_compiler_pic_CXX=
16788 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16791 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
16792 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
16797 # Check to make sure the PIC flag actually works.
16799 if test -n "$lt_prog_compiler_pic_CXX"; then
16800 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16801 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
16802 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
16803 echo $ECHO_N "(cached) $ECHO_C" >&6
16805 lt_cv_prog_compiler_pic_works_CXX=no
16806 ac_outfile=conftest.$ac_objext
16807 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16808 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
16809 # Insert the option either (1) after the last *FLAGS variable, or
16810 # (2) before a word containing "conftest.", or (3) at the end.
16811 # Note that $ac_compile itself does not contain backslashes and begins
16812 # with a dollar sign (not a hyphen), so the echo should work correctly.
16813 # The option is referenced via a variable to avoid confusing sed.
16814 lt_compile=`echo "$ac_compile" | $SED \
16815 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16816 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16817 -e 's:$: $lt_compiler_flag:'`
16818 (eval echo "\"\$as_me:16818: $lt_compile\"" >&5)
16819 (eval "$lt_compile" 2>conftest.err)
16821 cat conftest.err >&5
16822 echo "$as_me:16822: \$? = $ac_status" >&5
16823 if (exit $ac_status) && test -s "$ac_outfile"; then
16824 # The compiler can only warn and ignore the option if not recognized
16825 # So say no if there are warnings other than the usual output.
16826 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16827 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16828 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16829 lt_cv_prog_compiler_pic_works_CXX=yes
16835 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16836 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16838 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
16839 case $lt_prog_compiler_pic_CXX in
16841 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16844 lt_prog_compiler_pic_CXX=
16845 lt_prog_compiler_can_build_shared_CXX=no
16853 # Check to make sure the static flag actually works.
16855 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16856 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16857 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16858 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
16859 echo $ECHO_N "(cached) $ECHO_C" >&6
16861 lt_cv_prog_compiler_static_works_CXX=no
16862 save_LDFLAGS="$LDFLAGS"
16863 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16864 echo "$lt_simple_link_test_code" > conftest.$ac_ext
16865 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16866 # The linker can only warn and ignore the option if not recognized
16867 # So say no if there are warnings
16868 if test -s conftest.err; then
16869 # Append any errors to the config.log.
16870 cat conftest.err 1>&5
16871 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16872 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16873 if diff conftest.exp conftest.er2 >/dev/null; then
16874 lt_cv_prog_compiler_static_works_CXX=yes
16877 lt_cv_prog_compiler_static_works_CXX=yes
16881 LDFLAGS="$save_LDFLAGS"
16884 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16885 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
16887 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16890 lt_prog_compiler_static_CXX=
16896 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16897 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16898 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
16899 echo $ECHO_N "(cached) $ECHO_C" >&6
16901 lt_cv_prog_compiler_c_o_CXX=no
16902 $RM -r conftest 2>/dev/null
16906 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16908 lt_compiler_flag="-o out/conftest2.$ac_objext"
16909 # Insert the option either (1) after the last *FLAGS variable, or
16910 # (2) before a word containing "conftest.", or (3) at the end.
16911 # Note that $ac_compile itself does not contain backslashes and begins
16912 # with a dollar sign (not a hyphen), so the echo should work correctly.
16913 lt_compile=`echo "$ac_compile" | $SED \
16914 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16915 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16916 -e 's:$: $lt_compiler_flag:'`
16917 (eval echo "\"\$as_me:16917: $lt_compile\"" >&5)
16918 (eval "$lt_compile" 2>out/conftest.err)
16920 cat out/conftest.err >&5
16921 echo "$as_me:16921: \$? = $ac_status" >&5
16922 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16924 # The compiler can only warn and ignore the option if not recognized
16925 # So say no if there are warnings
16926 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16927 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16928 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16929 lt_cv_prog_compiler_c_o_CXX=yes
16934 # SGI C++ compiler will create directory out/ii_files/ for
16935 # template instantiation
16936 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16937 $RM out/* && rmdir out
16943 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16944 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
16948 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16949 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16950 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
16951 echo $ECHO_N "(cached) $ECHO_C" >&6
16953 lt_cv_prog_compiler_c_o_CXX=no
16954 $RM -r conftest 2>/dev/null
16958 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16960 lt_compiler_flag="-o out/conftest2.$ac_objext"
16961 # Insert the option either (1) after the last *FLAGS variable, or
16962 # (2) before a word containing "conftest.", or (3) at the end.
16963 # Note that $ac_compile itself does not contain backslashes and begins
16964 # with a dollar sign (not a hyphen), so the echo should work correctly.
16965 lt_compile=`echo "$ac_compile" | $SED \
16966 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16967 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16968 -e 's:$: $lt_compiler_flag:'`
16969 (eval echo "\"\$as_me:16969: $lt_compile\"" >&5)
16970 (eval "$lt_compile" 2>out/conftest.err)
16972 cat out/conftest.err >&5
16973 echo "$as_me:16973: \$? = $ac_status" >&5
16974 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16976 # The compiler can only warn and ignore the option if not recognized
16977 # So say no if there are warnings
16978 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16979 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16980 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16981 lt_cv_prog_compiler_c_o_CXX=yes
16986 # SGI C++ compiler will create directory out/ii_files/ for
16987 # template instantiation
16988 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16989 $RM out/* && rmdir out
16995 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16996 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
17001 hard_links="nottested"
17002 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
17003 # do not overwrite the value of need_locks provided by the user
17004 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17005 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17008 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17010 ln conftest.a conftest.b 2>&5 || hard_links=no
17011 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17012 { echo "$as_me:$LINENO: result: $hard_links" >&5
17013 echo "${ECHO_T}$hard_links" >&6; }
17014 if test "$hard_links" = no; then
17015 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17016 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17025 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17026 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17028 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17031 # If we're using GNU nm, then we don't want the "-C" option.
17032 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17033 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
17034 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
17036 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
17040 export_symbols_cmds_CXX="$ltdll_cmds"
17043 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
17045 linux* | k*bsd*-gnu)
17046 link_all_deplibs_CXX=no
17049 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17052 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17054 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
17055 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
17056 test "$ld_shlibs_CXX" = no && can_build_shared=no
17058 with_gnu_ld_CXX=$with_gnu_ld
17066 # Do we need to explicitly link libc?
17068 case "x$archive_cmds_need_lc_CXX" in
17070 # Assume -lc should be added
17071 archive_cmds_need_lc_CXX=yes
17073 if test "$enable_shared" = yes && test "$GCC" = yes; then
17074 case $archive_cmds_CXX in
17076 # FIXME: we may have to deal with multi-command sequences.
17079 # Test whether the compiler implicitly links with -lc since on some
17080 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17081 # to ld, don't add -lc before -lgcc.
17082 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17083 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17085 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17088 (eval $ac_compile) 2>&5
17090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17091 (exit $ac_status); } 2>conftest.err; then
17094 libobjs=conftest.$ac_objext
17096 wl=$lt_prog_compiler_wl_CXX
17097 pic_flag=$lt_prog_compiler_pic_CXX
17103 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
17104 allow_undefined_flag_CXX=
17105 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
17106 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
17108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17109 (exit $ac_status); }
17111 archive_cmds_need_lc_CXX=no
17113 archive_cmds_need_lc_CXX=yes
17115 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
17117 cat conftest.err 1>&5
17120 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
17121 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
17191 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17192 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17194 library_names_spec=
17195 libname_spec='lib$name'
17199 postuninstall_cmds=
17203 shlibpath_overrides_runpath=unknown
17205 dynamic_linker="$host_os ld.so"
17206 sys_lib_dlsearch_path_spec="/lib /usr/lib"
17207 need_lib_prefix=unknown
17208 hardcode_into_libs=no
17210 # when you set need_version to no, make sure it does not cause -set_version
17211 # flags to be left without arguments
17212 need_version=unknown
17217 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17218 shlibpath_var=LIBPATH
17220 # AIX 3 has no versioning support, so we append a major version to the name.
17221 soname_spec='${libname}${release}${shared_ext}$major'
17228 hardcode_into_libs=yes
17229 if test "$host_cpu" = ia64; then
17230 # AIX 5 supports IA64
17231 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17232 shlibpath_var=LD_LIBRARY_PATH
17234 # With GCC up to 2.95.x, collect2 would create an import file
17235 # for dependence libraries. The import file would start with
17236 # the line `#! .'. This would cause the generated library to
17237 # depend on `.', always an invalid library. This was fixed in
17238 # development snapshots of GCC prior to 3.0.
17240 aix4 | aix4.[01] | aix4.[01].*)
17241 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17243 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
17246 can_build_shared=no
17250 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17251 # soname into executable. Probably we can add versioning support to
17252 # collect2, so additional links can be useful in future.
17253 if test "$aix_use_runtimelinking" = yes; then
17254 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17255 # instead of lib<name>.a to let people know that these are not
17256 # typical AIX shared libraries.
17257 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17259 # We preserve .a as extension for shared libraries through AIX4.2
17260 # and later when we are not doing run time linking.
17261 library_names_spec='${libname}${release}.a $libname.a'
17262 soname_spec='${libname}${release}${shared_ext}$major'
17264 shlibpath_var=LIBPATH
17271 # Since July 2007 AmigaOS4 officially supports .so libraries.
17272 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17276 library_names_spec='$libname.ixlibrary $libname.a'
17277 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17278 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'
17284 library_names_spec='${libname}${shared_ext}'
17285 dynamic_linker="$host_os ld.so"
17286 shlibpath_var=LIBRARY_PATH
17292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17293 soname_spec='${libname}${release}${shared_ext}$major'
17294 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17295 shlibpath_var=LD_LIBRARY_PATH
17296 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17297 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17298 # the default ld.so.conf also contains /usr/contrib/lib and
17299 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17300 # libtool to hard-code these into programs
17303 cygwin* | mingw* | pw32*)
17304 version_type=windows
17309 case $GCC,$host_os in
17310 yes,cygwin* | yes,mingw* | yes,pw32*)
17311 library_names_spec='$libname.dll.a'
17312 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17313 postinstall_cmds='base_file=`basename \${file}`~
17314 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17315 dldir=$destdir/`dirname \$dlpath`~
17316 test -d \$dldir || mkdir -p \$dldir~
17317 $install_prog $dir/$dlname \$dldir/$dlname~
17318 chmod a+x \$dldir/$dlname~
17319 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17320 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17322 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17323 dlpath=$dir/\$dldll~
17325 shlibpath_overrides_runpath=yes
17329 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17330 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17331 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
17334 # MinGW DLLs use traditional 'lib' prefix
17335 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17336 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17337 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
17338 # It is most probably a Windows format PATH printed by
17339 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17340 # path with ; separators, and with drive letters. We can handle the
17341 # drive letters (cygwin fileutils understands them), so leave them,
17342 # especially as we might pass files found there to a mingw objdump,
17343 # which wouldn't understand a cygwinified path. Ahh.
17344 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17346 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17350 # pw32 DLLs use 'pw' prefix rather than 'lib'
17351 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17357 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17360 dynamic_linker='Win32 ld.exe'
17361 # FIXME: first we should search . and the directory the executable is in
17365 darwin* | rhapsody*)
17366 dynamic_linker="$host_os dyld"
17367 version_type=darwin
17370 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17371 soname_spec='${libname}${release}${major}$shared_ext'
17372 shlibpath_overrides_runpath=yes
17373 shlibpath_var=DYLD_LIBRARY_PATH
17374 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17376 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17383 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17384 soname_spec='${libname}${release}${shared_ext}$major'
17385 shlibpath_var=LD_LIBRARY_PATH
17392 freebsd* | dragonfly*)
17393 # DragonFly does not have aout. When/if they implement a new
17394 # versioning mechanism, adjust this.
17395 if test -x /usr/bin/objformat; then
17396 objformat=`/usr/bin/objformat`
17399 freebsd[123]*) objformat=aout ;;
17400 *) objformat=elf ;;
17403 version_type=freebsd-$objformat
17404 case $version_type in
17406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17411 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17415 shlibpath_var=LD_LIBRARY_PATH
17418 shlibpath_overrides_runpath=yes
17420 freebsd3.[01]* | freebsdelf3.[01]*)
17421 shlibpath_overrides_runpath=yes
17422 hardcode_into_libs=yes
17424 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17425 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17426 shlibpath_overrides_runpath=no
17427 hardcode_into_libs=yes
17429 *) # from 4.6 on, and DragonFly
17430 shlibpath_overrides_runpath=yes
17431 hardcode_into_libs=yes
17440 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17441 soname_spec='${libname}${release}${shared_ext}$major'
17442 shlibpath_var=LD_LIBRARY_PATH
17443 hardcode_into_libs=yes
17446 hpux9* | hpux10* | hpux11*)
17447 # Give a soname corresponding to the major version so that dld.sl refuses to
17448 # link against other versions.
17455 hardcode_into_libs=yes
17456 dynamic_linker="$host_os dld.so"
17457 shlibpath_var=LD_LIBRARY_PATH
17458 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17459 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17460 soname_spec='${libname}${release}${shared_ext}$major'
17461 if test "X$HPUX_IA64_MODE" = X32; then
17462 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17464 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17466 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17470 hardcode_into_libs=yes
17471 dynamic_linker="$host_os dld.sl"
17472 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17473 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17474 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17475 soname_spec='${libname}${release}${shared_ext}$major'
17476 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17477 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17481 dynamic_linker="$host_os dld.sl"
17482 shlibpath_var=SHLIB_PATH
17483 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17484 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17485 soname_spec='${libname}${release}${shared_ext}$major'
17488 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17489 postinstall_cmds='chmod 555 $lib'
17496 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17497 soname_spec='${libname}${release}${shared_ext}$major'
17498 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17499 shlibpath_var=LD_LIBRARY_PATH
17500 shlibpath_overrides_runpath=no
17501 hardcode_into_libs=yes
17504 irix5* | irix6* | nonstopux*)
17506 nonstopux*) version_type=nonstopux ;;
17508 if test "$lt_cv_prog_gnu_ld" = yes; then
17516 soname_spec='${libname}${release}${shared_ext}$major'
17517 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17519 irix5* | nonstopux*)
17520 libsuff= shlibsuff=
17523 case $LD in # libtool.m4 will add one of these switches to LD
17524 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17525 libsuff= shlibsuff= libmagic=32-bit;;
17526 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17527 libsuff=32 shlibsuff=N32 libmagic=N32;;
17528 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17529 libsuff=64 shlibsuff=64 libmagic=64-bit;;
17530 *) libsuff= shlibsuff= libmagic=never-match;;
17534 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17535 shlibpath_overrides_runpath=no
17536 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17537 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17538 hardcode_into_libs=yes
17541 # No shared lib support for Linux oldld, aout, or coff.
17542 linux*oldld* | linux*aout* | linux*coff*)
17546 # This must be Linux ELF.
17547 linux* | k*bsd*-gnu)
17551 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17552 soname_spec='${libname}${release}${shared_ext}$major'
17553 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17554 shlibpath_var=LD_LIBRARY_PATH
17555 shlibpath_overrides_runpath=no
17556 # Some binutils ld are patched to set DT_RUNPATH
17557 save_LDFLAGS=$LDFLAGS
17558 save_libdir=$libdir
17559 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17560 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17561 cat >conftest.$ac_ext <<_ACEOF
17564 cat confdefs.h >>conftest.$ac_ext
17565 cat >>conftest.$ac_ext <<_ACEOF
17566 /* end confdefs.h. */
17576 rm -f conftest.$ac_objext conftest$ac_exeext
17577 if { (ac_try="$ac_link"
17578 case "(($ac_try" in
17579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17580 *) ac_try_echo=$ac_try;;
17582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17583 (eval "$ac_link") 2>conftest.er1
17585 grep -v '^ *+' conftest.er1 >conftest.err
17587 cat conftest.err >&5
17588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17589 (exit $ac_status); } && {
17590 test -z "$ac_cxx_werror_flag" ||
17591 test ! -s conftest.err
17592 } && test -s conftest$ac_exeext &&
17593 $as_test_x conftest$ac_exeext; then
17594 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
17595 shlibpath_overrides_runpath=yes
17599 echo "$as_me: failed program was:" >&5
17600 sed 's/^/| /' conftest.$ac_ext >&5
17605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17606 conftest$ac_exeext conftest.$ac_ext
17607 LDFLAGS=$save_LDFLAGS
17608 libdir=$save_libdir
17610 # This implies no fast_install, which is unacceptable.
17611 # Some rework will be needed to allow for fast_install
17612 # before this can be enabled.
17613 hardcode_into_libs=yes
17615 # Append ld.so.conf contents to the search path
17616 if test -f /etc/ld.so.conf; then
17617 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' ' '`
17618 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17621 # We used to test for /lib/ld.so.1 and disable shared libraries on
17622 # powerpc, because MkLinux only supported shared libraries with the
17623 # GNU dynamic linker. Since this was broken with cross compilers,
17624 # most powerpc-linux boxes support dynamic linking these days and
17625 # people can always --disable-shared, the test was removed, and we
17626 # assume the GNU/Linux dynamic linker is in use.
17627 dynamic_linker='GNU/Linux ld.so'
17634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17635 soname_spec='${libname}${release}${shared_ext}$major'
17636 shlibpath_var=LD_LIBRARY_PATH
17637 shlibpath_overrides_runpath=no
17638 hardcode_into_libs=yes
17639 dynamic_linker='NetBSD ld.elf_so'
17646 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17648 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17649 dynamic_linker='NetBSD (a.out) ld.so'
17651 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17652 soname_spec='${libname}${release}${shared_ext}$major'
17653 dynamic_linker='NetBSD ld.elf_so'
17655 shlibpath_var=LD_LIBRARY_PATH
17656 shlibpath_overrides_runpath=yes
17657 hardcode_into_libs=yes
17662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17663 shlibpath_var=LD_LIBRARY_PATH
17664 shlibpath_overrides_runpath=yes
17671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17672 soname_spec='${libname}${release}${shared_ext}$major'
17673 shlibpath_var=LD_LIBRARY_PATH
17674 shlibpath_overrides_runpath=no
17675 hardcode_into_libs=yes
17676 dynamic_linker='ldqnx.so'
17681 sys_lib_dlsearch_path_spec="/usr/lib"
17683 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17685 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17686 *) need_version=no ;;
17688 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17689 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17690 shlibpath_var=LD_LIBRARY_PATH
17691 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17693 openbsd2.[89] | openbsd2.[89].*)
17694 shlibpath_overrides_runpath=no
17697 shlibpath_overrides_runpath=yes
17701 shlibpath_overrides_runpath=yes
17706 libname_spec='$name'
17709 library_names_spec='$libname${shared_ext} $libname.a'
17710 dynamic_linker='OS/2 ld.exe'
17711 shlibpath_var=LIBPATH
17714 osf3* | osf4* | osf5*)
17718 soname_spec='${libname}${release}${shared_ext}$major'
17719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17720 shlibpath_var=LD_LIBRARY_PATH
17721 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17722 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17734 soname_spec='${libname}${release}${shared_ext}$major'
17735 shlibpath_var=LD_LIBRARY_PATH
17736 shlibpath_overrides_runpath=yes
17737 hardcode_into_libs=yes
17738 # ldd complains unless libraries are executable
17739 postinstall_cmds='chmod +x $lib'
17744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17745 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17746 shlibpath_var=LD_LIBRARY_PATH
17747 shlibpath_overrides_runpath=yes
17748 if test "$with_gnu_ld" = yes; then
17756 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17757 soname_spec='${libname}${release}${shared_ext}$major'
17758 shlibpath_var=LD_LIBRARY_PATH
17759 case $host_vendor in
17761 shlibpath_overrides_runpath=no
17763 runpath_var=LD_RUN_PATH
17771 shlibpath_overrides_runpath=no
17772 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17778 if test -d /usr/nec ;then
17780 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17781 soname_spec='$libname${shared_ext}.$major'
17782 shlibpath_var=LD_LIBRARY_PATH
17786 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17787 version_type=freebsd-elf
17790 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17791 soname_spec='${libname}${release}${shared_ext}$major'
17792 shlibpath_var=LD_LIBRARY_PATH
17793 shlibpath_overrides_runpath=yes
17794 hardcode_into_libs=yes
17795 if test "$with_gnu_ld" = yes; then
17796 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17798 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17801 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17805 sys_lib_dlsearch_path_spec='/usr/lib'
17809 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17813 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17814 shlibpath_var=LD_LIBRARY_PATH
17815 shlibpath_overrides_runpath=no
17816 hardcode_into_libs=yes
17821 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17822 soname_spec='${libname}${release}${shared_ext}$major'
17823 shlibpath_var=LD_LIBRARY_PATH
17830 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17831 echo "${ECHO_T}$dynamic_linker" >&6; }
17832 test "$dynamic_linker" = no && can_build_shared=no
17834 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17835 if test "$GCC" = yes; then
17836 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17839 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17840 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17842 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17843 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17881 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17882 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17883 hardcode_action_CXX=
17884 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17885 test -n "$runpath_var_CXX" ||
17886 test "X$hardcode_automatic_CXX" = "Xyes" ; then
17888 # We can hardcode non-existent directories.
17889 if test "$hardcode_direct_CXX" != no &&
17890 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17891 # have to relink, otherwise we might link with an installed library
17892 # when we should be linking with a yet-to-be-installed one
17893 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17894 test "$hardcode_minus_L_CXX" != no; then
17895 # Linking always hardcodes the temporary library directory.
17896 hardcode_action_CXX=relink
17898 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17899 hardcode_action_CXX=immediate
17902 # We cannot hardcode anything, or else we can only hardcode existing
17904 hardcode_action_CXX=unsupported
17906 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
17907 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
17909 if test "$hardcode_action_CXX" = relink ||
17910 test "$inherit_rpath_CXX" = yes; then
17911 # Fast installation is not supported
17912 enable_fast_install=no
17913 elif test "$shlibpath_overrides_runpath" = yes ||
17914 test "$enable_shared" = no; then
17915 # Fast installation is not necessary
17916 enable_fast_install=needless
17925 fi # test -n "$compiler"
17931 with_gnu_ld=$lt_save_with_gnu_ld
17932 lt_cv_path_LDCXX=$lt_cv_path_LD
17933 lt_cv_path_LD=$lt_save_path_LD
17934 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17935 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17936 fi # test "$_lt_caught_CXX_error" != yes
17939 ac_cpp='$CPP $CPPFLAGS'
17940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17956 ac_config_commands="$ac_config_commands libtool"
17961 # Only expand once:
17970 ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in"
17972 cat >confcache <<\_ACEOF
17973 # This file is a shell script that caches the results of configure
17974 # tests run on this system so they can be shared between configure
17975 # scripts and configure runs, see configure's option --config-cache.
17976 # It is not useful on other systems. If it contains results you don't
17977 # want to keep, you may remove or edit it.
17979 # config.status only pays attention to the cache file if you give it
17980 # the --recheck option to rerun configure.
17982 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17983 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17984 # following values.
17988 # The following way of writing the cache mishandles newlines in values,
17989 # but we know of no workaround that is simple, portable, and efficient.
17990 # So, we kill variables containing newlines.
17991 # Ultrix sh set writes to stderr and can't be redirected directly,
17992 # and sets the high bit in the cache file unless we assign to the vars.
17994 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17995 eval ac_val=\$$ac_var
17999 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
18000 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
18003 _ | IFS | as_nl) ;; #(
18004 *) $as_unset $ac_var ;;
18010 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18011 *${as_nl}ac_space=\ *)
18012 # `set' does not quote correctly, so add quotes (double-quote
18013 # substitution turns \\\\ into \\, and sed turns \\ into \).
18016 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18019 # `set' quotes correctly as required by POSIX, so do not add quotes.
18020 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18029 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18031 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18033 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18034 if test -w "$cache_file"; then
18035 test "x$cache_file" != "x/dev/null" &&
18036 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
18037 echo "$as_me: updating cache $cache_file" >&6;}
18038 cat confcache >$cache_file
18040 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
18041 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18046 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18047 # Let make expand exec_prefix.
18048 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18050 DEFS=-DHAVE_CONFIG_H
18054 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18055 # 1. Remove the extension, and $U if already installed.
18056 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18057 ac_i=`echo "$ac_i" | sed "$ac_script"`
18058 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18059 # will be set to the directory where LIBOBJS objects are built.
18060 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18061 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
18063 LIBOBJS=$ac_libobjs
18065 LTLIBOBJS=$ac_ltlibobjs
18068 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
18069 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
18070 Usually this means the macro was only invoked conditionally." >&5
18071 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
18072 Usually this means the macro was only invoked conditionally." >&2;}
18073 { (exit 1); exit 1; }; }
18075 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18076 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
18077 Usually this means the macro was only invoked conditionally." >&5
18078 echo "$as_me: error: conditional \"AMDEP\" was never defined.
18079 Usually this means the macro was only invoked conditionally." >&2;}
18080 { (exit 1); exit 1; }; }
18082 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18083 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
18084 Usually this means the macro was only invoked conditionally." >&5
18085 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
18086 Usually this means the macro was only invoked conditionally." >&2;}
18087 { (exit 1); exit 1; }; }
18089 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
18090 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
18091 Usually this means the macro was only invoked conditionally." >&5
18092 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
18093 Usually this means the macro was only invoked conditionally." >&2;}
18094 { (exit 1); exit 1; }; }
18096 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18097 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
18098 Usually this means the macro was only invoked conditionally." >&5
18099 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
18100 Usually this means the macro was only invoked conditionally." >&2;}
18101 { (exit 1); exit 1; }; }
18104 ac_config_commands="$ac_config_commands po/stamp-it"
18107 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
18108 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
18109 Usually this means the macro was only invoked conditionally." >&5
18110 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
18111 Usually this means the macro was only invoked conditionally." >&2;}
18112 { (exit 1); exit 1; }; }
18115 : ${CONFIG_STATUS=./config.status}
18116 ac_clean_files_save=$ac_clean_files
18117 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18118 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
18119 echo "$as_me: creating $CONFIG_STATUS" >&6;}
18120 cat >$CONFIG_STATUS <<_ACEOF
18122 # Generated by $as_me.
18123 # Run this file to recreate the current configuration.
18124 # Compiler output produced by configure, useful for debugging
18125 # configure, is in config.log if it exists.
18128 ac_cs_recheck=false
18130 SHELL=\${CONFIG_SHELL-$SHELL}
18133 cat >>$CONFIG_STATUS <<\_ACEOF
18134 ## --------------------- ##
18135 ## M4sh Initialization. ##
18136 ## --------------------- ##
18138 # Be more Bourne compatible
18139 DUALCASE=1; export DUALCASE # for MKS sh
18140 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18143 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18144 # is contrary to our usage. Disable this feature.
18145 alias -g '${1+"$@"}'='"$@"'
18146 setopt NO_GLOB_SUBST
18148 case `(set -o) 2>/dev/null` in
18149 *posix*) set -o posix ;;
18158 # Avoid depending upon Character Ranges.
18159 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18160 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18161 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18162 as_cr_digits='0123456789'
18163 as_cr_alnum=$as_cr_Letters$as_cr_digits
18165 # The user is always right.
18166 if test "${PATH_SEPARATOR+set}" != set; then
18167 echo "#! /bin/sh" >conf$$.sh
18168 echo "exit 0" >>conf$$.sh
18170 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
18178 # Support unset when possible.
18179 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
18187 # We need space, tab and new line, in precisely that order. Quoting is
18188 # there to prevent editors from complaining about space-tab.
18189 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18190 # splitting by setting IFS to empty value.)
18195 # Find who we are. Look in the path if we contain no directory separator.
18197 *[\\/]* ) as_myself=$0 ;;
18198 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18199 for as_dir in $PATH
18202 test -z "$as_dir" && as_dir=.
18203 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18209 # We did not find ourselves, most probably we were run as `sh COMMAND'
18210 # in which case we are not to be found in the path.
18211 if test "x$as_myself" = x; then
18214 if test ! -f "$as_myself"; then
18215 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18216 { (exit 1); exit 1; }
18219 # Work around bugs in pre-3.0 UWIN ksh.
18220 for as_var in ENV MAIL MAILPATH
18221 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
18229 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
18230 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
18231 LC_TELEPHONE LC_TIME
18233 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
18234 eval $as_var=C; export $as_var
18236 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
18240 # Required to use basename.
18241 if expr a : '\(a\)' >/dev/null 2>&1 &&
18242 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18248 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18249 as_basename=basename
18255 # Name of the executable.
18256 as_me=`$as_basename -- "$0" ||
18257 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18258 X"$0" : 'X\(//\)$' \| \
18259 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18261 sed '/^.*\/\([^/][^/]*\)\/*$/{
18280 as_lineno_1=$LINENO
18281 as_lineno_2=$LINENO
18282 test "x$as_lineno_1" != "x$as_lineno_2" &&
18283 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
18285 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
18286 # uniformly replaced by the line number. The first 'sed' inserts a
18287 # line-number line after each line using $LINENO; the second 'sed'
18288 # does the real work. The second script uses 'N' to pair each
18289 # line-number line with the line containing $LINENO, and appends
18290 # trailing '-' during substitution so that $LINENO is not a special
18291 # case at line end.
18292 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
18293 # scripts with optimization help from Paolo Bonzini. Blame Lee
18294 # E. McMahon (1931-1989) for sed's syntax. :-)
18306 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
18309 ' >$as_me.lineno &&
18310 chmod +x "$as_me.lineno" ||
18311 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
18312 { (exit 1); exit 1; }; }
18314 # Don't try to exec as it changes $[0], causing all sort of problems
18315 # (the dirname of $[0] is not the place where we might find the
18316 # original and so on. Autoconf is especially sensitive to this).
18317 . "./$as_me.lineno"
18318 # Exit status is that of the last command.
18323 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18329 ECHO_C= ECHO_N= ECHO_T=
18330 case `echo -n x` in
18332 case `echo 'x\c'` in
18333 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18340 if expr a : '\(a\)' >/dev/null 2>&1 &&
18341 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18347 rm -f conf$$ conf$$.exe conf$$.file
18348 if test -d conf$$.dir; then
18349 rm -f conf$$.dir/conf$$.file
18355 if ln -s conf$$.file conf$$ 2>/dev/null; then
18357 # ... but there are two gotchas:
18358 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18359 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18360 # In both cases, we have to default to `cp -p'.
18361 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18363 elif ln conf$$.file conf$$ 2>/dev/null; then
18368 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18369 rmdir conf$$.dir 2>/dev/null
18371 if mkdir -p . 2>/dev/null; then
18374 test -d ./-p && rmdir ./-p
18378 if test -x / >/dev/null 2>&1; then
18379 as_test_x='test -x'
18381 if ls -dL / >/dev/null 2>&1; then
18388 if test -d "$1"; then
18394 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
18395 ???[sx]*):;;*)false;;esac;fi
18399 as_executable_p=$as_test_x
18401 # Sed expression to map a string onto a valid CPP name.
18402 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18404 # Sed expression to map a string onto a valid variable name.
18405 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18410 # Save the log message, to keep $[0] and so on meaningful, and to
18411 # report actual input values of CONFIG_FILES etc. instead of their
18412 # values after options handling.
18414 This file was extended by tsremuxcpp $as_me 0.1, which was
18415 generated by GNU Autoconf 2.61. Invocation command line was
18417 CONFIG_FILES = $CONFIG_FILES
18418 CONFIG_HEADERS = $CONFIG_HEADERS
18419 CONFIG_LINKS = $CONFIG_LINKS
18420 CONFIG_COMMANDS = $CONFIG_COMMANDS
18423 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18428 cat >>$CONFIG_STATUS <<_ACEOF
18429 # Files that config.status was made for.
18430 config_files="$ac_config_files"
18431 config_headers="$ac_config_headers"
18432 config_commands="$ac_config_commands"
18436 cat >>$CONFIG_STATUS <<\_ACEOF
18438 \`$as_me' instantiates files from templates according to the
18439 current configuration.
18441 Usage: $0 [OPTIONS] [FILE]...
18443 -h, --help print this help, then exit
18444 -V, --version print version number and configuration settings, then exit
18445 -q, --quiet do not print progress messages
18446 -d, --debug don't remove temporary files
18447 --recheck update $as_me by reconfiguring in the same conditions
18448 --file=FILE[:TEMPLATE]
18449 instantiate the configuration file FILE
18450 --header=FILE[:TEMPLATE]
18451 instantiate the configuration header FILE
18453 Configuration files:
18456 Configuration headers:
18459 Configuration commands:
18462 Report bugs to <bug-autoconf@gnu.org>."
18465 cat >>$CONFIG_STATUS <<_ACEOF
18467 tsremuxcpp config.status 0.1
18468 configured by $0, generated by GNU Autoconf 2.61,
18469 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
18471 Copyright (C) 2006 Free Software Foundation, Inc.
18472 This config.status script is free software; the Free Software Foundation
18473 gives unlimited permission to copy, distribute and modify it."
18481 cat >>$CONFIG_STATUS <<\_ACEOF
18482 # If no file are specified by the user, then we need to provide default
18483 # value. By we need to know if files were specified by the user.
18489 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18490 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18501 # Handling of the options.
18502 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18504 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18505 echo "$ac_cs_version"; exit ;;
18506 --debug | --debu | --deb | --de | --d | -d )
18508 --file | --fil | --fi | --f )
18510 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
18511 ac_need_defaults=false;;
18512 --header | --heade | --head | --hea )
18514 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
18515 ac_need_defaults=false;;
18517 # Conflict between --help and --header
18518 { echo "$as_me: error: ambiguous option: $1
18519 Try \`$0 --help' for more information." >&2
18520 { (exit 1); exit 1; }; };;
18521 --help | --hel | -h )
18522 echo "$ac_cs_usage"; exit ;;
18523 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18524 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18527 # This is an error.
18528 -*) { echo "$as_me: error: unrecognized option: $1
18529 Try \`$0 --help' for more information." >&2
18530 { (exit 1); exit 1; }; } ;;
18532 *) ac_config_targets="$ac_config_targets $1"
18533 ac_need_defaults=false ;;
18539 ac_configure_extra_args=
18541 if $ac_cs_silent; then
18543 ac_configure_extra_args="$ac_configure_extra_args --silent"
18547 cat >>$CONFIG_STATUS <<_ACEOF
18548 if \$ac_cs_recheck; then
18549 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
18550 CONFIG_SHELL=$SHELL
18551 export CONFIG_SHELL
18552 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18556 cat >>$CONFIG_STATUS <<\_ACEOF
18560 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18561 ## Running $as_me. ##
18567 cat >>$CONFIG_STATUS <<_ACEOF
18571 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18575 # The HP-UX ksh and POSIX shell print the target directory to stdout
18576 # if CDPATH is set.
18577 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18579 sed_quote_subst='$sed_quote_subst'
18580 double_quote_subst='$double_quote_subst'
18581 delay_variable_subst='$delay_variable_subst'
18582 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
18583 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
18584 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
18585 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
18586 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
18587 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
18588 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
18589 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
18590 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
18591 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
18592 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
18593 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
18594 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
18595 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
18596 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
18597 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
18598 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
18599 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
18600 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
18601 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
18602 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
18603 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
18604 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
18605 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
18606 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
18607 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
18608 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
18609 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18610 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
18611 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
18612 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
18613 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
18614 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
18615 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
18616 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18617 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18618 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18619 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
18620 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
18621 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
18622 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
18623 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
18624 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
18625 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"`'
18626 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"`'
18627 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
18628 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
18629 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
18630 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
18631 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
18632 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
18633 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
18634 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
18635 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
18636 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
18637 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
18638 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
18639 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
18640 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
18641 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
18642 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
18643 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18644 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18645 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
18646 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
18647 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18648 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18649 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
18650 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18651 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18652 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18653 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18654 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18655 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18656 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
18657 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
18658 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
18659 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18660 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
18661 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
18662 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
18663 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
18664 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
18665 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18666 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
18667 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
18668 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
18669 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
18670 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
18671 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18672 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
18673 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
18674 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18675 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
18676 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
18677 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
18678 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
18679 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
18680 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18681 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18682 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
18683 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
18684 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
18685 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
18686 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18687 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18688 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18689 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
18690 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
18691 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
18692 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
18693 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
18694 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
18695 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
18696 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
18697 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
18698 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
18699 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
18700 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
18701 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
18702 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
18703 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
18704 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
18705 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18706 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18707 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18708 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18709 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18710 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18711 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18712 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18713 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18714 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18715 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18716 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18717 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18718 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18719 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18720 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18721 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18722 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18723 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18724 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18725 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18726 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18727 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18728 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18729 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18730 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18731 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18732 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18733 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18734 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18735 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18736 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18737 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18738 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18739 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18740 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18741 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18742 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18743 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18744 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18745 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18746 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18747 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18748 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18749 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18750 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18751 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18754 LTCFLAGS='$LTCFLAGS'
18755 compiler='$compiler_DEFAULT'
18757 # Quote evaled strings.
18768 deplibs_check_method \
18777 lt_cv_sys_global_symbol_pipe \
18778 lt_cv_sys_global_symbol_to_cdecl \
18779 lt_cv_sys_global_symbol_to_c_name_address \
18780 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18783 lt_prog_compiler_no_builtin_flag \
18784 lt_prog_compiler_wl \
18785 lt_prog_compiler_pic \
18786 lt_prog_compiler_static \
18787 lt_cv_prog_compiler_c_o \
18795 export_dynamic_flag_spec \
18796 whole_archive_flag_spec \
18797 compiler_needs_object \
18799 allow_undefined_flag \
18800 no_undefined_flag \
18801 hardcode_libdir_flag_spec \
18802 hardcode_libdir_flag_spec_ld \
18803 hardcode_libdir_separator \
18808 variables_saved_for_relink \
18810 library_names_spec \
18815 compiler_lib_search_dirs \
18820 compiler_lib_search_path \
18823 lt_prog_compiler_no_builtin_flag_CXX \
18824 lt_prog_compiler_wl_CXX \
18825 lt_prog_compiler_pic_CXX \
18826 lt_prog_compiler_static_CXX \
18827 lt_cv_prog_compiler_c_o_CXX \
18828 export_dynamic_flag_spec_CXX \
18829 whole_archive_flag_spec_CXX \
18830 compiler_needs_object_CXX \
18832 allow_undefined_flag_CXX \
18833 no_undefined_flag_CXX \
18834 hardcode_libdir_flag_spec_CXX \
18835 hardcode_libdir_flag_spec_ld_CXX \
18836 hardcode_libdir_separator_CXX \
18837 fix_srcfile_path_CXX \
18838 exclude_expsyms_CXX \
18839 include_expsyms_CXX \
18840 file_list_spec_CXX \
18841 compiler_lib_search_dirs_CXX \
18842 predep_objects_CXX \
18843 postdep_objects_CXX \
18846 compiler_lib_search_path_CXX; do
18847 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
18848 *[\\\\\\\`\\"\\\$]*)
18849 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18852 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18857 # Double-quote double-evaled strings.
18858 for var in reload_cmds \
18859 old_postinstall_cmds \
18860 old_postuninstall_cmds \
18862 extract_expsyms_cmds \
18863 old_archive_from_new_cmds \
18864 old_archive_from_expsyms_cmds \
18866 archive_expsym_cmds \
18868 module_expsym_cmds \
18869 export_symbols_cmds \
18872 postuninstall_cmds \
18874 sys_lib_search_path_spec \
18875 sys_lib_dlsearch_path_spec \
18876 old_archive_cmds_CXX \
18877 old_archive_from_new_cmds_CXX \
18878 old_archive_from_expsyms_cmds_CXX \
18880 archive_expsym_cmds_CXX \
18882 module_expsym_cmds_CXX \
18883 export_symbols_cmds_CXX \
18884 prelink_cmds_CXX; do
18885 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
18886 *[\\\\\\\`\\"\\\$]*)
18887 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18890 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18895 # Fix-up fallback echo if it was mangled by the above quoting rules.
18897 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
18901 ac_aux_dir='$ac_aux_dir'
18902 xsi_shell='$xsi_shell'
18903 lt_shell_append='$lt_shell_append'
18905 # See if we are running on zsh, and set the options which allow our
18906 # commands through without removal of \ escapes INIT.
18907 if test -n "\${ZSH_VERSION+set}" ; then
18908 setopt NO_GLOB_SUBST
18914 TIMESTAMP='$TIMESTAMP'
18925 cat >>$CONFIG_STATUS <<\_ACEOF
18927 # Handling of arguments.
18928 for ac_config_target in $ac_config_targets
18930 case $ac_config_target in
18931 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18932 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18933 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
18934 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18935 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18936 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
18937 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
18938 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
18940 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
18941 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
18942 { (exit 1); exit 1; }; };;
18947 # If the user did not use the arguments to specify the items to instantiate,
18948 # then the envvar interface is used. Set only those that are not.
18949 # We use the long form for the default assignment because of an extremely
18950 # bizarre bug on SunOS 4.1.3.
18951 if $ac_need_defaults; then
18952 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18953 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18954 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18957 # Have a temporary directory for convenience. Make it in the build tree
18958 # simply because there is no reason against having it here, and in addition,
18959 # creating and moving files from /tmp can sometimes cause problems.
18960 # Hook for its removal unless debugging.
18961 # Note that there is a small window in which the directory will not be cleaned:
18962 # after its creation but before its name has been assigned to `$tmp'.
18966 trap 'exit_status=$?
18967 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
18969 trap '{ (exit 1); exit 1; }' 1 2 13 15
18971 # Create a (secure) tmp directory for tmp files.
18974 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18975 test -n "$tmp" && test -d "$tmp"
18978 tmp=./conf$$-$RANDOM
18979 (umask 077 && mkdir "$tmp")
18982 echo "$me: cannot create a temporary directory in ." >&2
18983 { (exit 1); exit 1; }
18987 # Set up the sed scripts for CONFIG_FILES section.
18990 # No need to generate the scripts if there are no CONFIG_FILES.
18991 # This happens for instance when ./config.status config.h
18992 if test -n "$CONFIG_FILES"; then
18999 for ac_last_try in false false false false false :; do
19000 cat >conf$$subs.sed <<_ACEOF
19001 SHELL!$SHELL$ac_delim
19002 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
19003 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
19004 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
19005 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
19006 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
19007 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
19008 exec_prefix!$exec_prefix$ac_delim
19009 prefix!$prefix$ac_delim
19010 program_transform_name!$program_transform_name$ac_delim
19011 bindir!$bindir$ac_delim
19012 sbindir!$sbindir$ac_delim
19013 libexecdir!$libexecdir$ac_delim
19014 datarootdir!$datarootdir$ac_delim
19015 datadir!$datadir$ac_delim
19016 sysconfdir!$sysconfdir$ac_delim
19017 sharedstatedir!$sharedstatedir$ac_delim
19018 localstatedir!$localstatedir$ac_delim
19019 includedir!$includedir$ac_delim
19020 oldincludedir!$oldincludedir$ac_delim
19021 docdir!$docdir$ac_delim
19022 infodir!$infodir$ac_delim
19023 htmldir!$htmldir$ac_delim
19024 dvidir!$dvidir$ac_delim
19025 pdfdir!$pdfdir$ac_delim
19026 psdir!$psdir$ac_delim
19027 libdir!$libdir$ac_delim
19028 localedir!$localedir$ac_delim
19029 mandir!$mandir$ac_delim
19030 DEFS!$DEFS$ac_delim
19031 ECHO_C!$ECHO_C$ac_delim
19032 ECHO_N!$ECHO_N$ac_delim
19033 ECHO_T!$ECHO_T$ac_delim
19034 LIBS!$LIBS$ac_delim
19035 build_alias!$build_alias$ac_delim
19036 host_alias!$host_alias$ac_delim
19037 target_alias!$target_alias$ac_delim
19038 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
19039 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
19040 INSTALL_DATA!$INSTALL_DATA$ac_delim
19041 am__isrc!$am__isrc$ac_delim
19042 CYGPATH_W!$CYGPATH_W$ac_delim
19043 PACKAGE!$PACKAGE$ac_delim
19044 VERSION!$VERSION$ac_delim
19045 ACLOCAL!$ACLOCAL$ac_delim
19046 AUTOCONF!$AUTOCONF$ac_delim
19047 AUTOMAKE!$AUTOMAKE$ac_delim
19048 AUTOHEADER!$AUTOHEADER$ac_delim
19049 MAKEINFO!$MAKEINFO$ac_delim
19050 install_sh!$install_sh$ac_delim
19051 STRIP!$STRIP$ac_delim
19052 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
19053 mkdir_p!$mkdir_p$ac_delim
19055 SET_MAKE!$SET_MAKE$ac_delim
19056 am__leading_dot!$am__leading_dot$ac_delim
19057 AMTAR!$AMTAR$ac_delim
19058 am__tar!$am__tar$ac_delim
19059 am__untar!$am__untar$ac_delim
19060 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
19061 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
19062 MAINT!$MAINT$ac_delim
19064 CFLAGS!$CFLAGS$ac_delim
19065 LDFLAGS!$LDFLAGS$ac_delim
19066 CPPFLAGS!$CPPFLAGS$ac_delim
19067 ac_ct_CC!$ac_ct_CC$ac_delim
19068 EXEEXT!$EXEEXT$ac_delim
19069 OBJEXT!$OBJEXT$ac_delim
19070 DEPDIR!$DEPDIR$ac_delim
19071 am__include!$am__include$ac_delim
19072 am__quote!$am__quote$ac_delim
19073 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
19074 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
19075 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
19076 CCDEPMODE!$CCDEPMODE$ac_delim
19077 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
19078 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
19080 CXXFLAGS!$CXXFLAGS$ac_delim
19081 ac_ct_CXX!$ac_ct_CXX$ac_delim
19082 CXXDEPMODE!$CXXDEPMODE$ac_delim
19083 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
19084 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
19086 GREP!$GREP$ac_delim
19087 EGREP!$EGREP$ac_delim
19088 GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
19089 USE_NLS!$USE_NLS$ac_delim
19090 MSGFMT!$MSGFMT$ac_delim
19091 MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
19092 GMSGFMT!$GMSGFMT$ac_delim
19093 XGETTEXT!$XGETTEXT$ac_delim
19094 CATALOGS!$CATALOGS$ac_delim
19095 CATOBJEXT!$CATOBJEXT$ac_delim
19096 DATADIRNAME!$DATADIRNAME$ac_delim
19097 GMOFILES!$GMOFILES$ac_delim
19100 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
19102 elif $ac_last_try; then
19103 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
19104 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
19105 { (exit 1); exit 1; }; }
19107 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19111 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
19112 if test -n "$ac_eof"; then
19113 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
19114 ac_eof=`expr $ac_eof + 1`
19117 cat >>$CONFIG_STATUS <<_ACEOF
19118 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
19119 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19122 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
19123 s/^/s,@/; s/!/@,|#_!!_#|/
19126 s/'"$ac_delim"'$/,g/; t
19128 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
19129 ' >>$CONFIG_STATUS <conf$$subs.sed
19130 rm -f conf$$subs.sed
19131 cat >>$CONFIG_STATUS <<_ACEOF
19137 for ac_last_try in false false false false false :; do
19138 cat >conf$$subs.sed <<_ACEOF
19139 INSTOBJEXT!$INSTOBJEXT$ac_delim
19140 INTLLIBS!$INTLLIBS$ac_delim
19141 PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
19142 PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
19143 POFILES!$POFILES$ac_delim
19144 POSUB!$POSUB$ac_delim
19145 MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
19146 INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
19147 INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
19148 INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
19149 INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
19150 INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
19151 INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
19152 INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
19153 INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
19154 INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
19155 INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
19156 INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
19157 INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
19158 INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
19159 INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
19160 INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
19161 INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
19162 INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
19163 INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
19164 INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
19165 INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
19166 INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
19167 INTLTOOL_POLICY_RULE!$INTLTOOL_POLICY_RULE$ac_delim
19168 MSGMERGE!$MSGMERGE$ac_delim
19169 INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
19170 ALL_LINGUAS!$ALL_LINGUAS$ac_delim
19171 LIBTOOL!$LIBTOOL$ac_delim
19172 build!$build$ac_delim
19173 build_cpu!$build_cpu$ac_delim
19174 build_vendor!$build_vendor$ac_delim
19175 build_os!$build_os$ac_delim
19176 host!$host$ac_delim
19177 host_cpu!$host_cpu$ac_delim
19178 host_vendor!$host_vendor$ac_delim
19179 host_os!$host_os$ac_delim
19181 FGREP!$FGREP$ac_delim
19183 DUMPBIN!$DUMPBIN$ac_delim
19184 ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
19186 LN_S!$LN_S$ac_delim
19188 RANLIB!$RANLIB$ac_delim
19189 lt_ECHO!$lt_ECHO$ac_delim
19190 DSYMUTIL!$DSYMUTIL$ac_delim
19191 NMEDIT!$NMEDIT$ac_delim
19192 LIPO!$LIPO$ac_delim
19193 OTOOL!$OTOOL$ac_delim
19194 OTOOL64!$OTOOL64$ac_delim
19195 CXXCPP!$CXXCPP$ac_delim
19196 LIBOBJS!$LIBOBJS$ac_delim
19197 LTLIBOBJS!$LTLIBOBJS$ac_delim
19200 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 59; then
19202 elif $ac_last_try; then
19203 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
19204 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
19205 { (exit 1); exit 1; }; }
19207 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19211 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
19212 if test -n "$ac_eof"; then
19213 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
19214 ac_eof=`expr $ac_eof + 1`
19217 cat >>$CONFIG_STATUS <<_ACEOF
19218 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
19219 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
19222 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
19223 s/^/s,@/; s/!/@,|#_!!_#|/
19226 s/'"$ac_delim"'$/,g/; t
19228 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
19229 ' >>$CONFIG_STATUS <conf$$subs.sed
19230 rm -f conf$$subs.sed
19231 cat >>$CONFIG_STATUS <<_ACEOF
19238 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19239 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19240 # trailing colons and then remove the whole line if VPATH becomes empty
19241 # (actually we leave an empty line to preserve line numbers).
19242 if test "x$srcdir" = x.; then
19243 ac_vpsub='/^[ ]*VPATH[ ]*=/{
19244 s/:*\$(srcdir):*/:/
19245 s/:*\${srcdir}:*/:/
19247 s/^\([^=]*=[ ]*\):*/\1/
19253 cat >>$CONFIG_STATUS <<\_ACEOF
19254 fi # test -n "$CONFIG_FILES"
19257 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
19260 :[FHLC]) ac_mode=$ac_tag; continue;;
19262 case $ac_mode$ac_tag in
19264 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
19265 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
19266 { (exit 1); exit 1; }; };;
19267 :[FH]-) ac_tag=-:-;;
19268 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19285 -) ac_f="$tmp/stdin";;
19286 *) # Look for the file first in the build tree, then in the source tree
19287 # (if the path is not absolute). The absolute path cannot be DOS-style,
19288 # because $ac_f cannot contain `:'.
19292 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19294 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
19295 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
19296 { (exit 1); exit 1; }; };;
19298 ac_file_inputs="$ac_file_inputs $ac_f"
19301 # Let's still pretend it is `configure' which instantiates (i.e., don't
19302 # use $as_me), people would be surprised to read:
19303 # /* config.h. Generated by config.status. */
19304 configure_input="Generated from "`IFS=:
19305 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
19306 if test x"$ac_file" != x-; then
19307 configure_input="$ac_file. $configure_input"
19308 { echo "$as_me:$LINENO: creating $ac_file" >&5
19309 echo "$as_me: creating $ac_file" >&6;}
19313 *:-:* | *:-) cat >"$tmp/stdin";;
19318 ac_dir=`$as_dirname -- "$ac_file" ||
19319 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19320 X"$ac_file" : 'X\(//\)[^/]' \| \
19321 X"$ac_file" : 'X\(//\)$' \| \
19322 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19328 /^X\(\/\/\)[^/].*/{
19343 -*) as_dir=./$as_dir;;
19345 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
19349 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
19350 *) as_qdir=$as_dir;;
19352 as_dirs="'$as_qdir' $as_dirs"
19353 as_dir=`$as_dirname -- "$as_dir" ||
19354 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19355 X"$as_dir" : 'X\(//\)[^/]' \| \
19356 X"$as_dir" : 'X\(//\)$' \| \
19357 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19359 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19363 /^X\(\/\/\)[^/].*/{
19376 test -d "$as_dir" && break
19378 test -z "$as_dirs" || eval "mkdir $as_dirs"
19379 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
19380 echo "$as_me: error: cannot create directory $as_dir" >&2;}
19381 { (exit 1); exit 1; }; }; }
19385 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19387 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
19388 # A ".." for each directory in $ac_dir_suffix.
19389 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
19390 case $ac_top_builddir_sub in
19391 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19392 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19395 ac_abs_top_builddir=$ac_pwd
19396 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19397 # for backward compatibility:
19398 ac_top_builddir=$ac_top_build_prefix
19401 .) # We are building in place.
19403 ac_top_srcdir=$ac_top_builddir_sub
19404 ac_abs_top_srcdir=$ac_pwd ;;
19405 [\\/]* | ?:[\\/]* ) # Absolute name.
19406 ac_srcdir=$srcdir$ac_dir_suffix;
19407 ac_top_srcdir=$srcdir
19408 ac_abs_top_srcdir=$srcdir ;;
19409 *) # Relative name.
19410 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19411 ac_top_srcdir=$ac_top_build_prefix$srcdir
19412 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19414 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19424 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19425 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19427 ac_MKDIR_P=$MKDIR_P
19429 [\\/$]* | ?:[\\/]* ) ;;
19430 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19434 cat >>$CONFIG_STATUS <<\_ACEOF
19435 # If the template does not know about datarootdir, expand it.
19436 # FIXME: This hack should be removed a few years after 2.60.
19437 ac_datarootdir_hack=; ac_datarootdir_seen=
19439 case `sed -n '/datarootdir/ {
19448 ' $ac_file_inputs` in
19449 *datarootdir*) ac_datarootdir_seen=yes;;
19450 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19451 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19452 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19454 cat >>$CONFIG_STATUS <<_ACEOF
19455 ac_datarootdir_hack='
19456 s&@datadir@&$datadir&g
19457 s&@docdir@&$docdir&g
19458 s&@infodir@&$infodir&g
19459 s&@localedir@&$localedir&g
19460 s&@mandir@&$mandir&g
19461 s&\\\${datarootdir}&$datarootdir&g' ;;
19465 # Neutralize VPATH when `$srcdir' = `.'.
19466 # Shell code in configure.ac might set extrasub.
19467 # FIXME: do we really want to maintain this feature?
19468 cat >>$CONFIG_STATUS <<_ACEOF
19472 cat >>$CONFIG_STATUS <<\_ACEOF
19474 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19475 s&@configure_input@&$configure_input&;t t
19476 s&@top_builddir@&$ac_top_builddir_sub&;t t
19477 s&@srcdir@&$ac_srcdir&;t t
19478 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19479 s&@top_srcdir@&$ac_top_srcdir&;t t
19480 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19481 s&@builddir@&$ac_builddir&;t t
19482 s&@abs_builddir@&$ac_abs_builddir&;t t
19483 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19484 s&@INSTALL@&$ac_INSTALL&;t t
19485 s&@MKDIR_P@&$ac_MKDIR_P&;t t
19486 $ac_datarootdir_hack
19487 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
19489 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19490 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
19491 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
19492 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19493 which seems to be undefined. Please make sure it is defined." >&5
19494 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19495 which seems to be undefined. Please make sure it is defined." >&2;}
19499 -) cat "$tmp/out"; rm -f "$tmp/out";;
19500 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
19509 # Transform confdefs.h into a sed script `conftest.defines', that
19510 # substitutes the proper values into config.h.in to produce config.h.
19511 rm -f conftest.defines conftest.tail
19512 # First, append a space to every undef/define line, to ease matching.
19513 echo 's/$/ /' >conftest.defines
19514 # Then, protect against being on the right side of a sed subst, or in
19515 # an unquoted here document, in config.status. If some macros were
19516 # called several times there might be several #defines for the same
19517 # symbol, which is useless. But do not sort them, since the last
19518 # AC_DEFINE must be honored.
19519 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19520 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
19521 # NAME is the cpp macro being defined, VALUE is the value it is being given.
19522 # PARAMS is the parameter list in the macro definition--in most cases, it's
19523 # just an empty string.
19524 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
19525 ac_dB='\\)[ (].*,\\1define\\2'
19533 s/^[ ]*#[ ]*define[ ][ ]*//
19538 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
19539 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
19540 ' >>conftest.defines
19542 # Remove the space that was appended to ease matching.
19543 # Then replace #undef with comments. This is necessary, for
19544 # example, in the case of _POSIX_SOURCE, which is predefined and required
19545 # on some systems where configure will not decide to define it.
19546 # (The regexp can be short, since the line contains either #define or #undef.)
19548 s,^[ #]*u.*,/* & */,' >>conftest.defines
19550 # Break up conftest.defines:
19551 ac_max_sed_lines=50
19553 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
19554 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
19555 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
19557 ac_in='$ac_file_inputs'
19558 ac_out='"$tmp/out1"'
19559 ac_nxt='"$tmp/out2"'
19563 # Write a here document:
19564 cat >>$CONFIG_STATUS <<_ACEOF
19565 # First, check the format of the line:
19566 cat >"\$tmp/defines.sed" <<\\CEOF
19567 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
19568 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
19572 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
19574 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
19575 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
19576 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
19577 grep . conftest.tail >/dev/null || break
19578 rm -f conftest.defines
19579 mv conftest.tail conftest.defines
19581 rm -f conftest.defines conftest.tail
19583 echo "ac_result=$ac_in" >>$CONFIG_STATUS
19584 cat >>$CONFIG_STATUS <<\_ACEOF
19585 if test x"$ac_file" != x-; then
19586 echo "/* $configure_input */" >"$tmp/config.h"
19587 cat "$ac_result" >>"$tmp/config.h"
19588 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
19589 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
19590 echo "$as_me: $ac_file is unchanged" >&6;}
19593 mv "$tmp/config.h" $ac_file
19596 echo "/* $configure_input */"
19600 # Compute $ac_file's index in $config_headers.
19603 for _am_header in $config_headers :; do
19604 case $_am_header in
19605 $_am_arg | $_am_arg:* )
19608 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19611 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19612 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19613 X"$_am_arg" : 'X\(//\)[^/]' \| \
19614 X"$_am_arg" : 'X\(//\)$' \| \
19615 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19617 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19621 /^X\(\/\/\)[^/].*/{
19633 s/.*/./; q'`/stamp-h$_am_stamp_count
19636 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
19637 echo "$as_me: executing $ac_file commands" >&6;}
19642 case $ac_file$ac_mode in
19643 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
19644 # Strip MF so we end up with the name of the file.
19645 mf=`echo "$mf" | sed -e 's/:.*$//'`
19646 # Check whether this is an Automake generated Makefile or not.
19647 # We used to match only the files named `Makefile.in', but
19648 # some people rename them; so instead we look at the file content.
19649 # Grep'ing the first line is not enough: some people post-process
19650 # each Makefile.in and add a new line on top of each file to say so.
19651 # Grep'ing the whole file is not good either: AIX grep has a line
19652 # limit of 2048, but all sed's we know have understand at least 4000.
19653 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
19654 dirpart=`$as_dirname -- "$mf" ||
19655 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19656 X"$mf" : 'X\(//\)[^/]' \| \
19657 X"$mf" : 'X\(//\)$' \| \
19658 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19660 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19664 /^X\(\/\/\)[^/].*/{
19680 # Extract the definition of DEPDIR, am__include, and am__quote
19681 # from the Makefile without running `make'.
19682 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
19683 test -z "$DEPDIR" && continue
19684 am__include=`sed -n 's/^am__include = //p' < "$mf"`
19685 test -z "am__include" && continue
19686 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
19687 # When using ansi2knr, U may be empty or an underscore; expand it
19688 U=`sed -n 's/^U = //p' < "$mf"`
19689 # Find all dependency output files, they are included files with
19690 # $(DEPDIR) in their names. We invoke sed twice because it is the
19691 # simplest approach to changing $(DEPDIR) to its actual value in the
19693 for file in `sed -n "
19694 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19695 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
19696 # Make sure the directory exists.
19697 test -f "$dirpart/$file" && continue
19698 fdir=`$as_dirname -- "$file" ||
19699 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19700 X"$file" : 'X\(//\)[^/]' \| \
19701 X"$file" : 'X\(//\)$' \| \
19702 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19704 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19708 /^X\(\/\/\)[^/].*/{
19721 { as_dir=$dirpart/$fdir
19723 -*) as_dir=./$as_dir;;
19725 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
19729 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
19730 *) as_qdir=$as_dir;;
19732 as_dirs="'$as_qdir' $as_dirs"
19733 as_dir=`$as_dirname -- "$as_dir" ||
19734 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19735 X"$as_dir" : 'X\(//\)[^/]' \| \
19736 X"$as_dir" : 'X\(//\)$' \| \
19737 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19739 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19743 /^X\(\/\/\)[^/].*/{
19756 test -d "$as_dir" && break
19758 test -z "$as_dirs" || eval "mkdir $as_dirs"
19759 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
19760 echo "$as_me: error: cannot create directory $as_dir" >&2;}
19761 { (exit 1); exit 1; }; }; }
19762 # echo "creating $dirpart/$file"
19763 echo '# dummy' > "$dirpart/$file"
19767 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
19768 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
19772 # See if we are running on zsh, and set the options which allow our
19773 # commands through without removal of \ escapes.
19774 if test -n "${ZSH_VERSION+set}" ; then
19775 setopt NO_GLOB_SUBST
19778 cfgfile="${ofile}T"
19779 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19782 cat <<_LT_EOF >> "$cfgfile"
19785 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19786 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19787 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19788 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19790 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19791 # 2006, 2007, 2008 Free Software Foundation, Inc.
19792 # Written by Gordon Matzigkeit, 1996
19794 # This file is part of GNU Libtool.
19796 # GNU Libtool is free software; you can redistribute it and/or
19797 # modify it under the terms of the GNU General Public License as
19798 # published by the Free Software Foundation; either version 2 of
19799 # the License, or (at your option) any later version.
19801 # As a special exception to the GNU General Public License,
19802 # if you distribute this file as part of a program or library that
19803 # is built using GNU Libtool, you may include this file under the
19804 # same distribution terms that you use for the rest of that program.
19806 # GNU Libtool is distributed in the hope that it will be useful,
19807 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19808 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19809 # GNU General Public License for more details.
19811 # You should have received a copy of the GNU General Public License
19812 # along with GNU Libtool; see the file COPYING. If not, a copy
19813 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19814 # obtained by writing to the Free Software Foundation, Inc.,
19815 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19818 # The names of the tagged configurations supported by this script.
19819 available_tags="CXX "
19821 # ### BEGIN LIBTOOL CONFIG
19823 # Which release of libtool.m4 was used?
19824 macro_version=$macro_version
19825 macro_revision=$macro_revision
19827 # Whether or not to build shared libraries.
19828 build_libtool_libs=$enable_shared
19830 # Whether or not to build static libraries.
19831 build_old_libs=$enable_static
19833 # What type of objects to build.
19836 # Whether or not to optimize for fast installation.
19837 fast_install=$enable_fast_install
19840 host_alias=$host_alias
19844 # The build system.
19845 build_alias=$build_alias
19849 # A sed program that does not truncate output.
19852 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19853 Xsed="\$SED -e 1s/^X//"
19855 # A grep program that handles long lines.
19861 # A literal string matcher.
19864 # A BSD- or MS-compatible name lister.
19867 # Whether we need soft or hard links.
19870 # What is the maximum length of a command?
19871 max_cmd_len=$max_cmd_len
19873 # Object file suffix (normally "o").
19876 # Executable file suffix (normally "").
19879 # whether the shell understands "unset".
19882 # turn spaces into newlines.
19885 # turn newlines into spaces.
19888 # How to create reloadable object files.
19889 reload_flag=$lt_reload_flag
19890 reload_cmds=$lt_reload_cmds
19892 # Method to check whether dependent libraries are shared objects.
19893 deplibs_check_method=$lt_deplibs_check_method
19895 # Command to use when deplibs_check_method == "file_magic".
19896 file_magic_cmd=$lt_file_magic_cmd
19900 AR_FLAGS=$lt_AR_FLAGS
19902 # A symbol stripping program.
19905 # Commands used to install an old-style archive.
19907 old_postinstall_cmds=$lt_old_postinstall_cmds
19908 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19913 # LTCC compiler flags.
19914 LTCFLAGS=$lt_CFLAGS
19916 # Take the output of nm and produce a listing of raw symbols and C names.
19917 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19919 # Transform the output of nm in a proper C declaration.
19920 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19922 # Transform the output of nm in a C name address pair.
19923 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19925 # Transform the output of nm in a C name address pair when lib prefix is needed.
19926 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19928 # The name of the directory that contains temporary libtool files.
19931 # Shell to use when invoking shell scripts.
19934 # An echo program that does not interpret backslashes.
19937 # Used to examine libraries when file_magic_cmd begins with "file".
19938 MAGIC_CMD=$MAGIC_CMD
19940 # Must we lock files when doing compilation?
19941 need_locks=$lt_need_locks
19943 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19944 DSYMUTIL=$lt_DSYMUTIL
19946 # Tool to change global to local symbols on Mac OS X.
19949 # Tool to manipulate fat objects and archives on Mac OS X.
19952 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19955 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19956 OTOOL64=$lt_OTOOL64
19958 # Old archive suffix (normally "a").
19961 # Shared library suffix (normally ".so").
19962 shrext_cmds=$lt_shrext_cmds
19964 # The commands to extract the exported symbol list from a shared archive.
19965 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19967 # Variables whose values should be saved in libtool wrapper scripts and
19968 # restored at link time.
19969 variables_saved_for_relink=$lt_variables_saved_for_relink
19971 # Do we need the "lib" prefix for modules?
19972 need_lib_prefix=$need_lib_prefix
19974 # Do we need a version for libraries?
19975 need_version=$need_version
19977 # Library versioning type.
19978 version_type=$version_type
19980 # Shared library runtime path variable.
19981 runpath_var=$runpath_var
19983 # Shared library path variable.
19984 shlibpath_var=$shlibpath_var
19986 # Is shlibpath searched before the hard-coded library search path?
19987 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19989 # Format of library name prefix.
19990 libname_spec=$lt_libname_spec
19992 # List of archive names. First name is the real one, the rest are links.
19993 # The last name is the one that the linker finds with -lNAME
19994 library_names_spec=$lt_library_names_spec
19996 # The coded name of the library, if different from the real name.
19997 soname_spec=$lt_soname_spec
19999 # Command to use after installation of a shared archive.
20000 postinstall_cmds=$lt_postinstall_cmds
20002 # Command to use after uninstallation of a shared archive.
20003 postuninstall_cmds=$lt_postuninstall_cmds
20005 # Commands used to finish a libtool library installation in a directory.
20006 finish_cmds=$lt_finish_cmds
20008 # As "finish_cmds", except a single script fragment to be evaled but
20010 finish_eval=$lt_finish_eval
20012 # Whether we should hardcode library paths into libraries.
20013 hardcode_into_libs=$hardcode_into_libs
20015 # Compile-time system search path for libraries.
20016 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20018 # Run-time system search path for libraries.
20019 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20021 # Whether dlopen is supported.
20022 dlopen_support=$enable_dlopen
20024 # Whether dlopen of programs is supported.
20025 dlopen_self=$enable_dlopen_self
20027 # Whether dlopen of statically linked programs is supported.
20028 dlopen_self_static=$enable_dlopen_self_static
20030 # Commands to strip libraries.
20031 old_striplib=$lt_old_striplib
20032 striplib=$lt_striplib
20035 # The linker used to build libraries.
20038 # Commands used to build an old-style archive.
20039 old_archive_cmds=$lt_old_archive_cmds
20041 # A language specific compiler.
20044 # Is the compiler the GNU compiler?
20047 # Compiler flag to turn off builtin functions.
20048 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20050 # How to pass a linker flag through the compiler.
20051 wl=$lt_lt_prog_compiler_wl
20053 # Additional compiler flags for building library objects.
20054 pic_flag=$lt_lt_prog_compiler_pic
20056 # Compiler flag to prevent dynamic linking.
20057 link_static_flag=$lt_lt_prog_compiler_static
20059 # Does compiler simultaneously support -c and -o options?
20060 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20062 # Whether or not to add -lc for building shared libraries.
20063 build_libtool_need_lc=$archive_cmds_need_lc
20065 # Whether or not to disallow shared libs when runtime libs are static.
20066 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20068 # Compiler flag to allow reflexive dlopens.
20069 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20071 # Compiler flag to generate shared objects directly from archives.
20072 whole_archive_flag_spec=$lt_whole_archive_flag_spec
20074 # Whether the compiler copes with passing no objects directly.
20075 compiler_needs_object=$lt_compiler_needs_object
20077 # Create an old-style archive from a shared archive.
20078 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20080 # Create a temporary old-style archive to link instead of a shared archive.
20081 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20083 # Commands used to build a shared archive.
20084 archive_cmds=$lt_archive_cmds
20085 archive_expsym_cmds=$lt_archive_expsym_cmds
20087 # Commands used to build a loadable module if different from building
20088 # a shared archive.
20089 module_cmds=$lt_module_cmds
20090 module_expsym_cmds=$lt_module_expsym_cmds
20092 # Whether we are building with GNU ld or not.
20093 with_gnu_ld=$lt_with_gnu_ld
20095 # Flag that allows shared libraries with undefined symbols to be built.
20096 allow_undefined_flag=$lt_allow_undefined_flag
20098 # Flag that enforces no undefined symbols.
20099 no_undefined_flag=$lt_no_undefined_flag
20101 # Flag to hardcode \$libdir into a binary during linking.
20102 # This must work even if \$libdir does not exist
20103 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20105 # If ld is used when linking, flag to hardcode \$libdir into a binary
20106 # during linking. This must work even if \$libdir does not exist.
20107 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
20109 # Whether we need a single "-rpath" flag with a separated argument.
20110 hardcode_libdir_separator=$lt_hardcode_libdir_separator
20112 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20113 # DIR into the resulting binary.
20114 hardcode_direct=$hardcode_direct
20116 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20117 # DIR into the resulting binary and the resulting library dependency is
20118 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20119 # library is relocated.
20120 hardcode_direct_absolute=$hardcode_direct_absolute
20122 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20123 # into the resulting binary.
20124 hardcode_minus_L=$hardcode_minus_L
20126 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20127 # into the resulting binary.
20128 hardcode_shlibpath_var=$hardcode_shlibpath_var
20130 # Set to "yes" if building a shared library automatically hardcodes DIR
20131 # into the library and all subsequent libraries and executables linked
20133 hardcode_automatic=$hardcode_automatic
20135 # Set to yes if linker adds runtime paths of dependent libraries
20136 # to runtime path list.
20137 inherit_rpath=$inherit_rpath
20139 # Whether libtool must link a program against all its dependency libraries.
20140 link_all_deplibs=$link_all_deplibs
20142 # Fix the shell variable \$srcfile for the compiler.
20143 fix_srcfile_path=$lt_fix_srcfile_path
20145 # Set to "yes" if exported symbols are required.
20146 always_export_symbols=$always_export_symbols
20148 # The commands to list exported symbols.
20149 export_symbols_cmds=$lt_export_symbols_cmds
20151 # Symbols that should not be listed in the preloaded symbols.
20152 exclude_expsyms=$lt_exclude_expsyms
20154 # Symbols that must always be exported.
20155 include_expsyms=$lt_include_expsyms
20157 # Commands necessary for linking programs (against libraries) with templates.
20158 prelink_cmds=$lt_prelink_cmds
20160 # Specify filename containing input files.
20161 file_list_spec=$lt_file_list_spec
20163 # How to hardcode a shared library path into an executable.
20164 hardcode_action=$hardcode_action
20166 # The directories searched by this compiler when creating a shared library.
20167 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
20169 # Dependencies to place before and after the objects being linked to
20170 # create a shared library.
20171 predep_objects=$lt_predep_objects
20172 postdep_objects=$lt_postdep_objects
20173 predeps=$lt_predeps
20174 postdeps=$lt_postdeps
20176 # The library search path used internally by the compiler when linking
20177 # a shared library.
20178 compiler_lib_search_path=$lt_compiler_lib_search_path
20180 # ### END LIBTOOL CONFIG
20186 cat <<\_LT_EOF >> "$cfgfile"
20187 # AIX sometimes has problems with the GCC collect2 program. For some
20188 # reason, if we set the COLLECT_NAMES environment variable, the problems
20189 # vanish in a puff of smoke.
20190 if test "X${COLLECT_NAMES+set}" != Xset; then
20192 export COLLECT_NAMES
20199 ltmain="$ac_aux_dir/ltmain.sh"
20202 # We use sed instead of cat because bash on DJGPP gets confused if
20203 # if finds mixed CR/LF and LF-only lines. Since sed operates in
20204 # text mode, it properly converts lines to CR/LF. This bash problem
20205 # is reportedly fixed, but why not run on old versions too?
20206 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
20207 || (rm -f "$cfgfile"; exit 1)
20211 cat << \_LT_EOF >> "$cfgfile"
20213 # func_dirname file append nondir_replacement
20214 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
20215 # otherwise set result to NONDIR_REPLACEMENT.
20219 */*) func_dirname_result="${1%/*}${2}" ;;
20220 * ) func_dirname_result="${3}" ;;
20224 # func_basename file
20227 func_basename_result="${1##*/}"
20230 # func_dirname_and_basename file append nondir_replacement
20231 # perform func_basename and func_dirname in a single function
20233 # dirname: Compute the dirname of FILE. If nonempty,
20234 # add APPEND to the result, otherwise set result
20235 # to NONDIR_REPLACEMENT.
20236 # value returned in "$func_dirname_result"
20237 # basename: Compute filename of FILE.
20238 # value retuned in "$func_basename_result"
20239 # Implementation must be kept synchronized with func_dirname
20240 # and func_basename. For efficiency, we do not delegate to
20241 # those functions but instead duplicate the functionality here.
20242 func_dirname_and_basename ()
20245 */*) func_dirname_result="${1%/*}${2}" ;;
20246 * ) func_dirname_result="${3}" ;;
20248 func_basename_result="${1##*/}"
20251 # func_stripname prefix suffix name
20252 # strip PREFIX and SUFFIX off of NAME.
20253 # PREFIX and SUFFIX must not contain globbing or regex special
20254 # characters, hashes, percent signs, but SUFFIX may contain a leading
20255 # dot (in which case that matches only a dot).
20258 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
20259 # positional parameters, so assign one to ordinary parameter first.
20260 func_stripname_result=${3}
20261 func_stripname_result=${func_stripname_result#"${1}"}
20262 func_stripname_result=${func_stripname_result%"${2}"}
20268 func_opt_split_opt=${1%%=*}
20269 func_opt_split_arg=${1#*=}
20276 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
20277 *) func_lo2o_result=${1} ;;
20281 # func_xform libobj-or-source
20284 func_xform_result=${1%.*}.lo
20287 # func_arith arithmetic-term...
20290 func_arith_result=$(( $* ))
20294 # STRING may not start with a hyphen.
20297 func_len_result=${#1}
20302 *) # Bourne compatible functions.
20303 cat << \_LT_EOF >> "$cfgfile"
20305 # func_dirname file append nondir_replacement
20306 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
20307 # otherwise set result to NONDIR_REPLACEMENT.
20310 # Extract subdirectory from the argument.
20311 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
20312 if test "X$func_dirname_result" = "X${1}"; then
20313 func_dirname_result="${3}"
20315 func_dirname_result="$func_dirname_result${2}"
20319 # func_basename file
20322 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
20326 # func_stripname prefix suffix name
20327 # strip PREFIX and SUFFIX off of NAME.
20328 # PREFIX and SUFFIX must not contain globbing or regex special
20329 # characters, hashes, percent signs, but SUFFIX may contain a leading
20330 # dot (in which case that matches only a dot).
20331 # func_strip_suffix prefix name
20335 .*) func_stripname_result=`$ECHO "X${3}" \
20336 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
20337 *) func_stripname_result=`$ECHO "X${3}" \
20338 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
20343 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
20344 my_sed_long_arg='1s/^-[^=]*=//'
20349 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
20350 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
20356 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
20359 # func_xform libobj-or-source
20362 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
20365 # func_arith arithmetic-term...
20368 func_arith_result=`expr "$@"`
20372 # STRING may not start with a hyphen.
20375 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
20381 case $lt_shell_append in
20383 cat << \_LT_EOF >> "$cfgfile"
20385 # func_append var value
20386 # Append VALUE to the end of shell variable VAR.
20394 cat << \_LT_EOF >> "$cfgfile"
20396 # func_append var value
20397 # Append VALUE to the end of shell variable VAR.
20408 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
20409 || (rm -f "$cfgfile"; exit 1)
20411 mv -f "$cfgfile" "$ofile" ||
20412 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20416 cat <<_LT_EOF >> "$ofile"
20418 # ### BEGIN LIBTOOL TAG CONFIG: CXX
20420 # The linker used to build libraries.
20423 # Commands used to build an old-style archive.
20424 old_archive_cmds=$lt_old_archive_cmds_CXX
20426 # A language specific compiler.
20427 CC=$lt_compiler_CXX
20429 # Is the compiler the GNU compiler?
20432 # Compiler flag to turn off builtin functions.
20433 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20435 # How to pass a linker flag through the compiler.
20436 wl=$lt_lt_prog_compiler_wl_CXX
20438 # Additional compiler flags for building library objects.
20439 pic_flag=$lt_lt_prog_compiler_pic_CXX
20441 # Compiler flag to prevent dynamic linking.
20442 link_static_flag=$lt_lt_prog_compiler_static_CXX
20444 # Does compiler simultaneously support -c and -o options?
20445 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20447 # Whether or not to add -lc for building shared libraries.
20448 build_libtool_need_lc=$archive_cmds_need_lc_CXX
20450 # Whether or not to disallow shared libs when runtime libs are static.
20451 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20453 # Compiler flag to allow reflexive dlopens.
20454 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20456 # Compiler flag to generate shared objects directly from archives.
20457 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20459 # Whether the compiler copes with passing no objects directly.
20460 compiler_needs_object=$lt_compiler_needs_object_CXX
20462 # Create an old-style archive from a shared archive.
20463 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20465 # Create a temporary old-style archive to link instead of a shared archive.
20466 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20468 # Commands used to build a shared archive.
20469 archive_cmds=$lt_archive_cmds_CXX
20470 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20472 # Commands used to build a loadable module if different from building
20473 # a shared archive.
20474 module_cmds=$lt_module_cmds_CXX
20475 module_expsym_cmds=$lt_module_expsym_cmds_CXX
20477 # Whether we are building with GNU ld or not.
20478 with_gnu_ld=$lt_with_gnu_ld_CXX
20480 # Flag that allows shared libraries with undefined symbols to be built.
20481 allow_undefined_flag=$lt_allow_undefined_flag_CXX
20483 # Flag that enforces no undefined symbols.
20484 no_undefined_flag=$lt_no_undefined_flag_CXX
20486 # Flag to hardcode \$libdir into a binary during linking.
20487 # This must work even if \$libdir does not exist
20488 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20490 # If ld is used when linking, flag to hardcode \$libdir into a binary
20491 # during linking. This must work even if \$libdir does not exist.
20492 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
20494 # Whether we need a single "-rpath" flag with a separated argument.
20495 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20497 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20498 # DIR into the resulting binary.
20499 hardcode_direct=$hardcode_direct_CXX
20501 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20502 # DIR into the resulting binary and the resulting library dependency is
20503 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20504 # library is relocated.
20505 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
20507 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20508 # into the resulting binary.
20509 hardcode_minus_L=$hardcode_minus_L_CXX
20511 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20512 # into the resulting binary.
20513 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20515 # Set to "yes" if building a shared library automatically hardcodes DIR
20516 # into the library and all subsequent libraries and executables linked
20518 hardcode_automatic=$hardcode_automatic_CXX
20520 # Set to yes if linker adds runtime paths of dependent libraries
20521 # to runtime path list.
20522 inherit_rpath=$inherit_rpath_CXX
20524 # Whether libtool must link a program against all its dependency libraries.
20525 link_all_deplibs=$link_all_deplibs_CXX
20527 # Fix the shell variable \$srcfile for the compiler.
20528 fix_srcfile_path=$lt_fix_srcfile_path_CXX
20530 # Set to "yes" if exported symbols are required.
20531 always_export_symbols=$always_export_symbols_CXX
20533 # The commands to list exported symbols.
20534 export_symbols_cmds=$lt_export_symbols_cmds_CXX
20536 # Symbols that should not be listed in the preloaded symbols.
20537 exclude_expsyms=$lt_exclude_expsyms_CXX
20539 # Symbols that must always be exported.
20540 include_expsyms=$lt_include_expsyms_CXX
20542 # Commands necessary for linking programs (against libraries) with templates.
20543 prelink_cmds=$lt_prelink_cmds_CXX
20545 # Specify filename containing input files.
20546 file_list_spec=$lt_file_list_spec_CXX
20548 # How to hardcode a shared library path into an executable.
20549 hardcode_action=$hardcode_action_CXX
20551 # The directories searched by this compiler when creating a shared library.
20552 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
20554 # Dependencies to place before and after the objects being linked to
20555 # create a shared library.
20556 predep_objects=$lt_predep_objects_CXX
20557 postdep_objects=$lt_postdep_objects_CXX
20558 predeps=$lt_predeps_CXX
20559 postdeps=$lt_postdeps_CXX
20561 # The library search path used internally by the compiler when linking
20562 # a shared library.
20563 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20565 # ### END LIBTOOL TAG CONFIG: CXX
20570 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" ; then
20571 { { echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
20572 echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
20573 { (exit 1); exit 1; }; }
20575 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
20580 '"s|^| $ac_top_srcdir/|" \
20581 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
20583 sed '/^POTFILES =/,/[^\\]$/ {
20587 ' "po/Makefile.in" >"po/Makefile"
20588 rm -f "po/Makefile.tmp"
20589 mv "po/stamp-it.tmp" "po/stamp-it"
20596 { (exit 0); exit 0; }
20598 chmod +x $CONFIG_STATUS
20599 ac_clean_files=$ac_clean_files_save
20602 # configure is writing to config.log, and then calls config.status.
20603 # config.status does its own redirection, appending to config.log.
20604 # Unfortunately, on DOS this fails, as config.log is still kept open
20605 # by configure, so config.status won't be able to write to it; its
20606 # output is simply discarded. So we exec the FD to /dev/null,
20607 # effectively closing config.log, so it can be properly (re)opened and
20608 # appended to by config.status. When coming back to configure, we
20609 # need to make the FD available again.
20610 if test "$no_create" != yes; then
20612 ac_config_status_args=
20613 test "$silent" = yes &&
20614 ac_config_status_args="$ac_config_status_args --quiet"
20616 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20618 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20619 # would make configure fail if this is the last instruction.
20620 $ac_cs_success || { (exit 1); exit 1; }