2 @%:@ Guess values for system-dependent variables and create Makefiles.
3 @%:@ Generated by GNU Autoconf 2.61 for opendashboard 0.0.0.
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 "$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 "$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 echo_test_string=`eval $cmd` &&
598 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
605 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
606 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
607 test "X$echo_testing_string" = "X$echo_test_string"; then
610 # The Solaris, AIX, and Digital Unix default echo programs unquote
611 # backslashes. This makes it impossible to quote backslashes using
612 # echo "$something" | sed 's/\\/\\\\/g'
614 # So, first we look for a working echo in the user's PATH.
616 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
617 for dir in $PATH /usr/ucb; do
619 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
620 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
621 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
622 test "X$echo_testing_string" = "X$echo_test_string"; then
629 if test "X$echo" = Xecho; then
630 # We didn't find a better echo, so look for alternatives.
631 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
632 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
633 test "X$echo_testing_string" = "X$echo_test_string"; then
634 # This shell has a builtin print -r that does the trick.
636 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
637 test "X$CONFIG_SHELL" != X/bin/ksh; then
638 # If we have ksh, try running configure again with it.
639 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
640 export ORIGINAL_CONFIG_SHELL
641 CONFIG_SHELL=/bin/ksh
643 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
647 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
648 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
649 test "X$echo_testing_string" = "X$echo_test_string"; then
652 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
653 test "X$echo_testing_string" = 'X\t' &&
654 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
655 test "X$echo_testing_string" = "X$echo_test_string"; then
656 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
658 SHELL="$CONFIG_SHELL"
660 echo="$CONFIG_SHELL $0 --fallback-echo"
661 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
662 test "X$echo_testing_string" = 'X\t' &&
663 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
664 test "X$echo_testing_string" = "X$echo_test_string"; then
665 echo="$CONFIG_SHELL $0 --fallback-echo"
667 # maybe with a smaller string...
670 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
671 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
678 if test "$prev" != 'sed 50q "$0"'; then
679 echo_test_string=`eval $prev`
680 export echo_test_string
681 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
683 # Oops. We lost completely, so just stick with echo.
692 # Copy echo and quote the copy suitably for passing to libtool from
693 # the Makefile, instead of quoting the original, which is used later.
695 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
696 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
702 tagnames=${tagnames+${tagnames},}CXX
704 tagnames=${tagnames+${tagnames},}F77
706 exec 7<&0 </dev/null 6>&1
709 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
710 # so uname gets run too.
711 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
716 ac_default_prefix=/usr/local
718 ac_config_libobj_dir=.
724 SHELL=${CONFIG_SHELL-/bin/sh}
726 # Identity of this package.
727 PACKAGE_NAME='opendashboard'
728 PACKAGE_TARNAME='opendashboard'
729 PACKAGE_VERSION='0.0.0'
730 PACKAGE_STRING='opendashboard 0.0.0'
733 # Factoring default headers for most tests.
734 ac_includes_default="\
736 #ifdef HAVE_SYS_TYPES_H
737 # include <sys/types.h>
739 #ifdef HAVE_SYS_STAT_H
740 # include <sys/stat.h>
746 # ifdef HAVE_STDLIB_H
751 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
756 #ifdef HAVE_STRINGS_H
757 # include <strings.h>
759 #ifdef HAVE_INTTYPES_H
760 # include <inttypes.h>
778 program_transform_name
820 INSTALL_STRIP_PROGRAM
829 MAINTAINER_MODE_FALSE
881 INTLTOOL_DESKTOP_RULE
882 INTLTOOL_DIRECTORY_RULE
889 INTLTOOL_SOUNDLIST_RULE
894 INTLTOOL_XML_NOMERGE_RULE
896 INTLTOOL_SCHEMAS_RULE
898 INTLTOOL_SERVICE_RULE
921 ac_precious_vars='build_alias
938 # Initialize some variables set by options.
940 ac_init_version=false
941 # The variables have the same names as the options, with
942 # dashes changed to underlines.
950 program_transform_name=s,x,x,
958 # Installation directory options.
959 # These are left unexpanded so users can "make install exec_prefix=/foo"
960 # and all the variables that are supposed to be based on exec_prefix
961 # by default will actually change.
962 # Use braces instead of parens because sh, perl, etc. also accept them.
963 # (The list follows the same order as the GNU Coding Standards.)
964 bindir='${exec_prefix}/bin'
965 sbindir='${exec_prefix}/sbin'
966 libexecdir='${exec_prefix}/libexec'
967 datarootdir='${prefix}/share'
968 datadir='${datarootdir}'
969 sysconfdir='${prefix}/etc'
970 sharedstatedir='${prefix}/com'
971 localstatedir='${prefix}/var'
972 includedir='${prefix}/include'
973 oldincludedir='/usr/include'
974 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
975 infodir='${datarootdir}/info'
980 libdir='${exec_prefix}/lib'
981 localedir='${datarootdir}/locale'
982 mandir='${datarootdir}/man'
988 # If the previous option needs an argument, assign it.
989 if test -n "$ac_prev"; then
990 eval $ac_prev=\$ac_option
996 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1000 # Accept the important Cygnus configure options, so we can diagnose typos.
1002 case $ac_dashdash$ac_option in
1006 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1008 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1009 bindir=$ac_optarg ;;
1011 -build | --build | --buil | --bui | --bu)
1012 ac_prev=build_alias ;;
1013 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1014 build_alias=$ac_optarg ;;
1016 -cache-file | --cache-file | --cache-fil | --cache-fi \
1017 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1018 ac_prev=cache_file ;;
1019 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1020 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1021 cache_file=$ac_optarg ;;
1023 --config-cache | -C)
1024 cache_file=config.cache ;;
1026 -datadir | --datadir | --datadi | --datad)
1028 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1029 datadir=$ac_optarg ;;
1031 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1032 | --dataroo | --dataro | --datar)
1033 ac_prev=datarootdir ;;
1034 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1035 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1036 datarootdir=$ac_optarg ;;
1038 -disable-* | --disable-*)
1039 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1040 # Reject names that are not valid shell variable names.
1041 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1042 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1043 { (exit 1); exit 1; }; }
1044 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1045 eval enable_$ac_feature=no ;;
1047 -docdir | --docdir | --docdi | --doc | --do)
1049 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1050 docdir=$ac_optarg ;;
1052 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1054 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1055 dvidir=$ac_optarg ;;
1057 -enable-* | --enable-*)
1058 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1059 # Reject names that are not valid shell variable names.
1060 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1061 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1062 { (exit 1); exit 1; }; }
1063 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1064 eval enable_$ac_feature=\$ac_optarg ;;
1066 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1067 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1068 | --exec | --exe | --ex)
1069 ac_prev=exec_prefix ;;
1070 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1071 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1072 | --exec=* | --exe=* | --ex=*)
1073 exec_prefix=$ac_optarg ;;
1075 -gas | --gas | --ga | --g)
1076 # Obsolete; use --with-gas.
1079 -help | --help | --hel | --he | -h)
1080 ac_init_help=long ;;
1081 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1082 ac_init_help=recursive ;;
1083 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1084 ac_init_help=short ;;
1086 -host | --host | --hos | --ho)
1087 ac_prev=host_alias ;;
1088 -host=* | --host=* | --hos=* | --ho=*)
1089 host_alias=$ac_optarg ;;
1091 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1093 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1095 htmldir=$ac_optarg ;;
1097 -includedir | --includedir | --includedi | --included | --include \
1098 | --includ | --inclu | --incl | --inc)
1099 ac_prev=includedir ;;
1100 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1101 | --includ=* | --inclu=* | --incl=* | --inc=*)
1102 includedir=$ac_optarg ;;
1104 -infodir | --infodir | --infodi | --infod | --info | --inf)
1106 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1107 infodir=$ac_optarg ;;
1109 -libdir | --libdir | --libdi | --libd)
1111 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1112 libdir=$ac_optarg ;;
1114 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1115 | --libexe | --libex | --libe)
1116 ac_prev=libexecdir ;;
1117 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1118 | --libexe=* | --libex=* | --libe=*)
1119 libexecdir=$ac_optarg ;;
1121 -localedir | --localedir | --localedi | --localed | --locale)
1122 ac_prev=localedir ;;
1123 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1124 localedir=$ac_optarg ;;
1126 -localstatedir | --localstatedir | --localstatedi | --localstated \
1127 | --localstate | --localstat | --localsta | --localst | --locals)
1128 ac_prev=localstatedir ;;
1129 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1130 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1131 localstatedir=$ac_optarg ;;
1133 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1135 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1136 mandir=$ac_optarg ;;
1138 -nfp | --nfp | --nf)
1139 # Obsolete; use --without-fp.
1142 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1143 | --no-cr | --no-c | -n)
1146 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1147 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1150 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1151 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1152 | --oldin | --oldi | --old | --ol | --o)
1153 ac_prev=oldincludedir ;;
1154 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1155 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1156 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1157 oldincludedir=$ac_optarg ;;
1159 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1161 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1162 prefix=$ac_optarg ;;
1164 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1165 | --program-pre | --program-pr | --program-p)
1166 ac_prev=program_prefix ;;
1167 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1168 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1169 program_prefix=$ac_optarg ;;
1171 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1172 | --program-suf | --program-su | --program-s)
1173 ac_prev=program_suffix ;;
1174 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1175 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1176 program_suffix=$ac_optarg ;;
1178 -program-transform-name | --program-transform-name \
1179 | --program-transform-nam | --program-transform-na \
1180 | --program-transform-n | --program-transform- \
1181 | --program-transform | --program-transfor \
1182 | --program-transfo | --program-transf \
1183 | --program-trans | --program-tran \
1184 | --progr-tra | --program-tr | --program-t)
1185 ac_prev=program_transform_name ;;
1186 -program-transform-name=* | --program-transform-name=* \
1187 | --program-transform-nam=* | --program-transform-na=* \
1188 | --program-transform-n=* | --program-transform-=* \
1189 | --program-transform=* | --program-transfor=* \
1190 | --program-transfo=* | --program-transf=* \
1191 | --program-trans=* | --program-tran=* \
1192 | --progr-tra=* | --program-tr=* | --program-t=*)
1193 program_transform_name=$ac_optarg ;;
1195 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1197 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1198 pdfdir=$ac_optarg ;;
1200 -psdir | --psdir | --psdi | --psd | --ps)
1202 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1205 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1206 | -silent | --silent | --silen | --sile | --sil)
1209 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1211 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1213 sbindir=$ac_optarg ;;
1215 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1216 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1217 | --sharedst | --shareds | --shared | --share | --shar \
1219 ac_prev=sharedstatedir ;;
1220 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1221 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1222 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1224 sharedstatedir=$ac_optarg ;;
1226 -site | --site | --sit)
1228 -site=* | --site=* | --sit=*)
1231 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1233 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1234 srcdir=$ac_optarg ;;
1236 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1237 | --syscon | --sysco | --sysc | --sys | --sy)
1238 ac_prev=sysconfdir ;;
1239 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1240 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1241 sysconfdir=$ac_optarg ;;
1243 -target | --target | --targe | --targ | --tar | --ta | --t)
1244 ac_prev=target_alias ;;
1245 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1246 target_alias=$ac_optarg ;;
1248 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1251 -version | --version | --versio | --versi | --vers | -V)
1252 ac_init_version=: ;;
1255 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1256 # Reject names that are not valid shell variable names.
1257 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1258 { echo "$as_me: error: invalid package name: $ac_package" >&2
1259 { (exit 1); exit 1; }; }
1260 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1261 eval with_$ac_package=\$ac_optarg ;;
1263 -without-* | --without-*)
1264 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1265 # Reject names that are not valid shell variable names.
1266 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1267 { echo "$as_me: error: invalid package name: $ac_package" >&2
1268 { (exit 1); exit 1; }; }
1269 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1270 eval with_$ac_package=no ;;
1273 # Obsolete; use --with-x.
1276 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1277 | --x-incl | --x-inc | --x-in | --x-i)
1278 ac_prev=x_includes ;;
1279 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1280 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1281 x_includes=$ac_optarg ;;
1283 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1284 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1285 ac_prev=x_libraries ;;
1286 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1287 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1288 x_libraries=$ac_optarg ;;
1290 -*) { echo "$as_me: error: unrecognized option: $ac_option
1291 Try \`$0 --help' for more information." >&2
1292 { (exit 1); exit 1; }; }
1296 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1297 # Reject names that are not valid shell variable names.
1298 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1299 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1300 { (exit 1); exit 1; }; }
1301 eval $ac_envvar=\$ac_optarg
1302 export $ac_envvar ;;
1305 # FIXME: should be removed in autoconf 3.0.
1306 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1307 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1308 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1309 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1315 if test -n "$ac_prev"; then
1316 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1317 { echo "$as_me: error: missing argument to $ac_option" >&2
1318 { (exit 1); exit 1; }; }
1321 # Be sure to have absolute directory names.
1322 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1323 datadir sysconfdir sharedstatedir localstatedir includedir \
1324 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1325 libdir localedir mandir
1327 eval ac_val=\$$ac_var
1329 [\\/$]* | ?:[\\/]* ) continue;;
1330 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1332 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1333 { (exit 1); exit 1; }; }
1336 # There might be people who depend on the old broken behavior: `$host'
1337 # used to hold the argument of --host etc.
1338 # FIXME: To remove some day.
1341 target=$target_alias
1343 # FIXME: To remove some day.
1344 if test "x$host_alias" != x; then
1345 if test "x$build_alias" = x; then
1346 cross_compiling=maybe
1347 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1348 If a cross compiler is detected then cross compile mode will be used." >&2
1349 elif test "x$build_alias" != "x$host_alias"; then
1355 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1357 test "$silent" = yes && exec 6>/dev/null
1360 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1361 ac_ls_di=`ls -di .` &&
1362 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1363 { echo "$as_me: error: Working directory cannot be determined" >&2
1364 { (exit 1); exit 1; }; }
1365 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1366 { echo "$as_me: error: pwd does not report name of working directory" >&2
1367 { (exit 1); exit 1; }; }
1370 # Find the source files, if location was not specified.
1371 if test -z "$srcdir"; then
1372 ac_srcdir_defaulted=yes
1373 # Try the directory containing this script, then the parent directory.
1374 ac_confdir=`$as_dirname -- "$0" ||
1375 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1376 X"$0" : 'X\(//\)[^/]' \| \
1377 X"$0" : 'X\(//\)$' \| \
1378 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1398 if test ! -r "$srcdir/$ac_unique_file"; then
1402 ac_srcdir_defaulted=no
1404 if test ! -r "$srcdir/$ac_unique_file"; then
1405 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1406 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1407 { (exit 1); exit 1; }; }
1409 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1411 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1412 { (exit 1); exit 1; }; }
1414 # When building in place, set srcdir=.
1415 if test "$ac_abs_confdir" = "$ac_pwd"; then
1418 # Remove unnecessary trailing slashes from srcdir.
1419 # Double slashes in file names in object file debugging info
1420 # mess up M-x gdb in Emacs.
1422 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1424 for ac_var in $ac_precious_vars; do
1425 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1426 eval ac_env_${ac_var}_value=\$${ac_var}
1427 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1428 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1432 # Report the --help message.
1434 if test "$ac_init_help" = "long"; then
1435 # Omit some internal or obsolete options to make the list less imposing.
1436 # This message is too long to be a string in the A/UX 3.1 sh.
1438 \`configure' configures opendashboard 0.0.0 to adapt to many kinds of systems.
1440 Usage: $0 [OPTION]... [VAR=VALUE]...
1442 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1443 VAR=VALUE. See below for descriptions of some of the useful variables.
1445 Defaults for the options are specified in brackets.
1448 -h, --help display this help and exit
1449 --help=short display options specific to this package
1450 --help=recursive display the short help of all the included packages
1451 -V, --version display version information and exit
1452 -q, --quiet, --silent do not print \`checking...' messages
1453 --cache-file=FILE cache test results in FILE [disabled]
1454 -C, --config-cache alias for \`--cache-file=config.cache'
1455 -n, --no-create do not create output files
1456 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1458 Installation directories:
1459 --prefix=PREFIX install architecture-independent files in PREFIX
1460 [$ac_default_prefix]
1461 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1464 By default, \`make install' will install all the files in
1465 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1466 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1467 for instance \`--prefix=\$HOME'.
1469 For better control, use the options below.
1471 Fine tuning of the installation directories:
1472 --bindir=DIR user executables [EPREFIX/bin]
1473 --sbindir=DIR system admin executables [EPREFIX/sbin]
1474 --libexecdir=DIR program executables [EPREFIX/libexec]
1475 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1476 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1477 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1478 --libdir=DIR object code libraries [EPREFIX/lib]
1479 --includedir=DIR C header files [PREFIX/include]
1480 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1481 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1482 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1483 --infodir=DIR info documentation [DATAROOTDIR/info]
1484 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1485 --mandir=DIR man documentation [DATAROOTDIR/man]
1486 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/opendashboard@:>@
1487 --htmldir=DIR html documentation [DOCDIR]
1488 --dvidir=DIR dvi documentation [DOCDIR]
1489 --pdfdir=DIR pdf documentation [DOCDIR]
1490 --psdir=DIR ps documentation [DOCDIR]
1496 --program-prefix=PREFIX prepend PREFIX to installed program names
1497 --program-suffix=SUFFIX append SUFFIX to installed program names
1498 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1501 --build=BUILD configure for building on BUILD [guessed]
1502 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1506 if test -n "$ac_init_help"; then
1507 case $ac_init_help in
1508 short | recursive ) echo "Configuration of opendashboard 0.0.0:";;
1513 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1514 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1515 --enable-maintainer-mode enable make rules and dependencies not useful
1516 (and sometimes confusing) to the casual installer
1517 --disable-dependency-tracking speeds up one-time build
1518 --enable-dependency-tracking do not reject slow dependency extractors
1519 --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
1520 --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@
1521 --enable-fast-install@<:@=PKGS@:>@
1522 optimize for fast installation @<:@default=yes@:>@
1523 --disable-libtool-lock avoid locking (might break parallel builds)
1526 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1527 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1528 --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
1529 --with-pic try to use only PIC/non-PIC objects @<:@default=use
1531 --with-tags@<:@=TAGS@:>@ include additional configurations @<:@automatic@:>@
1533 Some influential environment variables:
1534 CC C compiler command
1535 CFLAGS C compiler flags
1536 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1537 nonstandard directory <lib dir>
1538 LIBS libraries to pass to the linker, e.g. -l<library>
1539 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1540 you have headers in a nonstandard directory <include dir>
1541 CXX C++ compiler command
1542 CXXFLAGS C++ compiler flags
1544 CXXCPP C++ preprocessor
1545 F77 Fortran 77 compiler command
1546 FFLAGS Fortran 77 compiler flags
1548 Use these variables to override the choices made by `configure' or to help
1549 it to find libraries and programs with nonstandard names/locations.
1555 if test "$ac_init_help" = "recursive"; then
1556 # If there are subdirs, report their specific --help.
1557 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1558 test -d "$ac_dir" || continue
1562 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1564 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1565 # A ".." for each directory in $ac_dir_suffix.
1566 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1567 case $ac_top_builddir_sub in
1568 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1569 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1572 ac_abs_top_builddir=$ac_pwd
1573 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1574 # for backward compatibility:
1575 ac_top_builddir=$ac_top_build_prefix
1578 .) # We are building in place.
1580 ac_top_srcdir=$ac_top_builddir_sub
1581 ac_abs_top_srcdir=$ac_pwd ;;
1582 [\\/]* | ?:[\\/]* ) # Absolute name.
1583 ac_srcdir=$srcdir$ac_dir_suffix;
1584 ac_top_srcdir=$srcdir
1585 ac_abs_top_srcdir=$srcdir ;;
1587 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1588 ac_top_srcdir=$ac_top_build_prefix$srcdir
1589 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1591 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1593 cd "$ac_dir" || { ac_status=$?; continue; }
1594 # Check for guested configure.
1595 if test -f "$ac_srcdir/configure.gnu"; then
1597 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1598 elif test -f "$ac_srcdir/configure"; then
1600 $SHELL "$ac_srcdir/configure" --help=recursive
1602 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1604 cd "$ac_pwd" || { ac_status=$?; break; }
1608 test -n "$ac_init_help" && exit $ac_status
1609 if $ac_init_version; then
1611 opendashboard configure 0.0.0
1612 generated by GNU Autoconf 2.61
1614 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1615 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1616 This configure script is free software; the Free Software Foundation
1617 gives unlimited permission to copy, distribute and modify it.
1621 cat >config.log <<_ACEOF
1622 This file contains any messages produced by compilers while
1623 running configure, to aid debugging if configure makes a mistake.
1625 It was created by opendashboard $as_me 0.0.0, which was
1626 generated by GNU Autoconf 2.61. Invocation command line was
1634 @%:@@%:@ --------- @%:@@%:@
1635 @%:@@%:@ Platform. @%:@@%:@
1636 @%:@@%:@ --------- @%:@@%:@
1638 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1639 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1640 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1641 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1642 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1644 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1645 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1647 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1648 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1649 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1650 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1651 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1652 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1653 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1661 test -z "$as_dir" && as_dir=.
1662 echo "PATH: $as_dir"
1671 @%:@@%:@ ----------- @%:@@%:@
1672 @%:@@%:@ Core tests. @%:@@%:@
1673 @%:@@%:@ ----------- @%:@@%:@
1678 # Keep a trace of the command line.
1679 # Strip out --no-create and --no-recursion so they do not pile up.
1680 # Strip out --silent because we don't want to record it for future runs.
1681 # Also quote any args containing shell meta-characters.
1682 # Make two passes to allow for proper duplicate-argument suppression.
1686 ac_must_keep_next=false
1692 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1693 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1694 | -silent | --silent | --silen | --sile | --sil)
1697 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1700 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1702 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1703 if test $ac_must_keep_next = true; then
1704 ac_must_keep_next=false # Got value, back to normal.
1707 *=* | --config-cache | -C | -disable-* | --disable-* \
1708 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1709 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1710 | -with-* | --with-* | -without-* | --without-* | --x)
1711 case "$ac_configure_args0 " in
1712 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1715 -* ) ac_must_keep_next=true ;;
1718 ac_configure_args="$ac_configure_args '$ac_arg'"
1723 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1724 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1726 # When interrupted or exit'd, cleanup temporary files, and complete
1727 # config.log. We remove comments because anyway the quotes in there
1728 # would cause problems or look ugly.
1729 # WARNING: Use '\'' to represent an apostrophe within the trap.
1730 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1731 trap 'exit_status=$?
1732 # Save into config.log some information that might help in debugging.
1737 @%:@@%:@ ---------------- @%:@@%:@
1738 @%:@@%:@ Cache variables. @%:@@%:@
1739 @%:@@%:@ ---------------- @%:@@%:@
1742 # The following way of writing the cache mishandles newlines in values,
1744 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1745 eval ac_val=\$$ac_var
1749 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1750 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1753 _ | IFS | as_nl) ;; #(
1754 *) $as_unset $ac_var ;;
1759 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1760 *${as_nl}ac_space=\ *)
1762 "s/'\''/'\''\\\\'\'''\''/g;
1763 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1766 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1774 @%:@@%:@ ----------------- @%:@@%:@
1775 @%:@@%:@ Output variables. @%:@@%:@
1776 @%:@@%:@ ----------------- @%:@@%:@
1779 for ac_var in $ac_subst_vars
1781 eval ac_val=\$$ac_var
1783 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1785 echo "$ac_var='\''$ac_val'\''"
1789 if test -n "$ac_subst_files"; then
1791 @%:@@%:@ ------------------- @%:@@%:@
1792 @%:@@%:@ File substitutions. @%:@@%:@
1793 @%:@@%:@ ------------------- @%:@@%:@
1796 for ac_var in $ac_subst_files
1798 eval ac_val=\$$ac_var
1800 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1802 echo "$ac_var='\''$ac_val'\''"
1807 if test -s confdefs.h; then
1809 @%:@@%:@ ----------- @%:@@%:@
1810 @%:@@%:@ confdefs.h. @%:@@%:@
1811 @%:@@%:@ ----------- @%:@@%:@
1817 test "$ac_signal" != 0 &&
1818 echo "$as_me: caught signal $ac_signal"
1819 echo "$as_me: exit $exit_status"
1821 rm -f core *.core core.conftest.* &&
1822 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1825 for ac_signal in 1 2 13 15; do
1826 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1830 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1831 rm -f -r conftest* confdefs.h
1833 # Predefined preprocessor variables.
1835 cat >>confdefs.h <<_ACEOF
1836 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
1840 cat >>confdefs.h <<_ACEOF
1841 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1845 cat >>confdefs.h <<_ACEOF
1846 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1850 cat >>confdefs.h <<_ACEOF
1851 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
1855 cat >>confdefs.h <<_ACEOF
1856 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1860 # Let the site file select an alternate cache file if it wants to.
1861 # Prefer explicitly selected file to automatically selected ones.
1862 if test -n "$CONFIG_SITE"; then
1863 set x "$CONFIG_SITE"
1864 elif test "x$prefix" != xNONE; then
1865 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1867 set x "$ac_default_prefix/share/config.site" \
1868 "$ac_default_prefix/etc/config.site"
1873 if test -r "$ac_site_file"; then
1874 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1875 echo "$as_me: loading site script $ac_site_file" >&6;}
1876 sed 's/^/| /' "$ac_site_file" >&5
1881 if test -r "$cache_file"; then
1882 # Some versions of bash will fail to source /dev/null (special
1883 # files actually), so we avoid doing that.
1884 if test -f "$cache_file"; then
1885 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1886 echo "$as_me: loading cache $cache_file" >&6;}
1888 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1889 *) . "./$cache_file";;
1893 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1894 echo "$as_me: creating cache $cache_file" >&6;}
1898 # Check that the precious variables saved in the cache have kept the same
1900 ac_cache_corrupted=false
1901 for ac_var in $ac_precious_vars; do
1902 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1903 eval ac_new_set=\$ac_env_${ac_var}_set
1904 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1905 eval ac_new_val=\$ac_env_${ac_var}_value
1906 case $ac_old_set,$ac_new_set in
1908 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1909 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1910 ac_cache_corrupted=: ;;
1912 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1913 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1914 ac_cache_corrupted=: ;;
1917 if test "x$ac_old_val" != "x$ac_new_val"; then
1918 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1919 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1920 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1921 echo "$as_me: former value: $ac_old_val" >&2;}
1922 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1923 echo "$as_me: current value: $ac_new_val" >&2;}
1924 ac_cache_corrupted=:
1927 # Pass precious variables to config.status.
1928 if test "$ac_new_set" = set; then
1930 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1931 *) ac_arg=$ac_var=$ac_new_val ;;
1933 case " $ac_configure_args " in
1934 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1935 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1939 if $ac_cache_corrupted; then
1940 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1941 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1942 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1943 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1944 { (exit 1); exit 1; }; }
1972 ac_cpp='$CPP $CPPFLAGS'
1973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1979 am__api_version='1.10'
1982 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1983 if test -f "$ac_dir/install-sh"; then
1985 ac_install_sh="$ac_aux_dir/install-sh -c"
1987 elif test -f "$ac_dir/install.sh"; then
1989 ac_install_sh="$ac_aux_dir/install.sh -c"
1991 elif test -f "$ac_dir/shtool"; then
1993 ac_install_sh="$ac_aux_dir/shtool install -c"
1997 if test -z "$ac_aux_dir"; then
1998 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1999 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2000 { (exit 1); exit 1; }; }
2003 # These three variables are undocumented and unsupported,
2004 # and are intended to be withdrawn in a future Autoconf release.
2005 # They can cause serious problems if a builder's source tree is in a directory
2006 # whose full name contains unusual characters.
2007 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2008 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2009 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2012 # Find a good install program. We prefer a C program (faster),
2013 # so one script is as good as another. But avoid the broken or
2014 # incompatible versions:
2015 # SysV /etc/install, /usr/sbin/install
2016 # SunOS /usr/etc/install
2017 # IRIX /sbin/install
2019 # AmigaOS /C/install, which installs bootblocks on floppy discs
2020 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2021 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2022 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2023 # OS/2's system install, which has a completely different semantic
2024 # ./install, which can be erroneously created by make from ./install.sh.
2025 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2026 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2027 if test -z "$INSTALL"; then
2028 if test "${ac_cv_path_install+set}" = set; then
2029 echo $ECHO_N "(cached) $ECHO_C" >&6
2031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2035 test -z "$as_dir" && as_dir=.
2036 # Account for people who put trailing slashes in PATH elements.
2038 ./ | .// | /cC/* | \
2039 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2040 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2043 # OSF1 and SCO ODT 3.0 have their own names for install.
2044 # Don't use installbsd from OSF since it installs stuff as root
2046 for ac_prog in ginstall scoinst install; do
2047 for ac_exec_ext in '' $ac_executable_extensions; do
2048 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2049 if test $ac_prog = install &&
2050 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2051 # AIX install. It has an incompatible calling convention.
2053 elif test $ac_prog = install &&
2054 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2055 # program-specific install script used by HP pwplus--don't use.
2058 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2071 if test "${ac_cv_path_install+set}" = set; then
2072 INSTALL=$ac_cv_path_install
2074 # As a last resort, use the slow shell script. Don't cache a
2075 # value for INSTALL within a source directory, because that will
2076 # break other packages using the cache if that directory is
2077 # removed, or if the value is a relative name.
2078 INSTALL=$ac_install_sh
2081 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2082 echo "${ECHO_T}$INSTALL" >&6; }
2084 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2085 # It thinks the first close brace ends the variable substitution.
2086 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2088 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2090 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2092 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2093 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2096 echo timestamp > conftest.file
2097 # Do `set' in a subshell so we don't clobber the current shell's
2098 # arguments. Must try -L first in case configure is actually a
2099 # symlink; some systems play weird games with the mod time of symlinks
2100 # (eg FreeBSD returns the mod time of the symlink's containing
2103 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2104 if test "$*" = "X"; then
2106 set X `ls -t $srcdir/configure conftest.file`
2109 if test "$*" != "X $srcdir/configure conftest.file" \
2110 && test "$*" != "X conftest.file $srcdir/configure"; then
2112 # If neither matched, then we have a broken ls. This can happen
2113 # if, for instance, CONFIG_SHELL is bash and it inherits a
2114 # broken ls alias from the environment. This has actually
2115 # happened. Such a system could not be considered "sane".
2116 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2117 alias in your environment" >&5
2118 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2119 alias in your environment" >&2;}
2120 { (exit 1); exit 1; }; }
2123 test "$2" = conftest.file
2129 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2130 Check your system clock" >&5
2131 echo "$as_me: error: newly created file is older than distributed files!
2132 Check your system clock" >&2;}
2133 { (exit 1); exit 1; }; }
2135 { echo "$as_me:$LINENO: result: yes" >&5
2136 echo "${ECHO_T}yes" >&6; }
2137 test "$program_prefix" != NONE &&
2138 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2139 # Use a double $ so make ignores it.
2140 test "$program_suffix" != NONE &&
2141 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2142 # Double any \ or $. echo might interpret backslashes.
2143 # By default was `s,x,x', remove it if useless.
2144 cat <<\_ACEOF >conftest.sed
2145 s/[\\$]/&&/g;s/;s,x,x,$//
2147 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2150 # expand $ac_aux_dir to an absolute path
2151 am_aux_dir=`cd $ac_aux_dir && pwd`
2153 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2154 # Use eval to expand $SHELL
2155 if eval "$MISSING --run true"; then
2156 am_missing_run="$MISSING --run "
2159 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2160 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2163 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2164 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2165 if test -z "$MKDIR_P"; then
2166 if test "${ac_cv_path_mkdir+set}" = set; then
2167 echo $ECHO_N "(cached) $ECHO_C" >&6
2169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2170 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2173 test -z "$as_dir" && as_dir=.
2174 for ac_prog in mkdir gmkdir; do
2175 for ac_exec_ext in '' $ac_executable_extensions; do
2176 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2177 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2178 'mkdir (GNU coreutils) '* | \
2179 'mkdir (coreutils) '* | \
2180 'mkdir (fileutils) '4.1*)
2181 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2191 if test "${ac_cv_path_mkdir+set}" = set; then
2192 MKDIR_P="$ac_cv_path_mkdir -p"
2194 # As a last resort, use the slow shell script. Don't cache a
2195 # value for MKDIR_P within a source directory, because that will
2196 # break other packages using the cache if that directory is
2197 # removed, or if the value is a relative name.
2198 test -d ./--version && rmdir ./--version
2199 MKDIR_P="$ac_install_sh -d"
2202 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2203 echo "${ECHO_T}$MKDIR_P" >&6; }
2207 [\\/$]* | ?:[\\/]*) ;;
2208 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2211 for ac_prog in gawk mawk nawk awk
2213 # Extract the first word of "$ac_prog", so it can be a program name with args.
2214 set dummy $ac_prog; ac_word=$2
2215 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2217 if test "${ac_cv_prog_AWK+set}" = set; then
2218 echo $ECHO_N "(cached) $ECHO_C" >&6
2220 if test -n "$AWK"; then
2221 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2227 test -z "$as_dir" && as_dir=.
2228 for ac_exec_ext in '' $ac_executable_extensions; do
2229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2230 ac_cv_prog_AWK="$ac_prog"
2231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2241 if test -n "$AWK"; then
2242 { echo "$as_me:$LINENO: result: $AWK" >&5
2243 echo "${ECHO_T}$AWK" >&6; }
2245 { echo "$as_me:$LINENO: result: no" >&5
2246 echo "${ECHO_T}no" >&6; }
2250 test -n "$AWK" && break
2253 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2254 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2255 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2256 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2257 echo $ECHO_N "(cached) $ECHO_C" >&6
2259 cat >conftest.make <<\_ACEOF
2262 @echo '@@@%%%=$(MAKE)=@@@%%%'
2264 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2265 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2267 eval ac_cv_prog_make_${ac_make}_set=yes;;
2269 eval ac_cv_prog_make_${ac_make}_set=no;;
2273 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2274 { echo "$as_me:$LINENO: result: yes" >&5
2275 echo "${ECHO_T}yes" >&6; }
2278 { echo "$as_me:$LINENO: result: no" >&5
2279 echo "${ECHO_T}no" >&6; }
2280 SET_MAKE="MAKE=${MAKE-make}"
2283 rm -rf .tst 2>/dev/null
2284 mkdir .tst 2>/dev/null
2285 if test -d .tst; then
2290 rmdir .tst 2>/dev/null
2292 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2293 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2294 # is not polluted with repeated "-I."
2295 am__isrc=' -I$(srcdir)'
2296 # test to see if srcdir already configured
2297 if test -f $srcdir/config.status; then
2298 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2299 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2300 { (exit 1); exit 1; }; }
2304 # test whether we have cygpath
2305 if test -z "$CYGPATH_W"; then
2306 if (cygpath --version) >/dev/null 2>/dev/null; then
2307 CYGPATH_W='cygpath -w'
2314 # Define the identity of the package.
2315 PACKAGE=opendashboard
2319 cat >>confdefs.h <<_ACEOF
2320 @%:@define PACKAGE "$PACKAGE"
2324 cat >>confdefs.h <<_ACEOF
2325 @%:@define VERSION "$VERSION"
2328 # Some tools Automake needs.
2330 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2333 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2336 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2339 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2342 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2344 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2346 # Installed binaries are usually stripped using `strip' when the user
2347 # run `make install-strip'. However `strip' might not be the right
2348 # tool to use in cross-compilation environments, therefore Automake
2349 # will honor the `STRIP' environment variable to overrule this program.
2350 if test "$cross_compiling" != no; then
2351 if test -n "$ac_tool_prefix"; then
2352 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2353 set dummy ${ac_tool_prefix}strip; ac_word=$2
2354 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2356 if test "${ac_cv_prog_STRIP+set}" = set; then
2357 echo $ECHO_N "(cached) $ECHO_C" >&6
2359 if test -n "$STRIP"; then
2360 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2366 test -z "$as_dir" && as_dir=.
2367 for ac_exec_ext in '' $ac_executable_extensions; do
2368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2369 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2379 STRIP=$ac_cv_prog_STRIP
2380 if test -n "$STRIP"; then
2381 { echo "$as_me:$LINENO: result: $STRIP" >&5
2382 echo "${ECHO_T}$STRIP" >&6; }
2384 { echo "$as_me:$LINENO: result: no" >&5
2385 echo "${ECHO_T}no" >&6; }
2390 if test -z "$ac_cv_prog_STRIP"; then
2392 # Extract the first word of "strip", so it can be a program name with args.
2393 set dummy strip; ac_word=$2
2394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2396 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2397 echo $ECHO_N "(cached) $ECHO_C" >&6
2399 if test -n "$ac_ct_STRIP"; then
2400 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2406 test -z "$as_dir" && as_dir=.
2407 for ac_exec_ext in '' $ac_executable_extensions; do
2408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2409 ac_cv_prog_ac_ct_STRIP="strip"
2410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2419 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2420 if test -n "$ac_ct_STRIP"; then
2421 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2422 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2424 { echo "$as_me:$LINENO: result: no" >&5
2425 echo "${ECHO_T}no" >&6; }
2428 if test "x$ac_ct_STRIP" = x; then
2431 case $cross_compiling:$ac_tool_warned in
2433 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2434 whose name does not start with the host triplet. If you think this
2435 configuration is useful to you, please write to autoconf@gnu.org." >&5
2436 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2437 whose name does not start with the host triplet. If you think this
2438 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2439 ac_tool_warned=yes ;;
2444 STRIP="$ac_cv_prog_STRIP"
2448 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2450 # We need awk for the "check" target. The system "awk" is bad on
2452 # Always define AMTAR for backward compatibility.
2454 AMTAR=${AMTAR-"${am_missing_run}tar"}
2456 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2462 ac_config_headers="$ac_config_headers config.h"
2464 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2465 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2466 # Check whether --enable-maintainer-mode was given.
2467 if test "${enable_maintainer_mode+set}" = set; then
2468 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2470 USE_MAINTAINER_MODE=no
2473 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2474 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2475 if test $USE_MAINTAINER_MODE = yes; then
2476 MAINTAINER_MODE_TRUE=
2477 MAINTAINER_MODE_FALSE='#'
2479 MAINTAINER_MODE_TRUE='#'
2480 MAINTAINER_MODE_FALSE=
2483 MAINT=$MAINTAINER_MODE_TRUE
2487 DEPDIR="${am__leading_dot}deps"
2489 ac_config_commands="$ac_config_commands depfiles"
2492 am_make=${MAKE-make}
2493 cat > confinc << 'END'
2498 # If we don't find an include directive, just comment out the code.
2499 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2500 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2504 # First try GNU make style include.
2505 echo "include confinc" > confmf
2506 # We grep out `Entering directory' and `Leaving directory'
2507 # messages which can occur if `w' ends up in MAKEFLAGS.
2508 # In particular we don't look at `^make:' because GNU make might
2509 # be invoked under some other name (usually "gmake"), in which
2510 # case it prints its new name instead of `make'.
2511 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2516 # Now try BSD make style include.
2517 if test "$am__include" = "#"; then
2518 echo '.include "confinc"' > confmf
2519 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2520 am__include=.include
2527 { echo "$as_me:$LINENO: result: $_am_result" >&5
2528 echo "${ECHO_T}$_am_result" >&6; }
2529 rm -f confinc confmf
2531 # Check whether --enable-dependency-tracking was given.
2532 if test "${enable_dependency_tracking+set}" = set; then
2533 enableval=$enable_dependency_tracking;
2536 if test "x$enable_dependency_tracking" != xno; then
2537 am_depcomp="$ac_aux_dir/depcomp"
2540 if test "x$enable_dependency_tracking" != xno; then
2550 ac_cpp='$CPP $CPPFLAGS'
2551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2554 if test -n "$ac_tool_prefix"; then
2555 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2556 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2557 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2559 if test "${ac_cv_prog_CC+set}" = set; then
2560 echo $ECHO_N "(cached) $ECHO_C" >&6
2562 if test -n "$CC"; then
2563 ac_cv_prog_CC="$CC" # Let the user override the test.
2565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2569 test -z "$as_dir" && as_dir=.
2570 for ac_exec_ext in '' $ac_executable_extensions; do
2571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2572 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2583 if test -n "$CC"; then
2584 { echo "$as_me:$LINENO: result: $CC" >&5
2585 echo "${ECHO_T}$CC" >&6; }
2587 { echo "$as_me:$LINENO: result: no" >&5
2588 echo "${ECHO_T}no" >&6; }
2593 if test -z "$ac_cv_prog_CC"; then
2595 # Extract the first word of "gcc", so it can be a program name with args.
2596 set dummy gcc; ac_word=$2
2597 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2599 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2600 echo $ECHO_N "(cached) $ECHO_C" >&6
2602 if test -n "$ac_ct_CC"; then
2603 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2609 test -z "$as_dir" && as_dir=.
2610 for ac_exec_ext in '' $ac_executable_extensions; do
2611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2612 ac_cv_prog_ac_ct_CC="gcc"
2613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2622 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2623 if test -n "$ac_ct_CC"; then
2624 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2625 echo "${ECHO_T}$ac_ct_CC" >&6; }
2627 { echo "$as_me:$LINENO: result: no" >&5
2628 echo "${ECHO_T}no" >&6; }
2631 if test "x$ac_ct_CC" = x; then
2634 case $cross_compiling:$ac_tool_warned in
2636 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2637 whose name does not start with the host triplet. If you think this
2638 configuration is useful to you, please write to autoconf@gnu.org." >&5
2639 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2640 whose name does not start with the host triplet. If you think this
2641 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2642 ac_tool_warned=yes ;;
2650 if test -z "$CC"; then
2651 if test -n "$ac_tool_prefix"; then
2652 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2653 set dummy ${ac_tool_prefix}cc; ac_word=$2
2654 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2656 if test "${ac_cv_prog_CC+set}" = set; then
2657 echo $ECHO_N "(cached) $ECHO_C" >&6
2659 if test -n "$CC"; then
2660 ac_cv_prog_CC="$CC" # Let the user override the test.
2662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2666 test -z "$as_dir" && as_dir=.
2667 for ac_exec_ext in '' $ac_executable_extensions; do
2668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2669 ac_cv_prog_CC="${ac_tool_prefix}cc"
2670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2680 if test -n "$CC"; then
2681 { echo "$as_me:$LINENO: result: $CC" >&5
2682 echo "${ECHO_T}$CC" >&6; }
2684 { echo "$as_me:$LINENO: result: no" >&5
2685 echo "${ECHO_T}no" >&6; }
2691 if test -z "$CC"; then
2692 # Extract the first word of "cc", so it can be a program name with args.
2693 set dummy cc; ac_word=$2
2694 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2696 if test "${ac_cv_prog_CC+set}" = set; then
2697 echo $ECHO_N "(cached) $ECHO_C" >&6
2699 if test -n "$CC"; then
2700 ac_cv_prog_CC="$CC" # Let the user override the test.
2703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2707 test -z "$as_dir" && as_dir=.
2708 for ac_exec_ext in '' $ac_executable_extensions; do
2709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2710 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2711 ac_prog_rejected=yes
2715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2722 if test $ac_prog_rejected = yes; then
2723 # We found a bogon in the path, so make sure we never use it.
2724 set dummy $ac_cv_prog_CC
2726 if test $@%:@ != 0; then
2727 # We chose a different compiler from the bogus one.
2728 # However, it has the same basename, so the bogon will be chosen
2729 # first if we set CC to just the basename; use the full file name.
2731 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2737 if test -n "$CC"; then
2738 { echo "$as_me:$LINENO: result: $CC" >&5
2739 echo "${ECHO_T}$CC" >&6; }
2741 { echo "$as_me:$LINENO: result: no" >&5
2742 echo "${ECHO_T}no" >&6; }
2747 if test -z "$CC"; then
2748 if test -n "$ac_tool_prefix"; then
2749 for ac_prog in cl.exe
2751 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2752 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2753 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2755 if test "${ac_cv_prog_CC+set}" = set; then
2756 echo $ECHO_N "(cached) $ECHO_C" >&6
2758 if test -n "$CC"; then
2759 ac_cv_prog_CC="$CC" # Let the user override the test.
2761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2765 test -z "$as_dir" && as_dir=.
2766 for ac_exec_ext in '' $ac_executable_extensions; do
2767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2768 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2779 if test -n "$CC"; then
2780 { echo "$as_me:$LINENO: result: $CC" >&5
2781 echo "${ECHO_T}$CC" >&6; }
2783 { echo "$as_me:$LINENO: result: no" >&5
2784 echo "${ECHO_T}no" >&6; }
2788 test -n "$CC" && break
2791 if test -z "$CC"; then
2793 for ac_prog in cl.exe
2795 # Extract the first word of "$ac_prog", so it can be a program name with args.
2796 set dummy $ac_prog; ac_word=$2
2797 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2799 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2800 echo $ECHO_N "(cached) $ECHO_C" >&6
2802 if test -n "$ac_ct_CC"; then
2803 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2809 test -z "$as_dir" && as_dir=.
2810 for ac_exec_ext in '' $ac_executable_extensions; do
2811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2812 ac_cv_prog_ac_ct_CC="$ac_prog"
2813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2822 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2823 if test -n "$ac_ct_CC"; then
2824 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2825 echo "${ECHO_T}$ac_ct_CC" >&6; }
2827 { echo "$as_me:$LINENO: result: no" >&5
2828 echo "${ECHO_T}no" >&6; }
2832 test -n "$ac_ct_CC" && break
2835 if test "x$ac_ct_CC" = x; then
2838 case $cross_compiling:$ac_tool_warned in
2840 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2841 whose name does not start with the host triplet. If you think this
2842 configuration is useful to you, please write to autoconf@gnu.org." >&5
2843 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2844 whose name does not start with the host triplet. If you think this
2845 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2846 ac_tool_warned=yes ;;
2855 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2856 See \`config.log' for more details." >&5
2857 echo "$as_me: error: no acceptable C compiler found in \$PATH
2858 See \`config.log' for more details." >&2;}
2859 { (exit 1); exit 1; }; }
2861 # Provide some information about the compiler.
2862 echo "$as_me:$LINENO: checking for C compiler version" >&5
2863 ac_compiler=`set X $ac_compile; echo $2`
2864 { (ac_try="$ac_compiler --version >&5"
2866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2867 *) ac_try_echo=$ac_try;;
2869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2870 (eval "$ac_compiler --version >&5") 2>&5
2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2873 (exit $ac_status); }
2874 { (ac_try="$ac_compiler -v >&5"
2876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2877 *) ac_try_echo=$ac_try;;
2879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2880 (eval "$ac_compiler -v >&5") 2>&5
2882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2883 (exit $ac_status); }
2884 { (ac_try="$ac_compiler -V >&5"
2886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2887 *) ac_try_echo=$ac_try;;
2889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2890 (eval "$ac_compiler -V >&5") 2>&5
2892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893 (exit $ac_status); }
2895 cat >conftest.$ac_ext <<_ACEOF
2898 cat confdefs.h >>conftest.$ac_ext
2899 cat >>conftest.$ac_ext <<_ACEOF
2900 /* end confdefs.h. */
2910 ac_clean_files_save=$ac_clean_files
2911 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2912 # Try to create an executable without -o first, disregard a.out.
2913 # It will help us diagnose broken compilers, and finding out an intuition
2915 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2916 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2917 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2919 # List of possible output files, starting from the most likely.
2920 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2921 # only as a last resort. b.out is created by i960 compilers.
2922 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2924 # The IRIX 6 linker writes into existing files which may not be
2925 # executable, retaining their permissions. Remove them first so a
2926 # subsequent execution test works.
2928 for ac_file in $ac_files
2931 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2932 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2937 if { (ac_try="$ac_link_default"
2939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2940 *) ac_try_echo=$ac_try;;
2942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2943 (eval "$ac_link_default") 2>&5
2945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946 (exit $ac_status); }; then
2947 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2948 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2949 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2950 # so that the user can short-circuit this test for compilers unknown to
2952 for ac_file in $ac_files ''
2954 test -f "$ac_file" || continue
2956 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2959 # We found the default executable, but exeext='' is most
2963 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2965 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2967 # We set ac_cv_exeext here because the later test for it is not
2968 # safe: cross compilers may not add the suffix if given an `-o'
2969 # argument, so we may need to know it at that point already.
2970 # Even if this section looks crufty: it has the advantage of
2977 test "$ac_cv_exeext" = no && ac_cv_exeext=
2983 { echo "$as_me:$LINENO: result: $ac_file" >&5
2984 echo "${ECHO_T}$ac_file" >&6; }
2985 if test -z "$ac_file"; then
2986 echo "$as_me: failed program was:" >&5
2987 sed 's/^/| /' conftest.$ac_ext >&5
2989 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2990 See \`config.log' for more details." >&5
2991 echo "$as_me: error: C compiler cannot create executables
2992 See \`config.log' for more details." >&2;}
2993 { (exit 77); exit 77; }; }
2996 ac_exeext=$ac_cv_exeext
2998 # Check that the compiler produces executables we can run. If not, either
2999 # the compiler is broken, or we cross compile.
3000 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3001 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3002 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3003 # If not cross compiling, check that we can run a simple program.
3004 if test "$cross_compiling" != yes; then
3005 if { ac_try='./$ac_file'
3006 { (case "(($ac_try" in
3007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3008 *) ac_try_echo=$ac_try;;
3010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3011 (eval "$ac_try") 2>&5
3013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3014 (exit $ac_status); }; }; then
3017 if test "$cross_compiling" = maybe; then
3020 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3021 If you meant to cross compile, use \`--host'.
3022 See \`config.log' for more details." >&5
3023 echo "$as_me: error: cannot run C compiled programs.
3024 If you meant to cross compile, use \`--host'.
3025 See \`config.log' for more details." >&2;}
3026 { (exit 1); exit 1; }; }
3030 { echo "$as_me:$LINENO: result: yes" >&5
3031 echo "${ECHO_T}yes" >&6; }
3033 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3034 ac_clean_files=$ac_clean_files_save
3035 # Check that the compiler produces executables we can run. If not, either
3036 # the compiler is broken, or we cross compile.
3037 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3038 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3039 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3040 echo "${ECHO_T}$cross_compiling" >&6; }
3042 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3043 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3044 if { (ac_try="$ac_link"
3046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3047 *) ac_try_echo=$ac_try;;
3049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3050 (eval "$ac_link") 2>&5
3052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3053 (exit $ac_status); }; then
3054 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3055 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3056 # work properly (i.e., refer to `conftest.exe'), while it won't with
3058 for ac_file in conftest.exe conftest conftest.*; do
3059 test -f "$ac_file" || continue
3061 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3062 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3068 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3069 See \`config.log' for more details." >&5
3070 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3071 See \`config.log' for more details." >&2;}
3072 { (exit 1); exit 1; }; }
3075 rm -f conftest$ac_cv_exeext
3076 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3077 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3079 rm -f conftest.$ac_ext
3080 EXEEXT=$ac_cv_exeext
3082 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3083 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3084 if test "${ac_cv_objext+set}" = set; then
3085 echo $ECHO_N "(cached) $ECHO_C" >&6
3087 cat >conftest.$ac_ext <<_ACEOF
3090 cat confdefs.h >>conftest.$ac_ext
3091 cat >>conftest.$ac_ext <<_ACEOF
3092 /* end confdefs.h. */
3102 rm -f conftest.o conftest.obj
3103 if { (ac_try="$ac_compile"
3105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3106 *) ac_try_echo=$ac_try;;
3108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3109 (eval "$ac_compile") 2>&5
3111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3112 (exit $ac_status); }; then
3113 for ac_file in conftest.o conftest.obj conftest.*; do
3114 test -f "$ac_file" || continue;
3116 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3117 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3122 echo "$as_me: failed program was:" >&5
3123 sed 's/^/| /' conftest.$ac_ext >&5
3125 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3126 See \`config.log' for more details." >&5
3127 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3128 See \`config.log' for more details." >&2;}
3129 { (exit 1); exit 1; }; }
3132 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3134 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3135 echo "${ECHO_T}$ac_cv_objext" >&6; }
3136 OBJEXT=$ac_cv_objext
3138 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3139 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3140 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3141 echo $ECHO_N "(cached) $ECHO_C" >&6
3143 cat >conftest.$ac_ext <<_ACEOF
3146 cat confdefs.h >>conftest.$ac_ext
3147 cat >>conftest.$ac_ext <<_ACEOF
3148 /* end confdefs.h. */
3161 rm -f conftest.$ac_objext
3162 if { (ac_try="$ac_compile"
3164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3165 *) ac_try_echo=$ac_try;;
3167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3168 (eval "$ac_compile") 2>conftest.er1
3170 grep -v '^ *+' conftest.er1 >conftest.err
3172 cat conftest.err >&5
3173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3174 (exit $ac_status); } && {
3175 test -z "$ac_c_werror_flag" ||
3176 test ! -s conftest.err
3177 } && test -s conftest.$ac_objext; then
3180 echo "$as_me: failed program was:" >&5
3181 sed 's/^/| /' conftest.$ac_ext >&5
3186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3187 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3190 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3191 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3192 GCC=`test $ac_compiler_gnu = yes && echo yes`
3193 ac_test_CFLAGS=${CFLAGS+set}
3194 ac_save_CFLAGS=$CFLAGS
3195 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3196 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3197 if test "${ac_cv_prog_cc_g+set}" = set; then
3198 echo $ECHO_N "(cached) $ECHO_C" >&6
3200 ac_save_c_werror_flag=$ac_c_werror_flag
3201 ac_c_werror_flag=yes
3204 cat >conftest.$ac_ext <<_ACEOF
3207 cat confdefs.h >>conftest.$ac_ext
3208 cat >>conftest.$ac_ext <<_ACEOF
3209 /* end confdefs.h. */
3219 rm -f conftest.$ac_objext
3220 if { (ac_try="$ac_compile"
3222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3223 *) ac_try_echo=$ac_try;;
3225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3226 (eval "$ac_compile") 2>conftest.er1
3228 grep -v '^ *+' conftest.er1 >conftest.err
3230 cat conftest.err >&5
3231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3232 (exit $ac_status); } && {
3233 test -z "$ac_c_werror_flag" ||
3234 test ! -s conftest.err
3235 } && test -s conftest.$ac_objext; then
3238 echo "$as_me: failed program was:" >&5
3239 sed 's/^/| /' conftest.$ac_ext >&5
3242 cat >conftest.$ac_ext <<_ACEOF
3245 cat confdefs.h >>conftest.$ac_ext
3246 cat >>conftest.$ac_ext <<_ACEOF
3247 /* end confdefs.h. */
3257 rm -f conftest.$ac_objext
3258 if { (ac_try="$ac_compile"
3260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3261 *) ac_try_echo=$ac_try;;
3263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3264 (eval "$ac_compile") 2>conftest.er1
3266 grep -v '^ *+' conftest.er1 >conftest.err
3268 cat conftest.err >&5
3269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3270 (exit $ac_status); } && {
3271 test -z "$ac_c_werror_flag" ||
3272 test ! -s conftest.err
3273 } && test -s conftest.$ac_objext; then
3276 echo "$as_me: failed program was:" >&5
3277 sed 's/^/| /' conftest.$ac_ext >&5
3279 ac_c_werror_flag=$ac_save_c_werror_flag
3281 cat >conftest.$ac_ext <<_ACEOF
3284 cat confdefs.h >>conftest.$ac_ext
3285 cat >>conftest.$ac_ext <<_ACEOF
3286 /* end confdefs.h. */
3296 rm -f conftest.$ac_objext
3297 if { (ac_try="$ac_compile"
3299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3300 *) ac_try_echo=$ac_try;;
3302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3303 (eval "$ac_compile") 2>conftest.er1
3305 grep -v '^ *+' conftest.er1 >conftest.err
3307 cat conftest.err >&5
3308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3309 (exit $ac_status); } && {
3310 test -z "$ac_c_werror_flag" ||
3311 test ! -s conftest.err
3312 } && test -s conftest.$ac_objext; then
3315 echo "$as_me: failed program was:" >&5
3316 sed 's/^/| /' conftest.$ac_ext >&5
3321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3328 ac_c_werror_flag=$ac_save_c_werror_flag
3330 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3331 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3332 if test "$ac_test_CFLAGS" = set; then
3333 CFLAGS=$ac_save_CFLAGS
3334 elif test $ac_cv_prog_cc_g = yes; then
3335 if test "$GCC" = yes; then
3341 if test "$GCC" = yes; then
3347 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3348 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3349 if test "${ac_cv_prog_cc_c89+set}" = set; then
3350 echo $ECHO_N "(cached) $ECHO_C" >&6
3352 ac_cv_prog_cc_c89=no
3354 cat >conftest.$ac_ext <<_ACEOF
3357 cat confdefs.h >>conftest.$ac_ext
3358 cat >>conftest.$ac_ext <<_ACEOF
3359 /* end confdefs.h. */
3362 #include <sys/types.h>
3363 #include <sys/stat.h>
3364 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3365 struct buf { int x; };
3366 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3367 static char *e (p, i)
3373 static char *f (char * (*g) (char **, int), char **p, ...)
3378 s = g (p, va_arg (v,int));
3383 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3384 function prototypes and stuff, but not '\xHH' hex character constants.
3385 These don't provoke an error unfortunately, instead are silently treated
3386 as 'x'. The following induces an error, until -std is added to get
3387 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3388 array size at least. It's necessary to write '\x00'==0 to get something
3389 that's true only with -std. */
3390 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3392 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3393 inside strings and character constants. */
3395 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3397 int test (int i, double x);
3398 struct s1 {int (*f) (int a);};
3399 struct s2 {int (*f) (double a);};
3400 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3406 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3411 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3412 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3414 CC="$ac_save_CC $ac_arg"
3415 rm -f conftest.$ac_objext
3416 if { (ac_try="$ac_compile"
3418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3419 *) ac_try_echo=$ac_try;;
3421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3422 (eval "$ac_compile") 2>conftest.er1
3424 grep -v '^ *+' conftest.er1 >conftest.err
3426 cat conftest.err >&5
3427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3428 (exit $ac_status); } && {
3429 test -z "$ac_c_werror_flag" ||
3430 test ! -s conftest.err
3431 } && test -s conftest.$ac_objext; then
3432 ac_cv_prog_cc_c89=$ac_arg
3434 echo "$as_me: failed program was:" >&5
3435 sed 's/^/| /' conftest.$ac_ext >&5
3440 rm -f core conftest.err conftest.$ac_objext
3441 test "x$ac_cv_prog_cc_c89" != "xno" && break
3443 rm -f conftest.$ac_ext
3448 case "x$ac_cv_prog_cc_c89" in
3450 { echo "$as_me:$LINENO: result: none needed" >&5
3451 echo "${ECHO_T}none needed" >&6; } ;;
3453 { echo "$as_me:$LINENO: result: unsupported" >&5
3454 echo "${ECHO_T}unsupported" >&6; } ;;
3456 CC="$CC $ac_cv_prog_cc_c89"
3457 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3458 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3463 ac_cpp='$CPP $CPPFLAGS'
3464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3468 depcc="$CC" am_compiler_list=
3470 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3471 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3472 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3473 echo $ECHO_N "(cached) $ECHO_C" >&6
3475 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3476 # We make a subdir and do the tests there. Otherwise we can end up
3477 # making bogus files that we don't know about and never remove. For
3478 # instance it was reported that on HP-UX the gcc test will end up
3479 # making a dummy file named `D' -- because `-MD' means `put the output
3482 # Copy depcomp to subdir because otherwise we won't find it if we're
3483 # using a relative directory.
3484 cp "$am_depcomp" conftest.dir
3486 # We will build objects and dependencies in a subdirectory because
3487 # it helps to detect inapplicable dependency modes. For instance
3488 # both Tru64's cc and ICC support -MD to output dependencies as a
3489 # side effect of compilation, but ICC will put the dependencies in
3490 # the current directory while Tru64 will put them in the object
3494 am_cv_CC_dependencies_compiler_type=none
3495 if test "$am_compiler_list" = ""; then
3496 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3498 for depmode in $am_compiler_list; do
3499 # Setup a source with many dependencies, because some compilers
3500 # like to wrap large dependency lists on column 80 (with \), and
3501 # we should not choose a depcomp mode which is confused by this.
3503 # We need to recreate these files for each test, as the compiler may
3504 # overwrite some of them when testing with obscure command lines.
3505 # This happens at least with the AIX C compiler.
3507 for i in 1 2 3 4 5 6; do
3508 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3509 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3510 # Solaris 8's {/usr,}/bin/sh.
3511 touch sub/conftst$i.h
3513 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3517 # after this tag, mechanisms are not by side-effect, so they'll
3518 # only be used when explicitly requested
3519 if test "x$enable_dependency_tracking" = xyes; then
3527 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3528 # mode. It turns out that the SunPro C++ compiler does not properly
3529 # handle `-M -o', and we need to detect this.
3530 if depmode=$depmode \
3531 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3532 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3533 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3534 >/dev/null 2>conftest.err &&
3535 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3536 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3537 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3538 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3539 # icc doesn't choke on unknown options, it will just issue warnings
3540 # or remarks (even with -Werror). So we grep stderr for any message
3541 # that says an option was ignored or not supported.
3542 # When given -MP, icc 7.0 and 7.1 complain thusly:
3543 # icc: Command line warning: ignoring option '-M'; no argument required
3544 # The diagnosis changed in icc 8.0:
3545 # icc: Command line remark: option '-MP' not supported
3546 if (grep 'ignoring option' conftest.err ||
3547 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3548 am_cv_CC_dependencies_compiler_type=$depmode
3557 am_cv_CC_dependencies_compiler_type=none
3561 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3562 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3563 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3566 test "x$enable_dependency_tracking" != xno \
3567 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3569 am__fastdepCC_FALSE='#'
3571 am__fastdepCC_TRUE='#'
3572 am__fastdepCC_FALSE=
3577 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
3578 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
3579 if test "${ac_cv_search_strerror+set}" = set; then
3580 echo $ECHO_N "(cached) $ECHO_C" >&6
3582 ac_func_search_save_LIBS=$LIBS
3583 cat >conftest.$ac_ext <<_ACEOF
3586 cat confdefs.h >>conftest.$ac_ext
3587 cat >>conftest.$ac_ext <<_ACEOF
3588 /* end confdefs.h. */
3590 /* Override any GCC internal prototype to avoid an error.
3591 Use char because int might match the return type of a GCC
3592 builtin and then its argument prototype would still apply. */
3605 for ac_lib in '' cposix; do
3606 if test -z "$ac_lib"; then
3607 ac_res="none required"
3610 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3612 rm -f conftest.$ac_objext conftest$ac_exeext
3613 if { (ac_try="$ac_link"
3615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3616 *) ac_try_echo=$ac_try;;
3618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3619 (eval "$ac_link") 2>conftest.er1
3621 grep -v '^ *+' conftest.er1 >conftest.err
3623 cat conftest.err >&5
3624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3625 (exit $ac_status); } && {
3626 test -z "$ac_c_werror_flag" ||
3627 test ! -s conftest.err
3628 } && test -s conftest$ac_exeext &&
3629 $as_test_x conftest$ac_exeext; then
3630 ac_cv_search_strerror=$ac_res
3632 echo "$as_me: failed program was:" >&5
3633 sed 's/^/| /' conftest.$ac_ext >&5
3638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3640 if test "${ac_cv_search_strerror+set}" = set; then
3644 if test "${ac_cv_search_strerror+set}" = set; then
3647 ac_cv_search_strerror=no
3650 LIBS=$ac_func_search_save_LIBS
3652 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3653 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
3654 ac_res=$ac_cv_search_strerror
3655 if test "$ac_res" != no; then
3656 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3661 ac_cpp='$CXXCPP $CPPFLAGS'
3662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3665 if test -z "$CXX"; then
3666 if test -n "$CCC"; then
3669 if test -n "$ac_tool_prefix"; then
3670 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3672 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3673 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3674 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3676 if test "${ac_cv_prog_CXX+set}" = set; then
3677 echo $ECHO_N "(cached) $ECHO_C" >&6
3679 if test -n "$CXX"; then
3680 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3686 test -z "$as_dir" && as_dir=.
3687 for ac_exec_ext in '' $ac_executable_extensions; do
3688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3689 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3700 if test -n "$CXX"; then
3701 { echo "$as_me:$LINENO: result: $CXX" >&5
3702 echo "${ECHO_T}$CXX" >&6; }
3704 { echo "$as_me:$LINENO: result: no" >&5
3705 echo "${ECHO_T}no" >&6; }
3709 test -n "$CXX" && break
3712 if test -z "$CXX"; then
3714 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3716 # Extract the first word of "$ac_prog", so it can be a program name with args.
3717 set dummy $ac_prog; ac_word=$2
3718 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3720 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3721 echo $ECHO_N "(cached) $ECHO_C" >&6
3723 if test -n "$ac_ct_CXX"; then
3724 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3730 test -z "$as_dir" && as_dir=.
3731 for ac_exec_ext in '' $ac_executable_extensions; do
3732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3733 ac_cv_prog_ac_ct_CXX="$ac_prog"
3734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3743 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3744 if test -n "$ac_ct_CXX"; then
3745 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3746 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3748 { echo "$as_me:$LINENO: result: no" >&5
3749 echo "${ECHO_T}no" >&6; }
3753 test -n "$ac_ct_CXX" && break
3756 if test "x$ac_ct_CXX" = x; then
3759 case $cross_compiling:$ac_tool_warned in
3761 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3762 whose name does not start with the host triplet. If you think this
3763 configuration is useful to you, please write to autoconf@gnu.org." >&5
3764 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3765 whose name does not start with the host triplet. If you think this
3766 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3767 ac_tool_warned=yes ;;
3775 # Provide some information about the compiler.
3776 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3777 ac_compiler=`set X $ac_compile; echo $2`
3778 { (ac_try="$ac_compiler --version >&5"
3780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3781 *) ac_try_echo=$ac_try;;
3783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3784 (eval "$ac_compiler --version >&5") 2>&5
3786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3787 (exit $ac_status); }
3788 { (ac_try="$ac_compiler -v >&5"
3790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3791 *) ac_try_echo=$ac_try;;
3793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3794 (eval "$ac_compiler -v >&5") 2>&5
3796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3797 (exit $ac_status); }
3798 { (ac_try="$ac_compiler -V >&5"
3800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3801 *) ac_try_echo=$ac_try;;
3803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3804 (eval "$ac_compiler -V >&5") 2>&5
3806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807 (exit $ac_status); }
3809 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3810 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3811 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3812 echo $ECHO_N "(cached) $ECHO_C" >&6
3814 cat >conftest.$ac_ext <<_ACEOF
3817 cat confdefs.h >>conftest.$ac_ext
3818 cat >>conftest.$ac_ext <<_ACEOF
3819 /* end confdefs.h. */
3832 rm -f conftest.$ac_objext
3833 if { (ac_try="$ac_compile"
3835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3836 *) ac_try_echo=$ac_try;;
3838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3839 (eval "$ac_compile") 2>conftest.er1
3841 grep -v '^ *+' conftest.er1 >conftest.err
3843 cat conftest.err >&5
3844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3845 (exit $ac_status); } && {
3846 test -z "$ac_cxx_werror_flag" ||
3847 test ! -s conftest.err
3848 } && test -s conftest.$ac_objext; then
3851 echo "$as_me: failed program was:" >&5
3852 sed 's/^/| /' conftest.$ac_ext >&5
3857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3858 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3861 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3862 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3863 GXX=`test $ac_compiler_gnu = yes && echo yes`
3864 ac_test_CXXFLAGS=${CXXFLAGS+set}
3865 ac_save_CXXFLAGS=$CXXFLAGS
3866 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3867 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3868 if test "${ac_cv_prog_cxx_g+set}" = set; then
3869 echo $ECHO_N "(cached) $ECHO_C" >&6
3871 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3872 ac_cxx_werror_flag=yes
3875 cat >conftest.$ac_ext <<_ACEOF
3878 cat confdefs.h >>conftest.$ac_ext
3879 cat >>conftest.$ac_ext <<_ACEOF
3880 /* end confdefs.h. */
3890 rm -f conftest.$ac_objext
3891 if { (ac_try="$ac_compile"
3893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3894 *) ac_try_echo=$ac_try;;
3896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3897 (eval "$ac_compile") 2>conftest.er1
3899 grep -v '^ *+' conftest.er1 >conftest.err
3901 cat conftest.err >&5
3902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3903 (exit $ac_status); } && {
3904 test -z "$ac_cxx_werror_flag" ||
3905 test ! -s conftest.err
3906 } && test -s conftest.$ac_objext; then
3907 ac_cv_prog_cxx_g=yes
3909 echo "$as_me: failed program was:" >&5
3910 sed 's/^/| /' conftest.$ac_ext >&5
3913 cat >conftest.$ac_ext <<_ACEOF
3916 cat confdefs.h >>conftest.$ac_ext
3917 cat >>conftest.$ac_ext <<_ACEOF
3918 /* end confdefs.h. */
3928 rm -f conftest.$ac_objext
3929 if { (ac_try="$ac_compile"
3931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3932 *) ac_try_echo=$ac_try;;
3934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3935 (eval "$ac_compile") 2>conftest.er1
3937 grep -v '^ *+' conftest.er1 >conftest.err
3939 cat conftest.err >&5
3940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3941 (exit $ac_status); } && {
3942 test -z "$ac_cxx_werror_flag" ||
3943 test ! -s conftest.err
3944 } && test -s conftest.$ac_objext; then
3947 echo "$as_me: failed program was:" >&5
3948 sed 's/^/| /' conftest.$ac_ext >&5
3950 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3952 cat >conftest.$ac_ext <<_ACEOF
3955 cat confdefs.h >>conftest.$ac_ext
3956 cat >>conftest.$ac_ext <<_ACEOF
3957 /* end confdefs.h. */
3967 rm -f conftest.$ac_objext
3968 if { (ac_try="$ac_compile"
3970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3971 *) ac_try_echo=$ac_try;;
3973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3974 (eval "$ac_compile") 2>conftest.er1
3976 grep -v '^ *+' conftest.er1 >conftest.err
3978 cat conftest.err >&5
3979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3980 (exit $ac_status); } && {
3981 test -z "$ac_cxx_werror_flag" ||
3982 test ! -s conftest.err
3983 } && test -s conftest.$ac_objext; then
3984 ac_cv_prog_cxx_g=yes
3986 echo "$as_me: failed program was:" >&5
3987 sed 's/^/| /' conftest.$ac_ext >&5
3992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3999 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4001 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4002 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4003 if test "$ac_test_CXXFLAGS" = set; then
4004 CXXFLAGS=$ac_save_CXXFLAGS
4005 elif test $ac_cv_prog_cxx_g = yes; then
4006 if test "$GXX" = yes; then
4012 if test "$GXX" = yes; then
4019 ac_cpp='$CPP $CPPFLAGS'
4020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4024 depcc="$CXX" am_compiler_list=
4026 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4027 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4028 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4029 echo $ECHO_N "(cached) $ECHO_C" >&6
4031 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4032 # We make a subdir and do the tests there. Otherwise we can end up
4033 # making bogus files that we don't know about and never remove. For
4034 # instance it was reported that on HP-UX the gcc test will end up
4035 # making a dummy file named `D' -- because `-MD' means `put the output
4038 # Copy depcomp to subdir because otherwise we won't find it if we're
4039 # using a relative directory.
4040 cp "$am_depcomp" conftest.dir
4042 # We will build objects and dependencies in a subdirectory because
4043 # it helps to detect inapplicable dependency modes. For instance
4044 # both Tru64's cc and ICC support -MD to output dependencies as a
4045 # side effect of compilation, but ICC will put the dependencies in
4046 # the current directory while Tru64 will put them in the object
4050 am_cv_CXX_dependencies_compiler_type=none
4051 if test "$am_compiler_list" = ""; then
4052 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4054 for depmode in $am_compiler_list; do
4055 # Setup a source with many dependencies, because some compilers
4056 # like to wrap large dependency lists on column 80 (with \), and
4057 # we should not choose a depcomp mode which is confused by this.
4059 # We need to recreate these files for each test, as the compiler may
4060 # overwrite some of them when testing with obscure command lines.
4061 # This happens at least with the AIX C compiler.
4063 for i in 1 2 3 4 5 6; do
4064 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4065 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4066 # Solaris 8's {/usr,}/bin/sh.
4067 touch sub/conftst$i.h
4069 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4073 # after this tag, mechanisms are not by side-effect, so they'll
4074 # only be used when explicitly requested
4075 if test "x$enable_dependency_tracking" = xyes; then
4083 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4084 # mode. It turns out that the SunPro C++ compiler does not properly
4085 # handle `-M -o', and we need to detect this.
4086 if depmode=$depmode \
4087 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4088 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4089 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4090 >/dev/null 2>conftest.err &&
4091 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4092 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4093 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4094 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4095 # icc doesn't choke on unknown options, it will just issue warnings
4096 # or remarks (even with -Werror). So we grep stderr for any message
4097 # that says an option was ignored or not supported.
4098 # When given -MP, icc 7.0 and 7.1 complain thusly:
4099 # icc: Command line warning: ignoring option '-M'; no argument required
4100 # The diagnosis changed in icc 8.0:
4101 # icc: Command line remark: option '-MP' not supported
4102 if (grep 'ignoring option' conftest.err ||
4103 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4104 am_cv_CXX_dependencies_compiler_type=$depmode
4113 am_cv_CXX_dependencies_compiler_type=none
4117 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4118 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
4119 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4122 test "x$enable_dependency_tracking" != xno \
4123 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4124 am__fastdepCXX_TRUE=
4125 am__fastdepCXX_FALSE='#'
4127 am__fastdepCXX_TRUE='#'
4128 am__fastdepCXX_FALSE=
4133 ac_cpp='$CPP $CPPFLAGS'
4134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4137 if test -n "$ac_tool_prefix"; then
4138 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4139 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4140 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4142 if test "${ac_cv_prog_CC+set}" = set; then
4143 echo $ECHO_N "(cached) $ECHO_C" >&6
4145 if test -n "$CC"; then
4146 ac_cv_prog_CC="$CC" # Let the user override the test.
4148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4152 test -z "$as_dir" && as_dir=.
4153 for ac_exec_ext in '' $ac_executable_extensions; do
4154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4155 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4166 if test -n "$CC"; then
4167 { echo "$as_me:$LINENO: result: $CC" >&5
4168 echo "${ECHO_T}$CC" >&6; }
4170 { echo "$as_me:$LINENO: result: no" >&5
4171 echo "${ECHO_T}no" >&6; }
4176 if test -z "$ac_cv_prog_CC"; then
4178 # Extract the first word of "gcc", so it can be a program name with args.
4179 set dummy gcc; ac_word=$2
4180 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4182 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4183 echo $ECHO_N "(cached) $ECHO_C" >&6
4185 if test -n "$ac_ct_CC"; then
4186 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4192 test -z "$as_dir" && as_dir=.
4193 for ac_exec_ext in '' $ac_executable_extensions; do
4194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4195 ac_cv_prog_ac_ct_CC="gcc"
4196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4205 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4206 if test -n "$ac_ct_CC"; then
4207 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4208 echo "${ECHO_T}$ac_ct_CC" >&6; }
4210 { echo "$as_me:$LINENO: result: no" >&5
4211 echo "${ECHO_T}no" >&6; }
4214 if test "x$ac_ct_CC" = x; then
4217 case $cross_compiling:$ac_tool_warned in
4219 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4220 whose name does not start with the host triplet. If you think this
4221 configuration is useful to you, please write to autoconf@gnu.org." >&5
4222 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4223 whose name does not start with the host triplet. If you think this
4224 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4225 ac_tool_warned=yes ;;
4233 if test -z "$CC"; then
4234 if test -n "$ac_tool_prefix"; then
4235 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4236 set dummy ${ac_tool_prefix}cc; ac_word=$2
4237 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4239 if test "${ac_cv_prog_CC+set}" = set; then
4240 echo $ECHO_N "(cached) $ECHO_C" >&6
4242 if test -n "$CC"; then
4243 ac_cv_prog_CC="$CC" # Let the user override the test.
4245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4249 test -z "$as_dir" && as_dir=.
4250 for ac_exec_ext in '' $ac_executable_extensions; do
4251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4252 ac_cv_prog_CC="${ac_tool_prefix}cc"
4253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4263 if test -n "$CC"; then
4264 { echo "$as_me:$LINENO: result: $CC" >&5
4265 echo "${ECHO_T}$CC" >&6; }
4267 { echo "$as_me:$LINENO: result: no" >&5
4268 echo "${ECHO_T}no" >&6; }
4274 if test -z "$CC"; then
4275 # Extract the first word of "cc", so it can be a program name with args.
4276 set dummy cc; ac_word=$2
4277 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4279 if test "${ac_cv_prog_CC+set}" = set; then
4280 echo $ECHO_N "(cached) $ECHO_C" >&6
4282 if test -n "$CC"; then
4283 ac_cv_prog_CC="$CC" # Let the user override the test.
4286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4290 test -z "$as_dir" && as_dir=.
4291 for ac_exec_ext in '' $ac_executable_extensions; do
4292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4293 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4294 ac_prog_rejected=yes
4298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4305 if test $ac_prog_rejected = yes; then
4306 # We found a bogon in the path, so make sure we never use it.
4307 set dummy $ac_cv_prog_CC
4309 if test $@%:@ != 0; then
4310 # We chose a different compiler from the bogus one.
4311 # However, it has the same basename, so the bogon will be chosen
4312 # first if we set CC to just the basename; use the full file name.
4314 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4320 if test -n "$CC"; then
4321 { echo "$as_me:$LINENO: result: $CC" >&5
4322 echo "${ECHO_T}$CC" >&6; }
4324 { echo "$as_me:$LINENO: result: no" >&5
4325 echo "${ECHO_T}no" >&6; }
4330 if test -z "$CC"; then
4331 if test -n "$ac_tool_prefix"; then
4332 for ac_prog in cl.exe
4334 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4335 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4336 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4338 if test "${ac_cv_prog_CC+set}" = set; then
4339 echo $ECHO_N "(cached) $ECHO_C" >&6
4341 if test -n "$CC"; then
4342 ac_cv_prog_CC="$CC" # Let the user override the test.
4344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4348 test -z "$as_dir" && as_dir=.
4349 for ac_exec_ext in '' $ac_executable_extensions; do
4350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4351 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4362 if test -n "$CC"; then
4363 { echo "$as_me:$LINENO: result: $CC" >&5
4364 echo "${ECHO_T}$CC" >&6; }
4366 { echo "$as_me:$LINENO: result: no" >&5
4367 echo "${ECHO_T}no" >&6; }
4371 test -n "$CC" && break
4374 if test -z "$CC"; then
4376 for ac_prog in cl.exe
4378 # Extract the first word of "$ac_prog", so it can be a program name with args.
4379 set dummy $ac_prog; ac_word=$2
4380 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4382 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4383 echo $ECHO_N "(cached) $ECHO_C" >&6
4385 if test -n "$ac_ct_CC"; then
4386 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4392 test -z "$as_dir" && as_dir=.
4393 for ac_exec_ext in '' $ac_executable_extensions; do
4394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4395 ac_cv_prog_ac_ct_CC="$ac_prog"
4396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4405 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4406 if test -n "$ac_ct_CC"; then
4407 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4408 echo "${ECHO_T}$ac_ct_CC" >&6; }
4410 { echo "$as_me:$LINENO: result: no" >&5
4411 echo "${ECHO_T}no" >&6; }
4415 test -n "$ac_ct_CC" && break
4418 if test "x$ac_ct_CC" = x; then
4421 case $cross_compiling:$ac_tool_warned in
4423 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4424 whose name does not start with the host triplet. If you think this
4425 configuration is useful to you, please write to autoconf@gnu.org." >&5
4426 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4427 whose name does not start with the host triplet. If you think this
4428 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4429 ac_tool_warned=yes ;;
4438 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4439 See \`config.log' for more details." >&5
4440 echo "$as_me: error: no acceptable C compiler found in \$PATH
4441 See \`config.log' for more details." >&2;}
4442 { (exit 1); exit 1; }; }
4444 # Provide some information about the compiler.
4445 echo "$as_me:$LINENO: checking for C compiler version" >&5
4446 ac_compiler=`set X $ac_compile; echo $2`
4447 { (ac_try="$ac_compiler --version >&5"
4449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4450 *) ac_try_echo=$ac_try;;
4452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4453 (eval "$ac_compiler --version >&5") 2>&5
4455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4456 (exit $ac_status); }
4457 { (ac_try="$ac_compiler -v >&5"
4459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4460 *) ac_try_echo=$ac_try;;
4462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4463 (eval "$ac_compiler -v >&5") 2>&5
4465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4466 (exit $ac_status); }
4467 { (ac_try="$ac_compiler -V >&5"
4469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4470 *) ac_try_echo=$ac_try;;
4472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4473 (eval "$ac_compiler -V >&5") 2>&5
4475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4476 (exit $ac_status); }
4478 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4479 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4480 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4481 echo $ECHO_N "(cached) $ECHO_C" >&6
4483 cat >conftest.$ac_ext <<_ACEOF
4486 cat confdefs.h >>conftest.$ac_ext
4487 cat >>conftest.$ac_ext <<_ACEOF
4488 /* end confdefs.h. */
4501 rm -f conftest.$ac_objext
4502 if { (ac_try="$ac_compile"
4504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4505 *) ac_try_echo=$ac_try;;
4507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4508 (eval "$ac_compile") 2>conftest.er1
4510 grep -v '^ *+' conftest.er1 >conftest.err
4512 cat conftest.err >&5
4513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4514 (exit $ac_status); } && {
4515 test -z "$ac_c_werror_flag" ||
4516 test ! -s conftest.err
4517 } && test -s conftest.$ac_objext; then
4520 echo "$as_me: failed program was:" >&5
4521 sed 's/^/| /' conftest.$ac_ext >&5
4526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4527 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4530 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4531 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4532 GCC=`test $ac_compiler_gnu = yes && echo yes`
4533 ac_test_CFLAGS=${CFLAGS+set}
4534 ac_save_CFLAGS=$CFLAGS
4535 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4536 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4537 if test "${ac_cv_prog_cc_g+set}" = set; then
4538 echo $ECHO_N "(cached) $ECHO_C" >&6
4540 ac_save_c_werror_flag=$ac_c_werror_flag
4541 ac_c_werror_flag=yes
4544 cat >conftest.$ac_ext <<_ACEOF
4547 cat confdefs.h >>conftest.$ac_ext
4548 cat >>conftest.$ac_ext <<_ACEOF
4549 /* end confdefs.h. */
4559 rm -f conftest.$ac_objext
4560 if { (ac_try="$ac_compile"
4562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4563 *) ac_try_echo=$ac_try;;
4565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4566 (eval "$ac_compile") 2>conftest.er1
4568 grep -v '^ *+' conftest.er1 >conftest.err
4570 cat conftest.err >&5
4571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572 (exit $ac_status); } && {
4573 test -z "$ac_c_werror_flag" ||
4574 test ! -s conftest.err
4575 } && test -s conftest.$ac_objext; then
4578 echo "$as_me: failed program was:" >&5
4579 sed 's/^/| /' conftest.$ac_ext >&5
4582 cat >conftest.$ac_ext <<_ACEOF
4585 cat confdefs.h >>conftest.$ac_ext
4586 cat >>conftest.$ac_ext <<_ACEOF
4587 /* end confdefs.h. */
4597 rm -f conftest.$ac_objext
4598 if { (ac_try="$ac_compile"
4600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4601 *) ac_try_echo=$ac_try;;
4603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4604 (eval "$ac_compile") 2>conftest.er1
4606 grep -v '^ *+' conftest.er1 >conftest.err
4608 cat conftest.err >&5
4609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4610 (exit $ac_status); } && {
4611 test -z "$ac_c_werror_flag" ||
4612 test ! -s conftest.err
4613 } && test -s conftest.$ac_objext; then
4616 echo "$as_me: failed program was:" >&5
4617 sed 's/^/| /' conftest.$ac_ext >&5
4619 ac_c_werror_flag=$ac_save_c_werror_flag
4621 cat >conftest.$ac_ext <<_ACEOF
4624 cat confdefs.h >>conftest.$ac_ext
4625 cat >>conftest.$ac_ext <<_ACEOF
4626 /* end confdefs.h. */
4636 rm -f conftest.$ac_objext
4637 if { (ac_try="$ac_compile"
4639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4640 *) ac_try_echo=$ac_try;;
4642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4643 (eval "$ac_compile") 2>conftest.er1
4645 grep -v '^ *+' conftest.er1 >conftest.err
4647 cat conftest.err >&5
4648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649 (exit $ac_status); } && {
4650 test -z "$ac_c_werror_flag" ||
4651 test ! -s conftest.err
4652 } && test -s conftest.$ac_objext; then
4655 echo "$as_me: failed program was:" >&5
4656 sed 's/^/| /' conftest.$ac_ext >&5
4661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4668 ac_c_werror_flag=$ac_save_c_werror_flag
4670 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4671 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4672 if test "$ac_test_CFLAGS" = set; then
4673 CFLAGS=$ac_save_CFLAGS
4674 elif test $ac_cv_prog_cc_g = yes; then
4675 if test "$GCC" = yes; then
4681 if test "$GCC" = yes; then
4687 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4688 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4689 if test "${ac_cv_prog_cc_c89+set}" = set; then
4690 echo $ECHO_N "(cached) $ECHO_C" >&6
4692 ac_cv_prog_cc_c89=no
4694 cat >conftest.$ac_ext <<_ACEOF
4697 cat confdefs.h >>conftest.$ac_ext
4698 cat >>conftest.$ac_ext <<_ACEOF
4699 /* end confdefs.h. */
4702 #include <sys/types.h>
4703 #include <sys/stat.h>
4704 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4705 struct buf { int x; };
4706 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4707 static char *e (p, i)
4713 static char *f (char * (*g) (char **, int), char **p, ...)
4718 s = g (p, va_arg (v,int));
4723 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4724 function prototypes and stuff, but not '\xHH' hex character constants.
4725 These don't provoke an error unfortunately, instead are silently treated
4726 as 'x'. The following induces an error, until -std is added to get
4727 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4728 array size at least. It's necessary to write '\x00'==0 to get something
4729 that's true only with -std. */
4730 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4732 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4733 inside strings and character constants. */
4735 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4737 int test (int i, double x);
4738 struct s1 {int (*f) (int a);};
4739 struct s2 {int (*f) (double a);};
4740 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4746 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4751 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4752 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4754 CC="$ac_save_CC $ac_arg"
4755 rm -f conftest.$ac_objext
4756 if { (ac_try="$ac_compile"
4758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4759 *) ac_try_echo=$ac_try;;
4761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4762 (eval "$ac_compile") 2>conftest.er1
4764 grep -v '^ *+' conftest.er1 >conftest.err
4766 cat conftest.err >&5
4767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768 (exit $ac_status); } && {
4769 test -z "$ac_c_werror_flag" ||
4770 test ! -s conftest.err
4771 } && test -s conftest.$ac_objext; then
4772 ac_cv_prog_cc_c89=$ac_arg
4774 echo "$as_me: failed program was:" >&5
4775 sed 's/^/| /' conftest.$ac_ext >&5
4780 rm -f core conftest.err conftest.$ac_objext
4781 test "x$ac_cv_prog_cc_c89" != "xno" && break
4783 rm -f conftest.$ac_ext
4788 case "x$ac_cv_prog_cc_c89" in
4790 { echo "$as_me:$LINENO: result: none needed" >&5
4791 echo "${ECHO_T}none needed" >&6; } ;;
4793 { echo "$as_me:$LINENO: result: unsupported" >&5
4794 echo "${ECHO_T}unsupported" >&6; } ;;
4796 CC="$CC $ac_cv_prog_cc_c89"
4797 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4798 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4803 ac_cpp='$CPP $CPPFLAGS'
4804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4808 depcc="$CC" am_compiler_list=
4810 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4811 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4812 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4813 echo $ECHO_N "(cached) $ECHO_C" >&6
4815 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4816 # We make a subdir and do the tests there. Otherwise we can end up
4817 # making bogus files that we don't know about and never remove. For
4818 # instance it was reported that on HP-UX the gcc test will end up
4819 # making a dummy file named `D' -- because `-MD' means `put the output
4822 # Copy depcomp to subdir because otherwise we won't find it if we're
4823 # using a relative directory.
4824 cp "$am_depcomp" conftest.dir
4826 # We will build objects and dependencies in a subdirectory because
4827 # it helps to detect inapplicable dependency modes. For instance
4828 # both Tru64's cc and ICC support -MD to output dependencies as a
4829 # side effect of compilation, but ICC will put the dependencies in
4830 # the current directory while Tru64 will put them in the object
4834 am_cv_CC_dependencies_compiler_type=none
4835 if test "$am_compiler_list" = ""; then
4836 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4838 for depmode in $am_compiler_list; do
4839 # Setup a source with many dependencies, because some compilers
4840 # like to wrap large dependency lists on column 80 (with \), and
4841 # we should not choose a depcomp mode which is confused by this.
4843 # We need to recreate these files for each test, as the compiler may
4844 # overwrite some of them when testing with obscure command lines.
4845 # This happens at least with the AIX C compiler.
4847 for i in 1 2 3 4 5 6; do
4848 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4849 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4850 # Solaris 8's {/usr,}/bin/sh.
4851 touch sub/conftst$i.h
4853 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4857 # after this tag, mechanisms are not by side-effect, so they'll
4858 # only be used when explicitly requested
4859 if test "x$enable_dependency_tracking" = xyes; then
4867 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4868 # mode. It turns out that the SunPro C++ compiler does not properly
4869 # handle `-M -o', and we need to detect this.
4870 if depmode=$depmode \
4871 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4872 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4873 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4874 >/dev/null 2>conftest.err &&
4875 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4876 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4877 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4878 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4879 # icc doesn't choke on unknown options, it will just issue warnings
4880 # or remarks (even with -Werror). So we grep stderr for any message
4881 # that says an option was ignored or not supported.
4882 # When given -MP, icc 7.0 and 7.1 complain thusly:
4883 # icc: Command line warning: ignoring option '-M'; no argument required
4884 # The diagnosis changed in icc 8.0:
4885 # icc: Command line remark: option '-MP' not supported
4886 if (grep 'ignoring option' conftest.err ||
4887 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4888 am_cv_CC_dependencies_compiler_type=$depmode
4897 am_cv_CC_dependencies_compiler_type=none
4901 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4902 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4903 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4906 test "x$enable_dependency_tracking" != xno \
4907 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4909 am__fastdepCC_FALSE='#'
4911 am__fastdepCC_TRUE='#'
4912 am__fastdepCC_FALSE=
4917 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
4920 ac_cpp='$CPP $CPPFLAGS'
4921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4924 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4925 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4926 # On Suns, sometimes $CPP names a directory.
4927 if test -n "$CPP" && test -d "$CPP"; then
4930 if test -z "$CPP"; then
4931 if test "${ac_cv_prog_CPP+set}" = set; then
4932 echo $ECHO_N "(cached) $ECHO_C" >&6
4934 # Double quotes because CPP needs to be expanded
4935 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4938 for ac_c_preproc_warn_flag in '' yes
4940 # Use a header file that comes with gcc, so configuring glibc
4941 # with a fresh cross-compiler works.
4942 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4943 # <limits.h> exists even on freestanding compilers.
4944 # On the NeXT, cc -E runs the code through the compiler's parser,
4945 # not just through cpp. "Syntax error" is here to catch this case.
4946 cat >conftest.$ac_ext <<_ACEOF
4949 cat confdefs.h >>conftest.$ac_ext
4950 cat >>conftest.$ac_ext <<_ACEOF
4951 /* end confdefs.h. */
4953 @%:@ include <limits.h>
4955 @%:@ include <assert.h>
4959 if { (ac_try="$ac_cpp conftest.$ac_ext"
4961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4962 *) ac_try_echo=$ac_try;;
4964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4965 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4967 grep -v '^ *+' conftest.er1 >conftest.err
4969 cat conftest.err >&5
4970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4971 (exit $ac_status); } >/dev/null && {
4972 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4973 test ! -s conftest.err
4977 echo "$as_me: failed program was:" >&5
4978 sed 's/^/| /' conftest.$ac_ext >&5
4980 # Broken: fails on valid input.
4984 rm -f conftest.err conftest.$ac_ext
4986 # OK, works on sane cases. Now check whether nonexistent headers
4987 # can be detected and how.
4988 cat >conftest.$ac_ext <<_ACEOF
4991 cat confdefs.h >>conftest.$ac_ext
4992 cat >>conftest.$ac_ext <<_ACEOF
4993 /* end confdefs.h. */
4994 @%:@include <ac_nonexistent.h>
4996 if { (ac_try="$ac_cpp conftest.$ac_ext"
4998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4999 *) ac_try_echo=$ac_try;;
5001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5002 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5004 grep -v '^ *+' conftest.er1 >conftest.err
5006 cat conftest.err >&5
5007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5008 (exit $ac_status); } >/dev/null && {
5009 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5010 test ! -s conftest.err
5012 # Broken: success on invalid input.
5015 echo "$as_me: failed program was:" >&5
5016 sed 's/^/| /' conftest.$ac_ext >&5
5018 # Passes both tests.
5023 rm -f conftest.err conftest.$ac_ext
5026 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5027 rm -f conftest.err conftest.$ac_ext
5028 if $ac_preproc_ok; then
5040 { echo "$as_me:$LINENO: result: $CPP" >&5
5041 echo "${ECHO_T}$CPP" >&6; }
5043 for ac_c_preproc_warn_flag in '' yes
5045 # Use a header file that comes with gcc, so configuring glibc
5046 # with a fresh cross-compiler works.
5047 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5048 # <limits.h> exists even on freestanding compilers.
5049 # On the NeXT, cc -E runs the code through the compiler's parser,
5050 # not just through cpp. "Syntax error" is here to catch this case.
5051 cat >conftest.$ac_ext <<_ACEOF
5054 cat confdefs.h >>conftest.$ac_ext
5055 cat >>conftest.$ac_ext <<_ACEOF
5056 /* end confdefs.h. */
5058 @%:@ include <limits.h>
5060 @%:@ include <assert.h>
5064 if { (ac_try="$ac_cpp conftest.$ac_ext"
5066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5067 *) ac_try_echo=$ac_try;;
5069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5070 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5072 grep -v '^ *+' conftest.er1 >conftest.err
5074 cat conftest.err >&5
5075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5076 (exit $ac_status); } >/dev/null && {
5077 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5078 test ! -s conftest.err
5082 echo "$as_me: failed program was:" >&5
5083 sed 's/^/| /' conftest.$ac_ext >&5
5085 # Broken: fails on valid input.
5089 rm -f conftest.err conftest.$ac_ext
5091 # OK, works on sane cases. Now check whether nonexistent headers
5092 # can be detected and how.
5093 cat >conftest.$ac_ext <<_ACEOF
5096 cat confdefs.h >>conftest.$ac_ext
5097 cat >>conftest.$ac_ext <<_ACEOF
5098 /* end confdefs.h. */
5099 @%:@include <ac_nonexistent.h>
5101 if { (ac_try="$ac_cpp conftest.$ac_ext"
5103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5104 *) ac_try_echo=$ac_try;;
5106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5107 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5109 grep -v '^ *+' conftest.er1 >conftest.err
5111 cat conftest.err >&5
5112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5113 (exit $ac_status); } >/dev/null && {
5114 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5115 test ! -s conftest.err
5117 # Broken: success on invalid input.
5120 echo "$as_me: failed program was:" >&5
5121 sed 's/^/| /' conftest.$ac_ext >&5
5123 # Passes both tests.
5128 rm -f conftest.err conftest.$ac_ext
5131 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5132 rm -f conftest.err conftest.$ac_ext
5133 if $ac_preproc_ok; then
5136 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5137 See \`config.log' for more details." >&5
5138 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5139 See \`config.log' for more details." >&2;}
5140 { (exit 1); exit 1; }; }
5144 ac_cpp='$CPP $CPPFLAGS'
5145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5150 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5151 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5152 if test "${ac_cv_path_GREP+set}" = set; then
5153 echo $ECHO_N "(cached) $ECHO_C" >&6
5155 # Extract the first word of "grep ggrep" to use in msg output
5156 if test -z "$GREP"; then
5157 set dummy grep ggrep; ac_prog_name=$2
5158 if test "${ac_cv_path_GREP+set}" = set; then
5159 echo $ECHO_N "(cached) $ECHO_C" >&6
5161 ac_path_GREP_found=false
5162 # Loop through the user's path and test for each of PROGNAME-LIST
5163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5164 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5167 test -z "$as_dir" && as_dir=.
5168 for ac_prog in grep ggrep; do
5169 for ac_exec_ext in '' $ac_executable_extensions; do
5170 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5171 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5172 # Check for GNU ac_path_GREP and select it if it is found.
5173 # Check for GNU $ac_path_GREP
5174 case `"$ac_path_GREP" --version 2>&1` in
5176 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5179 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5182 cat "conftest.in" "conftest.in" >"conftest.tmp"
5183 mv "conftest.tmp" "conftest.in"
5184 cp "conftest.in" "conftest.nl"
5185 echo 'GREP' >> "conftest.nl"
5186 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5187 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5188 ac_count=`expr $ac_count + 1`
5189 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5190 # Best one so far, save it but keep looking for a better one
5191 ac_cv_path_GREP="$ac_path_GREP"
5192 ac_path_GREP_max=$ac_count
5194 # 10*(2^10) chars as input seems more than enough
5195 test $ac_count -gt 10 && break
5197 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5201 $ac_path_GREP_found && break 3
5211 GREP="$ac_cv_path_GREP"
5212 if test -z "$GREP"; then
5213 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5214 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5215 { (exit 1); exit 1; }; }
5219 ac_cv_path_GREP=$GREP
5224 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5225 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5226 GREP="$ac_cv_path_GREP"
5229 { echo "$as_me:$LINENO: checking for egrep" >&5
5230 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5231 if test "${ac_cv_path_EGREP+set}" = set; then
5232 echo $ECHO_N "(cached) $ECHO_C" >&6
5234 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5235 then ac_cv_path_EGREP="$GREP -E"
5237 # Extract the first word of "egrep" to use in msg output
5238 if test -z "$EGREP"; then
5239 set dummy egrep; ac_prog_name=$2
5240 if test "${ac_cv_path_EGREP+set}" = set; then
5241 echo $ECHO_N "(cached) $ECHO_C" >&6
5243 ac_path_EGREP_found=false
5244 # Loop through the user's path and test for each of PROGNAME-LIST
5245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5246 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5249 test -z "$as_dir" && as_dir=.
5250 for ac_prog in egrep; do
5251 for ac_exec_ext in '' $ac_executable_extensions; do
5252 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5253 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5254 # Check for GNU ac_path_EGREP and select it if it is found.
5255 # Check for GNU $ac_path_EGREP
5256 case `"$ac_path_EGREP" --version 2>&1` in
5258 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5261 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5264 cat "conftest.in" "conftest.in" >"conftest.tmp"
5265 mv "conftest.tmp" "conftest.in"
5266 cp "conftest.in" "conftest.nl"
5267 echo 'EGREP' >> "conftest.nl"
5268 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5269 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5270 ac_count=`expr $ac_count + 1`
5271 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5272 # Best one so far, save it but keep looking for a better one
5273 ac_cv_path_EGREP="$ac_path_EGREP"
5274 ac_path_EGREP_max=$ac_count
5276 # 10*(2^10) chars as input seems more than enough
5277 test $ac_count -gt 10 && break
5279 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5283 $ac_path_EGREP_found && break 3
5293 EGREP="$ac_cv_path_EGREP"
5294 if test -z "$EGREP"; then
5295 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5296 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5297 { (exit 1); exit 1; }; }
5301 ac_cv_path_EGREP=$EGREP
5307 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5308 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5309 EGREP="$ac_cv_path_EGREP"
5312 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5313 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5314 if test "${ac_cv_header_stdc+set}" = set; then
5315 echo $ECHO_N "(cached) $ECHO_C" >&6
5317 cat >conftest.$ac_ext <<_ACEOF
5320 cat confdefs.h >>conftest.$ac_ext
5321 cat >>conftest.$ac_ext <<_ACEOF
5322 /* end confdefs.h. */
5336 rm -f conftest.$ac_objext
5337 if { (ac_try="$ac_compile"
5339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5340 *) ac_try_echo=$ac_try;;
5342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5343 (eval "$ac_compile") 2>conftest.er1
5345 grep -v '^ *+' conftest.er1 >conftest.err
5347 cat conftest.err >&5
5348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5349 (exit $ac_status); } && {
5350 test -z "$ac_c_werror_flag" ||
5351 test ! -s conftest.err
5352 } && test -s conftest.$ac_objext; then
5353 ac_cv_header_stdc=yes
5355 echo "$as_me: failed program was:" >&5
5356 sed 's/^/| /' conftest.$ac_ext >&5
5358 ac_cv_header_stdc=no
5361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5363 if test $ac_cv_header_stdc = yes; then
5364 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5365 cat >conftest.$ac_ext <<_ACEOF
5368 cat confdefs.h >>conftest.$ac_ext
5369 cat >>conftest.$ac_ext <<_ACEOF
5370 /* end confdefs.h. */
5374 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5375 $EGREP "memchr" >/dev/null 2>&1; then
5378 ac_cv_header_stdc=no
5384 if test $ac_cv_header_stdc = yes; then
5385 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5386 cat >conftest.$ac_ext <<_ACEOF
5389 cat confdefs.h >>conftest.$ac_ext
5390 cat >>conftest.$ac_ext <<_ACEOF
5391 /* end confdefs.h. */
5395 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5396 $EGREP "free" >/dev/null 2>&1; then
5399 ac_cv_header_stdc=no
5405 if test $ac_cv_header_stdc = yes; then
5406 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5407 if test "$cross_compiling" = yes; then
5410 cat >conftest.$ac_ext <<_ACEOF
5413 cat confdefs.h >>conftest.$ac_ext
5414 cat >>conftest.$ac_ext <<_ACEOF
5415 /* end confdefs.h. */
5418 #if ((' ' & 0x0FF) == 0x020)
5419 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5420 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5422 # define ISLOWER(c) \
5423 (('a' <= (c) && (c) <= 'i') \
5424 || ('j' <= (c) && (c) <= 'r') \
5425 || ('s' <= (c) && (c) <= 'z'))
5426 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5429 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5434 for (i = 0; i < 256; i++)
5435 if (XOR (islower (i), ISLOWER (i))
5436 || toupper (i) != TOUPPER (i))
5441 rm -f conftest$ac_exeext
5442 if { (ac_try="$ac_link"
5444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5445 *) ac_try_echo=$ac_try;;
5447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5448 (eval "$ac_link") 2>&5
5450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5451 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5452 { (case "(($ac_try" in
5453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5454 *) ac_try_echo=$ac_try;;
5456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5457 (eval "$ac_try") 2>&5
5459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5460 (exit $ac_status); }; }; then
5463 echo "$as_me: program exited with status $ac_status" >&5
5464 echo "$as_me: failed program was:" >&5
5465 sed 's/^/| /' conftest.$ac_ext >&5
5468 ac_cv_header_stdc=no
5470 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5476 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5477 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5478 if test $ac_cv_header_stdc = yes; then
5480 cat >>confdefs.h <<\_ACEOF
5481 @%:@define STDC_HEADERS 1
5490 GETTEXT_PACKAGE=opendashboard
5493 cat >>confdefs.h <<_ACEOF
5494 @%:@define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
5497 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5507 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5508 inttypes.h stdint.h unistd.h
5510 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5511 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5513 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5514 echo $ECHO_N "(cached) $ECHO_C" >&6
5516 cat >conftest.$ac_ext <<_ACEOF
5519 cat confdefs.h >>conftest.$ac_ext
5520 cat >>conftest.$ac_ext <<_ACEOF
5521 /* end confdefs.h. */
5522 $ac_includes_default
5524 @%:@include <$ac_header>
5526 rm -f conftest.$ac_objext
5527 if { (ac_try="$ac_compile"
5529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5530 *) ac_try_echo=$ac_try;;
5532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5533 (eval "$ac_compile") 2>conftest.er1
5535 grep -v '^ *+' conftest.er1 >conftest.err
5537 cat conftest.err >&5
5538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5539 (exit $ac_status); } && {
5540 test -z "$ac_c_werror_flag" ||
5541 test ! -s conftest.err
5542 } && test -s conftest.$ac_objext; then
5543 eval "$as_ac_Header=yes"
5545 echo "$as_me: failed program was:" >&5
5546 sed 's/^/| /' conftest.$ac_ext >&5
5548 eval "$as_ac_Header=no"
5551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5553 ac_res=`eval echo '${'$as_ac_Header'}'`
5554 { echo "$as_me:$LINENO: result: $ac_res" >&5
5555 echo "${ECHO_T}$ac_res" >&6; }
5556 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5557 cat >>confdefs.h <<_ACEOF
5558 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5566 # Make sure we can run config.sub.
5567 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5568 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
5569 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
5570 { (exit 1); exit 1; }; }
5572 { echo "$as_me:$LINENO: checking build system type" >&5
5573 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
5574 if test "${ac_cv_build+set}" = set; then
5575 echo $ECHO_N "(cached) $ECHO_C" >&6
5577 ac_build_alias=$build_alias
5578 test "x$ac_build_alias" = x &&
5579 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5580 test "x$ac_build_alias" = x &&
5581 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5582 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5583 { (exit 1); exit 1; }; }
5584 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5585 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
5586 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
5587 { (exit 1); exit 1; }; }
5590 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5591 echo "${ECHO_T}$ac_cv_build" >&6; }
5592 case $ac_cv_build in
5594 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
5595 echo "$as_me: error: invalid value of canonical build" >&2;}
5596 { (exit 1); exit 1; }; };;
5599 ac_save_IFS=$IFS; IFS='-'
5605 # Remember, the first character of IFS is used to create $*,
5606 # except with old shells:
5609 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5612 { echo "$as_me:$LINENO: checking host system type" >&5
5613 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
5614 if test "${ac_cv_host+set}" = set; then
5615 echo $ECHO_N "(cached) $ECHO_C" >&6
5617 if test "x$host_alias" = x; then
5618 ac_cv_host=$ac_cv_build
5620 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5621 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
5622 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
5623 { (exit 1); exit 1; }; }
5627 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5628 echo "${ECHO_T}$ac_cv_host" >&6; }
5631 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
5632 echo "$as_me: error: invalid value of canonical host" >&2;}
5633 { (exit 1); exit 1; }; };;
5636 ac_save_IFS=$IFS; IFS='-'
5642 # Remember, the first character of IFS is used to create $*,
5643 # except with old shells:
5646 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5651 for ac_header in locale.h
5653 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5654 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5655 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5656 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5657 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5658 echo $ECHO_N "(cached) $ECHO_C" >&6
5660 ac_res=`eval echo '${'$as_ac_Header'}'`
5661 { echo "$as_me:$LINENO: result: $ac_res" >&5
5662 echo "${ECHO_T}$ac_res" >&6; }
5664 # Is the header compilable?
5665 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5666 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5667 cat >conftest.$ac_ext <<_ACEOF
5670 cat confdefs.h >>conftest.$ac_ext
5671 cat >>conftest.$ac_ext <<_ACEOF
5672 /* end confdefs.h. */
5673 $ac_includes_default
5674 @%:@include <$ac_header>
5676 rm -f conftest.$ac_objext
5677 if { (ac_try="$ac_compile"
5679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5680 *) ac_try_echo=$ac_try;;
5682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5683 (eval "$ac_compile") 2>conftest.er1
5685 grep -v '^ *+' conftest.er1 >conftest.err
5687 cat conftest.err >&5
5688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5689 (exit $ac_status); } && {
5690 test -z "$ac_c_werror_flag" ||
5691 test ! -s conftest.err
5692 } && test -s conftest.$ac_objext; then
5693 ac_header_compiler=yes
5695 echo "$as_me: failed program was:" >&5
5696 sed 's/^/| /' conftest.$ac_ext >&5
5698 ac_header_compiler=no
5701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5702 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5703 echo "${ECHO_T}$ac_header_compiler" >&6; }
5705 # Is the header present?
5706 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5707 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5708 cat >conftest.$ac_ext <<_ACEOF
5711 cat confdefs.h >>conftest.$ac_ext
5712 cat >>conftest.$ac_ext <<_ACEOF
5713 /* end confdefs.h. */
5714 @%:@include <$ac_header>
5716 if { (ac_try="$ac_cpp conftest.$ac_ext"
5718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5719 *) ac_try_echo=$ac_try;;
5721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5722 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5724 grep -v '^ *+' conftest.er1 >conftest.err
5726 cat conftest.err >&5
5727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5728 (exit $ac_status); } >/dev/null && {
5729 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5730 test ! -s conftest.err
5732 ac_header_preproc=yes
5734 echo "$as_me: failed program was:" >&5
5735 sed 's/^/| /' conftest.$ac_ext >&5
5737 ac_header_preproc=no
5740 rm -f conftest.err conftest.$ac_ext
5741 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5742 echo "${ECHO_T}$ac_header_preproc" >&6; }
5744 # So? What about this header?
5745 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5747 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5748 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5749 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5750 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5751 ac_header_preproc=yes
5754 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5755 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5756 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5757 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5758 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5759 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5760 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5761 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5763 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5764 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5765 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5769 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5770 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5771 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5772 echo $ECHO_N "(cached) $ECHO_C" >&6
5774 eval "$as_ac_Header=\$ac_header_preproc"
5776 ac_res=`eval echo '${'$as_ac_Header'}'`
5777 { echo "$as_me:$LINENO: result: $ac_res" >&5
5778 echo "${ECHO_T}$ac_res" >&6; }
5781 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5782 cat >>confdefs.h <<_ACEOF
5783 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5790 if test $ac_cv_header_locale_h = yes; then
5791 { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
5792 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
5793 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
5794 echo $ECHO_N "(cached) $ECHO_C" >&6
5796 cat >conftest.$ac_ext <<_ACEOF
5799 cat confdefs.h >>conftest.$ac_ext
5800 cat >>conftest.$ac_ext <<_ACEOF
5801 /* end confdefs.h. */
5811 rm -f conftest.$ac_objext conftest$ac_exeext
5812 if { (ac_try="$ac_link"
5814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5815 *) ac_try_echo=$ac_try;;
5817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5818 (eval "$ac_link") 2>conftest.er1
5820 grep -v '^ *+' conftest.er1 >conftest.err
5822 cat conftest.err >&5
5823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5824 (exit $ac_status); } && {
5825 test -z "$ac_c_werror_flag" ||
5826 test ! -s conftest.err
5827 } && test -s conftest$ac_exeext &&
5828 $as_test_x conftest$ac_exeext; then
5829 am_cv_val_LC_MESSAGES=yes
5831 echo "$as_me: failed program was:" >&5
5832 sed 's/^/| /' conftest.$ac_ext >&5
5834 am_cv_val_LC_MESSAGES=no
5837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5838 conftest$ac_exeext conftest.$ac_ext
5840 { echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
5841 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
5842 if test $am_cv_val_LC_MESSAGES = yes; then
5844 cat >>confdefs.h <<\_ACEOF
5845 @%:@define HAVE_LC_MESSAGES 1
5853 gt_cv_have_gettext=no
5859 if test "${ac_cv_header_libintl_h+set}" = set; then
5860 { echo "$as_me:$LINENO: checking for libintl.h" >&5
5861 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
5862 if test "${ac_cv_header_libintl_h+set}" = set; then
5863 echo $ECHO_N "(cached) $ECHO_C" >&6
5865 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
5866 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
5868 # Is the header compilable?
5869 { echo "$as_me:$LINENO: checking libintl.h usability" >&5
5870 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
5871 cat >conftest.$ac_ext <<_ACEOF
5874 cat confdefs.h >>conftest.$ac_ext
5875 cat >>conftest.$ac_ext <<_ACEOF
5876 /* end confdefs.h. */
5877 $ac_includes_default
5878 @%:@include <libintl.h>
5880 rm -f conftest.$ac_objext
5881 if { (ac_try="$ac_compile"
5883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5884 *) ac_try_echo=$ac_try;;
5886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5887 (eval "$ac_compile") 2>conftest.er1
5889 grep -v '^ *+' conftest.er1 >conftest.err
5891 cat conftest.err >&5
5892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5893 (exit $ac_status); } && {
5894 test -z "$ac_c_werror_flag" ||
5895 test ! -s conftest.err
5896 } && test -s conftest.$ac_objext; then
5897 ac_header_compiler=yes
5899 echo "$as_me: failed program was:" >&5
5900 sed 's/^/| /' conftest.$ac_ext >&5
5902 ac_header_compiler=no
5905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5906 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5907 echo "${ECHO_T}$ac_header_compiler" >&6; }
5909 # Is the header present?
5910 { echo "$as_me:$LINENO: checking libintl.h presence" >&5
5911 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
5912 cat >conftest.$ac_ext <<_ACEOF
5915 cat confdefs.h >>conftest.$ac_ext
5916 cat >>conftest.$ac_ext <<_ACEOF
5917 /* end confdefs.h. */
5918 @%:@include <libintl.h>
5920 if { (ac_try="$ac_cpp conftest.$ac_ext"
5922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5923 *) ac_try_echo=$ac_try;;
5925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5926 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5928 grep -v '^ *+' conftest.er1 >conftest.err
5930 cat conftest.err >&5
5931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5932 (exit $ac_status); } >/dev/null && {
5933 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5934 test ! -s conftest.err
5936 ac_header_preproc=yes
5938 echo "$as_me: failed program was:" >&5
5939 sed 's/^/| /' conftest.$ac_ext >&5
5941 ac_header_preproc=no
5944 rm -f conftest.err conftest.$ac_ext
5945 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5946 echo "${ECHO_T}$ac_header_preproc" >&6; }
5948 # So? What about this header?
5949 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5951 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
5952 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5953 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
5954 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
5955 ac_header_preproc=yes
5958 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
5959 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
5960 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
5961 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
5962 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
5963 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
5964 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
5965 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
5966 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
5967 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
5968 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
5969 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
5973 { echo "$as_me:$LINENO: checking for libintl.h" >&5
5974 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
5975 if test "${ac_cv_header_libintl_h+set}" = set; then
5976 echo $ECHO_N "(cached) $ECHO_C" >&6
5978 ac_cv_header_libintl_h=$ac_header_preproc
5980 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
5981 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
5984 if test $ac_cv_header_libintl_h = yes; then
5985 gt_cv_func_dgettext_libintl="no"
5986 libintl_extra_libs=""
5989 # First check in libc
5991 { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
5992 echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
5993 if test "${gt_cv_func_ngettext_libc+set}" = set; then
5994 echo $ECHO_N "(cached) $ECHO_C" >&6
5996 cat >conftest.$ac_ext <<_ACEOF
5999 cat confdefs.h >>conftest.$ac_ext
6000 cat >>conftest.$ac_ext <<_ACEOF
6001 /* end confdefs.h. */
6003 #include <libintl.h>
6008 return !ngettext ("","", 1)
6013 rm -f conftest.$ac_objext conftest$ac_exeext
6014 if { (ac_try="$ac_link"
6016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6017 *) ac_try_echo=$ac_try;;
6019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6020 (eval "$ac_link") 2>conftest.er1
6022 grep -v '^ *+' conftest.er1 >conftest.err
6024 cat conftest.err >&5
6025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6026 (exit $ac_status); } && {
6027 test -z "$ac_c_werror_flag" ||
6028 test ! -s conftest.err
6029 } && test -s conftest$ac_exeext &&
6030 $as_test_x conftest$ac_exeext; then
6031 gt_cv_func_ngettext_libc=yes
6033 echo "$as_me: failed program was:" >&5
6034 sed 's/^/| /' conftest.$ac_ext >&5
6036 gt_cv_func_ngettext_libc=no
6039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6040 conftest$ac_exeext conftest.$ac_ext
6043 { echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
6044 echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
6046 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6047 { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
6048 echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
6049 if test "${gt_cv_func_dgettext_libc+set}" = set; then
6050 echo $ECHO_N "(cached) $ECHO_C" >&6
6052 cat >conftest.$ac_ext <<_ACEOF
6055 cat confdefs.h >>conftest.$ac_ext
6056 cat >>conftest.$ac_ext <<_ACEOF
6057 /* end confdefs.h. */
6059 #include <libintl.h>
6064 return !dgettext ("","")
6069 rm -f conftest.$ac_objext conftest$ac_exeext
6070 if { (ac_try="$ac_link"
6072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6073 *) ac_try_echo=$ac_try;;
6075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6076 (eval "$ac_link") 2>conftest.er1
6078 grep -v '^ *+' conftest.er1 >conftest.err
6080 cat conftest.err >&5
6081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6082 (exit $ac_status); } && {
6083 test -z "$ac_c_werror_flag" ||
6084 test ! -s conftest.err
6085 } && test -s conftest$ac_exeext &&
6086 $as_test_x conftest$ac_exeext; then
6087 gt_cv_func_dgettext_libc=yes
6089 echo "$as_me: failed program was:" >&5
6090 sed 's/^/| /' conftest.$ac_ext >&5
6092 gt_cv_func_dgettext_libc=no
6095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6096 conftest$ac_exeext conftest.$ac_ext
6099 { echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
6100 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
6103 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6105 for ac_func in bind_textdomain_codeset
6107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6108 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6110 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6111 echo $ECHO_N "(cached) $ECHO_C" >&6
6113 cat >conftest.$ac_ext <<_ACEOF
6116 cat confdefs.h >>conftest.$ac_ext
6117 cat >>conftest.$ac_ext <<_ACEOF
6118 /* end confdefs.h. */
6119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6121 #define $ac_func innocuous_$ac_func
6123 /* System header to define __stub macros and hopefully few prototypes,
6124 which can conflict with char $ac_func (); below.
6125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6126 <limits.h> exists even on freestanding compilers. */
6129 # include <limits.h>
6131 # include <assert.h>
6136 /* Override any GCC internal prototype to avoid an error.
6137 Use char because int might match the return type of a GCC
6138 builtin and then its argument prototype would still apply. */
6143 /* The GNU C library defines this for functions which it implements
6144 to always fail with ENOSYS. Some functions are actually named
6145 something starting with __ and the normal name is an alias. */
6146 #if defined __stub_$ac_func || defined __stub___$ac_func
6158 rm -f conftest.$ac_objext conftest$ac_exeext
6159 if { (ac_try="$ac_link"
6161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6162 *) ac_try_echo=$ac_try;;
6164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6165 (eval "$ac_link") 2>conftest.er1
6167 grep -v '^ *+' conftest.er1 >conftest.err
6169 cat conftest.err >&5
6170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6171 (exit $ac_status); } && {
6172 test -z "$ac_c_werror_flag" ||
6173 test ! -s conftest.err
6174 } && test -s conftest$ac_exeext &&
6175 $as_test_x conftest$ac_exeext; then
6176 eval "$as_ac_var=yes"
6178 echo "$as_me: failed program was:" >&5
6179 sed 's/^/| /' conftest.$ac_ext >&5
6181 eval "$as_ac_var=no"
6184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6185 conftest$ac_exeext conftest.$ac_ext
6187 ac_res=`eval echo '${'$as_ac_var'}'`
6188 { echo "$as_me:$LINENO: result: $ac_res" >&5
6189 echo "${ECHO_T}$ac_res" >&6; }
6190 if test `eval echo '${'$as_ac_var'}'` = yes; then
6191 cat >>confdefs.h <<_ACEOF
6192 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6201 # If we don't have everything we want, check in libintl
6203 if test "$gt_cv_func_dgettext_libc" != "yes" \
6204 || test "$gt_cv_func_ngettext_libc" != "yes" \
6205 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
6207 { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
6208 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
6209 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
6210 echo $ECHO_N "(cached) $ECHO_C" >&6
6212 ac_check_lib_save_LIBS=$LIBS
6214 cat >conftest.$ac_ext <<_ACEOF
6217 cat confdefs.h >>conftest.$ac_ext
6218 cat >>conftest.$ac_ext <<_ACEOF
6219 /* end confdefs.h. */
6221 /* Override any GCC internal prototype to avoid an error.
6222 Use char because int might match the return type of a GCC
6223 builtin and then its argument prototype would still apply. */
6227 char bindtextdomain ();
6231 return bindtextdomain ();
6236 rm -f conftest.$ac_objext conftest$ac_exeext
6237 if { (ac_try="$ac_link"
6239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6240 *) ac_try_echo=$ac_try;;
6242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6243 (eval "$ac_link") 2>conftest.er1
6245 grep -v '^ *+' conftest.er1 >conftest.err
6247 cat conftest.err >&5
6248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6249 (exit $ac_status); } && {
6250 test -z "$ac_c_werror_flag" ||
6251 test ! -s conftest.err
6252 } && test -s conftest$ac_exeext &&
6253 $as_test_x conftest$ac_exeext; then
6254 ac_cv_lib_intl_bindtextdomain=yes
6256 echo "$as_me: failed program was:" >&5
6257 sed 's/^/| /' conftest.$ac_ext >&5
6259 ac_cv_lib_intl_bindtextdomain=no
6262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6263 conftest$ac_exeext conftest.$ac_ext
6264 LIBS=$ac_check_lib_save_LIBS
6266 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
6267 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
6268 if test $ac_cv_lib_intl_bindtextdomain = yes; then
6269 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
6270 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
6271 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
6272 echo $ECHO_N "(cached) $ECHO_C" >&6
6274 ac_check_lib_save_LIBS=$LIBS
6276 cat >conftest.$ac_ext <<_ACEOF
6279 cat confdefs.h >>conftest.$ac_ext
6280 cat >>conftest.$ac_ext <<_ACEOF
6281 /* end confdefs.h. */
6283 /* Override any GCC internal prototype to avoid an error.
6284 Use char because int might match the return type of a GCC
6285 builtin and then its argument prototype would still apply. */
6298 rm -f conftest.$ac_objext conftest$ac_exeext
6299 if { (ac_try="$ac_link"
6301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6302 *) ac_try_echo=$ac_try;;
6304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6305 (eval "$ac_link") 2>conftest.er1
6307 grep -v '^ *+' conftest.er1 >conftest.err
6309 cat conftest.err >&5
6310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6311 (exit $ac_status); } && {
6312 test -z "$ac_c_werror_flag" ||
6313 test ! -s conftest.err
6314 } && test -s conftest$ac_exeext &&
6315 $as_test_x conftest$ac_exeext; then
6316 ac_cv_lib_intl_ngettext=yes
6318 echo "$as_me: failed program was:" >&5
6319 sed 's/^/| /' conftest.$ac_ext >&5
6321 ac_cv_lib_intl_ngettext=no
6324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6325 conftest$ac_exeext conftest.$ac_ext
6326 LIBS=$ac_check_lib_save_LIBS
6328 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
6329 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
6330 if test $ac_cv_lib_intl_ngettext = yes; then
6331 { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
6332 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
6333 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
6334 echo $ECHO_N "(cached) $ECHO_C" >&6
6336 ac_check_lib_save_LIBS=$LIBS
6338 cat >conftest.$ac_ext <<_ACEOF
6341 cat confdefs.h >>conftest.$ac_ext
6342 cat >>conftest.$ac_ext <<_ACEOF
6343 /* end confdefs.h. */
6345 /* Override any GCC internal prototype to avoid an error.
6346 Use char because int might match the return type of a GCC
6347 builtin and then its argument prototype would still apply. */
6360 rm -f conftest.$ac_objext conftest$ac_exeext
6361 if { (ac_try="$ac_link"
6363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6364 *) ac_try_echo=$ac_try;;
6366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6367 (eval "$ac_link") 2>conftest.er1
6369 grep -v '^ *+' conftest.er1 >conftest.err
6371 cat conftest.err >&5
6372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6373 (exit $ac_status); } && {
6374 test -z "$ac_c_werror_flag" ||
6375 test ! -s conftest.err
6376 } && test -s conftest$ac_exeext &&
6377 $as_test_x conftest$ac_exeext; then
6378 ac_cv_lib_intl_dgettext=yes
6380 echo "$as_me: failed program was:" >&5
6381 sed 's/^/| /' conftest.$ac_ext >&5
6383 ac_cv_lib_intl_dgettext=no
6386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6387 conftest$ac_exeext conftest.$ac_ext
6388 LIBS=$ac_check_lib_save_LIBS
6390 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
6391 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
6392 if test $ac_cv_lib_intl_dgettext = yes; then
6393 gt_cv_func_dgettext_libintl=yes
6401 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
6402 { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
6403 echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
6404 { echo "$as_me:$LINENO: result: " >&5
6405 echo "${ECHO_T}" >&6; }
6406 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
6407 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
6408 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
6409 echo $ECHO_N "(cached) $ECHO_C" >&6
6411 ac_check_lib_save_LIBS=$LIBS
6412 LIBS="-lintl -liconv $LIBS"
6413 cat >conftest.$ac_ext <<_ACEOF
6416 cat confdefs.h >>conftest.$ac_ext
6417 cat >>conftest.$ac_ext <<_ACEOF
6418 /* end confdefs.h. */
6420 /* Override any GCC internal prototype to avoid an error.
6421 Use char because int might match the return type of a GCC
6422 builtin and then its argument prototype would still apply. */
6435 rm -f conftest.$ac_objext conftest$ac_exeext
6436 if { (ac_try="$ac_link"
6438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6439 *) ac_try_echo=$ac_try;;
6441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6442 (eval "$ac_link") 2>conftest.er1
6444 grep -v '^ *+' conftest.er1 >conftest.err
6446 cat conftest.err >&5
6447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6448 (exit $ac_status); } && {
6449 test -z "$ac_c_werror_flag" ||
6450 test ! -s conftest.err
6451 } && test -s conftest$ac_exeext &&
6452 $as_test_x conftest$ac_exeext; then
6453 ac_cv_lib_intl_ngettext=yes
6455 echo "$as_me: failed program was:" >&5
6456 sed 's/^/| /' conftest.$ac_ext >&5
6458 ac_cv_lib_intl_ngettext=no
6461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6462 conftest$ac_exeext conftest.$ac_ext
6463 LIBS=$ac_check_lib_save_LIBS
6465 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
6466 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
6467 if test $ac_cv_lib_intl_ngettext = yes; then
6468 { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
6469 echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
6470 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
6471 echo $ECHO_N "(cached) $ECHO_C" >&6
6473 ac_check_lib_save_LIBS=$LIBS
6474 LIBS="-lintl -liconv $LIBS"
6475 cat >conftest.$ac_ext <<_ACEOF
6478 cat confdefs.h >>conftest.$ac_ext
6479 cat >>conftest.$ac_ext <<_ACEOF
6480 /* end confdefs.h. */
6482 /* Override any GCC internal prototype to avoid an error.
6483 Use char because int might match the return type of a GCC
6484 builtin and then its argument prototype would still apply. */
6492 return dcgettext ();
6497 rm -f conftest.$ac_objext conftest$ac_exeext
6498 if { (ac_try="$ac_link"
6500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6501 *) ac_try_echo=$ac_try;;
6503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6504 (eval "$ac_link") 2>conftest.er1
6506 grep -v '^ *+' conftest.er1 >conftest.err
6508 cat conftest.err >&5
6509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6510 (exit $ac_status); } && {
6511 test -z "$ac_c_werror_flag" ||
6512 test ! -s conftest.err
6513 } && test -s conftest$ac_exeext &&
6514 $as_test_x conftest$ac_exeext; then
6515 ac_cv_lib_intl_dcgettext=yes
6517 echo "$as_me: failed program was:" >&5
6518 sed 's/^/| /' conftest.$ac_ext >&5
6520 ac_cv_lib_intl_dcgettext=no
6523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6524 conftest$ac_exeext conftest.$ac_ext
6525 LIBS=$ac_check_lib_save_LIBS
6527 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
6528 echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
6529 if test $ac_cv_lib_intl_dcgettext = yes; then
6530 gt_cv_func_dgettext_libintl=yes
6531 libintl_extra_libs=-liconv
6543 # If we found libintl, then check in it for bind_textdomain_codeset();
6544 # we'll prefer libc if neither have bind_textdomain_codeset(),
6545 # and both have dgettext and ngettext
6547 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
6548 glib_save_LIBS="$LIBS"
6549 LIBS="$LIBS -lintl $libintl_extra_libs"
6550 unset ac_cv_func_bind_textdomain_codeset
6552 for ac_func in bind_textdomain_codeset
6554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6555 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6557 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6558 echo $ECHO_N "(cached) $ECHO_C" >&6
6560 cat >conftest.$ac_ext <<_ACEOF
6563 cat confdefs.h >>conftest.$ac_ext
6564 cat >>conftest.$ac_ext <<_ACEOF
6565 /* end confdefs.h. */
6566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6568 #define $ac_func innocuous_$ac_func
6570 /* System header to define __stub macros and hopefully few prototypes,
6571 which can conflict with char $ac_func (); below.
6572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6573 <limits.h> exists even on freestanding compilers. */
6576 # include <limits.h>
6578 # include <assert.h>
6583 /* Override any GCC internal prototype to avoid an error.
6584 Use char because int might match the return type of a GCC
6585 builtin and then its argument prototype would still apply. */
6590 /* The GNU C library defines this for functions which it implements
6591 to always fail with ENOSYS. Some functions are actually named
6592 something starting with __ and the normal name is an alias. */
6593 #if defined __stub_$ac_func || defined __stub___$ac_func
6605 rm -f conftest.$ac_objext conftest$ac_exeext
6606 if { (ac_try="$ac_link"
6608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6609 *) ac_try_echo=$ac_try;;
6611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6612 (eval "$ac_link") 2>conftest.er1
6614 grep -v '^ *+' conftest.er1 >conftest.err
6616 cat conftest.err >&5
6617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618 (exit $ac_status); } && {
6619 test -z "$ac_c_werror_flag" ||
6620 test ! -s conftest.err
6621 } && test -s conftest$ac_exeext &&
6622 $as_test_x conftest$ac_exeext; then
6623 eval "$as_ac_var=yes"
6625 echo "$as_me: failed program was:" >&5
6626 sed 's/^/| /' conftest.$ac_ext >&5
6628 eval "$as_ac_var=no"
6631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6632 conftest$ac_exeext conftest.$ac_ext
6634 ac_res=`eval echo '${'$as_ac_var'}'`
6635 { echo "$as_me:$LINENO: result: $ac_res" >&5
6636 echo "${ECHO_T}$ac_res" >&6; }
6637 if test `eval echo '${'$as_ac_var'}'` = yes; then
6638 cat >>confdefs.h <<_ACEOF
6639 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6645 LIBS="$glib_save_LIBS"
6647 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
6648 gt_cv_func_dgettext_libc=no
6650 if test "$gt_cv_func_dgettext_libc" = "yes" \
6651 && test "$gt_cv_func_ngettext_libc" = "yes"; then
6652 gt_cv_func_dgettext_libintl=no
6658 if test "$gt_cv_func_dgettext_libc" = "yes" \
6659 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
6660 gt_cv_have_gettext=yes
6663 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
6664 INTLLIBS="-lintl $libintl_extra_libs"
6667 if test "$gt_cv_have_gettext" = "yes"; then
6669 cat >>confdefs.h <<\_ACEOF
6670 @%:@define HAVE_GETTEXT 1
6673 # Extract the first word of "msgfmt", so it can be a program name with args.
6674 set dummy msgfmt; ac_word=$2
6675 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6677 if test "${ac_cv_path_MSGFMT+set}" = set; then
6678 echo $ECHO_N "(cached) $ECHO_C" >&6
6682 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
6685 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6686 for ac_dir in $PATH; do
6687 test -z "$ac_dir" && ac_dir=.
6688 if test -f $ac_dir/$ac_word; then
6689 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
6690 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
6696 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
6700 MSGFMT="$ac_cv_path_MSGFMT"
6701 if test "$MSGFMT" != "no"; then
6702 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
6703 echo "${ECHO_T}$MSGFMT" >&6; }
6705 { echo "$as_me:$LINENO: result: no" >&5
6706 echo "${ECHO_T}no" >&6; }
6708 if test "$MSGFMT" != "no"; then
6709 glib_save_LIBS="$LIBS"
6710 LIBS="$LIBS $INTLLIBS"
6712 for ac_func in dcgettext
6714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6715 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6717 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6718 echo $ECHO_N "(cached) $ECHO_C" >&6
6720 cat >conftest.$ac_ext <<_ACEOF
6723 cat confdefs.h >>conftest.$ac_ext
6724 cat >>conftest.$ac_ext <<_ACEOF
6725 /* end confdefs.h. */
6726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6728 #define $ac_func innocuous_$ac_func
6730 /* System header to define __stub macros and hopefully few prototypes,
6731 which can conflict with char $ac_func (); below.
6732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6733 <limits.h> exists even on freestanding compilers. */
6736 # include <limits.h>
6738 # include <assert.h>
6743 /* Override any GCC internal prototype to avoid an error.
6744 Use char because int might match the return type of a GCC
6745 builtin and then its argument prototype would still apply. */
6750 /* The GNU C library defines this for functions which it implements
6751 to always fail with ENOSYS. Some functions are actually named
6752 something starting with __ and the normal name is an alias. */
6753 #if defined __stub_$ac_func || defined __stub___$ac_func
6765 rm -f conftest.$ac_objext conftest$ac_exeext
6766 if { (ac_try="$ac_link"
6768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6769 *) ac_try_echo=$ac_try;;
6771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6772 (eval "$ac_link") 2>conftest.er1
6774 grep -v '^ *+' conftest.er1 >conftest.err
6776 cat conftest.err >&5
6777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6778 (exit $ac_status); } && {
6779 test -z "$ac_c_werror_flag" ||
6780 test ! -s conftest.err
6781 } && test -s conftest$ac_exeext &&
6782 $as_test_x conftest$ac_exeext; then
6783 eval "$as_ac_var=yes"
6785 echo "$as_me: failed program was:" >&5
6786 sed 's/^/| /' conftest.$ac_ext >&5
6788 eval "$as_ac_var=no"
6791 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6792 conftest$ac_exeext conftest.$ac_ext
6794 ac_res=`eval echo '${'$as_ac_var'}'`
6795 { echo "$as_me:$LINENO: result: $ac_res" >&5
6796 echo "${ECHO_T}$ac_res" >&6; }
6797 if test `eval echo '${'$as_ac_var'}'` = yes; then
6798 cat >>confdefs.h <<_ACEOF
6799 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6806 { echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
6807 echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
6808 cat >conftest.foo <<_ACEOF
6812 "Content-Type: text/plain; charset=UTF-8\n"
6813 "Project-Id-Version: test 1.0\n"
6814 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
6815 "Last-Translator: test <foo@bar.xx>\n"
6816 "Language-Team: C <LL@li.org>\n"
6817 "MIME-Version: 1.0\n"
6818 "Content-Transfer-Encoding: 8bit\n"
6821 if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
6822 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
6824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6825 (exit $ac_status); }; then
6826 MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
6827 echo "${ECHO_T}yes" >&6; }
6828 else { echo "$as_me:$LINENO: result: no" >&5
6829 echo "${ECHO_T}no" >&6; }
6830 echo "$as_me: failed input was:" >&5
6831 sed 's/^/| /' conftest.foo >&5
6834 # Extract the first word of "gmsgfmt", so it can be a program name with args.
6835 set dummy gmsgfmt; ac_word=$2
6836 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6838 if test "${ac_cv_path_GMSGFMT+set}" = set; then
6839 echo $ECHO_N "(cached) $ECHO_C" >&6
6843 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
6846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6850 test -z "$as_dir" && as_dir=.
6851 for ac_exec_ext in '' $ac_executable_extensions; do
6852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6853 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6861 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6865 GMSGFMT=$ac_cv_path_GMSGFMT
6866 if test -n "$GMSGFMT"; then
6867 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
6868 echo "${ECHO_T}$GMSGFMT" >&6; }
6870 { echo "$as_me:$LINENO: result: no" >&5
6871 echo "${ECHO_T}no" >&6; }
6875 # Extract the first word of "xgettext", so it can be a program name with args.
6876 set dummy xgettext; ac_word=$2
6877 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6879 if test "${ac_cv_path_XGETTEXT+set}" = set; then
6880 echo $ECHO_N "(cached) $ECHO_C" >&6
6884 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
6887 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6888 for ac_dir in $PATH; do
6889 test -z "$ac_dir" && ac_dir=.
6890 if test -f $ac_dir/$ac_word; then
6891 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
6892 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
6898 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
6902 XGETTEXT="$ac_cv_path_XGETTEXT"
6903 if test "$XGETTEXT" != ":"; then
6904 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
6905 echo "${ECHO_T}$XGETTEXT" >&6; }
6907 { echo "$as_me:$LINENO: result: no" >&5
6908 echo "${ECHO_T}no" >&6; }
6911 cat >conftest.$ac_ext <<_ACEOF
6914 cat confdefs.h >>conftest.$ac_ext
6915 cat >>conftest.$ac_ext <<_ACEOF
6916 /* end confdefs.h. */
6921 extern int _nl_msg_cat_cntr;
6922 return _nl_msg_cat_cntr
6927 rm -f conftest.$ac_objext conftest$ac_exeext
6928 if { (ac_try="$ac_link"
6930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6931 *) ac_try_echo=$ac_try;;
6933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6934 (eval "$ac_link") 2>conftest.er1
6936 grep -v '^ *+' conftest.er1 >conftest.err
6938 cat conftest.err >&5
6939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6940 (exit $ac_status); } && {
6941 test -z "$ac_c_werror_flag" ||
6942 test ! -s conftest.err
6943 } && test -s conftest$ac_exeext &&
6944 $as_test_x conftest$ac_exeext; then
6948 echo "$as_me: failed program was:" >&5
6949 sed 's/^/| /' conftest.$ac_ext >&5
6953 { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
6954 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
6955 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
6956 echo $ECHO_N "(cached) $ECHO_C" >&6
6958 cat >conftest.$ac_ext <<_ACEOF
6961 cat confdefs.h >>conftest.$ac_ext
6962 cat >>conftest.$ac_ext <<_ACEOF
6963 /* end confdefs.h. */
6964 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
6965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6966 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
6968 /* System header to define __stub macros and hopefully few prototypes,
6969 which can conflict with char bind_textdomain_codeset (); below.
6970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6971 <limits.h> exists even on freestanding compilers. */
6974 # include <limits.h>
6976 # include <assert.h>
6979 #undef bind_textdomain_codeset
6981 /* Override any GCC internal prototype to avoid an error.
6982 Use char because int might match the return type of a GCC
6983 builtin and then its argument prototype would still apply. */
6987 char bind_textdomain_codeset ();
6988 /* The GNU C library defines this for functions which it implements
6989 to always fail with ENOSYS. Some functions are actually named
6990 something starting with __ and the normal name is an alias. */
6991 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
6998 return bind_textdomain_codeset ();
7003 rm -f conftest.$ac_objext conftest$ac_exeext
7004 if { (ac_try="$ac_link"
7006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7007 *) ac_try_echo=$ac_try;;
7009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7010 (eval "$ac_link") 2>conftest.er1
7012 grep -v '^ *+' conftest.er1 >conftest.err
7014 cat conftest.err >&5
7015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7016 (exit $ac_status); } && {
7017 test -z "$ac_c_werror_flag" ||
7018 test ! -s conftest.err
7019 } && test -s conftest$ac_exeext &&
7020 $as_test_x conftest$ac_exeext; then
7021 ac_cv_func_bind_textdomain_codeset=yes
7023 echo "$as_me: failed program was:" >&5
7024 sed 's/^/| /' conftest.$ac_ext >&5
7026 ac_cv_func_bind_textdomain_codeset=no
7029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7030 conftest$ac_exeext conftest.$ac_ext
7032 { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
7033 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
7034 if test $ac_cv_func_bind_textdomain_codeset = yes; then
7050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7051 conftest$ac_exeext conftest.$ac_ext
7052 LIBS="$glib_save_LIBS"
7055 gt_cv_have_gettext=no
7063 if test "$gt_cv_have_gettext" = "yes" ; then
7065 cat >>confdefs.h <<\_ACEOF
7066 @%:@define ENABLE_NLS 1
7071 if test "$XGETTEXT" != ":"; then
7072 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
7075 { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
7076 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
7081 # We need to process the po/ directory.
7084 ac_config_commands="$ac_config_commands default-1"
7087 for lang in $ALL_LINGUAS; do
7088 GMOFILES="$GMOFILES $lang.gmo"
7089 POFILES="$POFILES $lang.po"
7104 if test "$gt_cv_have_gettext" = "yes"; then
7105 if test "x$ALL_LINGUAS" = "x"; then
7108 { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
7109 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
7111 for presentlang in $ALL_LINGUAS; do
7113 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
7114 desiredlanguages="$LINGUAS"
7116 desiredlanguages="$ALL_LINGUAS"
7118 for desiredlang in $desiredlanguages; do
7119 # Use the presentlang catalog if desiredlang is
7120 # a. equal to presentlang, or
7121 # b. a variant of presentlang (because in this case,
7122 # presentlang can be used as a fallback for messages
7123 # which are not translated in the desiredlang catalog).
7124 case "$desiredlang" in
7125 "$presentlang"*) useit=yes;;
7128 if test $useit = yes; then
7129 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
7132 LINGUAS=$NEW_LINGUAS
7133 { echo "$as_me:$LINENO: result: $LINGUAS" >&5
7134 echo "${ECHO_T}$LINGUAS" >&6; }
7137 if test -n "$LINGUAS"; then
7138 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
7143 if test -n "$ac_aux_dir"; then
7144 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
7146 if test -z "$MKINSTALLDIRS"; then
7147 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
7151 test -d po || mkdir po
7152 if test "x$srcdir" != "x."; then
7153 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
7154 posrcprefix="$srcdir/"
7156 posrcprefix="../$srcdir/"
7162 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
7163 < $srcdir/po/POTFILES.in > po/POTFILES
7166 case "$am__api_version" in
7168 { { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
7169 echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
7170 { (exit 1); exit 1; }; }
7176 if test -n "0.35.0"; then
7177 { echo "$as_me:$LINENO: checking for intltool >= 0.35.0" >&5
7178 echo $ECHO_N "checking for intltool >= 0.35.0... $ECHO_C" >&6; }
7180 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
7181 INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
7182 INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.in`
7184 { echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
7185 echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
7186 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
7187 { { echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool 0.35.0 or later." >&5
7188 echo "$as_me: error: Your intltool is too old. You need intltool 0.35.0 or later." >&2;}
7189 { (exit 1); exit 1; }; }
7192 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 $< $@'
7193 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 $< $@'
7194 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 $< $@'
7195 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 $< $@'
7196 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
7197 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 $< $@'
7198 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 $< $@'
7199 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 $< $@'
7200 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 $< $@'
7201 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 $< $@'
7202 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 $< $@'
7203 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
7204 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 $< $@'
7205 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 $< $@'
7206 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 $< $@'
7207 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 $< $@'
7208 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 $< $@'
7209 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 $< $@'
7230 # Use the tools built into the package, not the ones that are installed.
7231 INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
7233 INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
7235 INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
7238 # Extract the first word of "perl", so it can be a program name with args.
7239 set dummy perl; ac_word=$2
7240 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7242 if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
7243 echo $ECHO_N "(cached) $ECHO_C" >&6
7245 case $INTLTOOL_PERL in
7247 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
7250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7254 test -z "$as_dir" && as_dir=.
7255 for ac_exec_ext in '' $ac_executable_extensions; do
7256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7257 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
7258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7268 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
7269 if test -n "$INTLTOOL_PERL"; then
7270 { echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
7271 echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
7273 { echo "$as_me:$LINENO: result: no" >&5
7274 echo "${ECHO_T}no" >&6; }
7278 if test -z "$INTLTOOL_PERL"; then
7279 { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
7280 echo "$as_me: error: perl not found; required for intltool" >&2;}
7281 { (exit 1); exit 1; }; }
7283 if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
7284 { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
7285 echo "$as_me: error: perl 5.x required for intltool" >&2;}
7286 { (exit 1); exit 1; }; }
7288 if test "x" != "xno-xml"; then
7289 { echo "$as_me:$LINENO: checking for XML::Parser" >&5
7290 echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
7291 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
7292 { echo "$as_me:$LINENO: result: ok" >&5
7293 echo "${ECHO_T}ok" >&6; }
7295 { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
7296 echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
7297 { (exit 1); exit 1; }; }
7301 # Extract the first word of "iconv", so it can be a program name with args.
7302 set dummy iconv; ac_word=$2
7303 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7305 if test "${ac_cv_path_INTLTOOL_ICONV+set}" = set; then
7306 echo $ECHO_N "(cached) $ECHO_C" >&6
7308 case $INTLTOOL_ICONV in
7310 ac_cv_path_INTLTOOL_ICONV="$INTLTOOL_ICONV" # Let the user override the test with a path.
7313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7317 test -z "$as_dir" && as_dir=.
7318 for ac_exec_ext in '' $ac_executable_extensions; do
7319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7320 ac_cv_path_INTLTOOL_ICONV="$as_dir/$ac_word$ac_exec_ext"
7321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7328 test -z "$ac_cv_path_INTLTOOL_ICONV" && ac_cv_path_INTLTOOL_ICONV="iconv"
7332 INTLTOOL_ICONV=$ac_cv_path_INTLTOOL_ICONV
7333 if test -n "$INTLTOOL_ICONV"; then
7334 { echo "$as_me:$LINENO: result: $INTLTOOL_ICONV" >&5
7335 echo "${ECHO_T}$INTLTOOL_ICONV" >&6; }
7337 { echo "$as_me:$LINENO: result: no" >&5
7338 echo "${ECHO_T}no" >&6; }
7342 # Extract the first word of "msgfmt", so it can be a program name with args.
7343 set dummy msgfmt; ac_word=$2
7344 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7346 if test "${ac_cv_path_INTLTOOL_MSGFMT+set}" = set; then
7347 echo $ECHO_N "(cached) $ECHO_C" >&6
7349 case $INTLTOOL_MSGFMT in
7351 ac_cv_path_INTLTOOL_MSGFMT="$INTLTOOL_MSGFMT" # Let the user override the test with a path.
7354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7358 test -z "$as_dir" && as_dir=.
7359 for ac_exec_ext in '' $ac_executable_extensions; do
7360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7361 ac_cv_path_INTLTOOL_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
7362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7369 test -z "$ac_cv_path_INTLTOOL_MSGFMT" && ac_cv_path_INTLTOOL_MSGFMT="msgfmt"
7373 INTLTOOL_MSGFMT=$ac_cv_path_INTLTOOL_MSGFMT
7374 if test -n "$INTLTOOL_MSGFMT"; then
7375 { echo "$as_me:$LINENO: result: $INTLTOOL_MSGFMT" >&5
7376 echo "${ECHO_T}$INTLTOOL_MSGFMT" >&6; }
7378 { echo "$as_me:$LINENO: result: no" >&5
7379 echo "${ECHO_T}no" >&6; }
7383 # Extract the first word of "msgmerge", so it can be a program name with args.
7384 set dummy msgmerge; ac_word=$2
7385 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7387 if test "${ac_cv_path_INTLTOOL_MSGMERGE+set}" = set; then
7388 echo $ECHO_N "(cached) $ECHO_C" >&6
7390 case $INTLTOOL_MSGMERGE in
7392 ac_cv_path_INTLTOOL_MSGMERGE="$INTLTOOL_MSGMERGE" # Let the user override the test with a path.
7395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7399 test -z "$as_dir" && as_dir=.
7400 for ac_exec_ext in '' $ac_executable_extensions; do
7401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7402 ac_cv_path_INTLTOOL_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
7403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7410 test -z "$ac_cv_path_INTLTOOL_MSGMERGE" && ac_cv_path_INTLTOOL_MSGMERGE="msgmerge"
7414 INTLTOOL_MSGMERGE=$ac_cv_path_INTLTOOL_MSGMERGE
7415 if test -n "$INTLTOOL_MSGMERGE"; then
7416 { echo "$as_me:$LINENO: result: $INTLTOOL_MSGMERGE" >&5
7417 echo "${ECHO_T}$INTLTOOL_MSGMERGE" >&6; }
7419 { echo "$as_me:$LINENO: result: no" >&5
7420 echo "${ECHO_T}no" >&6; }
7424 # Extract the first word of "xgettext", so it can be a program name with args.
7425 set dummy xgettext; ac_word=$2
7426 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7428 if test "${ac_cv_path_INTLTOOL_XGETTEXT+set}" = set; then
7429 echo $ECHO_N "(cached) $ECHO_C" >&6
7431 case $INTLTOOL_XGETTEXT in
7433 ac_cv_path_INTLTOOL_XGETTEXT="$INTLTOOL_XGETTEXT" # Let the user override the test with a path.
7436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7440 test -z "$as_dir" && as_dir=.
7441 for ac_exec_ext in '' $ac_executable_extensions; do
7442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7443 ac_cv_path_INTLTOOL_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
7444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7451 test -z "$ac_cv_path_INTLTOOL_XGETTEXT" && ac_cv_path_INTLTOOL_XGETTEXT="xgettext"
7455 INTLTOOL_XGETTEXT=$ac_cv_path_INTLTOOL_XGETTEXT
7456 if test -n "$INTLTOOL_XGETTEXT"; then
7457 { echo "$as_me:$LINENO: result: $INTLTOOL_XGETTEXT" >&5
7458 echo "${ECHO_T}$INTLTOOL_XGETTEXT" >&6; }
7460 { echo "$as_me:$LINENO: result: no" >&5
7461 echo "${ECHO_T}no" >&6; }
7466 # Substitute ALL_LINGUAS so we can use it in po/Makefile
7469 # Set DATADIRNAME correctly if it is not set yet
7470 # (copied from glib-gettext.m4)
7471 if test -z "$DATADIRNAME"; then
7472 cat >conftest.$ac_ext <<_ACEOF
7475 cat confdefs.h >>conftest.$ac_ext
7476 cat >>conftest.$ac_ext <<_ACEOF
7477 /* end confdefs.h. */
7482 extern int _nl_msg_cat_cntr;
7483 return _nl_msg_cat_cntr
7488 rm -f conftest.$ac_objext conftest$ac_exeext
7489 if { (ac_try="$ac_link"
7491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7492 *) ac_try_echo=$ac_try;;
7494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7495 (eval "$ac_link") 2>conftest.er1
7497 grep -v '^ *+' conftest.er1 >conftest.err
7499 cat conftest.err >&5
7500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7501 (exit $ac_status); } && {
7502 test -z "$ac_c_werror_flag" ||
7503 test ! -s conftest.err
7504 } && test -s conftest$ac_exeext &&
7505 $as_test_x conftest$ac_exeext; then
7508 echo "$as_me: failed program was:" >&5
7509 sed 's/^/| /' conftest.$ac_ext >&5
7513 { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
7514 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
7515 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
7516 echo $ECHO_N "(cached) $ECHO_C" >&6
7518 cat >conftest.$ac_ext <<_ACEOF
7521 cat confdefs.h >>conftest.$ac_ext
7522 cat >>conftest.$ac_ext <<_ACEOF
7523 /* end confdefs.h. */
7524 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
7525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7526 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
7528 /* System header to define __stub macros and hopefully few prototypes,
7529 which can conflict with char bind_textdomain_codeset (); below.
7530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7531 <limits.h> exists even on freestanding compilers. */
7534 # include <limits.h>
7536 # include <assert.h>
7539 #undef bind_textdomain_codeset
7541 /* Override any GCC internal prototype to avoid an error.
7542 Use char because int might match the return type of a GCC
7543 builtin and then its argument prototype would still apply. */
7547 char bind_textdomain_codeset ();
7548 /* The GNU C library defines this for functions which it implements
7549 to always fail with ENOSYS. Some functions are actually named
7550 something starting with __ and the normal name is an alias. */
7551 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
7558 return bind_textdomain_codeset ();
7563 rm -f conftest.$ac_objext conftest$ac_exeext
7564 if { (ac_try="$ac_link"
7566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7567 *) ac_try_echo=$ac_try;;
7569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7570 (eval "$ac_link") 2>conftest.er1
7572 grep -v '^ *+' conftest.er1 >conftest.err
7574 cat conftest.err >&5
7575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7576 (exit $ac_status); } && {
7577 test -z "$ac_c_werror_flag" ||
7578 test ! -s conftest.err
7579 } && test -s conftest$ac_exeext &&
7580 $as_test_x conftest$ac_exeext; then
7581 ac_cv_func_bind_textdomain_codeset=yes
7583 echo "$as_me: failed program was:" >&5
7584 sed 's/^/| /' conftest.$ac_ext >&5
7586 ac_cv_func_bind_textdomain_codeset=no
7589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7590 conftest$ac_exeext conftest.$ac_ext
7592 { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
7593 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
7594 if test $ac_cv_func_bind_textdomain_codeset = yes; then
7607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7608 conftest$ac_exeext conftest.$ac_ext
7615 ac_config_commands="$ac_config_commands intltool"
7622 # Check whether --enable-shared was given.
7623 if test "${enable_shared+set}" = set; then
7624 enableval=$enable_shared; p=${PACKAGE-default}
7626 yes) enable_shared=yes ;;
7627 no) enable_shared=no ;;
7630 # Look at the argument we got. We use all the common list separators.
7631 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7632 for pkg in $enableval; do
7634 if test "X$pkg" = "X$p"; then
7646 # Check whether --enable-static was given.
7647 if test "${enable_static+set}" = set; then
7648 enableval=$enable_static; p=${PACKAGE-default}
7650 yes) enable_static=yes ;;
7651 no) enable_static=no ;;
7654 # Look at the argument we got. We use all the common list separators.
7655 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7656 for pkg in $enableval; do
7658 if test "X$pkg" = "X$p"; then
7670 # Check whether --enable-fast-install was given.
7671 if test "${enable_fast_install+set}" = set; then
7672 enableval=$enable_fast_install; p=${PACKAGE-default}
7674 yes) enable_fast_install=yes ;;
7675 no) enable_fast_install=no ;;
7677 enable_fast_install=no
7678 # Look at the argument we got. We use all the common list separators.
7679 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7680 for pkg in $enableval; do
7682 if test "X$pkg" = "X$p"; then
7683 enable_fast_install=yes
7690 enable_fast_install=yes
7694 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
7695 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
7696 if test "${lt_cv_path_SED+set}" = set; then
7697 echo $ECHO_N "(cached) $ECHO_C" >&6
7699 # Loop through the user's path and test for sed and gsed.
7700 # Then use that list of sed's as ones to test for truncation.
7701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7705 test -z "$as_dir" && as_dir=.
7706 for lt_ac_prog in sed gsed; do
7707 for ac_exec_ext in '' $ac_executable_extensions; do
7708 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
7709 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
7717 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
7718 # along with /bin/sed that truncates output.
7719 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
7720 test ! -f $lt_ac_sed && continue
7721 cat /dev/null > conftest.in
7723 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
7724 # Check for GNU sed and select it if it is found.
7725 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
7726 lt_cv_path_SED=$lt_ac_sed
7730 cat conftest.in conftest.in >conftest.tmp
7731 mv conftest.tmp conftest.in
7732 cp conftest.in conftest.nl
7734 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
7735 cmp -s conftest.out conftest.nl || break
7736 # 10000 chars as input seems more than enough
7737 test $lt_ac_count -gt 10 && break
7738 lt_ac_count=`expr $lt_ac_count + 1`
7739 if test $lt_ac_count -gt $lt_ac_max; then
7740 lt_ac_max=$lt_ac_count
7741 lt_cv_path_SED=$lt_ac_sed
7750 { echo "$as_me:$LINENO: result: $SED" >&5
7751 echo "${ECHO_T}$SED" >&6; }
7754 # Check whether --with-gnu-ld was given.
7755 if test "${with_gnu_ld+set}" = set; then
7756 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7762 if test "$GCC" = yes; then
7763 # Check if gcc -print-prog-name=ld gives a path.
7764 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
7765 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
7768 # gcc leaves a trailing carriage return which upsets mingw
7769 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7771 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7774 # Accept absolute paths.
7776 re_direlt='/[^/][^/]*/\.\./'
7777 # Canonicalize the pathname of ld
7778 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
7779 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
7780 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
7782 test -z "$LD" && LD="$ac_prog"
7785 # If it fails, then pretend we aren't using GCC.
7789 # If it is relative, then search for the first ld in PATH.
7793 elif test "$with_gnu_ld" = yes; then
7794 { echo "$as_me:$LINENO: checking for GNU ld" >&5
7795 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
7797 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7798 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
7800 if test "${lt_cv_path_LD+set}" = set; then
7801 echo $ECHO_N "(cached) $ECHO_C" >&6
7803 if test -z "$LD"; then
7804 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7805 for ac_dir in $PATH; do
7807 test -z "$ac_dir" && ac_dir=.
7808 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7809 lt_cv_path_LD="$ac_dir/$ac_prog"
7810 # Check to see if the program is GNU ld. I'd rather use --version,
7811 # but apparently some variants of GNU ld only accept -v.
7812 # Break only if it was the GNU/non-GNU ld that we prefer.
7813 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7814 *GNU* | *'with BFD'*)
7815 test "$with_gnu_ld" != no && break
7818 test "$with_gnu_ld" != yes && break
7825 lt_cv_path_LD="$LD" # Let the user override the test with a path.
7830 if test -n "$LD"; then
7831 { echo "$as_me:$LINENO: result: $LD" >&5
7832 echo "${ECHO_T}$LD" >&6; }
7834 { echo "$as_me:$LINENO: result: no" >&5
7835 echo "${ECHO_T}no" >&6; }
7837 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
7838 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
7839 { (exit 1); exit 1; }; }
7840 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
7841 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
7842 if test "${lt_cv_prog_gnu_ld+set}" = set; then
7843 echo $ECHO_N "(cached) $ECHO_C" >&6
7845 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7846 case `$LD -v 2>&1 </dev/null` in
7847 *GNU* | *'with BFD'*)
7848 lt_cv_prog_gnu_ld=yes
7851 lt_cv_prog_gnu_ld=no
7855 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
7856 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
7857 with_gnu_ld=$lt_cv_prog_gnu_ld
7860 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
7861 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
7862 if test "${lt_cv_ld_reload_flag+set}" = set; then
7863 echo $ECHO_N "(cached) $ECHO_C" >&6
7865 lt_cv_ld_reload_flag='-r'
7867 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
7868 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
7869 reload_flag=$lt_cv_ld_reload_flag
7870 case $reload_flag in
7872 *) reload_flag=" $reload_flag" ;;
7874 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7877 if test "$GCC" = yes; then
7878 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7880 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7885 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
7886 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
7887 if test "${lt_cv_path_NM+set}" = set; then
7888 echo $ECHO_N "(cached) $ECHO_C" >&6
7890 if test -n "$NM"; then
7891 # Let the user override the test.
7894 lt_nm_to_check="${ac_tool_prefix}nm"
7895 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7896 lt_nm_to_check="$lt_nm_to_check nm"
7898 for lt_tmp_nm in $lt_nm_to_check; do
7899 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7900 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7902 test -z "$ac_dir" && ac_dir=.
7903 tmp_nm="$ac_dir/$lt_tmp_nm"
7904 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7905 # Check to see if the nm accepts a BSD-compat flag.
7906 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7907 # nm: unknown option "B" ignored
7908 # Tru64's nm complains that /dev/null is an invalid object file
7909 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7910 */dev/null* | *'Invalid file or object type'*)
7911 lt_cv_path_NM="$tmp_nm -B"
7915 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7917 lt_cv_path_NM="$tmp_nm -p"
7921 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7922 continue # so that we can try to find one that supports BSD flags
7931 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
7934 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
7935 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
7938 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
7939 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
7941 if test "$LN_S" = "ln -s"; then
7942 { echo "$as_me:$LINENO: result: yes" >&5
7943 echo "${ECHO_T}yes" >&6; }
7945 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
7946 echo "${ECHO_T}no, using $LN_S" >&6; }
7949 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
7950 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
7951 if test "${lt_cv_deplibs_check_method+set}" = set; then
7952 echo $ECHO_N "(cached) $ECHO_C" >&6
7954 lt_cv_file_magic_cmd='$MAGIC_CMD'
7955 lt_cv_file_magic_test_file=
7956 lt_cv_deplibs_check_method='unknown'
7957 # Need to set the preceding variable on all platforms that support
7958 # interlibrary dependencies.
7959 # 'none' -- dependencies not supported.
7960 # `unknown' -- same as none, but documents that we really don't know.
7961 # 'pass_all' -- all dependencies passed with no checks.
7962 # 'test_compile' -- check by making test program.
7963 # 'file_magic [[regex]]' -- check by looking for files in library path
7964 # which responds to the $file_magic_cmd with a given extended regex.
7965 # If you have `file' or equivalent on your system and you're not sure
7966 # whether `pass_all' will *always* work, you probably want this one.
7970 lt_cv_deplibs_check_method=pass_all
7974 lt_cv_deplibs_check_method=pass_all
7978 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7979 lt_cv_file_magic_cmd='/usr/bin/file -L'
7980 lt_cv_file_magic_test_file=/shlib/libc.so
7984 # func_win32_libid is a shell function defined in ltmain.sh
7985 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7986 lt_cv_file_magic_cmd='func_win32_libid'
7990 # Base MSYS/MinGW do not provide the 'file' command needed by
7991 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7992 # unless we find 'file', for example because we are cross-compiling.
7993 if ( file / ) >/dev/null 2>&1; then
7994 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7995 lt_cv_file_magic_cmd='func_win32_libid'
7997 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7998 lt_cv_file_magic_cmd='$OBJDUMP -f'
8002 darwin* | rhapsody*)
8003 lt_cv_deplibs_check_method=pass_all
8006 freebsd* | dragonfly*)
8007 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
8010 # Not sure whether the presence of OpenBSD here was a mistake.
8011 # Let's accept both of them until this is cleared up.
8012 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8013 lt_cv_file_magic_cmd=/usr/bin/file
8014 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8018 lt_cv_deplibs_check_method=pass_all
8023 lt_cv_deplibs_check_method=pass_all
8026 hpux10.20* | hpux11*)
8027 lt_cv_file_magic_cmd=/usr/bin/file
8030 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8031 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8034 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]'
8035 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8038 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
8039 lt_cv_file_magic_test_file=/usr/lib/libc.sl
8045 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8046 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8049 irix5* | irix6* | nonstopux*)
8051 *-32|*"-32 ") libmagic=32-bit;;
8052 *-n32|*"-n32 ") libmagic=N32;;
8053 *-64|*"-64 ") libmagic=64-bit;;
8054 *) libmagic=never-match;;
8056 lt_cv_deplibs_check_method=pass_all
8059 # This must be Linux ELF.
8060 linux* | k*bsd*-gnu)
8061 lt_cv_deplibs_check_method=pass_all
8065 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
8066 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8068 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8073 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8074 lt_cv_file_magic_cmd=/usr/bin/file
8075 lt_cv_file_magic_test_file=/usr/lib/libnls.so
8079 lt_cv_deplibs_check_method=unknown
8083 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8084 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8086 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8090 osf3* | osf4* | osf5*)
8091 lt_cv_deplibs_check_method=pass_all
8095 lt_cv_deplibs_check_method=pass_all
8099 lt_cv_deplibs_check_method=pass_all
8103 case $host_vendor in
8105 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]'
8106 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8109 lt_cv_deplibs_check_method=pass_all
8112 lt_cv_file_magic_cmd='/bin/file'
8113 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8116 lt_cv_file_magic_cmd='/bin/file'
8117 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8118 lt_cv_file_magic_test_file=/lib/libc.so
8121 lt_cv_deplibs_check_method=pass_all
8124 lt_cv_deplibs_check_method=pass_all
8129 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8130 lt_cv_deplibs_check_method=pass_all
8135 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
8136 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
8137 file_magic_cmd=$lt_cv_file_magic_cmd
8138 deplibs_check_method=$lt_cv_deplibs_check_method
8139 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8144 # If no C compiler was specified, use CC.
8147 # If no C compiler flags were specified, use CFLAGS.
8148 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8150 # Allow CC to be a program name with arguments.
8153 # Check whether --enable-libtool-lock was given.
8154 if test "${enable_libtool_lock+set}" = set; then
8155 enableval=$enable_libtool_lock;
8158 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8160 # Some flags need to be propagated to the compiler or linker for good
8164 # Find out which ABI we are using.
8165 echo 'int i;' > conftest.$ac_ext
8166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8167 (eval $ac_compile) 2>&5
8169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8170 (exit $ac_status); }; then
8171 case `/usr/bin/file conftest.$ac_objext` in
8183 # Find out which ABI we are using.
8184 echo '#line __oline__ "configure"' > conftest.$ac_ext
8185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8186 (eval $ac_compile) 2>&5
8188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8189 (exit $ac_status); }; then
8190 if test "$lt_cv_prog_gnu_ld" = yes; then
8191 case `/usr/bin/file conftest.$ac_objext` in
8193 LD="${LD-ld} -melf32bsmip"
8196 LD="${LD-ld} -melf32bmipn32"
8199 LD="${LD-ld} -melf64bmip"
8203 case `/usr/bin/file conftest.$ac_objext` in
8219 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8220 s390*-*linux*|sparc*-*linux*)
8221 # Find out which ABI we are using.
8222 echo 'int i;' > conftest.$ac_ext
8223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8224 (eval $ac_compile) 2>&5
8226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8227 (exit $ac_status); }; then
8228 case `/usr/bin/file conftest.o` in
8231 x86_64-*kfreebsd*-gnu)
8232 LD="${LD-ld} -m elf_i386_fbsd"
8235 LD="${LD-ld} -m elf_i386"
8237 ppc64-*linux*|powerpc64-*linux*)
8238 LD="${LD-ld} -m elf32ppclinux"
8241 LD="${LD-ld} -m elf_s390"
8244 LD="${LD-ld} -m elf32_sparc"
8250 x86_64-*kfreebsd*-gnu)
8251 LD="${LD-ld} -m elf_x86_64_fbsd"
8254 LD="${LD-ld} -m elf_x86_64"
8256 ppc*-*linux*|powerpc*-*linux*)
8257 LD="${LD-ld} -m elf64ppc"
8260 LD="${LD-ld} -m elf64_s390"
8263 LD="${LD-ld} -m elf64_sparc"
8273 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8274 SAVE_CFLAGS="$CFLAGS"
8275 CFLAGS="$CFLAGS -belf"
8276 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
8277 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
8278 if test "${lt_cv_cc_needs_belf+set}" = set; then
8279 echo $ECHO_N "(cached) $ECHO_C" >&6
8282 ac_cpp='$CPP $CPPFLAGS'
8283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8287 cat >conftest.$ac_ext <<_ACEOF
8290 cat confdefs.h >>conftest.$ac_ext
8291 cat >>conftest.$ac_ext <<_ACEOF
8292 /* end confdefs.h. */
8302 rm -f conftest.$ac_objext conftest$ac_exeext
8303 if { (ac_try="$ac_link"
8305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8306 *) ac_try_echo=$ac_try;;
8308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8309 (eval "$ac_link") 2>conftest.er1
8311 grep -v '^ *+' conftest.er1 >conftest.err
8313 cat conftest.err >&5
8314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8315 (exit $ac_status); } && {
8316 test -z "$ac_c_werror_flag" ||
8317 test ! -s conftest.err
8318 } && test -s conftest$ac_exeext &&
8319 $as_test_x conftest$ac_exeext; then
8320 lt_cv_cc_needs_belf=yes
8322 echo "$as_me: failed program was:" >&5
8323 sed 's/^/| /' conftest.$ac_ext >&5
8325 lt_cv_cc_needs_belf=no
8328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8329 conftest$ac_exeext conftest.$ac_ext
8331 ac_cpp='$CPP $CPPFLAGS'
8332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8337 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
8338 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
8339 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8340 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8341 CFLAGS="$SAVE_CFLAGS"
8345 # Find out which ABI we are using.
8346 echo 'int i;' > conftest.$ac_ext
8347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8348 (eval $ac_compile) 2>&5
8350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8351 (exit $ac_status); }; then
8352 case `/usr/bin/file conftest.o` in
8354 case $lt_cv_prog_gnu_ld in
8355 yes*) LD="${LD-ld} -m elf64_sparc" ;;
8356 *) LD="${LD-ld} -64" ;;
8367 need_locks="$enable_libtool_lock"
8371 for ac_header in dlfcn.h
8373 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8374 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8375 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8376 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8377 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8378 echo $ECHO_N "(cached) $ECHO_C" >&6
8380 ac_res=`eval echo '${'$as_ac_Header'}'`
8381 { echo "$as_me:$LINENO: result: $ac_res" >&5
8382 echo "${ECHO_T}$ac_res" >&6; }
8384 # Is the header compilable?
8385 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8386 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8387 cat >conftest.$ac_ext <<_ACEOF
8390 cat confdefs.h >>conftest.$ac_ext
8391 cat >>conftest.$ac_ext <<_ACEOF
8392 /* end confdefs.h. */
8393 $ac_includes_default
8394 @%:@include <$ac_header>
8396 rm -f conftest.$ac_objext
8397 if { (ac_try="$ac_compile"
8399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8400 *) ac_try_echo=$ac_try;;
8402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8403 (eval "$ac_compile") 2>conftest.er1
8405 grep -v '^ *+' conftest.er1 >conftest.err
8407 cat conftest.err >&5
8408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8409 (exit $ac_status); } && {
8410 test -z "$ac_c_werror_flag" ||
8411 test ! -s conftest.err
8412 } && test -s conftest.$ac_objext; then
8413 ac_header_compiler=yes
8415 echo "$as_me: failed program was:" >&5
8416 sed 's/^/| /' conftest.$ac_ext >&5
8418 ac_header_compiler=no
8421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8422 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8423 echo "${ECHO_T}$ac_header_compiler" >&6; }
8425 # Is the header present?
8426 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8427 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8428 cat >conftest.$ac_ext <<_ACEOF
8431 cat confdefs.h >>conftest.$ac_ext
8432 cat >>conftest.$ac_ext <<_ACEOF
8433 /* end confdefs.h. */
8434 @%:@include <$ac_header>
8436 if { (ac_try="$ac_cpp conftest.$ac_ext"
8438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8439 *) ac_try_echo=$ac_try;;
8441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8442 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8444 grep -v '^ *+' conftest.er1 >conftest.err
8446 cat conftest.err >&5
8447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8448 (exit $ac_status); } >/dev/null && {
8449 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8450 test ! -s conftest.err
8452 ac_header_preproc=yes
8454 echo "$as_me: failed program was:" >&5
8455 sed 's/^/| /' conftest.$ac_ext >&5
8457 ac_header_preproc=no
8460 rm -f conftest.err conftest.$ac_ext
8461 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8462 echo "${ECHO_T}$ac_header_preproc" >&6; }
8464 # So? What about this header?
8465 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8467 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8468 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8469 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8470 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8471 ac_header_preproc=yes
8474 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8475 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8476 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8477 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8478 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8479 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8480 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8481 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8482 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8483 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8484 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8485 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8489 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8491 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8492 echo $ECHO_N "(cached) $ECHO_C" >&6
8494 eval "$as_ac_Header=\$ac_header_preproc"
8496 ac_res=`eval echo '${'$as_ac_Header'}'`
8497 { echo "$as_me:$LINENO: result: $ac_res" >&5
8498 echo "${ECHO_T}$ac_res" >&6; }
8501 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8502 cat >>confdefs.h <<_ACEOF
8503 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8512 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
8513 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
8514 (test "X$CXX" != "Xg++"))) ; then
8516 ac_cpp='$CXXCPP $CPPFLAGS'
8517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8520 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
8521 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
8522 if test -z "$CXXCPP"; then
8523 if test "${ac_cv_prog_CXXCPP+set}" = set; then
8524 echo $ECHO_N "(cached) $ECHO_C" >&6
8526 # Double quotes because CXXCPP needs to be expanded
8527 for CXXCPP in "$CXX -E" "/lib/cpp"
8530 for ac_cxx_preproc_warn_flag in '' yes
8532 # Use a header file that comes with gcc, so configuring glibc
8533 # with a fresh cross-compiler works.
8534 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8535 # <limits.h> exists even on freestanding compilers.
8536 # On the NeXT, cc -E runs the code through the compiler's parser,
8537 # not just through cpp. "Syntax error" is here to catch this case.
8538 cat >conftest.$ac_ext <<_ACEOF
8541 cat confdefs.h >>conftest.$ac_ext
8542 cat >>conftest.$ac_ext <<_ACEOF
8543 /* end confdefs.h. */
8545 @%:@ include <limits.h>
8547 @%:@ include <assert.h>
8551 if { (ac_try="$ac_cpp conftest.$ac_ext"
8553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8554 *) ac_try_echo=$ac_try;;
8556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8557 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8559 grep -v '^ *+' conftest.er1 >conftest.err
8561 cat conftest.err >&5
8562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8563 (exit $ac_status); } >/dev/null && {
8564 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8565 test ! -s conftest.err
8569 echo "$as_me: failed program was:" >&5
8570 sed 's/^/| /' conftest.$ac_ext >&5
8572 # Broken: fails on valid input.
8576 rm -f conftest.err conftest.$ac_ext
8578 # OK, works on sane cases. Now check whether nonexistent headers
8579 # can be detected and how.
8580 cat >conftest.$ac_ext <<_ACEOF
8583 cat confdefs.h >>conftest.$ac_ext
8584 cat >>conftest.$ac_ext <<_ACEOF
8585 /* end confdefs.h. */
8586 @%:@include <ac_nonexistent.h>
8588 if { (ac_try="$ac_cpp conftest.$ac_ext"
8590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8591 *) ac_try_echo=$ac_try;;
8593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8594 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8596 grep -v '^ *+' conftest.er1 >conftest.err
8598 cat conftest.err >&5
8599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8600 (exit $ac_status); } >/dev/null && {
8601 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8602 test ! -s conftest.err
8604 # Broken: success on invalid input.
8607 echo "$as_me: failed program was:" >&5
8608 sed 's/^/| /' conftest.$ac_ext >&5
8610 # Passes both tests.
8615 rm -f conftest.err conftest.$ac_ext
8618 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8619 rm -f conftest.err conftest.$ac_ext
8620 if $ac_preproc_ok; then
8625 ac_cv_prog_CXXCPP=$CXXCPP
8628 CXXCPP=$ac_cv_prog_CXXCPP
8630 ac_cv_prog_CXXCPP=$CXXCPP
8632 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
8633 echo "${ECHO_T}$CXXCPP" >&6; }
8635 for ac_cxx_preproc_warn_flag in '' yes
8637 # Use a header file that comes with gcc, so configuring glibc
8638 # with a fresh cross-compiler works.
8639 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8640 # <limits.h> exists even on freestanding compilers.
8641 # On the NeXT, cc -E runs the code through the compiler's parser,
8642 # not just through cpp. "Syntax error" is here to catch this case.
8643 cat >conftest.$ac_ext <<_ACEOF
8646 cat confdefs.h >>conftest.$ac_ext
8647 cat >>conftest.$ac_ext <<_ACEOF
8648 /* end confdefs.h. */
8650 @%:@ include <limits.h>
8652 @%:@ include <assert.h>
8656 if { (ac_try="$ac_cpp conftest.$ac_ext"
8658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8659 *) ac_try_echo=$ac_try;;
8661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8662 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8664 grep -v '^ *+' conftest.er1 >conftest.err
8666 cat conftest.err >&5
8667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8668 (exit $ac_status); } >/dev/null && {
8669 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8670 test ! -s conftest.err
8674 echo "$as_me: failed program was:" >&5
8675 sed 's/^/| /' conftest.$ac_ext >&5
8677 # Broken: fails on valid input.
8681 rm -f conftest.err conftest.$ac_ext
8683 # OK, works on sane cases. Now check whether nonexistent headers
8684 # can be detected and how.
8685 cat >conftest.$ac_ext <<_ACEOF
8688 cat confdefs.h >>conftest.$ac_ext
8689 cat >>conftest.$ac_ext <<_ACEOF
8690 /* end confdefs.h. */
8691 @%:@include <ac_nonexistent.h>
8693 if { (ac_try="$ac_cpp conftest.$ac_ext"
8695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8696 *) ac_try_echo=$ac_try;;
8698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8699 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8701 grep -v '^ *+' conftest.er1 >conftest.err
8703 cat conftest.err >&5
8704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8705 (exit $ac_status); } >/dev/null && {
8706 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8707 test ! -s conftest.err
8709 # Broken: success on invalid input.
8712 echo "$as_me: failed program was:" >&5
8713 sed 's/^/| /' conftest.$ac_ext >&5
8715 # Passes both tests.
8720 rm -f conftest.err conftest.$ac_ext
8723 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8724 rm -f conftest.err conftest.$ac_ext
8725 if $ac_preproc_ok; then
8728 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
8729 See \`config.log' for more details." >&5
8730 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
8731 See \`config.log' for more details." >&2;}
8732 { (exit 1); exit 1; }; }
8736 ac_cpp='$CXXCPP $CPPFLAGS'
8737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8745 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
8746 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8747 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
8748 if test -n "$ac_tool_prefix"; then
8749 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
8751 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8752 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8753 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8755 if test "${ac_cv_prog_F77+set}" = set; then
8756 echo $ECHO_N "(cached) $ECHO_C" >&6
8758 if test -n "$F77"; then
8759 ac_cv_prog_F77="$F77" # Let the user override the test.
8761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8765 test -z "$as_dir" && as_dir=.
8766 for ac_exec_ext in '' $ac_executable_extensions; do
8767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8768 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
8769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8779 if test -n "$F77"; then
8780 { echo "$as_me:$LINENO: result: $F77" >&5
8781 echo "${ECHO_T}$F77" >&6; }
8783 { echo "$as_me:$LINENO: result: no" >&5
8784 echo "${ECHO_T}no" >&6; }
8788 test -n "$F77" && break
8791 if test -z "$F77"; then
8793 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
8795 # Extract the first word of "$ac_prog", so it can be a program name with args.
8796 set dummy $ac_prog; ac_word=$2
8797 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8799 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
8800 echo $ECHO_N "(cached) $ECHO_C" >&6
8802 if test -n "$ac_ct_F77"; then
8803 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
8805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8809 test -z "$as_dir" && as_dir=.
8810 for ac_exec_ext in '' $ac_executable_extensions; do
8811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8812 ac_cv_prog_ac_ct_F77="$ac_prog"
8813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8822 ac_ct_F77=$ac_cv_prog_ac_ct_F77
8823 if test -n "$ac_ct_F77"; then
8824 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
8825 echo "${ECHO_T}$ac_ct_F77" >&6; }
8827 { echo "$as_me:$LINENO: result: no" >&5
8828 echo "${ECHO_T}no" >&6; }
8832 test -n "$ac_ct_F77" && break
8835 if test "x$ac_ct_F77" = x; then
8838 case $cross_compiling:$ac_tool_warned in
8840 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8841 whose name does not start with the host triplet. If you think this
8842 configuration is useful to you, please write to autoconf@gnu.org." >&5
8843 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8844 whose name does not start with the host triplet. If you think this
8845 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8846 ac_tool_warned=yes ;;
8853 # Provide some information about the compiler.
8854 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
8855 ac_compiler=`set X $ac_compile; echo $2`
8856 { (ac_try="$ac_compiler --version >&5"
8858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8859 *) ac_try_echo=$ac_try;;
8861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8862 (eval "$ac_compiler --version >&5") 2>&5
8864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8865 (exit $ac_status); }
8866 { (ac_try="$ac_compiler -v >&5"
8868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8869 *) ac_try_echo=$ac_try;;
8871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8872 (eval "$ac_compiler -v >&5") 2>&5
8874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8875 (exit $ac_status); }
8876 { (ac_try="$ac_compiler -V >&5"
8878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8879 *) ac_try_echo=$ac_try;;
8881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8882 (eval "$ac_compiler -V >&5") 2>&5
8884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8885 (exit $ac_status); }
8888 # If we don't use `.F' as extension, the preprocessor is not run on the
8889 # input file. (Note that this only needs to work for GNU compilers.)
8892 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
8893 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
8894 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
8895 echo $ECHO_N "(cached) $ECHO_C" >&6
8897 cat >conftest.$ac_ext <<_ACEOF
8905 rm -f conftest.$ac_objext
8906 if { (ac_try="$ac_compile"
8908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8909 *) ac_try_echo=$ac_try;;
8911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8912 (eval "$ac_compile") 2>conftest.er1
8914 grep -v '^ *+' conftest.er1 >conftest.err
8916 cat conftest.err >&5
8917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8918 (exit $ac_status); } && {
8919 test -z "$ac_f77_werror_flag" ||
8920 test ! -s conftest.err
8921 } && test -s conftest.$ac_objext; then
8924 echo "$as_me: failed program was:" >&5
8925 sed 's/^/| /' conftest.$ac_ext >&5
8930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8931 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
8934 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
8935 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
8937 ac_test_FFLAGS=${FFLAGS+set}
8938 ac_save_FFLAGS=$FFLAGS
8940 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
8941 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
8942 if test "${ac_cv_prog_f77_g+set}" = set; then
8943 echo $ECHO_N "(cached) $ECHO_C" >&6
8946 cat >conftest.$ac_ext <<_ACEOF
8951 rm -f conftest.$ac_objext
8952 if { (ac_try="$ac_compile"
8954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8955 *) ac_try_echo=$ac_try;;
8957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8958 (eval "$ac_compile") 2>conftest.er1
8960 grep -v '^ *+' conftest.er1 >conftest.err
8962 cat conftest.err >&5
8963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8964 (exit $ac_status); } && {
8965 test -z "$ac_f77_werror_flag" ||
8966 test ! -s conftest.err
8967 } && test -s conftest.$ac_objext; then
8968 ac_cv_prog_f77_g=yes
8970 echo "$as_me: failed program was:" >&5
8971 sed 's/^/| /' conftest.$ac_ext >&5
8976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8979 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
8980 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
8981 if test "$ac_test_FFLAGS" = set; then
8982 FFLAGS=$ac_save_FFLAGS
8983 elif test $ac_cv_prog_f77_g = yes; then
8984 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
8990 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
8997 G77=`test $ac_compiler_gnu = yes && echo yes`
8999 ac_cpp='$CPP $CPPFLAGS'
9000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9006 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
9008 # find the maximum length of command line arguments
9009 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
9010 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
9011 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
9012 echo $ECHO_N "(cached) $ECHO_C" >&6
9019 # On DJGPP, this test can blow up pretty badly due to problems in libc
9020 # (any single argument exceeding 2000 bytes causes a buffer overrun
9021 # during glob expansion). Even if it were fixed, the result of this
9022 # check would be larger than it should be.
9023 lt_cv_sys_max_cmd_len=12288; # 12K is about right
9027 # Under GNU Hurd, this test is not required because there is
9028 # no limit to the length of command line arguments.
9029 # Libtool will interpret -1 as no limit whatsoever
9030 lt_cv_sys_max_cmd_len=-1;
9034 # On Win9x/ME, this test blows up -- it succeeds, but takes
9035 # about 5 minutes as the teststring grows exponentially.
9036 # Worse, since 9x/ME are not pre-emptively multitasking,
9037 # you end up with a "frozen" computer, even though with patience
9038 # the test eventually succeeds (with a max line length of 256k).
9039 # Instead, let's just punt: use the minimum linelength reported by
9040 # all of the supported platforms: 8192 (on NT/2K/XP).
9041 lt_cv_sys_max_cmd_len=8192;
9045 # On AmigaOS with pdksh, this test takes hours, literally.
9046 # So we just punt and use a minimum line length of 8192.
9047 lt_cv_sys_max_cmd_len=8192;
9050 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
9051 # This has been around since 386BSD, at least. Likely further.
9052 if test -x /sbin/sysctl; then
9053 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
9054 elif test -x /usr/sbin/sysctl; then
9055 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
9057 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
9059 # And add a safety zone
9060 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
9061 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
9065 # We know the value 262144 and hardcode it with a safety zone (like BSD)
9066 lt_cv_sys_max_cmd_len=196608
9070 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
9071 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
9072 # nice to cause kernel panics so lets avoid the loop below.
9073 # First set a reasonable default.
9074 lt_cv_sys_max_cmd_len=16384
9076 if test -x /sbin/sysconfig; then
9077 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
9078 *1*) lt_cv_sys_max_cmd_len=-1 ;;
9083 lt_cv_sys_max_cmd_len=102400
9085 sysv5* | sco5v6* | sysv4.2uw2*)
9086 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
9087 if test -n "$kargmax"; then
9088 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
9090 lt_cv_sys_max_cmd_len=32768
9094 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
9095 if test -n "$lt_cv_sys_max_cmd_len"; then
9096 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
9097 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
9099 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
9100 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
9101 = "XX$teststring") >/dev/null 2>&1 &&
9102 new_result=`expr "X$teststring" : ".*" 2>&1` &&
9103 lt_cv_sys_max_cmd_len=$new_result &&
9104 test $i != 17 # 1/2 MB should be enough
9107 teststring=$teststring$teststring
9110 # Add a significant safety factor because C++ compilers can tack on massive
9111 # amounts of additional arguments before passing them to the linker.
9112 # It appears as though 1/2 is a usable value.
9113 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
9120 if test -n $lt_cv_sys_max_cmd_len ; then
9121 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
9122 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
9124 { echo "$as_me:$LINENO: result: none" >&5
9125 echo "${ECHO_T}none" >&6; }
9132 # Check for command to grab the raw symbol name followed by C symbol from nm.
9133 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
9134 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
9135 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
9136 echo $ECHO_N "(cached) $ECHO_C" >&6
9139 # These are sane defaults that work on at least a few old systems.
9140 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9142 # Character class describing NM global symbol codes.
9143 symcode='[BCDEGRST]'
9145 # Regexp to match symbols that can be accessed directly from C.
9146 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9148 # Transform an extracted symbol line into a proper C declaration
9149 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
9151 # Transform an extracted symbol line into symbol name and symbol address
9152 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
9154 # Define system-specific variables.
9159 cygwin* | mingw* | pw32*)
9160 symcode='[ABCDGISTW]'
9162 hpux*) # Its linker distinguishes data from code symbols
9163 if test "$host_cpu" = ia64; then
9164 symcode='[ABCDEGRST]'
9166 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9167 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
9169 linux* | k*bsd*-gnu)
9170 if test "$host_cpu" = ia64; then
9171 symcode='[ABCDGIRSTW]'
9172 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9173 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
9177 symcode='[BCDEGRST]'
9180 symcode='[BCDEGQRST]'
9191 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9199 # Handle CRLF in mingw tool chain
9203 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9207 # If we're using GNU nm, then use its standard symbol codes.
9208 case `$NM -V 2>&1` in
9209 *GNU* | *'with BFD'*)
9210 symcode='[ABCDGIRSTW]' ;;
9213 # Try without a prefix undercore, then with it.
9214 for ac_symprfx in "" "_"; do
9216 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9217 symxfrm="\\1 $ac_symprfx\\2 \\2"
9219 # Write the raw and C identifiers.
9220 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9222 # Check to see that the pipe works correctly.
9226 cat > conftest.$ac_ext <<EOF
9231 void nm_test_func(){}
9235 int main(){nm_test_var='a';nm_test_func();return(0);}
9238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9239 (eval $ac_compile) 2>&5
9241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9242 (exit $ac_status); }; then
9243 # Now try to grab the symbols.
9245 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
9246 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
9248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9249 (exit $ac_status); } && test -s "$nlist"; then
9250 # Try sorting and uniquifying the output.
9251 if sort "$nlist" | uniq > "$nlist"T; then
9252 mv -f "$nlist"T "$nlist"
9257 # Make sure that we snagged all the symbols we need.
9258 if grep ' nm_test_var$' "$nlist" >/dev/null; then
9259 if grep ' nm_test_func$' "$nlist" >/dev/null; then
9260 cat <<EOF > conftest.$ac_ext
9266 # Now generate the symbol file.
9267 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
9269 cat <<EOF >> conftest.$ac_ext
9270 #if defined (__STDC__) && __STDC__
9271 # define lt_ptr_t void *
9273 # define lt_ptr_t char *
9277 /* The mapping between symbol names and symbols. */
9282 lt_preloaded_symbols[] =
9285 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
9286 cat <<\EOF >> conftest.$ac_ext
9294 # Now try linking the two files.
9295 mv conftest.$ac_objext conftstm.$ac_objext
9296 lt_save_LIBS="$LIBS"
9297 lt_save_CFLAGS="$CFLAGS"
9298 LIBS="conftstm.$ac_objext"
9299 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9301 (eval $ac_link) 2>&5
9303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9304 (exit $ac_status); } && test -s conftest${ac_exeext}; then
9307 LIBS="$lt_save_LIBS"
9308 CFLAGS="$lt_save_CFLAGS"
9310 echo "cannot find nm_test_func in $nlist" >&5
9313 echo "cannot find nm_test_var in $nlist" >&5
9316 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9319 echo "$progname: failed program was:" >&5
9320 cat conftest.$ac_ext >&5
9322 rm -f conftest* conftst*
9324 # Do not use the global_symbol_pipe unless it works.
9325 if test "$pipe_works" = yes; then
9328 lt_cv_sys_global_symbol_pipe=
9334 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9335 lt_cv_sys_global_symbol_to_cdecl=
9337 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9338 { echo "$as_me:$LINENO: result: failed" >&5
9339 echo "${ECHO_T}failed" >&6; }
9341 { echo "$as_me:$LINENO: result: ok" >&5
9342 echo "${ECHO_T}ok" >&6; }
9345 { echo "$as_me:$LINENO: checking for objdir" >&5
9346 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
9347 if test "${lt_cv_objdir+set}" = set; then
9348 echo $ECHO_N "(cached) $ECHO_C" >&6
9350 rm -f .libs 2>/dev/null
9351 mkdir .libs 2>/dev/null
9352 if test -d .libs; then
9355 # MS-DOS does not allow filenames that begin with a dot.
9358 rmdir .libs 2>/dev/null
9360 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
9361 echo "${ECHO_T}$lt_cv_objdir" >&6; }
9362 objdir=$lt_cv_objdir
9370 # AIX sometimes has problems with the GCC collect2 program. For some
9371 # reason, if we set the COLLECT_NAMES environment variable, the problems
9372 # vanish in a puff of smoke.
9373 if test "X${COLLECT_NAMES+set}" != Xset; then
9375 export COLLECT_NAMES
9380 # Sed substitution that helps us do robust quoting. It backslashifies
9381 # metacharacters that are still active within double-quoted strings.
9382 Xsed='sed -e 1s/^X//'
9383 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
9385 # Same as above, but do not quote variable references.
9386 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
9388 # Sed substitution to delay expansion of an escaped shell variable in a
9389 # double_quote_subst'ed string.
9390 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
9392 # Sed substitution to avoid accidental globbing in evaled expressions
9393 no_glob_subst='s/\*/\\\*/g'
9399 default_ofile=libtool
9400 can_build_shared=yes
9402 # All known linkers require a `.a' archive for static linking (except MSVC,
9403 # which needs '.lib').
9405 ltmain="$ac_aux_dir/ltmain.sh"
9406 ofile="$default_ofile"
9407 with_gnu_ld="$lt_cv_prog_gnu_ld"
9409 if test -n "$ac_tool_prefix"; then
9410 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
9411 set dummy ${ac_tool_prefix}ar; ac_word=$2
9412 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9414 if test "${ac_cv_prog_AR+set}" = set; then
9415 echo $ECHO_N "(cached) $ECHO_C" >&6
9417 if test -n "$AR"; then
9418 ac_cv_prog_AR="$AR" # Let the user override the test.
9420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9424 test -z "$as_dir" && as_dir=.
9425 for ac_exec_ext in '' $ac_executable_extensions; do
9426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9427 ac_cv_prog_AR="${ac_tool_prefix}ar"
9428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9438 if test -n "$AR"; then
9439 { echo "$as_me:$LINENO: result: $AR" >&5
9440 echo "${ECHO_T}$AR" >&6; }
9442 { echo "$as_me:$LINENO: result: no" >&5
9443 echo "${ECHO_T}no" >&6; }
9448 if test -z "$ac_cv_prog_AR"; then
9450 # Extract the first word of "ar", so it can be a program name with args.
9451 set dummy ar; ac_word=$2
9452 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9454 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
9455 echo $ECHO_N "(cached) $ECHO_C" >&6
9457 if test -n "$ac_ct_AR"; then
9458 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9464 test -z "$as_dir" && as_dir=.
9465 for ac_exec_ext in '' $ac_executable_extensions; do
9466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9467 ac_cv_prog_ac_ct_AR="ar"
9468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9477 ac_ct_AR=$ac_cv_prog_ac_ct_AR
9478 if test -n "$ac_ct_AR"; then
9479 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
9480 echo "${ECHO_T}$ac_ct_AR" >&6; }
9482 { echo "$as_me:$LINENO: result: no" >&5
9483 echo "${ECHO_T}no" >&6; }
9486 if test "x$ac_ct_AR" = x; then
9489 case $cross_compiling:$ac_tool_warned in
9491 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9492 whose name does not start with the host triplet. If you think this
9493 configuration is useful to you, please write to autoconf@gnu.org." >&5
9494 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9495 whose name does not start with the host triplet. If you think this
9496 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9497 ac_tool_warned=yes ;;
9505 if test -n "$ac_tool_prefix"; then
9506 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9507 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
9508 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9510 if test "${ac_cv_prog_RANLIB+set}" = set; then
9511 echo $ECHO_N "(cached) $ECHO_C" >&6
9513 if test -n "$RANLIB"; then
9514 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9520 test -z "$as_dir" && as_dir=.
9521 for ac_exec_ext in '' $ac_executable_extensions; do
9522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9523 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
9524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9533 RANLIB=$ac_cv_prog_RANLIB
9534 if test -n "$RANLIB"; then
9535 { echo "$as_me:$LINENO: result: $RANLIB" >&5
9536 echo "${ECHO_T}$RANLIB" >&6; }
9538 { echo "$as_me:$LINENO: result: no" >&5
9539 echo "${ECHO_T}no" >&6; }
9544 if test -z "$ac_cv_prog_RANLIB"; then
9545 ac_ct_RANLIB=$RANLIB
9546 # Extract the first word of "ranlib", so it can be a program name with args.
9547 set dummy ranlib; ac_word=$2
9548 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9550 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
9551 echo $ECHO_N "(cached) $ECHO_C" >&6
9553 if test -n "$ac_ct_RANLIB"; then
9554 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
9556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9560 test -z "$as_dir" && as_dir=.
9561 for ac_exec_ext in '' $ac_executable_extensions; do
9562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9563 ac_cv_prog_ac_ct_RANLIB="ranlib"
9564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9573 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9574 if test -n "$ac_ct_RANLIB"; then
9575 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
9576 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
9578 { echo "$as_me:$LINENO: result: no" >&5
9579 echo "${ECHO_T}no" >&6; }
9582 if test "x$ac_ct_RANLIB" = x; then
9585 case $cross_compiling:$ac_tool_warned in
9587 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9588 whose name does not start with the host triplet. If you think this
9589 configuration is useful to you, please write to autoconf@gnu.org." >&5
9590 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9591 whose name does not start with the host triplet. If you think this
9592 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9593 ac_tool_warned=yes ;;
9595 RANLIB=$ac_ct_RANLIB
9598 RANLIB="$ac_cv_prog_RANLIB"
9601 if test -n "$ac_tool_prefix"; then
9602 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9603 set dummy ${ac_tool_prefix}strip; ac_word=$2
9604 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9606 if test "${ac_cv_prog_STRIP+set}" = set; then
9607 echo $ECHO_N "(cached) $ECHO_C" >&6
9609 if test -n "$STRIP"; then
9610 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9616 test -z "$as_dir" && as_dir=.
9617 for ac_exec_ext in '' $ac_executable_extensions; do
9618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9619 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
9620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9629 STRIP=$ac_cv_prog_STRIP
9630 if test -n "$STRIP"; then
9631 { echo "$as_me:$LINENO: result: $STRIP" >&5
9632 echo "${ECHO_T}$STRIP" >&6; }
9634 { echo "$as_me:$LINENO: result: no" >&5
9635 echo "${ECHO_T}no" >&6; }
9640 if test -z "$ac_cv_prog_STRIP"; then
9642 # Extract the first word of "strip", so it can be a program name with args.
9643 set dummy strip; ac_word=$2
9644 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9646 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
9647 echo $ECHO_N "(cached) $ECHO_C" >&6
9649 if test -n "$ac_ct_STRIP"; then
9650 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
9652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9656 test -z "$as_dir" && as_dir=.
9657 for ac_exec_ext in '' $ac_executable_extensions; do
9658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9659 ac_cv_prog_ac_ct_STRIP="strip"
9660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9669 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
9670 if test -n "$ac_ct_STRIP"; then
9671 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
9672 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
9674 { echo "$as_me:$LINENO: result: no" >&5
9675 echo "${ECHO_T}no" >&6; }
9678 if test "x$ac_ct_STRIP" = x; then
9681 case $cross_compiling:$ac_tool_warned in
9683 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9684 whose name does not start with the host triplet. If you think this
9685 configuration is useful to you, please write to autoconf@gnu.org." >&5
9686 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9687 whose name does not start with the host triplet. If you think this
9688 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9689 ac_tool_warned=yes ;;
9694 STRIP="$ac_cv_prog_STRIP"
9699 old_CFLAGS="$CFLAGS"
9701 # Set sane defaults for various variables
9702 test -z "$AR" && AR=ar
9703 test -z "$AR_FLAGS" && AR_FLAGS=cru
9704 test -z "$AS" && AS=as
9705 test -z "$CC" && CC=cc
9706 test -z "$LTCC" && LTCC=$CC
9707 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9708 test -z "$DLLTOOL" && DLLTOOL=dlltool
9709 test -z "$LD" && LD=ld
9710 test -z "$LN_S" && LN_S="ln -s"
9711 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9712 test -z "$NM" && NM=nm
9713 test -z "$SED" && SED=sed
9714 test -z "$OBJDUMP" && OBJDUMP=objdump
9715 test -z "$RANLIB" && RANLIB=:
9716 test -z "$STRIP" && STRIP=:
9717 test -z "$ac_objext" && ac_objext=o
9719 # Determine commands to create old-style static archives.
9720 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
9721 old_postinstall_cmds='chmod 644 $oldlib'
9722 old_postuninstall_cmds=
9724 if test -n "$RANLIB"; then
9727 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
9730 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
9733 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
9736 for cc_temp in $compiler""; do
9738 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9739 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9744 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9747 # Only perform the check for file, if the check method requires it
9748 case $deplibs_check_method in
9750 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9751 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
9752 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
9753 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9754 echo $ECHO_N "(cached) $ECHO_C" >&6
9758 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9761 lt_save_MAGIC_CMD="$MAGIC_CMD"
9762 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9763 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9764 for ac_dir in $ac_dummy; do
9766 test -z "$ac_dir" && ac_dir=.
9767 if test -f $ac_dir/${ac_tool_prefix}file; then
9768 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9769 if test -n "$file_magic_test_file"; then
9770 case $deplibs_check_method in
9772 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9773 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9774 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9775 $EGREP "$file_magic_regex" > /dev/null; then
9780 *** Warning: the command libtool uses to detect shared libraries,
9781 *** $file_magic_cmd, produces output that libtool cannot recognize.
9782 *** The result is that libtool may fail to recognize shared libraries
9783 *** as such. This will affect the creation of libtool libraries that
9784 *** depend on shared libraries, but programs linked with such libtool
9785 *** libraries will work regardless of this problem. Nevertheless, you
9786 *** may want to report the problem to your system manager and/or to
9787 *** bug-libtool@gnu.org
9797 MAGIC_CMD="$lt_save_MAGIC_CMD"
9802 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9803 if test -n "$MAGIC_CMD"; then
9804 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9805 echo "${ECHO_T}$MAGIC_CMD" >&6; }
9807 { echo "$as_me:$LINENO: result: no" >&5
9808 echo "${ECHO_T}no" >&6; }
9811 if test -z "$lt_cv_path_MAGIC_CMD"; then
9812 if test -n "$ac_tool_prefix"; then
9813 { echo "$as_me:$LINENO: checking for file" >&5
9814 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
9815 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9816 echo $ECHO_N "(cached) $ECHO_C" >&6
9820 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9823 lt_save_MAGIC_CMD="$MAGIC_CMD"
9824 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9825 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9826 for ac_dir in $ac_dummy; do
9828 test -z "$ac_dir" && ac_dir=.
9829 if test -f $ac_dir/file; then
9830 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9831 if test -n "$file_magic_test_file"; then
9832 case $deplibs_check_method in
9834 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9835 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9836 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9837 $EGREP "$file_magic_regex" > /dev/null; then
9842 *** Warning: the command libtool uses to detect shared libraries,
9843 *** $file_magic_cmd, produces output that libtool cannot recognize.
9844 *** The result is that libtool may fail to recognize shared libraries
9845 *** as such. This will affect the creation of libtool libraries that
9846 *** depend on shared libraries, but programs linked with such libtool
9847 *** libraries will work regardless of this problem. Nevertheless, you
9848 *** may want to report the problem to your system manager and/or to
9849 *** bug-libtool@gnu.org
9859 MAGIC_CMD="$lt_save_MAGIC_CMD"
9864 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9865 if test -n "$MAGIC_CMD"; then
9866 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9867 echo "${ECHO_T}$MAGIC_CMD" >&6; }
9869 { echo "$as_me:$LINENO: result: no" >&5
9870 echo "${ECHO_T}no" >&6; }
9885 # Check whether --enable-libtool-lock was given.
9886 if test "${enable_libtool_lock+set}" = set; then
9887 enableval=$enable_libtool_lock;
9890 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
9893 # Check whether --with-pic was given.
9894 if test "${with_pic+set}" = set; then
9895 withval=$with_pic; pic_mode="$withval"
9900 test -z "$pic_mode" && pic_mode=default
9902 # Check if we have a version mismatch between libtool.m4 and ltmain.sh.
9904 # Note: This should be in AC_LIBTOOL_SETUP, _after_ $ltmain have been defined.
9905 # We also should do it _before_ AC_LIBTOOL_LANG_C_CONFIG that actually
9906 # calls AC_LIBTOOL_CONFIG and creates libtool.
9908 { echo "$as_me:$LINENO: checking for correct ltmain.sh version" >&5
9909 echo $ECHO_N "checking for correct ltmain.sh version... $ECHO_C" >&6; }
9910 if test "x$ltmain" = "x" ; then
9911 { echo "$as_me:$LINENO: result: no" >&5
9912 echo "${ECHO_T}no" >&6; }
9913 { { echo "$as_me:$LINENO: error:
9915 *** @<:@Gentoo@:>@ sanity check failed! ***
9916 *** \$ltmain is not defined, please check the patch for consistency! ***
9918 echo "$as_me: error:
9920 *** @<:@Gentoo@:>@ sanity check failed! ***
9921 *** \$ltmain is not defined, please check the patch for consistency! ***
9923 { (exit 1); exit 1; }; }
9925 gentoo_lt_version="1.5.24"
9926 gentoo_ltmain_version=`sed -n '/^[ ]*VERSION=/{s/^[ ]*VERSION=//;p;q;}' "$ltmain"`
9927 if test "x$gentoo_lt_version" != "x$gentoo_ltmain_version" ; then
9928 { echo "$as_me:$LINENO: result: no" >&5
9929 echo "${ECHO_T}no" >&6; }
9930 { { echo "$as_me:$LINENO: error:
9932 *** @<:@Gentoo@:>@ sanity check failed! ***
9933 *** libtool.m4 and ltmain.sh have a version mismatch! ***
9934 *** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***
9938 libtoolize --copy --force
9940 if appropriate, please contact the maintainer of this
9941 package (or your distribution) for help.
9943 echo "$as_me: error:
9945 *** @<:@Gentoo@:>@ sanity check failed! ***
9946 *** libtool.m4 and ltmain.sh have a version mismatch! ***
9947 *** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***
9951 libtoolize --copy --force
9953 if appropriate, please contact the maintainer of this
9954 package (or your distribution) for help.
9956 { (exit 1); exit 1; }; }
9958 { echo "$as_me:$LINENO: result: yes" >&5
9959 echo "${ECHO_T}yes" >&6; }
9963 # Use C for the default configuration in the libtool script
9967 ac_cpp='$CPP $CPPFLAGS'
9968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9973 # Source file extension for C test sources.
9976 # Object file extension for compiled C test sources.
9980 # Code to be used in simple compile tests
9981 lt_simple_compile_test_code="int some_variable = 0;"
9983 # Code to be used in simple link tests
9984 lt_simple_link_test_code='int main(){return(0);}'
9987 # If no C compiler was specified, use CC.
9990 # If no C compiler flags were specified, use CFLAGS.
9991 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9993 # Allow CC to be a program name with arguments.
9997 # save warnings/boilerplate of simple test code
9998 ac_outfile=conftest.$ac_objext
9999 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10000 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10001 _lt_compiler_boilerplate=`cat conftest.err`
10004 ac_outfile=conftest.$ac_objext
10005 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10006 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10007 _lt_linker_boilerplate=`cat conftest.err`
10012 lt_prog_compiler_no_builtin_flag=
10014 if test "$GCC" = yes; then
10015 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
10018 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10019 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
10020 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
10021 echo $ECHO_N "(cached) $ECHO_C" >&6
10023 lt_cv_prog_compiler_rtti_exceptions=no
10024 ac_outfile=conftest.$ac_objext
10025 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10026 lt_compiler_flag="-fno-rtti -fno-exceptions"
10027 # Insert the option either (1) after the last *FLAGS variable, or
10028 # (2) before a word containing "conftest.", or (3) at the end.
10029 # Note that $ac_compile itself does not contain backslashes and begins
10030 # with a dollar sign (not a hyphen), so the echo should work correctly.
10031 # The option is referenced via a variable to avoid confusing sed.
10032 lt_compile=`echo "$ac_compile" | $SED \
10033 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10034 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10035 -e 's:$: $lt_compiler_flag:'`
10036 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
10037 (eval "$lt_compile" 2>conftest.err)
10039 cat conftest.err >&5
10040 echo "$as_me:__oline__: \$? = $ac_status" >&5
10041 if (exit $ac_status) && test -s "$ac_outfile"; then
10042 # The compiler can only warn and ignore the option if not recognized
10043 # So say no if there are warnings other than the usual output.
10044 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
10045 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10046 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10047 lt_cv_prog_compiler_rtti_exceptions=yes
10053 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10054 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10056 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10057 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10064 lt_prog_compiler_wl=
10065 lt_prog_compiler_pic=
10066 lt_prog_compiler_static=
10068 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10069 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
10071 if test "$GCC" = yes; then
10072 lt_prog_compiler_wl='-Wl,'
10073 lt_prog_compiler_static='-static'
10077 # All AIX code is PIC.
10078 if test "$host_cpu" = ia64; then
10079 # AIX 5 now supports IA64 processor
10080 lt_prog_compiler_static='-Bstatic'
10085 # FIXME: we need at least 68020 code to build shared libraries, but
10086 # adding the `-m68020' flag to GCC prevents building anything better,
10088 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10091 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10092 # PIC is the default for these OSes.
10095 mingw* | cygwin* | pw32* | os2*)
10096 # This hack is so that the source file can tell whether it is being
10097 # built for inclusion in a dll (and should export symbols for example).
10098 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10099 # (--disable-auto-import) libraries
10100 lt_prog_compiler_pic='-DDLL_EXPORT'
10103 darwin* | rhapsody*)
10104 # PIC is the default on this platform
10105 # Common symbols not allowed in MH_DYLIB files
10106 lt_prog_compiler_pic='-fno-common'
10110 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10111 # Instead, we relocate shared libraries at runtime.
10115 # Just because we use GCC doesn't mean we suddenly get shared libraries
10116 # on systems that don't support them.
10117 lt_prog_compiler_can_build_shared=no
10122 if test -d /usr/nec; then
10123 lt_prog_compiler_pic=-Kconform_pic
10128 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10129 # not for PA HP-UX.
10135 lt_prog_compiler_pic='-fPIC'
10141 lt_prog_compiler_pic='-fPIC'
10145 # PORTME Check for flag to pass linker flags through the system compiler.
10148 lt_prog_compiler_wl='-Wl,'
10149 if test "$host_cpu" = ia64; then
10150 # AIX 5 now supports IA64 processor
10151 lt_prog_compiler_static='-Bstatic'
10153 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10157 # PIC is the default on this platform
10158 # Common symbols not allowed in MH_DYLIB files
10159 case $cc_basename in
10161 lt_prog_compiler_pic='-qnocommon'
10162 lt_prog_compiler_wl='-Wl,'
10167 mingw* | cygwin* | pw32* | os2*)
10168 # This hack is so that the source file can tell whether it is being
10169 # built for inclusion in a dll (and should export symbols for example).
10170 lt_prog_compiler_pic='-DDLL_EXPORT'
10173 hpux9* | hpux10* | hpux11*)
10174 lt_prog_compiler_wl='-Wl,'
10175 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10176 # not for PA HP-UX.
10182 lt_prog_compiler_pic='+Z'
10185 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10186 lt_prog_compiler_static='${wl}-a ${wl}archive'
10189 irix5* | irix6* | nonstopux*)
10190 lt_prog_compiler_wl='-Wl,'
10191 # PIC (with -KPIC) is the default.
10192 lt_prog_compiler_static='-non_shared'
10196 lt_prog_compiler_pic='-KPIC'
10197 lt_prog_compiler_static='-Bstatic'
10200 linux* | k*bsd*-gnu)
10201 case $cc_basename in
10203 lt_prog_compiler_wl='-Wl,'
10204 lt_prog_compiler_pic='-KPIC'
10205 lt_prog_compiler_static='-static'
10207 pgcc* | pgf77* | pgf90* | pgf95*)
10208 # Portland Group compilers (*not* the Pentium gcc compiler,
10209 # which looks to be a dead project)
10210 lt_prog_compiler_wl='-Wl,'
10211 lt_prog_compiler_pic='-fpic'
10212 lt_prog_compiler_static='-Bstatic'
10215 lt_prog_compiler_wl='-Wl,'
10216 # All Alpha code is PIC.
10217 lt_prog_compiler_static='-non_shared'
10220 case `$CC -V 2>&1 | sed 5q` in
10223 lt_prog_compiler_pic='-KPIC'
10224 lt_prog_compiler_static='-Bstatic'
10225 lt_prog_compiler_wl='-Wl,'
10228 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10229 lt_prog_compiler_pic='-KPIC'
10230 lt_prog_compiler_static='-Bstatic'
10231 lt_prog_compiler_wl=''
10238 osf3* | osf4* | osf5*)
10239 lt_prog_compiler_wl='-Wl,'
10240 # All OSF/1 code is PIC.
10241 lt_prog_compiler_static='-non_shared'
10245 lt_prog_compiler_static='-non_shared'
10249 lt_prog_compiler_pic='-KPIC'
10250 lt_prog_compiler_static='-Bstatic'
10251 case $cc_basename in
10252 f77* | f90* | f95*)
10253 lt_prog_compiler_wl='-Qoption ld ';;
10255 lt_prog_compiler_wl='-Wl,';;
10260 lt_prog_compiler_wl='-Qoption ld '
10261 lt_prog_compiler_pic='-PIC'
10262 lt_prog_compiler_static='-Bstatic'
10265 sysv4 | sysv4.2uw2* | sysv4.3*)
10266 lt_prog_compiler_wl='-Wl,'
10267 lt_prog_compiler_pic='-KPIC'
10268 lt_prog_compiler_static='-Bstatic'
10272 if test -d /usr/nec ;then
10273 lt_prog_compiler_pic='-Kconform_pic'
10274 lt_prog_compiler_static='-Bstatic'
10278 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10279 lt_prog_compiler_wl='-Wl,'
10280 lt_prog_compiler_pic='-KPIC'
10281 lt_prog_compiler_static='-Bstatic'
10285 lt_prog_compiler_wl='-Wl,'
10286 lt_prog_compiler_can_build_shared=no
10290 lt_prog_compiler_pic='-pic'
10291 lt_prog_compiler_static='-Bstatic'
10295 lt_prog_compiler_can_build_shared=no
10300 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
10301 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
10304 # Check to make sure the PIC flag actually works.
10306 if test -n "$lt_prog_compiler_pic"; then
10308 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10309 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
10310 if test "${lt_prog_compiler_pic_works+set}" = set; then
10311 echo $ECHO_N "(cached) $ECHO_C" >&6
10313 lt_prog_compiler_pic_works=no
10314 ac_outfile=conftest.$ac_objext
10315 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10316 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10317 # Insert the option either (1) after the last *FLAGS variable, or
10318 # (2) before a word containing "conftest.", or (3) at the end.
10319 # Note that $ac_compile itself does not contain backslashes and begins
10320 # with a dollar sign (not a hyphen), so the echo should work correctly.
10321 # The option is referenced via a variable to avoid confusing sed.
10322 lt_compile=`echo "$ac_compile" | $SED \
10323 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10324 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10325 -e 's:$: $lt_compiler_flag:'`
10326 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
10327 (eval "$lt_compile" 2>conftest.err)
10329 cat conftest.err >&5
10330 echo "$as_me:__oline__: \$? = $ac_status" >&5
10331 if (exit $ac_status) && test -s "$ac_outfile"; then
10332 # The compiler can only warn and ignore the option if not recognized
10333 # So say no if there are warnings other than the usual output.
10334 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
10335 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10336 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10337 lt_prog_compiler_pic_works=yes
10343 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
10344 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
10346 if test x"$lt_prog_compiler_pic_works" = xyes; then
10347 case $lt_prog_compiler_pic in
10349 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10352 lt_prog_compiler_pic=
10353 lt_prog_compiler_can_build_shared=no
10358 # For platforms which do not support PIC, -DPIC is meaningless:
10360 lt_prog_compiler_pic=
10363 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10368 # Check to make sure the static flag actually works.
10370 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10371 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10372 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
10373 if test "${lt_prog_compiler_static_works+set}" = set; then
10374 echo $ECHO_N "(cached) $ECHO_C" >&6
10376 lt_prog_compiler_static_works=no
10377 save_LDFLAGS="$LDFLAGS"
10378 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10379 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10380 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10381 # The linker can only warn and ignore the option if not recognized
10382 # So say no if there are warnings
10383 if test -s conftest.err; then
10384 # Append any errors to the config.log.
10385 cat conftest.err 1>&5
10386 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
10387 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10388 if diff conftest.exp conftest.er2 >/dev/null; then
10389 lt_prog_compiler_static_works=yes
10392 lt_prog_compiler_static_works=yes
10396 LDFLAGS="$save_LDFLAGS"
10399 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
10400 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
10402 if test x"$lt_prog_compiler_static_works" = xyes; then
10405 lt_prog_compiler_static=
10409 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10410 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
10411 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
10412 echo $ECHO_N "(cached) $ECHO_C" >&6
10414 lt_cv_prog_compiler_c_o=no
10415 $rm -r conftest 2>/dev/null
10419 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10421 lt_compiler_flag="-o out/conftest2.$ac_objext"
10422 # Insert the option either (1) after the last *FLAGS variable, or
10423 # (2) before a word containing "conftest.", or (3) at the end.
10424 # Note that $ac_compile itself does not contain backslashes and begins
10425 # with a dollar sign (not a hyphen), so the echo should work correctly.
10426 lt_compile=`echo "$ac_compile" | $SED \
10427 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10428 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10429 -e 's:$: $lt_compiler_flag:'`
10430 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
10431 (eval "$lt_compile" 2>out/conftest.err)
10433 cat out/conftest.err >&5
10434 echo "$as_me:__oline__: \$? = $ac_status" >&5
10435 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10437 # The compiler can only warn and ignore the option if not recognized
10438 # So say no if there are warnings
10439 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
10440 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10441 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10442 lt_cv_prog_compiler_c_o=yes
10447 # SGI C++ compiler will create directory out/ii_files/ for
10448 # template instantiation
10449 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
10450 $rm out/* && rmdir out
10456 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10457 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
10460 hard_links="nottested"
10461 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10462 # do not overwrite the value of need_locks provided by the user
10463 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10464 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
10467 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10469 ln conftest.a conftest.b 2>&5 || hard_links=no
10470 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10471 { echo "$as_me:$LINENO: result: $hard_links" >&5
10472 echo "${ECHO_T}$hard_links" >&6; }
10473 if test "$hard_links" = no; then
10474 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10475 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10482 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10483 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10486 allow_undefined_flag=
10487 enable_shared_with_static_runtimes=no
10489 archive_expsym_cmds=
10490 old_archive_From_new_cmds=
10491 old_archive_from_expsyms_cmds=
10492 export_dynamic_flag_spec=
10493 whole_archive_flag_spec=
10494 thread_safe_flag_spec=
10495 hardcode_libdir_flag_spec=
10496 hardcode_libdir_flag_spec_ld=
10497 hardcode_libdir_separator=
10499 hardcode_minus_L=no
10500 hardcode_shlibpath_var=unsupported
10501 link_all_deplibs=unknown
10502 hardcode_automatic=no
10504 module_expsym_cmds=
10505 always_export_symbols=no
10506 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10507 # include_expsyms should be a list of space-separated symbols to be *always*
10508 # included in the symbol list
10510 # exclude_expsyms can be an extended regexp of symbols to exclude
10511 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10512 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10513 # as well as any symbol that contains `d'.
10514 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
10515 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10516 # platforms (ab)use it in PIC code, but their linkers get confused if
10517 # the symbol is explicitly referenced. Since portable code cannot
10518 # rely on this symbol name, it's probably fine to never include it in
10519 # preloaded symbol tables.
10520 extract_expsyms_cmds=
10521 # Just being paranoid about ensuring that cc_basename is set.
10522 for cc_temp in $compiler""; do
10524 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10525 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10530 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10533 cygwin* | mingw* | pw32*)
10534 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10535 # When not using gcc, we currently assume that we are using
10536 # Microsoft Visual C++.
10537 if test "$GCC" != yes; then
10542 # we just hope/assume this is gcc and not c89 (= MSVC++)
10551 if test "$with_gnu_ld" = yes; then
10552 # If archive_cmds runs LD, not CC, wlarc should be empty
10555 # Set some defaults for GNU ld with shared library support. These
10556 # are reset later if shared libraries are not supported. Putting them
10557 # here allows them to be overridden if necessary.
10558 runpath_var=LD_RUN_PATH
10559 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
10560 export_dynamic_flag_spec='${wl}--export-dynamic'
10561 # ancient GNU ld didn't support --whole-archive et. al.
10562 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
10563 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10565 whole_archive_flag_spec=
10567 supports_anon_versioning=no
10568 case `$LD -v 2>/dev/null` in
10569 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10570 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10571 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10572 *\ 2.11.*) ;; # other 2.11 versions
10573 *) supports_anon_versioning=yes ;;
10576 # See if GNU ld supports shared libraries.
10578 aix3* | aix4* | aix5*)
10579 # On AIX/PPC, the GNU linker is very broken
10580 if test "$host_cpu" != ia64; then
10584 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
10585 *** to be unable to reliably create shared libraries on AIX.
10586 *** Therefore, libtool is disabling shared libraries support. If you
10587 *** really care for shared libraries, you may want to modify your PATH
10588 *** so that a non-GNU linker is found, and then restart.
10595 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)'
10596 hardcode_libdir_flag_spec='-L$libdir'
10597 hardcode_minus_L=yes
10599 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
10600 # that the semantics of dynamic libraries on AmigaOS, at least up
10601 # to version 4, is to share data among multiple programs linked
10602 # with the same dynamic library. Since this doesn't match the
10603 # behavior of shared libraries on other platforms, we can't use
10609 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10610 allow_undefined_flag=unsupported
10611 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10612 # support --undefined. This deserves some investigation. FIXME
10613 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10619 cygwin* | mingw* | pw32*)
10620 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10621 # as there is no search path for DLLs.
10622 hardcode_libdir_flag_spec='-L$libdir'
10623 allow_undefined_flag=unsupported
10624 always_export_symbols=no
10625 enable_shared_with_static_runtimes=yes
10626 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10628 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10629 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10630 # If the export-symbols file already is a .def file (1st line
10631 # is EXPORTS), use it as is; otherwise, prepend...
10632 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10633 cp $export_symbols $output_objdir/$soname.def;
10635 echo EXPORTS > $output_objdir/$soname.def;
10636 cat $export_symbols >> $output_objdir/$soname.def;
10638 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10646 hardcode_shlibpath_var=no
10647 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10648 export_dynamic_flag_spec='${wl}-E'
10649 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10650 # Instead, shared libraries are loaded at an image base (0x10000000 by
10651 # default) and relocated if they conflict, which is a slow very memory
10652 # consuming and fragmenting process. To avoid this, we pick a random,
10653 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10654 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10655 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10656 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'
10659 gnu* | linux* | k*bsd*-gnu)
10660 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10662 case $cc_basename,$host_cpu in
10663 pgcc*) # Portland Group C compiler
10664 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'
10665 tmp_addflag=' $pic_flag'
10667 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
10668 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'
10669 tmp_addflag=' $pic_flag -Mnomain' ;;
10670 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10671 tmp_addflag=' -i_dynamic' ;;
10672 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10673 tmp_addflag=' -i_dynamic -nofor_main' ;;
10674 ifc* | ifort*) # Intel Fortran compiler
10675 tmp_addflag=' -nofor_main' ;;
10677 case `$CC -V 2>&1 | sed 5q` in
10678 *Sun\ C*) # Sun C 5.9
10679 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'
10680 tmp_sharedflag='-G' ;;
10681 *Sun\ F*) # Sun Fortran 8.3
10682 tmp_sharedflag='-G' ;;
10684 tmp_sharedflag='-shared' ;;
10686 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10688 if test $supports_anon_versioning = yes; then
10689 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
10690 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10691 $echo "local: *; };" >> $output_objdir/$libname.ver~
10692 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10700 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10701 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10704 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10705 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10710 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
10714 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10715 *** create shared libraries on Solaris systems. Therefore, libtool
10716 *** is disabling shared libraries support. We urge you to upgrade GNU
10717 *** binutils to release 2.9.1 or newer. Another option is to modify
10718 *** your PATH or compiler configuration so that the native linker is
10719 *** used, and then restart.
10722 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10723 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10724 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10730 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10731 case `$LD -v 2>&1` in
10732 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10736 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10737 *** reliably create shared libraries on SCO systems. Therefore, libtool
10738 *** is disabling shared libraries support. We urge you to upgrade GNU
10739 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10740 *** your PATH or compiler configuration so that the native linker is
10741 *** used, and then restart.
10746 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10747 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
10748 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
10749 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
10758 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10760 hardcode_direct=yes
10761 hardcode_shlibpath_var=no
10765 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10766 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10767 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10774 if test "$ld_shlibs" = no; then
10776 hardcode_libdir_flag_spec=
10777 export_dynamic_flag_spec=
10778 whole_archive_flag_spec=
10781 # PORTME fill in a description of your system's linker (not GNU ld)
10784 allow_undefined_flag=unsupported
10785 always_export_symbols=yes
10786 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'
10787 # Note: this linker hardcodes the directories in LIBPATH if there
10788 # are no directories specified by -L.
10789 hardcode_minus_L=yes
10790 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10791 # Neither direct hardcoding nor static linking is supported with a
10793 hardcode_direct=unsupported
10798 if test "$host_cpu" = ia64; then
10799 # On IA64, the linker does run time linking by default, so we don't
10800 # have to do anything special.
10801 aix_use_runtimelinking=no
10802 exp_sym_flag='-Bexport'
10805 # If we're using GNU nm, then we don't want the "-C" option.
10806 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10807 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10808 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'
10810 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'
10812 aix_use_runtimelinking=no
10814 # Test if we are trying to use run time linking or normal
10815 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10816 # need to do runtime linking.
10817 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10818 for ld_flag in $LDFLAGS; do
10819 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10820 aix_use_runtimelinking=yes
10827 exp_sym_flag='-bexport'
10828 no_entry_flag='-bnoentry'
10831 # When large executables or shared objects are built, AIX ld can
10832 # have problems creating the table of contents. If linking a library
10833 # or program results in "error TOC overflow" add -mminimal-toc to
10834 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10835 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10838 hardcode_direct=yes
10839 hardcode_libdir_separator=':'
10840 link_all_deplibs=yes
10842 if test "$GCC" = yes; then
10843 case $host_os in aix4.[012]|aix4.[012].*)
10844 # We only want to do this on AIX 4.2 and lower, the check
10845 # below for broken collect2 doesn't work under 4.3+
10846 collect2name=`${CC} -print-prog-name=collect2`
10847 if test -f "$collect2name" && \
10848 strings "$collect2name" | grep resolve_lib_name >/dev/null
10850 # We have reworked collect2
10853 # We have old collect2
10854 hardcode_direct=unsupported
10855 # It fails to find uninstalled libraries when the uninstalled
10856 # path is not listed in the libpath. Setting hardcode_minus_L
10857 # to unsupported forces relinking
10858 hardcode_minus_L=yes
10859 hardcode_libdir_flag_spec='-L$libdir'
10860 hardcode_libdir_separator=
10864 shared_flag='-shared'
10865 if test "$aix_use_runtimelinking" = yes; then
10866 shared_flag="$shared_flag "'${wl}-G'
10870 if test "$host_cpu" = ia64; then
10871 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10872 # chokes on -Wl,-G. The following line is correct:
10875 if test "$aix_use_runtimelinking" = yes; then
10876 shared_flag='${wl}-G'
10878 shared_flag='${wl}-bM:SRE'
10883 # It seems that -bexpall does not export symbols beginning with
10884 # underscore (_), so it is better to generate a list of symbols to export.
10885 always_export_symbols=yes
10886 if test "$aix_use_runtimelinking" = yes; then
10887 # Warning - without using the other runtime loading flags (-brtl),
10888 # -berok will link without error, but may produce a broken library.
10889 allow_undefined_flag='-berok'
10890 # Determine the default libpath from the value encoded in an empty executable.
10891 cat >conftest.$ac_ext <<_ACEOF
10894 cat confdefs.h >>conftest.$ac_ext
10895 cat >>conftest.$ac_ext <<_ACEOF
10896 /* end confdefs.h. */
10906 rm -f conftest.$ac_objext conftest$ac_exeext
10907 if { (ac_try="$ac_link"
10908 case "(($ac_try" in
10909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10910 *) ac_try_echo=$ac_try;;
10912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10913 (eval "$ac_link") 2>conftest.er1
10915 grep -v '^ *+' conftest.er1 >conftest.err
10917 cat conftest.err >&5
10918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10919 (exit $ac_status); } && {
10920 test -z "$ac_c_werror_flag" ||
10921 test ! -s conftest.err
10922 } && test -s conftest$ac_exeext &&
10923 $as_test_x conftest$ac_exeext; then
10925 lt_aix_libpath_sed='
10926 /Import File Strings/,/^$/ {
10932 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10933 # Check for a 64-bit object if we didn't find anything.
10934 if test -z "$aix_libpath"; then
10935 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10938 echo "$as_me: failed program was:" >&5
10939 sed 's/^/| /' conftest.$ac_ext >&5
10944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10945 conftest$ac_exeext conftest.$ac_ext
10946 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10948 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10949 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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10951 if test "$host_cpu" = ia64; then
10952 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10953 allow_undefined_flag="-z nodefs"
10954 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"
10956 # Determine the default libpath from the value encoded in an empty executable.
10957 cat >conftest.$ac_ext <<_ACEOF
10960 cat confdefs.h >>conftest.$ac_ext
10961 cat >>conftest.$ac_ext <<_ACEOF
10962 /* end confdefs.h. */
10972 rm -f conftest.$ac_objext conftest$ac_exeext
10973 if { (ac_try="$ac_link"
10974 case "(($ac_try" in
10975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10976 *) ac_try_echo=$ac_try;;
10978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10979 (eval "$ac_link") 2>conftest.er1
10981 grep -v '^ *+' conftest.er1 >conftest.err
10983 cat conftest.err >&5
10984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10985 (exit $ac_status); } && {
10986 test -z "$ac_c_werror_flag" ||
10987 test ! -s conftest.err
10988 } && test -s conftest$ac_exeext &&
10989 $as_test_x conftest$ac_exeext; then
10991 lt_aix_libpath_sed='
10992 /Import File Strings/,/^$/ {
10998 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10999 # Check for a 64-bit object if we didn't find anything.
11000 if test -z "$aix_libpath"; then
11001 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11004 echo "$as_me: failed program was:" >&5
11005 sed 's/^/| /' conftest.$ac_ext >&5
11010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11011 conftest$ac_exeext conftest.$ac_ext
11012 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11014 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11015 # Warning - without using the other run time loading flags,
11016 # -berok will link without error, but may produce a broken library.
11017 no_undefined_flag=' ${wl}-bernotok'
11018 allow_undefined_flag=' ${wl}-berok'
11019 # Exported symbols can be pulled into shared objects from archives
11020 whole_archive_flag_spec='$convenience'
11021 archive_cmds_need_lc=yes
11022 # This is similar to how AIX traditionally builds its shared libraries.
11023 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'
11029 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)'
11030 hardcode_libdir_flag_spec='-L$libdir'
11031 hardcode_minus_L=yes
11032 # see comment about different semantics on the GNU ld section
11037 export_dynamic_flag_spec=-rdynamic
11040 cygwin* | mingw* | pw32*)
11041 # When not using gcc, we currently assume that we are using
11042 # Microsoft Visual C++.
11043 # hardcode_libdir_flag_spec is actually meaningless, as there is
11044 # no search path for DLLs.
11045 hardcode_libdir_flag_spec=' '
11046 allow_undefined_flag=unsupported
11047 # Tell ltmain to make .lib files, not .a files.
11049 # Tell ltmain to make .dll files, not .so files.
11051 # FIXME: Setting linknames here is a bad hack.
11052 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
11053 # The linker will automatically build a .lib file if we build a DLL.
11054 old_archive_From_new_cmds='true'
11055 # FIXME: Should let the user specify the lib program.
11056 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11057 fix_srcfile_path='`cygpath -w "$srcfile"`'
11058 enable_shared_with_static_runtimes=yes
11061 darwin* | rhapsody*)
11063 rhapsody* | darwin1.[012])
11064 allow_undefined_flag='${wl}-undefined ${wl}suppress'
11067 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11068 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11070 case ${MACOSX_DEPLOYMENT_TARGET} in
11072 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11075 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
11081 archive_cmds_need_lc=no
11083 hardcode_automatic=yes
11084 hardcode_shlibpath_var=unsupported
11085 whole_archive_flag_spec=''
11086 link_all_deplibs=yes
11087 if test "$GCC" = yes ; then
11088 output_verbose_link_cmd='echo'
11089 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11090 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11091 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11092 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11093 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11095 case $cc_basename in
11097 output_verbose_link_cmd='echo'
11098 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
11099 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11100 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11101 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11102 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11112 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11113 hardcode_libdir_flag_spec='-L$libdir'
11114 hardcode_shlibpath_var=no
11121 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11122 # support. Future versions do this automatically, but an explicit c++rt0.o
11123 # does not break anything, and helps significantly (at the cost of a little
11126 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11127 hardcode_libdir_flag_spec='-R$libdir'
11128 hardcode_direct=yes
11129 hardcode_shlibpath_var=no
11132 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11134 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11135 hardcode_direct=yes
11136 hardcode_minus_L=yes
11137 hardcode_shlibpath_var=no
11140 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11141 freebsd* | dragonfly*)
11142 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11143 hardcode_libdir_flag_spec='-R$libdir'
11144 hardcode_direct=yes
11145 hardcode_shlibpath_var=no
11149 if test "$GCC" = yes; then
11150 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'
11152 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'
11154 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11155 hardcode_libdir_separator=:
11156 hardcode_direct=yes
11158 # hardcode_minus_L: Not really in the search PATH,
11159 # but as the default location of the library.
11160 hardcode_minus_L=yes
11161 export_dynamic_flag_spec='${wl}-E'
11165 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
11166 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11168 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11170 if test "$with_gnu_ld" = no; then
11171 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11172 hardcode_libdir_separator=:
11174 hardcode_direct=yes
11175 export_dynamic_flag_spec='${wl}-E'
11177 # hardcode_minus_L: Not really in the search PATH,
11178 # but as the default location of the library.
11179 hardcode_minus_L=yes
11184 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
11187 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11190 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11193 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11199 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11202 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11205 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11209 if test "$with_gnu_ld" = no; then
11210 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11211 hardcode_libdir_separator=:
11215 hardcode_libdir_flag_spec_ld='+b $libdir'
11217 hardcode_shlibpath_var=no
11220 hardcode_direct=yes
11221 export_dynamic_flag_spec='${wl}-E'
11223 # hardcode_minus_L: Not really in the search PATH,
11224 # but as the default location of the library.
11225 hardcode_minus_L=yes
11231 irix5* | irix6* | nonstopux*)
11232 if test "$GCC" = yes; then
11233 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11235 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11236 hardcode_libdir_flag_spec_ld='-rpath $libdir'
11238 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11239 hardcode_libdir_separator=:
11240 link_all_deplibs=yes
11244 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11245 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11247 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11249 hardcode_libdir_flag_spec='-R$libdir'
11250 hardcode_direct=yes
11251 hardcode_shlibpath_var=no
11255 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11256 hardcode_direct=yes
11257 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11258 hardcode_libdir_separator=:
11259 hardcode_shlibpath_var=no
11263 if test -f /usr/libexec/ld.so; then
11264 hardcode_direct=yes
11265 hardcode_shlibpath_var=no
11266 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11267 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11268 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11269 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11270 export_dynamic_flag_spec='${wl}-E'
11273 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11274 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11275 hardcode_libdir_flag_spec='-R$libdir'
11278 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11279 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11289 hardcode_libdir_flag_spec='-L$libdir'
11290 hardcode_minus_L=yes
11291 allow_undefined_flag=unsupported
11292 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'
11293 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11297 if test "$GCC" = yes; then
11298 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11299 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11301 allow_undefined_flag=' -expect_unresolved \*'
11302 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11304 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11305 hardcode_libdir_separator=:
11308 osf4* | osf5*) # as osf3* with the addition of -msym flag
11309 if test "$GCC" = yes; then
11310 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11311 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11312 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11314 allow_undefined_flag=' -expect_unresolved \*'
11315 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11316 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
11317 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
11319 # Both c and cxx compiler support -rpath directly
11320 hardcode_libdir_flag_spec='-rpath $libdir'
11322 hardcode_libdir_separator=:
11326 no_undefined_flag=' -z text'
11327 if test "$GCC" = yes; then
11329 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11330 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11331 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
11334 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11335 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11336 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
11338 hardcode_libdir_flag_spec='-R$libdir'
11339 hardcode_shlibpath_var=no
11341 solaris2.[0-5] | solaris2.[0-5].*) ;;
11343 # The compiler driver will combine and reorder linker options,
11344 # but understands `-z linker_flag'. GCC discards it without `$wl',
11345 # but is careful enough not to reorder.
11346 # Supported since Solaris 2.6 (maybe 2.5.1?)
11347 if test "$GCC" = yes; then
11348 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11350 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11354 link_all_deplibs=yes
11358 if test "x$host_vendor" = xsequent; then
11359 # Use $CC to link under sequent, because it throws in some extra .o
11360 # files that make .init and .fini sections work.
11361 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11363 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11365 hardcode_libdir_flag_spec='-L$libdir'
11366 hardcode_direct=yes
11367 hardcode_minus_L=yes
11368 hardcode_shlibpath_var=no
11372 case $host_vendor in
11374 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11375 hardcode_direct=yes # is this really true???
11378 ## LD is ld it makes a PLAMLIB
11379 ## CC just makes a GrossModule.
11380 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11381 reload_cmds='$CC -r -o $output$reload_objs'
11385 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11386 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11389 runpath_var='LD_RUN_PATH'
11390 hardcode_shlibpath_var=no
11394 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11395 hardcode_shlibpath_var=no
11396 export_dynamic_flag_spec='-Bexport'
11400 if test -d /usr/nec; then
11401 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11402 hardcode_shlibpath_var=no
11403 runpath_var=LD_RUN_PATH
11404 hardcode_runpath_var=yes
11409 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11410 no_undefined_flag='${wl}-z,text'
11411 archive_cmds_need_lc=no
11412 hardcode_shlibpath_var=no
11413 runpath_var='LD_RUN_PATH'
11415 if test "$GCC" = yes; then
11416 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11417 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11419 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11420 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11424 sysv5* | sco3.2v5* | sco5v6*)
11425 # Note: We can NOT use -z defs as we might desire, because we do not
11426 # link with -lc, and that would cause any symbols used from libc to
11427 # always be unresolved, which means just about no library would
11428 # ever link correctly. If we're not using GNU ld we use -z text
11429 # though, which does catch some bad symbols but isn't as heavy-handed
11431 no_undefined_flag='${wl}-z,text'
11432 allow_undefined_flag='${wl}-z,nodefs'
11433 archive_cmds_need_lc=no
11434 hardcode_shlibpath_var=no
11435 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11436 hardcode_libdir_separator=':'
11437 link_all_deplibs=yes
11438 export_dynamic_flag_spec='${wl}-Bexport'
11439 runpath_var='LD_RUN_PATH'
11441 if test "$GCC" = yes; then
11442 archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11443 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11445 archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11446 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11451 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11452 hardcode_libdir_flag_spec='-L$libdir'
11453 hardcode_shlibpath_var=no
11462 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
11463 echo "${ECHO_T}$ld_shlibs" >&6; }
11464 test "$ld_shlibs" = no && can_build_shared=no
11467 # Do we need to explicitly link libc?
11469 case "x$archive_cmds_need_lc" in
11471 # Assume -lc should be added
11472 archive_cmds_need_lc=yes
11474 if test "$enable_shared" = yes && test "$GCC" = yes; then
11475 case $archive_cmds in
11477 # FIXME: we may have to deal with multi-command sequences.
11480 # Test whether the compiler implicitly links with -lc since on some
11481 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11482 # to ld, don't add -lc before -lgcc.
11483 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11484 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11486 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11489 (eval $ac_compile) 2>&5
11491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11492 (exit $ac_status); } 2>conftest.err; then
11495 libobjs=conftest.$ac_objext
11497 wl=$lt_prog_compiler_wl
11498 pic_flag=$lt_prog_compiler_pic
11504 lt_save_allow_undefined_flag=$allow_undefined_flag
11505 allow_undefined_flag=
11506 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11507 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
11509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11510 (exit $ac_status); }
11512 archive_cmds_need_lc=no
11514 archive_cmds_need_lc=yes
11516 allow_undefined_flag=$lt_save_allow_undefined_flag
11518 cat conftest.err 1>&5
11521 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
11522 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
11529 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11530 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11531 library_names_spec=
11532 libname_spec='lib$name'
11536 postuninstall_cmds=
11540 shlibpath_overrides_runpath=unknown
11542 dynamic_linker="$host_os ld.so"
11543 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11545 if test "$GCC" = yes; then
11547 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11548 *) lt_awk_arg="/^libraries:/" ;;
11550 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11551 if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
11552 # if the path contains ";" then we assume it to be the separator
11553 # otherwise default to the standard path separator (i.e. ":") - it is
11554 # assumed that no part of a normal pathname contains ";" but that should
11555 # okay in the real world where ";" in dirpaths is itself problematic.
11556 lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
11558 lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11560 # Ok, now we have the path, separated by spaces, we can step through it
11561 # and add multilib dir if necessary.
11562 lt_tmp_lt_search_path_spec=
11563 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11564 for lt_sys_path in $lt_search_path_spec; do
11565 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11566 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11568 test -d "$lt_sys_path" && \
11569 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11572 lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
11573 BEGIN {RS=" "; FS="/|\n";} {
11576 for (lt_i = NF; lt_i > 0; lt_i--) {
11577 if ($lt_i != "" && $lt_i != ".") {
11578 if ($lt_i == "..") {
11581 if (lt_count == 0) {
11582 lt_foo="/" $lt_i lt_foo;
11589 if (lt_foo != "") { lt_freq[lt_foo]++; }
11590 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11592 sys_lib_search_path_spec=`echo $lt_search_path_spec`
11594 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11596 need_lib_prefix=unknown
11597 hardcode_into_libs=no
11599 # when you set need_version to no, make sure it does not cause -set_version
11600 # flags to be left without arguments
11601 need_version=unknown
11606 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11607 shlibpath_var=LIBPATH
11609 # AIX 3 has no versioning support, so we append a major version to the name.
11610 soname_spec='${libname}${release}${shared_ext}$major'
11617 hardcode_into_libs=yes
11618 if test "$host_cpu" = ia64; then
11619 # AIX 5 supports IA64
11620 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11621 shlibpath_var=LD_LIBRARY_PATH
11623 # With GCC up to 2.95.x, collect2 would create an import file
11624 # for dependence libraries. The import file would start with
11625 # the line `#! .'. This would cause the generated library to
11626 # depend on `.', always an invalid library. This was fixed in
11627 # development snapshots of GCC prior to 3.0.
11629 aix4 | aix4.[01] | aix4.[01].*)
11630 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11632 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11635 can_build_shared=no
11639 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11640 # soname into executable. Probably we can add versioning support to
11641 # collect2, so additional links can be useful in future.
11642 if test "$aix_use_runtimelinking" = yes; then
11643 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11644 # instead of lib<name>.a to let people know that these are not
11645 # typical AIX shared libraries.
11646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11648 # We preserve .a as extension for shared libraries through AIX4.2
11649 # and later when we are not doing run time linking.
11650 library_names_spec='${libname}${release}.a $libname.a'
11651 soname_spec='${libname}${release}${shared_ext}$major'
11653 shlibpath_var=LIBPATH
11658 library_names_spec='$libname.ixlibrary $libname.a'
11659 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11660 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'
11664 library_names_spec='${libname}${shared_ext}'
11665 dynamic_linker="$host_os ld.so"
11666 shlibpath_var=LIBRARY_PATH
11672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11673 soname_spec='${libname}${release}${shared_ext}$major'
11674 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11675 shlibpath_var=LD_LIBRARY_PATH
11676 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11677 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11678 # the default ld.so.conf also contains /usr/contrib/lib and
11679 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11680 # libtool to hard-code these into programs
11683 cygwin* | mingw* | pw32*)
11684 version_type=windows
11689 case $GCC,$host_os in
11690 yes,cygwin* | yes,mingw* | yes,pw32*)
11691 library_names_spec='$libname.dll.a'
11692 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11693 postinstall_cmds='base_file=`basename \${file}`~
11694 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11695 dldir=$destdir/`dirname \$dlpath`~
11696 test -d \$dldir || mkdir -p \$dldir~
11697 $install_prog $dir/$dlname \$dldir/$dlname~
11698 chmod a+x \$dldir/$dlname'
11699 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11700 dlpath=$dir/\$dldll~
11702 shlibpath_overrides_runpath=yes
11706 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11707 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11708 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11711 # MinGW DLLs use traditional 'lib' prefix
11712 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11713 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11714 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11715 # It is most probably a Windows format PATH printed by
11716 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11717 # path with ; separators, and with drive letters. We can handle the
11718 # drive letters (cygwin fileutils understands them), so leave them,
11719 # especially as we might pass files found there to a mingw objdump,
11720 # which wouldn't understand a cygwinified path. Ahh.
11721 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11723 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11727 # pw32 DLLs use 'pw' prefix rather than 'lib'
11728 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11734 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11737 dynamic_linker='Win32 ld.exe'
11738 # FIXME: first we should search . and the directory the executable is in
11742 darwin* | rhapsody*)
11743 dynamic_linker="$host_os dyld"
11744 version_type=darwin
11747 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11748 soname_spec='${libname}${release}${major}$shared_ext'
11749 shlibpath_overrides_runpath=yes
11750 shlibpath_var=DYLD_LIBRARY_PATH
11751 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11753 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11754 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11761 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11762 soname_spec='${libname}${release}${shared_ext}$major'
11763 shlibpath_var=LD_LIBRARY_PATH
11770 freebsd* | dragonfly*)
11771 # DragonFly does not have aout. When/if they implement a new
11772 # versioning mechanism, adjust this.
11773 if test -x /usr/bin/objformat; then
11774 objformat=`/usr/bin/objformat`
11777 freebsd[123]*) objformat=aout ;;
11778 *) objformat=elf ;;
11781 # Handle Gentoo/FreeBSD as it was Linux
11782 case $host_vendor in
11784 version_type=linux ;;
11786 version_type=freebsd-$objformat ;;
11789 case $version_type in
11791 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11796 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11800 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11801 soname_spec='${libname}${release}${shared_ext}$major'
11806 shlibpath_var=LD_LIBRARY_PATH
11809 shlibpath_overrides_runpath=yes
11811 freebsd3.[01]* | freebsdelf3.[01]*)
11812 shlibpath_overrides_runpath=yes
11813 hardcode_into_libs=yes
11815 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11816 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11817 shlibpath_overrides_runpath=no
11818 hardcode_into_libs=yes
11820 *) # from 4.6 on, and DragonFly
11821 shlibpath_overrides_runpath=yes
11822 hardcode_into_libs=yes
11831 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11832 soname_spec='${libname}${release}${shared_ext}$major'
11833 shlibpath_var=LD_LIBRARY_PATH
11834 hardcode_into_libs=yes
11837 hpux9* | hpux10* | hpux11*)
11838 # Give a soname corresponding to the major version so that dld.sl refuses to
11839 # link against other versions.
11846 hardcode_into_libs=yes
11847 dynamic_linker="$host_os dld.so"
11848 shlibpath_var=LD_LIBRARY_PATH
11849 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11850 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11851 soname_spec='${libname}${release}${shared_ext}$major'
11852 if test "X$HPUX_IA64_MODE" = X32; then
11853 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11855 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11857 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11861 hardcode_into_libs=yes
11862 dynamic_linker="$host_os dld.sl"
11863 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11864 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11865 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11866 soname_spec='${libname}${release}${shared_ext}$major'
11867 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11868 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11872 dynamic_linker="$host_os dld.sl"
11873 shlibpath_var=SHLIB_PATH
11874 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11875 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11876 soname_spec='${libname}${release}${shared_ext}$major'
11879 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11880 postinstall_cmds='chmod 555 $lib'
11887 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11888 soname_spec='${libname}${release}${shared_ext}$major'
11889 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11890 shlibpath_var=LD_LIBRARY_PATH
11891 shlibpath_overrides_runpath=no
11892 hardcode_into_libs=yes
11895 irix5* | irix6* | nonstopux*)
11897 nonstopux*) version_type=nonstopux ;;
11899 if test "$lt_cv_prog_gnu_ld" = yes; then
11907 soname_spec='${libname}${release}${shared_ext}$major'
11908 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11910 irix5* | nonstopux*)
11911 libsuff= shlibsuff=
11914 case $LD in # libtool.m4 will add one of these switches to LD
11915 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11916 libsuff= shlibsuff= libmagic=32-bit;;
11917 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11918 libsuff=32 shlibsuff=N32 libmagic=N32;;
11919 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11920 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11921 *) libsuff= shlibsuff= libmagic=never-match;;
11925 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11926 shlibpath_overrides_runpath=no
11927 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11928 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11929 hardcode_into_libs=yes
11932 # No shared lib support for Linux oldld, aout, or coff.
11933 linux*oldld* | linux*aout* | linux*coff*)
11937 # This must be Linux ELF.
11938 linux* | k*bsd*-gnu)
11942 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11943 soname_spec='${libname}${release}${shared_ext}$major'
11944 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11945 shlibpath_var=LD_LIBRARY_PATH
11946 shlibpath_overrides_runpath=no
11947 # This implies no fast_install, which is unacceptable.
11948 # Some rework will be needed to allow for fast_install
11949 # before this can be enabled.
11950 hardcode_into_libs=yes
11952 # Append ld.so.conf contents to the search path
11953 if test -f /etc/ld.so.conf; then
11954 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' ' '`
11955 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11958 # We used to test for /lib/ld.so.1 and disable shared libraries on
11959 # powerpc, because MkLinux only supported shared libraries with the
11960 # GNU dynamic linker. Since this was broken with cross compilers,
11961 # most powerpc-linux boxes support dynamic linking these days and
11962 # people can always --disable-shared, the test was removed, and we
11963 # assume the GNU/Linux dynamic linker is in use.
11964 dynamic_linker='GNU/Linux ld.so'
11971 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11972 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11973 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11974 dynamic_linker='NetBSD (a.out) ld.so'
11976 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11977 soname_spec='${libname}${release}${shared_ext}$major'
11978 dynamic_linker='NetBSD ld.elf_so'
11980 shlibpath_var=LD_LIBRARY_PATH
11981 shlibpath_overrides_runpath=yes
11982 hardcode_into_libs=yes
11987 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11988 shlibpath_var=LD_LIBRARY_PATH
11989 shlibpath_overrides_runpath=yes
11996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11997 soname_spec='${libname}${release}${shared_ext}$major'
11998 shlibpath_var=LD_LIBRARY_PATH
11999 shlibpath_overrides_runpath=yes
12004 sys_lib_dlsearch_path_spec="/usr/lib"
12006 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12008 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12009 *) need_version=no ;;
12011 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12012 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12013 shlibpath_var=LD_LIBRARY_PATH
12014 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12016 openbsd2.[89] | openbsd2.[89].*)
12017 shlibpath_overrides_runpath=no
12020 shlibpath_overrides_runpath=yes
12024 shlibpath_overrides_runpath=yes
12029 libname_spec='$name'
12032 library_names_spec='$libname${shared_ext} $libname.a'
12033 dynamic_linker='OS/2 ld.exe'
12034 shlibpath_var=LIBPATH
12037 osf3* | osf4* | osf5*)
12041 soname_spec='${libname}${release}${shared_ext}$major'
12042 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12043 shlibpath_var=LD_LIBRARY_PATH
12044 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12045 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12056 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12057 soname_spec='${libname}${release}${shared_ext}$major'
12058 shlibpath_var=LD_LIBRARY_PATH
12059 shlibpath_overrides_runpath=yes
12060 hardcode_into_libs=yes
12061 # ldd complains unless libraries are executable
12062 postinstall_cmds='chmod +x $lib'
12067 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12068 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12069 shlibpath_var=LD_LIBRARY_PATH
12070 shlibpath_overrides_runpath=yes
12071 if test "$with_gnu_ld" = yes; then
12079 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12080 soname_spec='${libname}${release}${shared_ext}$major'
12081 shlibpath_var=LD_LIBRARY_PATH
12082 case $host_vendor in
12084 shlibpath_overrides_runpath=no
12086 export_dynamic_flag_spec='${wl}-Blargedynsym'
12087 runpath_var=LD_RUN_PATH
12095 shlibpath_overrides_runpath=no
12096 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12102 if test -d /usr/nec ;then
12104 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12105 soname_spec='$libname${shared_ext}.$major'
12106 shlibpath_var=LD_LIBRARY_PATH
12110 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12111 version_type=freebsd-elf
12114 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12115 soname_spec='${libname}${release}${shared_ext}$major'
12116 shlibpath_var=LD_LIBRARY_PATH
12117 hardcode_into_libs=yes
12118 if test "$with_gnu_ld" = yes; then
12119 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12120 shlibpath_overrides_runpath=no
12122 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12123 shlibpath_overrides_runpath=yes
12126 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12130 sys_lib_dlsearch_path_spec='/usr/lib'
12135 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12136 soname_spec='${libname}${release}${shared_ext}$major'
12137 shlibpath_var=LD_LIBRARY_PATH
12144 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12145 echo "${ECHO_T}$dynamic_linker" >&6; }
12146 test "$dynamic_linker" = no && can_build_shared=no
12148 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12149 if test "$GCC" = yes; then
12150 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12153 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12154 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12156 if test -n "$hardcode_libdir_flag_spec" || \
12157 test -n "$runpath_var" || \
12158 test "X$hardcode_automatic" = "Xyes" ; then
12160 # We can hardcode non-existant directories.
12161 if test "$hardcode_direct" != no &&
12162 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12163 # have to relink, otherwise we might link with an installed library
12164 # when we should be linking with a yet-to-be-installed one
12165 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
12166 test "$hardcode_minus_L" != no; then
12167 # Linking always hardcodes the temporary library directory.
12168 hardcode_action=relink
12170 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12171 hardcode_action=immediate
12174 # We cannot hardcode anything, or else we can only hardcode existing
12176 hardcode_action=unsupported
12178 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
12179 echo "${ECHO_T}$hardcode_action" >&6; }
12181 if test "$hardcode_action" = relink; then
12182 # Fast installation is not supported
12183 enable_fast_install=no
12184 elif test "$shlibpath_overrides_runpath" = yes ||
12185 test "$enable_shared" = no; then
12186 # Fast installation is not necessary
12187 enable_fast_install=needless
12192 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12193 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
12194 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
12195 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12196 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12197 { echo "$as_me:$LINENO: result: yes" >&5
12198 echo "${ECHO_T}yes" >&6; }
12200 # FIXME - insert some real tests, host_os isn't really good enough
12203 if test -n "$STRIP" ; then
12204 striplib="$STRIP -x"
12205 old_striplib="$STRIP -S"
12206 { echo "$as_me:$LINENO: result: yes" >&5
12207 echo "${ECHO_T}yes" >&6; }
12209 { echo "$as_me:$LINENO: result: no" >&5
12210 echo "${ECHO_T}no" >&6; }
12214 { echo "$as_me:$LINENO: result: no" >&5
12215 echo "${ECHO_T}no" >&6; }
12220 if test "x$enable_dlopen" != xyes; then
12221 enable_dlopen=unknown
12222 enable_dlopen_self=unknown
12223 enable_dlopen_self_static=unknown
12230 lt_cv_dlopen="load_add_on"
12232 lt_cv_dlopen_self=yes
12236 lt_cv_dlopen="LoadLibrary"
12241 lt_cv_dlopen="dlopen"
12246 # if libdl is installed we need to link against it
12247 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12248 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12249 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12250 echo $ECHO_N "(cached) $ECHO_C" >&6
12252 ac_check_lib_save_LIBS=$LIBS
12254 cat >conftest.$ac_ext <<_ACEOF
12257 cat confdefs.h >>conftest.$ac_ext
12258 cat >>conftest.$ac_ext <<_ACEOF
12259 /* end confdefs.h. */
12261 /* Override any GCC internal prototype to avoid an error.
12262 Use char because int might match the return type of a GCC
12263 builtin and then its argument prototype would still apply. */
12276 rm -f conftest.$ac_objext conftest$ac_exeext
12277 if { (ac_try="$ac_link"
12278 case "(($ac_try" in
12279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12280 *) ac_try_echo=$ac_try;;
12282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12283 (eval "$ac_link") 2>conftest.er1
12285 grep -v '^ *+' conftest.er1 >conftest.err
12287 cat conftest.err >&5
12288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12289 (exit $ac_status); } && {
12290 test -z "$ac_c_werror_flag" ||
12291 test ! -s conftest.err
12292 } && test -s conftest$ac_exeext &&
12293 $as_test_x conftest$ac_exeext; then
12294 ac_cv_lib_dl_dlopen=yes
12296 echo "$as_me: failed program was:" >&5
12297 sed 's/^/| /' conftest.$ac_ext >&5
12299 ac_cv_lib_dl_dlopen=no
12302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12303 conftest$ac_exeext conftest.$ac_ext
12304 LIBS=$ac_check_lib_save_LIBS
12306 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12307 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12308 if test $ac_cv_lib_dl_dlopen = yes; then
12309 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12312 lt_cv_dlopen="dyld"
12314 lt_cv_dlopen_self=yes
12321 { echo "$as_me:$LINENO: checking for shl_load" >&5
12322 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
12323 if test "${ac_cv_func_shl_load+set}" = set; then
12324 echo $ECHO_N "(cached) $ECHO_C" >&6
12326 cat >conftest.$ac_ext <<_ACEOF
12329 cat confdefs.h >>conftest.$ac_ext
12330 cat >>conftest.$ac_ext <<_ACEOF
12331 /* end confdefs.h. */
12332 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12334 #define shl_load innocuous_shl_load
12336 /* System header to define __stub macros and hopefully few prototypes,
12337 which can conflict with char shl_load (); below.
12338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12339 <limits.h> exists even on freestanding compilers. */
12342 # include <limits.h>
12344 # include <assert.h>
12349 /* Override any GCC internal prototype to avoid an error.
12350 Use char because int might match the return type of a GCC
12351 builtin and then its argument prototype would still apply. */
12356 /* The GNU C library defines this for functions which it implements
12357 to always fail with ENOSYS. Some functions are actually named
12358 something starting with __ and the normal name is an alias. */
12359 #if defined __stub_shl_load || defined __stub___shl_load
12366 return shl_load ();
12371 rm -f conftest.$ac_objext conftest$ac_exeext
12372 if { (ac_try="$ac_link"
12373 case "(($ac_try" in
12374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12375 *) ac_try_echo=$ac_try;;
12377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12378 (eval "$ac_link") 2>conftest.er1
12380 grep -v '^ *+' conftest.er1 >conftest.err
12382 cat conftest.err >&5
12383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12384 (exit $ac_status); } && {
12385 test -z "$ac_c_werror_flag" ||
12386 test ! -s conftest.err
12387 } && test -s conftest$ac_exeext &&
12388 $as_test_x conftest$ac_exeext; then
12389 ac_cv_func_shl_load=yes
12391 echo "$as_me: failed program was:" >&5
12392 sed 's/^/| /' conftest.$ac_ext >&5
12394 ac_cv_func_shl_load=no
12397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12398 conftest$ac_exeext conftest.$ac_ext
12400 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12401 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
12402 if test $ac_cv_func_shl_load = yes; then
12403 lt_cv_dlopen="shl_load"
12405 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12406 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
12407 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12408 echo $ECHO_N "(cached) $ECHO_C" >&6
12410 ac_check_lib_save_LIBS=$LIBS
12412 cat >conftest.$ac_ext <<_ACEOF
12415 cat confdefs.h >>conftest.$ac_ext
12416 cat >>conftest.$ac_ext <<_ACEOF
12417 /* end confdefs.h. */
12419 /* Override any GCC internal prototype to avoid an error.
12420 Use char because int might match the return type of a GCC
12421 builtin and then its argument prototype would still apply. */
12429 return shl_load ();
12434 rm -f conftest.$ac_objext conftest$ac_exeext
12435 if { (ac_try="$ac_link"
12436 case "(($ac_try" in
12437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12438 *) ac_try_echo=$ac_try;;
12440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12441 (eval "$ac_link") 2>conftest.er1
12443 grep -v '^ *+' conftest.er1 >conftest.err
12445 cat conftest.err >&5
12446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12447 (exit $ac_status); } && {
12448 test -z "$ac_c_werror_flag" ||
12449 test ! -s conftest.err
12450 } && test -s conftest$ac_exeext &&
12451 $as_test_x conftest$ac_exeext; then
12452 ac_cv_lib_dld_shl_load=yes
12454 echo "$as_me: failed program was:" >&5
12455 sed 's/^/| /' conftest.$ac_ext >&5
12457 ac_cv_lib_dld_shl_load=no
12460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12461 conftest$ac_exeext conftest.$ac_ext
12462 LIBS=$ac_check_lib_save_LIBS
12464 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12465 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
12466 if test $ac_cv_lib_dld_shl_load = yes; then
12467 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12469 { echo "$as_me:$LINENO: checking for dlopen" >&5
12470 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
12471 if test "${ac_cv_func_dlopen+set}" = set; then
12472 echo $ECHO_N "(cached) $ECHO_C" >&6
12474 cat >conftest.$ac_ext <<_ACEOF
12477 cat confdefs.h >>conftest.$ac_ext
12478 cat >>conftest.$ac_ext <<_ACEOF
12479 /* end confdefs.h. */
12480 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12482 #define dlopen innocuous_dlopen
12484 /* System header to define __stub macros and hopefully few prototypes,
12485 which can conflict with char dlopen (); below.
12486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12487 <limits.h> exists even on freestanding compilers. */
12490 # include <limits.h>
12492 # include <assert.h>
12497 /* Override any GCC internal prototype to avoid an error.
12498 Use char because int might match the return type of a GCC
12499 builtin and then its argument prototype would still apply. */
12504 /* The GNU C library defines this for functions which it implements
12505 to always fail with ENOSYS. Some functions are actually named
12506 something starting with __ and the normal name is an alias. */
12507 #if defined __stub_dlopen || defined __stub___dlopen
12519 rm -f conftest.$ac_objext conftest$ac_exeext
12520 if { (ac_try="$ac_link"
12521 case "(($ac_try" in
12522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12523 *) ac_try_echo=$ac_try;;
12525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12526 (eval "$ac_link") 2>conftest.er1
12528 grep -v '^ *+' conftest.er1 >conftest.err
12530 cat conftest.err >&5
12531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12532 (exit $ac_status); } && {
12533 test -z "$ac_c_werror_flag" ||
12534 test ! -s conftest.err
12535 } && test -s conftest$ac_exeext &&
12536 $as_test_x conftest$ac_exeext; then
12537 ac_cv_func_dlopen=yes
12539 echo "$as_me: failed program was:" >&5
12540 sed 's/^/| /' conftest.$ac_ext >&5
12542 ac_cv_func_dlopen=no
12545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12546 conftest$ac_exeext conftest.$ac_ext
12548 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12549 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
12550 if test $ac_cv_func_dlopen = yes; then
12551 lt_cv_dlopen="dlopen"
12553 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12554 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12555 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12556 echo $ECHO_N "(cached) $ECHO_C" >&6
12558 ac_check_lib_save_LIBS=$LIBS
12560 cat >conftest.$ac_ext <<_ACEOF
12563 cat confdefs.h >>conftest.$ac_ext
12564 cat >>conftest.$ac_ext <<_ACEOF
12565 /* end confdefs.h. */
12567 /* Override any GCC internal prototype to avoid an error.
12568 Use char because int might match the return type of a GCC
12569 builtin and then its argument prototype would still apply. */
12582 rm -f conftest.$ac_objext conftest$ac_exeext
12583 if { (ac_try="$ac_link"
12584 case "(($ac_try" in
12585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12586 *) ac_try_echo=$ac_try;;
12588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12589 (eval "$ac_link") 2>conftest.er1
12591 grep -v '^ *+' conftest.er1 >conftest.err
12593 cat conftest.err >&5
12594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595 (exit $ac_status); } && {
12596 test -z "$ac_c_werror_flag" ||
12597 test ! -s conftest.err
12598 } && test -s conftest$ac_exeext &&
12599 $as_test_x conftest$ac_exeext; then
12600 ac_cv_lib_dl_dlopen=yes
12602 echo "$as_me: failed program was:" >&5
12603 sed 's/^/| /' conftest.$ac_ext >&5
12605 ac_cv_lib_dl_dlopen=no
12608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12609 conftest$ac_exeext conftest.$ac_ext
12610 LIBS=$ac_check_lib_save_LIBS
12612 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12613 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12614 if test $ac_cv_lib_dl_dlopen = yes; then
12615 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12617 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12618 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
12619 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12620 echo $ECHO_N "(cached) $ECHO_C" >&6
12622 ac_check_lib_save_LIBS=$LIBS
12623 LIBS="-lsvld $LIBS"
12624 cat >conftest.$ac_ext <<_ACEOF
12627 cat confdefs.h >>conftest.$ac_ext
12628 cat >>conftest.$ac_ext <<_ACEOF
12629 /* end confdefs.h. */
12631 /* Override any GCC internal prototype to avoid an error.
12632 Use char because int might match the return type of a GCC
12633 builtin and then its argument prototype would still apply. */
12646 rm -f conftest.$ac_objext conftest$ac_exeext
12647 if { (ac_try="$ac_link"
12648 case "(($ac_try" in
12649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12650 *) ac_try_echo=$ac_try;;
12652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12653 (eval "$ac_link") 2>conftest.er1
12655 grep -v '^ *+' conftest.er1 >conftest.err
12657 cat conftest.err >&5
12658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12659 (exit $ac_status); } && {
12660 test -z "$ac_c_werror_flag" ||
12661 test ! -s conftest.err
12662 } && test -s conftest$ac_exeext &&
12663 $as_test_x conftest$ac_exeext; then
12664 ac_cv_lib_svld_dlopen=yes
12666 echo "$as_me: failed program was:" >&5
12667 sed 's/^/| /' conftest.$ac_ext >&5
12669 ac_cv_lib_svld_dlopen=no
12672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12673 conftest$ac_exeext conftest.$ac_ext
12674 LIBS=$ac_check_lib_save_LIBS
12676 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12677 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
12678 if test $ac_cv_lib_svld_dlopen = yes; then
12679 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12681 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12682 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
12683 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12684 echo $ECHO_N "(cached) $ECHO_C" >&6
12686 ac_check_lib_save_LIBS=$LIBS
12688 cat >conftest.$ac_ext <<_ACEOF
12691 cat confdefs.h >>conftest.$ac_ext
12692 cat >>conftest.$ac_ext <<_ACEOF
12693 /* end confdefs.h. */
12695 /* Override any GCC internal prototype to avoid an error.
12696 Use char because int might match the return type of a GCC
12697 builtin and then its argument prototype would still apply. */
12705 return dld_link ();
12710 rm -f conftest.$ac_objext conftest$ac_exeext
12711 if { (ac_try="$ac_link"
12712 case "(($ac_try" in
12713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12714 *) ac_try_echo=$ac_try;;
12716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12717 (eval "$ac_link") 2>conftest.er1
12719 grep -v '^ *+' conftest.er1 >conftest.err
12721 cat conftest.err >&5
12722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12723 (exit $ac_status); } && {
12724 test -z "$ac_c_werror_flag" ||
12725 test ! -s conftest.err
12726 } && test -s conftest$ac_exeext &&
12727 $as_test_x conftest$ac_exeext; then
12728 ac_cv_lib_dld_dld_link=yes
12730 echo "$as_me: failed program was:" >&5
12731 sed 's/^/| /' conftest.$ac_ext >&5
12733 ac_cv_lib_dld_dld_link=no
12736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12737 conftest$ac_exeext conftest.$ac_ext
12738 LIBS=$ac_check_lib_save_LIBS
12740 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12741 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
12742 if test $ac_cv_lib_dld_dld_link = yes; then
12743 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12764 if test "x$lt_cv_dlopen" != xno; then
12770 case $lt_cv_dlopen in
12772 save_CPPFLAGS="$CPPFLAGS"
12773 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12775 save_LDFLAGS="$LDFLAGS"
12776 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12779 LIBS="$lt_cv_dlopen_libs $LIBS"
12781 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12782 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
12783 if test "${lt_cv_dlopen_self+set}" = set; then
12784 echo $ECHO_N "(cached) $ECHO_C" >&6
12786 if test "$cross_compiling" = yes; then :
12787 lt_cv_dlopen_self=cross
12789 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12790 lt_status=$lt_dlunknown
12791 cat > conftest.$ac_ext <<EOF
12792 #line __oline__ "configure"
12793 #include "confdefs.h"
12802 # define LT_DLGLOBAL RTLD_GLOBAL
12805 # define LT_DLGLOBAL DL_GLOBAL
12807 # define LT_DLGLOBAL 0
12811 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12812 find out it does not work in some platform. */
12813 #ifndef LT_DLLAZY_OR_NOW
12815 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12818 # define LT_DLLAZY_OR_NOW DL_LAZY
12821 # define LT_DLLAZY_OR_NOW RTLD_NOW
12824 # define LT_DLLAZY_OR_NOW DL_NOW
12826 # define LT_DLLAZY_OR_NOW 0
12834 extern "C" void exit (int);
12837 void fnord() { int i=42;}
12840 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12841 int status = $lt_dlunknown;
12845 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12846 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12847 /* dlclose (self); */
12855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12856 (eval $ac_link) 2>&5
12858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12859 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12860 (./conftest; exit; ) >&5 2>/dev/null
12862 case x$lt_status in
12863 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12864 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12865 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12868 # compilation failed
12869 lt_cv_dlopen_self=no
12876 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12877 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
12879 if test "x$lt_cv_dlopen_self" = xyes; then
12880 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12881 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12882 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
12883 if test "${lt_cv_dlopen_self_static+set}" = set; then
12884 echo $ECHO_N "(cached) $ECHO_C" >&6
12886 if test "$cross_compiling" = yes; then :
12887 lt_cv_dlopen_self_static=cross
12889 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12890 lt_status=$lt_dlunknown
12891 cat > conftest.$ac_ext <<EOF
12892 #line __oline__ "configure"
12893 #include "confdefs.h"
12902 # define LT_DLGLOBAL RTLD_GLOBAL
12905 # define LT_DLGLOBAL DL_GLOBAL
12907 # define LT_DLGLOBAL 0
12911 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12912 find out it does not work in some platform. */
12913 #ifndef LT_DLLAZY_OR_NOW
12915 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12918 # define LT_DLLAZY_OR_NOW DL_LAZY
12921 # define LT_DLLAZY_OR_NOW RTLD_NOW
12924 # define LT_DLLAZY_OR_NOW DL_NOW
12926 # define LT_DLLAZY_OR_NOW 0
12934 extern "C" void exit (int);
12937 void fnord() { int i=42;}
12940 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12941 int status = $lt_dlunknown;
12945 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12946 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12947 /* dlclose (self); */
12955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12956 (eval $ac_link) 2>&5
12958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12959 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12960 (./conftest; exit; ) >&5 2>/dev/null
12962 case x$lt_status in
12963 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12964 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12965 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12968 # compilation failed
12969 lt_cv_dlopen_self_static=no
12976 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12977 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
12980 CPPFLAGS="$save_CPPFLAGS"
12981 LDFLAGS="$save_LDFLAGS"
12986 case $lt_cv_dlopen_self in
12987 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12988 *) enable_dlopen_self=unknown ;;
12991 case $lt_cv_dlopen_self_static in
12992 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12993 *) enable_dlopen_self_static=unknown ;;
12998 # Report which library types will actually be built
12999 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13000 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13001 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13002 echo "${ECHO_T}$can_build_shared" >&6; }
13004 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13005 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13006 test "$can_build_shared" = "no" && enable_shared=no
13008 # On AIX, shared libraries and static libraries use the same namespace, and
13009 # are all built from PIC.
13012 test "$enable_shared" = yes && enable_static=no
13013 if test -n "$RANLIB"; then
13014 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13015 postinstall_cmds='$RANLIB $lib'
13020 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13021 test "$enable_shared" = yes && enable_static=no
13025 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13026 echo "${ECHO_T}$enable_shared" >&6; }
13028 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13029 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13030 # Make sure either enable_shared or enable_static is yes.
13031 test "$enable_shared" = yes || enable_static=yes
13032 { echo "$as_me:$LINENO: result: $enable_static" >&5
13033 echo "${ECHO_T}$enable_static" >&6; }
13035 # The else clause should only fire when bootstrapping the
13036 # libtool distribution, otherwise you forgot to ship ltmain.sh
13037 # with your package, and you will get complaints that there are
13038 # no rules to generate ltmain.sh.
13039 if test -f "$ltmain"; then
13040 # See if we are running on zsh, and set the options which allow our commands through
13041 # without removal of \ escapes.
13042 if test -n "${ZSH_VERSION+set}" ; then
13043 setopt NO_GLOB_SUBST
13045 # Now quote all the things that may contain metacharacters while being
13046 # careful not to overquote the AC_SUBSTed values. We take copies of the
13047 # variables and quote the copies for generation of the libtool script.
13048 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13050 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13051 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13052 deplibs_check_method reload_flag reload_cmds need_locks \
13053 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13054 lt_cv_sys_global_symbol_to_c_name_address \
13055 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13056 old_postinstall_cmds old_postuninstall_cmds \
13060 lt_prog_compiler_wl \
13061 lt_prog_compiler_pic \
13062 lt_prog_compiler_static \
13063 lt_prog_compiler_no_builtin_flag \
13064 export_dynamic_flag_spec \
13065 thread_safe_flag_spec \
13066 whole_archive_flag_spec \
13067 enable_shared_with_static_runtimes \
13069 old_archive_from_new_cmds \
13074 compiler_lib_search_path \
13076 archive_expsym_cmds \
13078 postuninstall_cmds \
13079 old_archive_from_expsyms_cmds \
13080 allow_undefined_flag \
13081 no_undefined_flag \
13082 export_symbols_cmds \
13083 hardcode_libdir_flag_spec \
13084 hardcode_libdir_flag_spec_ld \
13085 hardcode_libdir_separator \
13086 hardcode_automatic \
13088 module_expsym_cmds \
13089 lt_cv_prog_compiler_c_o \
13092 include_expsyms; do
13095 old_archive_cmds | \
13096 old_archive_from_new_cmds | \
13098 archive_expsym_cmds | \
13100 module_expsym_cmds | \
13101 old_archive_from_expsyms_cmds | \
13102 export_symbols_cmds | \
13103 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13104 postinstall_cmds | postuninstall_cmds | \
13105 old_postinstall_cmds | old_postuninstall_cmds | \
13106 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13107 # Double-quote double-evaled strings.
13108 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13111 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13117 *'\$0 --fallback-echo"')
13118 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13122 cfgfile="${ofile}T"
13123 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
13125 { echo "$as_me:$LINENO: creating $ofile" >&5
13126 echo "$as_me: creating $ofile" >&6;}
13128 cat <<__EOF__ >> "$cfgfile"
13131 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13132 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
13133 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13135 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
13136 # Free Software Foundation, Inc.
13138 # This file is part of GNU Libtool:
13139 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
13141 # This program is free software; you can redistribute it and/or modify
13142 # it under the terms of the GNU General Public License as published by
13143 # the Free Software Foundation; either version 2 of the License, or
13144 # (at your option) any later version.
13146 # This program is distributed in the hope that it will be useful, but
13147 # WITHOUT ANY WARRANTY; without even the implied warranty of
13148 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13149 # General Public License for more details.
13151 # You should have received a copy of the GNU General Public License
13152 # along with this program; if not, write to the Free Software
13153 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13155 # As a special exception to the GNU General Public License, if you
13156 # distribute this file as part of a program that contains a
13157 # configuration script generated by Autoconf, you may include it under
13158 # the same distribution terms that you use for the rest of that program.
13160 # A sed program that does not truncate output.
13163 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13164 Xsed="$SED -e 1s/^X//"
13166 # The HP-UX ksh and POSIX shell print the target directory to stdout
13167 # if CDPATH is set.
13168 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13170 # The names of the tagged configurations supported by this script.
13173 # ### BEGIN LIBTOOL CONFIG
13175 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13177 # Shell to use when invoking shell scripts.
13180 # Whether or not to build shared libraries.
13181 build_libtool_libs=$enable_shared
13183 # Whether or not to build static libraries.
13184 build_old_libs=$enable_static
13186 # Whether or not to add -lc for building shared libraries.
13187 build_libtool_need_lc=$archive_cmds_need_lc
13189 # Whether or not to disallow shared libs when runtime libs are static
13190 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13192 # Whether or not to optimize for fast installation.
13193 fast_install=$enable_fast_install
13196 host_alias=$host_alias
13200 # The build system.
13201 build_alias=$build_alias
13205 # An echo program that does not interpret backslashes.
13210 AR_FLAGS=$lt_AR_FLAGS
13215 # LTCC compiler flags.
13216 LTCFLAGS=$lt_LTCFLAGS
13218 # A language-specific compiler.
13221 # Is the compiler the GNU C compiler?
13227 # The linker used to build libraries.
13230 # Whether we need hard or soft links.
13233 # A BSD-compatible nm program.
13236 # A symbol stripping program
13239 # Used to examine libraries when file_magic_cmd begins "file"
13240 MAGIC_CMD=$MAGIC_CMD
13242 # Used on cygwin: DLL creation program.
13245 # Used on cygwin: object dumper.
13248 # Used on cygwin: assembler.
13251 # The name of the directory that contains temporary libtool files.
13254 # How to create reloadable object files.
13255 reload_flag=$lt_reload_flag
13256 reload_cmds=$lt_reload_cmds
13258 # How to pass a linker flag through the compiler.
13259 wl=$lt_lt_prog_compiler_wl
13261 # Object file suffix (normally "o").
13262 objext="$ac_objext"
13264 # Old archive suffix (normally "a").
13267 # Shared library suffix (normally ".so").
13268 shrext_cmds='$shrext_cmds'
13270 # Executable file suffix (normally "").
13273 # Additional compiler flags for building library objects.
13274 pic_flag=$lt_lt_prog_compiler_pic
13277 # What is the maximum length of a command?
13278 max_cmd_len=$lt_cv_sys_max_cmd_len
13280 # Does compiler simultaneously support -c and -o options?
13281 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13283 # Must we lock files when doing compilation?
13284 need_locks=$lt_need_locks
13286 # Do we need the lib prefix for modules?
13287 need_lib_prefix=$need_lib_prefix
13289 # Do we need a version for libraries?
13290 need_version=$need_version
13292 # Whether dlopen is supported.
13293 dlopen_support=$enable_dlopen
13295 # Whether dlopen of programs is supported.
13296 dlopen_self=$enable_dlopen_self
13298 # Whether dlopen of statically linked programs is supported.
13299 dlopen_self_static=$enable_dlopen_self_static
13301 # Compiler flag to prevent dynamic linking.
13302 link_static_flag=$lt_lt_prog_compiler_static
13304 # Compiler flag to turn off builtin functions.
13305 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13307 # Compiler flag to allow reflexive dlopens.
13308 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13310 # Compiler flag to generate shared objects directly from archives.
13311 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13313 # Compiler flag to generate thread-safe objects.
13314 thread_safe_flag_spec=$lt_thread_safe_flag_spec
13316 # Library versioning type.
13317 version_type=$version_type
13319 # Format of library name prefix.
13320 libname_spec=$lt_libname_spec
13322 # List of archive names. First name is the real one, the rest are links.
13323 # The last name is the one that the linker finds with -lNAME.
13324 library_names_spec=$lt_library_names_spec
13326 # The coded name of the library, if different from the real name.
13327 soname_spec=$lt_soname_spec
13329 # Commands used to build and install an old-style archive.
13331 old_archive_cmds=$lt_old_archive_cmds
13332 old_postinstall_cmds=$lt_old_postinstall_cmds
13333 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13335 # Create an old-style archive from a shared archive.
13336 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13338 # Create a temporary old-style archive to link instead of a shared archive.
13339 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13341 # Commands used to build and install a shared archive.
13342 archive_cmds=$lt_archive_cmds
13343 archive_expsym_cmds=$lt_archive_expsym_cmds
13344 postinstall_cmds=$lt_postinstall_cmds
13345 postuninstall_cmds=$lt_postuninstall_cmds
13347 # Commands used to build a loadable module (assumed same as above if empty)
13348 module_cmds=$lt_module_cmds
13349 module_expsym_cmds=$lt_module_expsym_cmds
13351 # Commands to strip libraries.
13352 old_striplib=$lt_old_striplib
13353 striplib=$lt_striplib
13355 # Dependencies to place before the objects being linked to create a
13357 predep_objects=$lt_predep_objects
13359 # Dependencies to place after the objects being linked to create a
13361 postdep_objects=$lt_postdep_objects
13363 # Dependencies to place before the objects being linked to create a
13365 predeps=$lt_predeps
13367 # Dependencies to place after the objects being linked to create a
13369 postdeps=$lt_postdeps
13371 # The library search path used internally by the compiler when linking
13372 # a shared library.
13373 compiler_lib_search_path=$lt_compiler_lib_search_path
13375 # Method to check whether dependent libraries are shared objects.
13376 deplibs_check_method=$lt_deplibs_check_method
13378 # Command to use when deplibs_check_method == file_magic.
13379 file_magic_cmd=$lt_file_magic_cmd
13381 # Flag that allows shared libraries with undefined symbols to be built.
13382 allow_undefined_flag=$lt_allow_undefined_flag
13384 # Flag that forces no undefined symbols.
13385 no_undefined_flag=$lt_no_undefined_flag
13387 # Commands used to finish a libtool library installation in a directory.
13388 finish_cmds=$lt_finish_cmds
13390 # Same as above, but a single script fragment to be evaled but not shown.
13391 finish_eval=$lt_finish_eval
13393 # Take the output of nm and produce a listing of raw symbols and C names.
13394 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13396 # Transform the output of nm in a proper C declaration
13397 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13399 # Transform the output of nm in a C name address pair
13400 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13402 # This is the shared library runtime path variable.
13403 runpath_var=$runpath_var
13405 # This is the shared library path variable.
13406 shlibpath_var=$shlibpath_var
13408 # Is shlibpath searched before the hard-coded library search path?
13409 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13411 # How to hardcode a shared library path into an executable.
13412 hardcode_action=$hardcode_action
13414 # Whether we should hardcode library paths into libraries.
13415 hardcode_into_libs=$hardcode_into_libs
13417 # Flag to hardcode \$libdir into a binary during linking.
13418 # This must work even if \$libdir does not exist.
13419 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13421 # If ld is used when linking, flag to hardcode \$libdir into
13422 # a binary during linking. This must work even if \$libdir does
13424 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13426 # Whether we need a single -rpath flag with a separated argument.
13427 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13429 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13430 # resulting binary.
13431 hardcode_direct=$hardcode_direct
13433 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13434 # resulting binary.
13435 hardcode_minus_L=$hardcode_minus_L
13437 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13438 # the resulting binary.
13439 hardcode_shlibpath_var=$hardcode_shlibpath_var
13441 # Set to yes if building a shared library automatically hardcodes DIR into the library
13442 # and all subsequent libraries and executables linked against it.
13443 hardcode_automatic=$hardcode_automatic
13445 # Variables whose values should be saved in libtool wrapper scripts and
13446 # restored at relink time.
13447 variables_saved_for_relink="$variables_saved_for_relink"
13449 # Whether libtool must link a program against all its dependency libraries.
13450 link_all_deplibs=$link_all_deplibs
13452 # Compile-time system search path for libraries
13453 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13455 # Run-time system search path for libraries
13456 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13458 # Fix the shell variable \$srcfile for the compiler.
13459 fix_srcfile_path=$lt_fix_srcfile_path
13461 # Set to yes if exported symbols are required.
13462 always_export_symbols=$always_export_symbols
13464 # The commands to list exported symbols.
13465 export_symbols_cmds=$lt_export_symbols_cmds
13467 # The commands to extract the exported symbol list from a shared archive.
13468 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13470 # Symbols that should not be listed in the preloaded symbols.
13471 exclude_expsyms=$lt_exclude_expsyms
13473 # Symbols that must always be exported.
13474 include_expsyms=$lt_include_expsyms
13476 # ### END LIBTOOL CONFIG
13483 cat <<\EOF >> "$cfgfile"
13485 # AIX sometimes has problems with the GCC collect2 program. For some
13486 # reason, if we set the COLLECT_NAMES environment variable, the problems
13487 # vanish in a puff of smoke.
13488 if test "X${COLLECT_NAMES+set}" != Xset; then
13490 export COLLECT_NAMES
13496 # We use sed instead of cat because bash on DJGPP gets confused if
13497 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13498 # text mode, it properly converts lines to CR/LF. This bash problem
13499 # is reportedly fixed, but why not run on old versions too?
13500 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
13502 mv -f "$cfgfile" "$ofile" || \
13503 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13507 # If there is no Makefile yet, we rely on a make rule to execute
13508 # `config.status --recheck' to rerun these tests and create the
13509 # libtool script then.
13510 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13511 if test -f "$ltmain_in"; then
13512 test -f Makefile && make "$ltmain"
13518 ac_cpp='$CPP $CPPFLAGS'
13519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13526 # Check whether --with-tags was given.
13527 if test "${with_tags+set}" = set; then
13528 withval=$with_tags; tagnames="$withval"
13532 if test -f "$ltmain" && test -n "$tagnames"; then
13533 if test ! -f "${ofile}"; then
13534 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
13535 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
13538 if test -z "$LTCC"; then
13539 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
13540 if test -z "$LTCC"; then
13541 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
13542 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
13544 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
13545 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
13548 if test -z "$LTCFLAGS"; then
13549 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
13552 # Extract list of available tagged configurations in $ofile.
13553 # Note that this assumes the entire list is on one line.
13554 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
13556 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
13557 for tagname in $tagnames; do
13559 # Check whether tagname contains only valid characters
13560 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
13562 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
13563 echo "$as_me: error: invalid tag name: $tagname" >&2;}
13564 { (exit 1); exit 1; }; }
13568 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
13570 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
13571 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
13572 { (exit 1); exit 1; }; }
13575 # Update the list of available tags.
13576 if test -n "$tagname"; then
13577 echo appending configuration tag \"$tagname\" to $ofile
13581 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13582 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13583 (test "X$CXX" != "Xg++"))) ; then
13585 ac_cpp='$CXXCPP $CPPFLAGS'
13586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13593 archive_cmds_need_lc_CXX=no
13594 allow_undefined_flag_CXX=
13595 always_export_symbols_CXX=no
13596 archive_expsym_cmds_CXX=
13597 export_dynamic_flag_spec_CXX=
13598 hardcode_direct_CXX=no
13599 hardcode_libdir_flag_spec_CXX=
13600 hardcode_libdir_flag_spec_ld_CXX=
13601 hardcode_libdir_separator_CXX=
13602 hardcode_minus_L_CXX=no
13603 hardcode_shlibpath_var_CXX=unsupported
13604 hardcode_automatic_CXX=no
13606 module_expsym_cmds_CXX=
13607 link_all_deplibs_CXX=unknown
13608 old_archive_cmds_CXX=$old_archive_cmds
13609 no_undefined_flag_CXX=
13610 whole_archive_flag_spec_CXX=
13611 enable_shared_with_static_runtimes_CXX=no
13613 # Dependencies to place before and after the object being linked:
13614 predep_objects_CXX=
13615 postdep_objects_CXX=
13618 compiler_lib_search_path_CXX=
13620 # Source file extension for C++ test sources.
13623 # Object file extension for compiled C++ test sources.
13627 # Code to be used in simple compile tests
13628 lt_simple_compile_test_code="int some_variable = 0;"
13630 # Code to be used in simple link tests
13631 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13633 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13635 # If no C compiler was specified, use CC.
13638 # If no C compiler flags were specified, use CFLAGS.
13639 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13641 # Allow CC to be a program name with arguments.
13645 # save warnings/boilerplate of simple test code
13646 ac_outfile=conftest.$ac_objext
13647 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13648 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13649 _lt_compiler_boilerplate=`cat conftest.err`
13652 ac_outfile=conftest.$ac_objext
13653 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13654 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13655 _lt_linker_boilerplate=`cat conftest.err`
13659 # Allow CC to be a program name with arguments.
13664 lt_save_with_gnu_ld=$with_gnu_ld
13665 lt_save_path_LD=$lt_cv_path_LD
13666 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13667 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13669 $as_unset lt_cv_prog_gnu_ld
13671 if test -n "${lt_cv_path_LDCXX+set}"; then
13672 lt_cv_path_LD=$lt_cv_path_LDCXX
13674 $as_unset lt_cv_path_LD
13676 test -z "${LDCXX+set}" || LD=$LDCXX
13680 for cc_temp in $compiler""; do
13682 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13683 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13688 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13691 # We don't want -fno-exception wen compiling C++ code, so set the
13692 # no_builtin_flag separately
13693 if test "$GXX" = yes; then
13694 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13696 lt_prog_compiler_no_builtin_flag_CXX=
13699 if test "$GXX" = yes; then
13700 # Set up default GNU C++ configuration
13703 # Check whether --with-gnu-ld was given.
13704 if test "${with_gnu_ld+set}" = set; then
13705 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13711 if test "$GCC" = yes; then
13712 # Check if gcc -print-prog-name=ld gives a path.
13713 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13714 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
13717 # gcc leaves a trailing carriage return which upsets mingw
13718 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13720 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13723 # Accept absolute paths.
13725 re_direlt='/[^/][^/]*/\.\./'
13726 # Canonicalize the pathname of ld
13727 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
13728 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
13729 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
13731 test -z "$LD" && LD="$ac_prog"
13734 # If it fails, then pretend we aren't using GCC.
13738 # If it is relative, then search for the first ld in PATH.
13739 with_gnu_ld=unknown
13742 elif test "$with_gnu_ld" = yes; then
13743 { echo "$as_me:$LINENO: checking for GNU ld" >&5
13744 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
13746 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13747 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
13749 if test "${lt_cv_path_LD+set}" = set; then
13750 echo $ECHO_N "(cached) $ECHO_C" >&6
13752 if test -z "$LD"; then
13753 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13754 for ac_dir in $PATH; do
13756 test -z "$ac_dir" && ac_dir=.
13757 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13758 lt_cv_path_LD="$ac_dir/$ac_prog"
13759 # Check to see if the program is GNU ld. I'd rather use --version,
13760 # but apparently some variants of GNU ld only accept -v.
13761 # Break only if it was the GNU/non-GNU ld that we prefer.
13762 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13763 *GNU* | *'with BFD'*)
13764 test "$with_gnu_ld" != no && break
13767 test "$with_gnu_ld" != yes && break
13774 lt_cv_path_LD="$LD" # Let the user override the test with a path.
13778 LD="$lt_cv_path_LD"
13779 if test -n "$LD"; then
13780 { echo "$as_me:$LINENO: result: $LD" >&5
13781 echo "${ECHO_T}$LD" >&6; }
13783 { echo "$as_me:$LINENO: result: no" >&5
13784 echo "${ECHO_T}no" >&6; }
13786 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13787 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13788 { (exit 1); exit 1; }; }
13789 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13790 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
13791 if test "${lt_cv_prog_gnu_ld+set}" = set; then
13792 echo $ECHO_N "(cached) $ECHO_C" >&6
13794 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13795 case `$LD -v 2>&1 </dev/null` in
13796 *GNU* | *'with BFD'*)
13797 lt_cv_prog_gnu_ld=yes
13800 lt_cv_prog_gnu_ld=no
13804 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13805 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
13806 with_gnu_ld=$lt_cv_prog_gnu_ld
13810 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13811 # archiving commands below assume that GNU ld is being used.
13812 if test "$with_gnu_ld" = yes; then
13813 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13814 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'
13816 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13817 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13819 # If archive_cmds runs LD, not CC, wlarc should be empty
13820 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13821 # investigate it a little bit more. (MM)
13824 # ancient GNU ld didn't support --whole-archive et. al.
13825 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
13826 grep 'no-whole-archive' > /dev/null; then
13827 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13829 whole_archive_flag_spec_CXX=
13835 # A generic and very simple default shared library creation
13836 # command for GNU C++ for the case where it uses the native
13837 # linker, instead of GNU ld. If possible, this setting should
13838 # overridden to take advantage of the native linker features on
13839 # the platform it is being used on.
13840 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13843 # Commands to make compiler produce verbose output that lists
13844 # what "hidden" libraries, object files and flags are used when
13845 # linking a shared library.
13846 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13854 # PORTME: fill in a description of your system's C++ link characteristics
13855 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13856 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13860 # FIXME: insert proper C++ library support
13864 if test "$host_cpu" = ia64; then
13865 # On IA64, the linker does run time linking by default, so we don't
13866 # have to do anything special.
13867 aix_use_runtimelinking=no
13868 exp_sym_flag='-Bexport'
13871 aix_use_runtimelinking=no
13873 # Test if we are trying to use run time linking or normal
13874 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13875 # need to do runtime linking.
13876 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13877 for ld_flag in $LDFLAGS; do
13880 aix_use_runtimelinking=yes
13888 exp_sym_flag='-bexport'
13889 no_entry_flag='-bnoentry'
13892 # When large executables or shared objects are built, AIX ld can
13893 # have problems creating the table of contents. If linking a library
13894 # or program results in "error TOC overflow" add -mminimal-toc to
13895 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13896 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13898 archive_cmds_CXX=''
13899 hardcode_direct_CXX=yes
13900 hardcode_libdir_separator_CXX=':'
13901 link_all_deplibs_CXX=yes
13903 if test "$GXX" = yes; then
13904 case $host_os in aix4.[012]|aix4.[012].*)
13905 # We only want to do this on AIX 4.2 and lower, the check
13906 # below for broken collect2 doesn't work under 4.3+
13907 collect2name=`${CC} -print-prog-name=collect2`
13908 if test -f "$collect2name" && \
13909 strings "$collect2name" | grep resolve_lib_name >/dev/null
13911 # We have reworked collect2
13914 # We have old collect2
13915 hardcode_direct_CXX=unsupported
13916 # It fails to find uninstalled libraries when the uninstalled
13917 # path is not listed in the libpath. Setting hardcode_minus_L
13918 # to unsupported forces relinking
13919 hardcode_minus_L_CXX=yes
13920 hardcode_libdir_flag_spec_CXX='-L$libdir'
13921 hardcode_libdir_separator_CXX=
13925 shared_flag='-shared'
13926 if test "$aix_use_runtimelinking" = yes; then
13927 shared_flag="$shared_flag "'${wl}-G'
13931 if test "$host_cpu" = ia64; then
13932 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13933 # chokes on -Wl,-G. The following line is correct:
13936 if test "$aix_use_runtimelinking" = yes; then
13937 shared_flag='${wl}-G'
13939 shared_flag='${wl}-bM:SRE'
13944 # It seems that -bexpall does not export symbols beginning with
13945 # underscore (_), so it is better to generate a list of symbols to export.
13946 always_export_symbols_CXX=yes
13947 if test "$aix_use_runtimelinking" = yes; then
13948 # Warning - without using the other runtime loading flags (-brtl),
13949 # -berok will link without error, but may produce a broken library.
13950 allow_undefined_flag_CXX='-berok'
13951 # Determine the default libpath from the value encoded in an empty executable.
13952 cat >conftest.$ac_ext <<_ACEOF
13955 cat confdefs.h >>conftest.$ac_ext
13956 cat >>conftest.$ac_ext <<_ACEOF
13957 /* end confdefs.h. */
13967 rm -f conftest.$ac_objext conftest$ac_exeext
13968 if { (ac_try="$ac_link"
13969 case "(($ac_try" in
13970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13971 *) ac_try_echo=$ac_try;;
13973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13974 (eval "$ac_link") 2>conftest.er1
13976 grep -v '^ *+' conftest.er1 >conftest.err
13978 cat conftest.err >&5
13979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13980 (exit $ac_status); } && {
13981 test -z "$ac_cxx_werror_flag" ||
13982 test ! -s conftest.err
13983 } && test -s conftest$ac_exeext &&
13984 $as_test_x conftest$ac_exeext; then
13986 lt_aix_libpath_sed='
13987 /Import File Strings/,/^$/ {
13993 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13994 # Check for a 64-bit object if we didn't find anything.
13995 if test -z "$aix_libpath"; then
13996 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13999 echo "$as_me: failed program was:" >&5
14000 sed 's/^/| /' conftest.$ac_ext >&5
14005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14006 conftest$ac_exeext conftest.$ac_ext
14007 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14009 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14011 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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14013 if test "$host_cpu" = ia64; then
14014 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14015 allow_undefined_flag_CXX="-z nodefs"
14016 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"
14018 # Determine the default libpath from the value encoded in an empty executable.
14019 cat >conftest.$ac_ext <<_ACEOF
14022 cat confdefs.h >>conftest.$ac_ext
14023 cat >>conftest.$ac_ext <<_ACEOF
14024 /* end confdefs.h. */
14034 rm -f conftest.$ac_objext conftest$ac_exeext
14035 if { (ac_try="$ac_link"
14036 case "(($ac_try" in
14037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14038 *) ac_try_echo=$ac_try;;
14040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14041 (eval "$ac_link") 2>conftest.er1
14043 grep -v '^ *+' conftest.er1 >conftest.err
14045 cat conftest.err >&5
14046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14047 (exit $ac_status); } && {
14048 test -z "$ac_cxx_werror_flag" ||
14049 test ! -s conftest.err
14050 } && test -s conftest$ac_exeext &&
14051 $as_test_x conftest$ac_exeext; then
14053 lt_aix_libpath_sed='
14054 /Import File Strings/,/^$/ {
14060 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14061 # Check for a 64-bit object if we didn't find anything.
14062 if test -z "$aix_libpath"; then
14063 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14066 echo "$as_me: failed program was:" >&5
14067 sed 's/^/| /' conftest.$ac_ext >&5
14072 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14073 conftest$ac_exeext conftest.$ac_ext
14074 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14076 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14077 # Warning - without using the other run time loading flags,
14078 # -berok will link without error, but may produce a broken library.
14079 no_undefined_flag_CXX=' ${wl}-bernotok'
14080 allow_undefined_flag_CXX=' ${wl}-berok'
14081 # Exported symbols can be pulled into shared objects from archives
14082 whole_archive_flag_spec_CXX='$convenience'
14083 archive_cmds_need_lc_CXX=yes
14084 # This is similar to how AIX traditionally builds its shared libraries.
14085 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'
14091 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14092 allow_undefined_flag_CXX=unsupported
14093 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14094 # support --undefined. This deserves some investigation. FIXME
14095 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14102 case $cc_basename in
14104 # FIXME: insert proper C++ library support
14110 cygwin* | mingw* | pw32*)
14111 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14112 # as there is no search path for DLLs.
14113 hardcode_libdir_flag_spec_CXX='-L$libdir'
14114 allow_undefined_flag_CXX=unsupported
14115 always_export_symbols_CXX=no
14116 enable_shared_with_static_runtimes_CXX=yes
14118 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14119 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'
14120 # If the export-symbols file already is a .def file (1st line
14121 # is EXPORTS), use it as is; otherwise, prepend...
14122 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14123 cp $export_symbols $output_objdir/$soname.def;
14125 echo EXPORTS > $output_objdir/$soname.def;
14126 cat $export_symbols >> $output_objdir/$soname.def;
14128 $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'
14133 darwin* | rhapsody*)
14135 rhapsody* | darwin1.[012])
14136 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
14139 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14140 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14142 case ${MACOSX_DEPLOYMENT_TARGET} in
14144 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14147 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
14153 archive_cmds_need_lc_CXX=no
14154 hardcode_direct_CXX=no
14155 hardcode_automatic_CXX=yes
14156 hardcode_shlibpath_var_CXX=unsupported
14157 whole_archive_flag_spec_CXX=''
14158 link_all_deplibs_CXX=yes
14160 if test "$GXX" = yes ; then
14161 lt_int_apple_cc_single_mod=no
14162 output_verbose_link_cmd='echo'
14163 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
14164 lt_int_apple_cc_single_mod=yes
14166 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
14167 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14169 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'
14171 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14172 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14173 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
14174 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14176 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14178 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14180 case $cc_basename in
14182 output_verbose_link_cmd='echo'
14183 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
14184 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14185 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14186 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14187 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14197 case $cc_basename in
14199 # FIXME: insert proper C++ library support
14203 # Green Hills C++ Compiler
14204 # FIXME: insert proper C++ library support
14208 # FIXME: insert proper C++ library support
14214 # C++ shared libraries reported to be fairly broken before switch to ELF
14218 archive_cmds_need_lc_CXX=no
14220 freebsd* | dragonfly*)
14221 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14228 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14229 hardcode_libdir_separator_CXX=:
14230 export_dynamic_flag_spec_CXX='${wl}-E'
14231 hardcode_direct_CXX=yes
14232 hardcode_minus_L_CXX=yes # Not in the search PATH,
14233 # but as the default
14234 # location of the library.
14236 case $cc_basename in
14238 # FIXME: insert proper C++ library support
14242 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'
14243 # Commands to make compiler produce verbose output that lists
14244 # what "hidden" libraries, object files and flags are used when
14245 # linking a shared library.
14247 # There doesn't appear to be a way to prevent this compiler from
14248 # explicitly linking system object files so we need to strip them
14249 # from the output so that they don't get included in the library
14251 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 $list'
14254 if test "$GXX" = yes; then
14255 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'
14257 # FIXME: insert proper C++ library support
14264 if test $with_gnu_ld = no; then
14265 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14266 hardcode_libdir_separator_CXX=:
14271 export_dynamic_flag_spec_CXX='${wl}-E'
14277 hardcode_direct_CXX=no
14278 hardcode_shlibpath_var_CXX=no
14281 hardcode_direct_CXX=yes
14282 hardcode_minus_L_CXX=yes # Not in the search PATH,
14283 # but as the default
14284 # location of the library.
14288 case $cc_basename in
14290 # FIXME: insert proper C++ library support
14296 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14299 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14302 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14305 # Commands to make compiler produce verbose output that lists
14306 # what "hidden" libraries, object files and flags are used when
14307 # linking a shared library.
14309 # There doesn't appear to be a way to prevent this compiler from
14310 # explicitly linking system object files so we need to strip them
14311 # from the output so that they don't get included in the library
14313 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 $list'
14316 if test "$GXX" = yes; then
14317 if test $with_gnu_ld = no; then
14320 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14323 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14326 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'
14331 # FIXME: insert proper C++ library support
14338 hardcode_direct_CXX=no
14339 hardcode_shlibpath_var_CXX=no
14340 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14341 export_dynamic_flag_spec_CXX='${wl}-E'
14342 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14343 # Instead, shared libraries are loaded at an image base (0x10000000 by
14344 # default) and relocated if they conflict, which is a slow very memory
14345 # consuming and fragmenting process. To avoid this, we pick a random,
14346 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14347 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14348 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'
14349 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'
14352 case $cc_basename in
14355 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14357 # Archives containing C++ object files must be created using
14358 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14359 # necessary to make sure instantiated templates are included
14361 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14364 if test "$GXX" = yes; then
14365 if test "$with_gnu_ld" = no; then
14366 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14368 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
14371 link_all_deplibs_CXX=yes
14374 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14375 hardcode_libdir_separator_CXX=:
14377 linux* | k*bsd*-gnu)
14378 case $cc_basename in
14380 # Kuck and Associates, Inc. (KAI) C++ Compiler
14382 # KCC will only create a shared library if the output file
14383 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14384 # to its proper name (with version) after linking.
14385 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'
14386 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'
14387 # Commands to make compiler produce verbose output that lists
14388 # what "hidden" libraries, object files and flags are used when
14389 # linking a shared library.
14391 # There doesn't appear to be a way to prevent this compiler from
14392 # explicitly linking system object files so we need to strip them
14393 # from the output so that they don't get included in the library
14395 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 $list'
14397 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
14398 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14400 # Archives containing C++ object files must be created using
14401 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14402 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14407 # version 8.0 and above of icpc choke on multiply defined symbols
14408 # if we add $predep_objects and $postdep_objects, however 7.1 and
14409 # earlier do not add the objects themselves.
14410 case `$CC -V 2>&1` in
14412 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14413 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'
14415 *) # Version 8.0 or newer
14418 ia64*) tmp_idyn=' -i_dynamic';;
14420 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14421 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'
14424 archive_cmds_need_lc_CXX=no
14425 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14426 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14427 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14430 # Portland Group C++ compiler
14431 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14432 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'
14434 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14435 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14436 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'
14440 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14441 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'
14443 runpath_var=LD_RUN_PATH
14444 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14445 hardcode_libdir_separator_CXX=:
14447 # Commands to make compiler produce verbose output that lists
14448 # what "hidden" libraries, object files and flags are used when
14449 # linking a shared library.
14451 # There doesn't appear to be a way to prevent this compiler from
14452 # explicitly linking system object files so we need to strip them
14453 # from the output so that they don't get included in the library
14455 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "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 $list'
14458 case `$CC -V 2>&1 | sed 5q` in
14461 no_undefined_flag_CXX=' -zdefs'
14462 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14463 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'
14464 hardcode_libdir_flag_spec_CXX='-R$libdir'
14465 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'
14467 # Not sure whether something based on
14468 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14470 output_verbose_link_cmd='echo'
14472 # Archives containing C++ object files must be created using
14473 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14474 # necessary to make sure instantiated templates are included
14476 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14483 # FIXME: insert proper C++ library support
14487 # FIXME: insert proper C++ library support
14491 case $cc_basename in
14493 # FIXME: insert proper C++ library support
14497 # FIXME: insert proper C++ library support
14503 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14504 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14506 hardcode_libdir_flag_spec_CXX='-R$libdir'
14507 hardcode_direct_CXX=yes
14508 hardcode_shlibpath_var_CXX=no
14510 # Workaround some broken pre-1.5 toolchains
14511 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14514 # C++ shared libraries are fairly broken
14518 if test -f /usr/libexec/ld.so; then
14519 hardcode_direct_CXX=yes
14520 hardcode_shlibpath_var_CXX=no
14521 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14522 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14523 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14524 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14525 export_dynamic_flag_spec_CXX='${wl}-E'
14526 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14528 output_verbose_link_cmd='echo'
14534 case $cc_basename in
14536 # Kuck and Associates, Inc. (KAI) C++ Compiler
14538 # KCC will only create a shared library if the output file
14539 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14540 # to its proper name (with version) after linking.
14541 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'
14543 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14544 hardcode_libdir_separator_CXX=:
14546 # Archives containing C++ object files must be created using
14547 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14548 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14552 # Rational C++ 2.4.1
14553 # FIXME: insert proper C++ library support
14557 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14558 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14560 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14561 hardcode_libdir_separator_CXX=:
14563 # Commands to make compiler produce verbose output that lists
14564 # what "hidden" libraries, object files and flags are used when
14565 # linking a shared library.
14567 # There doesn't appear to be a way to prevent this compiler from
14568 # explicitly linking system object files so we need to strip them
14569 # from the output so that they don't get included in the library
14571 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "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 $list'
14574 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14575 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14576 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 ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14578 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14579 hardcode_libdir_separator_CXX=:
14581 # Commands to make compiler produce verbose output that lists
14582 # what "hidden" libraries, object files and flags are used when
14583 # linking a shared library.
14584 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
14587 # FIXME: insert proper C++ library support
14594 case $cc_basename in
14596 # Kuck and Associates, Inc. (KAI) C++ Compiler
14598 # KCC will only create a shared library if the output file
14599 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14600 # to its proper name (with version) after linking.
14601 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'
14603 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14604 hardcode_libdir_separator_CXX=:
14606 # Archives containing C++ object files must be created using
14607 # the KAI C++ compiler.
14608 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
14611 # Rational C++ 2.4.1
14612 # FIXME: insert proper C++ library support
14616 allow_undefined_flag_CXX=' -expect_unresolved \*'
14617 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14618 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14619 echo "-hidden">> $lib.exp~
14620 $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 -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
14623 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14624 hardcode_libdir_separator_CXX=:
14626 # Commands to make compiler produce verbose output that lists
14627 # what "hidden" libraries, object files and flags are used when
14628 # linking a shared library.
14630 # There doesn't appear to be a way to prevent this compiler from
14631 # explicitly linking system object files so we need to strip them
14632 # from the output so that they don't get included in the library
14634 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "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 $list'
14637 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14638 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14639 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` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14641 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14642 hardcode_libdir_separator_CXX=:
14644 # Commands to make compiler produce verbose output that lists
14645 # what "hidden" libraries, object files and flags are used when
14646 # linking a shared library.
14647 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
14650 # FIXME: insert proper C++ library support
14657 # FIXME: insert proper C++ library support
14661 case $cc_basename in
14664 # FIXME: insert proper C++ library support
14669 # FIXME: insert proper C++ library support
14673 # FIXME: insert proper C++ library support
14679 case $cc_basename in
14681 # Sun C++ 4.2, 5.x and Centerline C++
14682 archive_cmds_need_lc_CXX=yes
14683 no_undefined_flag_CXX=' -zdefs'
14684 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14685 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14686 $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'
14688 hardcode_libdir_flag_spec_CXX='-R$libdir'
14689 hardcode_shlibpath_var_CXX=no
14691 solaris2.[0-5] | solaris2.[0-5].*) ;;
14693 # The compiler driver will combine and reorder linker options,
14694 # but understands `-z linker_flag'.
14695 # Supported since Solaris 2.6 (maybe 2.5.1?)
14696 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14699 link_all_deplibs_CXX=yes
14701 output_verbose_link_cmd='echo'
14703 # Archives containing C++ object files must be created using
14704 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14705 # necessary to make sure instantiated templates are included
14707 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14710 # Green Hills C++ Compiler
14711 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14713 # The C++ compiler must be used to create the archive.
14714 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14717 # GNU C++ compiler with Solaris linker
14718 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14719 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14720 if $CC --version | grep -v '^2\.7' > /dev/null; then
14721 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14722 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14723 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
14725 # Commands to make compiler produce verbose output that lists
14726 # what "hidden" libraries, object files and flags are used when
14727 # linking a shared library.
14728 output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
14730 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14732 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14733 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14734 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
14736 # Commands to make compiler produce verbose output that lists
14737 # what "hidden" libraries, object files and flags are used when
14738 # linking a shared library.
14739 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
14742 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14744 solaris2.[0-5] | solaris2.[0-5].*) ;;
14746 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14753 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14754 no_undefined_flag_CXX='${wl}-z,text'
14755 archive_cmds_need_lc_CXX=no
14756 hardcode_shlibpath_var_CXX=no
14757 runpath_var='LD_RUN_PATH'
14759 case $cc_basename in
14761 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14762 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14765 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14766 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14770 sysv5* | sco3.2v5* | sco5v6*)
14771 # Note: We can NOT use -z defs as we might desire, because we do not
14772 # link with -lc, and that would cause any symbols used from libc to
14773 # always be unresolved, which means just about no library would
14774 # ever link correctly. If we're not using GNU ld we use -z text
14775 # though, which does catch some bad symbols but isn't as heavy-handed
14777 # For security reasons, it is highly recommended that you always
14778 # use absolute paths for naming shared libraries, and exclude the
14779 # DT_RUNPATH tag from executables and libraries. But doing so
14780 # requires that you compile everything twice, which is a pain.
14781 # So that behaviour is only enabled if SCOABSPATH is set to a
14782 # non-empty value in the environment. Most likely only useful for
14783 # creating official distributions of packages.
14784 # This is a hack until libtool officially supports absolute path
14785 # names for shared libraries.
14786 no_undefined_flag_CXX='${wl}-z,text'
14787 allow_undefined_flag_CXX='${wl}-z,nodefs'
14788 archive_cmds_need_lc_CXX=no
14789 hardcode_shlibpath_var_CXX=no
14790 hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
14791 hardcode_libdir_separator_CXX=':'
14792 link_all_deplibs_CXX=yes
14793 export_dynamic_flag_spec_CXX='${wl}-Bexport'
14794 runpath_var='LD_RUN_PATH'
14796 case $cc_basename in
14798 archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14799 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14802 archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14803 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14808 case $cc_basename in
14810 # NonStop-UX NCC 3.20
14811 # FIXME: insert proper C++ library support
14815 # FIXME: insert proper C++ library support
14821 # FIXME: insert proper C++ library support
14825 # FIXME: insert proper C++ library support
14829 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14830 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14831 test "$ld_shlibs_CXX" = no && can_build_shared=no
14837 cat > conftest.$ac_ext <<EOF
14841 Foo (void) { a = 0; }
14847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14848 (eval $ac_compile) 2>&5
14850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14851 (exit $ac_status); }; then
14852 # Parse the compiler output and extract the necessary
14853 # objects, libraries and library flags.
14855 # Sentinel used to keep track of whether or not we are before
14856 # the conftest object file.
14857 pre_test_object_deps_done=no
14859 # The `*' in the case matches for architectures that use `case' in
14860 # $output_verbose_cmd can trigger glob expansion during the loop
14861 # eval without this substitution.
14862 output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
14864 for p in `eval $output_verbose_link_cmd`; do
14868 # Some compilers place space between "-{L,R}" and the path.
14869 # Remove the space.
14870 if test $p = "-L" \
14871 || test $p = "-R"; then
14878 if test "$pre_test_object_deps_done" = no; then
14881 # Internal compiler library paths should come after those
14882 # provided the user. The postdeps already come after the
14883 # user supplied libs so there is no need to process them.
14884 if test -z "$compiler_lib_search_path_CXX"; then
14885 compiler_lib_search_path_CXX="${prev}${p}"
14887 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14890 # The "-l" case would never come before the object being
14891 # linked, so don't bother handling this case.
14894 if test -z "$postdeps_CXX"; then
14895 postdeps_CXX="${prev}${p}"
14897 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14903 # This assumes that the test object file only shows up
14904 # once in the compiler output.
14905 if test "$p" = "conftest.$objext"; then
14906 pre_test_object_deps_done=yes
14910 if test "$pre_test_object_deps_done" = no; then
14911 if test -z "$predep_objects_CXX"; then
14912 predep_objects_CXX="$p"
14914 predep_objects_CXX="$predep_objects_CXX $p"
14917 if test -z "$postdep_objects_CXX"; then
14918 postdep_objects_CXX="$p"
14920 postdep_objects_CXX="$postdep_objects_CXX $p"
14925 *) ;; # Ignore the rest.
14933 echo "libtool.m4: error: problem compiling CXX test program"
14936 $rm -f confest.$objext
14938 # PORTME: override above test on systems where it is broken
14941 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14942 # hack all around it, let's just trust "g++" to DTRT.
14943 predep_objects_CXX=
14944 postdep_objects_CXX=
14949 case `$CC -V 2>&1 | sed 5q` in
14953 # The more standards-conforming stlport4 library is
14954 # incompatible with the Cstd library. Avoid specifying
14955 # it if it's in CXXFLAGS. Ignore libCrun as
14956 # -library=stlport4 depends on it.
14957 case " $CXX $CXXFLAGS " in
14958 *" -library=stlport4 "*)
14959 solaris_use_stlport4=yes
14962 if test "$solaris_use_stlport4" != yes; then
14963 postdeps_CXX='-library=Cstd -library=Crun'
14970 case $cc_basename in
14972 # The more standards-conforming stlport4 library is
14973 # incompatible with the Cstd library. Avoid specifying
14974 # it if it's in CXXFLAGS. Ignore libCrun as
14975 # -library=stlport4 depends on it.
14976 case " $CXX $CXXFLAGS " in
14977 *" -library=stlport4 "*)
14978 solaris_use_stlport4=yes
14982 # Adding this requires a known-good setup of shared libraries for
14983 # Sun compiler versions before 5.6, else PIC objects from an old
14984 # archive will be linked into the output, leading to subtle bugs.
14985 if test "$solaris_use_stlport4" != yes; then
14986 postdeps_CXX='-library=Cstd -library=Crun'
14994 case " $postdeps_CXX " in
14995 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14998 lt_prog_compiler_wl_CXX=
14999 lt_prog_compiler_pic_CXX=
15000 lt_prog_compiler_static_CXX=
15002 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15003 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15005 # C++ specific cases for pic, static, wl, etc.
15006 if test "$GXX" = yes; then
15007 lt_prog_compiler_wl_CXX='-Wl,'
15008 lt_prog_compiler_static_CXX='-static'
15012 # All AIX code is PIC.
15013 if test "$host_cpu" = ia64; then
15014 # AIX 5 now supports IA64 processor
15015 lt_prog_compiler_static_CXX='-Bstatic'
15019 # FIXME: we need at least 68020 code to build shared libraries, but
15020 # adding the `-m68020' flag to GCC prevents building anything better,
15022 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15024 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15025 # PIC is the default for these OSes.
15027 mingw* | cygwin* | os2* | pw32*)
15028 # This hack is so that the source file can tell whether it is being
15029 # built for inclusion in a dll (and should export symbols for example).
15030 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15031 # (--disable-auto-import) libraries
15032 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15034 darwin* | rhapsody*)
15035 # PIC is the default on this platform
15036 # Common symbols not allowed in MH_DYLIB files
15037 lt_prog_compiler_pic_CXX='-fno-common'
15040 # DJGPP does not support shared libraries at all
15041 lt_prog_compiler_pic_CXX=
15044 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15045 # Instead, we relocate shared libraries at runtime.
15048 if test -d /usr/nec; then
15049 lt_prog_compiler_pic_CXX=-Kconform_pic
15053 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15054 # not for PA HP-UX.
15059 lt_prog_compiler_pic_CXX='-fPIC'
15064 lt_prog_compiler_pic_CXX='-fPIC'
15070 # All AIX code is PIC.
15071 if test "$host_cpu" = ia64; then
15072 # AIX 5 now supports IA64 processor
15073 lt_prog_compiler_static_CXX='-Bstatic'
15075 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15079 case $cc_basename in
15081 # Green Hills C++ Compiler
15082 # _LT_AC_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"
15087 # PIC is the default on this platform
15088 # Common symbols not allowed in MH_DYLIB files
15089 case $cc_basename in
15091 lt_prog_compiler_pic_CXX='-qnocommon'
15092 lt_prog_compiler_wl_CXX='-Wl,'
15097 case $cc_basename in
15099 lt_prog_compiler_pic_CXX='-KPIC'
15102 # Green Hills C++ Compiler
15103 lt_prog_compiler_pic_CXX='-pic'
15109 freebsd* | dragonfly*)
15110 # FreeBSD uses GNU C++
15112 hpux9* | hpux10* | hpux11*)
15113 case $cc_basename in
15115 lt_prog_compiler_wl_CXX='-Wl,'
15116 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15117 if test "$host_cpu" != ia64; then
15118 lt_prog_compiler_pic_CXX='+Z'
15122 lt_prog_compiler_wl_CXX='-Wl,'
15123 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15129 lt_prog_compiler_pic_CXX='+Z'
15138 # This is c89, which is MS Visual C++ (no shared libs)
15139 # Anyone wants to do a port?
15141 irix5* | irix6* | nonstopux*)
15142 case $cc_basename in
15144 lt_prog_compiler_wl_CXX='-Wl,'
15145 lt_prog_compiler_static_CXX='-non_shared'
15146 # CC pic flag -KPIC is the default.
15152 linux* | k*bsd*-gnu)
15153 case $cc_basename in
15156 lt_prog_compiler_wl_CXX='--backend -Wl,'
15157 lt_prog_compiler_pic_CXX='-fPIC'
15161 lt_prog_compiler_wl_CXX='-Wl,'
15162 lt_prog_compiler_pic_CXX='-KPIC'
15163 lt_prog_compiler_static_CXX='-static'
15166 # Portland Group C++ compiler.
15167 lt_prog_compiler_wl_CXX='-Wl,'
15168 lt_prog_compiler_pic_CXX='-fpic'
15169 lt_prog_compiler_static_CXX='-Bstatic'
15173 # Make sure the PIC flag is empty. It appears that all Alpha
15174 # Linux and Compaq Tru64 Unix objects are PIC.
15175 lt_prog_compiler_pic_CXX=
15176 lt_prog_compiler_static_CXX='-non_shared'
15179 case `$CC -V 2>&1 | sed 5q` in
15182 lt_prog_compiler_pic_CXX='-KPIC'
15183 lt_prog_compiler_static_CXX='-Bstatic'
15184 lt_prog_compiler_wl_CXX='-Qoption ld '
15195 case $cc_basename in
15197 lt_prog_compiler_pic_CXX='-W c,exportall'
15205 osf3* | osf4* | osf5*)
15206 case $cc_basename in
15208 lt_prog_compiler_wl_CXX='--backend -Wl,'
15211 # Rational C++ 2.4.1
15212 lt_prog_compiler_pic_CXX='-pic'
15215 # Digital/Compaq C++
15216 lt_prog_compiler_wl_CXX='-Wl,'
15217 # Make sure the PIC flag is empty. It appears that all Alpha
15218 # Linux and Compaq Tru64 Unix objects are PIC.
15219 lt_prog_compiler_pic_CXX=
15220 lt_prog_compiler_static_CXX='-non_shared'
15229 case $cc_basename in
15231 # Sun C++ 4.2, 5.x and Centerline C++
15232 lt_prog_compiler_pic_CXX='-KPIC'
15233 lt_prog_compiler_static_CXX='-Bstatic'
15234 lt_prog_compiler_wl_CXX='-Qoption ld '
15237 # Green Hills C++ Compiler
15238 lt_prog_compiler_pic_CXX='-PIC'
15245 case $cc_basename in
15248 lt_prog_compiler_pic_CXX='-pic'
15249 lt_prog_compiler_static_CXX='-Bstatic'
15253 lt_prog_compiler_pic_CXX='-pic'
15260 case $cc_basename in
15262 # NonStop-UX NCC 3.20
15263 lt_prog_compiler_pic_CXX='-KPIC'
15269 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15270 case $cc_basename in
15272 lt_prog_compiler_wl_CXX='-Wl,'
15273 lt_prog_compiler_pic_CXX='-KPIC'
15274 lt_prog_compiler_static_CXX='-Bstatic'
15281 lt_prog_compiler_can_build_shared_CXX=no
15286 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
15287 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
15290 # Check to make sure the PIC flag actually works.
15292 if test -n "$lt_prog_compiler_pic_CXX"; then
15294 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15295 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
15296 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
15297 echo $ECHO_N "(cached) $ECHO_C" >&6
15299 lt_prog_compiler_pic_works_CXX=no
15300 ac_outfile=conftest.$ac_objext
15301 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15302 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
15303 # Insert the option either (1) after the last *FLAGS variable, or
15304 # (2) before a word containing "conftest.", or (3) at the end.
15305 # Note that $ac_compile itself does not contain backslashes and begins
15306 # with a dollar sign (not a hyphen), so the echo should work correctly.
15307 # The option is referenced via a variable to avoid confusing sed.
15308 lt_compile=`echo "$ac_compile" | $SED \
15309 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15310 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15311 -e 's:$: $lt_compiler_flag:'`
15312 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
15313 (eval "$lt_compile" 2>conftest.err)
15315 cat conftest.err >&5
15316 echo "$as_me:__oline__: \$? = $ac_status" >&5
15317 if (exit $ac_status) && test -s "$ac_outfile"; then
15318 # The compiler can only warn and ignore the option if not recognized
15319 # So say no if there are warnings other than the usual output.
15320 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15321 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15322 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15323 lt_prog_compiler_pic_works_CXX=yes
15329 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
15330 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
15332 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
15333 case $lt_prog_compiler_pic_CXX in
15335 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15338 lt_prog_compiler_pic_CXX=
15339 lt_prog_compiler_can_build_shared_CXX=no
15344 # For platforms which do not support PIC, -DPIC is meaningless:
15346 lt_prog_compiler_pic_CXX=
15349 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15354 # Check to make sure the static flag actually works.
15356 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15357 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15358 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15359 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
15360 echo $ECHO_N "(cached) $ECHO_C" >&6
15362 lt_prog_compiler_static_works_CXX=no
15363 save_LDFLAGS="$LDFLAGS"
15364 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15365 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15366 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15367 # The linker can only warn and ignore the option if not recognized
15368 # So say no if there are warnings
15369 if test -s conftest.err; then
15370 # Append any errors to the config.log.
15371 cat conftest.err 1>&5
15372 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15373 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15374 if diff conftest.exp conftest.er2 >/dev/null; then
15375 lt_prog_compiler_static_works_CXX=yes
15378 lt_prog_compiler_static_works_CXX=yes
15382 LDFLAGS="$save_LDFLAGS"
15385 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
15386 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
15388 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
15391 lt_prog_compiler_static_CXX=
15395 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15396 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15397 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
15398 echo $ECHO_N "(cached) $ECHO_C" >&6
15400 lt_cv_prog_compiler_c_o_CXX=no
15401 $rm -r conftest 2>/dev/null
15405 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15407 lt_compiler_flag="-o out/conftest2.$ac_objext"
15408 # Insert the option either (1) after the last *FLAGS variable, or
15409 # (2) before a word containing "conftest.", or (3) at the end.
15410 # Note that $ac_compile itself does not contain backslashes and begins
15411 # with a dollar sign (not a hyphen), so the echo should work correctly.
15412 lt_compile=`echo "$ac_compile" | $SED \
15413 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15414 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15415 -e 's:$: $lt_compiler_flag:'`
15416 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
15417 (eval "$lt_compile" 2>out/conftest.err)
15419 cat out/conftest.err >&5
15420 echo "$as_me:__oline__: \$? = $ac_status" >&5
15421 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15423 # The compiler can only warn and ignore the option if not recognized
15424 # So say no if there are warnings
15425 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15426 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15427 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15428 lt_cv_prog_compiler_c_o_CXX=yes
15433 # SGI C++ compiler will create directory out/ii_files/ for
15434 # template instantiation
15435 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15436 $rm out/* && rmdir out
15442 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15443 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
15446 hard_links="nottested"
15447 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15448 # do not overwrite the value of need_locks provided by the user
15449 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15450 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15453 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15455 ln conftest.a conftest.b 2>&5 || hard_links=no
15456 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15457 { echo "$as_me:$LINENO: result: $hard_links" >&5
15458 echo "${ECHO_T}$hard_links" >&6; }
15459 if test "$hard_links" = no; then
15460 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15461 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15468 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15469 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15471 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15474 # If we're using GNU nm, then we don't want the "-C" option.
15475 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15476 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15477 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'
15479 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'
15483 export_symbols_cmds_CXX="$ltdll_cmds"
15486 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'
15489 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15493 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
15494 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
15495 test "$ld_shlibs_CXX" = no && can_build_shared=no
15498 # Do we need to explicitly link libc?
15500 case "x$archive_cmds_need_lc_CXX" in
15502 # Assume -lc should be added
15503 archive_cmds_need_lc_CXX=yes
15505 if test "$enable_shared" = yes && test "$GCC" = yes; then
15506 case $archive_cmds_CXX in
15508 # FIXME: we may have to deal with multi-command sequences.
15511 # Test whether the compiler implicitly links with -lc since on some
15512 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15513 # to ld, don't add -lc before -lgcc.
15514 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15515 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15517 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15520 (eval $ac_compile) 2>&5
15522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15523 (exit $ac_status); } 2>conftest.err; then
15526 libobjs=conftest.$ac_objext
15528 wl=$lt_prog_compiler_wl_CXX
15529 pic_flag=$lt_prog_compiler_pic_CXX
15535 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15536 allow_undefined_flag_CXX=
15537 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15538 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15541 (exit $ac_status); }
15543 archive_cmds_need_lc_CXX=no
15545 archive_cmds_need_lc_CXX=yes
15547 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15549 cat conftest.err 1>&5
15552 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
15553 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
15560 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15561 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15562 library_names_spec=
15563 libname_spec='lib$name'
15567 postuninstall_cmds=
15571 shlibpath_overrides_runpath=unknown
15573 dynamic_linker="$host_os ld.so"
15574 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15576 need_lib_prefix=unknown
15577 hardcode_into_libs=no
15579 # when you set need_version to no, make sure it does not cause -set_version
15580 # flags to be left without arguments
15581 need_version=unknown
15586 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15587 shlibpath_var=LIBPATH
15589 # AIX 3 has no versioning support, so we append a major version to the name.
15590 soname_spec='${libname}${release}${shared_ext}$major'
15597 hardcode_into_libs=yes
15598 if test "$host_cpu" = ia64; then
15599 # AIX 5 supports IA64
15600 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15601 shlibpath_var=LD_LIBRARY_PATH
15603 # With GCC up to 2.95.x, collect2 would create an import file
15604 # for dependence libraries. The import file would start with
15605 # the line `#! .'. This would cause the generated library to
15606 # depend on `.', always an invalid library. This was fixed in
15607 # development snapshots of GCC prior to 3.0.
15609 aix4 | aix4.[01] | aix4.[01].*)
15610 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15612 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15615 can_build_shared=no
15619 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15620 # soname into executable. Probably we can add versioning support to
15621 # collect2, so additional links can be useful in future.
15622 if test "$aix_use_runtimelinking" = yes; then
15623 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15624 # instead of lib<name>.a to let people know that these are not
15625 # typical AIX shared libraries.
15626 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15628 # We preserve .a as extension for shared libraries through AIX4.2
15629 # and later when we are not doing run time linking.
15630 library_names_spec='${libname}${release}.a $libname.a'
15631 soname_spec='${libname}${release}${shared_ext}$major'
15633 shlibpath_var=LIBPATH
15638 library_names_spec='$libname.ixlibrary $libname.a'
15639 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15640 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'
15644 library_names_spec='${libname}${shared_ext}'
15645 dynamic_linker="$host_os ld.so"
15646 shlibpath_var=LIBRARY_PATH
15652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15653 soname_spec='${libname}${release}${shared_ext}$major'
15654 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15655 shlibpath_var=LD_LIBRARY_PATH
15656 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15657 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15658 # the default ld.so.conf also contains /usr/contrib/lib and
15659 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15660 # libtool to hard-code these into programs
15663 cygwin* | mingw* | pw32*)
15664 version_type=windows
15669 case $GCC,$host_os in
15670 yes,cygwin* | yes,mingw* | yes,pw32*)
15671 library_names_spec='$libname.dll.a'
15672 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15673 postinstall_cmds='base_file=`basename \${file}`~
15674 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15675 dldir=$destdir/`dirname \$dlpath`~
15676 test -d \$dldir || mkdir -p \$dldir~
15677 $install_prog $dir/$dlname \$dldir/$dlname~
15678 chmod a+x \$dldir/$dlname'
15679 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15680 dlpath=$dir/\$dldll~
15682 shlibpath_overrides_runpath=yes
15686 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15687 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15688 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15691 # MinGW DLLs use traditional 'lib' prefix
15692 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15693 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15694 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15695 # It is most probably a Windows format PATH printed by
15696 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15697 # path with ; separators, and with drive letters. We can handle the
15698 # drive letters (cygwin fileutils understands them), so leave them,
15699 # especially as we might pass files found there to a mingw objdump,
15700 # which wouldn't understand a cygwinified path. Ahh.
15701 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15703 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15707 # pw32 DLLs use 'pw' prefix rather than 'lib'
15708 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15714 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15717 dynamic_linker='Win32 ld.exe'
15718 # FIXME: first we should search . and the directory the executable is in
15722 darwin* | rhapsody*)
15723 dynamic_linker="$host_os dyld"
15724 version_type=darwin
15727 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15728 soname_spec='${libname}${release}${major}$shared_ext'
15729 shlibpath_overrides_runpath=yes
15730 shlibpath_var=DYLD_LIBRARY_PATH
15731 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15733 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15740 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15741 soname_spec='${libname}${release}${shared_ext}$major'
15742 shlibpath_var=LD_LIBRARY_PATH
15749 freebsd* | dragonfly*)
15750 # DragonFly does not have aout. When/if they implement a new
15751 # versioning mechanism, adjust this.
15752 if test -x /usr/bin/objformat; then
15753 objformat=`/usr/bin/objformat`
15756 freebsd[123]*) objformat=aout ;;
15757 *) objformat=elf ;;
15760 # Handle Gentoo/FreeBSD as it was Linux
15761 case $host_vendor in
15763 version_type=linux ;;
15765 version_type=freebsd-$objformat ;;
15768 case $version_type in
15770 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15775 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15780 soname_spec='${libname}${release}${shared_ext}$major'
15785 shlibpath_var=LD_LIBRARY_PATH
15788 shlibpath_overrides_runpath=yes
15790 freebsd3.[01]* | freebsdelf3.[01]*)
15791 shlibpath_overrides_runpath=yes
15792 hardcode_into_libs=yes
15794 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15795 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15796 shlibpath_overrides_runpath=no
15797 hardcode_into_libs=yes
15799 *) # from 4.6 on, and DragonFly
15800 shlibpath_overrides_runpath=yes
15801 hardcode_into_libs=yes
15810 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15811 soname_spec='${libname}${release}${shared_ext}$major'
15812 shlibpath_var=LD_LIBRARY_PATH
15813 hardcode_into_libs=yes
15816 hpux9* | hpux10* | hpux11*)
15817 # Give a soname corresponding to the major version so that dld.sl refuses to
15818 # link against other versions.
15825 hardcode_into_libs=yes
15826 dynamic_linker="$host_os dld.so"
15827 shlibpath_var=LD_LIBRARY_PATH
15828 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15829 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15830 soname_spec='${libname}${release}${shared_ext}$major'
15831 if test "X$HPUX_IA64_MODE" = X32; then
15832 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15834 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15836 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15840 hardcode_into_libs=yes
15841 dynamic_linker="$host_os dld.sl"
15842 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15843 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15844 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15845 soname_spec='${libname}${release}${shared_ext}$major'
15846 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15847 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15851 dynamic_linker="$host_os dld.sl"
15852 shlibpath_var=SHLIB_PATH
15853 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15854 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15855 soname_spec='${libname}${release}${shared_ext}$major'
15858 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15859 postinstall_cmds='chmod 555 $lib'
15866 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15867 soname_spec='${libname}${release}${shared_ext}$major'
15868 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15869 shlibpath_var=LD_LIBRARY_PATH
15870 shlibpath_overrides_runpath=no
15871 hardcode_into_libs=yes
15874 irix5* | irix6* | nonstopux*)
15876 nonstopux*) version_type=nonstopux ;;
15878 if test "$lt_cv_prog_gnu_ld" = yes; then
15886 soname_spec='${libname}${release}${shared_ext}$major'
15887 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15889 irix5* | nonstopux*)
15890 libsuff= shlibsuff=
15893 case $LD in # libtool.m4 will add one of these switches to LD
15894 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15895 libsuff= shlibsuff= libmagic=32-bit;;
15896 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15897 libsuff=32 shlibsuff=N32 libmagic=N32;;
15898 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15899 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15900 *) libsuff= shlibsuff= libmagic=never-match;;
15904 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15905 shlibpath_overrides_runpath=no
15906 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15907 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15908 hardcode_into_libs=yes
15911 # No shared lib support for Linux oldld, aout, or coff.
15912 linux*oldld* | linux*aout* | linux*coff*)
15916 # This must be Linux ELF.
15917 linux* | k*bsd*-gnu)
15921 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15922 soname_spec='${libname}${release}${shared_ext}$major'
15923 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15924 shlibpath_var=LD_LIBRARY_PATH
15925 shlibpath_overrides_runpath=no
15926 # This implies no fast_install, which is unacceptable.
15927 # Some rework will be needed to allow for fast_install
15928 # before this can be enabled.
15929 hardcode_into_libs=yes
15931 # Append ld.so.conf contents to the search path
15932 if test -f /etc/ld.so.conf; then
15933 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' ' '`
15934 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15937 # We used to test for /lib/ld.so.1 and disable shared libraries on
15938 # powerpc, because MkLinux only supported shared libraries with the
15939 # GNU dynamic linker. Since this was broken with cross compilers,
15940 # most powerpc-linux boxes support dynamic linking these days and
15941 # people can always --disable-shared, the test was removed, and we
15942 # assume the GNU/Linux dynamic linker is in use.
15943 dynamic_linker='GNU/Linux ld.so'
15950 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15951 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15952 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15953 dynamic_linker='NetBSD (a.out) ld.so'
15955 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15956 soname_spec='${libname}${release}${shared_ext}$major'
15957 dynamic_linker='NetBSD ld.elf_so'
15959 shlibpath_var=LD_LIBRARY_PATH
15960 shlibpath_overrides_runpath=yes
15961 hardcode_into_libs=yes
15966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15967 shlibpath_var=LD_LIBRARY_PATH
15968 shlibpath_overrides_runpath=yes
15975 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15976 soname_spec='${libname}${release}${shared_ext}$major'
15977 shlibpath_var=LD_LIBRARY_PATH
15978 shlibpath_overrides_runpath=yes
15983 sys_lib_dlsearch_path_spec="/usr/lib"
15985 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15987 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15988 *) need_version=no ;;
15990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15991 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15992 shlibpath_var=LD_LIBRARY_PATH
15993 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15995 openbsd2.[89] | openbsd2.[89].*)
15996 shlibpath_overrides_runpath=no
15999 shlibpath_overrides_runpath=yes
16003 shlibpath_overrides_runpath=yes
16008 libname_spec='$name'
16011 library_names_spec='$libname${shared_ext} $libname.a'
16012 dynamic_linker='OS/2 ld.exe'
16013 shlibpath_var=LIBPATH
16016 osf3* | osf4* | osf5*)
16020 soname_spec='${libname}${release}${shared_ext}$major'
16021 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16022 shlibpath_var=LD_LIBRARY_PATH
16023 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16024 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16035 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16036 soname_spec='${libname}${release}${shared_ext}$major'
16037 shlibpath_var=LD_LIBRARY_PATH
16038 shlibpath_overrides_runpath=yes
16039 hardcode_into_libs=yes
16040 # ldd complains unless libraries are executable
16041 postinstall_cmds='chmod +x $lib'
16046 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16047 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16048 shlibpath_var=LD_LIBRARY_PATH
16049 shlibpath_overrides_runpath=yes
16050 if test "$with_gnu_ld" = yes; then
16058 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16059 soname_spec='${libname}${release}${shared_ext}$major'
16060 shlibpath_var=LD_LIBRARY_PATH
16061 case $host_vendor in
16063 shlibpath_overrides_runpath=no
16065 export_dynamic_flag_spec='${wl}-Blargedynsym'
16066 runpath_var=LD_RUN_PATH
16074 shlibpath_overrides_runpath=no
16075 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16081 if test -d /usr/nec ;then
16083 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16084 soname_spec='$libname${shared_ext}.$major'
16085 shlibpath_var=LD_LIBRARY_PATH
16089 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16090 version_type=freebsd-elf
16093 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16094 soname_spec='${libname}${release}${shared_ext}$major'
16095 shlibpath_var=LD_LIBRARY_PATH
16096 hardcode_into_libs=yes
16097 if test "$with_gnu_ld" = yes; then
16098 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16099 shlibpath_overrides_runpath=no
16101 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16102 shlibpath_overrides_runpath=yes
16105 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16109 sys_lib_dlsearch_path_spec='/usr/lib'
16114 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16115 soname_spec='${libname}${release}${shared_ext}$major'
16116 shlibpath_var=LD_LIBRARY_PATH
16123 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16124 echo "${ECHO_T}$dynamic_linker" >&6; }
16125 test "$dynamic_linker" = no && can_build_shared=no
16127 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16128 if test "$GCC" = yes; then
16129 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16132 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16133 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16134 hardcode_action_CXX=
16135 if test -n "$hardcode_libdir_flag_spec_CXX" || \
16136 test -n "$runpath_var_CXX" || \
16137 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16139 # We can hardcode non-existant directories.
16140 if test "$hardcode_direct_CXX" != no &&
16141 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16142 # have to relink, otherwise we might link with an installed library
16143 # when we should be linking with a yet-to-be-installed one
16144 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16145 test "$hardcode_minus_L_CXX" != no; then
16146 # Linking always hardcodes the temporary library directory.
16147 hardcode_action_CXX=relink
16149 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16150 hardcode_action_CXX=immediate
16153 # We cannot hardcode anything, or else we can only hardcode existing
16155 hardcode_action_CXX=unsupported
16157 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
16158 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
16160 if test "$hardcode_action_CXX" = relink; then
16161 # Fast installation is not supported
16162 enable_fast_install=no
16163 elif test "$shlibpath_overrides_runpath" = yes ||
16164 test "$enable_shared" = no; then
16165 # Fast installation is not necessary
16166 enable_fast_install=needless
16170 # The else clause should only fire when bootstrapping the
16171 # libtool distribution, otherwise you forgot to ship ltmain.sh
16172 # with your package, and you will get complaints that there are
16173 # no rules to generate ltmain.sh.
16174 if test -f "$ltmain"; then
16175 # See if we are running on zsh, and set the options which allow our commands through
16176 # without removal of \ escapes.
16177 if test -n "${ZSH_VERSION+set}" ; then
16178 setopt NO_GLOB_SUBST
16180 # Now quote all the things that may contain metacharacters while being
16181 # careful not to overquote the AC_SUBSTed values. We take copies of the
16182 # variables and quote the copies for generation of the libtool script.
16183 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16185 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16186 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16187 deplibs_check_method reload_flag reload_cmds need_locks \
16188 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16189 lt_cv_sys_global_symbol_to_c_name_address \
16190 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16191 old_postinstall_cmds old_postuninstall_cmds \
16195 lt_prog_compiler_wl_CXX \
16196 lt_prog_compiler_pic_CXX \
16197 lt_prog_compiler_static_CXX \
16198 lt_prog_compiler_no_builtin_flag_CXX \
16199 export_dynamic_flag_spec_CXX \
16200 thread_safe_flag_spec_CXX \
16201 whole_archive_flag_spec_CXX \
16202 enable_shared_with_static_runtimes_CXX \
16203 old_archive_cmds_CXX \
16204 old_archive_from_new_cmds_CXX \
16205 predep_objects_CXX \
16206 postdep_objects_CXX \
16209 compiler_lib_search_path_CXX \
16211 archive_expsym_cmds_CXX \
16212 postinstall_cmds_CXX \
16213 postuninstall_cmds_CXX \
16214 old_archive_from_expsyms_cmds_CXX \
16215 allow_undefined_flag_CXX \
16216 no_undefined_flag_CXX \
16217 export_symbols_cmds_CXX \
16218 hardcode_libdir_flag_spec_CXX \
16219 hardcode_libdir_flag_spec_ld_CXX \
16220 hardcode_libdir_separator_CXX \
16221 hardcode_automatic_CXX \
16223 module_expsym_cmds_CXX \
16224 lt_cv_prog_compiler_c_o_CXX \
16225 fix_srcfile_path_CXX \
16226 exclude_expsyms_CXX \
16227 include_expsyms_CXX; do
16230 old_archive_cmds_CXX | \
16231 old_archive_from_new_cmds_CXX | \
16232 archive_cmds_CXX | \
16233 archive_expsym_cmds_CXX | \
16234 module_cmds_CXX | \
16235 module_expsym_cmds_CXX | \
16236 old_archive_from_expsyms_cmds_CXX | \
16237 export_symbols_cmds_CXX | \
16238 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16239 postinstall_cmds | postuninstall_cmds | \
16240 old_postinstall_cmds | old_postuninstall_cmds | \
16241 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16242 # Double-quote double-evaled strings.
16243 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16246 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16252 *'\$0 --fallback-echo"')
16253 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16259 cat <<__EOF__ >> "$cfgfile"
16260 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16262 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16264 # Shell to use when invoking shell scripts.
16267 # Whether or not to build shared libraries.
16268 build_libtool_libs=$enable_shared
16270 # Whether or not to build static libraries.
16271 build_old_libs=$enable_static
16273 # Whether or not to add -lc for building shared libraries.
16274 build_libtool_need_lc=$archive_cmds_need_lc_CXX
16276 # Whether or not to disallow shared libs when runtime libs are static
16277 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
16279 # Whether or not to optimize for fast installation.
16280 fast_install=$enable_fast_install
16283 host_alias=$host_alias
16287 # The build system.
16288 build_alias=$build_alias
16292 # An echo program that does not interpret backslashes.
16297 AR_FLAGS=$lt_AR_FLAGS
16302 # LTCC compiler flags.
16303 LTCFLAGS=$lt_LTCFLAGS
16305 # A language-specific compiler.
16306 CC=$lt_compiler_CXX
16308 # Is the compiler the GNU C compiler?
16314 # The linker used to build libraries.
16317 # Whether we need hard or soft links.
16320 # A BSD-compatible nm program.
16323 # A symbol stripping program
16326 # Used to examine libraries when file_magic_cmd begins "file"
16327 MAGIC_CMD=$MAGIC_CMD
16329 # Used on cygwin: DLL creation program.
16332 # Used on cygwin: object dumper.
16335 # Used on cygwin: assembler.
16338 # The name of the directory that contains temporary libtool files.
16341 # How to create reloadable object files.
16342 reload_flag=$lt_reload_flag
16343 reload_cmds=$lt_reload_cmds
16345 # How to pass a linker flag through the compiler.
16346 wl=$lt_lt_prog_compiler_wl_CXX
16348 # Object file suffix (normally "o").
16349 objext="$ac_objext"
16351 # Old archive suffix (normally "a").
16354 # Shared library suffix (normally ".so").
16355 shrext_cmds='$shrext_cmds'
16357 # Executable file suffix (normally "").
16360 # Additional compiler flags for building library objects.
16361 pic_flag=$lt_lt_prog_compiler_pic_CXX
16364 # What is the maximum length of a command?
16365 max_cmd_len=$lt_cv_sys_max_cmd_len
16367 # Does compiler simultaneously support -c and -o options?
16368 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
16370 # Must we lock files when doing compilation?
16371 need_locks=$lt_need_locks
16373 # Do we need the lib prefix for modules?
16374 need_lib_prefix=$need_lib_prefix
16376 # Do we need a version for libraries?
16377 need_version=$need_version
16379 # Whether dlopen is supported.
16380 dlopen_support=$enable_dlopen
16382 # Whether dlopen of programs is supported.
16383 dlopen_self=$enable_dlopen_self
16385 # Whether dlopen of statically linked programs is supported.
16386 dlopen_self_static=$enable_dlopen_self_static
16388 # Compiler flag to prevent dynamic linking.
16389 link_static_flag=$lt_lt_prog_compiler_static_CXX
16391 # Compiler flag to turn off builtin functions.
16392 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
16394 # Compiler flag to allow reflexive dlopens.
16395 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
16397 # Compiler flag to generate shared objects directly from archives.
16398 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
16400 # Compiler flag to generate thread-safe objects.
16401 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
16403 # Library versioning type.
16404 version_type=$version_type
16406 # Format of library name prefix.
16407 libname_spec=$lt_libname_spec
16409 # List of archive names. First name is the real one, the rest are links.
16410 # The last name is the one that the linker finds with -lNAME.
16411 library_names_spec=$lt_library_names_spec
16413 # The coded name of the library, if different from the real name.
16414 soname_spec=$lt_soname_spec
16416 # Commands used to build and install an old-style archive.
16418 old_archive_cmds=$lt_old_archive_cmds_CXX
16419 old_postinstall_cmds=$lt_old_postinstall_cmds
16420 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16422 # Create an old-style archive from a shared archive.
16423 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
16425 # Create a temporary old-style archive to link instead of a shared archive.
16426 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
16428 # Commands used to build and install a shared archive.
16429 archive_cmds=$lt_archive_cmds_CXX
16430 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
16431 postinstall_cmds=$lt_postinstall_cmds
16432 postuninstall_cmds=$lt_postuninstall_cmds
16434 # Commands used to build a loadable module (assumed same as above if empty)
16435 module_cmds=$lt_module_cmds_CXX
16436 module_expsym_cmds=$lt_module_expsym_cmds_CXX
16438 # Commands to strip libraries.
16439 old_striplib=$lt_old_striplib
16440 striplib=$lt_striplib
16442 # Dependencies to place before the objects being linked to create a
16444 predep_objects=$lt_predep_objects_CXX
16446 # Dependencies to place after the objects being linked to create a
16448 postdep_objects=$lt_postdep_objects_CXX
16450 # Dependencies to place before the objects being linked to create a
16452 predeps=$lt_predeps_CXX
16454 # Dependencies to place after the objects being linked to create a
16456 postdeps=$lt_postdeps_CXX
16458 # The library search path used internally by the compiler when linking
16459 # a shared library.
16460 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
16462 # Method to check whether dependent libraries are shared objects.
16463 deplibs_check_method=$lt_deplibs_check_method
16465 # Command to use when deplibs_check_method == file_magic.
16466 file_magic_cmd=$lt_file_magic_cmd
16468 # Flag that allows shared libraries with undefined symbols to be built.
16469 allow_undefined_flag=$lt_allow_undefined_flag_CXX
16471 # Flag that forces no undefined symbols.
16472 no_undefined_flag=$lt_no_undefined_flag_CXX
16474 # Commands used to finish a libtool library installation in a directory.
16475 finish_cmds=$lt_finish_cmds
16477 # Same as above, but a single script fragment to be evaled but not shown.
16478 finish_eval=$lt_finish_eval
16480 # Take the output of nm and produce a listing of raw symbols and C names.
16481 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16483 # Transform the output of nm in a proper C declaration
16484 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16486 # Transform the output of nm in a C name address pair
16487 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16489 # This is the shared library runtime path variable.
16490 runpath_var=$runpath_var
16492 # This is the shared library path variable.
16493 shlibpath_var=$shlibpath_var
16495 # Is shlibpath searched before the hard-coded library search path?
16496 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16498 # How to hardcode a shared library path into an executable.
16499 hardcode_action=$hardcode_action_CXX
16501 # Whether we should hardcode library paths into libraries.
16502 hardcode_into_libs=$hardcode_into_libs
16504 # Flag to hardcode \$libdir into a binary during linking.
16505 # This must work even if \$libdir does not exist.
16506 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
16508 # If ld is used when linking, flag to hardcode \$libdir into
16509 # a binary during linking. This must work even if \$libdir does
16511 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
16513 # Whether we need a single -rpath flag with a separated argument.
16514 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
16516 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16517 # resulting binary.
16518 hardcode_direct=$hardcode_direct_CXX
16520 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16521 # resulting binary.
16522 hardcode_minus_L=$hardcode_minus_L_CXX
16524 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16525 # the resulting binary.
16526 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
16528 # Set to yes if building a shared library automatically hardcodes DIR into the library
16529 # and all subsequent libraries and executables linked against it.
16530 hardcode_automatic=$hardcode_automatic_CXX
16532 # Variables whose values should be saved in libtool wrapper scripts and
16533 # restored at relink time.
16534 variables_saved_for_relink="$variables_saved_for_relink"
16536 # Whether libtool must link a program against all its dependency libraries.
16537 link_all_deplibs=$link_all_deplibs_CXX
16539 # Compile-time system search path for libraries
16540 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16542 # Run-time system search path for libraries
16543 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16545 # Fix the shell variable \$srcfile for the compiler.
16546 fix_srcfile_path=$lt_fix_srcfile_path
16548 # Set to yes if exported symbols are required.
16549 always_export_symbols=$always_export_symbols_CXX
16551 # The commands to list exported symbols.
16552 export_symbols_cmds=$lt_export_symbols_cmds_CXX
16554 # The commands to extract the exported symbol list from a shared archive.
16555 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16557 # Symbols that should not be listed in the preloaded symbols.
16558 exclude_expsyms=$lt_exclude_expsyms_CXX
16560 # Symbols that must always be exported.
16561 include_expsyms=$lt_include_expsyms_CXX
16563 # ### END LIBTOOL TAG CONFIG: $tagname
16569 # If there is no Makefile yet, we rely on a make rule to execute
16570 # `config.status --recheck' to rerun these tests and create the
16571 # libtool script then.
16572 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16573 if test -f "$ltmain_in"; then
16574 test -f Makefile && make "$ltmain"
16580 ac_cpp='$CPP $CPPFLAGS'
16581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16589 with_gnu_ldcxx=$with_gnu_ld
16590 with_gnu_ld=$lt_save_with_gnu_ld
16591 lt_cv_path_LDCXX=$lt_cv_path_LD
16592 lt_cv_path_LD=$lt_save_path_LD
16593 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16594 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16602 if test -n "$F77" && test "X$F77" != "Xno"; then
16605 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
16606 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16607 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
16610 archive_cmds_need_lc_F77=no
16611 allow_undefined_flag_F77=
16612 always_export_symbols_F77=no
16613 archive_expsym_cmds_F77=
16614 export_dynamic_flag_spec_F77=
16615 hardcode_direct_F77=no
16616 hardcode_libdir_flag_spec_F77=
16617 hardcode_libdir_flag_spec_ld_F77=
16618 hardcode_libdir_separator_F77=
16619 hardcode_minus_L_F77=no
16620 hardcode_automatic_F77=no
16622 module_expsym_cmds_F77=
16623 link_all_deplibs_F77=unknown
16624 old_archive_cmds_F77=$old_archive_cmds
16625 no_undefined_flag_F77=
16626 whole_archive_flag_spec_F77=
16627 enable_shared_with_static_runtimes_F77=no
16629 # Source file extension for f77 test sources.
16632 # Object file extension for compiled f77 test sources.
16636 # Code to be used in simple compile tests
16637 lt_simple_compile_test_code="\
16643 # Code to be used in simple link tests
16644 lt_simple_link_test_code="\
16649 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16651 # If no C compiler was specified, use CC.
16654 # If no C compiler flags were specified, use CFLAGS.
16655 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16657 # Allow CC to be a program name with arguments.
16661 # save warnings/boilerplate of simple test code
16662 ac_outfile=conftest.$ac_objext
16663 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16664 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16665 _lt_compiler_boilerplate=`cat conftest.err`
16668 ac_outfile=conftest.$ac_objext
16669 echo "$lt_simple_link_test_code" >conftest.$ac_ext
16670 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16671 _lt_linker_boilerplate=`cat conftest.err`
16675 # Allow CC to be a program name with arguments.
16680 for cc_temp in $compiler""; do
16682 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16683 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16688 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16691 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
16692 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
16693 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
16694 echo "${ECHO_T}$can_build_shared" >&6; }
16696 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
16697 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
16698 test "$can_build_shared" = "no" && enable_shared=no
16700 # On AIX, shared libraries and static libraries use the same namespace, and
16701 # are all built from PIC.
16704 test "$enable_shared" = yes && enable_static=no
16705 if test -n "$RANLIB"; then
16706 archive_cmds="$archive_cmds~\$RANLIB \$lib"
16707 postinstall_cmds='$RANLIB $lib'
16711 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
16712 test "$enable_shared" = yes && enable_static=no
16716 { echo "$as_me:$LINENO: result: $enable_shared" >&5
16717 echo "${ECHO_T}$enable_shared" >&6; }
16719 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
16720 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
16721 # Make sure either enable_shared or enable_static is yes.
16722 test "$enable_shared" = yes || enable_static=yes
16723 { echo "$as_me:$LINENO: result: $enable_static" >&5
16724 echo "${ECHO_T}$enable_static" >&6; }
16729 lt_prog_compiler_wl_F77=
16730 lt_prog_compiler_pic_F77=
16731 lt_prog_compiler_static_F77=
16733 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16734 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16736 if test "$GCC" = yes; then
16737 lt_prog_compiler_wl_F77='-Wl,'
16738 lt_prog_compiler_static_F77='-static'
16742 # All AIX code is PIC.
16743 if test "$host_cpu" = ia64; then
16744 # AIX 5 now supports IA64 processor
16745 lt_prog_compiler_static_F77='-Bstatic'
16750 # FIXME: we need at least 68020 code to build shared libraries, but
16751 # adding the `-m68020' flag to GCC prevents building anything better,
16753 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
16756 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16757 # PIC is the default for these OSes.
16760 mingw* | cygwin* | pw32* | os2*)
16761 # This hack is so that the source file can tell whether it is being
16762 # built for inclusion in a dll (and should export symbols for example).
16763 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16764 # (--disable-auto-import) libraries
16765 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
16768 darwin* | rhapsody*)
16769 # PIC is the default on this platform
16770 # Common symbols not allowed in MH_DYLIB files
16771 lt_prog_compiler_pic_F77='-fno-common'
16775 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16776 # Instead, we relocate shared libraries at runtime.
16780 # Just because we use GCC doesn't mean we suddenly get shared libraries
16781 # on systems that don't support them.
16782 lt_prog_compiler_can_build_shared_F77=no
16787 if test -d /usr/nec; then
16788 lt_prog_compiler_pic_F77=-Kconform_pic
16793 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16794 # not for PA HP-UX.
16800 lt_prog_compiler_pic_F77='-fPIC'
16806 lt_prog_compiler_pic_F77='-fPIC'
16810 # PORTME Check for flag to pass linker flags through the system compiler.
16813 lt_prog_compiler_wl_F77='-Wl,'
16814 if test "$host_cpu" = ia64; then
16815 # AIX 5 now supports IA64 processor
16816 lt_prog_compiler_static_F77='-Bstatic'
16818 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
16822 # PIC is the default on this platform
16823 # Common symbols not allowed in MH_DYLIB files
16824 case $cc_basename in
16826 lt_prog_compiler_pic_F77='-qnocommon'
16827 lt_prog_compiler_wl_F77='-Wl,'
16832 mingw* | cygwin* | pw32* | os2*)
16833 # This hack is so that the source file can tell whether it is being
16834 # built for inclusion in a dll (and should export symbols for example).
16835 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
16838 hpux9* | hpux10* | hpux11*)
16839 lt_prog_compiler_wl_F77='-Wl,'
16840 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16841 # not for PA HP-UX.
16847 lt_prog_compiler_pic_F77='+Z'
16850 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16851 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
16854 irix5* | irix6* | nonstopux*)
16855 lt_prog_compiler_wl_F77='-Wl,'
16856 # PIC (with -KPIC) is the default.
16857 lt_prog_compiler_static_F77='-non_shared'
16861 lt_prog_compiler_pic_F77='-KPIC'
16862 lt_prog_compiler_static_F77='-Bstatic'
16865 linux* | k*bsd*-gnu)
16866 case $cc_basename in
16868 lt_prog_compiler_wl_F77='-Wl,'
16869 lt_prog_compiler_pic_F77='-KPIC'
16870 lt_prog_compiler_static_F77='-static'
16872 pgcc* | pgf77* | pgf90* | pgf95*)
16873 # Portland Group compilers (*not* the Pentium gcc compiler,
16874 # which looks to be a dead project)
16875 lt_prog_compiler_wl_F77='-Wl,'
16876 lt_prog_compiler_pic_F77='-fpic'
16877 lt_prog_compiler_static_F77='-Bstatic'
16880 lt_prog_compiler_wl_F77='-Wl,'
16881 # All Alpha code is PIC.
16882 lt_prog_compiler_static_F77='-non_shared'
16885 case `$CC -V 2>&1 | sed 5q` in
16888 lt_prog_compiler_pic_F77='-KPIC'
16889 lt_prog_compiler_static_F77='-Bstatic'
16890 lt_prog_compiler_wl_F77='-Wl,'
16893 # Sun Fortran 8.3 passes all unrecognized flags to the linker
16894 lt_prog_compiler_pic_F77='-KPIC'
16895 lt_prog_compiler_static_F77='-Bstatic'
16896 lt_prog_compiler_wl_F77=''
16903 osf3* | osf4* | osf5*)
16904 lt_prog_compiler_wl_F77='-Wl,'
16905 # All OSF/1 code is PIC.
16906 lt_prog_compiler_static_F77='-non_shared'
16910 lt_prog_compiler_static_F77='-non_shared'
16914 lt_prog_compiler_pic_F77='-KPIC'
16915 lt_prog_compiler_static_F77='-Bstatic'
16916 case $cc_basename in
16917 f77* | f90* | f95*)
16918 lt_prog_compiler_wl_F77='-Qoption ld ';;
16920 lt_prog_compiler_wl_F77='-Wl,';;
16925 lt_prog_compiler_wl_F77='-Qoption ld '
16926 lt_prog_compiler_pic_F77='-PIC'
16927 lt_prog_compiler_static_F77='-Bstatic'
16930 sysv4 | sysv4.2uw2* | sysv4.3*)
16931 lt_prog_compiler_wl_F77='-Wl,'
16932 lt_prog_compiler_pic_F77='-KPIC'
16933 lt_prog_compiler_static_F77='-Bstatic'
16937 if test -d /usr/nec ;then
16938 lt_prog_compiler_pic_F77='-Kconform_pic'
16939 lt_prog_compiler_static_F77='-Bstatic'
16943 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16944 lt_prog_compiler_wl_F77='-Wl,'
16945 lt_prog_compiler_pic_F77='-KPIC'
16946 lt_prog_compiler_static_F77='-Bstatic'
16950 lt_prog_compiler_wl_F77='-Wl,'
16951 lt_prog_compiler_can_build_shared_F77=no
16955 lt_prog_compiler_pic_F77='-pic'
16956 lt_prog_compiler_static_F77='-Bstatic'
16960 lt_prog_compiler_can_build_shared_F77=no
16965 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
16966 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
16969 # Check to make sure the PIC flag actually works.
16971 if test -n "$lt_prog_compiler_pic_F77"; then
16973 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
16974 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
16975 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
16976 echo $ECHO_N "(cached) $ECHO_C" >&6
16978 lt_prog_compiler_pic_works_F77=no
16979 ac_outfile=conftest.$ac_objext
16980 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16981 lt_compiler_flag="$lt_prog_compiler_pic_F77"
16982 # Insert the option either (1) after the last *FLAGS variable, or
16983 # (2) before a word containing "conftest.", or (3) at the end.
16984 # Note that $ac_compile itself does not contain backslashes and begins
16985 # with a dollar sign (not a hyphen), so the echo should work correctly.
16986 # The option is referenced via a variable to avoid confusing sed.
16987 lt_compile=`echo "$ac_compile" | $SED \
16988 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16989 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16990 -e 's:$: $lt_compiler_flag:'`
16991 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
16992 (eval "$lt_compile" 2>conftest.err)
16994 cat conftest.err >&5
16995 echo "$as_me:__oline__: \$? = $ac_status" >&5
16996 if (exit $ac_status) && test -s "$ac_outfile"; then
16997 # The compiler can only warn and ignore the option if not recognized
16998 # So say no if there are warnings other than the usual output.
16999 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17000 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17001 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17002 lt_prog_compiler_pic_works_F77=yes
17008 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
17009 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
17011 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
17012 case $lt_prog_compiler_pic_F77 in
17014 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
17017 lt_prog_compiler_pic_F77=
17018 lt_prog_compiler_can_build_shared_F77=no
17023 # For platforms which do not support PIC, -DPIC is meaningless:
17025 lt_prog_compiler_pic_F77=
17028 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
17033 # Check to make sure the static flag actually works.
17035 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
17036 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17037 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17038 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
17039 echo $ECHO_N "(cached) $ECHO_C" >&6
17041 lt_prog_compiler_static_works_F77=no
17042 save_LDFLAGS="$LDFLAGS"
17043 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17044 echo "$lt_simple_link_test_code" > conftest.$ac_ext
17045 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17046 # The linker can only warn and ignore the option if not recognized
17047 # So say no if there are warnings
17048 if test -s conftest.err; then
17049 # Append any errors to the config.log.
17050 cat conftest.err 1>&5
17051 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17052 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17053 if diff conftest.exp conftest.er2 >/dev/null; then
17054 lt_prog_compiler_static_works_F77=yes
17057 lt_prog_compiler_static_works_F77=yes
17061 LDFLAGS="$save_LDFLAGS"
17064 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
17065 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
17067 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
17070 lt_prog_compiler_static_F77=
17074 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17075 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17076 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
17077 echo $ECHO_N "(cached) $ECHO_C" >&6
17079 lt_cv_prog_compiler_c_o_F77=no
17080 $rm -r conftest 2>/dev/null
17084 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17086 lt_compiler_flag="-o out/conftest2.$ac_objext"
17087 # Insert the option either (1) after the last *FLAGS variable, or
17088 # (2) before a word containing "conftest.", or (3) at the end.
17089 # Note that $ac_compile itself does not contain backslashes and begins
17090 # with a dollar sign (not a hyphen), so the echo should work correctly.
17091 lt_compile=`echo "$ac_compile" | $SED \
17092 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17093 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17094 -e 's:$: $lt_compiler_flag:'`
17095 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
17096 (eval "$lt_compile" 2>out/conftest.err)
17098 cat out/conftest.err >&5
17099 echo "$as_me:__oline__: \$? = $ac_status" >&5
17100 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17102 # The compiler can only warn and ignore the option if not recognized
17103 # So say no if there are warnings
17104 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17105 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17106 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17107 lt_cv_prog_compiler_c_o_F77=yes
17112 # SGI C++ compiler will create directory out/ii_files/ for
17113 # template instantiation
17114 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
17115 $rm out/* && rmdir out
17121 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
17122 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
17125 hard_links="nottested"
17126 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
17127 # do not overwrite the value of need_locks provided by the user
17128 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17129 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17132 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17134 ln conftest.a conftest.b 2>&5 || hard_links=no
17135 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17136 { echo "$as_me:$LINENO: result: $hard_links" >&5
17137 echo "${ECHO_T}$hard_links" >&6; }
17138 if test "$hard_links" = no; then
17139 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17140 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17147 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17148 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17151 allow_undefined_flag_F77=
17152 enable_shared_with_static_runtimes_F77=no
17154 archive_expsym_cmds_F77=
17155 old_archive_From_new_cmds_F77=
17156 old_archive_from_expsyms_cmds_F77=
17157 export_dynamic_flag_spec_F77=
17158 whole_archive_flag_spec_F77=
17159 thread_safe_flag_spec_F77=
17160 hardcode_libdir_flag_spec_F77=
17161 hardcode_libdir_flag_spec_ld_F77=
17162 hardcode_libdir_separator_F77=
17163 hardcode_direct_F77=no
17164 hardcode_minus_L_F77=no
17165 hardcode_shlibpath_var_F77=unsupported
17166 link_all_deplibs_F77=unknown
17167 hardcode_automatic_F77=no
17169 module_expsym_cmds_F77=
17170 always_export_symbols_F77=no
17171 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17172 # include_expsyms should be a list of space-separated symbols to be *always*
17173 # included in the symbol list
17174 include_expsyms_F77=
17175 # exclude_expsyms can be an extended regexp of symbols to exclude
17176 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17177 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17178 # as well as any symbol that contains `d'.
17179 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
17180 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17181 # platforms (ab)use it in PIC code, but their linkers get confused if
17182 # the symbol is explicitly referenced. Since portable code cannot
17183 # rely on this symbol name, it's probably fine to never include it in
17184 # preloaded symbol tables.
17185 extract_expsyms_cmds=
17186 # Just being paranoid about ensuring that cc_basename is set.
17187 for cc_temp in $compiler""; do
17189 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17190 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17195 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17198 cygwin* | mingw* | pw32*)
17199 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17200 # When not using gcc, we currently assume that we are using
17201 # Microsoft Visual C++.
17202 if test "$GCC" != yes; then
17207 # we just hope/assume this is gcc and not c89 (= MSVC++)
17216 if test "$with_gnu_ld" = yes; then
17217 # If archive_cmds runs LD, not CC, wlarc should be empty
17220 # Set some defaults for GNU ld with shared library support. These
17221 # are reset later if shared libraries are not supported. Putting them
17222 # here allows them to be overridden if necessary.
17223 runpath_var=LD_RUN_PATH
17224 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
17225 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
17226 # ancient GNU ld didn't support --whole-archive et. al.
17227 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17228 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17230 whole_archive_flag_spec_F77=
17232 supports_anon_versioning=no
17233 case `$LD -v 2>/dev/null` in
17234 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17235 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17236 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17237 *\ 2.11.*) ;; # other 2.11 versions
17238 *) supports_anon_versioning=yes ;;
17241 # See if GNU ld supports shared libraries.
17243 aix3* | aix4* | aix5*)
17244 # On AIX/PPC, the GNU linker is very broken
17245 if test "$host_cpu" != ia64; then
17249 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17250 *** to be unable to reliably create shared libraries on AIX.
17251 *** Therefore, libtool is disabling shared libraries support. If you
17252 *** really care for shared libraries, you may want to modify your PATH
17253 *** so that a non-GNU linker is found, and then restart.
17260 archive_cmds_F77='$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)'
17261 hardcode_libdir_flag_spec_F77='-L$libdir'
17262 hardcode_minus_L_F77=yes
17264 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17265 # that the semantics of dynamic libraries on AmigaOS, at least up
17266 # to version 4, is to share data among multiple programs linked
17267 # with the same dynamic library. Since this doesn't match the
17268 # behavior of shared libraries on other platforms, we can't use
17274 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17275 allow_undefined_flag_F77=unsupported
17276 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17277 # support --undefined. This deserves some investigation. FIXME
17278 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17284 cygwin* | mingw* | pw32*)
17285 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
17286 # as there is no search path for DLLs.
17287 hardcode_libdir_flag_spec_F77='-L$libdir'
17288 allow_undefined_flag_F77=unsupported
17289 always_export_symbols_F77=no
17290 enable_shared_with_static_runtimes_F77=yes
17291 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17293 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17294 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17295 # If the export-symbols file already is a .def file (1st line
17296 # is EXPORTS), use it as is; otherwise, prepend...
17297 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17298 cp $export_symbols $output_objdir/$soname.def;
17300 echo EXPORTS > $output_objdir/$soname.def;
17301 cat $export_symbols >> $output_objdir/$soname.def;
17303 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17310 hardcode_direct_F77=no
17311 hardcode_shlibpath_var_F77=no
17312 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
17313 export_dynamic_flag_spec_F77='${wl}-E'
17314 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17315 # Instead, shared libraries are loaded at an image base (0x10000000 by
17316 # default) and relocated if they conflict, which is a slow very memory
17317 # consuming and fragmenting process. To avoid this, we pick a random,
17318 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17319 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17320 archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17321 archive_expsym_cmds_F77='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'
17324 gnu* | linux* | k*bsd*-gnu)
17325 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17327 case $cc_basename,$host_cpu in
17328 pgcc*) # Portland Group C compiler
17329 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17330 tmp_addflag=' $pic_flag'
17332 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
17333 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17334 tmp_addflag=' $pic_flag -Mnomain' ;;
17335 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
17336 tmp_addflag=' -i_dynamic' ;;
17337 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
17338 tmp_addflag=' -i_dynamic -nofor_main' ;;
17339 ifc* | ifort*) # Intel Fortran compiler
17340 tmp_addflag=' -nofor_main' ;;
17342 case `$CC -V 2>&1 | sed 5q` in
17343 *Sun\ C*) # Sun C 5.9
17344 whole_archive_flag_spec_F77='${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'
17345 tmp_sharedflag='-G' ;;
17346 *Sun\ F*) # Sun Fortran 8.3
17347 tmp_sharedflag='-G' ;;
17349 tmp_sharedflag='-shared' ;;
17351 archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17353 if test $supports_anon_versioning = yes; then
17354 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
17355 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17356 $echo "local: *; };" >> $output_objdir/$libname.ver~
17357 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17365 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17366 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17369 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17370 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17375 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17379 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17380 *** create shared libraries on Solaris systems. Therefore, libtool
17381 *** is disabling shared libraries support. We urge you to upgrade GNU
17382 *** binutils to release 2.9.1 or newer. Another option is to modify
17383 *** your PATH or compiler configuration so that the native linker is
17384 *** used, and then restart.
17387 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17388 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17389 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17395 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17396 case `$LD -v 2>&1` in
17397 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17401 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17402 *** reliably create shared libraries on SCO systems. Therefore, libtool
17403 *** is disabling shared libraries support. We urge you to upgrade GNU
17404 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17405 *** your PATH or compiler configuration so that the native linker is
17406 *** used, and then restart.
17411 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17412 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17413 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17414 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17423 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17425 hardcode_direct_F77=yes
17426 hardcode_shlibpath_var_F77=no
17430 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17431 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17432 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17439 if test "$ld_shlibs_F77" = no; then
17441 hardcode_libdir_flag_spec_F77=
17442 export_dynamic_flag_spec_F77=
17443 whole_archive_flag_spec_F77=
17446 # PORTME fill in a description of your system's linker (not GNU ld)
17449 allow_undefined_flag_F77=unsupported
17450 always_export_symbols_F77=yes
17451 archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
17452 # Note: this linker hardcodes the directories in LIBPATH if there
17453 # are no directories specified by -L.
17454 hardcode_minus_L_F77=yes
17455 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17456 # Neither direct hardcoding nor static linking is supported with a
17458 hardcode_direct_F77=unsupported
17463 if test "$host_cpu" = ia64; then
17464 # On IA64, the linker does run time linking by default, so we don't
17465 # have to do anything special.
17466 aix_use_runtimelinking=no
17467 exp_sym_flag='-Bexport'
17470 # If we're using GNU nm, then we don't want the "-C" option.
17471 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17472 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17473 export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17475 export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17477 aix_use_runtimelinking=no
17479 # Test if we are trying to use run time linking or normal
17480 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17481 # need to do runtime linking.
17482 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
17483 for ld_flag in $LDFLAGS; do
17484 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17485 aix_use_runtimelinking=yes
17492 exp_sym_flag='-bexport'
17493 no_entry_flag='-bnoentry'
17496 # When large executables or shared objects are built, AIX ld can
17497 # have problems creating the table of contents. If linking a library
17498 # or program results in "error TOC overflow" add -mminimal-toc to
17499 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17500 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17502 archive_cmds_F77=''
17503 hardcode_direct_F77=yes
17504 hardcode_libdir_separator_F77=':'
17505 link_all_deplibs_F77=yes
17507 if test "$GCC" = yes; then
17508 case $host_os in aix4.[012]|aix4.[012].*)
17509 # We only want to do this on AIX 4.2 and lower, the check
17510 # below for broken collect2 doesn't work under 4.3+
17511 collect2name=`${CC} -print-prog-name=collect2`
17512 if test -f "$collect2name" && \
17513 strings "$collect2name" | grep resolve_lib_name >/dev/null
17515 # We have reworked collect2
17518 # We have old collect2
17519 hardcode_direct_F77=unsupported
17520 # It fails to find uninstalled libraries when the uninstalled
17521 # path is not listed in the libpath. Setting hardcode_minus_L
17522 # to unsupported forces relinking
17523 hardcode_minus_L_F77=yes
17524 hardcode_libdir_flag_spec_F77='-L$libdir'
17525 hardcode_libdir_separator_F77=
17529 shared_flag='-shared'
17530 if test "$aix_use_runtimelinking" = yes; then
17531 shared_flag="$shared_flag "'${wl}-G'
17535 if test "$host_cpu" = ia64; then
17536 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17537 # chokes on -Wl,-G. The following line is correct:
17540 if test "$aix_use_runtimelinking" = yes; then
17541 shared_flag='${wl}-G'
17543 shared_flag='${wl}-bM:SRE'
17548 # It seems that -bexpall does not export symbols beginning with
17549 # underscore (_), so it is better to generate a list of symbols to export.
17550 always_export_symbols_F77=yes
17551 if test "$aix_use_runtimelinking" = yes; then
17552 # Warning - without using the other runtime loading flags (-brtl),
17553 # -berok will link without error, but may produce a broken library.
17554 allow_undefined_flag_F77='-berok'
17555 # Determine the default libpath from the value encoded in an empty executable.
17556 cat >conftest.$ac_ext <<_ACEOF
17561 rm -f conftest.$ac_objext conftest$ac_exeext
17562 if { (ac_try="$ac_link"
17563 case "(($ac_try" in
17564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17565 *) ac_try_echo=$ac_try;;
17567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17568 (eval "$ac_link") 2>conftest.er1
17570 grep -v '^ *+' conftest.er1 >conftest.err
17572 cat conftest.err >&5
17573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17574 (exit $ac_status); } && {
17575 test -z "$ac_f77_werror_flag" ||
17576 test ! -s conftest.err
17577 } && test -s conftest$ac_exeext &&
17578 $as_test_x conftest$ac_exeext; then
17580 lt_aix_libpath_sed='
17581 /Import File Strings/,/^$/ {
17587 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17588 # Check for a 64-bit object if we didn't find anything.
17589 if test -z "$aix_libpath"; then
17590 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17593 echo "$as_me: failed program was:" >&5
17594 sed 's/^/| /' conftest.$ac_ext >&5
17599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17600 conftest$ac_exeext conftest.$ac_ext
17601 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17603 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
17604 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17606 if test "$host_cpu" = ia64; then
17607 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
17608 allow_undefined_flag_F77="-z nodefs"
17609 archive_expsym_cmds_F77="\$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"
17611 # Determine the default libpath from the value encoded in an empty executable.
17612 cat >conftest.$ac_ext <<_ACEOF
17617 rm -f conftest.$ac_objext conftest$ac_exeext
17618 if { (ac_try="$ac_link"
17619 case "(($ac_try" in
17620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17621 *) ac_try_echo=$ac_try;;
17623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17624 (eval "$ac_link") 2>conftest.er1
17626 grep -v '^ *+' conftest.er1 >conftest.err
17628 cat conftest.err >&5
17629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17630 (exit $ac_status); } && {
17631 test -z "$ac_f77_werror_flag" ||
17632 test ! -s conftest.err
17633 } && test -s conftest$ac_exeext &&
17634 $as_test_x conftest$ac_exeext; then
17636 lt_aix_libpath_sed='
17637 /Import File Strings/,/^$/ {
17643 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17644 # Check for a 64-bit object if we didn't find anything.
17645 if test -z "$aix_libpath"; then
17646 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17649 echo "$as_me: failed program was:" >&5
17650 sed 's/^/| /' conftest.$ac_ext >&5
17655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17656 conftest$ac_exeext conftest.$ac_ext
17657 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17659 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
17660 # Warning - without using the other run time loading flags,
17661 # -berok will link without error, but may produce a broken library.
17662 no_undefined_flag_F77=' ${wl}-bernotok'
17663 allow_undefined_flag_F77=' ${wl}-berok'
17664 # Exported symbols can be pulled into shared objects from archives
17665 whole_archive_flag_spec_F77='$convenience'
17666 archive_cmds_need_lc_F77=yes
17667 # This is similar to how AIX traditionally builds its shared libraries.
17668 archive_expsym_cmds_F77="\$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'
17674 archive_cmds_F77='$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)'
17675 hardcode_libdir_flag_spec_F77='-L$libdir'
17676 hardcode_minus_L_F77=yes
17677 # see comment about different semantics on the GNU ld section
17682 export_dynamic_flag_spec_F77=-rdynamic
17685 cygwin* | mingw* | pw32*)
17686 # When not using gcc, we currently assume that we are using
17687 # Microsoft Visual C++.
17688 # hardcode_libdir_flag_spec is actually meaningless, as there is
17689 # no search path for DLLs.
17690 hardcode_libdir_flag_spec_F77=' '
17691 allow_undefined_flag_F77=unsupported
17692 # Tell ltmain to make .lib files, not .a files.
17694 # Tell ltmain to make .dll files, not .so files.
17696 # FIXME: Setting linknames here is a bad hack.
17697 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17698 # The linker will automatically build a .lib file if we build a DLL.
17699 old_archive_From_new_cmds_F77='true'
17700 # FIXME: Should let the user specify the lib program.
17701 old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
17702 fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
17703 enable_shared_with_static_runtimes_F77=yes
17706 darwin* | rhapsody*)
17708 rhapsody* | darwin1.[012])
17709 allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
17712 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17713 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17715 case ${MACOSX_DEPLOYMENT_TARGET} in
17717 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17720 allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
17726 archive_cmds_need_lc_F77=no
17727 hardcode_direct_F77=no
17728 hardcode_automatic_F77=yes
17729 hardcode_shlibpath_var_F77=unsupported
17730 whole_archive_flag_spec_F77=''
17731 link_all_deplibs_F77=yes
17732 if test "$GCC" = yes ; then
17733 output_verbose_link_cmd='echo'
17734 archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17735 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17736 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17737 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17738 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17740 case $cc_basename in
17742 output_verbose_link_cmd='echo'
17743 archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17744 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17745 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17746 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17747 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17757 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17758 hardcode_libdir_flag_spec_F77='-L$libdir'
17759 hardcode_shlibpath_var_F77=no
17766 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17767 # support. Future versions do this automatically, but an explicit c++rt0.o
17768 # does not break anything, and helps significantly (at the cost of a little
17771 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17772 hardcode_libdir_flag_spec_F77='-R$libdir'
17773 hardcode_direct_F77=yes
17774 hardcode_shlibpath_var_F77=no
17777 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17779 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17780 hardcode_direct_F77=yes
17781 hardcode_minus_L_F77=yes
17782 hardcode_shlibpath_var_F77=no
17785 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17786 freebsd* | dragonfly*)
17787 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17788 hardcode_libdir_flag_spec_F77='-R$libdir'
17789 hardcode_direct_F77=yes
17790 hardcode_shlibpath_var_F77=no
17794 if test "$GCC" = yes; then
17795 archive_cmds_F77='$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'
17797 archive_cmds_F77='$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'
17799 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17800 hardcode_libdir_separator_F77=:
17801 hardcode_direct_F77=yes
17803 # hardcode_minus_L: Not really in the search PATH,
17804 # but as the default location of the library.
17805 hardcode_minus_L_F77=yes
17806 export_dynamic_flag_spec_F77='${wl}-E'
17810 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17811 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17813 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17815 if test "$with_gnu_ld" = no; then
17816 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17817 hardcode_libdir_separator_F77=:
17819 hardcode_direct_F77=yes
17820 export_dynamic_flag_spec_F77='${wl}-E'
17822 # hardcode_minus_L: Not really in the search PATH,
17823 # but as the default location of the library.
17824 hardcode_minus_L_F77=yes
17829 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17832 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17835 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17838 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17844 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17847 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17850 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17854 if test "$with_gnu_ld" = no; then
17855 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17856 hardcode_libdir_separator_F77=:
17860 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
17861 hardcode_direct_F77=no
17862 hardcode_shlibpath_var_F77=no
17865 hardcode_direct_F77=yes
17866 export_dynamic_flag_spec_F77='${wl}-E'
17868 # hardcode_minus_L: Not really in the search PATH,
17869 # but as the default location of the library.
17870 hardcode_minus_L_F77=yes
17876 irix5* | irix6* | nonstopux*)
17877 if test "$GCC" = yes; then
17878 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17880 archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17881 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
17883 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17884 hardcode_libdir_separator_F77=:
17885 link_all_deplibs_F77=yes
17889 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17890 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17892 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17894 hardcode_libdir_flag_spec_F77='-R$libdir'
17895 hardcode_direct_F77=yes
17896 hardcode_shlibpath_var_F77=no
17900 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17901 hardcode_direct_F77=yes
17902 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17903 hardcode_libdir_separator_F77=:
17904 hardcode_shlibpath_var_F77=no
17908 if test -f /usr/libexec/ld.so; then
17909 hardcode_direct_F77=yes
17910 hardcode_shlibpath_var_F77=no
17911 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17912 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17913 archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17914 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
17915 export_dynamic_flag_spec_F77='${wl}-E'
17918 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17919 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17920 hardcode_libdir_flag_spec_F77='-R$libdir'
17923 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17924 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
17934 hardcode_libdir_flag_spec_F77='-L$libdir'
17935 hardcode_minus_L_F77=yes
17936 allow_undefined_flag_F77=unsupported
17937 archive_cmds_F77='$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'
17938 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17942 if test "$GCC" = yes; then
17943 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
17944 archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17946 allow_undefined_flag_F77=' -expect_unresolved \*'
17947 archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17949 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17950 hardcode_libdir_separator_F77=:
17953 osf4* | osf5*) # as osf3* with the addition of -msym flag
17954 if test "$GCC" = yes; then
17955 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
17956 archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17957 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17959 allow_undefined_flag_F77=' -expect_unresolved \*'
17960 archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17961 archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
17962 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
17964 # Both c and cxx compiler support -rpath directly
17965 hardcode_libdir_flag_spec_F77='-rpath $libdir'
17967 hardcode_libdir_separator_F77=:
17971 no_undefined_flag_F77=' -z text'
17972 if test "$GCC" = yes; then
17974 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17975 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17976 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17979 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17980 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17981 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17983 hardcode_libdir_flag_spec_F77='-R$libdir'
17984 hardcode_shlibpath_var_F77=no
17986 solaris2.[0-5] | solaris2.[0-5].*) ;;
17988 # The compiler driver will combine and reorder linker options,
17989 # but understands `-z linker_flag'. GCC discards it without `$wl',
17990 # but is careful enough not to reorder.
17991 # Supported since Solaris 2.6 (maybe 2.5.1?)
17992 if test "$GCC" = yes; then
17993 whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17995 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
17999 link_all_deplibs_F77=yes
18003 if test "x$host_vendor" = xsequent; then
18004 # Use $CC to link under sequent, because it throws in some extra .o
18005 # files that make .init and .fini sections work.
18006 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18008 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18010 hardcode_libdir_flag_spec_F77='-L$libdir'
18011 hardcode_direct_F77=yes
18012 hardcode_minus_L_F77=yes
18013 hardcode_shlibpath_var_F77=no
18017 case $host_vendor in
18019 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18020 hardcode_direct_F77=yes # is this really true???
18023 ## LD is ld it makes a PLAMLIB
18024 ## CC just makes a GrossModule.
18025 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18026 reload_cmds_F77='$CC -r -o $output$reload_objs'
18027 hardcode_direct_F77=no
18030 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18031 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
18034 runpath_var='LD_RUN_PATH'
18035 hardcode_shlibpath_var_F77=no
18039 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18040 hardcode_shlibpath_var_F77=no
18041 export_dynamic_flag_spec_F77='-Bexport'
18045 if test -d /usr/nec; then
18046 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18047 hardcode_shlibpath_var_F77=no
18048 runpath_var=LD_RUN_PATH
18049 hardcode_runpath_var=yes
18054 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18055 no_undefined_flag_F77='${wl}-z,text'
18056 archive_cmds_need_lc_F77=no
18057 hardcode_shlibpath_var_F77=no
18058 runpath_var='LD_RUN_PATH'
18060 if test "$GCC" = yes; then
18061 archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18062 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18064 archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18065 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18069 sysv5* | sco3.2v5* | sco5v6*)
18070 # Note: We can NOT use -z defs as we might desire, because we do not
18071 # link with -lc, and that would cause any symbols used from libc to
18072 # always be unresolved, which means just about no library would
18073 # ever link correctly. If we're not using GNU ld we use -z text
18074 # though, which does catch some bad symbols but isn't as heavy-handed
18076 no_undefined_flag_F77='${wl}-z,text'
18077 allow_undefined_flag_F77='${wl}-z,nodefs'
18078 archive_cmds_need_lc_F77=no
18079 hardcode_shlibpath_var_F77=no
18080 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18081 hardcode_libdir_separator_F77=':'
18082 link_all_deplibs_F77=yes
18083 export_dynamic_flag_spec_F77='${wl}-Bexport'
18084 runpath_var='LD_RUN_PATH'
18086 if test "$GCC" = yes; then
18087 archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18088 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18090 archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18091 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18096 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18097 hardcode_libdir_flag_spec_F77='-L$libdir'
18098 hardcode_shlibpath_var_F77=no
18107 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
18108 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
18109 test "$ld_shlibs_F77" = no && can_build_shared=no
18112 # Do we need to explicitly link libc?
18114 case "x$archive_cmds_need_lc_F77" in
18116 # Assume -lc should be added
18117 archive_cmds_need_lc_F77=yes
18119 if test "$enable_shared" = yes && test "$GCC" = yes; then
18120 case $archive_cmds_F77 in
18122 # FIXME: we may have to deal with multi-command sequences.
18125 # Test whether the compiler implicitly links with -lc since on some
18126 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18127 # to ld, don't add -lc before -lgcc.
18128 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18129 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18131 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18134 (eval $ac_compile) 2>&5
18136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18137 (exit $ac_status); } 2>conftest.err; then
18140 libobjs=conftest.$ac_objext
18142 wl=$lt_prog_compiler_wl_F77
18143 pic_flag=$lt_prog_compiler_pic_F77
18149 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
18150 allow_undefined_flag_F77=
18151 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18152 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18155 (exit $ac_status); }
18157 archive_cmds_need_lc_F77=no
18159 archive_cmds_need_lc_F77=yes
18161 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
18163 cat conftest.err 1>&5
18166 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
18167 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
18174 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18175 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18176 library_names_spec=
18177 libname_spec='lib$name'
18181 postuninstall_cmds=
18185 shlibpath_overrides_runpath=unknown
18187 dynamic_linker="$host_os ld.so"
18188 sys_lib_dlsearch_path_spec="/lib /usr/lib"
18190 need_lib_prefix=unknown
18191 hardcode_into_libs=no
18193 # when you set need_version to no, make sure it does not cause -set_version
18194 # flags to be left without arguments
18195 need_version=unknown
18200 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18201 shlibpath_var=LIBPATH
18203 # AIX 3 has no versioning support, so we append a major version to the name.
18204 soname_spec='${libname}${release}${shared_ext}$major'
18211 hardcode_into_libs=yes
18212 if test "$host_cpu" = ia64; then
18213 # AIX 5 supports IA64
18214 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18215 shlibpath_var=LD_LIBRARY_PATH
18217 # With GCC up to 2.95.x, collect2 would create an import file
18218 # for dependence libraries. The import file would start with
18219 # the line `#! .'. This would cause the generated library to
18220 # depend on `.', always an invalid library. This was fixed in
18221 # development snapshots of GCC prior to 3.0.
18223 aix4 | aix4.[01] | aix4.[01].*)
18224 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18226 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18229 can_build_shared=no
18233 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18234 # soname into executable. Probably we can add versioning support to
18235 # collect2, so additional links can be useful in future.
18236 if test "$aix_use_runtimelinking" = yes; then
18237 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18238 # instead of lib<name>.a to let people know that these are not
18239 # typical AIX shared libraries.
18240 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18242 # We preserve .a as extension for shared libraries through AIX4.2
18243 # and later when we are not doing run time linking.
18244 library_names_spec='${libname}${release}.a $libname.a'
18245 soname_spec='${libname}${release}${shared_ext}$major'
18247 shlibpath_var=LIBPATH
18252 library_names_spec='$libname.ixlibrary $libname.a'
18253 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18254 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'
18258 library_names_spec='${libname}${shared_ext}'
18259 dynamic_linker="$host_os ld.so"
18260 shlibpath_var=LIBRARY_PATH
18266 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18267 soname_spec='${libname}${release}${shared_ext}$major'
18268 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18269 shlibpath_var=LD_LIBRARY_PATH
18270 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18271 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18272 # the default ld.so.conf also contains /usr/contrib/lib and
18273 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18274 # libtool to hard-code these into programs
18277 cygwin* | mingw* | pw32*)
18278 version_type=windows
18283 case $GCC,$host_os in
18284 yes,cygwin* | yes,mingw* | yes,pw32*)
18285 library_names_spec='$libname.dll.a'
18286 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18287 postinstall_cmds='base_file=`basename \${file}`~
18288 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18289 dldir=$destdir/`dirname \$dlpath`~
18290 test -d \$dldir || mkdir -p \$dldir~
18291 $install_prog $dir/$dlname \$dldir/$dlname~
18292 chmod a+x \$dldir/$dlname'
18293 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18294 dlpath=$dir/\$dldll~
18296 shlibpath_overrides_runpath=yes
18300 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18301 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18302 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18305 # MinGW DLLs use traditional 'lib' prefix
18306 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18307 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18308 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18309 # It is most probably a Windows format PATH printed by
18310 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18311 # path with ; separators, and with drive letters. We can handle the
18312 # drive letters (cygwin fileutils understands them), so leave them,
18313 # especially as we might pass files found there to a mingw objdump,
18314 # which wouldn't understand a cygwinified path. Ahh.
18315 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18317 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18321 # pw32 DLLs use 'pw' prefix rather than 'lib'
18322 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18328 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18331 dynamic_linker='Win32 ld.exe'
18332 # FIXME: first we should search . and the directory the executable is in
18336 darwin* | rhapsody*)
18337 dynamic_linker="$host_os dyld"
18338 version_type=darwin
18341 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18342 soname_spec='${libname}${release}${major}$shared_ext'
18343 shlibpath_overrides_runpath=yes
18344 shlibpath_var=DYLD_LIBRARY_PATH
18345 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18347 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18354 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18355 soname_spec='${libname}${release}${shared_ext}$major'
18356 shlibpath_var=LD_LIBRARY_PATH
18363 freebsd* | dragonfly*)
18364 # DragonFly does not have aout. When/if they implement a new
18365 # versioning mechanism, adjust this.
18366 if test -x /usr/bin/objformat; then
18367 objformat=`/usr/bin/objformat`
18370 freebsd[123]*) objformat=aout ;;
18371 *) objformat=elf ;;
18374 # Handle Gentoo/FreeBSD as it was Linux
18375 case $host_vendor in
18377 version_type=linux ;;
18379 version_type=freebsd-$objformat ;;
18382 case $version_type in
18384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18389 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18393 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18394 soname_spec='${libname}${release}${shared_ext}$major'
18399 shlibpath_var=LD_LIBRARY_PATH
18402 shlibpath_overrides_runpath=yes
18404 freebsd3.[01]* | freebsdelf3.[01]*)
18405 shlibpath_overrides_runpath=yes
18406 hardcode_into_libs=yes
18408 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18409 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18410 shlibpath_overrides_runpath=no
18411 hardcode_into_libs=yes
18413 *) # from 4.6 on, and DragonFly
18414 shlibpath_overrides_runpath=yes
18415 hardcode_into_libs=yes
18424 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18425 soname_spec='${libname}${release}${shared_ext}$major'
18426 shlibpath_var=LD_LIBRARY_PATH
18427 hardcode_into_libs=yes
18430 hpux9* | hpux10* | hpux11*)
18431 # Give a soname corresponding to the major version so that dld.sl refuses to
18432 # link against other versions.
18439 hardcode_into_libs=yes
18440 dynamic_linker="$host_os dld.so"
18441 shlibpath_var=LD_LIBRARY_PATH
18442 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18443 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18444 soname_spec='${libname}${release}${shared_ext}$major'
18445 if test "X$HPUX_IA64_MODE" = X32; then
18446 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18448 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18450 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18454 hardcode_into_libs=yes
18455 dynamic_linker="$host_os dld.sl"
18456 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18457 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18458 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18459 soname_spec='${libname}${release}${shared_ext}$major'
18460 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18461 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18465 dynamic_linker="$host_os dld.sl"
18466 shlibpath_var=SHLIB_PATH
18467 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18468 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18469 soname_spec='${libname}${release}${shared_ext}$major'
18472 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18473 postinstall_cmds='chmod 555 $lib'
18480 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18481 soname_spec='${libname}${release}${shared_ext}$major'
18482 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18483 shlibpath_var=LD_LIBRARY_PATH
18484 shlibpath_overrides_runpath=no
18485 hardcode_into_libs=yes
18488 irix5* | irix6* | nonstopux*)
18490 nonstopux*) version_type=nonstopux ;;
18492 if test "$lt_cv_prog_gnu_ld" = yes; then
18500 soname_spec='${libname}${release}${shared_ext}$major'
18501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18503 irix5* | nonstopux*)
18504 libsuff= shlibsuff=
18507 case $LD in # libtool.m4 will add one of these switches to LD
18508 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18509 libsuff= shlibsuff= libmagic=32-bit;;
18510 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18511 libsuff=32 shlibsuff=N32 libmagic=N32;;
18512 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18513 libsuff=64 shlibsuff=64 libmagic=64-bit;;
18514 *) libsuff= shlibsuff= libmagic=never-match;;
18518 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18519 shlibpath_overrides_runpath=no
18520 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18521 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18522 hardcode_into_libs=yes
18525 # No shared lib support for Linux oldld, aout, or coff.
18526 linux*oldld* | linux*aout* | linux*coff*)
18530 # This must be Linux ELF.
18531 linux* | k*bsd*-gnu)
18535 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18536 soname_spec='${libname}${release}${shared_ext}$major'
18537 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18538 shlibpath_var=LD_LIBRARY_PATH
18539 shlibpath_overrides_runpath=no
18540 # This implies no fast_install, which is unacceptable.
18541 # Some rework will be needed to allow for fast_install
18542 # before this can be enabled.
18543 hardcode_into_libs=yes
18545 # Append ld.so.conf contents to the search path
18546 if test -f /etc/ld.so.conf; then
18547 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' ' '`
18548 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18551 # We used to test for /lib/ld.so.1 and disable shared libraries on
18552 # powerpc, because MkLinux only supported shared libraries with the
18553 # GNU dynamic linker. Since this was broken with cross compilers,
18554 # most powerpc-linux boxes support dynamic linking these days and
18555 # people can always --disable-shared, the test was removed, and we
18556 # assume the GNU/Linux dynamic linker is in use.
18557 dynamic_linker='GNU/Linux ld.so'
18564 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18566 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18567 dynamic_linker='NetBSD (a.out) ld.so'
18569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18570 soname_spec='${libname}${release}${shared_ext}$major'
18571 dynamic_linker='NetBSD ld.elf_so'
18573 shlibpath_var=LD_LIBRARY_PATH
18574 shlibpath_overrides_runpath=yes
18575 hardcode_into_libs=yes
18580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18581 shlibpath_var=LD_LIBRARY_PATH
18582 shlibpath_overrides_runpath=yes
18589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18590 soname_spec='${libname}${release}${shared_ext}$major'
18591 shlibpath_var=LD_LIBRARY_PATH
18592 shlibpath_overrides_runpath=yes
18597 sys_lib_dlsearch_path_spec="/usr/lib"
18599 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18601 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18602 *) need_version=no ;;
18604 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18605 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18606 shlibpath_var=LD_LIBRARY_PATH
18607 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18609 openbsd2.[89] | openbsd2.[89].*)
18610 shlibpath_overrides_runpath=no
18613 shlibpath_overrides_runpath=yes
18617 shlibpath_overrides_runpath=yes
18622 libname_spec='$name'
18625 library_names_spec='$libname${shared_ext} $libname.a'
18626 dynamic_linker='OS/2 ld.exe'
18627 shlibpath_var=LIBPATH
18630 osf3* | osf4* | osf5*)
18634 soname_spec='${libname}${release}${shared_ext}$major'
18635 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18636 shlibpath_var=LD_LIBRARY_PATH
18637 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18638 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18649 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18650 soname_spec='${libname}${release}${shared_ext}$major'
18651 shlibpath_var=LD_LIBRARY_PATH
18652 shlibpath_overrides_runpath=yes
18653 hardcode_into_libs=yes
18654 # ldd complains unless libraries are executable
18655 postinstall_cmds='chmod +x $lib'
18660 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18661 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18662 shlibpath_var=LD_LIBRARY_PATH
18663 shlibpath_overrides_runpath=yes
18664 if test "$with_gnu_ld" = yes; then
18672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18673 soname_spec='${libname}${release}${shared_ext}$major'
18674 shlibpath_var=LD_LIBRARY_PATH
18675 case $host_vendor in
18677 shlibpath_overrides_runpath=no
18679 export_dynamic_flag_spec='${wl}-Blargedynsym'
18680 runpath_var=LD_RUN_PATH
18688 shlibpath_overrides_runpath=no
18689 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18695 if test -d /usr/nec ;then
18697 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18698 soname_spec='$libname${shared_ext}.$major'
18699 shlibpath_var=LD_LIBRARY_PATH
18703 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18704 version_type=freebsd-elf
18707 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18708 soname_spec='${libname}${release}${shared_ext}$major'
18709 shlibpath_var=LD_LIBRARY_PATH
18710 hardcode_into_libs=yes
18711 if test "$with_gnu_ld" = yes; then
18712 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18713 shlibpath_overrides_runpath=no
18715 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18716 shlibpath_overrides_runpath=yes
18719 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18723 sys_lib_dlsearch_path_spec='/usr/lib'
18728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18729 soname_spec='${libname}${release}${shared_ext}$major'
18730 shlibpath_var=LD_LIBRARY_PATH
18737 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18738 echo "${ECHO_T}$dynamic_linker" >&6; }
18739 test "$dynamic_linker" = no && can_build_shared=no
18741 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18742 if test "$GCC" = yes; then
18743 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18746 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18747 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18748 hardcode_action_F77=
18749 if test -n "$hardcode_libdir_flag_spec_F77" || \
18750 test -n "$runpath_var_F77" || \
18751 test "X$hardcode_automatic_F77" = "Xyes" ; then
18753 # We can hardcode non-existant directories.
18754 if test "$hardcode_direct_F77" != no &&
18755 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18756 # have to relink, otherwise we might link with an installed library
18757 # when we should be linking with a yet-to-be-installed one
18758 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
18759 test "$hardcode_minus_L_F77" != no; then
18760 # Linking always hardcodes the temporary library directory.
18761 hardcode_action_F77=relink
18763 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18764 hardcode_action_F77=immediate
18767 # We cannot hardcode anything, or else we can only hardcode existing
18769 hardcode_action_F77=unsupported
18771 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
18772 echo "${ECHO_T}$hardcode_action_F77" >&6; }
18774 if test "$hardcode_action_F77" = relink; then
18775 # Fast installation is not supported
18776 enable_fast_install=no
18777 elif test "$shlibpath_overrides_runpath" = yes ||
18778 test "$enable_shared" = no; then
18779 # Fast installation is not necessary
18780 enable_fast_install=needless
18784 # The else clause should only fire when bootstrapping the
18785 # libtool distribution, otherwise you forgot to ship ltmain.sh
18786 # with your package, and you will get complaints that there are
18787 # no rules to generate ltmain.sh.
18788 if test -f "$ltmain"; then
18789 # See if we are running on zsh, and set the options which allow our commands through
18790 # without removal of \ escapes.
18791 if test -n "${ZSH_VERSION+set}" ; then
18792 setopt NO_GLOB_SUBST
18794 # Now quote all the things that may contain metacharacters while being
18795 # careful not to overquote the AC_SUBSTed values. We take copies of the
18796 # variables and quote the copies for generation of the libtool script.
18797 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18799 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18800 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18801 deplibs_check_method reload_flag reload_cmds need_locks \
18802 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18803 lt_cv_sys_global_symbol_to_c_name_address \
18804 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18805 old_postinstall_cmds old_postuninstall_cmds \
18809 lt_prog_compiler_wl_F77 \
18810 lt_prog_compiler_pic_F77 \
18811 lt_prog_compiler_static_F77 \
18812 lt_prog_compiler_no_builtin_flag_F77 \
18813 export_dynamic_flag_spec_F77 \
18814 thread_safe_flag_spec_F77 \
18815 whole_archive_flag_spec_F77 \
18816 enable_shared_with_static_runtimes_F77 \
18817 old_archive_cmds_F77 \
18818 old_archive_from_new_cmds_F77 \
18819 predep_objects_F77 \
18820 postdep_objects_F77 \
18823 compiler_lib_search_path_F77 \
18825 archive_expsym_cmds_F77 \
18826 postinstall_cmds_F77 \
18827 postuninstall_cmds_F77 \
18828 old_archive_from_expsyms_cmds_F77 \
18829 allow_undefined_flag_F77 \
18830 no_undefined_flag_F77 \
18831 export_symbols_cmds_F77 \
18832 hardcode_libdir_flag_spec_F77 \
18833 hardcode_libdir_flag_spec_ld_F77 \
18834 hardcode_libdir_separator_F77 \
18835 hardcode_automatic_F77 \
18837 module_expsym_cmds_F77 \
18838 lt_cv_prog_compiler_c_o_F77 \
18839 fix_srcfile_path_F77 \
18840 exclude_expsyms_F77 \
18841 include_expsyms_F77; do
18844 old_archive_cmds_F77 | \
18845 old_archive_from_new_cmds_F77 | \
18846 archive_cmds_F77 | \
18847 archive_expsym_cmds_F77 | \
18848 module_cmds_F77 | \
18849 module_expsym_cmds_F77 | \
18850 old_archive_from_expsyms_cmds_F77 | \
18851 export_symbols_cmds_F77 | \
18852 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18853 postinstall_cmds | postuninstall_cmds | \
18854 old_postinstall_cmds | old_postuninstall_cmds | \
18855 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18856 # Double-quote double-evaled strings.
18857 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18860 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18866 *'\$0 --fallback-echo"')
18867 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18873 cat <<__EOF__ >> "$cfgfile"
18874 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18876 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18878 # Shell to use when invoking shell scripts.
18881 # Whether or not to build shared libraries.
18882 build_libtool_libs=$enable_shared
18884 # Whether or not to build static libraries.
18885 build_old_libs=$enable_static
18887 # Whether or not to add -lc for building shared libraries.
18888 build_libtool_need_lc=$archive_cmds_need_lc_F77
18890 # Whether or not to disallow shared libs when runtime libs are static
18891 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
18893 # Whether or not to optimize for fast installation.
18894 fast_install=$enable_fast_install
18897 host_alias=$host_alias
18901 # The build system.
18902 build_alias=$build_alias
18906 # An echo program that does not interpret backslashes.
18911 AR_FLAGS=$lt_AR_FLAGS
18916 # LTCC compiler flags.
18917 LTCFLAGS=$lt_LTCFLAGS
18919 # A language-specific compiler.
18920 CC=$lt_compiler_F77
18922 # Is the compiler the GNU C compiler?
18928 # The linker used to build libraries.
18931 # Whether we need hard or soft links.
18934 # A BSD-compatible nm program.
18937 # A symbol stripping program
18940 # Used to examine libraries when file_magic_cmd begins "file"
18941 MAGIC_CMD=$MAGIC_CMD
18943 # Used on cygwin: DLL creation program.
18946 # Used on cygwin: object dumper.
18949 # Used on cygwin: assembler.
18952 # The name of the directory that contains temporary libtool files.
18955 # How to create reloadable object files.
18956 reload_flag=$lt_reload_flag
18957 reload_cmds=$lt_reload_cmds
18959 # How to pass a linker flag through the compiler.
18960 wl=$lt_lt_prog_compiler_wl_F77
18962 # Object file suffix (normally "o").
18963 objext="$ac_objext"
18965 # Old archive suffix (normally "a").
18968 # Shared library suffix (normally ".so").
18969 shrext_cmds='$shrext_cmds'
18971 # Executable file suffix (normally "").
18974 # Additional compiler flags for building library objects.
18975 pic_flag=$lt_lt_prog_compiler_pic_F77
18978 # What is the maximum length of a command?
18979 max_cmd_len=$lt_cv_sys_max_cmd_len
18981 # Does compiler simultaneously support -c and -o options?
18982 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
18984 # Must we lock files when doing compilation?
18985 need_locks=$lt_need_locks
18987 # Do we need the lib prefix for modules?
18988 need_lib_prefix=$need_lib_prefix
18990 # Do we need a version for libraries?
18991 need_version=$need_version
18993 # Whether dlopen is supported.
18994 dlopen_support=$enable_dlopen
18996 # Whether dlopen of programs is supported.
18997 dlopen_self=$enable_dlopen_self
18999 # Whether dlopen of statically linked programs is supported.
19000 dlopen_self_static=$enable_dlopen_self_static
19002 # Compiler flag to prevent dynamic linking.
19003 link_static_flag=$lt_lt_prog_compiler_static_F77
19005 # Compiler flag to turn off builtin functions.
19006 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
19008 # Compiler flag to allow reflexive dlopens.
19009 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
19011 # Compiler flag to generate shared objects directly from archives.
19012 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
19014 # Compiler flag to generate thread-safe objects.
19015 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
19017 # Library versioning type.
19018 version_type=$version_type
19020 # Format of library name prefix.
19021 libname_spec=$lt_libname_spec
19023 # List of archive names. First name is the real one, the rest are links.
19024 # The last name is the one that the linker finds with -lNAME.
19025 library_names_spec=$lt_library_names_spec
19027 # The coded name of the library, if different from the real name.
19028 soname_spec=$lt_soname_spec
19030 # Commands used to build and install an old-style archive.
19032 old_archive_cmds=$lt_old_archive_cmds_F77
19033 old_postinstall_cmds=$lt_old_postinstall_cmds
19034 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19036 # Create an old-style archive from a shared archive.
19037 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
19039 # Create a temporary old-style archive to link instead of a shared archive.
19040 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
19042 # Commands used to build and install a shared archive.
19043 archive_cmds=$lt_archive_cmds_F77
19044 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
19045 postinstall_cmds=$lt_postinstall_cmds
19046 postuninstall_cmds=$lt_postuninstall_cmds
19048 # Commands used to build a loadable module (assumed same as above if empty)
19049 module_cmds=$lt_module_cmds_F77
19050 module_expsym_cmds=$lt_module_expsym_cmds_F77
19052 # Commands to strip libraries.
19053 old_striplib=$lt_old_striplib
19054 striplib=$lt_striplib
19056 # Dependencies to place before the objects being linked to create a
19058 predep_objects=$lt_predep_objects_F77
19060 # Dependencies to place after the objects being linked to create a
19062 postdep_objects=$lt_postdep_objects_F77
19064 # Dependencies to place before the objects being linked to create a
19066 predeps=$lt_predeps_F77
19068 # Dependencies to place after the objects being linked to create a
19070 postdeps=$lt_postdeps_F77
19072 # The library search path used internally by the compiler when linking
19073 # a shared library.
19074 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
19076 # Method to check whether dependent libraries are shared objects.
19077 deplibs_check_method=$lt_deplibs_check_method
19079 # Command to use when deplibs_check_method == file_magic.
19080 file_magic_cmd=$lt_file_magic_cmd
19082 # Flag that allows shared libraries with undefined symbols to be built.
19083 allow_undefined_flag=$lt_allow_undefined_flag_F77
19085 # Flag that forces no undefined symbols.
19086 no_undefined_flag=$lt_no_undefined_flag_F77
19088 # Commands used to finish a libtool library installation in a directory.
19089 finish_cmds=$lt_finish_cmds
19091 # Same as above, but a single script fragment to be evaled but not shown.
19092 finish_eval=$lt_finish_eval
19094 # Take the output of nm and produce a listing of raw symbols and C names.
19095 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19097 # Transform the output of nm in a proper C declaration
19098 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19100 # Transform the output of nm in a C name address pair
19101 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19103 # This is the shared library runtime path variable.
19104 runpath_var=$runpath_var
19106 # This is the shared library path variable.
19107 shlibpath_var=$shlibpath_var
19109 # Is shlibpath searched before the hard-coded library search path?
19110 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19112 # How to hardcode a shared library path into an executable.
19113 hardcode_action=$hardcode_action_F77
19115 # Whether we should hardcode library paths into libraries.
19116 hardcode_into_libs=$hardcode_into_libs
19118 # Flag to hardcode \$libdir into a binary during linking.
19119 # This must work even if \$libdir does not exist.
19120 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
19122 # If ld is used when linking, flag to hardcode \$libdir into
19123 # a binary during linking. This must work even if \$libdir does
19125 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
19127 # Whether we need a single -rpath flag with a separated argument.
19128 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
19130 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19131 # resulting binary.
19132 hardcode_direct=$hardcode_direct_F77
19134 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19135 # resulting binary.
19136 hardcode_minus_L=$hardcode_minus_L_F77
19138 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19139 # the resulting binary.
19140 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
19142 # Set to yes if building a shared library automatically hardcodes DIR into the library
19143 # and all subsequent libraries and executables linked against it.
19144 hardcode_automatic=$hardcode_automatic_F77
19146 # Variables whose values should be saved in libtool wrapper scripts and
19147 # restored at relink time.
19148 variables_saved_for_relink="$variables_saved_for_relink"
19150 # Whether libtool must link a program against all its dependency libraries.
19151 link_all_deplibs=$link_all_deplibs_F77
19153 # Compile-time system search path for libraries
19154 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19156 # Run-time system search path for libraries
19157 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19159 # Fix the shell variable \$srcfile for the compiler.
19160 fix_srcfile_path=$lt_fix_srcfile_path
19162 # Set to yes if exported symbols are required.
19163 always_export_symbols=$always_export_symbols_F77
19165 # The commands to list exported symbols.
19166 export_symbols_cmds=$lt_export_symbols_cmds_F77
19168 # The commands to extract the exported symbol list from a shared archive.
19169 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19171 # Symbols that should not be listed in the preloaded symbols.
19172 exclude_expsyms=$lt_exclude_expsyms_F77
19174 # Symbols that must always be exported.
19175 include_expsyms=$lt_include_expsyms_F77
19177 # ### END LIBTOOL TAG CONFIG: $tagname
19183 # If there is no Makefile yet, we rely on a make rule to execute
19184 # `config.status --recheck' to rerun these tests and create the
19185 # libtool script then.
19186 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19187 if test -f "$ltmain_in"; then
19188 test -f Makefile && make "$ltmain"
19194 ac_cpp='$CPP $CPPFLAGS'
19195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19207 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
19210 # Source file extension for Java test sources.
19213 # Object file extension for compiled Java test sources.
19217 # Code to be used in simple compile tests
19218 lt_simple_compile_test_code="class foo {}"
19220 # Code to be used in simple link tests
19221 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
19223 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19225 # If no C compiler was specified, use CC.
19228 # If no C compiler flags were specified, use CFLAGS.
19229 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
19231 # Allow CC to be a program name with arguments.
19235 # save warnings/boilerplate of simple test code
19236 ac_outfile=conftest.$ac_objext
19237 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
19238 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19239 _lt_compiler_boilerplate=`cat conftest.err`
19242 ac_outfile=conftest.$ac_objext
19243 echo "$lt_simple_link_test_code" >conftest.$ac_ext
19244 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19245 _lt_linker_boilerplate=`cat conftest.err`
19249 # Allow CC to be a program name with arguments.
19254 for cc_temp in $compiler""; do
19256 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19257 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19262 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19265 # GCJ did not exist at the time GCC didn't implicitly link libc in.
19266 archive_cmds_need_lc_GCJ=no
19268 old_archive_cmds_GCJ=$old_archive_cmds
19271 lt_prog_compiler_no_builtin_flag_GCJ=
19273 if test "$GCC" = yes; then
19274 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
19277 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
19278 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
19279 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
19280 echo $ECHO_N "(cached) $ECHO_C" >&6
19282 lt_cv_prog_compiler_rtti_exceptions=no
19283 ac_outfile=conftest.$ac_objext
19284 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19285 lt_compiler_flag="-fno-rtti -fno-exceptions"
19286 # Insert the option either (1) after the last *FLAGS variable, or
19287 # (2) before a word containing "conftest.", or (3) at the end.
19288 # Note that $ac_compile itself does not contain backslashes and begins
19289 # with a dollar sign (not a hyphen), so the echo should work correctly.
19290 # The option is referenced via a variable to avoid confusing sed.
19291 lt_compile=`echo "$ac_compile" | $SED \
19292 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19293 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19294 -e 's:$: $lt_compiler_flag:'`
19295 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
19296 (eval "$lt_compile" 2>conftest.err)
19298 cat conftest.err >&5
19299 echo "$as_me:__oline__: \$? = $ac_status" >&5
19300 if (exit $ac_status) && test -s "$ac_outfile"; then
19301 # The compiler can only warn and ignore the option if not recognized
19302 # So say no if there are warnings other than the usual output.
19303 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
19304 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19305 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
19306 lt_cv_prog_compiler_rtti_exceptions=yes
19312 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
19313 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
19315 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
19316 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
19323 lt_prog_compiler_wl_GCJ=
19324 lt_prog_compiler_pic_GCJ=
19325 lt_prog_compiler_static_GCJ=
19327 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19328 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
19330 if test "$GCC" = yes; then
19331 lt_prog_compiler_wl_GCJ='-Wl,'
19332 lt_prog_compiler_static_GCJ='-static'
19336 # All AIX code is PIC.
19337 if test "$host_cpu" = ia64; then
19338 # AIX 5 now supports IA64 processor
19339 lt_prog_compiler_static_GCJ='-Bstatic'
19344 # FIXME: we need at least 68020 code to build shared libraries, but
19345 # adding the `-m68020' flag to GCC prevents building anything better,
19347 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
19350 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
19351 # PIC is the default for these OSes.
19354 mingw* | cygwin* | pw32* | os2*)
19355 # This hack is so that the source file can tell whether it is being
19356 # built for inclusion in a dll (and should export symbols for example).
19357 # Although the cygwin gcc ignores -fPIC, still need this for old-style
19358 # (--disable-auto-import) libraries
19359 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
19362 darwin* | rhapsody*)
19363 # PIC is the default on this platform
19364 # Common symbols not allowed in MH_DYLIB files
19365 lt_prog_compiler_pic_GCJ='-fno-common'
19369 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19370 # Instead, we relocate shared libraries at runtime.
19374 # Just because we use GCC doesn't mean we suddenly get shared libraries
19375 # on systems that don't support them.
19376 lt_prog_compiler_can_build_shared_GCJ=no
19381 if test -d /usr/nec; then
19382 lt_prog_compiler_pic_GCJ=-Kconform_pic
19387 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19388 # not for PA HP-UX.
19394 lt_prog_compiler_pic_GCJ='-fPIC'
19400 lt_prog_compiler_pic_GCJ='-fPIC'
19404 # PORTME Check for flag to pass linker flags through the system compiler.
19407 lt_prog_compiler_wl_GCJ='-Wl,'
19408 if test "$host_cpu" = ia64; then
19409 # AIX 5 now supports IA64 processor
19410 lt_prog_compiler_static_GCJ='-Bstatic'
19412 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
19416 # PIC is the default on this platform
19417 # Common symbols not allowed in MH_DYLIB files
19418 case $cc_basename in
19420 lt_prog_compiler_pic_GCJ='-qnocommon'
19421 lt_prog_compiler_wl_GCJ='-Wl,'
19426 mingw* | cygwin* | pw32* | os2*)
19427 # This hack is so that the source file can tell whether it is being
19428 # built for inclusion in a dll (and should export symbols for example).
19429 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
19432 hpux9* | hpux10* | hpux11*)
19433 lt_prog_compiler_wl_GCJ='-Wl,'
19434 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19435 # not for PA HP-UX.
19441 lt_prog_compiler_pic_GCJ='+Z'
19444 # Is there a better lt_prog_compiler_static that works with the bundled CC?
19445 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
19448 irix5* | irix6* | nonstopux*)
19449 lt_prog_compiler_wl_GCJ='-Wl,'
19450 # PIC (with -KPIC) is the default.
19451 lt_prog_compiler_static_GCJ='-non_shared'
19455 lt_prog_compiler_pic_GCJ='-KPIC'
19456 lt_prog_compiler_static_GCJ='-Bstatic'
19459 linux* | k*bsd*-gnu)
19460 case $cc_basename in
19462 lt_prog_compiler_wl_GCJ='-Wl,'
19463 lt_prog_compiler_pic_GCJ='-KPIC'
19464 lt_prog_compiler_static_GCJ='-static'
19466 pgcc* | pgf77* | pgf90* | pgf95*)
19467 # Portland Group compilers (*not* the Pentium gcc compiler,
19468 # which looks to be a dead project)
19469 lt_prog_compiler_wl_GCJ='-Wl,'
19470 lt_prog_compiler_pic_GCJ='-fpic'
19471 lt_prog_compiler_static_GCJ='-Bstatic'
19474 lt_prog_compiler_wl_GCJ='-Wl,'
19475 # All Alpha code is PIC.
19476 lt_prog_compiler_static_GCJ='-non_shared'
19479 case `$CC -V 2>&1 | sed 5q` in
19482 lt_prog_compiler_pic_GCJ='-KPIC'
19483 lt_prog_compiler_static_GCJ='-Bstatic'
19484 lt_prog_compiler_wl_GCJ='-Wl,'
19487 # Sun Fortran 8.3 passes all unrecognized flags to the linker
19488 lt_prog_compiler_pic_GCJ='-KPIC'
19489 lt_prog_compiler_static_GCJ='-Bstatic'
19490 lt_prog_compiler_wl_GCJ=''
19497 osf3* | osf4* | osf5*)
19498 lt_prog_compiler_wl_GCJ='-Wl,'
19499 # All OSF/1 code is PIC.
19500 lt_prog_compiler_static_GCJ='-non_shared'
19504 lt_prog_compiler_static_GCJ='-non_shared'
19508 lt_prog_compiler_pic_GCJ='-KPIC'
19509 lt_prog_compiler_static_GCJ='-Bstatic'
19510 case $cc_basename in
19511 f77* | f90* | f95*)
19512 lt_prog_compiler_wl_GCJ='-Qoption ld ';;
19514 lt_prog_compiler_wl_GCJ='-Wl,';;
19519 lt_prog_compiler_wl_GCJ='-Qoption ld '
19520 lt_prog_compiler_pic_GCJ='-PIC'
19521 lt_prog_compiler_static_GCJ='-Bstatic'
19524 sysv4 | sysv4.2uw2* | sysv4.3*)
19525 lt_prog_compiler_wl_GCJ='-Wl,'
19526 lt_prog_compiler_pic_GCJ='-KPIC'
19527 lt_prog_compiler_static_GCJ='-Bstatic'
19531 if test -d /usr/nec ;then
19532 lt_prog_compiler_pic_GCJ='-Kconform_pic'
19533 lt_prog_compiler_static_GCJ='-Bstatic'
19537 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
19538 lt_prog_compiler_wl_GCJ='-Wl,'
19539 lt_prog_compiler_pic_GCJ='-KPIC'
19540 lt_prog_compiler_static_GCJ='-Bstatic'
19544 lt_prog_compiler_wl_GCJ='-Wl,'
19545 lt_prog_compiler_can_build_shared_GCJ=no
19549 lt_prog_compiler_pic_GCJ='-pic'
19550 lt_prog_compiler_static_GCJ='-Bstatic'
19554 lt_prog_compiler_can_build_shared_GCJ=no
19559 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
19560 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
19563 # Check to make sure the PIC flag actually works.
19565 if test -n "$lt_prog_compiler_pic_GCJ"; then
19567 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
19568 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
19569 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
19570 echo $ECHO_N "(cached) $ECHO_C" >&6
19572 lt_prog_compiler_pic_works_GCJ=no
19573 ac_outfile=conftest.$ac_objext
19574 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19575 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
19576 # Insert the option either (1) after the last *FLAGS variable, or
19577 # (2) before a word containing "conftest.", or (3) at the end.
19578 # Note that $ac_compile itself does not contain backslashes and begins
19579 # with a dollar sign (not a hyphen), so the echo should work correctly.
19580 # The option is referenced via a variable to avoid confusing sed.
19581 lt_compile=`echo "$ac_compile" | $SED \
19582 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19583 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19584 -e 's:$: $lt_compiler_flag:'`
19585 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
19586 (eval "$lt_compile" 2>conftest.err)
19588 cat conftest.err >&5
19589 echo "$as_me:__oline__: \$? = $ac_status" >&5
19590 if (exit $ac_status) && test -s "$ac_outfile"; then
19591 # The compiler can only warn and ignore the option if not recognized
19592 # So say no if there are warnings other than the usual output.
19593 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
19594 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19595 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
19596 lt_prog_compiler_pic_works_GCJ=yes
19602 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
19603 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
19605 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
19606 case $lt_prog_compiler_pic_GCJ in
19608 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
19611 lt_prog_compiler_pic_GCJ=
19612 lt_prog_compiler_can_build_shared_GCJ=no
19617 # For platforms which do not support PIC, -DPIC is meaningless:
19619 lt_prog_compiler_pic_GCJ=
19622 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
19627 # Check to make sure the static flag actually works.
19629 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
19630 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19631 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
19632 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
19633 echo $ECHO_N "(cached) $ECHO_C" >&6
19635 lt_prog_compiler_static_works_GCJ=no
19636 save_LDFLAGS="$LDFLAGS"
19637 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
19638 echo "$lt_simple_link_test_code" > conftest.$ac_ext
19639 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
19640 # The linker can only warn and ignore the option if not recognized
19641 # So say no if there are warnings
19642 if test -s conftest.err; then
19643 # Append any errors to the config.log.
19644 cat conftest.err 1>&5
19645 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
19646 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19647 if diff conftest.exp conftest.er2 >/dev/null; then
19648 lt_prog_compiler_static_works_GCJ=yes
19651 lt_prog_compiler_static_works_GCJ=yes
19655 LDFLAGS="$save_LDFLAGS"
19658 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
19659 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
19661 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
19664 lt_prog_compiler_static_GCJ=
19668 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19669 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
19670 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
19671 echo $ECHO_N "(cached) $ECHO_C" >&6
19673 lt_cv_prog_compiler_c_o_GCJ=no
19674 $rm -r conftest 2>/dev/null
19678 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19680 lt_compiler_flag="-o out/conftest2.$ac_objext"
19681 # Insert the option either (1) after the last *FLAGS variable, or
19682 # (2) before a word containing "conftest.", or (3) at the end.
19683 # Note that $ac_compile itself does not contain backslashes and begins
19684 # with a dollar sign (not a hyphen), so the echo should work correctly.
19685 lt_compile=`echo "$ac_compile" | $SED \
19686 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19687 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19688 -e 's:$: $lt_compiler_flag:'`
19689 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
19690 (eval "$lt_compile" 2>out/conftest.err)
19692 cat out/conftest.err >&5
19693 echo "$as_me:__oline__: \$? = $ac_status" >&5
19694 if (exit $ac_status) && test -s out/conftest2.$ac_objext
19696 # The compiler can only warn and ignore the option if not recognized
19697 # So say no if there are warnings
19698 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
19699 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19700 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19701 lt_cv_prog_compiler_c_o_GCJ=yes
19706 # SGI C++ compiler will create directory out/ii_files/ for
19707 # template instantiation
19708 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
19709 $rm out/* && rmdir out
19715 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
19716 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
19719 hard_links="nottested"
19720 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
19721 # do not overwrite the value of need_locks provided by the user
19722 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19723 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
19726 ln conftest.a conftest.b 2>/dev/null && hard_links=no
19728 ln conftest.a conftest.b 2>&5 || hard_links=no
19729 ln conftest.a conftest.b 2>/dev/null && hard_links=no
19730 { echo "$as_me:$LINENO: result: $hard_links" >&5
19731 echo "${ECHO_T}$hard_links" >&6; }
19732 if test "$hard_links" = no; then
19733 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19734 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19741 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19742 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
19745 allow_undefined_flag_GCJ=
19746 enable_shared_with_static_runtimes_GCJ=no
19748 archive_expsym_cmds_GCJ=
19749 old_archive_From_new_cmds_GCJ=
19750 old_archive_from_expsyms_cmds_GCJ=
19751 export_dynamic_flag_spec_GCJ=
19752 whole_archive_flag_spec_GCJ=
19753 thread_safe_flag_spec_GCJ=
19754 hardcode_libdir_flag_spec_GCJ=
19755 hardcode_libdir_flag_spec_ld_GCJ=
19756 hardcode_libdir_separator_GCJ=
19757 hardcode_direct_GCJ=no
19758 hardcode_minus_L_GCJ=no
19759 hardcode_shlibpath_var_GCJ=unsupported
19760 link_all_deplibs_GCJ=unknown
19761 hardcode_automatic_GCJ=no
19763 module_expsym_cmds_GCJ=
19764 always_export_symbols_GCJ=no
19765 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19766 # include_expsyms should be a list of space-separated symbols to be *always*
19767 # included in the symbol list
19768 include_expsyms_GCJ=
19769 # exclude_expsyms can be an extended regexp of symbols to exclude
19770 # it will be wrapped by ` (' and `)$', so one must not match beginning or
19771 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
19772 # as well as any symbol that contains `d'.
19773 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
19774 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
19775 # platforms (ab)use it in PIC code, but their linkers get confused if
19776 # the symbol is explicitly referenced. Since portable code cannot
19777 # rely on this symbol name, it's probably fine to never include it in
19778 # preloaded symbol tables.
19779 extract_expsyms_cmds=
19780 # Just being paranoid about ensuring that cc_basename is set.
19781 for cc_temp in $compiler""; do
19783 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19784 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19789 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19792 cygwin* | mingw* | pw32*)
19793 # FIXME: the MSVC++ port hasn't been tested in a loooong time
19794 # When not using gcc, we currently assume that we are using
19795 # Microsoft Visual C++.
19796 if test "$GCC" != yes; then
19801 # we just hope/assume this is gcc and not c89 (= MSVC++)
19810 if test "$with_gnu_ld" = yes; then
19811 # If archive_cmds runs LD, not CC, wlarc should be empty
19814 # Set some defaults for GNU ld with shared library support. These
19815 # are reset later if shared libraries are not supported. Putting them
19816 # here allows them to be overridden if necessary.
19817 runpath_var=LD_RUN_PATH
19818 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
19819 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
19820 # ancient GNU ld didn't support --whole-archive et. al.
19821 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
19822 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19824 whole_archive_flag_spec_GCJ=
19826 supports_anon_versioning=no
19827 case `$LD -v 2>/dev/null` in
19828 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
19829 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
19830 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
19831 *\ 2.11.*) ;; # other 2.11 versions
19832 *) supports_anon_versioning=yes ;;
19835 # See if GNU ld supports shared libraries.
19837 aix3* | aix4* | aix5*)
19838 # On AIX/PPC, the GNU linker is very broken
19839 if test "$host_cpu" != ia64; then
19843 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
19844 *** to be unable to reliably create shared libraries on AIX.
19845 *** Therefore, libtool is disabling shared libraries support. If you
19846 *** really care for shared libraries, you may want to modify your PATH
19847 *** so that a non-GNU linker is found, and then restart.
19854 archive_cmds_GCJ='$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)'
19855 hardcode_libdir_flag_spec_GCJ='-L$libdir'
19856 hardcode_minus_L_GCJ=yes
19858 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
19859 # that the semantics of dynamic libraries on AmigaOS, at least up
19860 # to version 4, is to share data among multiple programs linked
19861 # with the same dynamic library. Since this doesn't match the
19862 # behavior of shared libraries on other platforms, we can't use
19868 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19869 allow_undefined_flag_GCJ=unsupported
19870 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
19871 # support --undefined. This deserves some investigation. FIXME
19872 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19878 cygwin* | mingw* | pw32*)
19879 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
19880 # as there is no search path for DLLs.
19881 hardcode_libdir_flag_spec_GCJ='-L$libdir'
19882 allow_undefined_flag_GCJ=unsupported
19883 always_export_symbols_GCJ=no
19884 enable_shared_with_static_runtimes_GCJ=yes
19885 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
19887 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
19888 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
19889 # If the export-symbols file already is a .def file (1st line
19890 # is EXPORTS), use it as is; otherwise, prepend...
19891 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
19892 cp $export_symbols $output_objdir/$soname.def;
19894 echo EXPORTS > $output_objdir/$soname.def;
19895 cat $export_symbols >> $output_objdir/$soname.def;
19897 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
19904 hardcode_direct_GCJ=no
19905 hardcode_shlibpath_var_GCJ=no
19906 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19907 export_dynamic_flag_spec_GCJ='${wl}-E'
19908 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
19909 # Instead, shared libraries are loaded at an image base (0x10000000 by
19910 # default) and relocated if they conflict, which is a slow very memory
19911 # consuming and fragmenting process. To avoid this, we pick a random,
19912 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
19913 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
19914 archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
19915 archive_expsym_cmds_GCJ='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'
19918 gnu* | linux* | k*bsd*-gnu)
19919 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19921 case $cc_basename,$host_cpu in
19922 pgcc*) # Portland Group C compiler
19923 whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
19924 tmp_addflag=' $pic_flag'
19926 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
19927 whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
19928 tmp_addflag=' $pic_flag -Mnomain' ;;
19929 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
19930 tmp_addflag=' -i_dynamic' ;;
19931 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
19932 tmp_addflag=' -i_dynamic -nofor_main' ;;
19933 ifc* | ifort*) # Intel Fortran compiler
19934 tmp_addflag=' -nofor_main' ;;
19936 case `$CC -V 2>&1 | sed 5q` in
19937 *Sun\ C*) # Sun C 5.9
19938 whole_archive_flag_spec_GCJ='${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'
19939 tmp_sharedflag='-G' ;;
19940 *Sun\ F*) # Sun Fortran 8.3
19941 tmp_sharedflag='-G' ;;
19943 tmp_sharedflag='-shared' ;;
19945 archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19947 if test $supports_anon_versioning = yes; then
19948 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
19949 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
19950 $echo "local: *; };" >> $output_objdir/$libname.ver~
19951 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
19959 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19960 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
19963 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19964 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19969 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
19973 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
19974 *** create shared libraries on Solaris systems. Therefore, libtool
19975 *** is disabling shared libraries support. We urge you to upgrade GNU
19976 *** binutils to release 2.9.1 or newer. Another option is to modify
19977 *** your PATH or compiler configuration so that the native linker is
19978 *** used, and then restart.
19981 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19982 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19983 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19989 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
19990 case `$LD -v 2>&1` in
19991 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
19995 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
19996 *** reliably create shared libraries on SCO systems. Therefore, libtool
19997 *** is disabling shared libraries support. We urge you to upgrade GNU
19998 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
19999 *** your PATH or compiler configuration so that the native linker is
20000 *** used, and then restart.
20005 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20006 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
20007 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
20008 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
20017 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20019 hardcode_direct_GCJ=yes
20020 hardcode_shlibpath_var_GCJ=no
20024 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20025 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20026 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20033 if test "$ld_shlibs_GCJ" = no; then
20035 hardcode_libdir_flag_spec_GCJ=
20036 export_dynamic_flag_spec_GCJ=
20037 whole_archive_flag_spec_GCJ=
20040 # PORTME fill in a description of your system's linker (not GNU ld)
20043 allow_undefined_flag_GCJ=unsupported
20044 always_export_symbols_GCJ=yes
20045 archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
20046 # Note: this linker hardcodes the directories in LIBPATH if there
20047 # are no directories specified by -L.
20048 hardcode_minus_L_GCJ=yes
20049 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
20050 # Neither direct hardcoding nor static linking is supported with a
20052 hardcode_direct_GCJ=unsupported
20057 if test "$host_cpu" = ia64; then
20058 # On IA64, the linker does run time linking by default, so we don't
20059 # have to do anything special.
20060 aix_use_runtimelinking=no
20061 exp_sym_flag='-Bexport'
20064 # If we're using GNU nm, then we don't want the "-C" option.
20065 # -C means demangle to AIX nm, but means don't demangle with GNU nm
20066 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
20067 export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
20069 export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
20071 aix_use_runtimelinking=no
20073 # Test if we are trying to use run time linking or normal
20074 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
20075 # need to do runtime linking.
20076 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
20077 for ld_flag in $LDFLAGS; do
20078 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
20079 aix_use_runtimelinking=yes
20086 exp_sym_flag='-bexport'
20087 no_entry_flag='-bnoentry'
20090 # When large executables or shared objects are built, AIX ld can
20091 # have problems creating the table of contents. If linking a library
20092 # or program results in "error TOC overflow" add -mminimal-toc to
20093 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
20094 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
20096 archive_cmds_GCJ=''
20097 hardcode_direct_GCJ=yes
20098 hardcode_libdir_separator_GCJ=':'
20099 link_all_deplibs_GCJ=yes
20101 if test "$GCC" = yes; then
20102 case $host_os in aix4.[012]|aix4.[012].*)
20103 # We only want to do this on AIX 4.2 and lower, the check
20104 # below for broken collect2 doesn't work under 4.3+
20105 collect2name=`${CC} -print-prog-name=collect2`
20106 if test -f "$collect2name" && \
20107 strings "$collect2name" | grep resolve_lib_name >/dev/null
20109 # We have reworked collect2
20112 # We have old collect2
20113 hardcode_direct_GCJ=unsupported
20114 # It fails to find uninstalled libraries when the uninstalled
20115 # path is not listed in the libpath. Setting hardcode_minus_L
20116 # to unsupported forces relinking
20117 hardcode_minus_L_GCJ=yes
20118 hardcode_libdir_flag_spec_GCJ='-L$libdir'
20119 hardcode_libdir_separator_GCJ=
20123 shared_flag='-shared'
20124 if test "$aix_use_runtimelinking" = yes; then
20125 shared_flag="$shared_flag "'${wl}-G'
20129 if test "$host_cpu" = ia64; then
20130 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
20131 # chokes on -Wl,-G. The following line is correct:
20134 if test "$aix_use_runtimelinking" = yes; then
20135 shared_flag='${wl}-G'
20137 shared_flag='${wl}-bM:SRE'
20142 # It seems that -bexpall does not export symbols beginning with
20143 # underscore (_), so it is better to generate a list of symbols to export.
20144 always_export_symbols_GCJ=yes
20145 if test "$aix_use_runtimelinking" = yes; then
20146 # Warning - without using the other runtime loading flags (-brtl),
20147 # -berok will link without error, but may produce a broken library.
20148 allow_undefined_flag_GCJ='-berok'
20149 # Determine the default libpath from the value encoded in an empty executable.
20150 cat >conftest.$ac_ext <<_ACEOF
20153 cat confdefs.h >>conftest.$ac_ext
20154 cat >>conftest.$ac_ext <<_ACEOF
20155 /* end confdefs.h. */
20165 rm -f conftest.$ac_objext conftest$ac_exeext
20166 if { (ac_try="$ac_link"
20167 case "(($ac_try" in
20168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20169 *) ac_try_echo=$ac_try;;
20171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20172 (eval "$ac_link") 2>conftest.er1
20174 grep -v '^ *+' conftest.er1 >conftest.err
20176 cat conftest.err >&5
20177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20178 (exit $ac_status); } && {
20179 test -z "$ac_c_werror_flag" ||
20180 test ! -s conftest.err
20181 } && test -s conftest$ac_exeext &&
20182 $as_test_x conftest$ac_exeext; then
20184 lt_aix_libpath_sed='
20185 /Import File Strings/,/^$/ {
20191 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
20192 # Check for a 64-bit object if we didn't find anything.
20193 if test -z "$aix_libpath"; then
20194 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
20197 echo "$as_me: failed program was:" >&5
20198 sed 's/^/| /' conftest.$ac_ext >&5
20203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20204 conftest$ac_exeext conftest.$ac_ext
20205 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20207 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
20208 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
20210 if test "$host_cpu" = ia64; then
20211 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
20212 allow_undefined_flag_GCJ="-z nodefs"
20213 archive_expsym_cmds_GCJ="\$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"
20215 # Determine the default libpath from the value encoded in an empty executable.
20216 cat >conftest.$ac_ext <<_ACEOF
20219 cat confdefs.h >>conftest.$ac_ext
20220 cat >>conftest.$ac_ext <<_ACEOF
20221 /* end confdefs.h. */
20231 rm -f conftest.$ac_objext conftest$ac_exeext
20232 if { (ac_try="$ac_link"
20233 case "(($ac_try" in
20234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20235 *) ac_try_echo=$ac_try;;
20237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20238 (eval "$ac_link") 2>conftest.er1
20240 grep -v '^ *+' conftest.er1 >conftest.err
20242 cat conftest.err >&5
20243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20244 (exit $ac_status); } && {
20245 test -z "$ac_c_werror_flag" ||
20246 test ! -s conftest.err
20247 } && test -s conftest$ac_exeext &&
20248 $as_test_x conftest$ac_exeext; then
20250 lt_aix_libpath_sed='
20251 /Import File Strings/,/^$/ {
20257 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
20258 # Check for a 64-bit object if we didn't find anything.
20259 if test -z "$aix_libpath"; then
20260 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
20263 echo "$as_me: failed program was:" >&5
20264 sed 's/^/| /' conftest.$ac_ext >&5
20269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20270 conftest$ac_exeext conftest.$ac_ext
20271 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20273 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
20274 # Warning - without using the other run time loading flags,
20275 # -berok will link without error, but may produce a broken library.
20276 no_undefined_flag_GCJ=' ${wl}-bernotok'
20277 allow_undefined_flag_GCJ=' ${wl}-berok'
20278 # Exported symbols can be pulled into shared objects from archives
20279 whole_archive_flag_spec_GCJ='$convenience'
20280 archive_cmds_need_lc_GCJ=yes
20281 # This is similar to how AIX traditionally builds its shared libraries.
20282 archive_expsym_cmds_GCJ="\$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'
20288 archive_cmds_GCJ='$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)'
20289 hardcode_libdir_flag_spec_GCJ='-L$libdir'
20290 hardcode_minus_L_GCJ=yes
20291 # see comment about different semantics on the GNU ld section
20296 export_dynamic_flag_spec_GCJ=-rdynamic
20299 cygwin* | mingw* | pw32*)
20300 # When not using gcc, we currently assume that we are using
20301 # Microsoft Visual C++.
20302 # hardcode_libdir_flag_spec is actually meaningless, as there is
20303 # no search path for DLLs.
20304 hardcode_libdir_flag_spec_GCJ=' '
20305 allow_undefined_flag_GCJ=unsupported
20306 # Tell ltmain to make .lib files, not .a files.
20308 # Tell ltmain to make .dll files, not .so files.
20310 # FIXME: Setting linknames here is a bad hack.
20311 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
20312 # The linker will automatically build a .lib file if we build a DLL.
20313 old_archive_From_new_cmds_GCJ='true'
20314 # FIXME: Should let the user specify the lib program.
20315 old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
20316 fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
20317 enable_shared_with_static_runtimes_GCJ=yes
20320 darwin* | rhapsody*)
20322 rhapsody* | darwin1.[012])
20323 allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
20326 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
20327 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
20329 case ${MACOSX_DEPLOYMENT_TARGET} in
20331 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
20334 allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
20340 archive_cmds_need_lc_GCJ=no
20341 hardcode_direct_GCJ=no
20342 hardcode_automatic_GCJ=yes
20343 hardcode_shlibpath_var_GCJ=unsupported
20344 whole_archive_flag_spec_GCJ=''
20345 link_all_deplibs_GCJ=yes
20346 if test "$GCC" = yes ; then
20347 output_verbose_link_cmd='echo'
20348 archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
20349 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
20350 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
20351 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
20352 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
20354 case $cc_basename in
20356 output_verbose_link_cmd='echo'
20357 archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
20358 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
20359 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
20360 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
20361 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
20371 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20372 hardcode_libdir_flag_spec_GCJ='-L$libdir'
20373 hardcode_shlibpath_var_GCJ=no
20380 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
20381 # support. Future versions do this automatically, but an explicit c++rt0.o
20382 # does not break anything, and helps significantly (at the cost of a little
20385 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
20386 hardcode_libdir_flag_spec_GCJ='-R$libdir'
20387 hardcode_direct_GCJ=yes
20388 hardcode_shlibpath_var_GCJ=no
20391 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
20393 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20394 hardcode_direct_GCJ=yes
20395 hardcode_minus_L_GCJ=yes
20396 hardcode_shlibpath_var_GCJ=no
20399 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
20400 freebsd* | dragonfly*)
20401 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
20402 hardcode_libdir_flag_spec_GCJ='-R$libdir'
20403 hardcode_direct_GCJ=yes
20404 hardcode_shlibpath_var_GCJ=no
20408 if test "$GCC" = yes; then
20409 archive_cmds_GCJ='$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'
20411 archive_cmds_GCJ='$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'
20413 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
20414 hardcode_libdir_separator_GCJ=:
20415 hardcode_direct_GCJ=yes
20417 # hardcode_minus_L: Not really in the search PATH,
20418 # but as the default location of the library.
20419 hardcode_minus_L_GCJ=yes
20420 export_dynamic_flag_spec_GCJ='${wl}-E'
20424 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
20425 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
20427 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
20429 if test "$with_gnu_ld" = no; then
20430 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
20431 hardcode_libdir_separator_GCJ=:
20433 hardcode_direct_GCJ=yes
20434 export_dynamic_flag_spec_GCJ='${wl}-E'
20436 # hardcode_minus_L: Not really in the search PATH,
20437 # but as the default location of the library.
20438 hardcode_minus_L_GCJ=yes
20443 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
20446 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20449 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
20452 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
20458 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20461 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
20464 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
20468 if test "$with_gnu_ld" = no; then
20469 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
20470 hardcode_libdir_separator_GCJ=:
20474 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
20475 hardcode_direct_GCJ=no
20476 hardcode_shlibpath_var_GCJ=no
20479 hardcode_direct_GCJ=yes
20480 export_dynamic_flag_spec_GCJ='${wl}-E'
20482 # hardcode_minus_L: Not really in the search PATH,
20483 # but as the default location of the library.
20484 hardcode_minus_L_GCJ=yes
20490 irix5* | irix6* | nonstopux*)
20491 if test "$GCC" = yes; then
20492 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
20494 archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
20495 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
20497 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20498 hardcode_libdir_separator_GCJ=:
20499 link_all_deplibs_GCJ=yes
20503 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20504 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
20506 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
20508 hardcode_libdir_flag_spec_GCJ='-R$libdir'
20509 hardcode_direct_GCJ=yes
20510 hardcode_shlibpath_var_GCJ=no
20514 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20515 hardcode_direct_GCJ=yes
20516 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20517 hardcode_libdir_separator_GCJ=:
20518 hardcode_shlibpath_var_GCJ=no
20522 if test -f /usr/libexec/ld.so; then
20523 hardcode_direct_GCJ=yes
20524 hardcode_shlibpath_var_GCJ=no
20525 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20526 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
20527 archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
20528 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
20529 export_dynamic_flag_spec_GCJ='${wl}-E'
20532 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
20533 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20534 hardcode_libdir_flag_spec_GCJ='-R$libdir'
20537 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
20538 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
20548 hardcode_libdir_flag_spec_GCJ='-L$libdir'
20549 hardcode_minus_L_GCJ=yes
20550 allow_undefined_flag_GCJ=unsupported
20551 archive_cmds_GCJ='$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'
20552 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
20556 if test "$GCC" = yes; then
20557 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
20558 archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
20560 allow_undefined_flag_GCJ=' -expect_unresolved \*'
20561 archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
20563 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20564 hardcode_libdir_separator_GCJ=:
20567 osf4* | osf5*) # as osf3* with the addition of -msym flag
20568 if test "$GCC" = yes; then
20569 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
20570 archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
20571 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20573 allow_undefined_flag_GCJ=' -expect_unresolved \*'
20574 archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
20575 archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
20576 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
20578 # Both c and cxx compiler support -rpath directly
20579 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
20581 hardcode_libdir_separator_GCJ=:
20585 no_undefined_flag_GCJ=' -z text'
20586 if test "$GCC" = yes; then
20588 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20589 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20590 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
20593 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
20594 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20595 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
20597 hardcode_libdir_flag_spec_GCJ='-R$libdir'
20598 hardcode_shlibpath_var_GCJ=no
20600 solaris2.[0-5] | solaris2.[0-5].*) ;;
20602 # The compiler driver will combine and reorder linker options,
20603 # but understands `-z linker_flag'. GCC discards it without `$wl',
20604 # but is careful enough not to reorder.
20605 # Supported since Solaris 2.6 (maybe 2.5.1?)
20606 if test "$GCC" = yes; then
20607 whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
20609 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
20613 link_all_deplibs_GCJ=yes
20617 if test "x$host_vendor" = xsequent; then
20618 # Use $CC to link under sequent, because it throws in some extra .o
20619 # files that make .init and .fini sections work.
20620 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
20622 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
20624 hardcode_libdir_flag_spec_GCJ='-L$libdir'
20625 hardcode_direct_GCJ=yes
20626 hardcode_minus_L_GCJ=yes
20627 hardcode_shlibpath_var_GCJ=no
20631 case $host_vendor in
20633 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20634 hardcode_direct_GCJ=yes # is this really true???
20637 ## LD is ld it makes a PLAMLIB
20638 ## CC just makes a GrossModule.
20639 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
20640 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
20641 hardcode_direct_GCJ=no
20644 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20645 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
20648 runpath_var='LD_RUN_PATH'
20649 hardcode_shlibpath_var_GCJ=no
20653 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20654 hardcode_shlibpath_var_GCJ=no
20655 export_dynamic_flag_spec_GCJ='-Bexport'
20659 if test -d /usr/nec; then
20660 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20661 hardcode_shlibpath_var_GCJ=no
20662 runpath_var=LD_RUN_PATH
20663 hardcode_runpath_var=yes
20668 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
20669 no_undefined_flag_GCJ='${wl}-z,text'
20670 archive_cmds_need_lc_GCJ=no
20671 hardcode_shlibpath_var_GCJ=no
20672 runpath_var='LD_RUN_PATH'
20674 if test "$GCC" = yes; then
20675 archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20676 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20678 archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20679 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20683 sysv5* | sco3.2v5* | sco5v6*)
20684 # Note: We can NOT use -z defs as we might desire, because we do not
20685 # link with -lc, and that would cause any symbols used from libc to
20686 # always be unresolved, which means just about no library would
20687 # ever link correctly. If we're not using GNU ld we use -z text
20688 # though, which does catch some bad symbols but isn't as heavy-handed
20690 no_undefined_flag_GCJ='${wl}-z,text'
20691 allow_undefined_flag_GCJ='${wl}-z,nodefs'
20692 archive_cmds_need_lc_GCJ=no
20693 hardcode_shlibpath_var_GCJ=no
20694 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
20695 hardcode_libdir_separator_GCJ=':'
20696 link_all_deplibs_GCJ=yes
20697 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
20698 runpath_var='LD_RUN_PATH'
20700 if test "$GCC" = yes; then
20701 archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20702 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20704 archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20705 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20710 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20711 hardcode_libdir_flag_spec_GCJ='-L$libdir'
20712 hardcode_shlibpath_var_GCJ=no
20721 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
20722 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
20723 test "$ld_shlibs_GCJ" = no && can_build_shared=no
20726 # Do we need to explicitly link libc?
20728 case "x$archive_cmds_need_lc_GCJ" in
20730 # Assume -lc should be added
20731 archive_cmds_need_lc_GCJ=yes
20733 if test "$enable_shared" = yes && test "$GCC" = yes; then
20734 case $archive_cmds_GCJ in
20736 # FIXME: we may have to deal with multi-command sequences.
20739 # Test whether the compiler implicitly links with -lc since on some
20740 # systems, -lgcc has to come before -lc. If gcc already passes -lc
20741 # to ld, don't add -lc before -lgcc.
20742 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20743 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
20745 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20748 (eval $ac_compile) 2>&5
20750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20751 (exit $ac_status); } 2>conftest.err; then
20754 libobjs=conftest.$ac_objext
20756 wl=$lt_prog_compiler_wl_GCJ
20757 pic_flag=$lt_prog_compiler_pic_GCJ
20763 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
20764 allow_undefined_flag_GCJ=
20765 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
20766 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
20768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20769 (exit $ac_status); }
20771 archive_cmds_need_lc_GCJ=no
20773 archive_cmds_need_lc_GCJ=yes
20775 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
20777 cat conftest.err 1>&5
20780 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
20781 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
20788 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20789 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
20790 library_names_spec=
20791 libname_spec='lib$name'
20795 postuninstall_cmds=
20799 shlibpath_overrides_runpath=unknown
20801 dynamic_linker="$host_os ld.so"
20802 sys_lib_dlsearch_path_spec="/lib /usr/lib"
20804 need_lib_prefix=unknown
20805 hardcode_into_libs=no
20807 # when you set need_version to no, make sure it does not cause -set_version
20808 # flags to be left without arguments
20809 need_version=unknown
20814 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
20815 shlibpath_var=LIBPATH
20817 # AIX 3 has no versioning support, so we append a major version to the name.
20818 soname_spec='${libname}${release}${shared_ext}$major'
20825 hardcode_into_libs=yes
20826 if test "$host_cpu" = ia64; then
20827 # AIX 5 supports IA64
20828 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20829 shlibpath_var=LD_LIBRARY_PATH
20831 # With GCC up to 2.95.x, collect2 would create an import file
20832 # for dependence libraries. The import file would start with
20833 # the line `#! .'. This would cause the generated library to
20834 # depend on `.', always an invalid library. This was fixed in
20835 # development snapshots of GCC prior to 3.0.
20837 aix4 | aix4.[01] | aix4.[01].*)
20838 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20840 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
20843 can_build_shared=no
20847 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20848 # soname into executable. Probably we can add versioning support to
20849 # collect2, so additional links can be useful in future.
20850 if test "$aix_use_runtimelinking" = yes; then
20851 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20852 # instead of lib<name>.a to let people know that these are not
20853 # typical AIX shared libraries.
20854 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20856 # We preserve .a as extension for shared libraries through AIX4.2
20857 # and later when we are not doing run time linking.
20858 library_names_spec='${libname}${release}.a $libname.a'
20859 soname_spec='${libname}${release}${shared_ext}$major'
20861 shlibpath_var=LIBPATH
20866 library_names_spec='$libname.ixlibrary $libname.a'
20867 # Create ${libname}_ixlibrary.a entries in /sys/libs.
20868 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'
20872 library_names_spec='${libname}${shared_ext}'
20873 dynamic_linker="$host_os ld.so"
20874 shlibpath_var=LIBRARY_PATH
20880 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20881 soname_spec='${libname}${release}${shared_ext}$major'
20882 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20883 shlibpath_var=LD_LIBRARY_PATH
20884 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20885 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20886 # the default ld.so.conf also contains /usr/contrib/lib and
20887 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20888 # libtool to hard-code these into programs
20891 cygwin* | mingw* | pw32*)
20892 version_type=windows
20897 case $GCC,$host_os in
20898 yes,cygwin* | yes,mingw* | yes,pw32*)
20899 library_names_spec='$libname.dll.a'
20900 # DLL is installed to $(libdir)/../bin by postinstall_cmds
20901 postinstall_cmds='base_file=`basename \${file}`~
20902 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20903 dldir=$destdir/`dirname \$dlpath`~
20904 test -d \$dldir || mkdir -p \$dldir~
20905 $install_prog $dir/$dlname \$dldir/$dlname~
20906 chmod a+x \$dldir/$dlname'
20907 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20908 dlpath=$dir/\$dldll~
20910 shlibpath_overrides_runpath=yes
20914 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20915 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20916 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
20919 # MinGW DLLs use traditional 'lib' prefix
20920 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20921 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20922 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
20923 # It is most probably a Windows format PATH printed by
20924 # mingw gcc, but we are running on Cygwin. Gcc prints its search
20925 # path with ; separators, and with drive letters. We can handle the
20926 # drive letters (cygwin fileutils understands them), so leave them,
20927 # especially as we might pass files found there to a mingw objdump,
20928 # which wouldn't understand a cygwinified path. Ahh.
20929 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20931 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20935 # pw32 DLLs use 'pw' prefix rather than 'lib'
20936 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20942 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20945 dynamic_linker='Win32 ld.exe'
20946 # FIXME: first we should search . and the directory the executable is in
20950 darwin* | rhapsody*)
20951 dynamic_linker="$host_os dyld"
20952 version_type=darwin
20955 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20956 soname_spec='${libname}${release}${major}$shared_ext'
20957 shlibpath_overrides_runpath=yes
20958 shlibpath_var=DYLD_LIBRARY_PATH
20959 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
20961 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20968 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20969 soname_spec='${libname}${release}${shared_ext}$major'
20970 shlibpath_var=LD_LIBRARY_PATH
20977 freebsd* | dragonfly*)
20978 # DragonFly does not have aout. When/if they implement a new
20979 # versioning mechanism, adjust this.
20980 if test -x /usr/bin/objformat; then
20981 objformat=`/usr/bin/objformat`
20984 freebsd[123]*) objformat=aout ;;
20985 *) objformat=elf ;;
20988 # Handle Gentoo/FreeBSD as it was Linux
20989 case $host_vendor in
20991 version_type=linux ;;
20993 version_type=freebsd-$objformat ;;
20996 case $version_type in
20998 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
21003 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
21007 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21008 soname_spec='${libname}${release}${shared_ext}$major'
21013 shlibpath_var=LD_LIBRARY_PATH
21016 shlibpath_overrides_runpath=yes
21018 freebsd3.[01]* | freebsdelf3.[01]*)
21019 shlibpath_overrides_runpath=yes
21020 hardcode_into_libs=yes
21022 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
21023 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
21024 shlibpath_overrides_runpath=no
21025 hardcode_into_libs=yes
21027 *) # from 4.6 on, and DragonFly
21028 shlibpath_overrides_runpath=yes
21029 hardcode_into_libs=yes
21038 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
21039 soname_spec='${libname}${release}${shared_ext}$major'
21040 shlibpath_var=LD_LIBRARY_PATH
21041 hardcode_into_libs=yes
21044 hpux9* | hpux10* | hpux11*)
21045 # Give a soname corresponding to the major version so that dld.sl refuses to
21046 # link against other versions.
21053 hardcode_into_libs=yes
21054 dynamic_linker="$host_os dld.so"
21055 shlibpath_var=LD_LIBRARY_PATH
21056 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
21057 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21058 soname_spec='${libname}${release}${shared_ext}$major'
21059 if test "X$HPUX_IA64_MODE" = X32; then
21060 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
21062 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
21064 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
21068 hardcode_into_libs=yes
21069 dynamic_linker="$host_os dld.sl"
21070 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
21071 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
21072 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21073 soname_spec='${libname}${release}${shared_ext}$major'
21074 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
21075 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
21079 dynamic_linker="$host_os dld.sl"
21080 shlibpath_var=SHLIB_PATH
21081 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
21082 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21083 soname_spec='${libname}${release}${shared_ext}$major'
21086 # HP-UX runs *really* slowly unless shared libraries are mode 555.
21087 postinstall_cmds='chmod 555 $lib'
21094 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21095 soname_spec='${libname}${release}${shared_ext}$major'
21096 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
21097 shlibpath_var=LD_LIBRARY_PATH
21098 shlibpath_overrides_runpath=no
21099 hardcode_into_libs=yes
21102 irix5* | irix6* | nonstopux*)
21104 nonstopux*) version_type=nonstopux ;;
21106 if test "$lt_cv_prog_gnu_ld" = yes; then
21114 soname_spec='${libname}${release}${shared_ext}$major'
21115 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
21117 irix5* | nonstopux*)
21118 libsuff= shlibsuff=
21121 case $LD in # libtool.m4 will add one of these switches to LD
21122 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
21123 libsuff= shlibsuff= libmagic=32-bit;;
21124 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
21125 libsuff=32 shlibsuff=N32 libmagic=N32;;
21126 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
21127 libsuff=64 shlibsuff=64 libmagic=64-bit;;
21128 *) libsuff= shlibsuff= libmagic=never-match;;
21132 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
21133 shlibpath_overrides_runpath=no
21134 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
21135 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
21136 hardcode_into_libs=yes
21139 # No shared lib support for Linux oldld, aout, or coff.
21140 linux*oldld* | linux*aout* | linux*coff*)
21144 # This must be Linux ELF.
21145 linux* | k*bsd*-gnu)
21149 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21150 soname_spec='${libname}${release}${shared_ext}$major'
21151 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
21152 shlibpath_var=LD_LIBRARY_PATH
21153 shlibpath_overrides_runpath=no
21154 # This implies no fast_install, which is unacceptable.
21155 # Some rework will be needed to allow for fast_install
21156 # before this can be enabled.
21157 hardcode_into_libs=yes
21159 # Append ld.so.conf contents to the search path
21160 if test -f /etc/ld.so.conf; then
21161 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' ' '`
21162 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
21165 # We used to test for /lib/ld.so.1 and disable shared libraries on
21166 # powerpc, because MkLinux only supported shared libraries with the
21167 # GNU dynamic linker. Since this was broken with cross compilers,
21168 # most powerpc-linux boxes support dynamic linking these days and
21169 # people can always --disable-shared, the test was removed, and we
21170 # assume the GNU/Linux dynamic linker is in use.
21171 dynamic_linker='GNU/Linux ld.so'
21178 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
21179 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21180 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
21181 dynamic_linker='NetBSD (a.out) ld.so'
21183 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21184 soname_spec='${libname}${release}${shared_ext}$major'
21185 dynamic_linker='NetBSD ld.elf_so'
21187 shlibpath_var=LD_LIBRARY_PATH
21188 shlibpath_overrides_runpath=yes
21189 hardcode_into_libs=yes
21194 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21195 shlibpath_var=LD_LIBRARY_PATH
21196 shlibpath_overrides_runpath=yes
21203 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21204 soname_spec='${libname}${release}${shared_ext}$major'
21205 shlibpath_var=LD_LIBRARY_PATH
21206 shlibpath_overrides_runpath=yes
21211 sys_lib_dlsearch_path_spec="/usr/lib"
21213 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
21215 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
21216 *) need_version=no ;;
21218 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21219 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
21220 shlibpath_var=LD_LIBRARY_PATH
21221 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
21223 openbsd2.[89] | openbsd2.[89].*)
21224 shlibpath_overrides_runpath=no
21227 shlibpath_overrides_runpath=yes
21231 shlibpath_overrides_runpath=yes
21236 libname_spec='$name'
21239 library_names_spec='$libname${shared_ext} $libname.a'
21240 dynamic_linker='OS/2 ld.exe'
21241 shlibpath_var=LIBPATH
21244 osf3* | osf4* | osf5*)
21248 soname_spec='${libname}${release}${shared_ext}$major'
21249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21250 shlibpath_var=LD_LIBRARY_PATH
21251 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
21252 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
21263 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21264 soname_spec='${libname}${release}${shared_ext}$major'
21265 shlibpath_var=LD_LIBRARY_PATH
21266 shlibpath_overrides_runpath=yes
21267 hardcode_into_libs=yes
21268 # ldd complains unless libraries are executable
21269 postinstall_cmds='chmod +x $lib'
21274 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21275 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
21276 shlibpath_var=LD_LIBRARY_PATH
21277 shlibpath_overrides_runpath=yes
21278 if test "$with_gnu_ld" = yes; then
21286 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21287 soname_spec='${libname}${release}${shared_ext}$major'
21288 shlibpath_var=LD_LIBRARY_PATH
21289 case $host_vendor in
21291 shlibpath_overrides_runpath=no
21293 export_dynamic_flag_spec='${wl}-Blargedynsym'
21294 runpath_var=LD_RUN_PATH
21302 shlibpath_overrides_runpath=no
21303 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
21309 if test -d /usr/nec ;then
21311 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
21312 soname_spec='$libname${shared_ext}.$major'
21313 shlibpath_var=LD_LIBRARY_PATH
21317 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
21318 version_type=freebsd-elf
21321 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
21322 soname_spec='${libname}${release}${shared_ext}$major'
21323 shlibpath_var=LD_LIBRARY_PATH
21324 hardcode_into_libs=yes
21325 if test "$with_gnu_ld" = yes; then
21326 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
21327 shlibpath_overrides_runpath=no
21329 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
21330 shlibpath_overrides_runpath=yes
21333 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
21337 sys_lib_dlsearch_path_spec='/usr/lib'
21342 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21343 soname_spec='${libname}${release}${shared_ext}$major'
21344 shlibpath_var=LD_LIBRARY_PATH
21351 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
21352 echo "${ECHO_T}$dynamic_linker" >&6; }
21353 test "$dynamic_linker" = no && can_build_shared=no
21355 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
21356 if test "$GCC" = yes; then
21357 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
21360 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
21361 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
21362 hardcode_action_GCJ=
21363 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
21364 test -n "$runpath_var_GCJ" || \
21365 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
21367 # We can hardcode non-existant directories.
21368 if test "$hardcode_direct_GCJ" != no &&
21369 # If the only mechanism to avoid hardcoding is shlibpath_var, we
21370 # have to relink, otherwise we might link with an installed library
21371 # when we should be linking with a yet-to-be-installed one
21372 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
21373 test "$hardcode_minus_L_GCJ" != no; then
21374 # Linking always hardcodes the temporary library directory.
21375 hardcode_action_GCJ=relink
21377 # We can link without hardcoding, and we can hardcode nonexisting dirs.
21378 hardcode_action_GCJ=immediate
21381 # We cannot hardcode anything, or else we can only hardcode existing
21383 hardcode_action_GCJ=unsupported
21385 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
21386 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
21388 if test "$hardcode_action_GCJ" = relink; then
21389 # Fast installation is not supported
21390 enable_fast_install=no
21391 elif test "$shlibpath_overrides_runpath" = yes ||
21392 test "$enable_shared" = no; then
21393 # Fast installation is not necessary
21394 enable_fast_install=needless
21398 # The else clause should only fire when bootstrapping the
21399 # libtool distribution, otherwise you forgot to ship ltmain.sh
21400 # with your package, and you will get complaints that there are
21401 # no rules to generate ltmain.sh.
21402 if test -f "$ltmain"; then
21403 # See if we are running on zsh, and set the options which allow our commands through
21404 # without removal of \ escapes.
21405 if test -n "${ZSH_VERSION+set}" ; then
21406 setopt NO_GLOB_SUBST
21408 # Now quote all the things that may contain metacharacters while being
21409 # careful not to overquote the AC_SUBSTed values. We take copies of the
21410 # variables and quote the copies for generation of the libtool script.
21411 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
21413 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21414 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21415 deplibs_check_method reload_flag reload_cmds need_locks \
21416 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21417 lt_cv_sys_global_symbol_to_c_name_address \
21418 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21419 old_postinstall_cmds old_postuninstall_cmds \
21423 lt_prog_compiler_wl_GCJ \
21424 lt_prog_compiler_pic_GCJ \
21425 lt_prog_compiler_static_GCJ \
21426 lt_prog_compiler_no_builtin_flag_GCJ \
21427 export_dynamic_flag_spec_GCJ \
21428 thread_safe_flag_spec_GCJ \
21429 whole_archive_flag_spec_GCJ \
21430 enable_shared_with_static_runtimes_GCJ \
21431 old_archive_cmds_GCJ \
21432 old_archive_from_new_cmds_GCJ \
21433 predep_objects_GCJ \
21434 postdep_objects_GCJ \
21437 compiler_lib_search_path_GCJ \
21439 archive_expsym_cmds_GCJ \
21440 postinstall_cmds_GCJ \
21441 postuninstall_cmds_GCJ \
21442 old_archive_from_expsyms_cmds_GCJ \
21443 allow_undefined_flag_GCJ \
21444 no_undefined_flag_GCJ \
21445 export_symbols_cmds_GCJ \
21446 hardcode_libdir_flag_spec_GCJ \
21447 hardcode_libdir_flag_spec_ld_GCJ \
21448 hardcode_libdir_separator_GCJ \
21449 hardcode_automatic_GCJ \
21451 module_expsym_cmds_GCJ \
21452 lt_cv_prog_compiler_c_o_GCJ \
21453 fix_srcfile_path_GCJ \
21454 exclude_expsyms_GCJ \
21455 include_expsyms_GCJ; do
21458 old_archive_cmds_GCJ | \
21459 old_archive_from_new_cmds_GCJ | \
21460 archive_cmds_GCJ | \
21461 archive_expsym_cmds_GCJ | \
21462 module_cmds_GCJ | \
21463 module_expsym_cmds_GCJ | \
21464 old_archive_from_expsyms_cmds_GCJ | \
21465 export_symbols_cmds_GCJ | \
21466 extract_expsyms_cmds | reload_cmds | finish_cmds | \
21467 postinstall_cmds | postuninstall_cmds | \
21468 old_postinstall_cmds | old_postuninstall_cmds | \
21469 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
21470 # Double-quote double-evaled strings.
21471 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21474 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21480 *'\$0 --fallback-echo"')
21481 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21487 cat <<__EOF__ >> "$cfgfile"
21488 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
21490 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21492 # Shell to use when invoking shell scripts.
21495 # Whether or not to build shared libraries.
21496 build_libtool_libs=$enable_shared
21498 # Whether or not to build static libraries.
21499 build_old_libs=$enable_static
21501 # Whether or not to add -lc for building shared libraries.
21502 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
21504 # Whether or not to disallow shared libs when runtime libs are static
21505 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
21507 # Whether or not to optimize for fast installation.
21508 fast_install=$enable_fast_install
21511 host_alias=$host_alias
21515 # The build system.
21516 build_alias=$build_alias
21520 # An echo program that does not interpret backslashes.
21525 AR_FLAGS=$lt_AR_FLAGS
21530 # LTCC compiler flags.
21531 LTCFLAGS=$lt_LTCFLAGS
21533 # A language-specific compiler.
21534 CC=$lt_compiler_GCJ
21536 # Is the compiler the GNU C compiler?
21542 # The linker used to build libraries.
21545 # Whether we need hard or soft links.
21548 # A BSD-compatible nm program.
21551 # A symbol stripping program
21554 # Used to examine libraries when file_magic_cmd begins "file"
21555 MAGIC_CMD=$MAGIC_CMD
21557 # Used on cygwin: DLL creation program.
21560 # Used on cygwin: object dumper.
21563 # Used on cygwin: assembler.
21566 # The name of the directory that contains temporary libtool files.
21569 # How to create reloadable object files.
21570 reload_flag=$lt_reload_flag
21571 reload_cmds=$lt_reload_cmds
21573 # How to pass a linker flag through the compiler.
21574 wl=$lt_lt_prog_compiler_wl_GCJ
21576 # Object file suffix (normally "o").
21577 objext="$ac_objext"
21579 # Old archive suffix (normally "a").
21582 # Shared library suffix (normally ".so").
21583 shrext_cmds='$shrext_cmds'
21585 # Executable file suffix (normally "").
21588 # Additional compiler flags for building library objects.
21589 pic_flag=$lt_lt_prog_compiler_pic_GCJ
21592 # What is the maximum length of a command?
21593 max_cmd_len=$lt_cv_sys_max_cmd_len
21595 # Does compiler simultaneously support -c and -o options?
21596 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
21598 # Must we lock files when doing compilation?
21599 need_locks=$lt_need_locks
21601 # Do we need the lib prefix for modules?
21602 need_lib_prefix=$need_lib_prefix
21604 # Do we need a version for libraries?
21605 need_version=$need_version
21607 # Whether dlopen is supported.
21608 dlopen_support=$enable_dlopen
21610 # Whether dlopen of programs is supported.
21611 dlopen_self=$enable_dlopen_self
21613 # Whether dlopen of statically linked programs is supported.
21614 dlopen_self_static=$enable_dlopen_self_static
21616 # Compiler flag to prevent dynamic linking.
21617 link_static_flag=$lt_lt_prog_compiler_static_GCJ
21619 # Compiler flag to turn off builtin functions.
21620 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
21622 # Compiler flag to allow reflexive dlopens.
21623 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
21625 # Compiler flag to generate shared objects directly from archives.
21626 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
21628 # Compiler flag to generate thread-safe objects.
21629 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
21631 # Library versioning type.
21632 version_type=$version_type
21634 # Format of library name prefix.
21635 libname_spec=$lt_libname_spec
21637 # List of archive names. First name is the real one, the rest are links.
21638 # The last name is the one that the linker finds with -lNAME.
21639 library_names_spec=$lt_library_names_spec
21641 # The coded name of the library, if different from the real name.
21642 soname_spec=$lt_soname_spec
21644 # Commands used to build and install an old-style archive.
21646 old_archive_cmds=$lt_old_archive_cmds_GCJ
21647 old_postinstall_cmds=$lt_old_postinstall_cmds
21648 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21650 # Create an old-style archive from a shared archive.
21651 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
21653 # Create a temporary old-style archive to link instead of a shared archive.
21654 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
21656 # Commands used to build and install a shared archive.
21657 archive_cmds=$lt_archive_cmds_GCJ
21658 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
21659 postinstall_cmds=$lt_postinstall_cmds
21660 postuninstall_cmds=$lt_postuninstall_cmds
21662 # Commands used to build a loadable module (assumed same as above if empty)
21663 module_cmds=$lt_module_cmds_GCJ
21664 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
21666 # Commands to strip libraries.
21667 old_striplib=$lt_old_striplib
21668 striplib=$lt_striplib
21670 # Dependencies to place before the objects being linked to create a
21672 predep_objects=$lt_predep_objects_GCJ
21674 # Dependencies to place after the objects being linked to create a
21676 postdep_objects=$lt_postdep_objects_GCJ
21678 # Dependencies to place before the objects being linked to create a
21680 predeps=$lt_predeps_GCJ
21682 # Dependencies to place after the objects being linked to create a
21684 postdeps=$lt_postdeps_GCJ
21686 # The library search path used internally by the compiler when linking
21687 # a shared library.
21688 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
21690 # Method to check whether dependent libraries are shared objects.
21691 deplibs_check_method=$lt_deplibs_check_method
21693 # Command to use when deplibs_check_method == file_magic.
21694 file_magic_cmd=$lt_file_magic_cmd
21696 # Flag that allows shared libraries with undefined symbols to be built.
21697 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
21699 # Flag that forces no undefined symbols.
21700 no_undefined_flag=$lt_no_undefined_flag_GCJ
21702 # Commands used to finish a libtool library installation in a directory.
21703 finish_cmds=$lt_finish_cmds
21705 # Same as above, but a single script fragment to be evaled but not shown.
21706 finish_eval=$lt_finish_eval
21708 # Take the output of nm and produce a listing of raw symbols and C names.
21709 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21711 # Transform the output of nm in a proper C declaration
21712 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21714 # Transform the output of nm in a C name address pair
21715 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21717 # This is the shared library runtime path variable.
21718 runpath_var=$runpath_var
21720 # This is the shared library path variable.
21721 shlibpath_var=$shlibpath_var
21723 # Is shlibpath searched before the hard-coded library search path?
21724 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21726 # How to hardcode a shared library path into an executable.
21727 hardcode_action=$hardcode_action_GCJ
21729 # Whether we should hardcode library paths into libraries.
21730 hardcode_into_libs=$hardcode_into_libs
21732 # Flag to hardcode \$libdir into a binary during linking.
21733 # This must work even if \$libdir does not exist.
21734 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
21736 # If ld is used when linking, flag to hardcode \$libdir into
21737 # a binary during linking. This must work even if \$libdir does
21739 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
21741 # Whether we need a single -rpath flag with a separated argument.
21742 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
21744 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21745 # resulting binary.
21746 hardcode_direct=$hardcode_direct_GCJ
21748 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21749 # resulting binary.
21750 hardcode_minus_L=$hardcode_minus_L_GCJ
21752 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21753 # the resulting binary.
21754 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
21756 # Set to yes if building a shared library automatically hardcodes DIR into the library
21757 # and all subsequent libraries and executables linked against it.
21758 hardcode_automatic=$hardcode_automatic_GCJ
21760 # Variables whose values should be saved in libtool wrapper scripts and
21761 # restored at relink time.
21762 variables_saved_for_relink="$variables_saved_for_relink"
21764 # Whether libtool must link a program against all its dependency libraries.
21765 link_all_deplibs=$link_all_deplibs_GCJ
21767 # Compile-time system search path for libraries
21768 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21770 # Run-time system search path for libraries
21771 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21773 # Fix the shell variable \$srcfile for the compiler.
21774 fix_srcfile_path=$lt_fix_srcfile_path
21776 # Set to yes if exported symbols are required.
21777 always_export_symbols=$always_export_symbols_GCJ
21779 # The commands to list exported symbols.
21780 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
21782 # The commands to extract the exported symbol list from a shared archive.
21783 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21785 # Symbols that should not be listed in the preloaded symbols.
21786 exclude_expsyms=$lt_exclude_expsyms_GCJ
21788 # Symbols that must always be exported.
21789 include_expsyms=$lt_include_expsyms_GCJ
21791 # ### END LIBTOOL TAG CONFIG: $tagname
21797 # If there is no Makefile yet, we rely on a make rule to execute
21798 # `config.status --recheck' to rerun these tests and create the
21799 # libtool script then.
21800 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21801 if test -f "$ltmain_in"; then
21802 test -f Makefile && make "$ltmain"
21808 ac_cpp='$CPP $CPPFLAGS'
21809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21823 # Source file extension for RC test sources.
21826 # Object file extension for compiled RC test sources.
21830 # Code to be used in simple compile tests
21831 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
21833 # Code to be used in simple link tests
21834 lt_simple_link_test_code="$lt_simple_compile_test_code"
21836 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
21838 # If no C compiler was specified, use CC.
21841 # If no C compiler flags were specified, use CFLAGS.
21842 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
21844 # Allow CC to be a program name with arguments.
21848 # save warnings/boilerplate of simple test code
21849 ac_outfile=conftest.$ac_objext
21850 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
21851 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21852 _lt_compiler_boilerplate=`cat conftest.err`
21855 ac_outfile=conftest.$ac_objext
21856 echo "$lt_simple_link_test_code" >conftest.$ac_ext
21857 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21858 _lt_linker_boilerplate=`cat conftest.err`
21862 # Allow CC to be a program name with arguments.
21867 for cc_temp in $compiler""; do
21869 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
21870 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
21875 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21877 lt_cv_prog_compiler_c_o_RC=yes
21879 # The else clause should only fire when bootstrapping the
21880 # libtool distribution, otherwise you forgot to ship ltmain.sh
21881 # with your package, and you will get complaints that there are
21882 # no rules to generate ltmain.sh.
21883 if test -f "$ltmain"; then
21884 # See if we are running on zsh, and set the options which allow our commands through
21885 # without removal of \ escapes.
21886 if test -n "${ZSH_VERSION+set}" ; then
21887 setopt NO_GLOB_SUBST
21889 # Now quote all the things that may contain metacharacters while being
21890 # careful not to overquote the AC_SUBSTed values. We take copies of the
21891 # variables and quote the copies for generation of the libtool script.
21892 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
21894 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21895 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21896 deplibs_check_method reload_flag reload_cmds need_locks \
21897 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21898 lt_cv_sys_global_symbol_to_c_name_address \
21899 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21900 old_postinstall_cmds old_postuninstall_cmds \
21904 lt_prog_compiler_wl_RC \
21905 lt_prog_compiler_pic_RC \
21906 lt_prog_compiler_static_RC \
21907 lt_prog_compiler_no_builtin_flag_RC \
21908 export_dynamic_flag_spec_RC \
21909 thread_safe_flag_spec_RC \
21910 whole_archive_flag_spec_RC \
21911 enable_shared_with_static_runtimes_RC \
21912 old_archive_cmds_RC \
21913 old_archive_from_new_cmds_RC \
21914 predep_objects_RC \
21915 postdep_objects_RC \
21918 compiler_lib_search_path_RC \
21920 archive_expsym_cmds_RC \
21921 postinstall_cmds_RC \
21922 postuninstall_cmds_RC \
21923 old_archive_from_expsyms_cmds_RC \
21924 allow_undefined_flag_RC \
21925 no_undefined_flag_RC \
21926 export_symbols_cmds_RC \
21927 hardcode_libdir_flag_spec_RC \
21928 hardcode_libdir_flag_spec_ld_RC \
21929 hardcode_libdir_separator_RC \
21930 hardcode_automatic_RC \
21932 module_expsym_cmds_RC \
21933 lt_cv_prog_compiler_c_o_RC \
21934 fix_srcfile_path_RC \
21935 exclude_expsyms_RC \
21936 include_expsyms_RC; do
21939 old_archive_cmds_RC | \
21940 old_archive_from_new_cmds_RC | \
21941 archive_cmds_RC | \
21942 archive_expsym_cmds_RC | \
21944 module_expsym_cmds_RC | \
21945 old_archive_from_expsyms_cmds_RC | \
21946 export_symbols_cmds_RC | \
21947 extract_expsyms_cmds | reload_cmds | finish_cmds | \
21948 postinstall_cmds | postuninstall_cmds | \
21949 old_postinstall_cmds | old_postuninstall_cmds | \
21950 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
21951 # Double-quote double-evaled strings.
21952 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21955 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21961 *'\$0 --fallback-echo"')
21962 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21968 cat <<__EOF__ >> "$cfgfile"
21969 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
21971 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21973 # Shell to use when invoking shell scripts.
21976 # Whether or not to build shared libraries.
21977 build_libtool_libs=$enable_shared
21979 # Whether or not to build static libraries.
21980 build_old_libs=$enable_static
21982 # Whether or not to add -lc for building shared libraries.
21983 build_libtool_need_lc=$archive_cmds_need_lc_RC
21985 # Whether or not to disallow shared libs when runtime libs are static
21986 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
21988 # Whether or not to optimize for fast installation.
21989 fast_install=$enable_fast_install
21992 host_alias=$host_alias
21996 # The build system.
21997 build_alias=$build_alias
22001 # An echo program that does not interpret backslashes.
22006 AR_FLAGS=$lt_AR_FLAGS
22011 # LTCC compiler flags.
22012 LTCFLAGS=$lt_LTCFLAGS
22014 # A language-specific compiler.
22017 # Is the compiler the GNU C compiler?
22023 # The linker used to build libraries.
22026 # Whether we need hard or soft links.
22029 # A BSD-compatible nm program.
22032 # A symbol stripping program
22035 # Used to examine libraries when file_magic_cmd begins "file"
22036 MAGIC_CMD=$MAGIC_CMD
22038 # Used on cygwin: DLL creation program.
22041 # Used on cygwin: object dumper.
22044 # Used on cygwin: assembler.
22047 # The name of the directory that contains temporary libtool files.
22050 # How to create reloadable object files.
22051 reload_flag=$lt_reload_flag
22052 reload_cmds=$lt_reload_cmds
22054 # How to pass a linker flag through the compiler.
22055 wl=$lt_lt_prog_compiler_wl_RC
22057 # Object file suffix (normally "o").
22058 objext="$ac_objext"
22060 # Old archive suffix (normally "a").
22063 # Shared library suffix (normally ".so").
22064 shrext_cmds='$shrext_cmds'
22066 # Executable file suffix (normally "").
22069 # Additional compiler flags for building library objects.
22070 pic_flag=$lt_lt_prog_compiler_pic_RC
22073 # What is the maximum length of a command?
22074 max_cmd_len=$lt_cv_sys_max_cmd_len
22076 # Does compiler simultaneously support -c and -o options?
22077 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
22079 # Must we lock files when doing compilation?
22080 need_locks=$lt_need_locks
22082 # Do we need the lib prefix for modules?
22083 need_lib_prefix=$need_lib_prefix
22085 # Do we need a version for libraries?
22086 need_version=$need_version
22088 # Whether dlopen is supported.
22089 dlopen_support=$enable_dlopen
22091 # Whether dlopen of programs is supported.
22092 dlopen_self=$enable_dlopen_self
22094 # Whether dlopen of statically linked programs is supported.
22095 dlopen_self_static=$enable_dlopen_self_static
22097 # Compiler flag to prevent dynamic linking.
22098 link_static_flag=$lt_lt_prog_compiler_static_RC
22100 # Compiler flag to turn off builtin functions.
22101 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
22103 # Compiler flag to allow reflexive dlopens.
22104 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
22106 # Compiler flag to generate shared objects directly from archives.
22107 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
22109 # Compiler flag to generate thread-safe objects.
22110 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
22112 # Library versioning type.
22113 version_type=$version_type
22115 # Format of library name prefix.
22116 libname_spec=$lt_libname_spec
22118 # List of archive names. First name is the real one, the rest are links.
22119 # The last name is the one that the linker finds with -lNAME.
22120 library_names_spec=$lt_library_names_spec
22122 # The coded name of the library, if different from the real name.
22123 soname_spec=$lt_soname_spec
22125 # Commands used to build and install an old-style archive.
22127 old_archive_cmds=$lt_old_archive_cmds_RC
22128 old_postinstall_cmds=$lt_old_postinstall_cmds
22129 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22131 # Create an old-style archive from a shared archive.
22132 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
22134 # Create a temporary old-style archive to link instead of a shared archive.
22135 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
22137 # Commands used to build and install a shared archive.
22138 archive_cmds=$lt_archive_cmds_RC
22139 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
22140 postinstall_cmds=$lt_postinstall_cmds
22141 postuninstall_cmds=$lt_postuninstall_cmds
22143 # Commands used to build a loadable module (assumed same as above if empty)
22144 module_cmds=$lt_module_cmds_RC
22145 module_expsym_cmds=$lt_module_expsym_cmds_RC
22147 # Commands to strip libraries.
22148 old_striplib=$lt_old_striplib
22149 striplib=$lt_striplib
22151 # Dependencies to place before the objects being linked to create a
22153 predep_objects=$lt_predep_objects_RC
22155 # Dependencies to place after the objects being linked to create a
22157 postdep_objects=$lt_postdep_objects_RC
22159 # Dependencies to place before the objects being linked to create a
22161 predeps=$lt_predeps_RC
22163 # Dependencies to place after the objects being linked to create a
22165 postdeps=$lt_postdeps_RC
22167 # The library search path used internally by the compiler when linking
22168 # a shared library.
22169 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
22171 # Method to check whether dependent libraries are shared objects.
22172 deplibs_check_method=$lt_deplibs_check_method
22174 # Command to use when deplibs_check_method == file_magic.
22175 file_magic_cmd=$lt_file_magic_cmd
22177 # Flag that allows shared libraries with undefined symbols to be built.
22178 allow_undefined_flag=$lt_allow_undefined_flag_RC
22180 # Flag that forces no undefined symbols.
22181 no_undefined_flag=$lt_no_undefined_flag_RC
22183 # Commands used to finish a libtool library installation in a directory.
22184 finish_cmds=$lt_finish_cmds
22186 # Same as above, but a single script fragment to be evaled but not shown.
22187 finish_eval=$lt_finish_eval
22189 # Take the output of nm and produce a listing of raw symbols and C names.
22190 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22192 # Transform the output of nm in a proper C declaration
22193 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22195 # Transform the output of nm in a C name address pair
22196 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22198 # This is the shared library runtime path variable.
22199 runpath_var=$runpath_var
22201 # This is the shared library path variable.
22202 shlibpath_var=$shlibpath_var
22204 # Is shlibpath searched before the hard-coded library search path?
22205 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22207 # How to hardcode a shared library path into an executable.
22208 hardcode_action=$hardcode_action_RC
22210 # Whether we should hardcode library paths into libraries.
22211 hardcode_into_libs=$hardcode_into_libs
22213 # Flag to hardcode \$libdir into a binary during linking.
22214 # This must work even if \$libdir does not exist.
22215 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
22217 # If ld is used when linking, flag to hardcode \$libdir into
22218 # a binary during linking. This must work even if \$libdir does
22220 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
22222 # Whether we need a single -rpath flag with a separated argument.
22223 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
22225 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
22226 # resulting binary.
22227 hardcode_direct=$hardcode_direct_RC
22229 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
22230 # resulting binary.
22231 hardcode_minus_L=$hardcode_minus_L_RC
22233 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
22234 # the resulting binary.
22235 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
22237 # Set to yes if building a shared library automatically hardcodes DIR into the library
22238 # and all subsequent libraries and executables linked against it.
22239 hardcode_automatic=$hardcode_automatic_RC
22241 # Variables whose values should be saved in libtool wrapper scripts and
22242 # restored at relink time.
22243 variables_saved_for_relink="$variables_saved_for_relink"
22245 # Whether libtool must link a program against all its dependency libraries.
22246 link_all_deplibs=$link_all_deplibs_RC
22248 # Compile-time system search path for libraries
22249 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22251 # Run-time system search path for libraries
22252 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22254 # Fix the shell variable \$srcfile for the compiler.
22255 fix_srcfile_path=$lt_fix_srcfile_path
22257 # Set to yes if exported symbols are required.
22258 always_export_symbols=$always_export_symbols_RC
22260 # The commands to list exported symbols.
22261 export_symbols_cmds=$lt_export_symbols_cmds_RC
22263 # The commands to extract the exported symbol list from a shared archive.
22264 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22266 # Symbols that should not be listed in the preloaded symbols.
22267 exclude_expsyms=$lt_exclude_expsyms_RC
22269 # Symbols that must always be exported.
22270 include_expsyms=$lt_include_expsyms_RC
22272 # ### END LIBTOOL TAG CONFIG: $tagname
22278 # If there is no Makefile yet, we rely on a make rule to execute
22279 # `config.status --recheck' to rerun these tests and create the
22280 # libtool script then.
22281 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
22282 if test -f "$ltmain_in"; then
22283 test -f Makefile && make "$ltmain"
22289 ac_cpp='$CPP $CPPFLAGS'
22290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22299 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
22300 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
22301 { (exit 1); exit 1; }; }
22305 # Append the new tag name to the list of available tags.
22306 if test -n "$tagname" ; then
22307 available_tags="$available_tags $tagname"
22313 # Now substitute the updated list of available tags.
22314 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
22315 mv "${ofile}T" "$ofile"
22319 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
22320 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
22321 { (exit 1); exit 1; }; }
22327 # This can be used to rebuild libtool when needed
22328 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
22330 # Always use our own libtool.
22331 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
22333 # Prevent multiple expansion
22360 ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in"
22362 cat >confcache <<\_ACEOF
22363 # This file is a shell script that caches the results of configure
22364 # tests run on this system so they can be shared between configure
22365 # scripts and configure runs, see configure's option --config-cache.
22366 # It is not useful on other systems. If it contains results you don't
22367 # want to keep, you may remove or edit it.
22369 # config.status only pays attention to the cache file if you give it
22370 # the --recheck option to rerun configure.
22372 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22373 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22374 # following values.
22378 # The following way of writing the cache mishandles newlines in values,
22379 # but we know of no workaround that is simple, portable, and efficient.
22380 # So, we kill variables containing newlines.
22381 # Ultrix sh set writes to stderr and can't be redirected directly,
22382 # and sets the high bit in the cache file unless we assign to the vars.
22384 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22385 eval ac_val=\$$ac_var
22389 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22390 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22393 _ | IFS | as_nl) ;; #(
22394 *) $as_unset $ac_var ;;
22400 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22401 *${as_nl}ac_space=\ *)
22402 # `set' does not quote correctly, so add quotes (double-quote
22403 # substitution turns \\\\ into \\, and sed turns \\ into \).
22406 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22409 # `set' quotes correctly as required by POSIX, so do not add quotes.
22410 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22419 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22421 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22423 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22424 if test -w "$cache_file"; then
22425 test "x$cache_file" != "x/dev/null" &&
22426 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22427 echo "$as_me: updating cache $cache_file" >&6;}
22428 cat confcache >$cache_file
22430 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22431 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22436 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22437 # Let make expand exec_prefix.
22438 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22440 DEFS=-DHAVE_CONFIG_H
22444 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
22445 # 1. Remove the extension, and $U if already installed.
22446 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22447 ac_i=`echo "$ac_i" | sed "$ac_script"`
22448 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22449 # will be set to the directory where LIBOBJS objects are built.
22450 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22451 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22453 LIB@&t@OBJS=$ac_libobjs
22455 LTLIBOBJS=$ac_ltlibobjs
22458 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22459 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
22460 Usually this means the macro was only invoked conditionally." >&5
22461 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
22462 Usually this means the macro was only invoked conditionally." >&2;}
22463 { (exit 1); exit 1; }; }
22465 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22466 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
22467 Usually this means the macro was only invoked conditionally." >&5
22468 echo "$as_me: error: conditional \"AMDEP\" was never defined.
22469 Usually this means the macro was only invoked conditionally." >&2;}
22470 { (exit 1); exit 1; }; }
22472 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22473 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22474 Usually this means the macro was only invoked conditionally." >&5
22475 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22476 Usually this means the macro was only invoked conditionally." >&2;}
22477 { (exit 1); exit 1; }; }
22479 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22480 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
22481 Usually this means the macro was only invoked conditionally." >&5
22482 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
22483 Usually this means the macro was only invoked conditionally." >&2;}
22484 { (exit 1); exit 1; }; }
22486 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22487 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22488 Usually this means the macro was only invoked conditionally." >&5
22489 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22490 Usually this means the macro was only invoked conditionally." >&2;}
22491 { (exit 1); exit 1; }; }
22494 ac_config_commands="$ac_config_commands po/stamp-it"
22498 : ${CONFIG_STATUS=./config.status}
22499 ac_clean_files_save=$ac_clean_files
22500 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22501 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22502 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22503 cat >$CONFIG_STATUS <<_ACEOF
22505 # Generated by $as_me.
22506 # Run this file to recreate the current configuration.
22507 # Compiler output produced by configure, useful for debugging
22508 # configure, is in config.log if it exists.
22511 ac_cs_recheck=false
22513 SHELL=\${CONFIG_SHELL-$SHELL}
22516 cat >>$CONFIG_STATUS <<\_ACEOF
22517 ## --------------------- ##
22518 ## M4sh Initialization. ##
22519 ## --------------------- ##
22521 # Be more Bourne compatible
22522 DUALCASE=1; export DUALCASE # for MKS sh
22523 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22526 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22527 # is contrary to our usage. Disable this feature.
22528 alias -g '${1+"$@"}'='"$@"'
22529 setopt NO_GLOB_SUBST
22531 case `(set -o) 2>/dev/null` in
22532 *posix*) set -o posix ;;
22541 # Avoid depending upon Character Ranges.
22542 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22543 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22544 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22545 as_cr_digits='0123456789'
22546 as_cr_alnum=$as_cr_Letters$as_cr_digits
22548 # The user is always right.
22549 if test "${PATH_SEPARATOR+set}" != set; then
22550 echo "#! /bin/sh" >conf$$.sh
22551 echo "exit 0" >>conf$$.sh
22553 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22561 # Support unset when possible.
22562 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22570 # We need space, tab and new line, in precisely that order. Quoting is
22571 # there to prevent editors from complaining about space-tab.
22572 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22573 # splitting by setting IFS to empty value.)
22578 # Find who we are. Look in the path if we contain no directory separator.
22580 *[\\/]* ) as_myself=$0 ;;
22581 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22582 for as_dir in $PATH
22585 test -z "$as_dir" && as_dir=.
22586 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22592 # We did not find ourselves, most probably we were run as `sh COMMAND'
22593 # in which case we are not to be found in the path.
22594 if test "x$as_myself" = x; then
22597 if test ! -f "$as_myself"; then
22598 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22599 { (exit 1); exit 1; }
22602 # Work around bugs in pre-3.0 UWIN ksh.
22603 for as_var in ENV MAIL MAILPATH
22604 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22612 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22613 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22614 LC_TELEPHONE LC_TIME
22616 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22617 eval $as_var=C; export $as_var
22619 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22623 # Required to use basename.
22624 if expr a : '\(a\)' >/dev/null 2>&1 &&
22625 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22631 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22632 as_basename=basename
22638 # Name of the executable.
22639 as_me=`$as_basename -- "$0" ||
22640 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22641 X"$0" : 'X\(//\)$' \| \
22642 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22644 sed '/^.*\/\([^/][^/]*\)\/*$/{
22663 as_lineno_1=$LINENO
22664 as_lineno_2=$LINENO
22665 test "x$as_lineno_1" != "x$as_lineno_2" &&
22666 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22668 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22669 # uniformly replaced by the line number. The first 'sed' inserts a
22670 # line-number line after each line using $LINENO; the second 'sed'
22671 # does the real work. The second script uses 'N' to pair each
22672 # line-number line with the line containing $LINENO, and appends
22673 # trailing '-' during substitution so that $LINENO is not a special
22674 # case at line end.
22675 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22676 # scripts with optimization help from Paolo Bonzini. Blame Lee
22677 # E. McMahon (1931-1989) for sed's syntax. :-)
22689 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22692 ' >$as_me.lineno &&
22693 chmod +x "$as_me.lineno" ||
22694 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22695 { (exit 1); exit 1; }; }
22697 # Don't try to exec as it changes $[0], causing all sort of problems
22698 # (the dirname of $[0] is not the place where we might find the
22699 # original and so on. Autoconf is especially sensitive to this).
22700 . "./$as_me.lineno"
22701 # Exit status is that of the last command.
22706 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22712 ECHO_C= ECHO_N= ECHO_T=
22713 case `echo -n x` in
22715 case `echo 'x\c'` in
22716 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22723 if expr a : '\(a\)' >/dev/null 2>&1 &&
22724 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22730 rm -f conf$$ conf$$.exe conf$$.file
22731 if test -d conf$$.dir; then
22732 rm -f conf$$.dir/conf$$.file
22738 if ln -s conf$$.file conf$$ 2>/dev/null; then
22740 # ... but there are two gotchas:
22741 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22742 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22743 # In both cases, we have to default to `cp -p'.
22744 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22746 elif ln conf$$.file conf$$ 2>/dev/null; then
22751 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22752 rmdir conf$$.dir 2>/dev/null
22754 if mkdir -p . 2>/dev/null; then
22757 test -d ./-p && rmdir ./-p
22761 if test -x / >/dev/null 2>&1; then
22762 as_test_x='test -x'
22764 if ls -dL / >/dev/null 2>&1; then
22771 if test -d "$1"; then
22777 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22778 ???[sx]*):;;*)false;;esac;fi
22782 as_executable_p=$as_test_x
22784 # Sed expression to map a string onto a valid CPP name.
22785 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22787 # Sed expression to map a string onto a valid variable name.
22788 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22793 # Save the log message, to keep $[0] and so on meaningful, and to
22794 # report actual input values of CONFIG_FILES etc. instead of their
22795 # values after options handling.
22797 This file was extended by opendashboard $as_me 0.0.0, which was
22798 generated by GNU Autoconf 2.61. Invocation command line was
22800 CONFIG_FILES = $CONFIG_FILES
22801 CONFIG_HEADERS = $CONFIG_HEADERS
22802 CONFIG_LINKS = $CONFIG_LINKS
22803 CONFIG_COMMANDS = $CONFIG_COMMANDS
22806 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22811 cat >>$CONFIG_STATUS <<_ACEOF
22812 # Files that config.status was made for.
22813 config_files="$ac_config_files"
22814 config_headers="$ac_config_headers"
22815 config_commands="$ac_config_commands"
22819 cat >>$CONFIG_STATUS <<\_ACEOF
22821 \`$as_me' instantiates files from templates according to the
22822 current configuration.
22824 Usage: $0 [OPTIONS] [FILE]...
22826 -h, --help print this help, then exit
22827 -V, --version print version number and configuration settings, then exit
22828 -q, --quiet do not print progress messages
22829 -d, --debug don't remove temporary files
22830 --recheck update $as_me by reconfiguring in the same conditions
22831 --file=FILE[:TEMPLATE]
22832 instantiate the configuration file FILE
22833 --header=FILE[:TEMPLATE]
22834 instantiate the configuration header FILE
22836 Configuration files:
22839 Configuration headers:
22842 Configuration commands:
22845 Report bugs to <bug-autoconf@gnu.org>."
22848 cat >>$CONFIG_STATUS <<_ACEOF
22850 opendashboard config.status 0.0.0
22851 configured by $0, generated by GNU Autoconf 2.61,
22852 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22854 Copyright (C) 2006 Free Software Foundation, Inc.
22855 This config.status script is free software; the Free Software Foundation
22856 gives unlimited permission to copy, distribute and modify it."
22864 cat >>$CONFIG_STATUS <<\_ACEOF
22865 # If no file are specified by the user, then we need to provide default
22866 # value. By we need to know if files were specified by the user.
22872 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22873 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22884 # Handling of the options.
22885 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22887 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22888 echo "$ac_cs_version"; exit ;;
22889 --debug | --debu | --deb | --de | --d | -d )
22891 --file | --fil | --fi | --f )
22893 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22894 ac_need_defaults=false;;
22895 --header | --heade | --head | --hea )
22897 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22898 ac_need_defaults=false;;
22900 # Conflict between --help and --header
22901 { echo "$as_me: error: ambiguous option: $1
22902 Try \`$0 --help' for more information." >&2
22903 { (exit 1); exit 1; }; };;
22904 --help | --hel | -h )
22905 echo "$ac_cs_usage"; exit ;;
22906 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22907 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22910 # This is an error.
22911 -*) { echo "$as_me: error: unrecognized option: $1
22912 Try \`$0 --help' for more information." >&2
22913 { (exit 1); exit 1; }; } ;;
22915 *) ac_config_targets="$ac_config_targets $1"
22916 ac_need_defaults=false ;;
22922 ac_configure_extra_args=
22924 if $ac_cs_silent; then
22926 ac_configure_extra_args="$ac_configure_extra_args --silent"
22930 cat >>$CONFIG_STATUS <<_ACEOF
22931 if \$ac_cs_recheck; then
22932 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22933 CONFIG_SHELL=$SHELL
22934 export CONFIG_SHELL
22935 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22939 cat >>$CONFIG_STATUS <<\_ACEOF
22943 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
22944 @%:@@%:@ Running $as_me. @%:@@%:@
22950 cat >>$CONFIG_STATUS <<_ACEOF
22954 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22956 INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}'
22957 prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir"
22958 INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}' INTLTOOL_ICONV='${INTLTOOL_ICONV}'
22959 INTLTOOL_MSGFMT='${INTLTOOL_MSGFMT}' INTLTOOL_MSGMERGE='${INTLTOOL_MSGMERGE}'
22960 INTLTOOL_XGETTEXT='${INTLTOOL_XGETTEXT}'
22964 cat >>$CONFIG_STATUS <<\_ACEOF
22966 # Handling of arguments.
22967 for ac_config_target in $ac_config_targets
22969 case $ac_config_target in
22970 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
22971 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
22972 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
22973 "intltool") CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;;
22974 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22975 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
22976 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
22977 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
22979 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22980 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22981 { (exit 1); exit 1; }; };;
22986 # If the user did not use the arguments to specify the items to instantiate,
22987 # then the envvar interface is used. Set only those that are not.
22988 # We use the long form for the default assignment because of an extremely
22989 # bizarre bug on SunOS 4.1.3.
22990 if $ac_need_defaults; then
22991 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22992 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22993 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22996 # Have a temporary directory for convenience. Make it in the build tree
22997 # simply because there is no reason against having it here, and in addition,
22998 # creating and moving files from /tmp can sometimes cause problems.
22999 # Hook for its removal unless debugging.
23000 # Note that there is a small window in which the directory will not be cleaned:
23001 # after its creation but before its name has been assigned to `$tmp'.
23005 trap 'exit_status=$?
23006 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23008 trap '{ (exit 1); exit 1; }' 1 2 13 15
23010 # Create a (secure) tmp directory for tmp files.
23013 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23014 test -n "$tmp" && test -d "$tmp"
23017 tmp=./conf$$-$RANDOM
23018 (umask 077 && mkdir "$tmp")
23021 echo "$me: cannot create a temporary directory in ." >&2
23022 { (exit 1); exit 1; }
23026 # Set up the sed scripts for CONFIG_FILES section.
23029 # No need to generate the scripts if there are no CONFIG_FILES.
23030 # This happens for instance when ./config.status config.h
23031 if test -n "$CONFIG_FILES"; then
23038 for ac_last_try in false false false false false :; do
23039 cat >conf$$subs.sed <<_ACEOF
23040 SHELL!$SHELL$ac_delim
23041 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23042 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23043 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23044 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23045 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23046 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23047 exec_prefix!$exec_prefix$ac_delim
23048 prefix!$prefix$ac_delim
23049 program_transform_name!$program_transform_name$ac_delim
23050 bindir!$bindir$ac_delim
23051 sbindir!$sbindir$ac_delim
23052 libexecdir!$libexecdir$ac_delim
23053 datarootdir!$datarootdir$ac_delim
23054 datadir!$datadir$ac_delim
23055 sysconfdir!$sysconfdir$ac_delim
23056 sharedstatedir!$sharedstatedir$ac_delim
23057 localstatedir!$localstatedir$ac_delim
23058 includedir!$includedir$ac_delim
23059 oldincludedir!$oldincludedir$ac_delim
23060 docdir!$docdir$ac_delim
23061 infodir!$infodir$ac_delim
23062 htmldir!$htmldir$ac_delim
23063 dvidir!$dvidir$ac_delim
23064 pdfdir!$pdfdir$ac_delim
23065 psdir!$psdir$ac_delim
23066 libdir!$libdir$ac_delim
23067 localedir!$localedir$ac_delim
23068 mandir!$mandir$ac_delim
23069 DEFS!$DEFS$ac_delim
23070 ECHO_C!$ECHO_C$ac_delim
23071 ECHO_N!$ECHO_N$ac_delim
23072 ECHO_T!$ECHO_T$ac_delim
23073 LIBS!$LIBS$ac_delim
23074 build_alias!$build_alias$ac_delim
23075 host_alias!$host_alias$ac_delim
23076 target_alias!$target_alias$ac_delim
23077 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23078 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23079 INSTALL_DATA!$INSTALL_DATA$ac_delim
23080 am__isrc!$am__isrc$ac_delim
23081 CYGPATH_W!$CYGPATH_W$ac_delim
23082 PACKAGE!$PACKAGE$ac_delim
23083 VERSION!$VERSION$ac_delim
23084 ACLOCAL!$ACLOCAL$ac_delim
23085 AUTOCONF!$AUTOCONF$ac_delim
23086 AUTOMAKE!$AUTOMAKE$ac_delim
23087 AUTOHEADER!$AUTOHEADER$ac_delim
23088 MAKEINFO!$MAKEINFO$ac_delim
23089 install_sh!$install_sh$ac_delim
23090 STRIP!$STRIP$ac_delim
23091 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
23092 mkdir_p!$mkdir_p$ac_delim
23094 SET_MAKE!$SET_MAKE$ac_delim
23095 am__leading_dot!$am__leading_dot$ac_delim
23096 AMTAR!$AMTAR$ac_delim
23097 am__tar!$am__tar$ac_delim
23098 am__untar!$am__untar$ac_delim
23099 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
23100 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
23101 MAINT!$MAINT$ac_delim
23103 CFLAGS!$CFLAGS$ac_delim
23104 LDFLAGS!$LDFLAGS$ac_delim
23105 CPPFLAGS!$CPPFLAGS$ac_delim
23106 ac_ct_CC!$ac_ct_CC$ac_delim
23107 EXEEXT!$EXEEXT$ac_delim
23108 OBJEXT!$OBJEXT$ac_delim
23109 DEPDIR!$DEPDIR$ac_delim
23110 am__include!$am__include$ac_delim
23111 am__quote!$am__quote$ac_delim
23112 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
23113 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
23114 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
23115 CCDEPMODE!$CCDEPMODE$ac_delim
23116 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
23117 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
23119 CXXFLAGS!$CXXFLAGS$ac_delim
23120 ac_ct_CXX!$ac_ct_CXX$ac_delim
23121 CXXDEPMODE!$CXXDEPMODE$ac_delim
23122 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
23123 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
23125 GREP!$GREP$ac_delim
23126 EGREP!$EGREP$ac_delim
23127 GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
23128 build!$build$ac_delim
23129 build_cpu!$build_cpu$ac_delim
23130 build_vendor!$build_vendor$ac_delim
23131 build_os!$build_os$ac_delim
23132 host!$host$ac_delim
23133 host_cpu!$host_cpu$ac_delim
23134 host_vendor!$host_vendor$ac_delim
23135 host_os!$host_os$ac_delim
23136 USE_NLS!$USE_NLS$ac_delim
23139 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23141 elif $ac_last_try; then
23142 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23143 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23144 { (exit 1); exit 1; }; }
23146 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23150 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23151 if test -n "$ac_eof"; then
23152 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23153 ac_eof=`expr $ac_eof + 1`
23156 cat >>$CONFIG_STATUS <<_ACEOF
23157 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23158 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23161 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23162 s/^/s,@/; s/!/@,|#_!!_#|/
23165 s/'"$ac_delim"'$/,g/; t
23167 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23168 ' >>$CONFIG_STATUS <conf$$subs.sed
23169 rm -f conf$$subs.sed
23170 cat >>$CONFIG_STATUS <<_ACEOF
23176 for ac_last_try in false false false false false :; do
23177 cat >conf$$subs.sed <<_ACEOF
23178 MSGFMT!$MSGFMT$ac_delim
23179 MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
23180 GMSGFMT!$GMSGFMT$ac_delim
23181 XGETTEXT!$XGETTEXT$ac_delim
23182 CATALOGS!$CATALOGS$ac_delim
23183 CATOBJEXT!$CATOBJEXT$ac_delim
23184 DATADIRNAME!$DATADIRNAME$ac_delim
23185 GMOFILES!$GMOFILES$ac_delim
23186 INSTOBJEXT!$INSTOBJEXT$ac_delim
23187 INTLLIBS!$INTLLIBS$ac_delim
23188 PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
23189 PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
23190 POFILES!$POFILES$ac_delim
23191 POSUB!$POSUB$ac_delim
23192 MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
23193 INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
23194 INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
23195 INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
23196 INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
23197 INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
23198 INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
23199 INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
23200 INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
23201 INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
23202 INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
23203 INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
23204 INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
23205 INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
23206 INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
23207 INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
23208 INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
23209 INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
23210 INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
23211 INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
23212 INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
23213 INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
23214 INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
23215 INTLTOOL_ICONV!$INTLTOOL_ICONV$ac_delim
23216 INTLTOOL_MSGFMT!$INTLTOOL_MSGFMT$ac_delim
23217 INTLTOOL_MSGMERGE!$INTLTOOL_MSGMERGE$ac_delim
23218 INTLTOOL_XGETTEXT!$INTLTOOL_XGETTEXT$ac_delim
23219 ALL_LINGUAS!$ALL_LINGUAS$ac_delim
23221 LN_S!$LN_S$ac_delim
23222 ECHO!$ECHO$ac_delim
23224 RANLIB!$RANLIB$ac_delim
23225 CXXCPP!$CXXCPP$ac_delim
23227 FFLAGS!$FFLAGS$ac_delim
23228 ac_ct_F77!$ac_ct_F77$ac_delim
23229 LIBTOOL!$LIBTOOL$ac_delim
23230 LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
23231 LTLIBOBJS!$LTLIBOBJS$ac_delim
23234 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 54; then
23236 elif $ac_last_try; then
23237 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23238 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23239 { (exit 1); exit 1; }; }
23241 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23245 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23246 if test -n "$ac_eof"; then
23247 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23248 ac_eof=`expr $ac_eof + 1`
23251 cat >>$CONFIG_STATUS <<_ACEOF
23252 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23253 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23256 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23257 s/^/s,@/; s/!/@,|#_!!_#|/
23260 s/'"$ac_delim"'$/,g/; t
23262 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23263 ' >>$CONFIG_STATUS <conf$$subs.sed
23264 rm -f conf$$subs.sed
23265 cat >>$CONFIG_STATUS <<_ACEOF
23272 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23273 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23274 # trailing colons and then remove the whole line if VPATH becomes empty
23275 # (actually we leave an empty line to preserve line numbers).
23276 if test "x$srcdir" = x.; then
23277 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23278 s/:*\$(srcdir):*/:/
23279 s/:*\${srcdir}:*/:/
23281 s/^\([^=]*=[ ]*\):*/\1/
23287 cat >>$CONFIG_STATUS <<\_ACEOF
23288 fi # test -n "$CONFIG_FILES"
23291 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23294 :[FHLC]) ac_mode=$ac_tag; continue;;
23296 case $ac_mode$ac_tag in
23298 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23299 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23300 { (exit 1); exit 1; }; };;
23301 :[FH]-) ac_tag=-:-;;
23302 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23319 -) ac_f="$tmp/stdin";;
23320 *) # Look for the file first in the build tree, then in the source tree
23321 # (if the path is not absolute). The absolute path cannot be DOS-style,
23322 # because $ac_f cannot contain `:'.
23326 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23328 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23329 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23330 { (exit 1); exit 1; }; };;
23332 ac_file_inputs="$ac_file_inputs $ac_f"
23335 # Let's still pretend it is `configure' which instantiates (i.e., don't
23336 # use $as_me), people would be surprised to read:
23337 # /* config.h. Generated by config.status. */
23338 configure_input="Generated from "`IFS=:
23339 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23340 if test x"$ac_file" != x-; then
23341 configure_input="$ac_file. $configure_input"
23342 { echo "$as_me:$LINENO: creating $ac_file" >&5
23343 echo "$as_me: creating $ac_file" >&6;}
23347 *:-:* | *:-) cat >"$tmp/stdin";;
23352 ac_dir=`$as_dirname -- "$ac_file" ||
23353 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23354 X"$ac_file" : 'X\(//\)[^/]' \| \
23355 X"$ac_file" : 'X\(//\)$' \| \
23356 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23358 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23362 /^X\(\/\/\)[^/].*/{
23377 -*) as_dir=./$as_dir;;
23379 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23383 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23384 *) as_qdir=$as_dir;;
23386 as_dirs="'$as_qdir' $as_dirs"
23387 as_dir=`$as_dirname -- "$as_dir" ||
23388 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23389 X"$as_dir" : 'X\(//\)[^/]' \| \
23390 X"$as_dir" : 'X\(//\)$' \| \
23391 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23393 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23397 /^X\(\/\/\)[^/].*/{
23410 test -d "$as_dir" && break
23412 test -z "$as_dirs" || eval "mkdir $as_dirs"
23413 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23414 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23415 { (exit 1); exit 1; }; }; }
23419 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23421 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23422 # A ".." for each directory in $ac_dir_suffix.
23423 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23424 case $ac_top_builddir_sub in
23425 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23426 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23429 ac_abs_top_builddir=$ac_pwd
23430 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23431 # for backward compatibility:
23432 ac_top_builddir=$ac_top_build_prefix
23435 .) # We are building in place.
23437 ac_top_srcdir=$ac_top_builddir_sub
23438 ac_abs_top_srcdir=$ac_pwd ;;
23439 [\\/]* | ?:[\\/]* ) # Absolute name.
23440 ac_srcdir=$srcdir$ac_dir_suffix;
23441 ac_top_srcdir=$srcdir
23442 ac_abs_top_srcdir=$srcdir ;;
23443 *) # Relative name.
23444 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23445 ac_top_srcdir=$ac_top_build_prefix$srcdir
23446 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23448 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23458 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23459 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23461 ac_MKDIR_P=$MKDIR_P
23463 [\\/$]* | ?:[\\/]* ) ;;
23464 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
23468 cat >>$CONFIG_STATUS <<\_ACEOF
23469 # If the template does not know about datarootdir, expand it.
23470 # FIXME: This hack should be removed a few years after 2.60.
23471 ac_datarootdir_hack=; ac_datarootdir_seen=
23473 case `sed -n '/datarootdir/ {
23482 ' $ac_file_inputs` in
23483 *datarootdir*) ac_datarootdir_seen=yes;;
23484 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23485 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23486 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23488 cat >>$CONFIG_STATUS <<_ACEOF
23489 ac_datarootdir_hack='
23490 s&@datadir@&$datadir&g
23491 s&@docdir@&$docdir&g
23492 s&@infodir@&$infodir&g
23493 s&@localedir@&$localedir&g
23494 s&@mandir@&$mandir&g
23495 s&\\\${datarootdir}&$datarootdir&g' ;;
23499 # Neutralize VPATH when `$srcdir' = `.'.
23500 # Shell code in configure.ac might set extrasub.
23501 # FIXME: do we really want to maintain this feature?
23502 cat >>$CONFIG_STATUS <<_ACEOF
23506 cat >>$CONFIG_STATUS <<\_ACEOF
23508 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23509 s&@configure_input@&$configure_input&;t t
23510 s&@top_builddir@&$ac_top_builddir_sub&;t t
23511 s&@srcdir@&$ac_srcdir&;t t
23512 s&@abs_srcdir@&$ac_abs_srcdir&;t t
23513 s&@top_srcdir@&$ac_top_srcdir&;t t
23514 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23515 s&@builddir@&$ac_builddir&;t t
23516 s&@abs_builddir@&$ac_abs_builddir&;t t
23517 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23518 s&@INSTALL@&$ac_INSTALL&;t t
23519 s&@MKDIR_P@&$ac_MKDIR_P&;t t
23520 $ac_datarootdir_hack
23521 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23523 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23524 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23525 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23526 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23527 which seems to be undefined. Please make sure it is defined." >&5
23528 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23529 which seems to be undefined. Please make sure it is defined." >&2;}
23533 -) cat "$tmp/out"; rm -f "$tmp/out";;
23534 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23543 # Transform confdefs.h into a sed script `conftest.defines', that
23544 # substitutes the proper values into config.h.in to produce config.h.
23545 rm -f conftest.defines conftest.tail
23546 # First, append a space to every undef/define line, to ease matching.
23547 echo 's/$/ /' >conftest.defines
23548 # Then, protect against being on the right side of a sed subst, or in
23549 # an unquoted here document, in config.status. If some macros were
23550 # called several times there might be several #defines for the same
23551 # symbol, which is useless. But do not sort them, since the last
23552 # AC_DEFINE must be honored.
23553 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23554 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23555 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23556 # PARAMS is the parameter list in the macro definition--in most cases, it's
23557 # just an empty string.
23558 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23559 ac_dB='\\)[ (].*,\\1define\\2'
23567 s/^[ ]*#[ ]*define[ ][ ]*//
23572 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23573 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23574 ' >>conftest.defines
23576 # Remove the space that was appended to ease matching.
23577 # Then replace #undef with comments. This is necessary, for
23578 # example, in the case of _POSIX_SOURCE, which is predefined and required
23579 # on some systems where configure will not decide to define it.
23580 # (The regexp can be short, since the line contains either #define or #undef.)
23582 s,^[ #]*u.*,/* & */,' >>conftest.defines
23584 # Break up conftest.defines:
23585 ac_max_sed_lines=50
23587 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23588 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23589 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23591 ac_in='$ac_file_inputs'
23592 ac_out='"$tmp/out1"'
23593 ac_nxt='"$tmp/out2"'
23597 # Write a here document:
23598 cat >>$CONFIG_STATUS <<_ACEOF
23599 # First, check the format of the line:
23600 cat >"\$tmp/defines.sed" <<\\CEOF
23601 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23602 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23606 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23608 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23609 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
23610 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
23611 grep . conftest.tail >/dev/null || break
23612 rm -f conftest.defines
23613 mv conftest.tail conftest.defines
23615 rm -f conftest.defines conftest.tail
23617 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23618 cat >>$CONFIG_STATUS <<\_ACEOF
23619 if test x"$ac_file" != x-; then
23620 echo "/* $configure_input */" >"$tmp/config.h"
23621 cat "$ac_result" >>"$tmp/config.h"
23622 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23623 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23624 echo "$as_me: $ac_file is unchanged" >&6;}
23627 mv "$tmp/config.h" $ac_file
23630 echo "/* $configure_input */"
23634 # Compute $ac_file's index in $config_headers.
23636 for _am_header in $config_headers :; do
23637 case $_am_header in
23638 $ac_file | $ac_file:* )
23641 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
23644 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
23645 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23646 X$ac_file : 'X\(//\)[^/]' \| \
23647 X$ac_file : 'X\(//\)$' \| \
23648 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
23650 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23654 /^X\(\/\/\)[^/].*/{
23666 s/.*/./; q'`/stamp-h$_am_stamp_count
23669 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23670 echo "$as_me: executing $ac_file commands" >&6;}
23675 case $ac_file$ac_mode in
23676 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
23677 # Strip MF so we end up with the name of the file.
23678 mf=`echo "$mf" | sed -e 's/:.*$//'`
23679 # Check whether this is an Automake generated Makefile or not.
23680 # We used to match only the files named `Makefile.in', but
23681 # some people rename them; so instead we look at the file content.
23682 # Grep'ing the first line is not enough: some people post-process
23683 # each Makefile.in and add a new line on top of each file to say so.
23684 # Grep'ing the whole file is not good either: AIX grep has a line
23685 # limit of 2048, but all sed's we know have understand at least 4000.
23686 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
23687 dirpart=`$as_dirname -- "$mf" ||
23688 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23689 X"$mf" : 'X\(//\)[^/]' \| \
23690 X"$mf" : 'X\(//\)$' \| \
23691 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23693 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23697 /^X\(\/\/\)[^/].*/{
23713 # Extract the definition of DEPDIR, am__include, and am__quote
23714 # from the Makefile without running `make'.
23715 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
23716 test -z "$DEPDIR" && continue
23717 am__include=`sed -n 's/^am__include = //p' < "$mf"`
23718 test -z "am__include" && continue
23719 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
23720 # When using ansi2knr, U may be empty or an underscore; expand it
23721 U=`sed -n 's/^U = //p' < "$mf"`
23722 # Find all dependency output files, they are included files with
23723 # $(DEPDIR) in their names. We invoke sed twice because it is the
23724 # simplest approach to changing $(DEPDIR) to its actual value in the
23726 for file in `sed -n "
23727 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23728 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23729 # Make sure the directory exists.
23730 test -f "$dirpart/$file" && continue
23731 fdir=`$as_dirname -- "$file" ||
23732 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23733 X"$file" : 'X\(//\)[^/]' \| \
23734 X"$file" : 'X\(//\)$' \| \
23735 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23737 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23741 /^X\(\/\/\)[^/].*/{
23754 { as_dir=$dirpart/$fdir
23756 -*) as_dir=./$as_dir;;
23758 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23762 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23763 *) as_qdir=$as_dir;;
23765 as_dirs="'$as_qdir' $as_dirs"
23766 as_dir=`$as_dirname -- "$as_dir" ||
23767 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23768 X"$as_dir" : 'X\(//\)[^/]' \| \
23769 X"$as_dir" : 'X\(//\)$' \| \
23770 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23772 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23776 /^X\(\/\/\)[^/].*/{
23789 test -d "$as_dir" && break
23791 test -z "$as_dirs" || eval "mkdir $as_dirs"
23792 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23793 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23794 { (exit 1); exit 1; }; }; }
23795 # echo "creating $dirpart/$file"
23796 echo '# dummy' > "$dirpart/$file"
23800 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
23801 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
23805 for file in intltool-extract intltool-merge intltool-update; do
23806 sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \
23807 -e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \
23808 -e "s|@INTLTOOL_ICONV@|${INTLTOOL_ICONV}|g" \
23809 -e "s|@INTLTOOL_MSGFMT@|${INTLTOOL_MSGFMT}|g" \
23810 -e "s|@INTLTOOL_MSGMERGE@|${INTLTOOL_MSGMERGE}|g" \
23811 -e "s|@INTLTOOL_XGETTEXT@|${INTLTOOL_XGETTEXT}|g" \
23812 -e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \
23813 < ${ac_aux_dir}/${file}.in > ${file}.out
23814 if cmp -s ${file} ${file}.out 2>/dev/null; then
23817 mv -f ${file}.out ${file}
23819 chmod ugo+x ${file}
23825 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
23830 '"s|^| $ac_top_srcdir/|" \
23831 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
23833 if test ! -f "po/Makefile"; then
23834 { { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5
23835 echo "$as_me: error: po/Makefile is not ready." >&2;}
23836 { (exit 1); exit 1; }; }
23838 mv "po/Makefile" "po/Makefile.tmp"
23839 sed '/^POTFILES =/,/[^\\]$/ {
23843 ' "po/Makefile.tmp" >"po/Makefile"
23844 rm -f "po/Makefile.tmp"
23845 mv "po/stamp-it.tmp" "po/stamp-it"
23852 { (exit 0); exit 0; }
23854 chmod +x $CONFIG_STATUS
23855 ac_clean_files=$ac_clean_files_save
23858 # configure is writing to config.log, and then calls config.status.
23859 # config.status does its own redirection, appending to config.log.
23860 # Unfortunately, on DOS this fails, as config.log is still kept open
23861 # by configure, so config.status won't be able to write to it; its
23862 # output is simply discarded. So we exec the FD to /dev/null,
23863 # effectively closing config.log, so it can be properly (re)opened and
23864 # appended to by config.status. When coming back to configure, we
23865 # need to make the FD available again.
23866 if test "$no_create" != yes; then
23868 ac_config_status_args=
23869 test "$silent" = yes &&
23870 ac_config_status_args="$ac_config_status_args --quiet"
23872 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23874 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23875 # would make configure fail if this is the last instruction.
23876 $ac_cs_success || { (exit 1); exit 1; }